function$parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function$parcel$interopDefault(e){returne&&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"!=typeofglobalThis?globalThis:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:{},parcelRequire=$parcel$global.parcelRequire810d;parcelRequire.register("8L9T2",function(e,t){varr,i,s,n,o,a,h,l,c;functionu(e){returne.startsWith("pypy");}asyncfunctionp(e,t,o){varl;h.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");letc=null===(l=process.env.AGENT_TOOLSDIRECTORY)||void0===l?void0:l.trim();if("string"==typeofc&&""!==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){lett;if(u(e)){letr=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{leti=await(0,r.useCpythonVersion)(e,o,!0,d,!1);t=i.version,(0,s.info)(`Successfully set up ${i.impl} (${t})`);}letn=!1;if(n){let{cacheDependencies:e}=awaitparcelRequire("65Nuu");awaite("pip",t);}}a.GITHUB_ACTIONS&&(awaitf());}asyncfunctionf(){lete=(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");letd=!1;}),parcelRequire.register("g8XlV",function(e,t){varr,i,s,n,o;functiona(e){returnr.IS_WINDOWS?$kC5q1$path.join(e,"Scripts"):$kC5q1$path.join(e,"bin");}asyncfunctionh(e,t,h,p,f){letd=null,y=l(e),m=u(y,f);if(n.debug(`Semantic version spec of ${e} is ${m}`),p){varg;d=awaits.getManifest();lete=null===(g=awaits.findReleaseFromManifest(m,t,d))||void0===g?void0:g.version;e?(m=e,n.info(`Resolved as '${m}'`)):n.info(`Failed to resolve version ${m} from manifest`);}letx=o.find("Python",m,t);if(!x){n.info(`Version ${m} was not found in the local cache`);lete=awaits.findReleaseFromManifest(m,t,d);e&&e.files&&e.files.length>0&&(n.info(`Version ${m} is available for downloading`),awaits.installCpythonFromRelease(e),x=o.find("Python",m,t));}if(!x){leti=await(0,r.getOSInfo)();throwError([`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));}letw=a(x),b=r.IS_WINDOWS?".exe":"",v=$kC5q1$path.join(r.IS_WINDOWS?x:w,"python"+b);if(h){if(n.exportVariable("pythonLocation",x),n.exportVariable("PKG_CONFIG_PATH",x+"/lib/pkgconfig"),n.exportVariable("pythonLocation",x),n.exportVariable("Python_ROOT_DIR",x),n.exportVariable("Python2_ROOT_DIR",x),n.exportVariable("Python3_ROOT_DIR",x),n.exportVariable("PKG_CONFIG_PATH",x+"/lib/pkgconfig"),r.IS_LINUX){lete=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$kC5q1$path.join(x,"lib");e.split(":").includes(t)||n.exportVariable("LD_LIBRARY_PATH",t+e);}if(n.addPath(x),n.addPath(w),r.IS_WINDOWS){lete=$kC5q1$path.basename($kC5q1$path.dirname(x)),t=i.major(e),r=i.minor(e),s=$kC5q1$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");n.addPath(s);}}letS=c(x);returnn.setOutput("python-version",S),n.setOutput("python-path",v),{impl:"CPython",version:S};}functionl(e){lett=/^(\d+)\.(\d+)-dev$/;returne