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="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,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;}),parcelRequire.register("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");}),parcelRequire.register("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";}),parcelRequire.register("asWrE",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("9ra5j"),parcelRequire("erM83");}),parcelRequire.register("9ra5j",function(e,t){e.exports=parcelRequire("k9zRI"),e.exports.async=parcelRequire("iO4Tr"),e.exports.stream=parcelRequire("ddYPD"),e.exports.prettyError=parcelRequire("c4Fk1");}),parcelRequire.register("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");}),parcelRequire.register("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();}),parcelRequire.register("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");};}),parcelRequire.register("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");};}),parcelRequire.register("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");};}),parcelRequire.register("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");};}),parcelRequire.register("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");}),parcelRequire.register("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");}),parcelRequire.register("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;}),parcelRequire.register("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`;}),parcelRequire.register("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;}),parcelRequire.register("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;}),parcelRequire.register("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;}),parcelRequire.register("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");}),parcelRequire.register("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.cc8fd58d.js.map