functione(e){returne&&e.__esModule?e.default:e}functiona(e,a,t,i){Object.defineProperty(e,a,{get:t,set:i,enumerable:!0,configurable:!0})}vart=require("fs"),i=require("path"),o=require("os"),s=require("util"),r=require("assert"),n=require("crypto"),p=require("url"),d=require("buffer"),l=require("stream"),m=require("http"),c=require("https"),u=require("punycode"),h=require("zlib"),g=require("string_decoder"),f=require("events"),y=require("timers"),b=require("child_process"),v="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:{},x=v.parcelRequire810d;x.register("apy8x",((o,s)=>{asyncfunctionr(a,o,s){varr;if((null===(r=process.env.AGENT_TOOLSDIRECTORY)||void0===r?void0:r.trim())?((0,l.debug)("Python is expected to be installed into AGENT_TOOLSDIRECTORY="+process.env.AGENT_TOOLSDIRECTORY),process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY):(0,l.debug)("Python is expected to be installed into RUNNER_TOOL_CACHE=="+process.env.RUNNER_TOOL_CACHE),a){lete;if(a.startsWith("pypy-")){constt=await(0,p.findPyPyVersion)(a,s);e=`${t.resolvedPyPyVersion}-${t.resolvedPythonVersion}`,(0,d.info)(`Successfully setup PyPy ${t.resolvedPyPyVersion} with Python (${t.resolvedPythonVersion})`)}else{constt=await(0,n.useCpythonVersion)(a,s);e=t.version,(0,d.info)(`Successfully setup ${t.impl} (${e})`)}constt="pip";await(0,c.cacheDependencies)(t,e)}(0,m.isGitHubCI)()&&(()=>{consta=e(i).join(u,"python_matcher.json");if(!(0,t.existsSync)(a))return(0,d.warning)("the python_matcher.json file does not exist in the same folder as setup_cpp.js");(0,d.info)("::add-matcher::"+a)})()}a(o.exports,"setupActionsPython",(()=>r));varn=x("eD092"),p=x("5sk2N"),d=x("ditiY"),l=x("iQ0s7"),m=x("di6NI"),c=x("hWk6h"),u=i.resolve(__dirname,"../src/python")})),x.register("eD092",((e,t)=>{asyncfunctions(e,a){constt=e.replace(/^(\d+)\.(\d+)-dev$/,"~$1.$2.0-0").replace(/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,"$1-$2");d.debug(`Semantic version spec of ${e} is ${t}`);lets=l.find("Python",t,a);if(!s){d.info(`Version ${t} was not found in the local cache`);conste=awaitp.findReleaseFromManifest(t,a);e&&e.files&&e.files.length>0&&(d.info(`Version ${t} is available for downloading`),awaitp.installCpythonFromRelease(e),s=l.find("Python",t,a))}if(!s)throwError([`Version ${e} with arch ${a} not found`,"The list of all available versions can be found here: "+p.MANIFEST_URL].join(o.EOL));if(d.exportVariable("pythonLocation",s),d.exportVariable("PKG_CONFIG_PATH",s+"/lib/pkgconfig"),r.IS_LINUX){conste=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",a=i.join(s,"lib");e.split(":").includes(a)||d.exportVariable("LD_LIBRARY_PATH",a+e)}constm=(e=>i.join(e,r.IS_WINDOWS?"Scripts":"bin"))(s),c=i.join(r.IS_WINDOWS?s:m,"python"+(r.IS_WINDOWS?".exe":""));if(d.addPath(s),d.addPath(m),r.IS_WINDOWS){conste=i.basename(i.dirname(s)),a=n.major(e),t=n.minor(e),o=i.join(process.env.APPDATA||"","Python",`Python${a}${t}`,"Scripts");d.addPath(o)}constu=(e=>{consta=e.split(i.sep),t=a.findIndex((e=>"PyPy"===e||"Python"===e));returna[t+1]||""})(s);returnd.setOutput("python-version",u),d.setOutput("python-path",c),{impl:"CPython",version:u}}a(e.exports,"useCpythonVersion",(()=>s));varr=x("h88R9"),n=x("4URNm"),p=x("ffkMW"),d=x("iQ0s7"),l=x("1GQ3N")})),x.register("h88R9",((o,s)=>{functionr(a,o,s,r=!1){constn=i.join(a,o),p=i.join(a,s);e(t).existsSync(p)||(e(t).symlinkSync(n,p),!b&&r&&e(t).chmodSync(p,"755"))}functionn(e){returnp(e)||!!y.validRange(e)}functionp(e){return"nightly"===e}functiond(e){returni.basename(i.dirname(e))}functionl(a){leto="",s=i.join(a,k);returne(t).existsSync(s)&&(o=""+e(t).readFileSync(s)),o}functionm(a,o){consts=i.join(a,k);e(t).writeFileSync(s,o)}functionc(e){return/^\d+\.\d+$/.test(e)}functionu(){return"GITHUB.COM"!==newURL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.toUpperCase()}functionh(){if(!g.isFeatureAvailable()){if(u())throwError("CachingisonlysupportedonGHESversion>=3.5.Ifyouareonaversion>=3.5,