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("path"),i=require("os"),o=require("fs"),s=require("util"),r=require("assert"),n=require("crypto"),p=require("url"),d=require("buffer"),l=require("stream"),m=require("events"),c=require("timers"),u=require("string_decoder"),h=require("http"),g=require("https"),f=require("punycode"),y=require("zlib"),b=require("child_process"),v="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:{},x=v.parcelRequire810d;x.register("aY8zG",((i,o)=>{asyncfunctions(a,t,i){c.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");consto=process.env.AGENT_TOOLSDIRECTORY?.trim();if("string"==typeofo&&""!==o&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,d.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),a){lete;if(a.startsWith("pypy")){constt=await(0,n.findPyPyVersion)(a,i,!0,!1);e=`${t.resolvedPyPyVersion}-${t.resolvedPythonVersion}`,(0,p.info)(`Successfully set up PyPy ${t.resolvedPyPyVersion} with Python (${t.resolvedPythonVersion})`)}else{constt=await(0,r.useCpythonVersion)(a,i,!0,!1);e=t.version,(0,p.info)(`Successfully set up ${t.impl} (${e})`)}if((0,c.isCacheFeatureAvailable)()){consta="pip";await(async(e,a)=>{constt=(0,u.getCacheDistributor)(e,a,void0);awaitt.restoreCache()})(a,e)}}"github-actions"===e(m)()&&await(async()=>{consta=(0,l.join)(g,"python_matcher.json");if(!awaite(h)(a))return(0,p.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,p.info)("::add-matcher::"+a)})()}a(i.exports,"setupActionsPython",(()=>s));varr=x("cZZJs"),n=x("7ly1N"),p=x("ezS1g"),d=x("l2R5X"),l=x("iOCro"),m=x("dB7Yy"),c=x("kOmPH"),u=x("dRZ8T"),h=x("aL2yV"),g=t.resolve(__dirname,"../../src/python")})),x.register("cZZJs",((e,o)=>{asyncfunctions(e,a,o,s){letm=null,c=e.replace(/^(\d+)\.(\d+)-dev$/,"~$1.$2.0-0").replace(/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,"$1-$2");if(d.debug(`Semantic version spec of ${e} is ${c}`),s){m=awaitp.getManifest();conste=(awaitp.findReleaseFromManifest(c,a,m))?.version;e?(c=e,d.info(`Resolved as '${c}'`)):d.info(`Failed to resolve version ${c} from manifest`)}letu=l.find("Python",c,a);if(!u){d.info(`Version ${c} was not found in the local cache`);conste=awaitp.findReleaseFromManifest(c,a,m);e&&e.files&&e.files.length>0&&(d.info(`Version ${c} is available for downloading`),awaitp.installCpythonFromRelease(e),u=l.find("Python",c,a))}if(!u){constt=await(0,r.getOSInfo)();throwError([`The version '${e}' with architecture '${a}' was not found for ${t?`${t.osName}${t.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+p.MANIFEST_URL].join(i.EOL))}consth=(e=>t.join(e,r.IS_WINDOWS?"Scripts":"bin"))(u),g=t.join(r.IS_WINDOWS?u:h,"python"+(r.IS_WINDOWS?".exe":""));if(o){if(d.exportVariable("pythonLocation",u),d.exportVariable("PKG_CONFIG_PATH",u+"/lib/pkgconfig"),d.exportVariable("pythonLocation",u),d.exportVariable("Python_ROOT_DIR",u),d.exportVariable("Python2_ROOT_DIR",u),d.exportVariable("Python3_ROOT_DIR",u),d.exportVariable("PKG_CONFIG_PATH",u+"/lib/pkgconfig"),r.IS_LINUX){conste=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",a=t.join(u,"lib");e.split(":").includes(a)||d.exportVariable("LD_LIBRARY_PATH",a+e)}if(d.addPath(u),d.addPath(h),r.IS_WINDOWS){conste=t.basename(t.dirname(u)),a=n.major(e),i=n.minor(e),o=t.join(process.env.APPDATA||"","Python",`Python${a}${i}`,"Scripts");d.addPath(o)}}constf=(e=>{consta=e.split(t.sep),i=a.findIndex((e=>"PyPy"===e||"Python"===e));returna[i+1]||""})(u);returnd.setOutput("python-version",f),d.setOutput("python-path",g),{impl:"CPython",version:f}}a(e.exports,"useCpythonVersion",(()=>s));varr=x("kOmPH"),n=x("9RhsM"),p=x("3YIuY"),d=x("l2R5X"),l=x("a5OsW")})),x.register("kOmPH",((i,s)=>{functionr(a,i,s,r=!1){constn=t.join(a,i),p=t.join(a,s);e(o).existsSync(p)||(e(o)