mirror of https://github.com/aminya/setup-cpp
14 lines
873 KiB
JavaScript
14 lines
873 KiB
JavaScript
|
function e(e,t,r,a){Object.defineProperty(e,t,{get:r,set:a,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}var r,a,i,o=require("path"),s=require("os"),n=require("fs"),l=require("util"),c=require("assert"),p=require("crypto"),d=require("url"),m=require("buffer"),u=require("stream"),h=require("events"),g=require("timers"),f=require("string_decoder"),y=require("http"),x=require("https"),b=require("node:http"),v=require("node:https"),S=require("node:zlib"),N=require("node:stream"),w=require("node:buffer"),C=require("node:util"),P=require("node:url"),_=require("node:net"),E=require("node:fs");require("node:path"),r=require("child_process"),(i=(a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequire810d).register("8L9T2",(t,r)=>{var a,s,n,l,c,p,d,m,u,h;async function g(e,t){let r=(0,m.getCacheDistributor)(e,t,void 0);await r.restoreCache()}async function f(e,t,r){var i;d.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let o=null===(i=process.env.AGENT_TOOLSDIRECTORY)||void 0===i?void 0:i.trim();if("string"==typeof o&&""!==o&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,l.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(e.startsWith("pypy")){let a=await (0,s.findPyPyVersion)(e,r,!0,x,!1);t=`${a.resolvedPyPyVersion}-${a.resolvedPythonVersion}`,(0,n.info)(`Successfully set up PyPy ${a.resolvedPyPyVersion} with Python (${a.resolvedPythonVersion})`)}else{let i=await (0,a.useCpythonVersion)(e,r,!0,x,!1);t=i.version,(0,n.info)(`Successfully set up ${i.impl} (${t})`)}(0,d.isCacheFeatureAvailable)()&&await g("pip",t)}p.GITHUB_ACTIONS&&await y()}async function y(){let e=(0,c.join)(h,"python_matcher.json");if(!await (0,u.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)}e(t.exports,"setupActionsPython",()=>f),a=i("b7exe"),s=i("kMkjA"),n=i("hHq4F"),l=i("2heqc"),c=i("A8hFE"),p=i("cLprm"),d=i("gNskp"),m=i("fYh8x"),u=i("3WkGD"),h=o.resolve(__dirname,"../../src/python");let x=!1}),i.register("b7exe",(t,r)=>{var a,n,l,c,p;async function d(e,t,r,i,d){var m,u;let h;let g=null,f=e.replace(/^(\d+)\.(\d+)-dev$/,"~$1.$2.0-0"),y=(h=f.replace(/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,"$1-$2"),d&&(h=h.replace(/^(\d+)\.(\d+)$/,"~$1.$2.0-0")),h);if(c.debug(`Semantic version spec of ${e} is ${y}`),i){g=await l.getManifest();let e=null===(m=await l.findReleaseFromManifest(y,t,g))||void 0===m?void 0:m.version;e?(y=e,c.info(`Resolved as '${y}'`)):c.info(`Failed to resolve version ${y} from manifest`)}let x=p.find("Python",y,t);if(!x){c.info(`Version ${y} was not found in the local cache`);let e=await l.findReleaseFromManifest(y,t,g);e&&e.files&&e.files.length>0&&(c.info(`Version ${y} is available for downloading`),await l.installCpythonFromRelease(e),x=p.find("Python",y,t))}if(!x){let r=await (0,a.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${r?`${r.osName} ${r.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+l.MANIFEST_URL].join(s.EOL))}let b=(u=x,a.IS_WINDOWS?o.join(u,"Scripts"):o.join(u,"bin")),v=a.IS_WINDOWS?".exe":"",S=o.join(a.IS_WINDOWS?x:b,"python"+v);if(r){if(c.exportVariable("pythonLocation",x),c.exportVariable("PKG_CONFIG_PATH",x+"/lib/pkgconfig"),c.exportVariable("pythonLocation",x),c.exportVariable("Python_ROOT_DIR",x),c.exportVariable("Python2_ROOT_DIR",x),c.exportVariable("Python3_ROOT_DIR",x),c.exportVariable("PKG_CONFIG_PATH",x+"/lib/pkgconfig"),a.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=o.join(x,"lib");e.split(":").includes(t)||c.exportVariable("LD_LIBRARY_PATH",t+e)}if(c.addPath(x),c.addPath(b),a.IS_WINDOWS){let e=o.basename(o.dirname(x)),t=n.major(e),r=n.minor(e),a=o.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");c.addPath(a)}}let N=(e=>{let t=e.split(o.sep),r=t.findIndex(e
|
||
|
Other caches with similar key:`),(null==t?void 0:t.artifactCaches)||[]))b.debug(`Cache Key: ${null==a?void 0:a.cacheKey}, Cache Version: ${null==a?void 0:a.cacheVersion}, Cache Scope: ${null==a?void 0:a.scope}, Cache Created: ${null==a?void 0:a.creationTime}`)}})}(e[0],a,i)),null;if(!(0,h.isSuccessStatusCode)(n.statusCode))throw Error("Cache service responded with "+n.statusCode);let l=n.result,c=null==l?void 0:l.archiveLocation;if(!c)throw Error("Cache not found.");return b.setSecret(c),b.debug("Cache Result:"),b.debug(JSON.stringify(l)),l})},e.exports.downloadCache=function(e,t,r){return s(this,void 0,void 0,*()=>{let a=new d.URL(e),i=(0,u.getDownloadOptions)(r);i.useAzureSdk&&a.hostname.endsWith(".blob.core.windows.net")?yield(0,m.downloadCacheStorageSDK)(e,t,i):yield(0,m.downloadCacheHttpClient)(e,t)})},e.exports.reserveCache=function(e,t,r){return s(this,void 0,void 0,function*(){let a=f(),i=y(t,null==r?void 0:r.compressionMethod,null==r?void 0:r.enableCrossOsArchive),o={key:e,version:i,cacheSize:null==r?void 0:r.cacheSize},n=yield(0,h.retryTypedResponse)("reserveCache",()=>s(this,void 0,void 0,*()=>a.postJson(g("caches"),o)));return n})},e.exports.saveCache=function(e,t,r){return s(this,void 0,void 0,*()=>{let a=f();b.debug("Upload cache"),yield function(e,t,r,a){return s(this,void 0,void 0,function*(){let i=N.getArchiveFileSizeInBytes(r),o=g("caches/"+t.toString()),n=S.openSync(r,"r"),l=(0,u.getUploadOptions)(a),c=N.assertDefined("uploadConcurrency",l.uploadConcurrency),p=N.assertDefined("uploadChunkSize",l.uploadChunkSize),d=[...Array(c).keys()];b.debug("Awaiting all uploads");let m=0;try{yield Promise.all(d.map(()=>s(this,void 0,void 0,*()=>{for(;m<i;){let t=Math.min(i-m,p),a=m,l=m+t-1;m+=p,yield function(e,t,r,a,i){return s(this,void 0,void 0,function*(){b.debug(`Uploading chunk of size ${i-a+1} bytes at offset ${a} with content range: ${x(a,i)}`);let o={"Content-Type":"application/octet-stream","Content-Range":x(a,i)},n=yield(0,h.retryHttpClientResponse)(`uploadChunk (start: ${a}, end: ${i})`,()=>s(this,void 0,void 0,*()=>e.sendStream("PATCH",t,r(),o)));if(!(0,h.isSuccessStatusCode)(n.message.statusCode))throw Error(`Cache service responded with ${n.message.statusCode} during upload chunk.`)})}(e,o,()=>S.createReadStream(r,{fd:n,start:a,end:l,autoClose:!1}).on("error",e=>{throw Error("Cache upload failed because file read failed with "+e.message)}),a,l)}})))}finally{S.closeSync(n)}})}(a,e,t,r),b.debug("Commiting cache");let i=N.getArchiveFileSizeInBytes(t);b.info(`Cache Size: ~${Math.round(i/1048576)} MB (${i} B)`);let o=yield function(e,t,r){return s(this,void 0,void 0,function*(){let a={size:r};return yield(0,h.retryTypedResponse)("commitCache",()=>s(this,void 0,void 0,*()=>e.postJson(g("caches/"+t.toString()),a)))})}(a,e,i);if(!(0,h.isSuccessStatusCode)(o.statusCode))throw Error(`Cache service responded with ${o.statusCode} during commit cache.`);b.info("Cache saved successfully")})}}),i.register("l3Ivq",(e,t)=>{var r,a,o,s,c,p,d,h,g;function f(e,t){return s(this,void 0,void 0,function*(){let r=b.createWriteStream(t),a=new c.HttpClient("actions/cache"),i=yield(0,h.retryHttpClientResponse)("downloadCache",()=>s(this,void 0,void 0,*()=>a.get(e)));i.message.socket.setTimeout(d.SocketTimeout,()=>{i.message.destroy(),y.debug(`Aborting download, socket timed out after ${d.SocketTimeout} ms`)}),yield function(e,t){return s(this,void 0,void 0,*()=>{let r=S.promisify(v.pipeline);yield r(e.message,t)})}(i,r);let o=i.message.headers["content-length"];if(o){let e=parseInt(o),r=N.getArchiveFileSizeInBytes(t);if(r!==e)throw Error(`Incomplete download. Expected file size: ${e}, actual file size: ${r}`)}else y.debug("Unable to validate download, no Content-Length header")})}"use strict";r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,a)=>{void 0===a&&(a=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:()=>t[r]}),Object.defineProperty(e,a,i)}:(e,t,r,a)=>{void 0===a&&(a=r),e[a]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Obje
|
||
|
`}),r}getCanonicalizedResourceString(e){let t=(0,o.getURLPath)(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let a=(0,o.getURLQueries)(e.url),i={};if(a){let e=[];for(let t in a)if(Object.prototype.hasOwnProperty.call(a,t)){let r=t.toLowerCase();i[r]=a[t],e.push(r)}for(let t of(e.sort(),e))r+=`
|
||
|
${t}:${decodeURIComponent(i[t])}`}return r}}}),i.register("7KrF8",(t,r)=>{e(t.exports,"SDK_VERSION",()=>a),e(t.exports,"SERVICE_VERSION",()=>i),e(t.exports,"BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES",()=>o),e(t.exports,"BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES",()=>s),e(t.exports,"BLOCK_BLOB_MAX_BLOCKS",()=>n),e(t.exports,"DEFAULT_BLOCK_BUFFER_SIZE_BYTES",()=>l),e(t.exports,"DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES",()=>c),e(t.exports,"DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS",()=>p),e(t.exports,"REQUEST_TIMEOUT",()=>d),e(t.exports,"StorageOAuthScopes",()=>m),e(t.exports,"URLConstants",()=>u),e(t.exports,"HeaderConstants",()=>h),e(t.exports,"ETagNone",()=>g),e(t.exports,"ETagAny",()=>f),e(t.exports,"EncryptionAlgorithmAES25",()=>y),e(t.exports,"DevelopmentConnectionString",()=>x),e(t.exports,"StorageBlobLoggingAllowedHeaderNames",()=>b),e(t.exports,"StorageBlobLoggingAllowedQueryParameters",()=>v),e(t.exports,"BlobUsesCustomerSpecifiedEncryptionMsg",()=>S),e(t.exports,"BlobDoesNotUseCustomerSpecifiedEncryption",()=>N),e(t.exports,"PathStylePorts",()=>w);let a="12.14.0",i="2022-11-02",o=268435456,s=4194304e3,n=5e4,l=8388608,c=4194304,p=5,d=1e5,m="https://storage.azure.com/.default",u={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},h={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version"},g="",f="*",y="AES256",x="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",b=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms
|
||
|
${s.sanitize(this)}`}}n.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR",n.PARSE_ERROR="PARSE_ERROR"}),i.register("j0uEO",(t,r)=>{e(t.exports,"Sanitizer",()=>c);var a=i("gkV4v"),o=i("dZmkP");let s="REDACTED",n=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],l=["api-version"];class c{constructor({allowedHeaderNames:e=[],allowedQueryParameters:t=[]}={}){e=Array.isArray(e)?n.concat(e):n,t=Array.isArray(t)?l.concat(t):l,this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return Object.assign(Object.assign({},r),{name:r.name,message:r.message});if("_headersMap"===e)return this.sanitizeHeaders(r);if("url"===e)return this.sanitizeUrl(r);if("query"===e)return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;if("operationSpec"===e)return;else if(Array.isArray(r)||(0,o.isObject)(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeHeaders(e){return this.sanitizeObject(e,this.allowedHeaderNames,(e,t)=>e[t].value)}sanitizeQuery(e){return this.sanitizeObject(e,this.allowedQueryParameters,(e,t)=>e[t])}sanitizeObject(e,t,r){if("object"!=typeof e||null===e)return e;let a={};for(let i of Object.keys(e))t.has(i.toLowerCase())?a[i]=r(e,i):a[i]=s;return a}sanitizeUrl(e){if("string"!=typeof e||null===e)return e;let t=(0,a.URLBuilder).parse(e),r=t.getQuery();if(!r)return e;let i=(0,a.URLQuery).parse(r);for(let e of i.keys())this.allowedQueryParameters.has(e.toLowerCase())||i.set(e,s);return t.setQuery(i.toString()),t.toString()}}}),i.register("lG2HI",(t,r)=>{e(t.exports,"custom",()=>a);let a=l.inspect.custom}),i.register("bNCl6",(t,r)=>{var a,o;function s(e,t={}){var r;p.rootName=t.rootName,p.charkey=null!==(r=t.xmlCharKey)&&void 0!==r?r:o.XML_CHARKEY;let i=new a.Builder(p);return i.buildObject(e)}function n(e,t={}){var r;c.explicitRoot=!!t.includeRoot,c.charkey=null!==(r=t.xmlCharKey)&&void 0!==r?r:o.XML_CHARKEY;let i=new a.Parser(c);return new Promise((t,r)=>{e?i.parseString(e,(e,a)=>{e?r(e):t(a)}):r(Error("Document is empty"))})}e(t.exports,"stringifyXML",()=>s),e(t.exports,"parseXML",()=>n),a=i("fkZEj"),o=i("HfFAd");let l={explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:o.XML_ATTRKEY,explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:void 0,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:void 0,attrValueProcessors:void 0,tagNameProcessors:void 0,valueProcessors:void 0,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:void 0,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1},c=Object.assign({},l);c.explicitArray=!1;let p=Object.assign({},l);p.explicitArray=!1,p.renderOpts={pretty:!1}}),i.register("fkZEj",(e,t)=>{(()=>{"use strict";var t,r,a,o,s=(e,t)=>{function r(){this.constructor=e}for(var a in t)n.call(t,a)&&(e[a]=t[a]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;r=i("530nM"),t=i("iKJ0N"),a=i("iBX9L"),o=i("jSvm5"),e.exports.defaults=r.defaults,e.exports.processors=o,e.exports.ValidationError=(e=>{function t(e){this.message=e}return s(t,e),t})(Error),e.exports.Builder=t.Builder,e.exports.Parser=a.Parser,e.exports.parseString=a.parse
|
||
|
Content-Disposition: form-data; name="`;return e.forEach((e,t)=>"string"==typeof e?i.push(o+m(t)+`"\r
|
||
|
\r
|
||
|
${e.replace(/\r(?!\n)|(?<!\r)\n/g,"\r\n")}\r
|
||
|
`):i.push(o+m(t)+`"; filename="${m(e.name,1)}"\r
|
||
|
Content-Type: ${e.type||"application/octet-stream"}\r
|
||
|
\r
|
||
|
`,e,"\r\n")),i.push(`--${r}--`),new t(i,{type:"multipart/form-data; boundary="+r})}e(t.exports,"FormData",()=>g),e(t.exports,"formDataToBlob",()=>h),a=i("i1AQj"),o=i("9GxxH"),({toStringTag:s,iterator:n,hasInstance:l}=Symbol),c=Math.random,p="append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","),d=(e,t,r)=>(e+="",/^(Blob|File)$/.test(t&&t[s])?[(r=void 0!==r?r+"":"File"==t[s]?t.name:"blob",e),t.name!==r||"blob"==t[s]?new o.default([t],r,t):t]:[e,t+""]),m=(e,t)=>(t?e:e.replace(/\r?\n|\r/g,"\r\n")).replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),u=(e,t,r)=>{if(t.length<r)throw TypeError(`Failed to execute '${e}' on 'FormData': ${r} arguments required, but only ${t.length} present.`)},o.default;let g=class{#i=[];constructor(...e){if(e.length)throw TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.")}get[s](){return"FormData"}[n](){return this.entries()}static[l](e){return e&&"object"==typeof e&&"FormData"===e[s]&&!p.some(t=>"function"!=typeof e[t])}append(...e){u("append",arguments,2),this.#i.push(d(...e))}delete(e){u("delete",arguments,1),e+="",this.#i=this.#i.filter(([t])=>t!==e)}get(e){u("get",arguments,1),e+="";for(var t=this.#i,r=t.length,a=0;r>a;a++)if(t[a][0]===e)return t[a][1];return null}getAll(e,t){return u("getAll",arguments,1),t=[],e+="",this.#i.forEach(r=>r[0]===e&&t.push(r[1])),t}has(e){return u("has",arguments,1),e+="",this.#i.some(t=>t[0]===e)}forEach(e,t){for(var[r,a]of(u("forEach",arguments,1),this))e.call(t,a,r,this)}set(...e){u("set",arguments,2);var t=[],r=!0;e=d(...e),this.#i.forEach(a=>{a[0]===e[0]?r&&(r=!t.push(e)):t.push(a)}),r&&t.push(e),this.#i=t}*entries(){yield*this.#i}*keys(){for(var[e]of this)yield e}*values(){for(var[,e]of this)yield e}}}),i.register("9GxxH",(t,r)=>{e(t.exports,"default",()=>s);var a=i("i1AQj");let o=class extends a.default{#o=0;#s="";constructor(e,t,r={}){if(arguments.length<2)throw TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);super(e,r),null===r&&(r={});let a=void 0===r.lastModified?Date.now():+r.lastModified;Number.isNaN(a)||(this.#o=a),this.#s=t+""}get name(){return this.#s}get lastModified(){return this.#o}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](e){return!!e&&e instanceof a.default&&/^(File)$/.test(e[Symbol.toStringTag])}};var s=o}),i.register("7JRVB",(t,r)=>{e(t.exports,"FetchError",()=>o);var a=i("9vwyZ");class o extends a.FetchBaseError{constructor(e,t,r){super(e,t),r&&(this.code=this.errno=r.code,this.erroredSysCall=r.syscall)}}}),i.register("9vwyZ",(t,r)=>{e(t.exports,"FetchBaseError",()=>a);class a extends Error{constructor(e,t){super(e),Error.captureStackTrace(this,this.constructor),this.type=t}get name(){return this.constructor.name}get[Symbol.toStringTag](){return this.constructor.name}}}),i.register("klYUY",(t,r)=>{e(t.exports,"isURLSearchParameters",()=>i),e(t.exports,"isBlob",()=>o),e(t.exports,"isAbortSignal",()=>s),e(t.exports,"isDomainOrSubdomain",()=>n),e(t.exports,"isSameProtocol",()=>l);let a=Symbol.toStringTag,i=e=>"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"function"==typeof e.sort&&"URLSearchParams"===e[a],o=e=>e&&"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&/^(Blob|File)$/.test(e[a]),s=e=>"object"==typeof e&&("AbortSignal"===e[a]||"EventTarget"===e[a]),n=(e,t)=>{let r=new URL(t).hostname,a=new URL(e).hostname;return r===a||r.endsWith("."+a)},l=(e,t)=>{let r=new URL(t).protocol,a=new URL(e).protocol;return r===a}}),i.register("lJ4Ov",(e,t)=>{e.exports=Promise.resolve(require("./multipart-parser.c03ddc74.js")).then(()=>i("6KsJx"))}),i.register("b6hy8",(t,r)=>{e(t.exports,"default",()=>l);var a=i("hUN7x"),o=i("aO1zE"),s=i("isNm3");let n=Symbol();class l extends o.default{constructor(e=null,t={}){super(e,t);let r=null!=t.status?t.status:200,i=new a.default(t.hea
|
||
|
//# sourceMappingURL=actions_python.5094829c.js.map
|