From ee71c557b82b936f71e99a88aabe8e1f167ee9e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 13:48:48 +0000 Subject: [PATCH 1/2] Bump minimatch from 3.1.2 to 3.1.5 Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to 3.1.5. - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5) --- updated-dependencies: - dependency-name: minimatch dependency-version: 3.1.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d65ab60..96aad45 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1362,9 +1362,10 @@ "dev": true }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha1-Gc0ZS/0+Qo8EmnCBfAONiatL41s= sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, From bf7cedc57d6a807b539722797cca6a1555918df7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 13:49:20 +0000 Subject: [PATCH 2/2] Automatic distributive rebuild --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 17cfdf0..b4856df 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,3 +1,3 @@ -import{createRequire as e}from"module";var t={5116:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A512){throw new ValidationError(`Key Validation Error: ${e} cannot be larger than 512 characters.`)}const t=/^[^,]*$/;if(!t.test(e)){throw new ValidationError(`Key Validation Error: ${e} cannot contain commas.`)}}function isFeatureAvailable(){const e=(0,T.getCacheServiceVersion)();switch(e){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}function restoreCache(e,t,n,o){return c(this,arguments,void 0,(function*(e,t,n,o,i=false){const A=(0,T.getCacheServiceVersion)();d.debug(`Cache service version: ${A}`);checkPaths(e);switch(A){case"v2":return yield restoreCacheV2(e,t,n,o,i);case"v1":default:return yield restoreCacheV1(e,t,n,o,i)}}))}function restoreCacheV1(e,t,n,o){return c(this,arguments,void 0,(function*(e,t,n,o,i=false){n=n||[];const A=[t,...n];d.debug("Resolved Keys:");d.debug(JSON.stringify(A));if(A.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of A){checkKey(e)}const c=yield C.getCompressionMethod();let v="";try{const t=yield S.getCacheEntry(A,e,{compressionMethod:c,enableCrossOsArchive:i});if(!(t===null||t===void 0?void 0:t.archiveLocation)){return undefined}if(o===null||o===void 0?void 0:o.lookupOnly){d.info("Lookup only - skipping download");return t.cacheKey}v=p.join(yield C.createTempDirectory(),C.getCacheFileName(c));d.debug(`Archive Path: ${v}`);yield S.downloadCache(t.archiveLocation,v,o);if(d.isDebug()){yield(0,_.listTar)(v,c)}const n=C.getArchiveFileSizeInBytes(v);d.info(`Cache Size: ~${Math.round(n/(1024*1024))} MB (${n} B)`);yield(0,_.extractTar)(v,c);d.info("Cache restored successfully");return t.cacheKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){d.error(`Failed to restore: ${e.message}`)}else{d.warning(`Failed to restore: ${e.message}`)}}}finally{try{yield C.unlinkFile(v)}catch(e){d.debug(`Failed to delete archive: ${e}`)}}return undefined}))}function restoreCacheV2(e,t,n,o){return c(this,arguments,void 0,(function*(e,t,n,o,i=false){o=Object.assign(Object.assign({},o),{useAzureSdk:true});n=n||[];const A=[t,...n];d.debug("Resolved Keys:");d.debug(JSON.stringify(A));if(A.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of A){checkKey(e)}let c="";try{const T=v.internalCacheTwirpClient();const V=yield C.getCompressionMethod();const Z={key:t,restoreKeys:n,version:C.getCacheVersion(e,V,i)};const ee=yield T.GetCacheEntryDownloadURL(Z);if(!ee.ok){d.debug(`Cache not found for version ${Z.version} of keys: ${A.join(", ")}`);return undefined}const te=Z.key!==ee.matchedKey;if(te){d.info(`Cache hit for restore-key: ${ee.matchedKey}`)}else{d.info(`Cache hit for: ${ee.matchedKey}`)}if(o===null||o===void 0?void 0:o.lookupOnly){d.info("Lookup only - skipping download");return ee.matchedKey}c=p.join(yield C.createTempDirectory(),C.getCacheFileName(V));d.debug(`Archive path: ${c}`);d.debug(`Starting download of archive to: ${c}`);yield S.downloadCache(ee.signedDownloadUrl,c,o);const re=C.getArchiveFileSizeInBytes(c);d.info(`Cache Size: ~${Math.round(re/(1024*1024))} MB (${re} B)`);if(d.isDebug()){yield(0,_.listTar)(c,V)}yield(0,_.extractTar)(c,V);d.info("Cache restored successfully");return ee.matchedKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){d.error(`Failed to restore: ${e.message}`)}else{d.warning(`Failed to restore: ${e.message}`)}}}finally{try{if(c){yield C.unlinkFile(c)}}catch(e){d.debug(`Failed to delete archive: ${e}`)}}return undefined}))}function saveCache(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=false){const i=(0,T.getCacheServiceVersion)();d.debug(`Cache service version: ${i}`);checkPaths(e);checkKey(t);switch(i){case"v2":return yield saveCacheV2(e,t,n,o);case"v1":default:return yield saveCacheV1(e,t,n,o)}}))}function saveCacheV1(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=false){var i,A,c,v,Z;const ee=yield C.getCompressionMethod();let te=-1;const re=yield C.resolvePaths(e);d.debug("Cache Paths:");d.debug(`${JSON.stringify(re)}`);if(re.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const ne=yield C.createTempDirectory();const oe=p.join(ne,C.getCacheFileName(ee));d.debug(`Archive Path: ${oe}`);try{yield(0,_.createTar)(ne,re,ee);if(d.isDebug()){yield(0,_.listTar)(oe,ee)}const p=10*1024*1024*1024;const V=C.getArchiveFileSizeInBytes(oe);d.debug(`File Size: ${V}`);if(V>p&&!(0,T.isGhes)()){throw new Error(`Cache size of ~${Math.round(V/(1024*1024))} MB (${V} B) is over the 10GB limit, not saving cache.`)}d.debug("Reserving Cache");const ie=yield S.reserveCache(t,e,{compressionMethod:ee,enableCrossOsArchive:o,cacheSize:V});if((i=ie===null||ie===void 0?void 0:ie.result)===null||i===void 0?void 0:i.cacheId){te=(A=ie===null||ie===void 0?void 0:ie.result)===null||A===void 0?void 0:A.cacheId}else if((ie===null||ie===void 0?void 0:ie.statusCode)===400){throw new Error((v=(c=ie===null||ie===void 0?void 0:ie.error)===null||c===void 0?void 0:c.message)!==null&&v!==void 0?v:`Cache size of ~${Math.round(V/(1024*1024))} MB (${V} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache. More details: ${(Z=ie===null||ie===void 0?void 0:ie.error)===null||Z===void 0?void 0:Z.message}`)}d.debug(`Saving Cache (ID: ${te})`);yield S.saveCache(te,oe,"",n)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){d.info(`Failed to save: ${t.message}`)}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){d.error(`Failed to save: ${t.message}`)}else{d.warning(`Failed to save: ${t.message}`)}}}finally{try{yield C.unlinkFile(oe)}catch(e){d.debug(`Failed to delete archive: ${e}`)}}return te}))}function saveCacheV2(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=false){n=Object.assign(Object.assign({},n),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const i=yield C.getCompressionMethod();const A=v.internalCacheTwirpClient();let c=-1;const T=yield C.resolvePaths(e);d.debug("Cache Paths:");d.debug(`${JSON.stringify(T)}`);if(T.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const Z=yield C.createTempDirectory();const ee=p.join(Z,C.getCacheFileName(i));d.debug(`Archive Path: ${ee}`);try{yield(0,_.createTar)(Z,T,i);if(d.isDebug()){yield(0,_.listTar)(ee,i)}const p=C.getArchiveFileSizeInBytes(ee);d.debug(`File Size: ${p}`);n.archiveSizeBytes=p;d.debug("Reserving Cache");const v=C.getCacheVersion(e,i,o);const V={key:t,version:v};let te;try{const e=yield A.CreateCacheEntry(V);if(!e.ok){if(e.message){d.warning(`Cache reservation failed: ${e.message}`)}throw new Error(e.message||"Response was not ok")}te=e.signedUploadUrl}catch(e){d.debug(`Failed to reserve cache: ${e}`);throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache.`)}d.debug(`Attempting to upload cache located at: ${ee}`);yield S.saveCache(c,ee,te,n);const re={key:t,version:v,sizeBytes:`${p}`};const ne=yield A.FinalizeCacheEntryUpload(re);d.debug(`FinalizeCacheEntryUploadResponse: ${ne.ok}`);if(!ne.ok){if(ne.message){throw new FinalizeCacheError(ne.message)}throw new Error(`Unable to finalize cache with key ${t}, another job may be finalizing this cache.`)}c=parseInt(ne.entryId)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){d.info(`Failed to save: ${t.message}`)}else if(t.name===FinalizeCacheError.name){d.warning(t.message)}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){d.error(`Failed to save: ${t.message}`)}else{d.warning(`Failed to save: ${t.message}`)}}}finally{try{yield C.unlinkFile(ee)}catch(e){d.debug(`Failed to delete archive: ${e}`)}}return c}))}},93156:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.CacheService=t.GetCacheEntryDownloadURLResponse=t.GetCacheEntryDownloadURLRequest=t.FinalizeCacheEntryUploadResponse=t.FinalizeCacheEntryUploadRequest=t.CreateCacheEntryResponse=t.CreateCacheEntryRequest=void 0;const o=n(44420);const i=n(68886);const A=n(68886);const c=n(68886);const d=n(68886);const p=n(68886);const C=n(89444);class CreateCacheEntryRequest$Type extends p.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>C.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",version:""};globalThis.Object.defineProperty(t,d.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,c.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let i=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.posC.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(t,d.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,c.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let i=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.posC.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(t,d.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,c.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let i=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.pos{Object.defineProperty(t,"__esModule",{value:true});t.CacheServiceClientProtobuf=t.CacheServiceClientJSON=void 0;const o=n(93156);class CacheServiceClientJSON{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=o.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",t);return n.then((e=>o.CreateCacheEntryResponse.fromJson(e,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(e){const t=o.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",t);return n.then((e=>o.FinalizeCacheEntryUploadResponse.fromJson(e,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(e){const t=o.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",t);return n.then((e=>o.GetCacheEntryDownloadURLResponse.fromJson(e,{ignoreUnknownFields:true})))}}t.CacheServiceClientJSON=CacheServiceClientJSON;class CacheServiceClientProtobuf{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=o.CreateCacheEntryRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",t);return n.then((e=>o.CreateCacheEntryResponse.fromBinary(e)))}FinalizeCacheEntryUpload(e){const t=o.FinalizeCacheEntryUploadRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",t);return n.then((e=>o.FinalizeCacheEntryUploadResponse.fromBinary(e)))}GetCacheEntryDownloadURL(e){const t=o.GetCacheEntryDownloadURLRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",t);return n.then((e=>o.GetCacheEntryDownloadURLResponse.fromBinary(e)))}}t.CacheServiceClientProtobuf=CacheServiceClientProtobuf},89444:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.CacheMetadata=void 0;const o=n(68886);const i=n(68886);const A=n(68886);const c=n(68886);const d=n(68886);const p=n(29425);class CacheMetadata$Type extends d.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>p.CacheScope}])}create(e){const t={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(t,c.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,A.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let A=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.pos{Object.defineProperty(t,"__esModule",{value:true});t.CacheScope=void 0;const o=n(68886);const i=n(68886);const A=n(68886);const c=n(68886);const d=n(68886);class CacheScope$Type extends d.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){const t={scope:"",permission:"0"};globalThis.Object.defineProperty(t,c.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,A.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let A=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.posc(this,void 0,void 0,(function*(){return o.getJson(getCacheApiUrl(A))}))));if(p.statusCode===204){if(d.isDebug()){yield printCachesListForDiagnostics(e[0],o,i)}return null}if(!(0,ee.isSuccessStatusCode)(p.statusCode)){throw new Error(`Cache service responded with ${p.statusCode}`)}const C=p.result;const S=C===null||C===void 0?void 0:C.archiveLocation;if(!S){throw new Error("Cache not found.")}d.setSecret(S);d.debug(`Cache Result:`);d.debug(JSON.stringify(C));return C}))}function printCachesListForDiagnostics(e,t,n){return c(this,void 0,void 0,(function*(){const o=`caches?key=${encodeURIComponent(e)}`;const i=yield(0,ee.retryTypedResponse)("listCache",(()=>c(this,void 0,void 0,(function*(){return t.getJson(getCacheApiUrl(o))}))));if(i.statusCode===200){const t=i.result;const o=t===null||t===void 0?void 0:t.totalCount;if(o&&o>0){d.debug(`No matching cache found for cache key '${e}', version '${n} and scope ${process.env["GITHUB_REF"]}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(const e of(t===null||t===void 0?void 0:t.artifactCaches)||[]){d.debug(`Cache Key: ${e===null||e===void 0?void 0:e.cacheKey}, Cache Version: ${e===null||e===void 0?void 0:e.cacheVersion}, Cache Scope: ${e===null||e===void 0?void 0:e.scope}, Cache Created: ${e===null||e===void 0?void 0:e.creationTime}`)}}}}))}function downloadCache(e,t,n){return c(this,void 0,void 0,(function*(){const o=new v.URL(e);const i=(0,Z.getDownloadOptions)(n);if(o.hostname.endsWith(".blob.core.windows.net")){if(i.useAzureSdk){yield(0,V.downloadCacheStorageSDK)(e,t,i)}else if(i.concurrentBlobDownloads){yield(0,V.downloadCacheHttpClientConcurrent)(e,t,i)}else{yield(0,V.downloadCacheHttpClient)(e,t)}}else{yield(0,V.downloadCacheHttpClient)(e,t)}}))}function reserveCache(e,t,n){return c(this,void 0,void 0,(function*(){const o=createHttpClient();const i=T.getCacheVersion(t,n===null||n===void 0?void 0:n.compressionMethod,n===null||n===void 0?void 0:n.enableCrossOsArchive);const A={key:e,version:i,cacheSize:n===null||n===void 0?void 0:n.cacheSize};const d=yield(0,ee.retryTypedResponse)("reserveCache",(()=>c(this,void 0,void 0,(function*(){return o.postJson(getCacheApiUrl("caches"),A)}))));return d}))}function getContentRange(e,t){return`bytes ${e}-${t}/*`}function uploadChunk(e,t,n,o,i){return c(this,void 0,void 0,(function*(){d.debug(`Uploading chunk of size ${i-o+1} bytes at offset ${o} with content range: ${getContentRange(o,i)}`);const A={"Content-Type":"application/octet-stream","Content-Range":getContentRange(o,i)};const p=yield(0,ee.retryHttpClientResponse)(`uploadChunk (start: ${o}, end: ${i})`,(()=>c(this,void 0,void 0,(function*(){return e.sendStream("PATCH",t,n(),A)}))));if(!(0,ee.isSuccessStatusCode)(p.message.statusCode)){throw new Error(`Cache service responded with ${p.message.statusCode} during upload chunk.`)}}))}function uploadFile(e,t,n,o){return c(this,void 0,void 0,(function*(){const i=T.getArchiveFileSizeInBytes(n);const A=getCacheApiUrl(`caches/${t.toString()}`);const p=S.openSync(n,"r");const C=(0,Z.getUploadOptions)(o);const v=T.assertDefined("uploadConcurrency",C.uploadConcurrency);const _=T.assertDefined("uploadChunkSize",C.uploadChunkSize);const V=[...new Array(v).keys()];d.debug("Awaiting all uploads");let ee=0;try{yield Promise.all(V.map((()=>c(this,void 0,void 0,(function*(){while(eeS.createReadStream(n,{fd:p,start:o,end:c,autoClose:false}).on("error",(e=>{throw new Error(`Cache upload failed because file read failed with ${e.message}`)}))),o,c)}})))))}finally{S.closeSync(p)}return}))}function commitCache(e,t,n){return c(this,void 0,void 0,(function*(){const o={size:n};return yield(0,ee.retryTypedResponse)("commitCache",(()=>c(this,void 0,void 0,(function*(){return e.postJson(getCacheApiUrl(`caches/${t.toString()}`),o)}))))}))}function saveCache(e,t,n,o){return c(this,void 0,void 0,(function*(){const i=(0,Z.getUploadOptions)(o);if(i.useAzureSdk){if(!n){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield(0,_.uploadCacheArchiveSDK)(n,t,o)}else{const n=createHttpClient();d.debug("Upload cache");yield uploadFile(n,e,t,o);d.debug("Commiting cache");const i=T.getArchiveFileSizeInBytes(t);d.info(`Cache Size: ~${Math.round(i/(1024*1024))} MB (${i} B)`);const A=yield commitCache(n,e,i);if(!(0,ee.isSuccessStatusCode)(A.statusCode)){throw new Error(`Cache service responded with ${A.statusCode} during commit cache.`)}d.info("Cache saved successfully")}}))}},98299:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;An+=e.toString(),stderr:e=>n+=e.toString()}})}catch(e){p.debug(e.message)}n=n.trim();p.debug(n);return n}))}function getCompressionMethod(){return c(this,void 0,void 0,(function*(){const e=yield getVersion("zstd",["--quiet"]);const t=Z.clean(e);p.debug(`zstd version: ${t}`);if(e===""){return te.CompressionMethod.Gzip}else{return te.CompressionMethod.ZstdWithoutLong}}))}function getCacheFileName(e){return e===te.CompressionMethod.Gzip?te.CacheFilename.Gzip:te.CacheFilename.Zstd}function getGnuTarPathOnWindows(){return c(this,void 0,void 0,(function*(){if(_.existsSync(te.GnuTarPathOnWindows)){return te.GnuTarPathOnWindows}const e=yield getVersion("tar");return e.toLowerCase().includes("gnu tar")?v.which("tar"):""}))}function assertDefined(e,t){if(t===undefined){throw Error(`Expected ${e} but value was undefiend`)}return t}function getCacheVersion(e,t,n=false){const o=e.slice();if(t){o.push(t)}if(process.platform==="win32"&&!n){o.push("windows-only")}o.push(re);return T.createHash("sha256").update(o.join("|")).digest("hex")}function getRuntimeToken(){const e=process.env["ACTIONS_RUNTIME_TOKEN"];if(!e){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return e}},17606:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isGhes=isGhes;t.getCacheServiceVersion=getCacheServiceVersion;t.getCacheServiceURL=getCacheServiceURL;function isGhes(){const e=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const t=e.hostname.trimEnd().toUpperCase();const n=t==="GITHUB.COM";const o=t.endsWith(".GHE.COM");const i=t.endsWith(".LOCALHOST");return!n&&!o&&!i}function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}function getCacheServiceURL(){const e=getCacheServiceVersion();switch(e){case"v1":return process.env["ACTIONS_CACHE_URL"]||process.env["ACTIONS_RESULTS_URL"]||"";case"v2":return process.env["ACTIONS_RESULTS_URL"]||"";default:throw new Error(`Unsupported cache service version: ${e}`)}}},58287:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.CacheFileSizeLimit=t.ManifestFilename=t.TarFilename=t.SystemTarPathOnWindows=t.GnuTarPathOnWindows=t.SocketTimeout=t.DefaultRetryDelay=t.DefaultRetryAttempts=t.ArchiveToolType=t.CompressionMethod=t.CacheFilename=void 0;var n;(function(e){e["Gzip"]="cache.tgz";e["Zstd"]="cache.tzst"})(n||(t.CacheFilename=n={}));var o;(function(e){e["Gzip"]="gzip";e["ZstdWithoutLong"]="zstd-without-long";e["Zstd"]="zstd"})(o||(t.CompressionMethod=o={}));var i;(function(e){e["GNU"]="gnu";e["BSD"]="bsd"})(i||(t.ArchiveToolType=i={}));t.DefaultRetryAttempts=2;t.DefaultRetryDelay=5e3;t.SocketTimeout=5e3;t.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;t.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;t.TarFilename="cache.tar";t.ManifestFilename="manifest.txt";t.CacheFileSizeLimit=10*Math.pow(1024,3)},75067:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}t.DownloadProgress=DownloadProgress;function downloadCacheHttpClient(e,t){return c(this,void 0,void 0,(function*(){const n=v.createWriteStream(t);const o=new p.HttpClient("actions/cache");const i=yield(0,ee.retryHttpClientResponse)("downloadCache",(()=>c(this,void 0,void 0,(function*(){return o.get(e)}))));i.message.socket.setTimeout(Z.SocketTimeout,(()=>{i.message.destroy();d.debug(`Aborting download, socket timed out after ${Z.SocketTimeout} ms`)}));yield pipeResponseToStream(i,n);const A=i.message.headers["content-length"];if(A){const e=parseInt(A);const n=V.getArchiveFileSizeInBytes(t);if(n!==e){throw new Error(`Incomplete download. Expected file size: ${e}, actual file size: ${n}`)}}else{d.debug("Unable to validate download, no Content-Length header")}}))}function downloadCacheHttpClientConcurrent(e,t,n){return c(this,void 0,void 0,(function*(){var o;const i=yield v.promises.open(t,"w");const A=new p.HttpClient("actions/cache",undefined,{socketTimeout:n.timeoutInMs,keepAlive:true});try{const t=yield(0,ee.retryHttpClientResponse)("downloadCacheMetadata",(()=>c(this,void 0,void 0,(function*(){return yield A.request("HEAD",e,null,{})}))));const d=t.message.headers["content-length"];if(d===undefined||d===null){throw new Error("Content-Length not found on blob response")}const p=parseInt(d);if(Number.isNaN(p)){throw new Error(`Could not interpret Content-Length: ${p}`)}const C=[];const S=4*1024*1024;for(let t=0;tc(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(A,e,t,n)}))})}C.reverse();let v=0;let T=0;const _=new DownloadProgress(p);_.startDisplayTimer();const V=_.onProgress();const Z=[];let te;const waitAndWrite=()=>c(this,void 0,void 0,(function*(){const e=yield Promise.race(Object.values(Z));yield i.write(e.buffer,0,e.count,e.offset);v--;delete Z[e.offset];T+=e.count;V({loadedBytes:T})}));while(te=C.pop()){Z[te.offset]=te.promiseGetter();v++;if(v>=((o=n.downloadConcurrency)!==null&&o!==void 0?o:10)){yield waitAndWrite()}}while(v>0){yield waitAndWrite()}}finally{A.dispose();yield i.close()}}))}function downloadSegmentRetry(e,t,n,o){return c(this,void 0,void 0,(function*(){const i=5;let A=0;while(true){try{const i=3e4;const A=yield promiseWithTimeout(i,downloadSegment(e,t,n,o));if(typeof A==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return A}catch(e){if(A>=i){throw e}A++}}}))}function downloadSegment(e,t,n,o){return c(this,void 0,void 0,(function*(){const i=yield(0,ee.retryHttpClientResponse)("downloadCachePart",(()=>c(this,void 0,void 0,(function*(){return yield e.get(t,{Range:`bytes=${n}-${n+o-1}`})}))));if(!i.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:n,count:o,buffer:yield i.readBodyBuffer()}}))}function downloadCacheStorageSDK(e,t,n){return c(this,void 0,void 0,(function*(){var o;const i=new C.BlockBlobClient(e,undefined,{retryOptions:{tryTimeoutInMs:n.timeoutInMs}});const A=yield i.getProperties();const c=(o=A.contentLength)!==null&&o!==void 0?o:-1;if(c<0){d.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(e,t)}else{const e=Math.min(134217728,S.constants.MAX_LENGTH);const o=new DownloadProgress(c);const A=v.openSync(t,"w");try{o.startDisplayTimer();const t=new te.AbortController;const d=t.signal;while(!o.isDone()){const p=o.segmentOffset+o.segmentSize;const C=Math.min(e,c-p);o.nextSegment(C);const S=yield promiseWithTimeout(n.segmentTimeoutInMs||36e5,i.downloadToBuffer(p,C,{abortSignal:d,concurrency:n.downloadConcurrency,onProgress:o.onProgress()}));if(S==="timeout"){t.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(S)){v.writeFileSync(A,S)}}}finally{o.stopDisplayTimer();v.closeSync(A)}}}))}const promiseWithTimeout=(e,t)=>c(void 0,void 0,void 0,(function*(){let n;const o=new Promise((t=>{n=setTimeout((()=>t("timeout")),e)}));return Promise.race([t,o]).then((e=>{clearTimeout(n);return e}))}))},32846:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A=200&&e<300}function isServerErrorStatusCode(e){if(!e){return true}return e>=500}function isRetryableStatusCode(e){if(!e){return false}const t=[p.HttpCodes.BadGateway,p.HttpCodes.ServiceUnavailable,p.HttpCodes.GatewayTimeout];return t.includes(e)}function sleep(e){return c(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}function retry(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=C.DefaultRetryAttempts,i=C.DefaultRetryDelay,A=undefined){let c="";let p=1;while(p<=o){let C=undefined;let S=undefined;let v=false;try{C=yield t()}catch(e){if(A){C=A(e)}v=true;c=e.message}if(C){S=n(C);if(!isServerErrorStatusCode(S)){return C}}if(S){v=isRetryableStatusCode(S);c=`Cache service responded with ${S}`}d.debug(`${e} - Attempt ${p} of ${o} failed with error: ${c}`);if(!v){d.debug(`${e} - Error is not retryable`);break}yield sleep(i);p++}throw Error(`${e} failed: ${c}`)}))}function retryTypedResponse(e,t){return c(this,arguments,void 0,(function*(e,t,n=C.DefaultRetryAttempts,o=C.DefaultRetryDelay){return yield retry(e,t,(e=>e.statusCode),n,o,(e=>{if(e instanceof p.HttpClientError){return{statusCode:e.statusCode,result:null,headers:{},error:e}}else{return undefined}}))}))}function retryHttpClientResponse(e,t){return c(this,arguments,void 0,(function*(e,t,n=C.DefaultRetryAttempts,o=C.DefaultRetryDelay){return yield retry(e,t,(e=>e.message.statusCode),n,o)}))}},96819:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.internalCacheTwirpClient=internalCacheTwirpClient;const i=n(37484);const A=n(41899);const c=n(50263);const d=n(17606);const p=n(98299);const C=n(44552);const S=n(54844);const v=n(11486);const T=n(27564);class CacheServiceClient{constructor(e,t,n,o){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const i=(0,p.getRuntimeToken)();this.baseUrl=(0,d.getCacheServiceURL)();if(t){this.maxAttempts=t}if(n){this.baseRetryIntervalMilliseconds=n}if(o){this.retryMultiplier=o}this.httpClient=new S.HttpClient(e,[new C.BearerCredentialHandler(i)])}request(e,t,n,A){return o(this,void 0,void 0,(function*(){const c=new URL(`/twirp/${e}/${t}`,this.baseUrl).href;(0,i.debug)(`[Request] ${t} ${c}`);const d={"Content-Type":n};try{const{body:e}=yield this.retryableRequest((()=>o(this,void 0,void 0,(function*(){return this.httpClient.post(c,JSON.stringify(A),d)}))));return e}catch(e){throw new Error(`Failed to ${t}: ${e.message}`)}}))}retryableRequest(e){return o(this,void 0,void 0,(function*(){let t=0;let n="";let o="";while(t=200&&e<300}isRetryableHttpStatusCode(e){if(!e)return false;const t=[S.HttpCodes.BadGateway,S.HttpCodes.GatewayTimeout,S.HttpCodes.InternalServerError,S.HttpCodes.ServiceUnavailable,S.HttpCodes.TooManyRequests];return t.includes(e)}sleep(e){return o(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}getExponentialRetryTimeMilliseconds(e){if(e<0){throw new Error("attempt should be a positive integer")}if(e===0){return this.baseRetryIntervalMilliseconds}const t=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e);const n=t*this.retryMultiplier;return Math.trunc(Math.random()*(n-t)+t)}}function internalCacheTwirpClient(e){const t=new CacheServiceClient((0,A.getUserAgentString)(),e===null||e===void 0?void 0:e.maxAttempts,e===null||e===void 0?void 0:e.retryIntervalMs,e===null||e===void 0?void 0:e.retryMultiplier);return new v.CacheServiceClientJSON(t)}},50263:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.UsageError=t.NetworkError=t.GHESNotSupportedError=t.CacheNotFoundError=t.InvalidResponseError=t.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(e=[]){let t="No files were found to upload";if(e.length>0){t+=`: ${e.join(", ")}`}super(t);this.files=e;this.name="FilesNotFoundError"}}t.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(e){super(e);this.name="InvalidResponseError"}}t.InvalidResponseError=InvalidResponseError;class CacheNotFoundError extends Error{constructor(e="Cache not found"){super(e);this.name="CacheNotFoundError"}}t.CacheNotFoundError=CacheNotFoundError;class GHESNotSupportedError extends Error{constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e);this.name="GHESNotSupportedError"}}t.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(e){const t=`Unable to make request: ${e}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(t);this.code=e;this.name="NetworkError"}}t.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=e=>{if(!e)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(e)};class UsageError extends Error{constructor(){const e=`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(e);this.name="UsageError"}}t.UsageError=UsageError;UsageError.isUsageErrorMessage=e=>{if(!e)return false;return e.includes("insufficient usage")}},41899:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentString=getUserAgentString;const o=n(64012);function getUserAgentString(){return`@actions/cache-${o.version}`}},27564:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.maskSigUrl=maskSigUrl;t.maskSecretUrls=maskSecretUrls;const o=n(37484);function maskSigUrl(e){if(!e)return;try{const t=new URL(e);const n=t.searchParams.get("sig");if(n){(0,o.setSecret)(n);(0,o.setSecret)(encodeURIComponent(n))}}catch(t){(0,o.debug)(`Failed to parse URL: ${e} ${t instanceof Error?t.message:String(t)}`)}}function maskSecretUrls(e){if(typeof e!=="object"||e===null){(0,o.debug)("body is not an object or is null");return}if("signed_upload_url"in e&&typeof e.signed_upload_url==="string"){maskSigUrl(e.signed_upload_url)}if("signed_download_url"in e&&typeof e.signed_download_url==="string"){maskSigUrl(e.signed_download_url)}}},95321:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}t.UploadProgress=UploadProgress;function uploadCacheArchiveSDK(e,t,n){return c(this,void 0,void 0,(function*(){var o;const i=new p.BlobClient(e);const A=i.getBlockBlobClient();const c=new UploadProgress((o=n===null||n===void 0?void 0:n.archiveSizeBytes)!==null&&o!==void 0?o:0);const S={blockSize:n===null||n===void 0?void 0:n.uploadChunkSize,concurrency:n===null||n===void 0?void 0:n.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:c.onProgress()};try{c.startDisplayTimer();d.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);const e=yield A.uploadFile(t,S);if(e._response.status>=400){throw new C.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${e._response.status}`)}return e}catch(e){d.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${e.message}`);throw e}finally{c.stopDisplayTimer()}}))}},98356:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A0){e+=" ";let t=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const o=this.properties[n];if(o){if(t){t=false}else{e+=","}e+=`${n}=${escapeProperty(o)}`}}}}e+=`${p}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,d.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,d.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},37484:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ae!==""));if(t&&t.trimWhitespace===false){return n}return n.map((e=>e.trim()))}function getBooleanInput(e,t){const n=["true","True","TRUE"];const o=["false","False","FALSE"];const i=getInput(e,t);if(n.includes(i))return true;if(o.includes(i))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(e,t){const n=process.env["GITHUB_OUTPUT"]||"";if(n){return(0,p.issueFileCommand)("OUTPUT",(0,p.prepareKeyValueMessage)(e,t))}process.stdout.write(S.EOL);(0,d.issueCommand)("set-output",{name:e},(0,C.toCommandValue)(t))}function setCommandEcho(e){(0,d.issue)("echo",e?"on":"off")}function setFailed(e){process.exitCode=_.Failure;error(e)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(e){(0,d.issueCommand)("debug",{},e)}function error(e,t={}){(0,d.issueCommand)("error",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}function warning(e,t={}){(0,d.issueCommand)("warning",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}function notice(e,t={}){(0,d.issueCommand)("notice",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}function info(e){process.stdout.write(e+S.EOL)}function startGroup(e){(0,d.issue)("group",e)}function endGroup(){(0,d.issue)("endgroup")}function group(e,t){return c(this,void 0,void 0,(function*(){startGroup(e);let n;try{n=yield t()}finally{endGroup()}return n}))}function saveState(e,t){const n=process.env["GITHUB_STATE"]||"";if(n){return(0,p.issueFileCommand)("STATE",(0,p.prepareKeyValueMessage)(e,t))}(0,d.issueCommand)("save-state",{name:e},(0,C.toCommandValue)(t))}function getState(e){return process.env[`STATE_${e}`]||""}function getIDToken(e){return c(this,void 0,void 0,(function*(){return yield T.OidcClient.getIDToken(e)}))}var V=n(71847);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return V.summary}});var Z=n(71847);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return Z.markdownSummary}});var ee=n(31976);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return ee.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return ee.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return ee.toPlatformPath}});t.platform=A(n(18968))},24753:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const i=(t=o.result)===null||t===void 0?void 0:t.value;if(!i){throw new Error("Response json body do not have ID Token field")}return i}))}static getIDToken(e){return o(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const n=encodeURIComponent(e);t=`${t}&audience=${n}`}(0,c.debug)(`ID token url is ${t}`);const n=yield OidcClient.getCall(t);(0,c.setSecret)(n);return n}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},31976:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ac(void 0,void 0,void 0,(function*(){const{stdout:e}=yield C.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield C.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>c(void 0,void 0,void 0,(function*(){var e,t,n,o;const{stdout:i}=yield C.getExecOutput("sw_vers",undefined,{silent:true});const A=(t=(e=i.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const c=(o=(n=i.match(/ProductName:\s*(.+)/))===null||n===void 0?void 0:n[1])!==null&&o!==void 0?o:"";return{name:c,version:A}}));const getLinuxInfo=()=>c(void 0,void 0,void 0,(function*(){const{stdout:e}=yield C.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,n]=e.trim().split("\n");return{name:t,version:n}}));t.platform=p.default.platform();t.arch=p.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return c(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield t.isWindows?getWindowsInfo():t.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:t.platform,arch:t.arch,isWindows:t.isWindows,isMacOS:t.isMacOS,isLinux:t.isLinux})}))}},71847:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const i=n(70857);const A=n(79896);const{access:c,appendFile:d,writeFile:p}=A.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return o(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield c(e,A.constants.R_OK|A.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,n={}){const o=Object.entries(n).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${o}>`}return`<${e}${o}>${t}`}write(e){return o(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const n=yield this.filePath();const o=t?p:d;yield o(n,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return o(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(i.EOL)}addCodeBlock(e,t){const n=Object.assign({},t&&{lang:t});const o=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(o).addEOL()}addList(e,t=false){const n=t?"ol":"ul";const o=e.map((e=>this.wrap("li",e))).join("");const i=this.wrap(n,o);return this.addRaw(i).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:n,colspan:o,rowspan:i}=e;const A=t?"th":"td";const c=Object.assign(Object.assign({},o&&{colspan:o}),i&&{rowspan:i});return this.wrap(A,n,c)})).join("");return this.wrap("tr",t)})).join("");const n=this.wrap("table",t);return this.addRaw(n).addEOL()}addDetails(e,t){const n=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(n).addEOL()}addImage(e,t,n){const{width:o,height:i}=n||{};const A=Object.assign(Object.assign({},o&&{width:o}),i&&{height:i});const c=this.wrap("img",null,Object.assign({src:e,alt:t},A));return this.addRaw(c).addEOL()}addHeading(e,t){const n=`h${t}`;const o=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1";const i=this.wrap(o,e);return this.addRaw(i).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const n=Object.assign({},t&&{cite:t});const o=this.wrap("blockquote",e,n);return this.addRaw(o).addEOL()}addLink(e,t){const n=this.wrap("a",e,{href:t});return this.addRaw(n).addEOL()}}const C=new Summary;t.markdownSummary=C;t.summary=C},30302:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCommandValue=toCommandValue;t.toCommandProperties=toCommandProperties;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}},95236:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{c+=C.write(e);if(v){v(e)}};const stdOutListener=e=>{A+=p.write(e);if(S){S(e)}};const T=Object.assign(Object.assign({},n===null||n===void 0?void 0:n.listeners),{stdout:stdOutListener,stderr:stdErrListener});const _=yield exec(e,t,Object.assign(Object.assign({},n),{listeners:T}));A+=p.end();c+=C.end();return{exitCode:_,stdout:A,stderr:c}}))}},6665:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A-1){const e=o.substring(0,i);n(e);o=o.substring(i+d.EOL.length);i=o.indexOf(d.EOL)}return o}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(V){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(V){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const n of this.args){t+=" ";t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let n=false;for(const o of e){if(t.some((e=>e===o))){n=true;break}}if(!n){return e}let o='"';let i=true;for(let t=e.length;t>0;t--){o+=e[t-1];if(i&&e[t-1]==="\\"){o+="\\"}else if(e[t-1]==='"'){i=true;o+='"'}else{i=false}}o+='"';return o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let n=true;for(let o=e.length;o>0;o--){t+=e[o-1];if(n&&e[o-1]==="\\"){t+="\\"}else if(e[o-1]==='"'){n=true;t+="\\"}else{n=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const n={};n.cwd=e.cwd;n.env=e.env;n["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){n.argv0=`"${t}"`}return n}exec(){return c(this,void 0,void 0,(function*(){if(!T.isRooted(this.toolPath)&&(this.toolPath.includes("/")||V&&this.toolPath.includes("\\"))){this.toolPath=S.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield v.which(this.toolPath,true);return new Promise(((e,t)=>c(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const n=this._cloneExecOptions(this.options);if(!n.silent&&n.outStream){n.outStream.write(this._getCommandString(n)+d.EOL)}const o=new ExecState(n,this.toolPath);o.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield T.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const i=this._getSpawnFileName();const A=C.spawn(i,this._getSpawnArgs(n),this._getSpawnOptions(this.options,i));let c="";if(A.stdout){A.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!n.silent&&n.outStream){n.outStream.write(e)}c=this._processLineBuffer(e,c,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let p="";if(A.stderr){A.stderr.on("data",(e=>{o.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!n.silent&&n.errStream&&n.outStream){const t=n.failOnStdErr?n.errStream:n.outStream;t.write(e)}p=this._processLineBuffer(e,p,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}A.on("error",(e=>{o.processError=e.message;o.processExited=true;o.processClosed=true;o.CheckComplete()}));A.on("exit",(e=>{o.processExitCode=e;o.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);o.CheckComplete()}));A.on("close",(e=>{o.processExitCode=e;o.processExited=true;o.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);o.CheckComplete()}));o.on("done",((n,o)=>{if(c.length>0){this.emit("stdline",c)}if(p.length>0){this.emit("errline",p)}A.removeAllListeners();if(n){t(n)}else{e(o)}}));if(this.options.input){if(!A.stdin){throw new Error("child process missing stdin")}A.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let n=false;let o=false;let i="";function append(e){if(o&&e!=='"'){i+="\\"}i+=e;o=false}for(let A=0;A0){t.push(i);i=""}continue}append(c)}if(i.length>0){t.push(i.trim())}return t}class ExecState extends p.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,_.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},47206:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.hashFiles=t.create=void 0;const i=n(10103);const A=n(73608);function create(e,t){return o(this,void 0,void 0,(function*(){return yield i.DefaultGlobber.create(e,t)}))}t.create=create;function hashFiles(e,t="",n,i=false){return o(this,void 0,void 0,(function*(){let o=true;if(n&&typeof n.followSymbolicLinks==="boolean"){o=n.followSymbolicLinks}const c=yield create(e,{followSymbolicLinks:o});return(0,A.hashFiles)(c,t,i)}))}t.hashFiles=hashFiles},18164:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOptions=void 0;const c=A(n(54270));function getOptions(e){const t={followSymbolicLinks:true,implicitDescendants:true,matchDirectories:true,omitBrokenSymbolicLinks:true,excludeHiddenFiles:false};if(e){if(typeof e.followSymbolicLinks==="boolean"){t.followSymbolicLinks=e.followSymbolicLinks;c.debug(`followSymbolicLinks '${t.followSymbolicLinks}'`)}if(typeof e.implicitDescendants==="boolean"){t.implicitDescendants=e.implicitDescendants;c.debug(`implicitDescendants '${t.implicitDescendants}'`)}if(typeof e.matchDirectories==="boolean"){t.matchDirectories=e.matchDirectories;c.debug(`matchDirectories '${t.matchDirectories}'`)}if(typeof e.omitBrokenSymbolicLinks==="boolean"){t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks;c.debug(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)}if(typeof e.excludeHiddenFiles==="boolean"){t.excludeHiddenFiles=e.excludeHiddenFiles;c.debug(`excludeHiddenFiles '${t.excludeHiddenFiles}'`)}}return t}t.getOptions=getOptions},10103:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};var d=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(o,i){n=e[t](n),settle(o,i,n.done,n.value)}))}}function settle(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}};var p=this&&this.__await||function(e){return this instanceof p?(this.v=e,this):new p(e)};var C=this&&this.__asyncGenerator||function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n.apply(e,t||[]),i,A=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(e){if(o[e])i[e]=function(t){return new Promise((function(n,o){A.push([e,t,n,o])>1||resume(e,t)}))}}function resume(e,t){try{step(o[e](t))}catch(e){settle(A[0][3],e)}}function step(e){e.value instanceof p?Promise.resolve(e.value.v).then(fulfill,reject):settle(A[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),A.shift(),A.length)resume(A[0][0],A[0][1])}};Object.defineProperty(t,"__esModule",{value:true});t.DefaultGlobber=void 0;const S=A(n(54270));const v=A(n(79896));const T=A(n(18164));const _=A(n(16928));const V=A(n(98891));const Z=n(62644);const ee=n(25370);const te=n(79890);const re=process.platform==="win32";class DefaultGlobber{constructor(e){this.patterns=[];this.searchPaths=[];this.options=T.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,t,n,o;return c(this,void 0,void 0,(function*(){const i=[];try{for(var A=true,c=d(this.globGenerator()),p;p=yield c.next(),e=p.done,!e;A=true){o=p.value;A=false;const e=o;i.push(e)}}catch(e){t={error:e}}finally{try{if(!A&&!e&&(n=c.return))yield n.call(c)}finally{if(t)throw t.error}}return i}))}globGenerator(){return C(this,arguments,(function*globGenerator_1(){const e=T.getOptions(this.options);const t=[];for(const n of this.patterns){t.push(n);if(e.implicitDescendants&&(n.trailingSeparator||n.segments[n.segments.length-1]!=="**")){t.push(new ee.Pattern(n.negate,true,n.segments.concat("**")))}}const n=[];for(const e of V.getSearchPaths(t)){S.debug(`Search path '${e}'`);try{yield p(v.promises.lstat(e))}catch(e){if(e.code==="ENOENT"){continue}throw e}n.unshift(new te.SearchState(e,1))}const o=[];while(n.length){const i=n.pop();const A=V.match(t,i.path);const c=!!A||V.partialMatch(t,i.path);if(!A&&!c){continue}const d=yield p(DefaultGlobber.stat(i,e,o));if(!d){continue}if(e.excludeHiddenFiles&&_.basename(i.path).match(/^\./)){continue}if(d.isDirectory()){if(A&Z.MatchKind.Directory&&e.matchDirectories){yield yield p(i.path)}else if(!c){continue}const t=i.level+1;const o=(yield p(v.promises.readdir(i.path))).map((e=>new te.SearchState(_.join(i.path,e),t)));n.push(...o.reverse())}else if(A&Z.MatchKind.File){yield yield p(i.path)}}}))}static create(e,t){return c(this,void 0,void 0,(function*(){const n=new DefaultGlobber(t);if(re){e=e.replace(/\r\n/g,"\n");e=e.replace(/\r/g,"\n")}const o=e.split("\n").map((e=>e.trim()));for(const e of o){if(!e||e.startsWith("#")){continue}else{n.patterns.push(new ee.Pattern(e))}}n.searchPaths.push(...V.getSearchPaths(n.patterns));return n}))}static stat(e,t,n){return c(this,void 0,void 0,(function*(){let o;if(t.followSymbolicLinks){try{o=yield v.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(t.omitBrokenSymbolicLinks){S.debug(`Broken symlink '${e.path}'`);return undefined}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}}else{o=yield v.promises.lstat(e.path)}if(o.isDirectory()&&t.followSymbolicLinks){const t=yield v.promises.realpath(e.path);while(n.length>=e.level){n.pop()}if(n.some((e=>e===t))){S.debug(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return undefined}n.push(t)}return o}))}}t.DefaultGlobber=DefaultGlobber},73608:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};var d=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(o,i){n=e[t](n),settle(o,i,n.done,n.value)}))}}function settle(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}};Object.defineProperty(t,"__esModule",{value:true});t.hashFiles=void 0;const p=A(n(76982));const C=A(n(54270));const S=A(n(79896));const v=A(n(2203));const T=A(n(39023));const _=A(n(16928));function hashFiles(e,t,n=false){var o,i,A,V;var Z;return c(this,void 0,void 0,(function*(){const c=n?C.info:C.debug;let ee=false;const te=t?t:(Z=process.env["GITHUB_WORKSPACE"])!==null&&Z!==void 0?Z:process.cwd();const re=p.createHash("sha256");let ne=0;try{for(var oe=true,ie=d(e.globGenerator()),se;se=yield ie.next(),o=se.done,!o;oe=true){V=se.value;oe=false;const e=V;c(e);if(!e.startsWith(`${te}${_.sep}`)){c(`Ignore '${e}' since it is not under GITHUB_WORKSPACE.`);continue}if(S.statSync(e).isDirectory()){c(`Skip directory '${e}'.`);continue}const t=p.createHash("sha256");const n=T.promisify(v.pipeline);yield n(S.createReadStream(e),t);re.write(t.digest());ne++;if(!ee){ee=true}}}catch(e){i={error:e}}finally{try{if(!oe&&!o&&(A=ie.return))yield A.call(ie)}finally{if(i)throw i.error}}re.end();if(ee){c(`Found ${ne} files to hash.`);return re.digest("hex")}else{c(`No matches found for glob`);return""}}))}t.hashFiles=hashFiles},62644:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.MatchKind=void 0;var n;(function(e){e[e["None"]=0]="None";e[e["Directory"]=1]="Directory";e[e["File"]=2]="File";e[e["All"]=3]="All"})(n||(t.MatchKind=n={}))},84138:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.safeTrimTrailingSeparator=t.normalizeSeparators=t.hasRoot=t.hasAbsoluteRoot=t.ensureAbsoluteRoot=t.dirname=void 0;const d=A(n(16928));const p=c(n(42613));const C=process.platform==="win32";function dirname(e){e=safeTrimTrailingSeparator(e);if(C&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e)){return e}let t=d.dirname(e);if(C&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)){t=safeTrimTrailingSeparator(t)}return t}t.dirname=dirname;function ensureAbsoluteRoot(e,t){(0,p.default)(e,`ensureAbsoluteRoot parameter 'root' must not be empty`);(0,p.default)(t,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`);if(hasAbsoluteRoot(t)){return t}if(C){if(t.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let e=process.cwd();(0,p.default)(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);if(t[0].toUpperCase()===e[0].toUpperCase()){if(t.length===2){return`${t[0]}:\\${e.substr(3)}`}else{if(!e.endsWith("\\")){e+="\\"}return`${t[0]}:\\${e.substr(3)}${t.substr(2)}`}}else{return`${t[0]}:\\${t.substr(2)}`}}else if(normalizeSeparators(t).match(/^\\$|^\\[^\\]/)){const e=process.cwd();(0,p.default)(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);return`${e[0]}:\\${t.substr(1)}`}}(0,p.default)(hasAbsoluteRoot(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(e.endsWith("/")||C&&e.endsWith("\\")){}else{e+=d.sep}return e+t}t.ensureAbsoluteRoot=ensureAbsoluteRoot;function hasAbsoluteRoot(e){(0,p.default)(e,`hasAbsoluteRoot parameter 'itemPath' must not be empty`);e=normalizeSeparators(e);if(C){return e.startsWith("\\\\")||/^[A-Z]:\\/i.test(e)}return e.startsWith("/")}t.hasAbsoluteRoot=hasAbsoluteRoot;function hasRoot(e){(0,p.default)(e,`isRooted parameter 'itemPath' must not be empty`);e=normalizeSeparators(e);if(C){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.hasRoot=hasRoot;function normalizeSeparators(e){e=e||"";if(C){e=e.replace(/\//g,"\\");const t=/^\\\\+[^\\]/.test(e);return(t?"\\":"")+e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}t.normalizeSeparators=normalizeSeparators;function safeTrimTrailingSeparator(e){if(!e){return""}e=normalizeSeparators(e);if(!e.endsWith(d.sep)){return e}if(e===d.sep){return e}if(C&&/^[A-Z]:\\$/i.test(e)){return e}return e.substr(0,e.length-1)}t.safeTrimTrailingSeparator=safeTrimTrailingSeparator},76617:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Path=void 0;const d=A(n(16928));const p=A(n(84138));const C=c(n(42613));const S=process.platform==="win32";class Path{constructor(e){this.segments=[];if(typeof e==="string"){(0,C.default)(e,`Parameter 'itemPath' must not be empty`);e=p.safeTrimTrailingSeparator(e);if(!p.hasRoot(e)){this.segments=e.split(d.sep)}else{let t=e;let n=p.dirname(t);while(n!==t){const e=d.basename(t);this.segments.unshift(e);t=n;n=p.dirname(t)}this.segments.unshift(t)}}else{(0,C.default)(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;t!e.negate));const t={};for(const n of e){const e=p?n.searchPath.toUpperCase():n.searchPath;t[e]="candidate"}const n=[];for(const o of e){const e=p?o.searchPath.toUpperCase():o.searchPath;if(t[e]==="included"){continue}let i=false;let A=e;let d=c.dirname(A);while(d!==A){if(t[d]){i=true;break}A=d;d=c.dirname(A)}if(!i){n.push(o.searchPath);t[e]="included"}}return n}t.getSearchPaths=getSearchPaths;function match(e,t){let n=d.MatchKind.None;for(const o of e){if(o.negate){n&=~o.match(t)}else{n|=o.match(t)}}return n}t.match=match;function partialMatch(e,t){return e.some((e=>!e.negate&&e.partialMatch(t)))}t.partialMatch=partialMatch},25370:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Pattern=void 0;const d=A(n(70857));const p=A(n(16928));const C=A(n(84138));const S=c(n(42613));const v=n(43772);const T=n(62644);const _=n(76617);const V=process.platform==="win32";class Pattern{constructor(e,t=false,n,o){this.negate=false;let i;if(typeof e==="string"){i=e.trim()}else{n=n||[];(0,S.default)(n.length,`Parameter 'segments' must not empty`);const t=Pattern.getLiteral(n[0]);(0,S.default)(t&&C.hasAbsoluteRoot(t),`Parameter 'segments' first element must be a root path`);i=new _.Path(n).toString().trim();if(e){i=`!${i}`}}while(i.startsWith("!")){this.negate=!this.negate;i=i.substr(1).trim()}i=Pattern.fixupPattern(i,o);this.segments=new _.Path(i).segments;this.trailingSeparator=C.normalizeSeparators(i).endsWith(p.sep);i=C.safeTrimTrailingSeparator(i);let A=false;const c=this.segments.map((e=>Pattern.getLiteral(e))).filter((e=>!A&&!(A=e==="")));this.searchPath=new _.Path(c).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(c[0]),V?"i":"");this.isImplicitPattern=t;const d={dot:true,nobrace:true,nocase:V,nocomment:true,noext:true,nonegate:true};i=V?i.replace(/\\/g,"/"):i;this.minimatch=new v.Minimatch(i,d)}match(e){if(this.segments[this.segments.length-1]==="**"){e=C.normalizeSeparators(e);if(!e.endsWith(p.sep)&&this.isImplicitPattern===false){e=`${e}${p.sep}`}}else{e=C.safeTrimTrailingSeparator(e)}if(this.minimatch.match(e)){return this.trailingSeparator?T.MatchKind.Directory:T.MatchKind.All}return T.MatchKind.None}partialMatch(e){e=C.safeTrimTrailingSeparator(e);if(C.dirname(e)===e){return this.rootRegExp.test(e)}return this.minimatch.matchOne(e.split(V?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(e){return(V?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,t){(0,S.default)(e,"pattern cannot be empty");const n=new _.Path(e).segments.map((e=>Pattern.getLiteral(e)));(0,S.default)(n.every(((e,t)=>(e!=="."||t===0)&&e!=="..")),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`);(0,S.default)(!C.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`);e=C.normalizeSeparators(e);if(e==="."||e.startsWith(`.${p.sep}`)){e=Pattern.globEscape(process.cwd())+e.substr(1)}else if(e==="~"||e.startsWith(`~${p.sep}`)){t=t||d.homedir();(0,S.default)(t,"Unable to determine HOME directory");(0,S.default)(C.hasAbsoluteRoot(t),`Expected HOME directory to be a rooted path. Actual '${t}'`);e=Pattern.globEscape(t)+e.substr(1)}else if(V&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let t=C.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));if(e.length>2&&!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(2)}else if(V&&(e==="\\"||e.match(/^\\[^\\]/))){let t=C.ensureAbsoluteRoot("C:\\dummy-root","\\");if(!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(1)}else{e=C.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),e)}return C.normalizeSeparators(e)}static getLiteral(e){let t="";for(let n=0;n=0){if(o.length>1){return""}if(o){t+=o;n=i;continue}}}t+=o}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}}t.Pattern=Pattern},79890:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.SearchState=void 0;class SearchState{constructor(e,t){this.path=e;this.level=t}}t.SearchState=SearchState},76240:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const c=A(n(70857));const d=n(6804);function issueCommand(e,t,n){const o=new Command(e,t,n);process.stdout.write(o.toString()+c.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const p="::";class Command{constructor(e,t,n){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=n}toString(){let e=p+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const o=this.properties[n];if(o){if(t){t=false}else{e+=","}e+=`${n}=${escapeProperty(o)}`}}}}e+=`${p}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,d.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,d.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},54270:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.platform=t.toPlatformPath=t.toWin32Path=t.toPosixPath=t.markdownSummary=t.summary=t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const d=n(76240);const p=n(86359);const C=n(6804);const S=A(n(70857));const v=A(n(16928));const T=n(76228);var _;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(_||(t.ExitCode=_={}));function exportVariable(e,t){const n=(0,C.toCommandValue)(t);process.env[e]=n;const o=process.env["GITHUB_ENV"]||"";if(o){return(0,p.issueFileCommand)("ENV",(0,p.prepareKeyValueMessage)(e,t))}(0,d.issueCommand)("set-env",{name:e},n)}t.exportVariable=exportVariable;function setSecret(e){(0,d.issueCommand)("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){(0,p.issueFileCommand)("PATH",e)}else{(0,d.issueCommand)("add-path",{},e)}process.env["PATH"]=`${e}${v.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const n=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!n){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return n}return n.trim()}t.getInput=getInput;function getMultilineInput(e,t){const n=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return n}return n.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const n=["true","True","TRUE"];const o=["false","False","FALSE"];const i=getInput(e,t);if(n.includes(i))return true;if(o.includes(i))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const n=process.env["GITHUB_OUTPUT"]||"";if(n){return(0,p.issueFileCommand)("OUTPUT",(0,p.prepareKeyValueMessage)(e,t))}process.stdout.write(S.EOL);(0,d.issueCommand)("set-output",{name:e},(0,C.toCommandValue)(t))}t.setOutput=setOutput;function setCommandEcho(e){(0,d.issue)("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=_.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){(0,d.issueCommand)("debug",{},e)}t.debug=debug;function error(e,t={}){(0,d.issueCommand)("error",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){(0,d.issueCommand)("warning",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){(0,d.issueCommand)("notice",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+S.EOL)}t.info=info;function startGroup(e){(0,d.issue)("group",e)}t.startGroup=startGroup;function endGroup(){(0,d.issue)("endgroup")}t.endGroup=endGroup;function group(e,t){return c(this,void 0,void 0,(function*(){startGroup(e);let n;try{n=yield t()}finally{endGroup()}return n}))}t.group=group;function saveState(e,t){const n=process.env["GITHUB_STATE"]||"";if(n){return(0,p.issueFileCommand)("STATE",(0,p.prepareKeyValueMessage)(e,t))}(0,d.issueCommand)("save-state",{name:e},(0,C.toCommandValue)(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return c(this,void 0,void 0,(function*(){return yield T.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var V=n(3345);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return V.summary}});var Z=n(3345);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return Z.markdownSummary}});var ee=n(85642);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return ee.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return ee.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return ee.toPlatformPath}});t.platform=A(n(93458))},86359:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const c=A(n(76982));const d=A(n(79896));const p=A(n(70857));const C=n(6804);function issueFileCommand(e,t){const n=process.env[`GITHUB_${e}`];if(!n){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!d.existsSync(n)){throw new Error(`Missing file at path: ${n}`)}d.appendFileSync(n,`${(0,C.toCommandValue)(t)}${p.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const n=`ghadelimiter_${c.randomUUID()}`;const o=(0,C.toCommandValue)(t);if(e.includes(n)){throw new Error(`Unexpected input: name should not contain the delimiter "${n}"`)}if(o.includes(n)){throw new Error(`Unexpected input: value should not contain the delimiter "${n}"`)}return`${e}<<${n}${p.EOL}${o}${p.EOL}${n}`}t.prepareKeyValueMessage=prepareKeyValueMessage},76228:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const i=n(55074);const A=n(23950);const c=n(54270);class OidcClient{static createHttpClient(e=true,t=10){const n={allowRetries:e,maxRetries:t};return new i.HttpClient("actions/oidc-client",[new A.BearerCredentialHandler(OidcClient.getRequestToken())],n)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return o(this,void 0,void 0,(function*(){const n=OidcClient.createHttpClient();const o=yield n.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const i=(t=o.result)===null||t===void 0?void 0:t.value;if(!i){throw new Error("Response json body do not have ID Token field")}return i}))}static getIDToken(e){return o(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const n=encodeURIComponent(e);t=`${t}&audience=${n}`}(0,c.debug)(`ID token url is ${t}`);const n=yield OidcClient.getCall(t);(0,c.setSecret)(n);return n}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},85642:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const c=A(n(16928));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,c.sep)}t.toPlatformPath=toPlatformPath},93458:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getDetails=t.isLinux=t.isMacOS=t.isWindows=t.arch=t.platform=void 0;const p=d(n(70857));const C=A(n(50318));const getWindowsInfo=()=>c(void 0,void 0,void 0,(function*(){const{stdout:e}=yield C.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield C.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>c(void 0,void 0,void 0,(function*(){var e,t,n,o;const{stdout:i}=yield C.getExecOutput("sw_vers",undefined,{silent:true});const A=(t=(e=i.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const c=(o=(n=i.match(/ProductName:\s*(.+)/))===null||n===void 0?void 0:n[1])!==null&&o!==void 0?o:"";return{name:c,version:A}}));const getLinuxInfo=()=>c(void 0,void 0,void 0,(function*(){const{stdout:e}=yield C.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,n]=e.trim().split("\n");return{name:t,version:n}}));t.platform=p.default.platform();t.arch=p.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return c(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield t.isWindows?getWindowsInfo():t.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:t.platform,arch:t.arch,isWindows:t.isWindows,isMacOS:t.isMacOS,isLinux:t.isLinux})}))}t.getDetails=getDetails},3345:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const i=n(70857);const A=n(79896);const{access:c,appendFile:d,writeFile:p}=A.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return o(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield c(e,A.constants.R_OK|A.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,n={}){const o=Object.entries(n).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${o}>`}return`<${e}${o}>${t}`}write(e){return o(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const n=yield this.filePath();const o=t?p:d;yield o(n,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return o(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(i.EOL)}addCodeBlock(e,t){const n=Object.assign({},t&&{lang:t});const o=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(o).addEOL()}addList(e,t=false){const n=t?"ol":"ul";const o=e.map((e=>this.wrap("li",e))).join("");const i=this.wrap(n,o);return this.addRaw(i).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:n,colspan:o,rowspan:i}=e;const A=t?"th":"td";const c=Object.assign(Object.assign({},o&&{colspan:o}),i&&{rowspan:i});return this.wrap(A,n,c)})).join("");return this.wrap("tr",t)})).join("");const n=this.wrap("table",t);return this.addRaw(n).addEOL()}addDetails(e,t){const n=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(n).addEOL()}addImage(e,t,n){const{width:o,height:i}=n||{};const A=Object.assign(Object.assign({},o&&{width:o}),i&&{height:i});const c=this.wrap("img",null,Object.assign({src:e,alt:t},A));return this.addRaw(c).addEOL()}addHeading(e,t){const n=`h${t}`;const o=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1";const i=this.wrap(o,e);return this.addRaw(i).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const n=Object.assign({},t&&{cite:t});const o=this.wrap("blockquote",e,n);return this.addRaw(o).addEOL()}addLink(e,t){const n=this.wrap("a",e,{href:t});return this.addRaw(n).addEOL()}}const C=new Summary;t.markdownSummary=C;t.summary=C},6804:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},50318:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;Object.defineProperty(e,o,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const d=n(13193);const p=A(n(18311));function exec(e,t,n){return c(this,void 0,void 0,(function*(){const o=p.argStringToArray(e);if(o.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const i=o[0];t=o.slice(1).concat(t||[]);const A=new p.ToolRunner(i,t,n);return A.exec()}))}t.exec=exec;function getExecOutput(e,t,n){var o,i;return c(this,void 0,void 0,(function*(){let A="";let c="";const p=new d.StringDecoder("utf8");const C=new d.StringDecoder("utf8");const S=(o=n===null||n===void 0?void 0:n.listeners)===null||o===void 0?void 0:o.stdout;const v=(i=n===null||n===void 0?void 0:n.listeners)===null||i===void 0?void 0:i.stderr;const stdErrListener=e=>{c+=C.write(e);if(v){v(e)}};const stdOutListener=e=>{A+=p.write(e);if(S){S(e)}};const T=Object.assign(Object.assign({},n===null||n===void 0?void 0:n.listeners),{stdout:stdOutListener,stderr:stdErrListener});const _=yield exec(e,t,Object.assign(Object.assign({},n),{listeners:T}));A+=p.end();c+=C.end();return{exitCode:_,stdout:A,stderr:c}}))}t.getExecOutput=getExecOutput},18311:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;Object.defineProperty(e,o,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const d=A(n(70857));const p=A(n(24434));const C=A(n(35317));const S=A(n(16928));const v=A(n(96444));const T=A(n(61885));const _=n(53557);const V=process.platform==="win32";class ToolRunner extends p.EventEmitter{constructor(e,t,n){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=n||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const n=this._getSpawnFileName();const o=this._getSpawnArgs(e);let i=t?"":"[command]";if(V){if(this._isCmdFile()){i+=n;for(const e of o){i+=` ${e}`}}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(const e of o){i+=` ${e}`}}else{i+=this._windowsQuoteCmdArg(n);for(const e of o){i+=` ${this._windowsQuoteCmdArg(e)}`}}}else{i+=n;for(const e of o){i+=` ${e}`}}return i}_processLineBuffer(e,t,n){try{let o=t+e.toString();let i=o.indexOf(d.EOL);while(i>-1){const e=o.substring(0,i);n(e);o=o.substring(i+d.EOL.length);i=o.indexOf(d.EOL)}return o}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(V){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(V){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const n of this.args){t+=" ";t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let n=false;for(const o of e){if(t.some((e=>e===o))){n=true;break}}if(!n){return e}let o='"';let i=true;for(let t=e.length;t>0;t--){o+=e[t-1];if(i&&e[t-1]==="\\"){o+="\\"}else if(e[t-1]==='"'){i=true;o+='"'}else{i=false}}o+='"';return o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let n=true;for(let o=e.length;o>0;o--){t+=e[o-1];if(n&&e[o-1]==="\\"){t+="\\"}else if(e[o-1]==='"'){n=true;t+="\\"}else{n=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const n={};n.cwd=e.cwd;n.env=e.env;n["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){n.argv0=`"${t}"`}return n}exec(){return c(this,void 0,void 0,(function*(){if(!T.isRooted(this.toolPath)&&(this.toolPath.includes("/")||V&&this.toolPath.includes("\\"))){this.toolPath=S.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield v.which(this.toolPath,true);return new Promise(((e,t)=>c(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const n=this._cloneExecOptions(this.options);if(!n.silent&&n.outStream){n.outStream.write(this._getCommandString(n)+d.EOL)}const o=new ExecState(n,this.toolPath);o.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield T.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const i=this._getSpawnFileName();const A=C.spawn(i,this._getSpawnArgs(n),this._getSpawnOptions(this.options,i));let c="";if(A.stdout){A.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!n.silent&&n.outStream){n.outStream.write(e)}c=this._processLineBuffer(e,c,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let p="";if(A.stderr){A.stderr.on("data",(e=>{o.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!n.silent&&n.errStream&&n.outStream){const t=n.failOnStdErr?n.errStream:n.outStream;t.write(e)}p=this._processLineBuffer(e,p,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}A.on("error",(e=>{o.processError=e.message;o.processExited=true;o.processClosed=true;o.CheckComplete()}));A.on("exit",(e=>{o.processExitCode=e;o.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);o.CheckComplete()}));A.on("close",(e=>{o.processExitCode=e;o.processExited=true;o.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);o.CheckComplete()}));o.on("done",((n,o)=>{if(c.length>0){this.emit("stdline",c)}if(p.length>0){this.emit("errline",p)}A.removeAllListeners();if(n){t(n)}else{e(o)}}));if(this.options.input){if(!A.stdin){throw new Error("child process missing stdin")}A.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let n=false;let o=false;let i="";function append(e){if(o&&e!=='"'){i+="\\"}i+=e;o=false}for(let A=0;A0){t.push(i);i=""}continue}append(c)}if(i.length>0){t.push(i.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends p.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=_.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},23950:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},55074:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const d=A(n(58611));const p=A(n(65692));const C=A(n(35486));const S=A(n(20770));const v=n(46752);var T;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(T||(t.HttpCodes=T={}));var _;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(_||(t.Headers=_={}));var V;(function(e){e["ApplicationJson"]="application/json"})(V||(t.MediaTypes=V={}));function getProxyUrl(e){const t=C.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const Z=[T.MovedPermanently,T.ResourceMoved,T.SeeOther,T.TemporaryRedirect,T.PermanentRedirect];const ee=[T.BadGateway,T.ServiceUnavailable,T.GatewayTimeout];const te=["OPTIONS","GET","DELETE","HEAD"];const re=10;const ne=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return c(this,void 0,void 0,(function*(){return new Promise((e=>c(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return c(this,void 0,void 0,(function*(){return new Promise((e=>c(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,n){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=n;if(n){if(n.ignoreSslError!=null){this._ignoreSslError=n.ignoreSslError}this._socketTimeout=n.socketTimeout;if(n.allowRedirects!=null){this._allowRedirects=n.allowRedirects}if(n.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=n.allowRedirectDowngrade}if(n.maxRedirects!=null){this._maxRedirects=Math.max(n.maxRedirects,0)}if(n.keepAlive!=null){this._keepAlive=n.keepAlive}if(n.allowRetries!=null){this._allowRetries=n.allowRetries}if(n.maxRetries!=null){this._maxRetries=n.maxRetries}}}options(e,t){return c(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return c(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return c(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("POST",e,t,n||{})}))}patch(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,n||{})}))}put(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("PUT",e,t,n||{})}))}head(e,t){return c(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,n,o){return c(this,void 0,void 0,(function*(){return this.request(e,t,n,o)}))}getJson(e,t={}){return c(this,void 0,void 0,(function*(){t[_.Accept]=this._getExistingOrDefaultHeader(t,_.Accept,V.ApplicationJson);const n=yield this.get(e,t);return this._processResponse(n,this.requestOptions)}))}postJson(e,t,n={}){return c(this,void 0,void 0,(function*(){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,V.ApplicationJson);const i=yield this.post(e,o,n);return this._processResponse(i,this.requestOptions)}))}putJson(e,t,n={}){return c(this,void 0,void 0,(function*(){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,V.ApplicationJson);const i=yield this.put(e,o,n);return this._processResponse(i,this.requestOptions)}))}patchJson(e,t,n={}){return c(this,void 0,void 0,(function*(){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,V.ApplicationJson);const i=yield this.patch(e,o,n);return this._processResponse(i,this.requestOptions)}))}request(e,t,n,o){return c(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const i=new URL(t);let A=this._prepareRequest(e,i,o);const c=this._allowRetries&&te.includes(e)?this._maxRetries+1:1;let d=0;let p;do{p=yield this.requestRaw(A,n);if(p&&p.message&&p.message.statusCode===T.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(p)){e=t;break}}if(e){return e.handleAuthentication(this,A,n)}else{return p}}let t=this._maxRedirects;while(p.message.statusCode&&Z.includes(p.message.statusCode)&&this._allowRedirects&&t>0){const c=p.message.headers["location"];if(!c){break}const d=new URL(c);if(i.protocol==="https:"&&i.protocol!==d.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield p.readBody();if(d.hostname!==i.hostname){for(const e in o){if(e.toLowerCase()==="authorization"){delete o[e]}}}A=this._prepareRequest(e,d,o);p=yield this.requestRaw(A,n);t--}if(!p.message.statusCode||!ee.includes(p.message.statusCode)){return p}d+=1;if(d{function callbackForResult(e,t){if(e){o(e)}else if(!t){o(new Error("Unknown error"))}else{n(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,n){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let o=false;function handleResult(e,t){if(!o){o=true;n(e,t)}}const i=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let A;i.on("socket",(e=>{A=e}));i.setTimeout(this._socketTimeout||3*6e4,(()=>{if(A){A.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));i.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){i.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){i.end()}));t.pipe(i)}else{i.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const n=C.getProxyUrl(t);const o=n&&n.hostname;if(!o){return}return this._getProxyAgentDispatcher(t,n)}_prepareRequest(e,t,n){const o={};o.parsedUrl=t;const i=o.parsedUrl.protocol==="https:";o.httpModule=i?p:d;const A=i?443:80;o.options={};o.options.host=o.parsedUrl.hostname;o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):A;o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||"");o.options.method=e;o.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){o.options.headers["user-agent"]=this.userAgent}o.options.agent=this._getAgent(o.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(o.options)}}return o}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,n){let o;if(this.requestOptions&&this.requestOptions.headers){o=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||o||n}_getAgent(e){let t;const n=C.getProxyUrl(e);const o=n&&n.hostname;if(this._keepAlive&&o){t=this._proxyAgent}if(!o){t=this._agent}if(t){return t}const i=e.protocol==="https:";let A=100;if(this.requestOptions){A=this.requestOptions.maxSockets||d.globalAgent.maxSockets}if(n&&n.hostname){const e={maxSockets:A,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})};let o;const c=n.protocol==="https:";if(i){o=c?S.httpsOverHttps:S.httpsOverHttp}else{o=c?S.httpOverHttps:S.httpOverHttp}t=o(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:A};t=i?new p.Agent(e):new d.Agent(e);this._agent=t}if(i&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let n;if(this._keepAlive){n=this._proxyAgentDispatcher}if(n){return n}const o=e.protocol==="https:";n=new v.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=n;if(o&&this._ignoreSslError){n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:false})}return n}_performExponentialBackoff(e){return c(this,void 0,void 0,(function*(){e=Math.min(re,e);const t=ne*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return c(this,void 0,void 0,(function*(){return new Promise(((n,o)=>c(this,void 0,void 0,(function*(){const i=e.message.statusCode||0;const A={statusCode:i,result:null,headers:{}};if(i===T.NotFound){n(A)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let c;let d;try{d=yield e.readBody();if(d&&d.length>0){if(t&&t.deserializeDates){c=JSON.parse(d,dateTimeDeserializer)}else{c=JSON.parse(d)}A.result=c}A.headers=e.message.headers}catch(e){}if(i>299){let e;if(c&&c.message){e=c.message}else if(d&&d.length>0){e=d}else{e=`Failed request: (${i})`}const t=new HttpClientError(e,i);t.result=A.result;o(t)}else{n(A)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,n)=>(t[n.toLowerCase()]=e[n],t)),{})},35486:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkBypass=t.getProxyUrl=void 0;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const n=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(n){try{return new DecodedURL(n)}catch(e){if(!n.startsWith("http://")&&!n.startsWith("https://"))return new DecodedURL(`http://${n}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const n=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!n){return false}let o;if(e.port){o=Number(e.port)}else if(e.protocol==="http:"){o=80}else if(e.protocol==="https:"){o=443}const i=[e.hostname.toUpperCase()];if(typeof o==="number"){i.push(`${i[0]}:${o}`)}for(const e of n.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||i.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}t.checkBypass=checkBypass;function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},61885:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;Object.defineProperty(e,o,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};var d;Object.defineProperty(t,"__esModule",{value:true});t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.READONLY=t.UV_FS_O_EXLOCK=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rm=t.rename=t.readlink=t.readdir=t.open=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const p=A(n(79896));const C=A(n(16928));d=p.promises,t.chmod=d.chmod,t.copyFile=d.copyFile,t.lstat=d.lstat,t.mkdir=d.mkdir,t.open=d.open,t.readdir=d.readdir,t.readlink=d.readlink,t.rename=d.rename,t.rm=d.rm,t.rmdir=d.rmdir,t.stat=d.stat,t.symlink=d.symlink,t.unlink=d.unlink;t.IS_WINDOWS=process.platform==="win32";t.UV_FS_O_EXLOCK=268435456;t.READONLY=p.constants.O_RDONLY;function exists(e){return c(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}t.exists=exists;function isDirectory(e,n=false){return c(this,void 0,void 0,(function*(){const o=n?yield t.stat(e):yield t.lstat(e);return o.isDirectory()}))}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function tryGetExecutablePath(e,n){return c(this,void 0,void 0,(function*(){let o=undefined;try{o=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(o&&o.isFile()){if(t.IS_WINDOWS){const t=C.extname(e).toUpperCase();if(n.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(o)){return e}}}const i=e;for(const A of n){e=i+A;o=undefined;try{o=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(o&&o.isFile()){if(t.IS_WINDOWS){try{const n=C.dirname(e);const o=C.basename(e).toUpperCase();for(const i of yield t.readdir(n)){if(o===i.toUpperCase()){e=C.join(n,i);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(o)){return e}}}}return""}))}t.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}t.getCmdPath=getCmdPath},96444:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;Object.defineProperty(e,o,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const d=n(42613);const p=A(n(16928));const C=A(n(61885));function cp(e,t,n={}){return c(this,void 0,void 0,(function*(){const{force:o,recursive:i,copySourceDirectory:A}=readCopyOptions(n);const c=(yield C.exists(t))?yield C.stat(t):null;if(c&&c.isFile()&&!o){return}const d=c&&c.isDirectory()&&A?p.join(t,p.basename(e)):t;if(!(yield C.exists(e))){throw new Error(`no such file or directory: ${e}`)}const S=yield C.stat(e);if(S.isDirectory()){if(!i){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,d,0,o)}}else{if(p.relative(e,d)===""){throw new Error(`'${d}' and '${e}' are the same file`)}yield copyFile(e,d,o)}}))}t.cp=cp;function mv(e,t,n={}){return c(this,void 0,void 0,(function*(){if(yield C.exists(t)){let o=true;if(yield C.isDirectory(t)){t=p.join(t,p.basename(e));o=yield C.exists(t)}if(o){if(n.force==null||n.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(p.dirname(t));yield C.rename(e,t)}))}t.mv=mv;function rmRF(e){return c(this,void 0,void 0,(function*(){if(C.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield C.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}t.rmRF=rmRF;function mkdirP(e){return c(this,void 0,void 0,(function*(){d.ok(e,"a path argument must be provided");yield C.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(C.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const n=yield findInPath(e);if(n&&n.length>0){return n[0]}return""}))}t.which=which;function findInPath(e){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(C.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(p.delimiter)){if(e){t.push(e)}}}if(C.isRooted(e)){const n=yield C.tryGetExecutablePath(e,t);if(n){return[n]}return[]}if(e.includes(p.sep)){return[]}const n=[];if(process.env.PATH){for(const e of process.env.PATH.split(p.delimiter)){if(e){n.push(e)}}}const o=[];for(const i of n){const n=yield C.tryGetExecutablePath(p.join(i,e),t);if(n){o.push(n)}}return o}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const n=Boolean(e.recursive);const o=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:n,copySourceDirectory:o}}function cpDirRecursive(e,t,n,o){return c(this,void 0,void 0,(function*(){if(n>=255)return;n++;yield mkdirP(t);const i=yield C.readdir(e);for(const A of i){const i=`${e}/${A}`;const c=`${t}/${A}`;const d=yield C.lstat(i);if(d.isDirectory()){yield cpDirRecursive(i,c,n,o)}else{yield copyFile(i,c,o)}}yield C.chmod(t,(yield C.stat(e)).mode)}))}function copyFile(e,t,n){return c(this,void 0,void 0,(function*(){if((yield C.lstat(e)).isSymbolicLink()){try{yield C.lstat(t);yield C.unlink(t)}catch(e){if(e.code==="EPERM"){yield C.chmod(t,"0666");yield C.unlink(t)}}const n=yield C.readlink(e);yield C.symlink(n,t,C.IS_WINDOWS?"junction":null)}else if(!(yield C.exists(t))||n){yield C.copyFile(e,t)}}))}},44552:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},54844:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ac(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return c(this,void 0,void 0,(function*(){return new Promise((e=>c(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}class HttpClient{constructor(e,t,n){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=this._getUserAgentWithOrchestrationId(e);this.handlers=t||[];this.requestOptions=n;if(n){if(n.ignoreSslError!=null){this._ignoreSslError=n.ignoreSslError}this._socketTimeout=n.socketTimeout;if(n.allowRedirects!=null){this._allowRedirects=n.allowRedirects}if(n.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=n.allowRedirectDowngrade}if(n.maxRedirects!=null){this._maxRedirects=Math.max(n.maxRedirects,0)}if(n.keepAlive!=null){this._keepAlive=n.keepAlive}if(n.allowRetries!=null){this._allowRetries=n.allowRetries}if(n.maxRetries!=null){this._maxRetries=n.maxRetries}}}options(e,t){return c(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return c(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return c(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("POST",e,t,n||{})}))}patch(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,n||{})}))}put(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("PUT",e,t,n||{})}))}head(e,t){return c(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,n,o){return c(this,void 0,void 0,(function*(){return this.request(e,t,n,o)}))}getJson(e){return c(this,arguments,void 0,(function*(e,t={}){t[_.Accept]=this._getExistingOrDefaultHeader(t,_.Accept,V.ApplicationJson);const n=yield this.get(e,t);return this._processResponse(n,this.requestOptions)}))}postJson(e,t){return c(this,arguments,void 0,(function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,V.ApplicationJson);const i=yield this.post(e,o,n);return this._processResponse(i,this.requestOptions)}))}putJson(e,t){return c(this,arguments,void 0,(function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,V.ApplicationJson);const i=yield this.put(e,o,n);return this._processResponse(i,this.requestOptions)}))}patchJson(e,t){return c(this,arguments,void 0,(function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,V.ApplicationJson);const i=yield this.patch(e,o,n);return this._processResponse(i,this.requestOptions)}))}request(e,t,n,o){return c(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const i=new URL(t);let A=this._prepareRequest(e,i,o);const c=this._allowRetries&&te.includes(e)?this._maxRetries+1:1;let d=0;let p;do{p=yield this.requestRaw(A,n);if(p&&p.message&&p.message.statusCode===T.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(p)){e=t;break}}if(e){return e.handleAuthentication(this,A,n)}else{return p}}let t=this._maxRedirects;while(p.message.statusCode&&Z.includes(p.message.statusCode)&&this._allowRedirects&&t>0){const c=p.message.headers["location"];if(!c){break}const d=new URL(c);if(i.protocol==="https:"&&i.protocol!==d.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield p.readBody();if(d.hostname!==i.hostname){for(const e in o){if(e.toLowerCase()==="authorization"){delete o[e]}}}A=this._prepareRequest(e,d,o);p=yield this.requestRaw(A,n);t--}if(!p.message.statusCode||!ee.includes(p.message.statusCode)){return p}d+=1;if(d{function callbackForResult(e,t){if(e){o(e)}else if(!t){o(new Error("Unknown error"))}else{n(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,n){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let o=false;function handleResult(e,t){if(!o){o=true;n(e,t)}}const i=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let A;i.on("socket",(e=>{A=e}));i.setTimeout(this._socketTimeout||3*6e4,(()=>{if(A){A.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));i.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){i.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){i.end()}));t.pipe(i)}else{i.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const n=C.getProxyUrl(t);const o=n&&n.hostname;if(!o){return}return this._getProxyAgentDispatcher(t,n)}_prepareRequest(e,t,n){const o={};o.parsedUrl=t;const i=o.parsedUrl.protocol==="https:";o.httpModule=i?p:d;const A=i?443:80;o.options={};o.options.host=o.parsedUrl.hostname;o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):A;o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||"");o.options.method=e;o.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){o.options.headers["user-agent"]=this.userAgent}o.options.agent=this._getAgent(o.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(o.options)}}return o}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,n){let o;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[t];if(e){o=typeof e==="number"?e.toString():e}}const i=e[t];if(i!==undefined){return typeof i==="number"?i.toString():i}if(o!==undefined){return o}return n}_getExistingOrDefaultContentTypeHeader(e,t){let n;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[_.ContentType];if(e){if(typeof e==="number"){n=String(e)}else if(Array.isArray(e)){n=e.join(", ")}else{n=e}}}const o=e[_.ContentType];if(o!==undefined){if(typeof o==="number"){return String(o)}else if(Array.isArray(o)){return o.join(", ")}else{return o}}if(n!==undefined){return n}return t}_getAgent(e){let t;const n=C.getProxyUrl(e);const o=n&&n.hostname;if(this._keepAlive&&o){t=this._proxyAgent}if(!o){t=this._agent}if(t){return t}const i=e.protocol==="https:";let A=100;if(this.requestOptions){A=this.requestOptions.maxSockets||d.globalAgent.maxSockets}if(n&&n.hostname){const e={maxSockets:A,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})};let o;const c=n.protocol==="https:";if(i){o=c?S.httpsOverHttps:S.httpsOverHttp}else{o=c?S.httpOverHttps:S.httpOverHttp}t=o(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:A};t=i?new p.Agent(e):new d.Agent(e);this._agent=t}if(i&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let n;if(this._keepAlive){n=this._proxyAgentDispatcher}if(n){return n}const o=e.protocol==="https:";n=new v.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=n;if(o&&this._ignoreSslError){n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:false})}return n}_getUserAgentWithOrchestrationId(e){const t=e||"actions/http-client";const n=process.env["ACTIONS_ORCHESTRATION_ID"];if(n){const e=n.replace(/[^a-z0-9_.-]/gi,"_");return`${t} actions_orchestration_id/${e}`}return t}_performExponentialBackoff(e){return c(this,void 0,void 0,(function*(){e=Math.min(re,e);const t=ne*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return c(this,void 0,void 0,(function*(){return new Promise(((n,o)=>c(this,void 0,void 0,(function*(){const i=e.message.statusCode||0;const A={statusCode:i,result:null,headers:{}};if(i===T.NotFound){n(A)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let c;let d;try{d=yield e.readBody();if(d&&d.length>0){if(t&&t.deserializeDates){c=JSON.parse(d,dateTimeDeserializer)}else{c=JSON.parse(d)}A.result=c}A.headers=e.message.headers}catch(e){}if(i>299){let e;if(c&&c.message){e=c.message}else if(d&&d.length>0){e=d}else{e=`Failed request: (${i})`}const t=new HttpClientError(e,i);t.result=A.result;o(t)}else{n(A)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,n)=>(t[n.toLowerCase()]=e[n],t)),{})},54988:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getProxyUrl=getProxyUrl;t.checkBypass=checkBypass;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const n=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(n){try{return new DecodedURL(n)}catch(e){if(!n.startsWith("http://")&&!n.startsWith("https://"))return new DecodedURL(`http://${n}`)}}else{return undefined}}function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const n=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!n){return false}let o;if(e.port){o=Number(e.port)}else if(e.protocol==="http:"){o=80}else if(e.protocol==="https:"){o=443}const i=[e.hostname.toUpperCase()];if(typeof o==="number"){i.push(`${i[0]}:${o}`)}for(const e of n.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||i.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},75207:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ae.toUpperCase()===t))){return e}}else{if(isUnixExecutable(o)){return e}}}const i=e;for(const A of n){e=i+A;o=undefined;try{o=yield(0,t.stat)(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(o&&o.isFile()){if(t.IS_WINDOWS){try{const n=C.dirname(e);const o=C.basename(e).toUpperCase();for(const i of yield(0,t.readdir)(n)){if(o===i.toUpperCase()){e=C.join(n,i);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(o)){return e}}}}return""}))}function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==undefined&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==undefined&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}},94994:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield C.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}function mkdirP(e){return c(this,void 0,void 0,(function*(){(0,d.ok)(e,"a path argument must be provided");yield C.mkdir(e,{recursive:true})}))}function which(e,t){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(C.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const n=yield findInPath(e);if(n&&n.length>0){return n[0]}return""}))}function findInPath(e){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(C.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(p.delimiter)){if(e){t.push(e)}}}if(C.isRooted(e)){const n=yield C.tryGetExecutablePath(e,t);if(n){return[n]}return[]}if(e.includes(p.sep)){return[]}const n=[];if(process.env.PATH){for(const e of process.env.PATH.split(p.delimiter)){if(e){n.push(e)}}}const o=[];for(const i of n){const n=yield C.tryGetExecutablePath(p.join(i,e),t);if(n){o.push(n)}}return o}))}function readCopyOptions(e){const t=e.force==null?true:e.force;const n=Boolean(e.recursive);const o=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:n,copySourceDirectory:o}}function cpDirRecursive(e,t,n,o){return c(this,void 0,void 0,(function*(){if(n>=255)return;n++;yield mkdirP(t);const i=yield C.readdir(e);for(const A of i){const i=`${e}/${A}`;const c=`${t}/${A}`;const d=yield C.lstat(i);if(d.isDirectory()){yield cpDirRecursive(i,c,n,o)}else{yield copyFile(i,c,o)}}yield C.chmod(t,(yield C.stat(e)).mode)}))}function copyFile(e,t,n){return c(this,void 0,void 0,(function*(){if((yield C.lstat(e)).isSymbolicLink()){try{yield C.lstat(t);yield C.unlink(t)}catch(e){if(e.code==="EPERM"){yield C.chmod(t,"0666");yield C.unlink(t)}}const n=yield C.readlink(e);yield C.symlink(n,t,C.IS_WINDOWS?"junction":null)}else if(!(yield C.exists(t))||n){yield C.copyFile(e,t)}}))}},58036:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{(0,p.debug)(`${t.arch}===${i} && ${t.platform}===${A}`);let n=t.arch===i&&t.platform===A;if(n&&t.platform_version){const o=e.exports._getOsVersion();if(o===t.platform_version){n=true}else{n=d.satisfies(o,t.platform_version)}}return n}));if(v){(0,p.debug)(`matched ${c.version}`);S=c;break}}}if(S&&v){c=Object.assign({},S);c.files=[v]}return c}))}function _getOsVersion(){const t=C.platform();let n="";if(t==="darwin"){n=S.execSync("sw_vers -productVersion").toString()}else if(t==="linux"){const t=e.exports._readLinuxVersionFile();if(t){const e=t.split("\n");for(const t of e){const e=t.split("=");if(e.length===2&&(e[0].trim()==="VERSION_ID"||e[0].trim()==="DISTRIB_RELEASE")){n=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return n}function _readLinuxVersionFile(){const e="/etc/lsb-release";const t="/etc/os-release";let n="";if(v.existsSync(e)){n=v.readFileSync(e).toString()}else if(v.existsSync(t)){n=v.readFileSync(t).toString()}return n}},67380:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Athis.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(e,t){return c(this,void 0,void 0,(function*(){let n=1;while(nsetTimeout(t,e*1e3)))}))}}t.RetryHelper=RetryHelper},33472:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ac(this,void 0,void 0,(function*(){return yield downloadToolAttempt(e,t||"",n,o)}))),(e=>{if(e instanceof HTTPError&&e.httpStatusCode){if(e.httpStatusCode<500&&e.httpStatusCode!==408&&e.httpStatusCode!==429){return false}}return true}))}))}function downloadToolAttempt(e,t,n,o){return c(this,void 0,void 0,(function*(){if(S.existsSync(t)){throw new Error(`Destination file path ${t} already exists`)}const i=new V.HttpClient(ae,[],{allowRetries:false});if(n){d.debug("set auth");if(o===undefined){o={}}o.authorization=n}const A=yield i.get(e,o);if(A.message.statusCode!==200){const t=new HTTPError(A.message.statusCode);d.debug(`Failed to download from "${e}". Code(${A.message.statusCode}) Message(${A.message.statusMessage})`);throw t}const c=te.promisify(ee.pipeline);const C=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>A.message));const v=C();let T=false;try{yield c(v,S.createWriteStream(t));d.debug("download complete");T=true;return t}finally{if(!T){d.debug("download failed");try{yield p.rmRF(t)}catch(e){d.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}function extract7z(e,t,n){return c(this,void 0,void 0,(function*(){(0,re.ok)(ie,"extract7z() not supported on current OS");(0,re.ok)(e,'parameter "file" is required');t=yield _createExtractFolder(t);const o=process.cwd();process.chdir(t);if(n){try{const t=d.isDebug()?"-bb1":"-bb0";const o=["x",t,"-bd","-sccUTF-8",e];const i={silent:true};yield(0,ne.exec)(`"${n}"`,o,i)}finally{process.chdir(o)}}else{const n=_.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const i=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const A=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const c=`& '${n}' -Source '${i}' -Target '${A}'`;const d=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",c];const C={silent:true};try{const e=yield p.which("powershell",true);yield(0,ne.exec)(`"${e}"`,d,C)}finally{process.chdir(o)}}return t}))}function extractTar(e,t){return c(this,arguments,void 0,(function*(e,t,n="xz"){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);d.debug("Checking tar --version");let o="";yield(0,ne.exec)("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>o+=e.toString(),stderr:e=>o+=e.toString()}});d.debug(o.trim());const i=o.toUpperCase().includes("GNU TAR");let A;if(n instanceof Array){A=n}else{A=[n]}if(d.isDebug()&&!n.includes("v")){A.push("-v")}let c=t;let p=e;if(ie&&i){A.push("--force-local");c=t.replace(/\\/g,"/");p=e.replace(/\\/g,"/")}if(i){A.push("--warning=no-unknown-keyword");A.push("--overwrite")}A.push("-C",c,"-f",p);yield(0,ne.exec)(`tar`,A);return t}))}function extractXar(e,t){return c(this,arguments,void 0,(function*(e,t,n=[]){(0,re.ok)(se,"extractXar() not supported on current OS");(0,re.ok)(e,'parameter "file" is required');t=yield _createExtractFolder(t);let o;if(n instanceof Array){o=n}else{o=[n]}o.push("-x","-C",t,"-f",e);if(d.isDebug()){o.push("-v")}const i=yield p.which("xar",true);yield(0,ne.exec)(`"${i}"`,_unique(o));return t}))}function extractZip(e,t){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);if(ie){yield extractZipWin(e,t)}else{yield extractZipNix(e,t)}return t}))}function extractZipWin(e,t){return c(this,void 0,void 0,(function*(){const n=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const o=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const i=yield p.which("pwsh",false);if(i){const e=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${n}', '${o}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${n}' -DestinationPath '${o}' -Force } else { throw $_ } } ;`].join(" ");const t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];d.debug(`Using pwsh at path: ${i}`);yield(0,ne.exec)(`"${i}"`,t)}else{const e=[`$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 '${n}' -DestinationPath '${o}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${n}', '${o}', $true) }`].join(" ");const t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];const i=yield p.which("powershell",true);d.debug(`Using powershell at path: ${i}`);yield(0,ne.exec)(`"${i}"`,t)}}))}function extractZipNix(e,t){return c(this,void 0,void 0,(function*(){const n=yield p.which("unzip",true);const o=[e];if(!d.isDebug()){o.unshift("-q")}o.unshift("-o");yield(0,ne.exec)(`"${n}"`,o,{cwd:t})}))}function cacheDir(e,t,n,o){return c(this,void 0,void 0,(function*(){n=Z.clean(n)||n;o=o||T.arch();d.debug(`Caching tool ${t} ${n} ${o}`);d.debug(`source dir: ${e}`);if(!S.statSync(e).isDirectory()){throw new Error("sourceDir is not a directory")}const i=yield _createToolPath(t,n,o);for(const t of S.readdirSync(e)){const n=_.join(e,t);yield p.cp(n,i,{recursive:true})}_completeToolPath(t,n,o);return i}))}function cacheFile(e,t,n,o,i){return c(this,void 0,void 0,(function*(){o=Z.clean(o)||o;i=i||T.arch();d.debug(`Caching tool ${n} ${o} ${i}`);d.debug(`source file: ${e}`);if(!S.statSync(e).isFile()){throw new Error("sourceFile is not a file")}const A=yield _createToolPath(n,o,i);const c=_.join(A,t);d.debug(`destination file ${c}`);yield p.cp(e,c);_completeToolPath(n,o,i);return A}))}function find(e,t,n){if(!e){throw new Error("toolName parameter is required")}if(!t){throw new Error("versionSpec parameter is required")}n=n||T.arch();if(!isExplicitVersion(t)){const o=findAllVersions(e,n);const i=evaluateVersions(o,t);t=i}let o="";if(t){t=Z.clean(t)||"";const i=_.join(_getCacheDirectory(),e,t,n);d.debug(`checking cache: ${i}`);if(S.existsSync(i)&&S.existsSync(`${i}.complete`)){d.debug(`Found tool in cache ${e} ${t} ${n}`);o=i}else{d.debug("not found")}}return o}function findAllVersions(e,t){const n=[];t=t||T.arch();const o=_.join(_getCacheDirectory(),e);if(S.existsSync(o)){const e=S.readdirSync(o);for(const i of e){if(isExplicitVersion(i)){const e=_.join(o,i,t||"");if(S.existsSync(e)&&S.existsSync(`${e}.complete`)){n.push(i)}}}}return n}function getManifestFromRepo(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o="master"){let i=[];const A=`https://api.github.com/repos/${e}/${t}/git/trees/${o}`;const c=new V.HttpClient("tool-cache");const p={};if(n){d.debug("set auth");p.authorization=n}const C=yield c.getJson(A,p);if(!C.result){return i}let S="";for(const e of C.result.tree){if(e.path==="versions-manifest.json"){S=e.url;break}}p["accept"]="application/vnd.github.VERSION.raw";let v=yield(yield c.get(S,p)).readBody();if(v){v=v.replace(/^\uFEFF/,"");try{i=JSON.parse(v)}catch(e){d.debug("Invalid json")}}return i}))}function findFromManifest(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=T.arch()){const i=yield v._findMatch(e,t,n,o);return i}))}function _createExtractFolder(e){return c(this,void 0,void 0,(function*(){if(!e){e=_.join(_getTempDirectory(),C.randomUUID())}yield p.mkdirP(e);return e}))}function _createToolPath(e,t,n){return c(this,void 0,void 0,(function*(){const o=_.join(_getCacheDirectory(),e,Z.clean(t)||t,n||"");d.debug(`destination ${o}`);const i=`${o}.complete`;yield p.rmRF(o);yield p.rmRF(i);yield p.mkdirP(o);return o}))}function _completeToolPath(e,t,n){const o=_.join(_getCacheDirectory(),e,Z.clean(t)||t,n||"");const i=`${o}.complete`;S.writeFileSync(i,"");d.debug("finished caching tool")}function isExplicitVersion(e){const t=Z.clean(e)||"";d.debug(`isExplicit: ${t}`);const n=Z.valid(t)!=null;d.debug(`explicit? ${n}`);return n}function evaluateVersions(e,t){let n="";d.debug(`evaluating ${e.length} versions`);e=e.sort(((e,t)=>{if(Z.gt(e,t)){return 1}return-1}));for(let o=e.length-1;o>=0;o--){const i=e[o];const A=Z.satisfies(i,t);if(A){n=i;break}}if(n){d.debug(`matched: ${n}`)}else{d.debug("match not found")}return n}function _getCacheDirectory(){const e=process.env["RUNNER_TOOL_CACHE"]||"";(0,re.ok)(e,"Expected RUNNER_TOOL_CACHE to be defined");return e}function _getTempDirectory(){const e=process.env["RUNNER_TEMP"]||"";(0,re.ok)(e,"Expected RUNNER_TEMP to be defined");return e}function _getGlobal(e,t){const n=global[e];return n!==undefined?n:t}function _unique(e){return Array.from(new Set(e))}},68110:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});const n=new WeakMap;const o=new WeakMap;class AbortSignal{constructor(){this.onabort=null;n.set(this,[]);o.set(this,false)}get aborted(){if(!o.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return o.get(this)}static get none(){return new AbortSignal}addEventListener(e,t){if(!n.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const o=n.get(this);o.push(t)}removeEventListener(e,t){if(!n.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const o=n.get(this);const i=o.indexOf(t);if(i>-1){o.splice(i,1)}}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(e){if(e.aborted){return}if(e.onabort){e.onabort.call(e)}const t=n.get(e);if(t){t.slice().forEach((t=>{t.call(e,{type:"abort"})}))}o.set(e,true)}class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}class AbortController{constructor(e){this._signal=new AbortSignal;if(!e){return}if(!Array.isArray(e)){e=arguments}for(const t of e){if(t.aborted){this.abort()}else{t.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(e){const t=new AbortSignal;const n=setTimeout(abortSignal,e,t);if(typeof n.unref==="function"){n.unref()}return t}}t.AbortController=AbortController;t.AbortError=AbortError;t.AbortSignal=AbortSignal},11715:(e,t,n)=>{const o=n(57075).Writable;const i=n(57975).inherits;const A=n(51601);const c=n(91403);const d=n(66604);const p=45;const C=Buffer.from("-");const S=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}o.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new d(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}i(Dicer,o);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{o.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,n){if(!this._hparser&&!this._bparser){return n()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new c(this._partOpts);if(this._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{const o=n(78474).EventEmitter;const i=n(57975).inherits;const A=n(96424);const c=n(51601);const d=Buffer.from("\r\n\r\n");const p=/\r\n/g;const C=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){o.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=A(e,"maxHeaderPairs",2e3);this.maxHeaderSize=A(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new c(d);this.ss.on("info",(function(e,n,o,i){if(n&&!t.maxed){if(t.nread+i-o>=t.maxHeaderSize){i=t.maxHeaderSize-t.nread+o;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=i-o}t.buffer+=n.toString("binary",o,i)}if(e){t._finish()}}))}i(HeaderParser,o);HeaderParser.prototype.push=function(e){const t=this.ss.push(e);if(this.finished){return t}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(p);const t=e.length;let n,o;for(var i=0;i{const o=n(57975).inherits;const i=n(57075).Readable;function PartStream(e){i.call(this,e)}o(PartStream,i);PartStream.prototype._read=function(e){};e.exports=PartStream},51601:(e,t,n)=>{const o=n(78474).EventEmitter;const i=n(57975).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var n=0;n=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const n=this._lookbehind_size+A;if(n>0){this.emit("info",false,this._lookbehind,0,n)}this._lookbehind.copy(this._lookbehind,0,n,this._lookbehind_size-n);this._lookbehind_size-=n;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}A+=(A>=0)*this._bufpos;if(e.indexOf(n,A)!==-1){A=e.indexOf(n,A);++this.matches;if(A>0){this.emit("info",true,e,this._bufpos,A)}else{this.emit("info",true)}return this._bufpos=A+o}else{A=t-o}while(A0){this.emit("info",false,e,this._bufpos,A{const o=n(57075).Writable;const{inherits:i}=n(57975);const A=n(11715);const c=n(46419);const d=n(55670);const p=n(28106);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...n}=e;this.opts={autoDestroy:false,...n};o.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}i(Busboy,o);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}o.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=p(e["content-type"]);const n={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(c.detect.test(t[0])){return new c(this,n)}if(d.detect.test(t[0])){return new d(this,n)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,n){this._parser.write(e,n)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=A},46419:(e,t,n)=>{const{Readable:o}=n(57075);const{inherits:i}=n(57975);const A=n(11715);const c=n(28106);const d=n(15422);const p=n(54045);const C=n(96424);const S=/^boundary$/i;const v=/^form-data$/i;const T=/^charset$/i;const _=/^filename$/i;const V=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let n;let o;const i=this;let Z;const ee=t.limits;const te=t.isPartAFile||((e,t,n)=>t==="application/octet-stream"||n!==undefined);const re=t.parsedConType||[];const ne=t.defCharset||"utf8";const oe=t.preservePath;const ie={highWaterMark:t.fileHwm};for(n=0,o=re.length;nle){i.parser.removeListener("part",onPart);i.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(fe){const e=fe;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(A){let C;let S;let Z;let ee;let re;let le;let ue=0;if(A["content-type"]){Z=c(A["content-type"][0]);if(Z[0]){C=Z[0].toLowerCase();for(n=0,o=Z.length;nae){const o=ae-ue+e.length;if(o>0){n.push(e.slice(0,o))}n.truncated=true;n.bytesRead=ae;t.removeAllListeners("data");n.emit("limit");return}else if(!n.push(e)){i._pause=true}n.bytesRead=ue};ye=function(){he=undefined;n.push(null)}}else{if(ge===ce){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++ge;++me;let n="";let o=false;fe=t;de=function(e){if((ue+=e.length)>se){const i=se-(ue-e.length);n+=e.toString("binary",0,i);o=true;t.removeAllListeners("data")}else{n+=e.toString("binary")}};ye=function(){fe=undefined;if(n.length){n=d(n,"binary",ee)}e.emit("field",S,n,false,o,re,C);--me;checkFinished()}}t._readableState.sync=false;t.on("data",de);t.on("end",ye)})).on("error",(function(e){if(he){he.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){ye=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const n=this.parser.write(e);if(n&&!this._pause){t()}else{this._needDrain=!n;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){o.call(this,e);this.bytesRead=0;this.truncated=false}i(FileStream,o);FileStream.prototype._read=function(e){};e.exports=Multipart},55670:(e,t,n)=>{const o=n(27259);const i=n(15422);const A=n(96424);const c=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const n=t.limits;const i=t.parsedConType;this.boy=e;this.fieldSizeLimit=A(n,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=A(n,"fieldNameSize",100);this.fieldsLimit=A(n,"fields",Infinity);let d;for(var p=0,C=i.length;pc){this._key+=this.decoder.write(e.toString("binary",c,n))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();c=n+1}else if(o!==undefined){++this._fields;let n;const A=this._keyTrunc;if(o>c){n=this._key+=this.decoder.write(e.toString("binary",c,o))}else{n=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(n.length){this.boy.emit("field",i(n,"binary",this.charset),"",A,false)}c=o+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(A>c){this._key+=this.decoder.write(e.toString("binary",c,A))}c=A;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(cc){this._val+=this.decoder.write(e.toString("binary",c,o))}this.boy.emit("field",i(this._key,"binary",this.charset),i(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();c=o+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(A>c){this._val+=this.decoder.write(e.toString("binary",c,A))}c=A;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(c0){this.boy.emit("field",i(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",i(this._key,"binary",this.charset),i(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},27259:e=>{const t=/\+/g;const n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let o="";let i=0;let A=0;const c=e.length;for(;iA){o+=e.substring(A,i);A=i}this.buffer="";++A}}if(A{e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},15422:e=>{const t=new TextDecoder("utf-8");const n=new Map([["utf-8",t],["utf8",t]]);function decodeText(e,t,o){if(e){if(n.has(o)){try{return n.get(o).decode(Buffer.from(e,t))}catch(e){}}else{try{n.set(o,new TextDecoder(o));return n.get(o).decode(Buffer.from(e,t))}catch(e){}}}return e}e.exports=decodeText},96424:e=>{e.exports=function getLimit(e,t,n){if(!e||e[t]===undefined||e[t]===null){return n}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},28106:(e,t,n)=>{const o=n(15422);const i=/%([a-fA-F0-9]{2})/g;function encodedReplacer(e,t){return String.fromCharCode(parseInt(t,16))}function parseParams(e){const t=[];let n="key";let A="";let c=false;let d=false;let p=0;let C="";for(var S=0,v=e.length;Se?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n,o]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:t,status:n,trailers:o}}))}}t.ClientStreamingCall=ClientStreamingCall},71409:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Deferred=t.DeferredState=void 0;var n;(function(e){e[e["PENDING"]=0]="PENDING";e[e["REJECTED"]=1]="REJECTED";e[e["RESOLVED"]=2]="RESOLVED"})(n=t.DeferredState||(t.DeferredState={}));class Deferred{constructor(e=true){this._state=n.PENDING;this._promise=new Promise(((e,t)=>{this._resolve=e;this._reject=t}));if(e){this._promise.catch((e=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==n.PENDING)throw new Error(`cannot resolve ${n[this.state].toLowerCase()}`);this._resolve(e);this._state=n.RESOLVED}reject(e){if(this.state!==n.PENDING)throw new Error(`cannot reject ${n[this.state].toLowerCase()}`);this._reject(e);this._state=n.REJECTED}resolvePending(e){if(this._state===n.PENDING)this.resolve(e)}rejectPending(e){if(this._state===n.PENDING)this.reject(e)}}t.Deferred=Deferred},36826:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(e,t,n,o,i,A,c){this.method=e;this.requestHeaders=t;this.requests=n;this.headers=o;this.responses=i;this.status=A;this.trailers=c}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:t,trailers:n}}))}}t.DuplexStreamingCall=DuplexStreamingCall},44420:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});var o=n(56892);Object.defineProperty(t,"ServiceType",{enumerable:true,get:function(){return o.ServiceType}});var i=n(62496);Object.defineProperty(t,"readMethodOptions",{enumerable:true,get:function(){return i.readMethodOptions}});Object.defineProperty(t,"readMethodOption",{enumerable:true,get:function(){return i.readMethodOption}});Object.defineProperty(t,"readServiceOption",{enumerable:true,get:function(){return i.readServiceOption}});var A=n(78636);Object.defineProperty(t,"RpcError",{enumerable:true,get:function(){return A.RpcError}});var c=n(28576);Object.defineProperty(t,"mergeRpcOptions",{enumerable:true,get:function(){return c.mergeRpcOptions}});var d=n(72726);Object.defineProperty(t,"RpcOutputStreamController",{enumerable:true,get:function(){return d.RpcOutputStreamController}});var p=n(79122);Object.defineProperty(t,"TestTransport",{enumerable:true,get:function(){return p.TestTransport}});var C=n(71409);Object.defineProperty(t,"Deferred",{enumerable:true,get:function(){return C.Deferred}});Object.defineProperty(t,"DeferredState",{enumerable:true,get:function(){return C.DeferredState}});var S=n(36826);Object.defineProperty(t,"DuplexStreamingCall",{enumerable:true,get:function(){return S.DuplexStreamingCall}});var v=n(37889);Object.defineProperty(t,"ClientStreamingCall",{enumerable:true,get:function(){return v.ClientStreamingCall}});var T=n(46173);Object.defineProperty(t,"ServerStreamingCall",{enumerable:true,get:function(){return T.ServerStreamingCall}});var _=n(29288);Object.defineProperty(t,"UnaryCall",{enumerable:true,get:function(){return _.UnaryCall}});var V=n(52849);Object.defineProperty(t,"stackIntercept",{enumerable:true,get:function(){return V.stackIntercept}});Object.defineProperty(t,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return V.stackDuplexStreamingInterceptors}});Object.defineProperty(t,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return V.stackClientStreamingInterceptors}});Object.defineProperty(t,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return V.stackServerStreamingInterceptors}});Object.defineProperty(t,"stackUnaryInterceptors",{enumerable:true,get:function(){return V.stackUnaryInterceptors}});var Z=n(43352);Object.defineProperty(t,"ServerCallContextController",{enumerable:true,get:function(){return Z.ServerCallContextController}})},62496:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.readServiceOption=t.readMethodOption=t.readMethodOptions=t.normalizeMethodInfo=void 0;const o=n(68886);function normalizeMethodInfo(e,t){var n,i,A;let c=e;c.service=t;c.localName=(n=c.localName)!==null&&n!==void 0?n:o.lowerCamelCase(c.name);c.serverStreaming=!!c.serverStreaming;c.clientStreaming=!!c.clientStreaming;c.options=(i=c.options)!==null&&i!==void 0?i:{};c.idempotency=(A=c.idempotency)!==null&&A!==void 0?A:undefined;return c}t.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(e,t,n,o){var i;const A=(i=e.methods.find(((e,n)=>e.localName===t||n===t)))===null||i===void 0?void 0:i.options;return A&&A[n]?o.fromJson(A[n]):undefined}t.readMethodOptions=readMethodOptions;function readMethodOption(e,t,n,o){var i;const A=(i=e.methods.find(((e,n)=>e.localName===t||n===t)))===null||i===void 0?void 0:i.options;if(!A){return undefined}const c=A[n];if(c===undefined){return c}return o?o.fromJson(c):c}t.readMethodOption=readMethodOption;function readServiceOption(e,t,n){const o=e.options;if(!o){return undefined}const i=o[t];if(i===undefined){return i}return n?n.fromJson(i):i}t.readServiceOption=readServiceOption},78636:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.RpcError=void 0;class RpcError extends Error{constructor(e,t="UNKNOWN",n){super(e);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=t;this.meta=n!==null&&n!==void 0?n:{}}toString(){const e=[this.name+": "+this.message];if(this.code){e.push("");e.push("Code: "+this.code)}if(this.serviceName&&this.methodName){e.push("Method: "+this.serviceName+"/"+this.methodName)}let t=Object.entries(this.meta);if(t.length){e.push("");e.push("Meta:");for(let[n,o]of t){e.push(` ${n}: ${o}`)}}return e.join("\n")}}t.RpcError=RpcError},52849:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.stackDuplexStreamingInterceptors=t.stackClientStreamingInterceptors=t.stackServerStreamingInterceptors=t.stackUnaryInterceptors=t.stackIntercept=void 0;const o=n(68886);function stackIntercept(e,t,n,i,A){var c,d,p,C;if(e=="unary"){let tail=(e,n,o)=>t.unary(e,n,o);for(const e of((c=i.interceptors)!==null&&c!==void 0?c:[]).filter((e=>e.interceptUnary)).reverse()){const t=tail;tail=(n,o,i)=>e.interceptUnary(t,n,o,i)}return tail(n,A,i)}if(e=="serverStreaming"){let tail=(e,n,o)=>t.serverStreaming(e,n,o);for(const e of((d=i.interceptors)!==null&&d!==void 0?d:[]).filter((e=>e.interceptServerStreaming)).reverse()){const t=tail;tail=(n,o,i)=>e.interceptServerStreaming(t,n,o,i)}return tail(n,A,i)}if(e=="clientStreaming"){let tail=(e,n)=>t.clientStreaming(e,n);for(const e of((p=i.interceptors)!==null&&p!==void 0?p:[]).filter((e=>e.interceptClientStreaming)).reverse()){const t=tail;tail=(n,o)=>e.interceptClientStreaming(t,n,o)}return tail(n,i)}if(e=="duplex"){let tail=(e,n)=>t.duplex(e,n);for(const e of((C=i.interceptors)!==null&&C!==void 0?C:[]).filter((e=>e.interceptDuplex)).reverse()){const t=tail;tail=(n,o)=>e.interceptDuplex(t,n,o)}return tail(n,i)}o.assertNever(e)}t.stackIntercept=stackIntercept;function stackUnaryInterceptors(e,t,n,o){return stackIntercept("unary",e,t,o,n)}t.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(e,t,n,o){return stackIntercept("serverStreaming",e,t,o,n)}t.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(e,t,n){return stackIntercept("clientStreaming",e,t,n)}t.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(e,t,n){return stackIntercept("duplex",e,t,n)}t.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},28576:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.mergeRpcOptions=void 0;const o=n(68886);function mergeRpcOptions(e,t){if(!t)return e;let n={};copy(e,n);copy(t,n);for(let i of Object.keys(t)){let A=t[i];switch(i){case"jsonOptions":n.jsonOptions=o.mergeJsonOptions(e.jsonOptions,n.jsonOptions);break;case"binaryOptions":n.binaryOptions=o.mergeBinaryOptions(e.binaryOptions,n.binaryOptions);break;case"meta":n.meta={};copy(e.meta,n.meta);copy(t.meta,n.meta);break;case"interceptors":n.interceptors=e.interceptors?e.interceptors.concat(A):A.concat();break}}return n}t.mergeRpcOptions=mergeRpcOptions;function copy(e,t){if(!e)return;let n=t;for(let[t,o]of Object.entries(e)){if(o instanceof Date)n[t]=new Date(o.getTime());else if(Array.isArray(o))n[t]=o.concat();else n[t]=o}}},72726:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.RpcOutputStreamController=void 0;const o=n(71409);const i=n(68886);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,t){t.push(e);return()=>{let n=t.indexOf(e);if(n>=0)t.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==false}notifyNext(e,t,n){i.assert((e?1:0)+(t?1:0)+(n?1:0)<=1,"only one emission at a time");if(e)this.notifyMessage(e);if(t)this.notifyError(t);if(n)this.notifyComplete()}notifyMessage(e){i.assert(!this.closed,"stream is closed");this.pushIt({value:e,done:false});this._lis.msg.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(e,undefined,false)))}notifyError(e){i.assert(!this.closed,"stream is closed");this._closed=e;this.pushIt(e);this._lis.err.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(undefined,e,false)));this.clearLis()}notifyComplete(){i.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((e=>e()));this._lis.nxt.forEach((e=>e(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let e=this._itState;i.assert(e,"bad state");i.assert(!e.p,"iterator contract broken");let t=e.q.shift();if(t)return"value"in t?Promise.resolve(t):Promise.reject(t);e.p=new o.Deferred;return e.p.promise}}}pushIt(e){let t=this._itState;if(t.p){const n=t.p;i.assert(n.state==o.DeferredState.PENDING,"iterator contract broken");"value"in e?n.resolve(e):n.reject(e);delete t.p}else{t.q.push(e)}}}t.RpcOutputStreamController=RpcOutputStreamController},43352:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServerCallContextController=void 0;class ServerCallContextController{constructor(e,t,n,o,i={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=e;this.headers=t;this.deadline=n;this.trailers={};this._sendRH=o;this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let e of this._listeners){e()}}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){const t=this._listeners;t.push(e);return()=>{let n=t.indexOf(e);if(n>=0)t.splice(n,1)}}}t.ServerCallContextController=ServerCallContextController},46173:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(e,t,n,o,i,A,c){this.method=e;this.requestHeaders=t;this.request=n;this.headers=o;this.responses=i;this.status=A;this.trailers=c}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:t,trailers:n}}))}}t.ServerStreamingCall=ServerStreamingCall},56892:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServiceType=void 0;const o=n(62496);class ServiceType{constructor(e,t,n){this.typeName=e;this.methods=t.map((e=>o.normalizeMethodInfo(e,this)));this.options=n!==null&&n!==void 0?n:{}}}t.ServiceType=ServiceType},79122:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.TestTransport=void 0;const i=n(78636);const A=n(68886);const c=n(72726);const d=n(28576);const p=n(29288);const C=n(46173);const S=n(37889);const v=n(36826);class TestTransport{constructor(e){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=e!==null&&e!==void 0?e:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var e;const t=(e=this.data.headers)!==null&&e!==void 0?e:TestTransport.defaultHeaders;return t instanceof i.RpcError?Promise.reject(t):Promise.resolve(t)}promiseSingleResponse(e){if(this.data.response instanceof i.RpcError){return Promise.reject(this.data.response)}let t;if(Array.isArray(this.data.response)){A.assert(this.data.response.length>0);t=this.data.response[0]}else if(this.data.response!==undefined){t=this.data.response}else{t=e.O.create()}A.assert(e.O.is(t));return Promise.resolve(t)}streamResponses(e,t,n){return o(this,void 0,void 0,(function*(){const o=[];if(this.data.response===undefined){o.push(e.O.create())}else if(Array.isArray(this.data.response)){for(let t of this.data.response){A.assert(e.O.is(t));o.push(t)}}else if(!(this.data.response instanceof i.RpcError)){A.assert(e.O.is(this.data.response));o.push(this.data.response)}try{yield delay(this.responseDelay,n)(undefined)}catch(e){t.notifyError(e);return}if(this.data.response instanceof i.RpcError){t.notifyError(this.data.response);return}for(let e of o){t.notifyMessage(e);try{yield delay(this.betweenResponseDelay,n)(undefined)}catch(e){t.notifyError(e);return}}if(this.data.status instanceof i.RpcError){t.notifyError(this.data.status);return}if(this.data.trailers instanceof i.RpcError){t.notifyError(this.data.trailers);return}t.notifyComplete()}))}promiseStatus(){var e;const t=(e=this.data.status)!==null&&e!==void 0?e:TestTransport.defaultStatus;return t instanceof i.RpcError?Promise.reject(t):Promise.resolve(t)}promiseTrailers(){var e;const t=(e=this.data.trailers)!==null&&e!==void 0?e:TestTransport.defaultTrailers;return t instanceof i.RpcError?Promise.reject(t):Promise.resolve(t)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections){for(let t of e){t.catch((()=>{}))}}}mergeOptions(e){return d.mergeRpcOptions({},e)}unary(e,t,n){var o;const i=(o=n.meta)!==null&&o!==void 0?o:{},A=this.promiseHeaders().then(delay(this.headerDelay,n.abort)),c=A.catch((e=>{})).then(delay(this.responseDelay,n.abort)).then((t=>this.promiseSingleResponse(e))),d=c.catch((e=>{})).then(delay(this.afterResponseDelay,n.abort)).then((e=>this.promiseStatus())),C=c.catch((e=>{})).then(delay(this.afterResponseDelay,n.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(d,C);this.lastInput={single:t};return new p.UnaryCall(e,i,t,A,c,d,C)}serverStreaming(e,t,n){var o;const i=(o=n.meta)!==null&&o!==void 0?o:{},A=this.promiseHeaders().then(delay(this.headerDelay,n.abort)),d=new c.RpcOutputStreamController,p=A.then(delay(this.responseDelay,n.abort)).catch((()=>{})).then((()=>this.streamResponses(e,d,n.abort))).then(delay(this.afterResponseDelay,n.abort)),S=p.then((()=>this.promiseStatus())),v=p.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(S,v);this.lastInput={single:t};return new C.ServerStreamingCall(e,i,t,A,d,S,v)}clientStreaming(e,t){var n;const o=(n=t.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),A=i.catch((e=>{})).then(delay(this.responseDelay,t.abort)).then((t=>this.promiseSingleResponse(e))),c=A.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseStatus())),d=A.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(c,d);this.lastInput=new TestInputStream(this.data,t.abort);return new S.ClientStreamingCall(e,o,this.lastInput,i,A,c,d)}duplex(e,t){var n;const o=(n=t.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),A=new c.RpcOutputStreamController,d=i.then(delay(this.responseDelay,t.abort)).catch((()=>{})).then((()=>this.streamResponses(e,A,t.abort))).then(delay(this.afterResponseDelay,t.abort)),p=d.then((()=>this.promiseStatus())),C=d.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(p,C);this.lastInput=new TestInputStream(this.data,t.abort);return new v.DuplexStreamingCall(e,o,this.lastInput,i,A,p,C)}}t.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(e,t){return n=>new Promise(((o,A)=>{if(t===null||t===void 0?void 0:t.aborted){A(new i.RpcError("user cancel","CANCELLED"))}else{const c=setTimeout((()=>o(n)),e);if(t){t.addEventListener("abort",(e=>{clearTimeout(c);A(new i.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(e,t){this._completed=false;this._sent=[];this.data=e;this.abort=t}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof i.RpcError){return Promise.reject(this.data.inputMessage)}const t=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(e)})).then(delay(t,this.abort))}complete(){if(this.data.inputComplete instanceof i.RpcError){return Promise.reject(this.data.inputComplete)}const e=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(e,this.abort))}}},29288:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.UnaryCall=void 0;class UnaryCall{constructor(e,t,n,o,i,A,c){this.method=e;this.requestHeaders=t;this.request=n;this.headers=o;this.response=i;this.status=A;this.trailers=c}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n,o]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:t,status:n,trailers:o}}))}}t.UnaryCall=UnaryCall},8602:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.assertFloat32=t.assertUInt32=t.assertInt32=t.assertNever=t.assert=void 0;function assert(e,t){if(!e){throw new Error(t)}}t.assert=assert;function assertNever(e,t){throw new Error(t!==null&&t!==void 0?t:"Unexpected object: "+e)}t.assertNever=assertNever;const n=34028234663852886e22,o=-34028234663852886e22,i=4294967295,A=2147483647,c=-2147483648;function assertInt32(e){if(typeof e!=="number")throw new Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>A||ei||e<0)throw new Error("invalid uint 32: "+e)}t.assertUInt32=assertUInt32;function assertFloat32(e){if(typeof e!=="number")throw new Error("invalid float 32: "+typeof e);if(!Number.isFinite(e))return;if(e>n||e{Object.defineProperty(t,"__esModule",{value:true});t.base64encode=t.base64decode=void 0;let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let o=[];for(let e=0;e>4;d=c;A=2;break;case 2:n[i++]=(d&15)<<4|(c&60)>>2;d=c;A=3;break;case 3:n[i++]=(d&3)<<6|c;A=0;break}}if(A==1)throw Error(`invalid base64 string.`);return n.subarray(0,i)}t.base64decode=base64decode;function base64encode(e){let t="",o=0,i,A=0;for(let c=0;c>2];A=(i&3)<<4;o=1;break;case 1:t+=n[A|i>>4];A=(i&15)<<2;o=2;break;case 2:t+=n[A|i>>6];t+=n[i&63];o=0;break}}if(o){t+=n[A];t+="=";if(o==1)t+="="}return t}t.base64encode=base64encode},54816:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.WireType=t.mergeBinaryOptions=t.UnknownFieldHandler=void 0;var n;(function(e){e.symbol=Symbol.for("protobuf-ts/unknown");e.onRead=(t,n,o,i,A)=>{let c=is(n)?n[e.symbol]:n[e.symbol]=[];c.push({no:o,wireType:i,data:A})};e.onWrite=(t,n,o)=>{for(let{no:t,wireType:i,data:A}of e.list(n))o.tag(t,i).raw(A)};e.list=(t,n)=>{if(is(t)){let o=t[e.symbol];return n?o.filter((e=>e.no==n)):o}return[]};e.last=(t,n)=>e.list(t,n).slice(-1)[0];const is=t=>t&&Array.isArray(t[e.symbol])})(n=t.UnknownFieldHandler||(t.UnknownFieldHandler={}));function mergeBinaryOptions(e,t){return Object.assign(Object.assign({},e),t)}t.mergeBinaryOptions=mergeBinaryOptions;var o;(function(e){e[e["Varint"]=0]="Varint";e[e["Bit64"]=1]="Bit64";e[e["LengthDelimited"]=2]="LengthDelimited";e[e["StartGroup"]=3]="StartGroup";e[e["EndGroup"]=4]="EndGroup";e[e["Bit32"]=5]="Bit32"})(o=t.WireType||(t.WireType={}))},92889:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BinaryReader=t.binaryReadOptions=void 0;const o=n(54816);const i=n(61753);const A=n(93223);const c={readUnknownField:true,readerFactory:e=>new BinaryReader(e)};function binaryReadOptions(e){return e?Object.assign(Object.assign({},c),e):c}t.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(e,t){this.varint64=A.varint64read;this.uint32=A.varint32read;this.buf=e;this.len=e.length;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength);this.textDecoder=t!==null&&t!==void 0?t:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let e=this.uint32(),t=e>>>3,n=e&7;if(t<=0||n<0||n>5)throw new Error("illegal tag: field no "+t+" wire type "+n);return[t,n]}skip(e){let t=this.pos;switch(e){case o.WireType.Varint:while(this.buf[this.pos++]&128){}break;case o.WireType.Bit64:this.pos+=4;case o.WireType.Bit32:this.pos+=4;break;case o.WireType.LengthDelimited:let t=this.uint32();this.pos+=t;break;case o.WireType.StartGroup:let n;while((n=this.tag()[1])!==o.WireType.EndGroup){this.skip(n)}break;default:throw new Error("cant skip wire type "+e)}this.assertBounds();return this.buf.subarray(t,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new i.PbLong(...this.varint64())}uint64(){return new i.PbULong(...this.varint64())}sint64(){let[e,t]=this.varint64();let n=-(e&1);e=(e>>>1|(t&1)<<31)^n;t=t>>>1^n;return new i.PbLong(e,t)}bool(){let[e,t]=this.varint64();return e!==0||t!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new i.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new i.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let e=this.uint32();let t=this.pos;this.pos+=e;this.assertBounds();return this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}}t.BinaryReader=BinaryReader},23957:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BinaryWriter=t.binaryWriteOptions=void 0;const o=n(61753);const i=n(93223);const A=n(8602);const c={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(e){return e?Object.assign(Object.assign({},c),e):c}t.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(e){this.stack=[];this.textEncoder=e!==null&&e!==void 0?e:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t>>0)}raw(e){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(e);return this}uint32(e){A.assertUInt32(e);while(e>127){this.buf.push(e&127|128);e=e>>>7}this.buf.push(e);return this}int32(e){A.assertInt32(e);i.varint32write(e,this.buf);return this}bool(e){this.buf.push(e?1:0);return this}bytes(e){this.uint32(e.byteLength);return this.raw(e)}string(e){let t=this.textEncoder.encode(e);this.uint32(t.byteLength);return this.raw(t)}float(e){A.assertFloat32(e);let t=new Uint8Array(4);new DataView(t.buffer).setFloat32(0,e,true);return this.raw(t)}double(e){let t=new Uint8Array(8);new DataView(t.buffer).setFloat64(0,e,true);return this.raw(t)}fixed32(e){A.assertUInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setUint32(0,e,true);return this.raw(t)}sfixed32(e){A.assertInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setInt32(0,e,true);return this.raw(t)}sint32(e){A.assertInt32(e);e=(e<<1^e>>31)>>>0;i.varint32write(e,this.buf);return this}sfixed64(e){let t=new Uint8Array(8);let n=new DataView(t.buffer);let i=o.PbLong.from(e);n.setInt32(0,i.lo,true);n.setInt32(4,i.hi,true);return this.raw(t)}fixed64(e){let t=new Uint8Array(8);let n=new DataView(t.buffer);let i=o.PbULong.from(e);n.setInt32(0,i.lo,true);n.setInt32(4,i.hi,true);return this.raw(t)}int64(e){let t=o.PbLong.from(e);i.varint64write(t.lo,t.hi,this.buf);return this}sint64(e){let t=o.PbLong.from(e),n=t.hi>>31,A=t.lo<<1^n,c=(t.hi<<1|t.lo>>>31)^n;i.varint64write(A,c,this.buf);return this}uint64(e){let t=o.PbULong.from(e);i.varint64write(t.lo,t.hi,this.buf);return this}}t.BinaryWriter=BinaryWriter},70257:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.listEnumNumbers=t.listEnumNames=t.listEnumValues=t.isEnumObject=void 0;function isEnumObject(e){if(typeof e!="object"||e===null){return false}if(!e.hasOwnProperty(0)){return false}for(let t of Object.keys(e)){let n=parseInt(t);if(!Number.isNaN(n)){let t=e[n];if(t===undefined)return false;if(e[t]!==n)return false}else{let n=e[t];if(n===undefined)return false;if(typeof n!=="number")return false;if(e[n]===undefined)return false}}return true}t.isEnumObject=isEnumObject;function listEnumValues(e){if(!isEnumObject(e))throw new Error("not a typescript enum object");let t=[];for(let[n,o]of Object.entries(e))if(typeof o=="number")t.push({name:n,number:o});return t}t.listEnumValues=listEnumValues;function listEnumNames(e){return listEnumValues(e).map((e=>e.name))}t.listEnumNames=listEnumNames;function listEnumNumbers(e){return listEnumValues(e).map((e=>e.number)).filter(((e,t,n)=>n.indexOf(e)==t))}t.listEnumNumbers=listEnumNumbers},93223:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.varint32read=t.varint32write=t.int64toString=t.int64fromString=t.varint64write=t.varint64read=void 0;function varint64read(){let e=0;let t=0;for(let n=0;n<28;n+=7){let o=this.buf[this.pos++];e|=(o&127)<>4;if((n&128)==0){this.assertBounds();return[e,t]}for(let n=3;n<=31;n+=7){let o=this.buf[this.pos++];t|=(o&127)<>>o;const A=!(i>>>7==0&&t==0);const c=(A?i|128:i)&255;n.push(c);if(!A){return}}const o=e>>>28&15|(t&7)<<4;const i=!(t>>3==0);n.push((i?o|128:o)&255);if(!i){return}for(let e=3;e<31;e=e+7){const o=t>>>e;const i=!(o>>>7==0);const A=(i?o|128:o)&255;n.push(A);if(!i){return}}n.push(t>>>31&1)}t.varint64write=varint64write;const n=(1<<16)*(1<<16);function int64fromString(e){let t=e[0]=="-";if(t)e=e.slice(1);const o=1e6;let i=0;let A=0;function add1e6digit(t,c){const d=Number(e.slice(t,c));A*=o;i=i*o+d;if(i>=n){A=A+(i/n|0);i=i%n}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[t,i,A]}t.int64fromString=int64fromString;function int64toString(e,t){if(t>>>0<=2097151){return""+(n*t+(e>>>0))}let o=e&16777215;let i=(e>>>24|t<<8)>>>0&16777215;let A=t>>16&65535;let c=o+i*6777216+A*6710656;let d=i+A*8147497;let p=A*2;let C=1e7;if(c>=C){d+=Math.floor(c/C);c%=C}if(d>=C){p+=Math.floor(d/C);d%=C}function decimalFrom1e7(e,t){let n=e?String(e):"";if(t){return"0000000".slice(n.length)+n}return n}return decimalFrom1e7(p,0)+decimalFrom1e7(d,p)+decimalFrom1e7(c,1)}t.int64toString=int64toString;function varint32write(e,t){if(e>=0){while(e>127){t.push(e&127|128);e=e>>>7}t.push(e)}else{for(let n=0;n<9;n++){t.push(e&127|128);e=e>>7}t.push(1)}}t.varint32write=varint32write;function varint32read(){let e=this.buf[this.pos++];let t=e&127;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<7;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<14;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<21;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&15)<<28;for(let t=5;(e&128)!==0&&t<10;t++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");this.assertBounds();return t>>>0}t.varint32read=varint32read},68886:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});var o=n(49999);Object.defineProperty(t,"typeofJsonValue",{enumerable:true,get:function(){return o.typeofJsonValue}});Object.defineProperty(t,"isJsonObject",{enumerable:true,get:function(){return o.isJsonObject}});var i=n(26335);Object.defineProperty(t,"base64decode",{enumerable:true,get:function(){return i.base64decode}});Object.defineProperty(t,"base64encode",{enumerable:true,get:function(){return i.base64encode}});var A=n(58950);Object.defineProperty(t,"utf8read",{enumerable:true,get:function(){return A.utf8read}});var c=n(54816);Object.defineProperty(t,"WireType",{enumerable:true,get:function(){return c.WireType}});Object.defineProperty(t,"mergeBinaryOptions",{enumerable:true,get:function(){return c.mergeBinaryOptions}});Object.defineProperty(t,"UnknownFieldHandler",{enumerable:true,get:function(){return c.UnknownFieldHandler}});var d=n(92889);Object.defineProperty(t,"BinaryReader",{enumerable:true,get:function(){return d.BinaryReader}});Object.defineProperty(t,"binaryReadOptions",{enumerable:true,get:function(){return d.binaryReadOptions}});var p=n(23957);Object.defineProperty(t,"BinaryWriter",{enumerable:true,get:function(){return p.BinaryWriter}});Object.defineProperty(t,"binaryWriteOptions",{enumerable:true,get:function(){return p.binaryWriteOptions}});var C=n(61753);Object.defineProperty(t,"PbLong",{enumerable:true,get:function(){return C.PbLong}});Object.defineProperty(t,"PbULong",{enumerable:true,get:function(){return C.PbULong}});var S=n(29367);Object.defineProperty(t,"jsonReadOptions",{enumerable:true,get:function(){return S.jsonReadOptions}});Object.defineProperty(t,"jsonWriteOptions",{enumerable:true,get:function(){return S.jsonWriteOptions}});Object.defineProperty(t,"mergeJsonOptions",{enumerable:true,get:function(){return S.mergeJsonOptions}});var v=n(43785);Object.defineProperty(t,"MESSAGE_TYPE",{enumerable:true,get:function(){return v.MESSAGE_TYPE}});var T=n(15106);Object.defineProperty(t,"MessageType",{enumerable:true,get:function(){return T.MessageType}});var _=n(67910);Object.defineProperty(t,"ScalarType",{enumerable:true,get:function(){return _.ScalarType}});Object.defineProperty(t,"LongType",{enumerable:true,get:function(){return _.LongType}});Object.defineProperty(t,"RepeatType",{enumerable:true,get:function(){return _.RepeatType}});Object.defineProperty(t,"normalizeFieldInfo",{enumerable:true,get:function(){return _.normalizeFieldInfo}});Object.defineProperty(t,"readFieldOptions",{enumerable:true,get:function(){return _.readFieldOptions}});Object.defineProperty(t,"readFieldOption",{enumerable:true,get:function(){return _.readFieldOption}});Object.defineProperty(t,"readMessageOption",{enumerable:true,get:function(){return _.readMessageOption}});var V=n(25167);Object.defineProperty(t,"ReflectionTypeCheck",{enumerable:true,get:function(){return V.ReflectionTypeCheck}});var Z=n(75726);Object.defineProperty(t,"reflectionCreate",{enumerable:true,get:function(){return Z.reflectionCreate}});var ee=n(19526);Object.defineProperty(t,"reflectionScalarDefault",{enumerable:true,get:function(){return ee.reflectionScalarDefault}});var te=n(98044);Object.defineProperty(t,"reflectionMergePartial",{enumerable:true,get:function(){return te.reflectionMergePartial}});var re=n(4827);Object.defineProperty(t,"reflectionEquals",{enumerable:true,get:function(){return re.reflectionEquals}});var ne=n(89611);Object.defineProperty(t,"ReflectionBinaryReader",{enumerable:true,get:function(){return ne.ReflectionBinaryReader}});var oe=n(66907);Object.defineProperty(t,"ReflectionBinaryWriter",{enumerable:true,get:function(){return oe.ReflectionBinaryWriter}});var ie=n(46790);Object.defineProperty(t,"ReflectionJsonReader",{enumerable:true,get:function(){return ie.ReflectionJsonReader}});var se=n(11094);Object.defineProperty(t,"ReflectionJsonWriter",{enumerable:true,get:function(){return se.ReflectionJsonWriter}});var ae=n(59946);Object.defineProperty(t,"containsMessageType",{enumerable:true,get:function(){return ae.containsMessageType}});var Ae=n(18063);Object.defineProperty(t,"isOneofGroup",{enumerable:true,get:function(){return Ae.isOneofGroup}});Object.defineProperty(t,"setOneofValue",{enumerable:true,get:function(){return Ae.setOneofValue}});Object.defineProperty(t,"getOneofValue",{enumerable:true,get:function(){return Ae.getOneofValue}});Object.defineProperty(t,"clearOneofValue",{enumerable:true,get:function(){return Ae.clearOneofValue}});Object.defineProperty(t,"getSelectedOneofValue",{enumerable:true,get:function(){return Ae.getSelectedOneofValue}});var ce=n(70257);Object.defineProperty(t,"listEnumValues",{enumerable:true,get:function(){return ce.listEnumValues}});Object.defineProperty(t,"listEnumNames",{enumerable:true,get:function(){return ce.listEnumNames}});Object.defineProperty(t,"listEnumNumbers",{enumerable:true,get:function(){return ce.listEnumNumbers}});Object.defineProperty(t,"isEnumObject",{enumerable:true,get:function(){return ce.isEnumObject}});var le=n(4073);Object.defineProperty(t,"lowerCamelCase",{enumerable:true,get:function(){return le.lowerCamelCase}});var ue=n(8602);Object.defineProperty(t,"assert",{enumerable:true,get:function(){return ue.assert}});Object.defineProperty(t,"assertNever",{enumerable:true,get:function(){return ue.assertNever}});Object.defineProperty(t,"assertInt32",{enumerable:true,get:function(){return ue.assertInt32}});Object.defineProperty(t,"assertUInt32",{enumerable:true,get:function(){return ue.assertUInt32}});Object.defineProperty(t,"assertFloat32",{enumerable:true,get:function(){return ue.assertFloat32}})},29367:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.mergeJsonOptions=t.jsonWriteOptions=t.jsonReadOptions=void 0;const n={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},o={ignoreUnknownFields:false};function jsonReadOptions(e){return e?Object.assign(Object.assign({},o),e):o}t.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(e){return e?Object.assign(Object.assign({},n),e):n}t.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(e,t){var n,o;let i=Object.assign(Object.assign({},e),t);i.typeRegistry=[...(n=e===null||e===void 0?void 0:e.typeRegistry)!==null&&n!==void 0?n:[],...(o=t===null||t===void 0?void 0:t.typeRegistry)!==null&&o!==void 0?o:[]];return i}t.mergeJsonOptions=mergeJsonOptions},49999:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isJsonObject=t.typeofJsonValue=void 0;function typeofJsonValue(e){let t=typeof e;if(t=="object"){if(Array.isArray(e))return"array";if(e===null)return"null"}return t}t.typeofJsonValue=typeofJsonValue;function isJsonObject(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}t.isJsonObject=isJsonObject},4073:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.lowerCamelCase=void 0;function lowerCamelCase(e){let t=false;const n=[];for(let o=0;o{Object.defineProperty(t,"__esModule",{value:true});t.MESSAGE_TYPE=void 0;t.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},15106:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.MessageType=void 0;const o=n(43785);const i=n(67910);const A=n(25167);const c=n(46790);const d=n(11094);const p=n(89611);const C=n(66907);const S=n(75726);const v=n(98044);const T=n(49999);const _=n(29367);const V=n(4827);const Z=n(23957);const ee=n(92889);const te=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const re=te[o.MESSAGE_TYPE]={};class MessageType{constructor(e,t,n){this.defaultCheckDepth=16;this.typeName=e;this.fields=t.map(i.normalizeFieldInfo);this.options=n!==null&&n!==void 0?n:{};re.value=this;this.messagePrototype=Object.create(null,te);this.refTypeCheck=new A.ReflectionTypeCheck(this);this.refJsonReader=new c.ReflectionJsonReader(this);this.refJsonWriter=new d.ReflectionJsonWriter(this);this.refBinReader=new p.ReflectionBinaryReader(this);this.refBinWriter=new C.ReflectionBinaryWriter(this)}create(e){let t=S.reflectionCreate(this);if(e!==undefined){v.reflectionMergePartial(this,t,e)}return t}clone(e){let t=this.create();v.reflectionMergePartial(this,t,e);return t}equals(e,t){return V.reflectionEquals(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,false)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,true)}mergePartial(e,t){v.reflectionMergePartial(this,e,t)}fromBinary(e,t){let n=ee.binaryReadOptions(t);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,t){return this.internalJsonRead(e,_.jsonReadOptions(t))}fromJsonString(e,t){let n=JSON.parse(e);return this.fromJson(n,t)}toJson(e,t){return this.internalJsonWrite(e,_.jsonWriteOptions(t))}toJsonString(e,t){var n;let o=this.toJson(e,t);return JSON.stringify(o,null,(n=t===null||t===void 0?void 0:t.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,t){let n=Z.binaryWriteOptions(t);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,t,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let o=n!==null&&n!==void 0?n:this.create();this.refJsonReader.read(e,o,t);return o}throw new Error(`Unable to parse message ${this.typeName} from JSON ${T.typeofJsonValue(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,n){this.refBinWriter.write(e,t,n);return t}internalBinaryRead(e,t,n,o){let i=o!==null&&o!==void 0?o:this.create();this.refBinReader.read(e,i,n,t);return i}}t.MessageType=MessageType},18063:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSelectedOneofValue=t.clearOneofValue=t.setUnknownOneofValue=t.setOneofValue=t.getOneofValue=t.isOneofGroup=void 0;function isOneofGroup(e){if(typeof e!="object"||e===null||!e.hasOwnProperty("oneofKind")){return false}switch(typeof e.oneofKind){case"string":if(e[e.oneofKind]===undefined)return false;return Object.keys(e).length==2;case"undefined":return Object.keys(e).length==1;default:return false}}t.isOneofGroup=isOneofGroup;function getOneofValue(e,t){return e[t]}t.getOneofValue=getOneofValue;function setOneofValue(e,t,n){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(n!==undefined){e[t]=n}}t.setOneofValue=setOneofValue;function setUnknownOneofValue(e,t,n){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(n!==undefined&&t!==undefined){e[t]=n}}t.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(e){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=undefined}t.clearOneofValue=clearOneofValue;function getSelectedOneofValue(e){if(e.oneofKind===undefined){return undefined}return e[e.oneofKind]}t.getSelectedOneofValue=getSelectedOneofValue},61753:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.PbLong=t.PbULong=t.detectBi=void 0;const o=n(93223);let i;function detectBi(){const e=new DataView(new ArrayBuffer(8));const t=globalThis.BigInt!==undefined&&typeof e.getBigInt64==="function"&&typeof e.getBigUint64==="function"&&typeof e.setBigInt64==="function"&&typeof e.setBigUint64==="function";i=t?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:e}:undefined}t.detectBi=detectBi;detectBi();function assertBi(e){if(!e)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const A=/^-?[0-9]+$/;const c=4294967296;const d=2147483648;class SharedPbLong{constructor(e,t){this.lo=e|0;this.hi=t|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*c+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}}class PbULong extends SharedPbLong{static from(e){if(i)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=i.C(e);case"number":if(e===0)return this.ZERO;e=i.C(e);case"bigint":if(!e)return this.ZERO;if(ei.UMAX)throw new Error("ulong too large");i.V.setBigUint64(0,e,true);return new PbULong(i.V.getInt32(0,true),i.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!A.test(e))throw new Error("string is no integer");let[t,n,i]=o.int64fromString(e);if(t)throw new Error("signed value for ulong");return new PbULong(n,i);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new PbULong(e,e/c)}throw new Error("unknown value "+typeof e)}toString(){return i?this.toBigInt().toString():o.int64toString(this.lo,this.hi)}toBigInt(){assertBi(i);i.V.setInt32(0,this.lo,true);i.V.setInt32(4,this.hi,true);return i.V.getBigUint64(0,true)}}t.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(e){if(i)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=i.C(e);case"number":if(e===0)return this.ZERO;e=i.C(e);case"bigint":if(!e)return this.ZERO;if(ei.MAX)throw new Error("signed long too large");i.V.setBigInt64(0,e,true);return new PbLong(i.V.getInt32(0,true),i.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!A.test(e))throw new Error("string is no integer");let[t,n,i]=o.int64fromString(e);if(t){if(i>d||i==d&&n!=0)throw new Error("signed long too small")}else if(i>=d)throw new Error("signed long too large");let p=new PbLong(n,i);return t?p.negate():p;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new PbLong(e,e/c):new PbLong(-e,-e/c).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&d)!==0}negate(){let e=~this.hi,t=this.lo;if(t)t=~t+1;else e+=1;return new PbLong(t,e)}toString(){if(i)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+o.int64toString(e.lo,e.hi)}return o.int64toString(this.lo,this.hi)}toBigInt(){assertBi(i);i.V.setInt32(0,this.lo,true);i.V.setInt32(4,this.hi,true);return i.V.getBigInt64(0,true)}}t.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},58950:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.utf8read=void 0;const fromCharCodes=e=>String.fromCharCode.apply(String,e);function utf8read(e){if(e.length<1)return"";let t=0,n=[],o=[],i=0,A;let c=e.length;while(t191&&A<224)o[i++]=(A&31)<<6|e[t++]&63;else if(A>239&&A<365){A=((A&7)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63)-65536;o[i++]=55296+(A>>10);o[i++]=56320+(A&1023)}else o[i++]=(A&15)<<12|(e[t++]&63)<<6|e[t++]&63;if(i>8191){n.push(fromCharCodes(o));i=0}}if(n.length){if(i)n.push(fromCharCodes(o.slice(0,i)));return n.join("")}return fromCharCodes(o.slice(0,i))}t.utf8read=utf8read},89611:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryReader=void 0;const o=n(54816);const i=n(67910);const A=n(63402);const c=n(19526);class ReflectionBinaryReader{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){const t=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(t.map((e=>[e.no,e])))}}read(e,t,n,A){this.prepare();const c=A===undefined?e.len:e.pos+A;while(e.pos{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryWriter=void 0;const o=n(54816);const i=n(67910);const A=n(8602);const c=n(61753);class ReflectionBinaryWriter{constructor(e){this.info=e}prepare(){if(!this.fields){const e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort(((e,t)=>e.no-t.no))}}write(e,t,n){this.prepare();for(const o of this.fields){let c,d,p=o.repeat,C=o.localName;if(o.oneof){const t=e[o.oneof];if(t.oneofKind!==C)continue;c=t[C];d=true}else{c=e[C];d=false}switch(o.kind){case"scalar":case"enum":let e=o.kind=="enum"?i.ScalarType.INT32:o.T;if(p){A.assert(Array.isArray(c));if(p==i.RepeatType.PACKED)this.packed(t,e,o.no,c);else for(const n of c)this.scalar(t,e,o.no,n,true)}else if(c===undefined)A.assert(o.opt);else this.scalar(t,e,o.no,c,d||o.opt);break;case"message":if(p){A.assert(Array.isArray(c));for(const e of c)this.message(t,n,o.T(),o.no,e)}else{this.message(t,n,o.T(),o.no,c)}break;case"map":A.assert(typeof c=="object"&&c!==null);for(const[e,i]of Object.entries(c))this.mapEntry(t,n,o,e,i);break}}let c=n.writeUnknownFields;if(c!==false)(c===true?o.UnknownFieldHandler.onWrite:c)(this.info.typeName,e,t)}mapEntry(e,t,n,c,d){e.tag(n.no,o.WireType.LengthDelimited);e.fork();let p=c;switch(n.K){case i.ScalarType.INT32:case i.ScalarType.FIXED32:case i.ScalarType.UINT32:case i.ScalarType.SFIXED32:case i.ScalarType.SINT32:p=Number.parseInt(c);break;case i.ScalarType.BOOL:A.assert(c=="true"||c=="false");p=c=="true";break}this.scalar(e,n.K,1,p,true);switch(n.V.kind){case"scalar":this.scalar(e,n.V.T,2,d,true);break;case"enum":this.scalar(e,i.ScalarType.INT32,2,d,true);break;case"message":this.message(e,t,n.V.T(),2,d);break}e.join()}message(e,t,n,i,A){if(A===undefined)return;n.internalBinaryWrite(A,e.tag(i,o.WireType.LengthDelimited).fork(),t);e.join()}scalar(e,t,n,o,i){let[A,c,d]=this.scalarInfo(t,o);if(!d||i){e.tag(n,A);e[c](o)}}packed(e,t,n,c){if(!c.length)return;A.assert(t!==i.ScalarType.BYTES&&t!==i.ScalarType.STRING);e.tag(n,o.WireType.LengthDelimited);e.fork();let[,d]=this.scalarInfo(t);for(let t=0;t{Object.defineProperty(t,"__esModule",{value:true});t.containsMessageType=void 0;const o=n(43785);function containsMessageType(e){return e[o.MESSAGE_TYPE]!=null}t.containsMessageType=containsMessageType},75726:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionCreate=void 0;const o=n(19526);const i=n(43785);function reflectionCreate(e){const t=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},i.MESSAGE_TYPE,{value:e});for(let n of e.fields){let e=n.localName;if(n.opt)continue;if(n.oneof)t[n.oneof]={oneofKind:undefined};else if(n.repeat)t[e]=[];else switch(n.kind){case"scalar":t[e]=o.reflectionScalarDefault(n.T,n.L);break;case"enum":t[e]=0;break;case"map":t[e]={};break}}return t}t.reflectionCreate=reflectionCreate},4827:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionEquals=void 0;const o=n(67910);function reflectionEquals(e,t,n){if(t===n)return true;if(!t||!n)return false;for(let A of e.fields){let e=A.localName;let c=A.oneof?t[A.oneof][e]:t[e];let d=A.oneof?n[A.oneof][e]:n[e];switch(A.kind){case"enum":case"scalar":let e=A.kind=="enum"?o.ScalarType.INT32:A.T;if(!(A.repeat?repeatedPrimitiveEq(e,c,d):primitiveEq(e,c,d)))return false;break;case"map":if(!(A.V.kind=="message"?repeatedMsgEq(A.V.T(),i(c),i(d)):repeatedPrimitiveEq(A.V.kind=="enum"?o.ScalarType.INT32:A.V.T,i(c),i(d))))return false;break;case"message":let t=A.T();if(!(A.repeat?repeatedMsgEq(t,c,d):t.equals(c,d)))return false;break}}return true}t.reflectionEquals=reflectionEquals;const i=Object.values;function primitiveEq(e,t,n){if(t===n)return true;if(e!==o.ScalarType.BYTES)return false;let i=t;let A=n;if(i.length!==A.length)return false;for(let e=0;e{Object.defineProperty(t,"__esModule",{value:true});t.readMessageOption=t.readFieldOption=t.readFieldOptions=t.normalizeFieldInfo=t.RepeatType=t.LongType=t.ScalarType=void 0;const o=n(4073);var i;(function(e){e[e["DOUBLE"]=1]="DOUBLE";e[e["FLOAT"]=2]="FLOAT";e[e["INT64"]=3]="INT64";e[e["UINT64"]=4]="UINT64";e[e["INT32"]=5]="INT32";e[e["FIXED64"]=6]="FIXED64";e[e["FIXED32"]=7]="FIXED32";e[e["BOOL"]=8]="BOOL";e[e["STRING"]=9]="STRING";e[e["BYTES"]=12]="BYTES";e[e["UINT32"]=13]="UINT32";e[e["SFIXED32"]=15]="SFIXED32";e[e["SFIXED64"]=16]="SFIXED64";e[e["SINT32"]=17]="SINT32";e[e["SINT64"]=18]="SINT64"})(i=t.ScalarType||(t.ScalarType={}));var A;(function(e){e[e["BIGINT"]=0]="BIGINT";e[e["STRING"]=1]="STRING";e[e["NUMBER"]=2]="NUMBER"})(A=t.LongType||(t.LongType={}));var c;(function(e){e[e["NO"]=0]="NO";e[e["PACKED"]=1]="PACKED";e[e["UNPACKED"]=2]="UNPACKED"})(c=t.RepeatType||(t.RepeatType={}));function normalizeFieldInfo(e){var t,n,i,A;e.localName=(t=e.localName)!==null&&t!==void 0?t:o.lowerCamelCase(e.name);e.jsonName=(n=e.jsonName)!==null&&n!==void 0?n:o.lowerCamelCase(e.name);e.repeat=(i=e.repeat)!==null&&i!==void 0?i:c.NO;e.opt=(A=e.opt)!==null&&A!==void 0?A:e.repeat?false:e.oneof?false:e.kind=="message";return e}t.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(e,t,n,o){var i;const A=(i=e.fields.find(((e,n)=>e.localName==t||n==t)))===null||i===void 0?void 0:i.options;return A&&A[n]?o.fromJson(A[n]):undefined}t.readFieldOptions=readFieldOptions;function readFieldOption(e,t,n,o){var i;const A=(i=e.fields.find(((e,n)=>e.localName==t||n==t)))===null||i===void 0?void 0:i.options;if(!A){return undefined}const c=A[n];if(c===undefined){return c}return o?o.fromJson(c):c}t.readFieldOption=readFieldOption;function readMessageOption(e,t,n){const o=e.options;const i=o[t];if(i===undefined){return i}return n?n.fromJson(i):i}t.readMessageOption=readMessageOption},46790:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonReader=void 0;const o=n(49999);const i=n(26335);const A=n(67910);const c=n(61753);const d=n(8602);const p=n(63402);class ReflectionJsonReader{constructor(e){this.info=e}prepare(){var e;if(this.fMap===undefined){this.fMap={};const t=(e=this.info.fields)!==null&&e!==void 0?e:[];for(const e of t){this.fMap[e.name]=e;this.fMap[e.jsonName]=e;this.fMap[e.localName]=e}}}assert(e,t,n){if(!e){let e=o.typeofJsonValue(n);if(e=="number"||e=="boolean")e=n.toString();throw new Error(`Cannot parse JSON ${e} for ${this.info.typeName}#${t}`)}}read(e,t,n){this.prepare();const i=[];for(const[c,d]of Object.entries(e)){const e=this.fMap[c];if(!e){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${c}`);continue}const p=e.localName;let C;if(e.oneof){if(d===null&&(e.kind!=="enum"||e.T()[0]!=="google.protobuf.NullValue")){continue}if(i.includes(e.oneof))throw new Error(`Multiple members of the oneof group "${e.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(e.oneof);C=t[e.oneof]={oneofKind:p}}else{C=t}if(e.kind=="map"){if(d===null){continue}this.assert(o.isJsonObject(d),e.name,d);const t=C[p];for(const[o,i]of Object.entries(d)){this.assert(i!==null,e.name+" map value",null);let c;switch(e.V.kind){case"message":c=e.V.T().internalJsonRead(i,n);break;case"enum":c=this.enum(e.V.T(),i,e.name,n.ignoreUnknownFields);if(c===false)continue;break;case"scalar":c=this.scalar(i,e.V.T,e.V.L,e.name);break}this.assert(c!==undefined,e.name+" map value",i);let d=o;if(e.K==A.ScalarType.BOOL)d=d=="true"?true:d=="false"?false:d;d=this.scalar(d,e.K,A.LongType.STRING,e.name).toString();t[d]=c}}else if(e.repeat){if(d===null)continue;this.assert(Array.isArray(d),e.name,d);const t=C[p];for(const o of d){this.assert(o!==null,e.name,null);let i;switch(e.kind){case"message":i=e.T().internalJsonRead(o,n);break;case"enum":i=this.enum(e.T(),o,e.name,n.ignoreUnknownFields);if(i===false)continue;break;case"scalar":i=this.scalar(o,e.T,e.L,e.name);break}this.assert(i!==undefined,e.name,d);t.push(i)}}else{switch(e.kind){case"message":if(d===null&&e.T().typeName!="google.protobuf.Value"){this.assert(e.oneof===undefined,e.name+" (oneof member)",null);continue}C[p]=e.T().internalJsonRead(d,n,C[p]);break;case"enum":if(d===null)continue;let t=this.enum(e.T(),d,e.name,n.ignoreUnknownFields);if(t===false)continue;C[p]=t;break;case"scalar":if(d===null)continue;C[p]=this.scalar(d,e.T,e.L,e.name);break}}}}enum(e,t,n,o){if(e[0]=="google.protobuf.NullValue")d.assert(t===null||t==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`);if(t===null)return 0;switch(typeof t){case"number":d.assert(Number.isInteger(t),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${t}.`);return t;case"string":let i=t;if(e[2]&&t.substring(0,e[2].length)===e[2])i=t.substring(e[2].length);let A=e[1][i];if(typeof A==="undefined"&&o){return false}d.assert(typeof A=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${t}".`);return A}d.assert(false,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof t}".`)}scalar(e,t,n,o){let C;try{switch(t){case A.ScalarType.DOUBLE:case A.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){C="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){C="extra whitespace";break}if(typeof e!="string"&&typeof e!="number"){break}let o=Number(e);if(Number.isNaN(o)){C="not a number";break}if(!Number.isFinite(o)){C="too large or small";break}if(t==A.ScalarType.FLOAT)d.assertFloat32(o);return o;case A.ScalarType.INT32:case A.ScalarType.FIXED32:case A.ScalarType.SFIXED32:case A.ScalarType.SINT32:case A.ScalarType.UINT32:if(e===null)return 0;let S;if(typeof e=="number")S=e;else if(e==="")C="empty string";else if(typeof e=="string"){if(e.trim().length!==e.length)C="extra whitespace";else S=Number(e)}if(S===undefined)break;if(t==A.ScalarType.UINT32)d.assertUInt32(S);else d.assertInt32(S);return S;case A.ScalarType.INT64:case A.ScalarType.SFIXED64:case A.ScalarType.SINT64:if(e===null)return p.reflectionLongConvert(c.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return p.reflectionLongConvert(c.PbLong.from(e),n);case A.ScalarType.FIXED64:case A.ScalarType.UINT64:if(e===null)return p.reflectionLongConvert(c.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return p.reflectionLongConvert(c.PbULong.from(e),n);case A.ScalarType.BOOL:if(e===null)return false;if(typeof e!=="boolean")break;return e;case A.ScalarType.STRING:if(e===null)return"";if(typeof e!=="string"){C="extra whitespace";break}try{encodeURIComponent(e)}catch(C){C="invalid UTF8";break}return e;case A.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!=="string")break;return i.base64decode(e)}}catch(e){C=e.message}this.assert(false,o+(C?" - "+C:""),e)}}t.ReflectionJsonReader=ReflectionJsonReader},11094:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonWriter=void 0;const o=n(26335);const i=n(61753);const A=n(67910);const c=n(8602);class ReflectionJsonWriter{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}write(e,t){const n={},o=e;for(const e of this.fields){if(!e.oneof){let i=this.field(e,o[e.localName],t);if(i!==undefined)n[t.useProtoFieldName?e.name:e.jsonName]=i;continue}const i=o[e.oneof];if(i.oneofKind!==e.localName)continue;const A=e.kind=="scalar"||e.kind=="enum"?Object.assign(Object.assign({},t),{emitDefaultValues:true}):t;let d=this.field(e,i[e.localName],A);c.assert(d!==undefined);n[t.useProtoFieldName?e.name:e.jsonName]=d}return n}field(e,t,n){let o=undefined;if(e.kind=="map"){c.assert(typeof t=="object"&&t!==null);const i={};switch(e.V.kind){case"scalar":for(const[n,o]of Object.entries(t)){const t=this.scalar(e.V.T,o,e.name,false,true);c.assert(t!==undefined);i[n.toString()]=t}break;case"message":const o=e.V.T();for(const[A,d]of Object.entries(t)){const t=this.message(o,d,e.name,n);c.assert(t!==undefined);i[A.toString()]=t}break;case"enum":const A=e.V.T();for(const[o,d]of Object.entries(t)){c.assert(d===undefined||typeof d=="number");const t=this.enum(A,d,e.name,false,true,n.enumAsInteger);c.assert(t!==undefined);i[o.toString()]=t}break}if(n.emitDefaultValues||Object.keys(i).length>0)o=i}else if(e.repeat){c.assert(Array.isArray(t));const i=[];switch(e.kind){case"scalar":for(let n=0;n0||n.emitDefaultValues)o=i}else{switch(e.kind){case"scalar":o=this.scalar(e.T,t,e.name,e.opt,n.emitDefaultValues);break;case"enum":o=this.enum(e.T(),t,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":o=this.message(e.T(),t,e.name,n);break}}return o}enum(e,t,n,o,i,A){if(e[0]=="google.protobuf.NullValue")return!i&&!o?undefined:null;if(t===undefined){c.assert(o);return undefined}if(t===0&&!i&&!o)return undefined;c.assert(typeof t=="number");c.assert(Number.isInteger(t));if(A||!e[1].hasOwnProperty(t))return t;if(e[2])return e[2]+e[1][t];return e[1][t]}message(e,t,n,o){if(t===undefined)return o.emitDefaultValues?null:undefined;return e.internalJsonWrite(t,o)}scalar(e,t,n,d,p){if(t===undefined){c.assert(d);return undefined}const C=p||d;switch(e){case A.ScalarType.INT32:case A.ScalarType.SFIXED32:case A.ScalarType.SINT32:if(t===0)return C?0:undefined;c.assertInt32(t);return t;case A.ScalarType.FIXED32:case A.ScalarType.UINT32:if(t===0)return C?0:undefined;c.assertUInt32(t);return t;case A.ScalarType.FLOAT:c.assertFloat32(t);case A.ScalarType.DOUBLE:if(t===0)return C?0:undefined;c.assert(typeof t=="number");if(Number.isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case A.ScalarType.STRING:if(t==="")return C?"":undefined;c.assert(typeof t=="string");return t;case A.ScalarType.BOOL:if(t===false)return C?false:undefined;c.assert(typeof t=="boolean");return t;case A.ScalarType.UINT64:case A.ScalarType.FIXED64:c.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let e=i.PbULong.from(t);if(e.isZero()&&!C)return undefined;return e.toString();case A.ScalarType.INT64:case A.ScalarType.SFIXED64:case A.ScalarType.SINT64:c.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let n=i.PbLong.from(t);if(n.isZero()&&!C)return undefined;return n.toString();case A.ScalarType.BYTES:c.assert(t instanceof Uint8Array);if(!t.byteLength)return C?"":undefined;return o.base64encode(t)}}}t.ReflectionJsonWriter=ReflectionJsonWriter},63402:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionLongConvert=void 0;const o=n(67910);function reflectionLongConvert(e,t){switch(t){case o.LongType.BIGINT:return e.toBigInt();case o.LongType.NUMBER:return e.toNumber();default:return e.toString()}}t.reflectionLongConvert=reflectionLongConvert},98044:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionMergePartial=void 0;function reflectionMergePartial(e,t,n){let o,i=n,A;for(let n of e.fields){let e=n.localName;if(n.oneof){const c=i[n.oneof];if((c===null||c===void 0?void 0:c.oneofKind)==undefined){continue}o=c[e];A=t[n.oneof];A.oneofKind=c.oneofKind;if(o==undefined){delete A[e];continue}}else{o=i[e];A=t;if(o==undefined){continue}}if(n.repeat)A[e].length=o.length;switch(n.kind){case"scalar":case"enum":if(n.repeat)for(let t=0;t{Object.defineProperty(t,"__esModule",{value:true});t.reflectionScalarDefault=void 0;const o=n(67910);const i=n(63402);const A=n(61753);function reflectionScalarDefault(e,t=o.LongType.STRING){switch(e){case o.ScalarType.BOOL:return false;case o.ScalarType.UINT64:case o.ScalarType.FIXED64:return i.reflectionLongConvert(A.PbULong.ZERO,t);case o.ScalarType.INT64:case o.ScalarType.SFIXED64:case o.ScalarType.SINT64:return i.reflectionLongConvert(A.PbLong.ZERO,t);case o.ScalarType.DOUBLE:case o.ScalarType.FLOAT:return 0;case o.ScalarType.BYTES:return new Uint8Array(0);case o.ScalarType.STRING:return"";default:return 0}}t.reflectionScalarDefault=reflectionScalarDefault},25167:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionTypeCheck=void 0;const o=n(67910);const i=n(18063);class ReflectionTypeCheck{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}prepare(){if(this.data)return;const e=[],t=[],n=[];for(let o of this.fields){if(o.oneof){if(!n.includes(o.oneof)){n.push(o.oneof);e.push(o.oneof);t.push(o.oneof)}}else{t.push(o.localName);switch(o.kind){case"scalar":case"enum":if(!o.opt||o.repeat)e.push(o.localName);break;case"message":if(o.repeat)e.push(o.localName);break;case"map":e.push(o.localName);break}}}this.data={req:e,known:t,oneofs:Object.values(n)}}is(e,t,n=false){if(t<0)return true;if(e===null||e===undefined||typeof e!="object")return false;this.prepare();let o=Object.keys(e),A=this.data;if(o.length!o.includes(e))))return false;if(!n){if(o.some((e=>!A.known.includes(e))))return false}if(t<1){return true}for(const o of A.oneofs){const A=e[o];if(!i.isOneofGroup(A))return false;if(A.oneofKind===undefined)continue;const c=this.fields.find((e=>e.localName===A.oneofKind));if(!c)return false;if(!this.field(A[A.oneofKind],c,n,t))return false}for(const o of this.fields){if(o.oneof!==undefined)continue;if(!this.field(e[o.localName],o,n,t))return false}return true}field(e,t,n,i){let A=t.repeat;switch(t.kind){case"scalar":if(e===undefined)return t.opt;if(A)return this.scalars(e,t.T,i,t.L);return this.scalar(e,t.T,t.L);case"enum":if(e===undefined)return t.opt;if(A)return this.scalars(e,o.ScalarType.INT32,i);return this.scalar(e,o.ScalarType.INT32);case"message":if(e===undefined)return true;if(A)return this.messages(e,t.T(),n,i);return this.message(e,t.T(),n,i);case"map":if(typeof e!="object"||e===null)return false;if(i<2)return true;if(!this.mapKeys(e,t.K,i))return false;switch(t.V.kind){case"scalar":return this.scalars(Object.values(e),t.V.T,i,t.V.L);case"enum":return this.scalars(Object.values(e),o.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),t.V.T(),n,i)}break}return true}message(e,t,n,o){if(n){return t.isAssignable(e,o)}return t.is(e,o)}messages(e,t,n,o){if(!Array.isArray(e))return false;if(o<2)return true;if(n){for(let n=0;nparseInt(e))),t,n);case o.ScalarType.BOOL:return this.scalars(i.slice(0,n).map((e=>e=="true"?true:e=="false"?false:e)),t,n);default:return this.scalars(i,t,n,o.LongType.STRING)}}}t.ReflectionTypeCheck=ReflectionTypeCheck},15183:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const c=A(n(58611));const d=A(n(65692));async function toBuffer(e){let t=0;const n=[];for await(const o of e){t+=o.length;n.push(o)}return Buffer.concat(n,t)}t.toBuffer=toBuffer;async function json(e){const t=await toBuffer(e);const n=t.toString("utf8");try{return JSON.parse(n)}catch(e){const t=e;t.message+=` (input: ${n})`;throw t}}t.json=json;function req(e,t={}){const n=typeof e==="string"?e:e.href;const o=(n.startsWith("https:")?d:c).request(e,t);const i=new Promise(((e,t)=>{o.once("response",e).once("error",t).end()}));o.then=i.then.bind(i);return o}t.req=req},98894:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__exportStar||function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))o(t,e,n)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const d=A(n(69278));const p=A(n(58611));const C=n(65692);c(n(15183),t);const S=Symbol("AgentBaseInternalState");class Agent extends p.Agent{constructor(e){super(e);this[S]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint==="boolean"){return e.secureEndpoint}if(typeof e.protocol==="string"){return e.protocol==="https:"}}const{stack:t}=new Error;if(typeof t!=="string")return false;return t.split("\n").some((e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1))}incrementSockets(e){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[e]){this.sockets[e]=[]}const t=new d.Socket({writable:false});this.sockets[e].push(t);this.totalSocketCount++;return t}decrementSockets(e,t){if(!this.sockets[e]||t===null){return}const n=this.sockets[e];const o=n.indexOf(t);if(o!==-1){n.splice(o,1);this.totalSocketCount--;if(n.length===0){delete this.sockets[e]}}}getName(e){const t=this.isSecureEndpoint(e);if(t){return C.Agent.prototype.getName.call(this,e)}return super.getName(e)}createSocket(e,t,n){const o={...t,secureEndpoint:this.isSecureEndpoint(t)};const i=this.getName(o);const A=this.incrementSockets(i);Promise.resolve().then((()=>this.connect(e,o))).then((c=>{this.decrementSockets(i,A);if(c instanceof p.Agent){try{return c.addRequest(e,o)}catch(e){return n(e)}}this[S].currentSocket=c;super.createSocket(e,t,n)}),(e=>{this.decrementSockets(i,A);n(e)}))}createConnection(){const e=this[S].currentSocket;this[S].currentSocket=undefined;if(!e){throw new Error("No socket was returned in the `connect()` function")}return e}get defaultPort(){return this[S].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){if(this[S]){this[S].defaultPort=e}}get protocol(){return this[S].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){if(this[S]){this[S].protocol=e}}}t.Agent=Agent},59380:e=>{e.exports=balanced;function balanced(e,t,n){if(e instanceof RegExp)e=maybeMatch(e,n);if(t instanceof RegExp)t=maybeMatch(t,n);var o=range(e,t,n);return o&&{start:o[0],end:o[1],pre:n.slice(0,o[0]),body:n.slice(o[0]+e.length,o[1]),post:n.slice(o[1]+t.length)}}function maybeMatch(e,t){var n=t.match(e);return n?n[0]:null}balanced.range=range;function range(e,t,n){var o,i,A,c,d;var p=n.indexOf(e);var C=n.indexOf(t,p+1);var S=p;if(p>=0&&C>0){if(e===t){return[p,C]}o=[];A=n.length;while(S>=0&&!d){if(S==p){o.push(S);p=n.indexOf(e,S+1)}else if(o.length==1){d=[o.pop(),C]}else{i=o.pop();if(i=0?p:C}if(o.length){d=[A,c]}}return d}},94691:(e,t,n)=>{var o=n(97087);var i=n(59380);e.exports=expandTop;var A="\0SLASH"+Math.random()+"\0";var c="\0OPEN"+Math.random()+"\0";var d="\0CLOSE"+Math.random()+"\0";var p="\0COMMA"+Math.random()+"\0";var C="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(A).split("\\{").join(c).split("\\}").join(d).split("\\,").join(p).split("\\.").join(C)}function unescapeBraces(e){return e.split(A).join("\\").split(c).join("{").split(d).join("}").split(p).join(",").split(C).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var n=i("{","}",e);if(!n)return e.split(",");var o=n.pre;var A=n.body;var c=n.post;var d=o.split(",");d[d.length-1]+="{"+A+"}";var p=parseCommaParts(c);if(c.length){d[d.length-1]+=p.shift();d.push.apply(d,p)}t.push.apply(t,d);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var n=[];var A=i("{","}",e);if(!A||/\$$/.test(A.pre))return[e];var c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body);var p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body);var C=c||p;var S=A.body.indexOf(",")>=0;if(!C&&!S){if(A.post.match(/,(?!,).*\}/)){e=A.pre+"{"+A.body+d+A.post;return expand(e)}return[e]}var v;if(C){v=A.body.split(/\.\./)}else{v=parseCommaParts(A.body);if(v.length===1){v=expand(v[0],false).map(embrace);if(v.length===1){var T=A.post.length?expand(A.post,false):[""];return T.map((function(e){return A.pre+v[0]+e}))}}}var _=A.pre;var T=A.post.length?expand(A.post,false):[""];var V;if(C){var Z=numeric(v[0]);var ee=numeric(v[1]);var te=Math.max(v[0].length,v[1].length);var re=v.length==3?Math.abs(numeric(v[2])):1;var ne=lte;var oe=ee0){var ce=new Array(Ae+1).join("0");if(se<0)ae="-"+ce+ae.slice(1);else ae=ce+ae}}}V.push(ae)}}else{V=o(v,(function(e){return expand(e,false)}))}for(var le=0;le{e.exports=function(e,n){var o=[];for(var i=0;i{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}o++;if(e==="%c"){i=o}}));t.splice(i,0,n)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=n(40897)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},40897:(e,t,n)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=n(70744);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let n=0;n{if(t==="%%"){return"%"}A++;const i=createDebug.formatters[o];if(typeof i==="function"){const o=e[A];t=i.call(n,o);e.splice(A,1);A--}return t}));createDebug.formatArgs.call(n,e);const c=n.log||createDebug.log;c.apply(n,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(n!==null){return n}if(o!==createDebug.namespaces){o=createDebug.namespaces;i=createDebug.enabled(e)}return i},set:e=>{n=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const n=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);n.log=this.log;return n}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];const t=(typeof e==="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t){if(e[0]==="-"){createDebug.skips.push(e.slice(1))}else{createDebug.names.push(e)}}}function matchesTemplate(e,t){let n=0;let o=0;let i=-1;let A=0;while(n"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){for(const t of createDebug.skips){if(matchesTemplate(e,t)){return false}}for(const t of createDebug.names){if(matchesTemplate(e,t)){return true}}return false}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},2830:(e,t,n)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=n(6110)}else{e.exports=n(95108)}},95108:(e,t,n)=>{const o=n(52018);const i=n(39023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=n(21450);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let o=process.env[t];if(/^(yes|on|true|enabled)$/i.test(o)){o=true}else if(/^(no|off|false|disabled)$/i.test(o)){o=false}else if(o==="null"){o=null}else{o=Number(o)}e[n]=o;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):o.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:n,useColors:o}=this;if(o){const o=this.color;const i="[3"+(o<8?o:"8;5;"+o);const A=` ${i};1m${n} `;t[0]=A+t[0].split("\n").join("\n"+A);t.push(i+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+n+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let o=0;oe.trim())).join(" ")};A.O=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts)}},83813:e=>{e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":e.length===1?"-":"--";const o=t.indexOf(n+e);const i=t.indexOf("--");return o!==-1&&(i===-1||o0){_("Patching connection write() output buffer with updated header");n=e.outputData[0].data;o=n.indexOf("\r\n\r\n")+4;e.outputData[0].data=e._header+n.substring(o);_("Output buffer: %o",e.outputData[0].data)}let i;if(this.proxy.protocol==="https:"){_("Creating `tls.Socket`: %o",this.connectOpts);i=p.connect(this.connectOpts)}else{_("Creating `net.Socket`: %o",this.connectOpts);i=d.connect(this.connectOpts)}await(0,S.once)(i,"connect");return i}}HttpProxyAgent.protocols=["http","https"];t.HttpProxyAgent=HttpProxyAgent;function omit(e,...t){const n={};let o;for(o in e){if(!t.includes(o)){n[o]=e[o]}}return n}},3669:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpsProxyAgent=void 0;const d=A(n(69278));const p=A(n(64756));const C=c(n(42613));const S=c(n(2830));const v=n(98894);const T=n(87016);const _=n(37943);const V=(0,S.default)("https-proxy-agent");const setServernameFromNonIpHost=e=>{if(e.servername===undefined&&e.host&&!d.isIP(e.host)){return{...e,servername:e.host}}return e};class HttpsProxyAgent extends v.Agent{constructor(e,t){super(t);this.options={path:undefined};this.proxy=typeof e==="string"?new T.URL(e):e;this.proxyHeaders=t?.headers??{};V("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const o=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?omit(t,"headers"):null,host:n,port:o}}async connect(e,t){const{proxy:n}=this;if(!t.host){throw new TypeError('No "host" provided')}let o;if(n.protocol==="https:"){V("Creating `tls.Socket`: %o",this.connectOpts);o=p.connect(setServernameFromNonIpHost(this.connectOpts))}else{V("Creating `net.Socket`: %o",this.connectOpts);o=d.connect(this.connectOpts)}const i=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const A=d.isIPv6(t.host)?`[${t.host}]`:t.host;let c=`CONNECT ${A}:${t.port} HTTP/1.1\r\n`;if(n.username||n.password){const e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}i.Host=`${A}:${t.port}`;if(!i["Proxy-Connection"]){i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const e of Object.keys(i)){c+=`${e}: ${i[e]}\r\n`}const S=(0,_.parseProxyResponse)(o);o.write(`${c}\r\n`);const{connect:v,buffered:T}=await S;e.emit("proxyConnect",v);this.emit("proxyConnect",v,e);if(v.statusCode===200){e.once("socket",resume);if(t.secureEndpoint){V("Upgrading socket connection to TLS");return p.connect({...omit(setServernameFromNonIpHost(t),"host","path","port"),socket:o})}return o}o.destroy();const Z=new d.Socket({writable:false});Z.readable=true;e.once("socket",(e=>{V("Replaying proxy buffer for failed request");(0,C.default)(e.listenerCount("data")>0);e.push(T);e.push(null)}));return Z}}HttpsProxyAgent.protocols=["http","https"];t.HttpsProxyAgent=HttpsProxyAgent;function resume(e){e.resume()}function omit(e,...t){const n={};let o;for(o in e){if(!t.includes(o)){n[o]=e[o]}}return n}},37943:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.parseProxyResponse=void 0;const i=o(n(2830));const A=(0,i.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,n)=>{let o=0;const i=[];function read(){const t=e.read();if(t)ondata(t);else e.once("readable",read)}function cleanup(){e.removeListener("end",onend);e.removeListener("error",onerror);e.removeListener("readable",read)}function onend(){cleanup();A("onend");n(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(e){cleanup();A("onerror %o",e);n(e)}function ondata(c){i.push(c);o+=c.length;const d=Buffer.concat(i,o);const p=d.indexOf("\r\n\r\n");if(p===-1){A("have not received end of HTTP headers yet...");read();return}const C=d.slice(0,p).toString("ascii").split("\r\n");const S=C.shift();if(!S){e.destroy();return n(new Error("No header received from proxy CONNECT response"))}const v=S.split(" ");const T=+v[1];const _=v.slice(2).join(" ");const V={};for(const t of C){if(!t)continue;const o=t.indexOf(":");if(o===-1){e.destroy();return n(new Error(`Invalid header from proxy CONNECT response: "${t}"`))}const i=t.slice(0,o).toLowerCase();const A=t.slice(o+1).trimStart();const c=V[i];if(typeof c==="string"){V[i]=[c,A]}else if(Array.isArray(c)){c.push(A)}else{V[i]=A}}A("got proxy server response: %o %o",S,V);cleanup();t({connect:{statusCode:T,statusText:_,headers:V},buffered:d})}e.on("error",onerror);e.on("end",onend);read()}))}t.parseProxyResponse=parseProxyResponse},43772:(e,t,n)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var o=function(){try{return n(16928)}catch(e){}}()||{sep:"/"};minimatch.sep=o.sep;var i=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var A=n(94691);var c={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var d="[^/]";var p=d+"*?";var C="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var S="(?:(?!(?:\\/|^)\\.).)*?";var v=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var T=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(n,o,i){return minimatch(n,e,t)}}function ext(e,t){t=t||{};var n={};Object.keys(e).forEach((function(t){n[t]=e[t]}));Object.keys(t).forEach((function(e){n[e]=t[e]}));return n}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var n=function minimatch(n,o,i){return t(n,o,ext(e,i))};n.Minimatch=function Minimatch(n,o){return new t.Minimatch(n,ext(e,o))};n.Minimatch.defaults=function defaults(n){return t.defaults(ext(e,n)).Minimatch};n.filter=function filter(n,o){return t.filter(n,ext(e,o))};n.defaults=function defaults(n){return t.defaults(ext(e,n))};n.makeRe=function makeRe(n,o){return t.makeRe(n,ext(e,o))};n.braceExpand=function braceExpand(n,o){return t.braceExpand(n,ext(e,o))};n.match=function(n,o,i){return t.match(n,o,ext(e,i))};return n};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,n){assertValidPattern(t);if(!n)n={};if(!n.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,n).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}assertValidPattern(e);if(!t)t={};e=e.trim();if(!t.allowWindowsEscape&&o.sep!=="/"){e=e.split(o.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!t.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var n=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,n);n=this.globParts=n.map((function(e){return e.split(T)}));this.debug(this.pattern,n);n=n.map((function(e,t,n){return e.map(this.parse,this)}),this);this.debug(this.pattern,n);n=n.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,n);this.set=n}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var n=this.options;var o=0;if(n.nonegate)return;for(var i=0,A=e.length;i_){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var V={};function parse(e,t){assertValidPattern(e);var n=this.options;if(e==="**"){if(!n.noglobstar)return i;else e="*"}if(e==="")return"";var o="";var A=!!n.nocase;var C=false;var S=[];var T=[];var _;var Z=false;var ee=-1;var te=-1;var re=e.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var ne=this;function clearStateChar(){if(_){switch(_){case"*":o+=p;A=true;break;case"?":o+=d;A=true;break;default:o+="\\"+_;break}ne.debug("clearStateChar %j %j",_,o);_=false}}for(var oe=0,ie=e.length,se;oe-1;pe--){var ge=T[pe];var me=o.slice(0,ge.reStart);var he=o.slice(ge.reStart,ge.reEnd-8);var fe=o.slice(ge.reEnd-8,ge.reEnd);var ye=o.slice(ge.reEnd);fe+=ye;var Ce=me.split("(").length-1;var Ee=ye;for(oe=0;oe=0;c--){A=e[c];if(A)break}for(c=0;c>> no match, partial?",e,v,t,T);if(v===d)return true}return false}var V;if(typeof C==="string"){V=S===C;this.debug("string match",C,S,V)}else{V=S.match(C);this.debug("pattern match",C,S,V)}if(!V)return false}if(A===d&&c===p){return true}else if(A===d){return n}else if(c===p){return A===d-1&&e[A]===""}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},70744:e=>{var t=1e3;var n=t*60;var o=n*60;var i=o*24;var A=i*7;var c=i*365.25;e.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0){return parse(e)}else if(n==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!d){return}var p=parseFloat(d[1]);var C=(d[2]||"ms").toLowerCase();switch(C){case"years":case"year":case"yrs":case"yr":case"y":return p*c;case"weeks":case"week":case"w":return p*A;case"days":case"day":case"d":return p*i;case"hours":case"hour":case"hrs":case"hr":case"h":return p*o;case"minutes":case"minute":case"mins":case"min":case"m":return p*n;case"seconds":case"second":case"secs":case"sec":case"s":return p*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return undefined}}function fmtShort(e){var A=Math.abs(e);if(A>=i){return Math.round(e/i)+"d"}if(A>=o){return Math.round(e/o)+"h"}if(A>=n){return Math.round(e/n)+"m"}if(A>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var A=Math.abs(e);if(A>=i){return plural(e,A,i,"day")}if(A>=o){return plural(e,A,o,"hour")}if(A>=n){return plural(e,A,n,"minute")}if(A>=t){return plural(e,A,t,"second")}return e+" ms"}function plural(e,t,n,o){var i=t>=n*1.5;return Math.round(e/n)+" "+o+(i?"s":"")}},39318:(e,t)=>{t=e.exports=SemVer;var n;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){n=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{n=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var o=256;var i=Number.MAX_SAFE_INTEGER||9007199254740991;var A=16;var c=o-6;var d=t.re=[];var p=t.safeRe=[];var C=t.src=[];var S=t.tokens={};var v=0;function tok(e){S[e]=v++}var T="[a-zA-Z0-9-]";var _=[["\\s",1],["\\d",o],[T,c]];function makeSafeRe(e){for(var t=0;t<_.length;t++){var n=_[t][0];var o=_[t][1];e=e.split(n+"*").join(n+"{0,"+o+"}").split(n+"+").join(n+"{1,"+o+"}")}return e}tok("NUMERICIDENTIFIER");C[S.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");C[S.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");C[S.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+T+"*";tok("MAINVERSION");C[S.MAINVERSION]="("+C[S.NUMERICIDENTIFIER]+")\\."+"("+C[S.NUMERICIDENTIFIER]+")\\."+"("+C[S.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");C[S.MAINVERSIONLOOSE]="("+C[S.NUMERICIDENTIFIERLOOSE]+")\\."+"("+C[S.NUMERICIDENTIFIERLOOSE]+")\\."+"("+C[S.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");C[S.PRERELEASEIDENTIFIER]="(?:"+C[S.NUMERICIDENTIFIER]+"|"+C[S.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");C[S.PRERELEASEIDENTIFIERLOOSE]="(?:"+C[S.NUMERICIDENTIFIERLOOSE]+"|"+C[S.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");C[S.PRERELEASE]="(?:-("+C[S.PRERELEASEIDENTIFIER]+"(?:\\."+C[S.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");C[S.PRERELEASELOOSE]="(?:-?("+C[S.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+C[S.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");C[S.BUILDIDENTIFIER]=T+"+";tok("BUILD");C[S.BUILD]="(?:\\+("+C[S.BUILDIDENTIFIER]+"(?:\\."+C[S.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");C[S.FULLPLAIN]="v?"+C[S.MAINVERSION]+C[S.PRERELEASE]+"?"+C[S.BUILD]+"?";C[S.FULL]="^"+C[S.FULLPLAIN]+"$";tok("LOOSEPLAIN");C[S.LOOSEPLAIN]="[v=\\s]*"+C[S.MAINVERSIONLOOSE]+C[S.PRERELEASELOOSE]+"?"+C[S.BUILD]+"?";tok("LOOSE");C[S.LOOSE]="^"+C[S.LOOSEPLAIN]+"$";tok("GTLT");C[S.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");C[S.XRANGEIDENTIFIERLOOSE]=C[S.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");C[S.XRANGEIDENTIFIER]=C[S.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");C[S.XRANGEPLAIN]="[v=\\s]*("+C[S.XRANGEIDENTIFIER]+")"+"(?:\\.("+C[S.XRANGEIDENTIFIER]+")"+"(?:\\.("+C[S.XRANGEIDENTIFIER]+")"+"(?:"+C[S.PRERELEASE]+")?"+C[S.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");C[S.XRANGEPLAINLOOSE]="[v=\\s]*("+C[S.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+C[S.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+C[S.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+C[S.PRERELEASELOOSE]+")?"+C[S.BUILD]+"?"+")?)?";tok("XRANGE");C[S.XRANGE]="^"+C[S.GTLT]+"\\s*"+C[S.XRANGEPLAIN]+"$";tok("XRANGELOOSE");C[S.XRANGELOOSE]="^"+C[S.GTLT]+"\\s*"+C[S.XRANGEPLAINLOOSE]+"$";tok("COERCE");C[S.COERCE]="(^|[^\\d])"+"(\\d{1,"+A+"})"+"(?:\\.(\\d{1,"+A+"}))?"+"(?:\\.(\\d{1,"+A+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");d[S.COERCERTL]=new RegExp(C[S.COERCE],"g");p[S.COERCERTL]=new RegExp(makeSafeRe(C[S.COERCE]),"g");tok("LONETILDE");C[S.LONETILDE]="(?:~>?)";tok("TILDETRIM");C[S.TILDETRIM]="(\\s*)"+C[S.LONETILDE]+"\\s+";d[S.TILDETRIM]=new RegExp(C[S.TILDETRIM],"g");p[S.TILDETRIM]=new RegExp(makeSafeRe(C[S.TILDETRIM]),"g");var V="$1~";tok("TILDE");C[S.TILDE]="^"+C[S.LONETILDE]+C[S.XRANGEPLAIN]+"$";tok("TILDELOOSE");C[S.TILDELOOSE]="^"+C[S.LONETILDE]+C[S.XRANGEPLAINLOOSE]+"$";tok("LONECARET");C[S.LONECARET]="(?:\\^)";tok("CARETTRIM");C[S.CARETTRIM]="(\\s*)"+C[S.LONECARET]+"\\s+";d[S.CARETTRIM]=new RegExp(C[S.CARETTRIM],"g");p[S.CARETTRIM]=new RegExp(makeSafeRe(C[S.CARETTRIM]),"g");var Z="$1^";tok("CARET");C[S.CARET]="^"+C[S.LONECARET]+C[S.XRANGEPLAIN]+"$";tok("CARETLOOSE");C[S.CARETLOOSE]="^"+C[S.LONECARET]+C[S.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");C[S.COMPARATORLOOSE]="^"+C[S.GTLT]+"\\s*("+C[S.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");C[S.COMPARATOR]="^"+C[S.GTLT]+"\\s*("+C[S.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");C[S.COMPARATORTRIM]="(\\s*)"+C[S.GTLT]+"\\s*("+C[S.LOOSEPLAIN]+"|"+C[S.XRANGEPLAIN]+")";d[S.COMPARATORTRIM]=new RegExp(C[S.COMPARATORTRIM],"g");p[S.COMPARATORTRIM]=new RegExp(makeSafeRe(C[S.COMPARATORTRIM]),"g");var ee="$1$2$3";tok("HYPHENRANGE");C[S.HYPHENRANGE]="^\\s*("+C[S.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+C[S.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");C[S.HYPHENRANGELOOSE]="^\\s*("+C[S.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+C[S.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");C[S.STAR]="(<|>)?=?\\s*\\*";for(var te=0;teo){return null}var n=t.loose?p[S.LOOSE]:p[S.FULL];if(!n.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var n=parse(e,t);return n?n.version:null}t.clean=clean;function clean(e,t){var n=parse(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>o){throw new TypeError("version is longer than "+o+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;var A=e.trim().match(t.loose?p[S.LOOSE]:p[S.FULL]);if(!A){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+A[1];this.minor=+A[2];this.patch=+A[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!A[4]){this.prerelease=[]}else{this.prerelease=A[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,n,o){if(typeof n==="string"){o=n;n=undefined}try{return new SemVer(e,n).inc(t,o).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var n=parse(e);var o=parse(t);var i="";if(n.prerelease.length||o.prerelease.length){i="pre";var A="prerelease"}for(var c in n){if(c==="major"||c==="minor"||c==="patch"){if(n[c]!==o[c]){return i+c}}}return A}}t.compareIdentifiers=compareIdentifiers;var re=/^[0-9]+$/;function compareIdentifiers(e,t){var n=re.test(e);var o=re.test(t);if(n&&o){e=+e;t=+t}return e===t?0:n&&!o?-1:o&&!n?1:e0}t.lt=lt;function lt(e,t,n){return compare(e,t,n)<0}t.eq=eq;function eq(e,t,n){return compare(e,t,n)===0}t.neq=neq;function neq(e,t,n){return compare(e,t,n)!==0}t.gte=gte;function gte(e,t,n){return compare(e,t,n)>=0}t.lte=lte;function lte(e,t,n){return compare(e,t,n)<=0}t.cmp=cmp;function cmp(e,t,n,o){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e===n;case"!==":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e!==n;case"":case"=":case"==":return eq(e,n,o);case"!=":return neq(e,n,o);case">":return gt(e,n,o);case">=":return gte(e,n,o);case"<":return lt(e,n,o);case"<=":return lte(e,n,o);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}e=e.trim().split(/\s+/).join(" ");n("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===ne){this.value=""}else{this.value=this.operator+this.semver.version}n("comp",this)}var ne={};Comparator.prototype.parse=function(e){var t=this.options.loose?p[S.COMPARATORLOOSE]:p[S.COMPARATOR];var n=e.match(t);if(!n){throw new TypeError("Invalid comparator: "+e)}this.operator=n[1]!==undefined?n[1]:"";if(this.operator==="="){this.operator=""}if(!n[2]){this.semver=ne}else{this.semver=new SemVer(n[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){n("Comparator.test",e,this.options.loose);if(this.semver===ne||e===ne){return true}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var n;if(this.operator===""){if(this.value===""){return true}n=new Range(e.value,t);return satisfies(this.value,n,t)}else if(e.operator===""){if(e.value===""){return true}n=new Range(this.value,t);return satisfies(e.semver,n,t)}var o=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var i=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var A=this.semver.version===e.semver.version;var c=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var d=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var p=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return o||i||A&&c||d||p};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}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}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+this.raw)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;var o=t?p[S.HYPHENRANGELOOSE]:p[S.HYPHENRANGE];e=e.replace(o,hyphenReplace);n("hyphen replace",e);e=e.replace(p[S.COMPARATORTRIM],ee);n("comparator trim",e,p[S.COMPARATORTRIM]);e=e.replace(p[S.TILDETRIM],V);e=e.replace(p[S.CARETTRIM],Z);e=e.split(/\s+/).join(" ");var i=t?p[S.COMPARATORLOOSE]:p[S.COMPARATOR];var A=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){A=A.filter((function(e){return!!e.match(i)}))}A=A.map((function(e){return new Comparator(e,this.options)}),this);return A};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(n){return isSatisfiable(n,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var n=true;var o=e.slice();var i=o.pop();while(n&&o.length){n=o.every((function(e){return i.intersects(e,t)}));i=o.pop()}return n}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){n("comp",e,t);e=replaceCarets(e,t);n("caret",e);e=replaceTildes(e,t);n("tildes",e);e=replaceXRanges(e,t);n("xrange",e);e=replaceStars(e,t);n("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var o=t.loose?p[S.TILDELOOSE]:p[S.TILDE];return e.replace(o,(function(t,o,i,A,c){n("tilde",e,t,o,i,A,c);var d;if(isX(o)){d=""}else if(isX(i)){d=">="+o+".0.0 <"+(+o+1)+".0.0"}else if(isX(A)){d=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"}else if(c){n("replaceTilde pr",c);d=">="+o+"."+i+"."+A+"-"+c+" <"+o+"."+(+i+1)+".0"}else{d=">="+o+"."+i+"."+A+" <"+o+"."+(+i+1)+".0"}n("tilde return",d);return d}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){n("caret",e,t);var o=t.loose?p[S.CARETLOOSE]:p[S.CARET];return e.replace(o,(function(t,o,i,A,c){n("caret",e,t,o,i,A,c);var d;if(isX(o)){d=""}else if(isX(i)){d=">="+o+".0.0 <"+(+o+1)+".0.0"}else if(isX(A)){if(o==="0"){d=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"}else{d=">="+o+"."+i+".0 <"+(+o+1)+".0.0"}}else if(c){n("replaceCaret pr",c);if(o==="0"){if(i==="0"){d=">="+o+"."+i+"."+A+"-"+c+" <"+o+"."+i+"."+(+A+1)}else{d=">="+o+"."+i+"."+A+"-"+c+" <"+o+"."+(+i+1)+".0"}}else{d=">="+o+"."+i+"."+A+"-"+c+" <"+(+o+1)+".0.0"}}else{n("no pr");if(o==="0"){if(i==="0"){d=">="+o+"."+i+"."+A+" <"+o+"."+i+"."+(+A+1)}else{d=">="+o+"."+i+"."+A+" <"+o+"."+(+i+1)+".0"}}else{d=">="+o+"."+i+"."+A+" <"+(+o+1)+".0.0"}}n("caret return",d);return d}))}function replaceXRanges(e,t){n("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var o=t.loose?p[S.XRANGELOOSE]:p[S.XRANGE];return e.replace(o,(function(o,i,A,c,d,p){n("xRange",e,o,i,A,c,d,p);var C=isX(A);var S=C||isX(c);var v=S||isX(d);var T=v;if(i==="="&&T){i=""}p=t.includePrerelease?"-0":"";if(C){if(i===">"||i==="<"){o="<0.0.0-0"}else{o="*"}}else if(i&&T){if(S){c=0}d=0;if(i===">"){i=">=";if(S){A=+A+1;c=0;d=0}else{c=+c+1;d=0}}else if(i==="<="){i="<";if(S){A=+A+1}else{c=+c+1}}o=i+A+"."+c+"."+d+p}else if(S){o=">="+A+".0.0"+p+" <"+(+A+1)+".0.0"+p}else if(v){o=">="+A+"."+c+".0"+p+" <"+A+"."+(+c+1)+".0"+p}n("xRange return",o);return o}))}function replaceStars(e,t){n("replaceStars",e,t);return e.trim().replace(p[S.STAR],"")}function hyphenReplace(e,t,n,o,i,A,c,d,p,C,S,v,T){if(isX(n)){t=""}else if(isX(o)){t=">="+n+".0.0"}else if(isX(i)){t=">="+n+"."+o+".0"}else{t=">="+t}if(isX(p)){d=""}else if(isX(C)){d="<"+(+p+1)+".0.0"}else if(isX(S)){d="<"+p+"."+(+C+1)+".0"}else if(v){d="<="+p+"."+C+"."+S+"-"+v}else{d="<="+d}return(t+" "+d).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}for(var t=0;t0){var A=e[i].semver;if(A.major===t.major&&A.minor===t.minor&&A.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,n){try{t=new Range(t,n)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,n){var o=null;var i=null;try{var A=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(A.test(e)){if(!o||i.compare(e)===-1){o=e;i=new SemVer(o,n)}}}));return o}t.minSatisfying=minSatisfying;function minSatisfying(e,t,n){var o=null;var i=null;try{var A=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(A.test(e)){if(!o||i.compare(e)===1){o=e;i=new SemVer(o,n)}}}));return o}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var n=new SemVer("0.0.0");if(e.test(n)){return n}n=new SemVer("0.0.0-0");if(e.test(n)){return n}n=null;for(var o=0;o":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!n||gt(n,t)){n=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n)){return n}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,n){return outside(e,t,"<",n)}t.gtr=gtr;function gtr(e,t,n){return outside(e,t,">",n)}t.outside=outside;function outside(e,t,n,o){e=new SemVer(e,o);t=new Range(t,o);var i,A,c,d,p;switch(n){case">":i=gt;A=lte;c=lt;d=">";p=">=";break;case"<":i=lt;A=gte;c=gt;d="<";p="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,o)){return false}for(var C=0;C=0.0.0")}v=v||e;T=T||e;if(i(e.semver,v.semver,o)){v=e}else if(c(e.semver,T.semver,o)){T=e}}));if(v.operator===d||v.operator===p){return false}if((!T.operator||T.operator===d)&&A(e,T.semver)){return false}else if(T.operator===p&&c(e,T.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var n=parse(e,t);return n&&n.prerelease.length?n.prerelease:null}t.intersects=intersects;function intersects(e,t,n){e=new Range(e,n);t=new Range(t,n);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};var n=null;if(!t.rtl){n=e.match(p[S.COERCE])}else{var o;while((o=p[S.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length)){if(!n||o.index+o[0].length!==n.index+n[0].length){n=o}p[S.COERCERTL].lastIndex=o.index+o[1].length+o[2].length}p[S.COERCERTL].lastIndex=-1}if(n===null){return null}return parse(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},21450:(e,t,n)=>{const o=n(70857);const i=n(52018);const A=n(83813);const{env:c}=process;let d;if(A("no-color")||A("no-colors")||A("color=false")||A("color=never")){d=0}else if(A("color")||A("colors")||A("color=true")||A("color=always")){d=1}if("FORCE_COLOR"in c){if(c.FORCE_COLOR==="true"){d=1}else if(c.FORCE_COLOR==="false"){d=0}else{d=c.FORCE_COLOR.length===0?1:Math.min(parseInt(c.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(d===0){return 0}if(A("color=16m")||A("color=full")||A("color=truecolor")){return 3}if(A("color=256")){return 2}if(e&&!t&&d===undefined){return 0}const n=d||0;if(c.TERM==="dumb"){return n}if(process.platform==="win32"){const e=o.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in c){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in c))||c.CI_NAME==="codeship"){return 1}return n}if("TEAMCITY_VERSION"in c){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION)?1:0}if(c.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in c){const e=parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(c.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)){return 1}if("COLORTERM"in c){return 1}return n}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,i.isatty(1))),stderr:translateLevel(supportsColor(true,i.isatty(2)))}},61860:e=>{var t;var n;var o;var i;var A;var c;var d;var p;var C;var S;var v;var T;var _;var V;var Z;var ee;var te;var re;var ne;var oe;var ie;var se;var ae;var Ae;var ce;var le;var ue;var de;var pe;var ge;var me;var he;(function(t){var n=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(n,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(n,createExporter(e.exports)))}else{t(createExporter(n))}function createExporter(e,t){if(e!==n){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(n,o){return e[n]=t?t(n,o):o}}})((function(e){var fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");fe(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=0;d--)if(c=e[d])A=(i<3?c(A):i>3?c(t,n,A):c(t,n))||A;return i>3&&A&&Object.defineProperty(t,n,A),A};A=function(e,t){return function(n,o){t(n,o,e)}};c=function(e,t,n,o,i,A){function accept(e){if(e!==void 0&&typeof e!=="function")throw new TypeError("Function expected");return e}var c=o.kind,d=c==="getter"?"get":c==="setter"?"set":"value";var p=!t&&e?o["static"]?e:e.prototype:null;var C=t||(p?Object.getOwnPropertyDescriptor(p,o.name):{});var S,v=false;for(var T=n.length-1;T>=0;T--){var _={};for(var V in o)_[V]=V==="access"?{}:o[V];for(var V in o.access)_.access[V]=o.access[V];_.addInitializer=function(e){if(v)throw new TypeError("Cannot add initializers after decoration has completed");A.push(accept(e||null))};var Z=(0,n[T])(c==="accessor"?{get:C.get,set:C.set}:C[d],_);if(c==="accessor"){if(Z===void 0)continue;if(Z===null||typeof Z!=="object")throw new TypeError("Object expected");if(S=accept(Z.get))C.get=S;if(S=accept(Z.set))C.set=S;if(S=accept(Z.init))i.unshift(S)}else if(S=accept(Z)){if(c==="field")i.unshift(S);else C[d]=S}}if(p)Object.defineProperty(p,o.name,C);v=true};d=function(e,t,n){var o=arguments.length>2;for(var i=0;i0&&A[A.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!A||d[1]>A[0]&&d[1]=e.length)e=void 0;return{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Z=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,A=[],c;try{while((t===void 0||t-- >0)&&!(i=o.next()).done)A.push(i.value)}catch(e){c={error:e}}finally{try{if(i&&!i.done&&(n=o["return"]))n.call(o)}finally{if(c)throw c.error}}return A};ee=function(){for(var e=[],t=0;t1||resume(e,t)}))};if(t)i[e]=t(i[e])}}function resume(e,t){try{step(o[e](t))}catch(e){settle(A[0][3],e)}}function step(e){e.value instanceof ne?Promise.resolve(e.value.v).then(fulfill,reject):settle(A[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),A.shift(),A.length)resume(A[0][0],A[0][1])}};ie=function(e){var t,n;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(o,i){t[o]=e[o]?function(t){return(n=!n)?{value:ne(e[o](t)),done:false}:i?i(t):t}:i}};se=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof V==="function"?V(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(o,i){n=e[t](n),settle(o,i,n.done,n.value)}))}}function settle(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}};ae=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var ye=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t};var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};Ae=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),o=0;o{e.exports=n(20218)},20218:(e,t,n)=>{var o=n(69278);var i=n(64756);var A=n(58611);var c=n(65692);var d=n(24434);var p=n(42613);var C=n(39023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=A.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=A.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=c.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=c.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||A.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,n,o,i){var A=toOptions(n,o,i);for(var c=0,d=t.requests.length;c=this.maxSockets){i.requests.push(A);return}i.createSocket(A,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){i.emit("free",t,A)}function onCloseOrRemove(e){i.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var n=this;var o={};n.sockets.push(o);var i=mergeOptions({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){i.localAddress=e.localAddress}if(i.proxyAuth){i.headers=i.headers||{};i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")}S("making CONNECT request");var A=n.request(i);A.useChunkedEncodingByDefault=false;A.once("response",onResponse);A.once("upgrade",onUpgrade);A.once("connect",onConnect);A.once("error",onError);A.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,n){process.nextTick((function(){onConnect(e,t,n)}))}function onConnect(i,c,d){A.removeAllListeners();c.removeAllListeners();if(i.statusCode!==200){S("tunneling socket could not be established, statusCode=%d",i.statusCode);c.destroy();var p=new Error("tunneling socket could not be established, "+"statusCode="+i.statusCode);p.code="ECONNRESET";e.request.emit("error",p);n.removeSocket(o);return}if(d.length>0){S("got illegal response body from proxy");c.destroy();var p=new Error("got illegal response body from proxy");p.code="ECONNRESET";e.request.emit("error",p);n.removeSocket(o);return}S("tunneling connection has established");n.sockets[n.sockets.indexOf(o)]=c;return t(c)}function onError(t){A.removeAllListeners();S("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var i=new Error("tunneling socket could not be established, "+"cause="+t.message);i.code="ECONNRESET";e.request.emit("error",i);n.removeSocket(o)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var n=this.requests.shift();if(n){this.createSocket(n,(function(e){n.request.onSocket(e)}))}};function createSecureSocket(e,t){var n=this;TunnelingAgent.prototype.createSocket.call(n,e,(function(o){var A=e.request.getHeader("host");var c=mergeOptions({},n.options,{socket:o,servername:A?A.replace(/:.*$/,""):e.host});var d=i.connect(0,c);n.sockets[n.sockets.indexOf(o)]=d;t(d)}))}function toOptions(e,t,n){if(typeof e==="string"){return{host:e,port:t,localAddress:n}}return e}function mergeOptions(e){for(var t=1,n=arguments.length;t{const o=n(86197);const i=n(28611);const A=n(68707);const c=n(35076);const d=n(81093);const p=n(59965);const C=n(3440);const{InvalidArgumentError:S}=A;const v=n(56615);const T=n(59136);const _=n(47365);const V=n(47501);const Z=n(94004);const ee=n(52429);const te=n(22720);const re=n(53573);const{getGlobalDispatcher:ne,setGlobalDispatcher:oe}=n(32581);const ie=n(78840);const se=n(48299);const ae=n(64415);let Ae;try{n(76982);Ae=true}catch{Ae=false}Object.assign(i.prototype,v);e.exports.Dispatcher=i;e.exports.Client=o;e.exports.Pool=c;e.exports.BalancedPool=d;e.exports.Agent=p;e.exports.ProxyAgent=te;e.exports.RetryHandler=re;e.exports.DecoratorHandler=ie;e.exports.RedirectHandler=se;e.exports.createRedirectInterceptor=ae;e.exports.buildConnector=T;e.exports.errors=A;function makeDispatcher(e){return(t,n,o)=>{if(typeof n==="function"){o=n;n=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new S("invalid url")}if(n!=null&&typeof n!=="object"){throw new S("invalid opts")}if(n&&n.path!=null){if(typeof n.path!=="string"){throw new S("invalid opts.path")}let e=n.path;if(!n.path.startsWith("/")){e=`/${e}`}t=new URL(C.parseOrigin(t).origin+e)}else{if(!n){n=typeof t==="object"?t:{}}t=C.parseURL(t)}const{agent:i,dispatcher:A=ne()}=n;if(i){throw new S("unsupported opts.agent. Did you mean opts.client?")}return e.call(A,{...n,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:n.method||(n.body?"PUT":"GET")},o)}}e.exports.setGlobalDispatcher=oe;e.exports.getGlobalDispatcher=ne;if(C.nodeMajor>16||C.nodeMajor===16&&C.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=n(12315).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=n(26349).Headers;e.exports.Response=n(48676).Response;e.exports.Request=n(25194).Request;e.exports.FormData=n(43073).FormData;e.exports.File=n(63041).File;e.exports.FileReader=n(82160).FileReader;const{setGlobalOrigin:o,getGlobalOrigin:i}=n(75628);e.exports.setGlobalOrigin=o;e.exports.getGlobalOrigin=i;const{CacheStorage:A}=n(44738);const{kConstruct:c}=n(80296);e.exports.caches=new A(c)}if(C.nodeMajor>=16){const{deleteCookie:t,getCookies:o,getSetCookies:i,setCookie:A}=n(53168);e.exports.deleteCookie=t;e.exports.getCookies=o;e.exports.getSetCookies=i;e.exports.setCookie=A;const{parseMIMEType:c,serializeAMimeType:d}=n(94322);e.exports.parseMIMEType=c;e.exports.serializeAMimeType=d}if(C.nodeMajor>=18&&Ae){const{WebSocket:t}=n(55171);e.exports.WebSocket=t}e.exports.request=makeDispatcher(v.request);e.exports.stream=makeDispatcher(v.stream);e.exports.pipeline=makeDispatcher(v.pipeline);e.exports.connect=makeDispatcher(v.connect);e.exports.upgrade=makeDispatcher(v.upgrade);e.exports.MockClient=_;e.exports.MockPool=Z;e.exports.MockAgent=V;e.exports.mockErrors=ee},59965:(e,t,n)=>{const{InvalidArgumentError:o}=n(68707);const{kClients:i,kRunning:A,kClose:c,kDestroy:d,kDispatch:p,kInterceptors:C}=n(36443);const S=n(50001);const v=n(35076);const T=n(86197);const _=n(3440);const V=n(64415);const{WeakRef:Z,FinalizationRegistry:ee}=n(13194)();const te=Symbol("onConnect");const re=Symbol("onDisconnect");const ne=Symbol("onConnectionError");const oe=Symbol("maxRedirections");const ie=Symbol("onDrain");const se=Symbol("factory");const ae=Symbol("finalizer");const Ae=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new T(e,t):new v(e,t)}class Agent extends S{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:n,...A}={}){super();if(typeof e!=="function"){throw new o("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new o("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new o("maxRedirections must be a positive number")}if(n&&typeof n!=="function"){n={...n}}this[C]=A.interceptors&&A.interceptors.Agent&&Array.isArray(A.interceptors.Agent)?A.interceptors.Agent:[V({maxRedirections:t})];this[Ae]={..._.deepClone(A),connect:n};this[Ae].interceptors=A.interceptors?{...A.interceptors}:undefined;this[oe]=t;this[se]=e;this[i]=new Map;this[ae]=new ee((e=>{const t=this[i].get(e);if(t!==undefined&&t.deref()===undefined){this[i].delete(e)}}));const c=this;this[ie]=(e,t)=>{c.emit("drain",e,[c,...t])};this[te]=(e,t)=>{c.emit("connect",e,[c,...t])};this[re]=(e,t,n)=>{c.emit("disconnect",e,[c,...t],n)};this[ne]=(e,t,n)=>{c.emit("connectionError",e,[c,...t],n)}}get[A](){let e=0;for(const t of this[i].values()){const n=t.deref();if(n){e+=n[A]}}return e}[p](e,t){let n;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){n=String(e.origin)}else{throw new o("opts.origin must be a non-empty string or URL.")}const A=this[i].get(n);let c=A?A.deref():null;if(!c){c=this[se](e.origin,this[Ae]).on("drain",this[ie]).on("connect",this[te]).on("disconnect",this[re]).on("connectionError",this[ne]);this[i].set(n,new Z(c));this[ae].register(c,n)}return c.dispatch(e,t)}async[c](){const e=[];for(const t of this[i].values()){const n=t.deref();if(n){e.push(n.close())}}await Promise.all(e)}async[d](e){const t=[];for(const n of this[i].values()){const o=n.deref();if(o){t.push(o.destroy(e))}}await Promise.all(t)}}e.exports=Agent},80158:(e,t,n)=>{const{addAbortListener:o}=n(3440);const{RequestAbortedError:i}=n(68707);const A=Symbol("kListener");const c=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new i)}}function addSignal(e,t){e[c]=null;e[A]=null;if(!t){return}if(t.aborted){abort(e);return}e[c]=t;e[A]=()=>{abort(e)};o(e[c],e[A])}function removeSignal(e){if(!e[c]){return}if("removeEventListener"in e[c]){e[c].removeEventListener("abort",e[A])}else{e[c].removeListener("abort",e[A])}e[c]=null;e[A]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},34660:(e,t,n)=>{const{AsyncResource:o}=n(90290);const{InvalidArgumentError:i,RequestAbortedError:A,SocketError:c}=n(68707);const d=n(3440);const{addSignal:p,removeSignal:C}=n(80158);class ConnectHandler extends o{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid callback")}const{signal:n,opaque:o,responseHeaders:A}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=o||null;this.responseHeaders=A||null;this.callback=t;this.abort=null;p(this,n)}onConnect(e,t){if(!this.callback){throw new A}this.abort=e;this.context=t}onHeaders(){throw new c("bad connect",null)}onUpgrade(e,t,n){const{callback:o,opaque:i,context:A}=this;C(this);this.callback=null;let c=t;if(c!=null){c=this.responseHeaders==="raw"?d.parseRawHeaders(t):d.parseHeaders(t)}this.runInAsyncScope(o,null,null,{statusCode:e,headers:c,socket:n,opaque:i,context:A})}onError(e){const{callback:t,opaque:n}=this;C(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,n)=>{connect.call(this,e,((e,o)=>e?n(e):t(o)))}))}try{const n=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},n)}catch(n){if(typeof t!=="function"){throw n}const o=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:o})))}}e.exports=connect},76862:(e,t,n)=>{const{Readable:o,Duplex:i,PassThrough:A}=n(2203);const{InvalidArgumentError:c,InvalidReturnValueError:d,RequestAbortedError:p}=n(68707);const C=n(3440);const{AsyncResource:S}=n(90290);const{addSignal:v,removeSignal:T}=n(80158);const _=n(42613);const V=Symbol("resume");class PipelineRequest extends o{constructor(){super({autoDestroy:true});this[V]=null}_read(){const{[V]:e}=this;if(e){this[V]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends o{constructor(e){super({autoDestroy:true});this[V]=e}_read(){this[V]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new p}t(e)}}class PipelineHandler extends S{constructor(e,t){if(!e||typeof e!=="object"){throw new c("invalid opts")}if(typeof t!=="function"){throw new c("invalid handler")}const{signal:n,method:o,opaque:A,onInfo:d,responseHeaders:S}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new c("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new c("invalid method")}if(d&&typeof d!=="function"){throw new c("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=A||null;this.responseHeaders=S||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=d||null;this.req=(new PipelineRequest).on("error",C.nop);this.ret=new i({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,n)=>{const{req:o}=this;if(o.push(e,t)||o._readableState.destroyed){n()}else{o[V]=n}},destroy:(e,t)=>{const{body:n,req:o,res:i,ret:A,abort:c}=this;if(!e&&!A._readableState.endEmitted){e=new p}if(c&&e){c()}C.destroy(n,e);C.destroy(o,e);C.destroy(i,e);T(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;v(this,n)}onConnect(e,t){const{ret:n,res:o}=this;_(!o,"pipeline cannot be retried");if(n.destroyed){throw new p}this.abort=e;this.context=t}onHeaders(e,t,n){const{opaque:o,handler:i,context:A}=this;if(e<200){if(this.onInfo){const n=this.responseHeaders==="raw"?C.parseRawHeaders(t):C.parseHeaders(t);this.onInfo({statusCode:e,headers:n})}return}this.res=new PipelineResponse(n);let c;try{this.handler=null;const n=this.responseHeaders==="raw"?C.parseRawHeaders(t):C.parseHeaders(t);c=this.runInAsyncScope(i,null,{statusCode:e,headers:n,opaque:o,body:this.res,context:A})}catch(e){this.res.on("error",C.nop);throw e}if(!c||typeof c.on!=="function"){throw new d("expected Readable")}c.on("data",(e=>{const{ret:t,body:n}=this;if(!t.push(e)&&n.pause){n.pause()}})).on("error",(e=>{const{ret:t}=this;C.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){C.destroy(e,new p)}}));this.body=c}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;C.destroy(t,e)}}function pipeline(e,t){try{const n=new PipelineHandler(e,t);this.dispatch({...e,body:n.req},n);return n.ret}catch(e){return(new A).destroy(e)}}e.exports=pipeline},14043:(e,t,n)=>{const o=n(49927);const{InvalidArgumentError:i,RequestAbortedError:A}=n(68707);const c=n(3440);const{getResolveErrorBodyCallback:d}=n(87655);const{AsyncResource:p}=n(90290);const{addSignal:C,removeSignal:S}=n(80158);class RequestHandler extends p{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}const{signal:n,method:o,opaque:A,body:d,onInfo:p,responseHeaders:S,throwOnError:v,highWaterMark:T}=e;try{if(typeof t!=="function"){throw new i("invalid callback")}if(T&&(typeof T!=="number"||T<0)){throw new i("invalid highWaterMark")}if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new i("invalid method")}if(p&&typeof p!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(c.isStream(d)){c.destroy(d.on("error",c.nop),e)}throw e}this.responseHeaders=S||null;this.opaque=A||null;this.callback=t;this.res=null;this.abort=null;this.body=d;this.trailers={};this.context=null;this.onInfo=p||null;this.throwOnError=v;this.highWaterMark=T;if(c.isStream(d)){d.on("error",(e=>{this.onError(e)}))}C(this,n)}onConnect(e,t){if(!this.callback){throw new A}this.abort=e;this.context=t}onHeaders(e,t,n,i){const{callback:A,opaque:p,abort:C,context:S,responseHeaders:v,highWaterMark:T}=this;const _=v==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:_})}return}const V=v==="raw"?c.parseHeaders(t):_;const Z=V["content-type"];const ee=new o({resume:n,abort:C,contentType:Z,highWaterMark:T});this.callback=null;this.res=ee;if(A!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(d,null,{callback:A,body:ee,contentType:Z,statusCode:e,statusMessage:i,headers:_})}else{this.runInAsyncScope(A,null,null,{statusCode:e,headers:_,trailers:this.trailers,opaque:p,body:ee,context:S})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;S(this);c.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:n,body:o,opaque:i}=this;S(this);if(n){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(n,null,e,{opaque:i})}))}if(t){this.res=null;queueMicrotask((()=>{c.destroy(t,e)}))}if(o){this.body=null;c.destroy(o,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,n)=>{request.call(this,e,((e,o)=>e?n(e):t(o)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(n){if(typeof t!=="function"){throw n}const o=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:o})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,t,n)=>{const{finished:o,PassThrough:i}=n(2203);const{InvalidArgumentError:A,InvalidReturnValueError:c,RequestAbortedError:d}=n(68707);const p=n(3440);const{getResolveErrorBodyCallback:C}=n(87655);const{AsyncResource:S}=n(90290);const{addSignal:v,removeSignal:T}=n(80158);class StreamHandler extends S{constructor(e,t,n){if(!e||typeof e!=="object"){throw new A("invalid opts")}const{signal:o,method:i,opaque:c,body:d,onInfo:C,responseHeaders:S,throwOnError:T}=e;try{if(typeof n!=="function"){throw new A("invalid callback")}if(typeof t!=="function"){throw new A("invalid factory")}if(o&&typeof o.on!=="function"&&typeof o.addEventListener!=="function"){throw new A("signal must be an EventEmitter or EventTarget")}if(i==="CONNECT"){throw new A("invalid method")}if(C&&typeof C!=="function"){throw new A("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(p.isStream(d)){p.destroy(d.on("error",p.nop),e)}throw e}this.responseHeaders=S||null;this.opaque=c||null;this.factory=t;this.callback=n;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=d;this.onInfo=C||null;this.throwOnError=T||false;if(p.isStream(d)){d.on("error",(e=>{this.onError(e)}))}v(this,o)}onConnect(e,t){if(!this.callback){throw new d}this.abort=e;this.context=t}onHeaders(e,t,n,A){const{factory:d,opaque:S,context:v,callback:T,responseHeaders:_}=this;const V=_==="raw"?p.parseRawHeaders(t):p.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:V})}return}this.factory=null;let Z;if(this.throwOnError&&e>=400){const n=_==="raw"?p.parseHeaders(t):V;const o=n["content-type"];Z=new i;this.callback=null;this.runInAsyncScope(C,null,{callback:T,body:Z,contentType:o,statusCode:e,statusMessage:A,headers:V})}else{if(d===null){return}Z=this.runInAsyncScope(d,null,{statusCode:e,headers:V,opaque:S,context:v});if(!Z||typeof Z.write!=="function"||typeof Z.end!=="function"||typeof Z.on!=="function"){throw new c("expected Writable")}o(Z,{readable:false},(e=>{const{callback:t,res:n,opaque:o,trailers:i,abort:A}=this;this.res=null;if(e||!n.readable){p.destroy(n,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:o,trailers:i});if(e){A()}}))}Z.on("drain",n);this.res=Z;const ee=Z.writableNeedDrain!==undefined?Z.writableNeedDrain:Z._writableState&&Z._writableState.needDrain;return ee!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;T(this);if(!t){return}this.trailers=p.parseHeaders(e);t.end()}onError(e){const{res:t,callback:n,opaque:o,body:i}=this;T(this);this.factory=null;if(t){this.res=null;p.destroy(t,e)}else if(n){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(n,null,e,{opaque:o})}))}if(i){this.body=null;p.destroy(i,e)}}}function stream(e,t,n){if(n===undefined){return new Promise(((n,o)=>{stream.call(this,e,t,((e,t)=>e?o(e):n(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,n))}catch(t){if(typeof n!=="function"){throw t}const o=e&&e.opaque;queueMicrotask((()=>n(t,{opaque:o})))}}e.exports=stream},61882:(e,t,n)=>{const{InvalidArgumentError:o,RequestAbortedError:i,SocketError:A}=n(68707);const{AsyncResource:c}=n(90290);const d=n(3440);const{addSignal:p,removeSignal:C}=n(80158);const S=n(42613);class UpgradeHandler extends c{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid callback")}const{signal:n,opaque:i,responseHeaders:A}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=A||null;this.opaque=i||null;this.callback=t;this.abort=null;this.context=null;p(this,n)}onConnect(e,t){if(!this.callback){throw new i}this.abort=e;this.context=null}onHeaders(){throw new A("bad upgrade",null)}onUpgrade(e,t,n){const{callback:o,opaque:i,context:A}=this;S.strictEqual(e,101);C(this);this.callback=null;const c=this.responseHeaders==="raw"?d.parseRawHeaders(t):d.parseHeaders(t);this.runInAsyncScope(o,null,null,{headers:c,socket:n,opaque:i,context:A})}onError(e){const{callback:t,opaque:n}=this;C(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,n)=>{upgrade.call(this,e,((e,o)=>e?n(e):t(o)))}))}try{const n=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},n)}catch(n){if(typeof t!=="function"){throw n}const o=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:o})))}}e.exports=upgrade},56615:(e,t,n)=>{e.exports.request=n(14043);e.exports.stream=n(3560);e.exports.pipeline=n(76862);e.exports.upgrade=n(61882);e.exports.connect=n(34660)},49927:(e,t,n)=>{const o=n(42613);const{Readable:i}=n(2203);const{RequestAbortedError:A,NotSupportedError:c,InvalidArgumentError:d}=n(68707);const p=n(3440);const{ReadableStreamFrom:C,toUSVString:S}=n(3440);let v;const T=Symbol("kConsume");const _=Symbol("kReading");const V=Symbol("kBody");const Z=Symbol("abort");const ee=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends i{constructor({resume:e,abort:t,contentType:n="",highWaterMark:o=64*1024}){super({autoDestroy:true,read:e,highWaterMark:o});this._readableState.dataEmitted=false;this[Z]=t;this[T]=null;this[V]=null;this[ee]=n;this[_]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new A}if(e){this[Z]()}return super.destroy(e)}emit(e,...t){if(e==="data"){this._readableState.dataEmitted=true}else if(e==="error"){this._readableState.errorEmitted=true}return super.emit(e,...t)}on(e,...t){if(e==="data"||e==="readable"){this[_]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const n=super.off(e,...t);if(e==="data"||e==="readable"){this[_]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return n}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[T]&&e!==null&&this.readableLength===0){consumePush(this[T],e);return this[_]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new c}get bodyUsed(){return p.isDisturbed(this)}get body(){if(!this[V]){this[V]=C(this);if(this[T]){this[V].getReader();o(this[V].locked)}}return this[V]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const n=e&&e.signal;if(n){try{if(typeof n!=="object"||!("aborted"in n)){throw new d("signal must be an AbortSignal")}p.throwIfAborted(n)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,o)=>{const i=n?p.addAbortListener(n,(()=>{this.destroy()})):noop;this.on("close",(function(){i();if(n&&n.aborted){o(n.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}};function isLocked(e){return e[V]&&e[V].locked===true||e[T]}function isUnusable(e){return p.isDisturbed(e)||isLocked(e)}async function consume(e,t){if(isUnusable(e)){throw new TypeError("unusable")}o(!e[T]);return new Promise(((n,o)=>{e[T]={type:t,stream:e,resolve:n,reject:o,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[T],e)})).on("close",(function(){if(this[T].body!==null){consumeFinish(this[T],new A)}}));process.nextTick(consumeStart,e[T])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const n of t.buffer){consumePush(e,n)}if(t.endEmitted){consumeEnd(this[T])}else{e.stream.on("end",(function(){consumeEnd(this[T])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:t,body:o,resolve:i,stream:A,length:c}=e;try{if(t==="text"){i(S(Buffer.concat(o)))}else if(t==="json"){i(JSON.parse(Buffer.concat(o)))}else if(t==="arrayBuffer"){const e=new Uint8Array(c);let t=0;for(const n of o){e.set(n,t);t+=n.byteLength}i(e.buffer)}else if(t==="blob"){if(!v){v=n(20181).Blob}i(new v(o,{type:A[ee]}))}consumeFinish(e)}catch(e){A.destroy(e)}}function consumePush(e,t){e.length+=t.length;e.body.push(t)}function consumeFinish(e,t){if(e.body===null){return}if(t){e.reject(t)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}},87655:(e,t,n)=>{const o=n(42613);const{ResponseStatusCodeError:i}=n(68707);const{toUSVString:A}=n(3440);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:n,statusCode:c,statusMessage:d,headers:p}){o(t);let C=[];let S=0;for await(const e of t){C.push(e);S+=e.length;if(S>128*1024){C=null;break}}if(c===204||!n||!C){process.nextTick(e,new i(`Response status code ${c}${d?`: ${d}`:""}`,c,p));return}try{if(n.startsWith("application/json")){const t=JSON.parse(A(Buffer.concat(C)));process.nextTick(e,new i(`Response status code ${c}${d?`: ${d}`:""}`,c,p,t));return}if(n.startsWith("text/")){const t=A(Buffer.concat(C));process.nextTick(e,new i(`Response status code ${c}${d?`: ${d}`:""}`,c,p,t));return}}catch(e){}process.nextTick(e,new i(`Response status code ${c}${d?`: ${d}`:""}`,c,p))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},81093:(e,t,n)=>{const{BalancedPoolMissingUpstreamError:o,InvalidArgumentError:i}=n(68707);const{PoolBase:A,kClients:c,kNeedDrain:d,kAddClient:p,kRemoveClient:C,kGetDispatcher:S}=n(58640);const v=n(35076);const{kUrl:T,kInterceptors:_}=n(36443);const{parseOrigin:V}=n(3440);const Z=Symbol("factory");const ee=Symbol("options");const te=Symbol("kGreatestCommonDivisor");const re=Symbol("kCurrentWeight");const ne=Symbol("kIndex");const oe=Symbol("kWeight");const ie=Symbol("kMaxWeightPerServer");const se=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(t===0)return e;return getGreatestCommonDivisor(t,e%t)}function defaultFactory(e,t){return new v(e,t)}class BalancedPool extends A{constructor(e=[],{factory:t=defaultFactory,...n}={}){super();this[ee]=n;this[ne]=-1;this[re]=0;this[ie]=this[ee].maxWeightPerServer||100;this[se]=this[ee].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new i("factory must be a function.")}this[_]=n.interceptors&&n.interceptors.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[];this[Z]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=V(e).origin;if(this[c].find((e=>e[T].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const n=this[Z](t,Object.assign({},this[ee]));this[p](n);n.on("connect",(()=>{n[oe]=Math.min(this[ie],n[oe]+this[se])}));n.on("connectionError",(()=>{n[oe]=Math.max(1,n[oe]-this[se]);this._updateBalancedPoolStats()}));n.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){n[oe]=Math.max(1,n[oe]-this[se]);this._updateBalancedPoolStats()}}));for(const e of this[c]){e[oe]=this[ie]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[te]=this[c].map((e=>e[oe])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=V(e).origin;const n=this[c].find((e=>e[T].origin===t&&e.closed!==true&&e.destroyed!==true));if(n){this[C](n)}return this}get upstreams(){return this[c].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[T].origin))}[S](){if(this[c].length===0){throw new o}const e=this[c].find((e=>!e[d]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[c].map((e=>e[d])).reduce(((e,t)=>e&&t),true);if(t){return}let n=0;let i=this[c].findIndex((e=>!e[d]));while(n++this[c][i][oe]&&!e[d]){i=this[ne]}if(this[ne]===0){this[re]=this[re]-this[te];if(this[re]<=0){this[re]=this[ie]}}if(e[oe]>=this[re]&&!e[d]){return e}}this[re]=this[c][i][oe];this[ne]=i;return this[c][i]}}e.exports=BalancedPool},50479:(e,t,n)=>{const{kConstruct:o}=n(80296);const{urlEquals:i,fieldValues:A}=n(23993);const{kEnumerableProperty:c,isDisturbed:d}=n(3440);const{kHeadersList:p}=n(36443);const{webidl:C}=n(74222);const{Response:S,cloneResponse:v}=n(48676);const{Request:T}=n(25194);const{kState:_,kHeaders:V,kGuard:Z,kRealm:ee}=n(89710);const{fetching:te}=n(12315);const{urlIsHttpHttpsScheme:re,createDeferredPromise:ne,readAllBytes:oe}=n(15523);const ie=n(42613);const{getGlobalDispatcher:se}=n(32581);class Cache{#e;constructor(){if(arguments[0]!==o){C.illegalConstructor()}this.#e=arguments[1]}async match(e,t={}){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,1,{header:"Cache.match"});e=C.converters.RequestInfo(e);t=C.converters.CacheQueryOptions(t);const n=await this.matchAll(e,t);if(n.length===0){return}return n[0]}async matchAll(e=undefined,t={}){C.brandCheck(this,Cache);if(e!==undefined)e=C.converters.RequestInfo(e);t=C.converters.CacheQueryOptions(t);let n=null;if(e!==undefined){if(e instanceof T){n=e[_];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new T(e)[_]}}const o=[];if(e===undefined){for(const e of this.#e){o.push(e[1])}}else{const e=this.#t(n,t);for(const t of e){o.push(t[1])}}const i=[];for(const e of o){const t=new S(e.body?.source??null);const n=t[_].body;t[_]=e;t[_].body=n;t[V][p]=e.headersList;t[V][Z]="immutable";i.push(t)}return Object.freeze(i)}async add(e){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=C.converters.RequestInfo(e);const t=[e];const n=this.addAll(t);return await n}async addAll(e){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=C.converters["sequence"](e);const t=[];const n=[];for(const t of e){if(typeof t==="string"){continue}const e=t[_];if(!re(e.url)||e.method!=="GET"){throw C.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const o=[];for(const i of e){const e=new T(i)[_];if(!re(e.url)){throw C.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";n.push(e);const c=ne();o.push(te({request:e,dispatcher:se(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){c.reject(C.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=A(e.headersList.get("vary"));for(const e of t){if(e==="*"){c.reject(C.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of o){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){c.reject(new DOMException("aborted","AbortError"));return}c.resolve(e)}}));t.push(c.promise)}const i=Promise.all(t);const c=await i;const d=[];let p=0;for(const e of c){const t={type:"put",request:n[p],response:e};d.push(t);p++}const S=ne();let v=null;try{this.#r(d)}catch(e){v=e}queueMicrotask((()=>{if(v===null){S.resolve(undefined)}else{S.reject(v)}}));return S.promise}async put(e,t){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=C.converters.RequestInfo(e);t=C.converters.Response(t);let n=null;if(e instanceof T){n=e[_]}else{n=new T(e)[_]}if(!re(n.url)||n.method!=="GET"){throw C.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const o=t[_];if(o.status===206){throw C.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(o.headersList.contains("vary")){const e=A(o.headersList.get("vary"));for(const t of e){if(t==="*"){throw C.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(o.body&&(d(o.body.stream)||o.body.stream.locked)){throw C.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const i=v(o);const c=ne();if(o.body!=null){const e=o.body.stream;const t=e.getReader();oe(t).then(c.resolve,c.reject)}else{c.resolve(undefined)}const p=[];const S={type:"put",request:n,response:i};p.push(S);const V=await c.promise;if(i.body!=null){i.body.source=V}const Z=ne();let ee=null;try{this.#r(p)}catch(e){ee=e}queueMicrotask((()=>{if(ee===null){Z.resolve()}else{Z.reject(ee)}}));return Z.promise}async delete(e,t={}){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,1,{header:"Cache.delete"});e=C.converters.RequestInfo(e);t=C.converters.CacheQueryOptions(t);let n=null;if(e instanceof T){n=e[_];if(n.method!=="GET"&&!t.ignoreMethod){return false}}else{ie(typeof e==="string");n=new T(e)[_]}const o=[];const i={type:"delete",request:n,options:t};o.push(i);const A=ne();let c=null;let d;try{d=this.#r(o)}catch(e){c=e}queueMicrotask((()=>{if(c===null){A.resolve(!!d?.length)}else{A.reject(c)}}));return A.promise}async keys(e=undefined,t={}){C.brandCheck(this,Cache);if(e!==undefined)e=C.converters.RequestInfo(e);t=C.converters.CacheQueryOptions(t);let n=null;if(e!==undefined){if(e instanceof T){n=e[_];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new T(e)[_]}}const o=ne();const i=[];if(e===undefined){for(const e of this.#e){i.push(e[0])}}else{const e=this.#t(n,t);for(const t of e){i.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of i){const n=new T("https://a");n[_]=t;n[V][p]=t.headersList;n[V][Z]="immutable";n[ee]=t.client;e.push(n)}o.resolve(Object.freeze(e))}));return o.promise}#r(e){const t=this.#e;const n=[...t];const o=[];const i=[];try{for(const n of e){if(n.type!=="delete"&&n.type!=="put"){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(n.type==="delete"&&n.response!=null){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(n.request,n.options,o).length){throw new DOMException("???","InvalidStateError")}let e;if(n.type==="delete"){e=this.#t(n.request,n.options);if(e.length===0){return[]}for(const n of e){const e=t.indexOf(n);ie(e!==-1);t.splice(e,1)}}else if(n.type==="put"){if(n.response==null){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const i=n.request;if(!re(i.url)){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(i.method!=="GET"){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(n.options!=null){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(n.request);for(const n of e){const e=t.indexOf(n);ie(e!==-1);t.splice(e,1)}t.push([n.request,n.response]);o.push([n.request,n.response])}i.push([n.request,n.response])}return i}catch(e){this.#e.length=0;this.#e=n;throw e}}#t(e,t,n){const o=[];const i=n??this.#e;for(const n of i){const[i,A]=n;if(this.#n(e,i,A,t)){o.push(n)}}return o}#n(e,t,n=null,o){const c=new URL(e.url);const d=new URL(t.url);if(o?.ignoreSearch){d.search="";c.search=""}if(!i(c,d,true)){return false}if(n==null||o?.ignoreVary||!n.headersList.contains("vary")){return true}const p=A(n.headersList.get("vary"));for(const n of p){if(n==="*"){return false}const o=t.headersList.get(n);const i=e.headersList.get(n);if(o!==i){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:c,matchAll:c,add:c,addAll:c,put:c,delete:c,keys:c});const ae=[{key:"ignoreSearch",converter:C.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:C.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:C.converters.boolean,defaultValue:false}];C.converters.CacheQueryOptions=C.dictionaryConverter(ae);C.converters.MultiCacheQueryOptions=C.dictionaryConverter([...ae,{key:"cacheName",converter:C.converters.DOMString}]);C.converters.Response=C.interfaceConverter(S);C.converters["sequence"]=C.sequenceConverter(C.converters.RequestInfo);e.exports={Cache:Cache}},44738:(e,t,n)=>{const{kConstruct:o}=n(80296);const{Cache:i}=n(50479);const{webidl:A}=n(74222);const{kEnumerableProperty:c}=n(3440);class CacheStorage{#o=new Map;constructor(){if(arguments[0]!==o){A.illegalConstructor()}}async match(e,t={}){A.brandCheck(this,CacheStorage);A.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=A.converters.RequestInfo(e);t=A.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#o.has(t.cacheName)){const n=this.#o.get(t.cacheName);const A=new i(o,n);return await A.match(e,t)}}else{for(const n of this.#o.values()){const A=new i(o,n);const c=await A.match(e,t);if(c!==undefined){return c}}}}async has(e){A.brandCheck(this,CacheStorage);A.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=A.converters.DOMString(e);return this.#o.has(e)}async open(e){A.brandCheck(this,CacheStorage);A.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=A.converters.DOMString(e);if(this.#o.has(e)){const t=this.#o.get(e);return new i(o,t)}const t=[];this.#o.set(e,t);return new i(o,t)}async delete(e){A.brandCheck(this,CacheStorage);A.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=A.converters.DOMString(e);return this.#o.delete(e)}async keys(){A.brandCheck(this,CacheStorage);const e=this.#o.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:c,has:c,open:c,delete:c,keys:c});e.exports={CacheStorage:CacheStorage}},80296:(e,t,n)=>{e.exports={kConstruct:n(36443).kConstruct}},23993:(e,t,n)=>{const o=n(42613);const{URLSerializer:i}=n(94322);const{isValidHeaderName:A}=n(15523);function urlEquals(e,t,n=false){const o=i(e,n);const A=i(t,n);return o===A}function fieldValues(e){o(e!==null);const t=[];for(let n of e.split(",")){n=n.trim();if(!n.length){continue}else if(!A(n)){continue}t.push(n)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},86197:(e,t,n)=>{const o=n(42613);const i=n(69278);const A=n(58611);const{pipeline:c}=n(2203);const d=n(3440);const p=n(28804);const C=n(44655);const S=n(50001);const{RequestContentLengthMismatchError:v,ResponseContentLengthMismatchError:T,InvalidArgumentError:_,RequestAbortedError:V,HeadersTimeoutError:Z,HeadersOverflowError:ee,SocketError:te,InformationalError:re,BodyTimeoutError:ne,HTTPParserError:oe,ResponseExceededMaxSizeError:ie,ClientDestroyedError:se}=n(68707);const ae=n(59136);const{kUrl:Ae,kReset:ce,kServerName:le,kClient:ue,kBusy:de,kParser:pe,kConnect:ge,kBlocking:me,kResuming:he,kRunning:fe,kPending:ye,kSize:Ce,kWriting:Ee,kQueue:Be,kConnected:Ie,kConnecting:be,kNeedDrain:Qe,kNoRef:Se,kKeepAliveDefaultTimeout:Ne,kHostHeader:Re,kPendingIdx:we,kRunningIdx:ve,kError:xe,kPipelining:Pe,kSocket:De,kKeepAliveTimeoutValue:ke,kMaxHeadersSize:Te,kKeepAliveMaxTimeout:Oe,kKeepAliveTimeoutThreshold:Me,kHeadersTimeout:Le,kBodyTimeout:Fe,kStrictContentLength:Ue,kConnector:_e,kMaxRedirections:He,kMaxRequests:qe,kCounter:ze,kClose:Ve,kDestroy:Ge,kDispatch:je,kInterceptors:Ye,kLocalAddress:Je,kMaxResponseSize:We,kHTTPConnVersion:Ke,kHost:$e,kHTTP2Session:Xe,kHTTP2SessionState:Ze,kHTTP2BuildRequest:at,kHTTP2CopyHeaders:At,kHTTP1BuildRequest:ct}=n(36443);let pt;try{pt=n(85675)}catch{pt={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:mt,HTTP2_HEADER_METHOD:ft,HTTP2_HEADER_PATH:yt,HTTP2_HEADER_SCHEME:Ct,HTTP2_HEADER_CONTENT_LENGTH:Et,HTTP2_HEADER_EXPECT:Bt,HTTP2_HEADER_STATUS:It}}=pt;let bt=false;const Qt=Buffer[Symbol.species];const St=Symbol("kClosedResolve");const Nt={};try{const e=n(31637);Nt.sendHeaders=e.channel("undici:client:sendHeaders");Nt.beforeConnect=e.channel("undici:client:beforeConnect");Nt.connectError=e.channel("undici:client:connectError");Nt.connected=e.channel("undici:client:connected")}catch{Nt.sendHeaders={hasSubscribers:false};Nt.beforeConnect={hasSubscribers:false};Nt.connectError={hasSubscribers:false};Nt.connected={hasSubscribers:false}}class Client extends S{constructor(e,{interceptors:t,maxHeaderSize:n,headersTimeout:o,socketTimeout:c,requestTimeout:p,connectTimeout:C,bodyTimeout:S,idleTimeout:v,keepAlive:T,keepAliveTimeout:V,maxKeepAliveTimeout:Z,keepAliveMaxTimeout:ee,keepAliveTimeoutThreshold:te,socketPath:re,pipelining:ne,tls:oe,strictContentLength:ie,maxCachedSessions:se,maxRedirections:ce,connect:ue,maxRequestsPerClient:de,localAddress:pe,maxResponseSize:ge,autoSelectFamily:me,autoSelectFamilyAttemptTimeout:fe,allowH2:ye,maxConcurrentStreams:Ce}={}){super();if(T!==undefined){throw new _("unsupported keepAlive, use pipelining=0 instead")}if(c!==undefined){throw new _("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(p!==undefined){throw new _("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(v!==undefined){throw new _("unsupported idleTimeout, use keepAliveTimeout instead")}if(Z!==undefined){throw new _("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(n!=null&&!Number.isFinite(n)){throw new _("invalid maxHeaderSize")}if(re!=null&&typeof re!=="string"){throw new _("invalid socketPath")}if(C!=null&&(!Number.isFinite(C)||C<0)){throw new _("invalid connectTimeout")}if(V!=null&&(!Number.isFinite(V)||V<=0)){throw new _("invalid keepAliveTimeout")}if(ee!=null&&(!Number.isFinite(ee)||ee<=0)){throw new _("invalid keepAliveMaxTimeout")}if(te!=null&&!Number.isFinite(te)){throw new _("invalid keepAliveTimeoutThreshold")}if(o!=null&&(!Number.isInteger(o)||o<0)){throw new _("headersTimeout must be a positive integer or zero")}if(S!=null&&(!Number.isInteger(S)||S<0)){throw new _("bodyTimeout must be a positive integer or zero")}if(ue!=null&&typeof ue!=="function"&&typeof ue!=="object"){throw new _("connect must be a function or an object")}if(ce!=null&&(!Number.isInteger(ce)||ce<0)){throw new _("maxRedirections must be a positive number")}if(de!=null&&(!Number.isInteger(de)||de<0)){throw new _("maxRequestsPerClient must be a positive number")}if(pe!=null&&(typeof pe!=="string"||i.isIP(pe)===0)){throw new _("localAddress must be valid string IP address")}if(ge!=null&&(!Number.isInteger(ge)||ge<-1)){throw new _("maxResponseSize must be a positive number")}if(fe!=null&&(!Number.isInteger(fe)||fe<-1)){throw new _("autoSelectFamilyAttemptTimeout must be a positive number")}if(ye!=null&&typeof ye!=="boolean"){throw new _("allowH2 must be a valid boolean value")}if(Ce!=null&&(typeof Ce!=="number"||Ce<1)){throw new _("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof ue!=="function"){ue=ae({...oe,maxCachedSessions:se,allowH2:ye,socketPath:re,timeout:C,...d.nodeHasAutoSelectFamily&&me?{autoSelectFamily:me,autoSelectFamilyAttemptTimeout:fe}:undefined,...ue})}this[Ye]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[wt({maxRedirections:ce})];this[Ae]=d.parseOrigin(e);this[_e]=ue;this[De]=null;this[Pe]=ne!=null?ne:1;this[Te]=n||A.maxHeaderSize;this[Ne]=V==null?4e3:V;this[Oe]=ee==null?6e5:ee;this[Me]=te==null?1e3:te;this[ke]=this[Ne];this[le]=null;this[Je]=pe!=null?pe:null;this[he]=0;this[Qe]=0;this[Re]=`host: ${this[Ae].hostname}${this[Ae].port?`:${this[Ae].port}`:""}\r\n`;this[Fe]=S!=null?S:3e5;this[Le]=o!=null?o:3e5;this[Ue]=ie==null?true:ie;this[He]=ce;this[qe]=de;this[St]=null;this[We]=ge>-1?ge:-1;this[Ke]="h1";this[Xe]=null;this[Ze]=!ye?null:{openStreams:0,maxConcurrentStreams:Ce!=null?Ce:100};this[$e]=`${this[Ae].hostname}${this[Ae].port?`:${this[Ae].port}`:""}`;this[Be]=[];this[ve]=0;this[we]=0}get pipelining(){return this[Pe]}set pipelining(e){this[Pe]=e;resume(this,true)}get[ye](){return this[Be].length-this[we]}get[fe](){return this[we]-this[ve]}get[Ce](){return this[Be].length-this[ve]}get[Ie](){return!!this[De]&&!this[be]&&!this[De].destroyed}get[de](){const e=this[De];return e&&(e[ce]||e[Ee]||e[me])||this[Ce]>=(this[Pe]||1)||this[ye]>0}[ge](e){connect(this);this.once("connect",e)}[je](e,t){const n=e.origin||this[Ae].origin;const o=this[Ke]==="h2"?C[at](n,e,t):C[ct](n,e,t);this[Be].push(o);if(this[he]){}else if(d.bodyLength(o.body)==null&&d.isIterable(o.body)){this[he]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[he]&&this[Qe]!==2&&this[de]){this[Qe]=2}return this[Qe]<2}async[Ve](){return new Promise((e=>{if(!this[Ce]){e(null)}else{this[St]=e}}))}async[Ge](e){return new Promise((t=>{const n=this[Be].splice(this[we]);for(let t=0;t{if(this[St]){this[St]();this[St]=null}t()};if(this[Xe]!=null){d.destroy(this[Xe],e);this[Xe]=null;this[Ze]=null}if(!this[De]){queueMicrotask(callback)}else{d.destroy(this[De].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){o(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[De][xe]=e;onError(this[ue],e)}function onHttp2FrameError(e,t,n){const o=new re(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(n===0){this[De][xe]=o;onError(this[ue],o)}}function onHttp2SessionEnd(){d.destroy(this,new te("other side closed"));d.destroy(this[De],new te("other side closed"))}function onHTTP2GoAway(e){const t=this[ue];const n=new re(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[De]=null;t[Xe]=null;if(t.destroyed){o(this[ye]===0);const e=t[Be].splice(t[ve]);for(let t=0;t0){const e=t[Be][t[ve]];t[Be][t[ve]++]=null;errorRequest(t,e,n)}t[we]=t[ve];o(t[fe]===0);t.emit("disconnect",t[Ae],[t],n);resume(t)}const Rt=n(52824);const wt=n(64415);const vt=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?n(63870):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(n(53434),"base64"))}catch(o){t=await WebAssembly.compile(Buffer.from(e||n(63870),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,n)=>0,wasm_on_status:(e,t,n)=>{o.strictEqual(Dt.ptr,e);const i=t-Ot+kt.byteOffset;return Dt.onStatus(new Qt(kt.buffer,i,n))||0},wasm_on_message_begin:e=>{o.strictEqual(Dt.ptr,e);return Dt.onMessageBegin()||0},wasm_on_header_field:(e,t,n)=>{o.strictEqual(Dt.ptr,e);const i=t-Ot+kt.byteOffset;return Dt.onHeaderField(new Qt(kt.buffer,i,n))||0},wasm_on_header_value:(e,t,n)=>{o.strictEqual(Dt.ptr,e);const i=t-Ot+kt.byteOffset;return Dt.onHeaderValue(new Qt(kt.buffer,i,n))||0},wasm_on_headers_complete:(e,t,n,i)=>{o.strictEqual(Dt.ptr,e);return Dt.onHeadersComplete(t,Boolean(n),Boolean(i))||0},wasm_on_body:(e,t,n)=>{o.strictEqual(Dt.ptr,e);const i=t-Ot+kt.byteOffset;return Dt.onBody(new Qt(kt.buffer,i,n))||0},wasm_on_message_complete:e=>{o.strictEqual(Dt.ptr,e);return Dt.onMessageComplete()||0}}})}let xt=null;let Pt=lazyllhttp();Pt.catch();let Dt=null;let kt=null;let Tt=0;let Ot=null;const Mt=1;const Lt=2;const Ft=3;class Parser{constructor(e,t,{exports:n}){o(Number.isFinite(e[Te])&&e[Te]>0);this.llhttp=n;this.ptr=this.llhttp.llhttp_alloc(Rt.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[Te];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[We]}setTimeout(e,t){this.timeoutType=t;if(e!==this.timeoutValue){p.clearTimeout(this.timeout);if(e){this.timeout=p.setTimeout(onParserTimeout,e,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}o(this.ptr!=null);o(Dt==null);this.llhttp.llhttp_resume(this.ptr);o(this.timeoutType===Lt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||vt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){o(this.ptr!=null);o(Dt==null);o(!this.paused);const{socket:t,llhttp:n}=this;if(e.length>Tt){if(Ot){n.free(Ot)}Tt=Math.ceil(e.length/4096)*4096;Ot=n.malloc(Tt)}new Uint8Array(n.memory.buffer,Ot,Tt).set(e);try{let o;try{kt=e;Dt=this;o=n.llhttp_execute(this.ptr,Ot,e.length)}catch(e){throw e}finally{Dt=null;kt=null}const i=n.llhttp_get_error_pos(this.ptr)-Ot;if(o===Rt.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(i))}else if(o===Rt.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(i))}else if(o!==Rt.ERROR.OK){const t=n.llhttp_get_error_reason(this.ptr);let A="";if(t){const e=new Uint8Array(n.memory.buffer,t).indexOf(0);A="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,t,e).toString()+")"}throw new oe(A,Rt.ERROR[o],e.slice(i))}}catch(e){d.destroy(t,e)}}destroy(){o(this.ptr!=null);o(Dt==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;p.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const n=t[Be][t[ve]];if(!n){return-1}}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const n=this.headers[t-2];if(n.length===10&&n.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(n.length===10&&n.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(n.length===14&&n.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){d.destroy(this.socket,new ee)}}onUpgrade(e){const{upgrade:t,client:n,socket:i,headers:A,statusCode:c}=this;o(t);const p=n[Be][n[ve]];o(p);o(!i.destroyed);o(i===n[De]);o(!this.paused);o(p.upgrade||p.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;o(this.headers.length%2===0);this.headers=[];this.headersSize=0;i.unshift(e);i[pe].destroy();i[pe]=null;i[ue]=null;i[xe]=null;i.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);n[De]=null;n[Be][n[ve]++]=null;n.emit("disconnect",n[Ae],[n],new re("upgrade"));try{p.onUpgrade(c,A,i)}catch(e){d.destroy(i,e)}resume(n)}onHeadersComplete(e,t,n){const{client:i,socket:A,headers:c,statusText:p}=this;if(A.destroyed){return-1}const C=i[Be][i[ve]];if(!C){return-1}o(!this.upgrade);o(this.statusCode<200);if(e===100){d.destroy(A,new te("bad response",d.getSocketInfo(A)));return-1}if(t&&!C.upgrade){d.destroy(A,new te("bad upgrade",d.getSocketInfo(A)));return-1}o.strictEqual(this.timeoutType,Mt);this.statusCode=e;this.shouldKeepAlive=n||C.method==="HEAD"&&!A[ce]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=C.bodyTimeout!=null?C.bodyTimeout:i[Fe];this.setTimeout(e,Lt)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(C.method==="CONNECT"){o(i[fe]===1);this.upgrade=true;return 2}if(t){o(i[fe]===1);this.upgrade=true;return 2}o(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&i[Pe]){const e=this.keepAlive?d.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-i[Me],i[Oe]);if(t<=0){A[ce]=true}else{i[ke]=t}}else{i[ke]=i[Ne]}}else{A[ce]=true}const S=C.onHeaders(e,c,this.resume,p)===false;if(C.aborted){return-1}if(C.method==="HEAD"){return 1}if(e<200){return 1}if(A[me]){A[me]=false;resume(i)}return S?Rt.ERROR.PAUSED:0}onBody(e){const{client:t,socket:n,statusCode:i,maxResponseSize:A}=this;if(n.destroyed){return-1}const c=t[Be][t[ve]];o(c);o.strictEqual(this.timeoutType,Lt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}o(i>=200);if(A>-1&&this.bytesRead+e.length>A){d.destroy(n,new ie);return-1}this.bytesRead+=e.length;if(c.onData(e)===false){return Rt.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:n,upgrade:i,headers:A,contentLength:c,bytesRead:p,shouldKeepAlive:C}=this;if(t.destroyed&&(!n||C)){return-1}if(i){return}const S=e[Be][e[ve]];o(S);o(n>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";o(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(n<200){return}if(S.method!=="HEAD"&&c&&p!==parseInt(c,10)){d.destroy(t,new T);return-1}S.onComplete(A);e[Be][e[ve]++]=null;if(t[Ee]){o.strictEqual(e[fe],0);d.destroy(t,new re("reset"));return Rt.ERROR.PAUSED}else if(!C){d.destroy(t,new re("reset"));return Rt.ERROR.PAUSED}else if(t[ce]&&e[fe]===0){d.destroy(t,new re("reset"));return Rt.ERROR.PAUSED}else if(e[Pe]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:n,client:i}=e;if(n===Mt){if(!t[Ee]||t.writableNeedDrain||i[fe]>1){o(!e.paused,"cannot be paused while waiting for headers");d.destroy(t,new Z)}}else if(n===Lt){if(!e.paused){d.destroy(t,new ne)}}else if(n===Ft){o(i[fe]===0&&i[ke]);d.destroy(t,new re("socket idle timeout"))}}function onSocketReadable(){const{[pe]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[ue]:t,[pe]:n}=this;o(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[Ke]!=="h2"){if(e.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}}this[xe]=e;onError(this[ue],e)}function onError(e,t){if(e[fe]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){o(e[we]===e[ve]);const n=e[Be].splice(e[ve]);for(let o=0;o0&&n.code!=="UND_ERR_INFO"){const t=e[Be][e[ve]];e[Be][e[ve]++]=null;errorRequest(e,t,n)}e[we]=e[ve];o(e[fe]===0);e.emit("disconnect",e[Ae],[e],n);resume(e)}async function connect(e){o(!e[be]);o(!e[De]);let{host:t,hostname:n,protocol:A,port:c}=e[Ae];if(n[0]==="["){const e=n.indexOf("]");o(e!==-1);const t=n.substring(1,e);o(i.isIP(t));n=t}e[be]=true;if(Nt.beforeConnect.hasSubscribers){Nt.beforeConnect.publish({connectParams:{host:t,hostname:n,protocol:A,port:c,servername:e[le],localAddress:e[Je]},connector:e[_e]})}try{const i=await new Promise(((o,i)=>{e[_e]({host:t,hostname:n,protocol:A,port:c,servername:e[le],localAddress:e[Je]},((e,t)=>{if(e){i(e)}else{o(t)}}))}));if(e.destroyed){d.destroy(i.on("error",(()=>{})),new se);return}e[be]=false;o(i);const p=i.alpnProtocol==="h2";if(p){if(!bt){bt=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=pt.connect(e[Ae],{createConnection:()=>i,peerMaxConcurrentStreams:e[Ze].maxConcurrentStreams});e[Ke]="h2";t[ue]=e;t[De]=i;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[Xe]=t;i[Xe]=t}else{if(!xt){xt=await Pt;Pt=null}i[Se]=false;i[Ee]=false;i[ce]=false;i[me]=false;i[pe]=new Parser(e,i,xt)}i[ze]=0;i[qe]=e[qe];i[ue]=e;i[xe]=null;i.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[De]=i;if(Nt.connected.hasSubscribers){Nt.connected.publish({connectParams:{host:t,hostname:n,protocol:A,port:c,servername:e[le],localAddress:e[Je]},connector:e[_e],socket:i})}e.emit("connect",e[Ae],[e])}catch(i){if(e.destroyed){return}e[be]=false;if(Nt.connectError.hasSubscribers){Nt.connectError.publish({connectParams:{host:t,hostname:n,protocol:A,port:c,servername:e[le],localAddress:e[Je]},connector:e[_e],error:i})}if(i.code==="ERR_TLS_CERT_ALTNAME_INVALID"){o(e[fe]===0);while(e[ye]>0&&e[Be][e[we]].servername===e[le]){const t=e[Be][e[we]++];errorRequest(e,t,i)}}else{onError(e,i)}e.emit("connectionError",e[Ae],[e],i)}resume(e)}function emitDrain(e){e[Qe]=0;e.emit("drain",e[Ae],[e])}function resume(e,t){if(e[he]===2){return}e[he]=2;_resume(e,t);e[he]=0;if(e[ve]>256){e[Be].splice(0,e[ve]);e[we]-=e[ve];e[ve]=0}}function _resume(e,t){while(true){if(e.destroyed){o(e[ye]===0);return}if(e[St]&&!e[Ce]){e[St]();e[St]=null;return}const n=e[De];if(n&&!n.destroyed&&n.alpnProtocol!=="h2"){if(e[Ce]===0){if(!n[Se]&&n.unref){n.unref();n[Se]=true}}else if(n[Se]&&n.ref){n.ref();n[Se]=false}if(e[Ce]===0){if(n[pe].timeoutType!==Ft){n[pe].setTimeout(e[ke],Ft)}}else if(e[fe]>0&&n[pe].statusCode<200){if(n[pe].timeoutType!==Mt){const t=e[Be][e[ve]];const o=t.headersTimeout!=null?t.headersTimeout:e[Le];n[pe].setTimeout(o,Mt)}}}if(e[de]){e[Qe]=2}else if(e[Qe]===2){if(t){e[Qe]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[ye]===0){return}if(e[fe]>=(e[Pe]||1)){return}const i=e[Be][e[we]];if(e[Ae].protocol==="https:"&&e[le]!==i.servername){if(e[fe]>0){return}e[le]=i.servername;if(n&&n.servername!==i.servername){d.destroy(n,new re("servername changed"));return}}if(e[be]){return}if(!n&&!e[Xe]){connect(e);return}if(n.destroyed||n[Ee]||n[ce]||n[me]){return}if(e[fe]>0&&!i.idempotent){return}if(e[fe]>0&&(i.upgrade||i.method==="CONNECT")){return}if(e[fe]>0&&d.bodyLength(i.body)!==0&&(d.isStream(i.body)||d.isAsyncIterable(i.body))){return}if(!i.aborted&&write(e,i)){e[we]++}else{e[Be].splice(e[we],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[Ke]==="h2"){writeH2(e,e[Xe],t);return}const{body:n,method:i,path:A,host:c,upgrade:p,headers:C,blocking:S,reset:T}=t;const _=i==="PUT"||i==="POST"||i==="PATCH";if(n&&typeof n.read==="function"){n.read(0)}const Z=d.bodyLength(n);let ee=Z;if(ee===null){ee=t.contentLength}if(ee===0&&!_){ee=null}if(shouldSendContentLength(i)&&ee>0&&t.contentLength!==null&&t.contentLength!==ee){if(e[Ue]){errorRequest(e,t,new v);return false}process.emitWarning(new v)}const te=e[De];try{t.onConnect((n=>{if(t.aborted||t.completed){return}errorRequest(e,t,n||new V);d.destroy(te,new re("aborted"))}))}catch(n){errorRequest(e,t,n)}if(t.aborted){return false}if(i==="HEAD"){te[ce]=true}if(p||i==="CONNECT"){te[ce]=true}if(T!=null){te[ce]=T}if(e[qe]&&te[ze]++>=e[qe]){te[ce]=true}if(S){te[me]=true}let ne=`${i} ${A} HTTP/1.1\r\n`;if(typeof c==="string"){ne+=`host: ${c}\r\n`}else{ne+=e[Re]}if(p){ne+=`connection: upgrade\r\nupgrade: ${p}\r\n`}else if(e[Pe]&&!te[ce]){ne+="connection: keep-alive\r\n"}else{ne+="connection: close\r\n"}if(C){ne+=C}if(Nt.sendHeaders.hasSubscribers){Nt.sendHeaders.publish({request:t,headers:ne,socket:te})}if(!n||Z===0){if(ee===0){te.write(`${ne}content-length: 0\r\n\r\n`,"latin1")}else{o(ee===null,"no body must not have content length");te.write(`${ne}\r\n`,"latin1")}t.onRequestSent()}else if(d.isBuffer(n)){o(ee===n.byteLength,"buffer body must have content length");te.cork();te.write(`${ne}content-length: ${ee}\r\n\r\n`,"latin1");te.write(n);te.uncork();t.onBodySent(n);t.onRequestSent();if(!_){te[ce]=true}}else if(d.isBlobLike(n)){if(typeof n.stream==="function"){writeIterable({body:n.stream(),client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:_})}else{writeBlob({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:_})}}else if(d.isStream(n)){writeStream({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:_})}else if(d.isIterable(n)){writeIterable({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:_})}else{o(false)}return true}function writeH2(e,t,n){const{body:i,method:A,path:c,host:p,upgrade:S,expectContinue:T,signal:_,headers:Z}=n;let ee;if(typeof Z==="string")ee=C[At](Z.trim());else ee=Z;if(S){errorRequest(e,n,new Error("Upgrade not supported for H2"));return false}try{n.onConnect((t=>{if(n.aborted||n.completed){return}errorRequest(e,n,t||new V)}))}catch(t){errorRequest(e,n,t)}if(n.aborted){return false}let te;const ne=e[Ze];ee[mt]=p||e[$e];ee[ft]=A;if(A==="CONNECT"){t.ref();te=t.request(ee,{endStream:false,signal:_});if(te.id&&!te.pending){n.onUpgrade(null,null,te);++ne.openStreams}else{te.once("ready",(()=>{n.onUpgrade(null,null,te);++ne.openStreams}))}te.once("close",(()=>{ne.openStreams-=1;if(ne.openStreams===0)t.unref()}));return true}ee[yt]=c;ee[Ct]="https";const oe=A==="PUT"||A==="POST"||A==="PATCH";if(i&&typeof i.read==="function"){i.read(0)}let ie=d.bodyLength(i);if(ie==null){ie=n.contentLength}if(ie===0||!oe){ie=null}if(shouldSendContentLength(A)&&ie>0&&n.contentLength!=null&&n.contentLength!==ie){if(e[Ue]){errorRequest(e,n,new v);return false}process.emitWarning(new v)}if(ie!=null){o(i,"no body must not have content length");ee[Et]=`${ie}`}t.ref();const se=A==="GET"||A==="HEAD";if(T){ee[Bt]="100-continue";te=t.request(ee,{endStream:se,signal:_});te.once("continue",writeBodyH2)}else{te=t.request(ee,{endStream:se,signal:_});writeBodyH2()}++ne.openStreams;te.once("response",(e=>{const{[It]:t,...o}=e;if(n.onHeaders(Number(t),o,te.resume.bind(te),"")===false){te.pause()}}));te.once("end",(()=>{n.onComplete([])}));te.on("data",(e=>{if(n.onData(e)===false){te.pause()}}));te.once("close",(()=>{ne.openStreams-=1;if(ne.openStreams===0){t.unref()}}));te.once("error",(function(t){if(e[Xe]&&!e[Xe].destroyed&&!this.closed&&!this.destroyed){ne.streams-=1;d.destroy(te,t)}}));te.once("frameError",((t,o)=>{const i=new re(`HTTP/2: "frameError" received - type ${t}, code ${o}`);errorRequest(e,n,i);if(e[Xe]&&!e[Xe].destroyed&&!this.closed&&!this.destroyed){ne.streams-=1;d.destroy(te,i)}}));return true;function writeBodyH2(){if(!i){n.onRequestSent()}else if(d.isBuffer(i)){o(ie===i.byteLength,"buffer body must have content length");te.cork();te.write(i);te.uncork();te.end();n.onBodySent(i);n.onRequestSent()}else if(d.isBlobLike(i)){if(typeof i.stream==="function"){writeIterable({client:e,request:n,contentLength:ie,h2stream:te,expectsPayload:oe,body:i.stream(),socket:e[De],header:""})}else{writeBlob({body:i,client:e,request:n,contentLength:ie,expectsPayload:oe,h2stream:te,header:"",socket:e[De]})}}else if(d.isStream(i)){writeStream({body:i,client:e,request:n,contentLength:ie,expectsPayload:oe,socket:e[De],h2stream:te,header:""})}else if(d.isIterable(i)){writeIterable({body:i,client:e,request:n,contentLength:ie,expectsPayload:oe,header:"",h2stream:te,socket:e[De]})}else{o(false)}}}function writeStream({h2stream:e,body:t,client:n,request:i,socket:A,contentLength:p,header:C,expectsPayload:S}){o(p!==0||n[fe]===0,"stream body cannot be pipelined");if(n[Ke]==="h2"){const _=c(t,e,(n=>{if(n){d.destroy(t,n);d.destroy(e,n)}else{i.onRequestSent()}}));_.on("data",onPipeData);_.once("end",(()=>{_.removeListener("data",onPipeData);d.destroy(_)}));function onPipeData(e){i.onBodySent(e)}return}let v=false;const T=new AsyncWriter({socket:A,request:i,contentLength:p,client:n,expectsPayload:S,header:C});const onData=function(e){if(v){return}try{if(!T.write(e)&&this.pause){this.pause()}}catch(e){d.destroy(this,e)}};const onDrain=function(){if(v){return}if(t.resume){t.resume()}};const onAbort=function(){if(v){return}const e=new V;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(v){return}v=true;o(A.destroyed||A[Ee]&&n[fe]<=1);A.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{T.end()}catch(t){e=t}}T.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){d.destroy(t,e)}else{d.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(t.resume){t.resume()}A.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:n,request:i,socket:A,contentLength:c,header:p,expectsPayload:C}){o(c===t.size,"blob body must have content length");const S=n[Ke]==="h2";try{if(c!=null&&c!==t.size){throw new v}const o=Buffer.from(await t.arrayBuffer());if(S){e.cork();e.write(o);e.uncork()}else{A.cork();A.write(`${p}content-length: ${c}\r\n\r\n`,"latin1");A.write(o);A.uncork()}i.onBodySent(o);i.onRequestSent();if(!C){A[ce]=true}resume(n)}catch(t){d.destroy(S?e:A,t)}}async function writeIterable({h2stream:e,body:t,client:n,request:i,socket:A,contentLength:c,header:d,expectsPayload:p}){o(c!==0||n[fe]===0,"iterator body cannot be pipelined");let C=null;function onDrain(){if(C){const e=C;C=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{o(C===null);if(A[xe]){t(A[xe])}else{C=e}}));if(n[Ke]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const n of t){if(A[xe]){throw A[xe]}const t=e.write(n);i.onBodySent(n);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{i.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}A.on("close",onDrain).on("drain",onDrain);const S=new AsyncWriter({socket:A,request:i,contentLength:c,client:n,expectsPayload:p,header:d});try{for await(const e of t){if(A[xe]){throw A[xe]}if(!S.write(e)){await waitForDrain()}}S.end()}catch(e){S.destroy(e)}finally{A.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:n,client:o,expectsPayload:i,header:A}){this.socket=e;this.request=t;this.contentLength=n;this.client=o;this.bytesWritten=0;this.expectsPayload=i;this.header=A;e[Ee]=true}write(e){const{socket:t,request:n,contentLength:o,client:i,bytesWritten:A,expectsPayload:c,header:d}=this;if(t[xe]){throw t[xe]}if(t.destroyed){return false}const p=Buffer.byteLength(e);if(!p){return true}if(o!==null&&A+p>o){if(i[Ue]){throw new v}process.emitWarning(new v)}t.cork();if(A===0){if(!c){t[ce]=true}if(o===null){t.write(`${d}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${d}content-length: ${o}\r\n\r\n`,"latin1")}}if(o===null){t.write(`\r\n${p.toString(16)}\r\n`,"latin1")}this.bytesWritten+=p;const C=t.write(e);t.uncork();n.onBodySent(e);if(!C){if(t[pe].timeout&&t[pe].timeoutType===Mt){if(t[pe].timeout.refresh){t[pe].timeout.refresh()}}}return C}end(){const{socket:e,contentLength:t,client:n,bytesWritten:o,expectsPayload:i,header:A,request:c}=this;c.onRequestSent();e[Ee]=false;if(e[xe]){throw e[xe]}if(e.destroyed){return}if(o===0){if(i){e.write(`${A}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${A}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&o!==t){if(n[Ue]){throw new v}else{process.emitWarning(new v)}}if(e[pe].timeout&&e[pe].timeoutType===Mt){if(e[pe].timeout.refresh){e[pe].timeout.refresh()}}resume(n)}destroy(e){const{socket:t,client:n}=this;t[Ee]=false;if(e){o(n[fe]<=1,"pipeline should only contain this request");d.destroy(t,e)}}}function errorRequest(e,t,n){try{t.onError(n);o(t.aborted)}catch(n){e.emit("error",n)}}e.exports=Client},13194:(e,t,n)=>{const{kConnected:o,kSize:i}=n(36443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[o]===0&&this.value[i]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[o]===0&&e[i]===0){this.finalizer(t)}}))}}}e.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},19237:e=>{const t=1024;const n=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:n}},53168:(e,t,n)=>{const{parseSetCookie:o}=n(8915);const{stringify:i}=n(3834);const{webidl:A}=n(74222);const{Headers:c}=n(26349);function getCookies(e){A.argumentLengthCheck(arguments,1,{header:"getCookies"});A.brandCheck(e,c,{strict:false});const t=e.get("cookie");const n={};if(!t){return n}for(const e of t.split(";")){const[t,...o]=e.split("=");n[t.trim()]=o.join("=")}return n}function deleteCookie(e,t,n){A.argumentLengthCheck(arguments,2,{header:"deleteCookie"});A.brandCheck(e,c,{strict:false});t=A.converters.DOMString(t);n=A.converters.DeleteCookieAttributes(n);setCookie(e,{name:t,value:"",expires:new Date(0),...n})}function getSetCookies(e){A.argumentLengthCheck(arguments,1,{header:"getSetCookies"});A.brandCheck(e,c,{strict:false});const t=e.getSetCookie();if(!t){return[]}return t.map((e=>o(e)))}function setCookie(e,t){A.argumentLengthCheck(arguments,2,{header:"setCookie"});A.brandCheck(e,c,{strict:false});t=A.converters.Cookie(t);const n=i(t);if(n){e.append("Set-Cookie",i(t))}}A.converters.DeleteCookieAttributes=A.dictionaryConverter([{converter:A.nullableConverter(A.converters.DOMString),key:"path",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"domain",defaultValue:null}]);A.converters.Cookie=A.dictionaryConverter([{converter:A.converters.DOMString,key:"name"},{converter:A.converters.DOMString,key:"value"},{converter:A.nullableConverter((e=>{if(typeof e==="number"){return A.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:A.nullableConverter(A.converters["long long"]),key:"maxAge",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"domain",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"path",defaultValue:null},{converter:A.nullableConverter(A.converters.boolean),key:"secure",defaultValue:null},{converter:A.nullableConverter(A.converters.boolean),key:"httpOnly",defaultValue:null},{converter:A.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:A.sequenceConverter(A.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(e,t,n)=>{const{maxNameValuePairSize:o,maxAttributeValueSize:i}=n(19237);const{isCTLExcludingHtab:A}=n(3834);const{collectASequenceOfCodePointsFast:c}=n(94322);const d=n(42613);function parseSetCookie(e){if(A(e)){return null}let t="";let n="";let i="";let d="";if(e.includes(";")){const o={position:0};t=c(";",e,o);n=e.slice(o.position)}else{t=e}if(!t.includes("=")){d=t}else{const e={position:0};i=c("=",t,e);d=t.slice(e.position+1)}i=i.trim();d=d.trim();if(i.length+d.length>o){return null}return{name:i,value:d,...parseUnparsedAttributes(n)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}d(e[0]===";");e=e.slice(1);let n="";if(e.includes(";")){n=c(";",e,{position:0});e=e.slice(n.length)}else{n=e;e=""}let o="";let A="";if(n.includes("=")){const e={position:0};o=c("=",n,e);A=n.slice(e.position+1)}else{o=n}o=o.trim();A=A.trim();if(A.length>i){return parseUnparsedAttributes(e,t)}const p=o.toLowerCase();if(p==="expires"){const e=new Date(A);t.expires=e}else if(p==="max-age"){const n=A.charCodeAt(0);if((n<48||n>57)&&A[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(A)){return parseUnparsedAttributes(e,t)}const o=Number(A);t.maxAge=o}else if(p==="domain"){let e=A;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(p==="path"){let e="";if(A.length===0||A[0]!=="/"){e="/"}else{e=A}t.path=e}else if(p==="secure"){t.secure=true}else if(p==="httponly"){t.httpOnly=true}else if(p==="samesite"){let e="Default";const n=A.toLowerCase();if(n.includes("none")){e="None"}if(n.includes("strict")){e="Strict"}if(n.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${o}=${A}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:e=>{function isCTLExcludingHtab(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const t of e){const e=t.charCodeAt(0);if(e<=32||e>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||t===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const o=t[e.getUTCDay()];const i=e.getUTCDate().toString().padStart(2,"0");const A=n[e.getUTCMonth()];const c=e.getUTCFullYear();const d=e.getUTCHours().toString().padStart(2,"0");const p=e.getUTCMinutes().toString().padStart(2,"0");const C=e.getUTCSeconds().toString().padStart(2,"0");return`${o}, ${i} ${A} ${c} ${d}:${p}:${C} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const n of e.unparsed){if(!n.includes("=")){throw new Error("Invalid unparsed")}const[e,...o]=n.split("=");t.push(`${e.trim()}=${o.join("=")}`)}return t.join("; ")}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},59136:(e,t,n)=>{const o=n(69278);const i=n(42613);const A=n(3440);const{InvalidArgumentError:c,ConnectTimeoutError:d}=n(68707);let p;let C;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){C=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:d,timeout:S,...v}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new c("maxCachedSessions must be a positive integer or zero")}const T={path:d,...v};const _=new C(t==null?100:t);S=S==null?1e4:S;e=e!=null?e:false;return function connect({hostname:t,host:c,protocol:d,port:C,servername:v,localAddress:V,httpSocket:Z},ee){let te;if(d==="https:"){if(!p){p=n(64756)}v=v||T.servername||A.getServerName(c)||null;const o=v||t;const d=_.get(o)||null;i(o);te=p.connect({highWaterMark:16384,...T,servername:v,session:d,localAddress:V,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:Z,port:C||443,host:t});te.on("session",(function(e){_.set(o,e)}))}else{i(!Z,"httpSocket can only be sent on TLS update");te=o.connect({highWaterMark:64*1024,...T,localAddress:V,port:C||80,host:t})}if(T.keepAlive==null||T.keepAlive){const e=T.keepAliveInitialDelay===undefined?6e4:T.keepAliveInitialDelay;te.setKeepAlive(true,e)}const re=setupTimeout((()=>onConnectTimeout(te)),S);te.setNoDelay(true).once(d==="https:"?"secureConnect":"connect",(function(){re();if(ee){const e=ee;ee=null;e(null,this)}})).on("error",(function(e){re();if(ee){const t=ee;ee=null;t(e)}}));return te}}function setupTimeout(e,t){if(!t){return()=>{}}let n=null;let o=null;const i=setTimeout((()=>{n=setImmediate((()=>{if(process.platform==="win32"){o=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(i);clearImmediate(n);clearImmediate(o)}}function onConnectTimeout(e){A.destroy(e,new d)}e.exports=buildConnector},10735:e=>{const t={};const n=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","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","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e{class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(e,t,n,o){super(e);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=o;this.status=t;this.statusCode=t;this.headers=n}}class InvalidArgumentError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(e,t){super(e);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}}class NotSupportedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(e,t,n){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=n?n.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(e,t,{headers:n,data:o}){super(e);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=o;this.headers=n}}e.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},44655:(e,t,n)=>{const{InvalidArgumentError:o,NotSupportedError:i}=n(68707);const A=n(42613);const{kHTTP2BuildRequest:c,kHTTP2CopyHeaders:d,kHTTP1BuildRequest:p}=n(36443);const C=n(3440);const S=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const v=/[^\t\x20-\x7e\x80-\xff]/;const T=/[^\u0021-\u00ff]/;const _=Symbol("handler");const V={};let Z;try{const e=n(31637);V.create=e.channel("undici:request:create");V.bodySent=e.channel("undici:request:bodySent");V.headers=e.channel("undici:request:headers");V.trailers=e.channel("undici:request:trailers");V.error=e.channel("undici:request:error")}catch{V.create={hasSubscribers:false};V.bodySent={hasSubscribers:false};V.headers={hasSubscribers:false};V.trailers={hasSubscribers:false};V.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:i,body:A,headers:c,query:d,idempotent:p,blocking:v,upgrade:ee,headersTimeout:te,bodyTimeout:re,reset:ne,throwOnError:oe,expectContinue:ie},se){if(typeof t!=="string"){throw new o("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&i!=="CONNECT"){throw new o("path must be an absolute URL or start with a slash")}else if(T.exec(t)!==null){throw new o("invalid request path")}if(typeof i!=="string"){throw new o("method must be a string")}else if(S.exec(i)===null){throw new o("invalid request method")}if(ee&&typeof ee!=="string"){throw new o("upgrade must be a string")}if(te!=null&&(!Number.isFinite(te)||te<0)){throw new o("invalid headersTimeout")}if(re!=null&&(!Number.isFinite(re)||re<0)){throw new o("invalid bodyTimeout")}if(ne!=null&&typeof ne!=="boolean"){throw new o("invalid reset")}if(ie!=null&&typeof ie!=="boolean"){throw new o("invalid expectContinue")}this.headersTimeout=te;this.bodyTimeout=re;this.throwOnError=oe===true;this.method=i;this.abort=null;if(A==null){this.body=null}else if(C.isStream(A)){this.body=A;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){C.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(C.isBuffer(A)){this.body=A.byteLength?A:null}else if(ArrayBuffer.isView(A)){this.body=A.buffer.byteLength?Buffer.from(A.buffer,A.byteOffset,A.byteLength):null}else if(A instanceof ArrayBuffer){this.body=A.byteLength?Buffer.from(A):null}else if(typeof A==="string"){this.body=A.length?Buffer.from(A):null}else if(C.isFormDataLike(A)||C.isIterable(A)||C.isBlobLike(A)){this.body=A}else{throw new o("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=ee||null;this.path=d?C.buildURL(t,d):t;this.origin=e;this.idempotent=p==null?i==="HEAD"||i==="GET":p;this.blocking=v==null?false:v;this.reset=ne==null?null:ne;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=ie!=null?ie:false;if(Array.isArray(c)){if(c.length%2!==0){throw new o("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3440:(e,t,n)=>{const o=n(42613);const{kDestroyed:i,kBodyUsed:A}=n(36443);const{IncomingMessage:c}=n(58611);const d=n(2203);const p=n(69278);const{InvalidArgumentError:C}=n(68707);const{Blob:S}=n(20181);const v=n(39023);const{stringify:T}=n(83480);const{headerNameLowerCasedRecord:_}=n(10735);const[V,Z]=process.versions.node.split(".").map((e=>Number(e)));function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){return S&&e instanceof S||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const n=T(t);if(n){e+="?"+n}return e}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!/^https?:/.test(e.origin||e.protocol)){throw new C("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new C("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(e.origin||e.protocol)){throw new C("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port))){throw new C("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new C("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new C("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new C("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new C("Invalid URL origin: the origin must be a string or null/undefined.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let n=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let o=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(n.endsWith("/")){n=n.substring(0,n.length-1)}if(o&&!o.startsWith("/")){o=`/${o}`}e=new URL(n+o)}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new C("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");o(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}o.strictEqual(typeof e,"string");const t=getHostname(e);if(p.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return!e||!!(e.destroyed||e[i])}function isReadableAborted(e){const t=e&&e._readableState;return isDestroyed(e)&&t&&!t.endEmitted}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===c){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[i]=true}}const ee=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(ee);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return _[e]||e.toLowerCase()}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let n=0;ne.toString("utf8")))}else{t[o]=e[n+1].toString("utf8")}}else{if(!Array.isArray(i)){i=[i];t[o]=i}i.push(e[n+1].toString("utf8"))}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=[];let n=false;let o=-1;for(let i=0;i{e.close()}))}else{const t=Buffer.isBuffer(o)?o:Buffer.from(o);e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()}},0)}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function throwIfAborted(e){if(!e){return}if(typeof e.throwIfAborted==="function"){e.throwIfAborted()}else{if(e.aborted){const e=new Error("The operation was aborted");e.name="AbortError";throw e}}}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const re=!!String.prototype.toWellFormed;function toUSVString(e){if(re){return`${e}`.toWellFormed()}else if(v.toUSVString){return v.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}const ne=Object.create(null);ne.enumerable=true;e.exports={kEnumerableProperty:ne,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:V,nodeMinor:Z,nodeHasAutoSelectFamily:V>18||V===18&&Z>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},50001:(e,t,n)=>{const o=n(28611);const{ClientDestroyedError:i,ClientClosedError:A,InvalidArgumentError:c}=n(68707);const{kDestroy:d,kClose:p,kDispatch:C,kInterceptors:S}=n(36443);const v=Symbol("destroyed");const T=Symbol("closed");const _=Symbol("onDestroyed");const V=Symbol("onClosed");const Z=Symbol("Intercepted Dispatch");class DispatcherBase extends o{constructor(){super();this[v]=false;this[_]=null;this[T]=false;this[V]=[]}get destroyed(){return this[v]}get closed(){return this[T]}get interceptors(){return this[S]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[S][t];if(typeof e!=="function"){throw new c("interceptor must be an function")}}}this[S]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((n,o)=>n?t(n):e(o)))}))}if(typeof e!=="function"){throw new c("invalid callback")}if(this[v]){queueMicrotask((()=>e(new i,null)));return}if(this[T]){if(this[V]){this[V].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[T]=true;this[V].push(e);const onClosed=()=>{const e=this[V];this[V]=null;for(let t=0;tthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,n)=>{this.destroy(e,((e,o)=>e?n(e):t(o)))}))}if(typeof t!=="function"){throw new c("invalid callback")}if(this[v]){if(this[_]){this[_].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new i}this[v]=true;this[_]=this[_]||[];this[_].push(t);const onDestroyed=()=>{const e=this[_];this[_]=null;for(let t=0;t{queueMicrotask(onDestroyed)}))}[Z](e,t){if(!this[S]||this[S].length===0){this[Z]=this[C];return this[C](e,t)}let n=this[C].bind(this);for(let e=this[S].length-1;e>=0;e--){n=this[S][e](n)}this[Z]=n;return n(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new c("handler must be an object")}try{if(!e||typeof e!=="object"){throw new c("opts must be an object.")}if(this[v]||this[_]){throw new i}if(this[T]){throw new A}return this[Z](e,t)}catch(e){if(typeof t.onError!=="function"){throw new c("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},28611:(e,t,n)=>{const o=n(24434);class Dispatcher extends o{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},8923:(e,t,n)=>{const o=n(4652);const i=n(3440);const{ReadableStreamFrom:A,isBlobLike:c,isReadableStreamLike:d,readableStreamClose:p,createDeferredPromise:C,fullyReadBody:S}=n(15523);const{FormData:v}=n(43073);const{kState:T}=n(89710);const{webidl:_}=n(74222);const{DOMException:V,structuredClone:Z}=n(87326);const{Blob:ee,File:te}=n(20181);const{kBodyUsed:re}=n(36443);const ne=n(42613);const{isErrored:oe}=n(3440);const{isUint8Array:ie,isArrayBuffer:se}=n(98253);const{File:ae}=n(63041);const{parseMIMEType:Ae,serializeAMimeType:ce}=n(94322);let le;try{const e=n(77598);le=t=>e.randomInt(0,t)}catch{le=e=>Math.floor(Math.random(e))}let ue=globalThis.ReadableStream;const de=te??ae;const pe=new TextEncoder;const ge=new TextDecoder;function extractBody(e,t=false){if(!ue){ue=n(63774).ReadableStream}let o=null;if(e instanceof ue){o=e}else if(c(e)){o=e.stream()}else{o=new ue({async pull(e){e.enqueue(typeof S==="string"?pe.encode(S):S);queueMicrotask((()=>p(e)))},start(){},type:undefined})}ne(d(o));let C=null;let S=null;let v=null;let T=null;if(typeof e==="string"){S=e;T="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){S=e.toString();T="application/x-www-form-urlencoded;charset=UTF-8"}else if(se(e)){S=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){S=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(i.isFormDataLike(e)){const t=`----formdata-undici-0${`${le(1e11)}`.padStart(11,"0")}`;const n=`--${t}\r\nContent-Disposition: form-data` +import{createRequire as e}from"module";var t={5116:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A512){throw new ValidationError(`Key Validation Error: ${e} cannot be larger than 512 characters.`)}const t=/^[^,]*$/;if(!t.test(e)){throw new ValidationError(`Key Validation Error: ${e} cannot contain commas.`)}}function isFeatureAvailable(){const e=(0,T.getCacheServiceVersion)();switch(e){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}function restoreCache(e,t,n,o){return c(this,arguments,void 0,(function*(e,t,n,o,i=false){const A=(0,T.getCacheServiceVersion)();d.debug(`Cache service version: ${A}`);checkPaths(e);switch(A){case"v2":return yield restoreCacheV2(e,t,n,o,i);case"v1":default:return yield restoreCacheV1(e,t,n,o,i)}}))}function restoreCacheV1(e,t,n,o){return c(this,arguments,void 0,(function*(e,t,n,o,i=false){n=n||[];const A=[t,...n];d.debug("Resolved Keys:");d.debug(JSON.stringify(A));if(A.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of A){checkKey(e)}const c=yield C.getCompressionMethod();let v="";try{const t=yield S.getCacheEntry(A,e,{compressionMethod:c,enableCrossOsArchive:i});if(!(t===null||t===void 0?void 0:t.archiveLocation)){return undefined}if(o===null||o===void 0?void 0:o.lookupOnly){d.info("Lookup only - skipping download");return t.cacheKey}v=p.join(yield C.createTempDirectory(),C.getCacheFileName(c));d.debug(`Archive Path: ${v}`);yield S.downloadCache(t.archiveLocation,v,o);if(d.isDebug()){yield(0,_.listTar)(v,c)}const n=C.getArchiveFileSizeInBytes(v);d.info(`Cache Size: ~${Math.round(n/(1024*1024))} MB (${n} B)`);yield(0,_.extractTar)(v,c);d.info("Cache restored successfully");return t.cacheKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){d.error(`Failed to restore: ${e.message}`)}else{d.warning(`Failed to restore: ${e.message}`)}}}finally{try{yield C.unlinkFile(v)}catch(e){d.debug(`Failed to delete archive: ${e}`)}}return undefined}))}function restoreCacheV2(e,t,n,o){return c(this,arguments,void 0,(function*(e,t,n,o,i=false){o=Object.assign(Object.assign({},o),{useAzureSdk:true});n=n||[];const A=[t,...n];d.debug("Resolved Keys:");d.debug(JSON.stringify(A));if(A.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of A){checkKey(e)}let c="";try{const T=v.internalCacheTwirpClient();const V=yield C.getCompressionMethod();const Z={key:t,restoreKeys:n,version:C.getCacheVersion(e,V,i)};const ee=yield T.GetCacheEntryDownloadURL(Z);if(!ee.ok){d.debug(`Cache not found for version ${Z.version} of keys: ${A.join(", ")}`);return undefined}const te=Z.key!==ee.matchedKey;if(te){d.info(`Cache hit for restore-key: ${ee.matchedKey}`)}else{d.info(`Cache hit for: ${ee.matchedKey}`)}if(o===null||o===void 0?void 0:o.lookupOnly){d.info("Lookup only - skipping download");return ee.matchedKey}c=p.join(yield C.createTempDirectory(),C.getCacheFileName(V));d.debug(`Archive path: ${c}`);d.debug(`Starting download of archive to: ${c}`);yield S.downloadCache(ee.signedDownloadUrl,c,o);const re=C.getArchiveFileSizeInBytes(c);d.info(`Cache Size: ~${Math.round(re/(1024*1024))} MB (${re} B)`);if(d.isDebug()){yield(0,_.listTar)(c,V)}yield(0,_.extractTar)(c,V);d.info("Cache restored successfully");return ee.matchedKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){d.error(`Failed to restore: ${e.message}`)}else{d.warning(`Failed to restore: ${e.message}`)}}}finally{try{if(c){yield C.unlinkFile(c)}}catch(e){d.debug(`Failed to delete archive: ${e}`)}}return undefined}))}function saveCache(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=false){const i=(0,T.getCacheServiceVersion)();d.debug(`Cache service version: ${i}`);checkPaths(e);checkKey(t);switch(i){case"v2":return yield saveCacheV2(e,t,n,o);case"v1":default:return yield saveCacheV1(e,t,n,o)}}))}function saveCacheV1(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=false){var i,A,c,v,Z;const ee=yield C.getCompressionMethod();let te=-1;const re=yield C.resolvePaths(e);d.debug("Cache Paths:");d.debug(`${JSON.stringify(re)}`);if(re.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const ne=yield C.createTempDirectory();const oe=p.join(ne,C.getCacheFileName(ee));d.debug(`Archive Path: ${oe}`);try{yield(0,_.createTar)(ne,re,ee);if(d.isDebug()){yield(0,_.listTar)(oe,ee)}const p=10*1024*1024*1024;const V=C.getArchiveFileSizeInBytes(oe);d.debug(`File Size: ${V}`);if(V>p&&!(0,T.isGhes)()){throw new Error(`Cache size of ~${Math.round(V/(1024*1024))} MB (${V} B) is over the 10GB limit, not saving cache.`)}d.debug("Reserving Cache");const ie=yield S.reserveCache(t,e,{compressionMethod:ee,enableCrossOsArchive:o,cacheSize:V});if((i=ie===null||ie===void 0?void 0:ie.result)===null||i===void 0?void 0:i.cacheId){te=(A=ie===null||ie===void 0?void 0:ie.result)===null||A===void 0?void 0:A.cacheId}else if((ie===null||ie===void 0?void 0:ie.statusCode)===400){throw new Error((v=(c=ie===null||ie===void 0?void 0:ie.error)===null||c===void 0?void 0:c.message)!==null&&v!==void 0?v:`Cache size of ~${Math.round(V/(1024*1024))} MB (${V} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache. More details: ${(Z=ie===null||ie===void 0?void 0:ie.error)===null||Z===void 0?void 0:Z.message}`)}d.debug(`Saving Cache (ID: ${te})`);yield S.saveCache(te,oe,"",n)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){d.info(`Failed to save: ${t.message}`)}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){d.error(`Failed to save: ${t.message}`)}else{d.warning(`Failed to save: ${t.message}`)}}}finally{try{yield C.unlinkFile(oe)}catch(e){d.debug(`Failed to delete archive: ${e}`)}}return te}))}function saveCacheV2(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=false){n=Object.assign(Object.assign({},n),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const i=yield C.getCompressionMethod();const A=v.internalCacheTwirpClient();let c=-1;const T=yield C.resolvePaths(e);d.debug("Cache Paths:");d.debug(`${JSON.stringify(T)}`);if(T.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const Z=yield C.createTempDirectory();const ee=p.join(Z,C.getCacheFileName(i));d.debug(`Archive Path: ${ee}`);try{yield(0,_.createTar)(Z,T,i);if(d.isDebug()){yield(0,_.listTar)(ee,i)}const p=C.getArchiveFileSizeInBytes(ee);d.debug(`File Size: ${p}`);n.archiveSizeBytes=p;d.debug("Reserving Cache");const v=C.getCacheVersion(e,i,o);const V={key:t,version:v};let te;try{const e=yield A.CreateCacheEntry(V);if(!e.ok){if(e.message){d.warning(`Cache reservation failed: ${e.message}`)}throw new Error(e.message||"Response was not ok")}te=e.signedUploadUrl}catch(e){d.debug(`Failed to reserve cache: ${e}`);throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache.`)}d.debug(`Attempting to upload cache located at: ${ee}`);yield S.saveCache(c,ee,te,n);const re={key:t,version:v,sizeBytes:`${p}`};const ne=yield A.FinalizeCacheEntryUpload(re);d.debug(`FinalizeCacheEntryUploadResponse: ${ne.ok}`);if(!ne.ok){if(ne.message){throw new FinalizeCacheError(ne.message)}throw new Error(`Unable to finalize cache with key ${t}, another job may be finalizing this cache.`)}c=parseInt(ne.entryId)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){d.info(`Failed to save: ${t.message}`)}else if(t.name===FinalizeCacheError.name){d.warning(t.message)}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){d.error(`Failed to save: ${t.message}`)}else{d.warning(`Failed to save: ${t.message}`)}}}finally{try{yield C.unlinkFile(ee)}catch(e){d.debug(`Failed to delete archive: ${e}`)}}return c}))}},93156:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.CacheService=t.GetCacheEntryDownloadURLResponse=t.GetCacheEntryDownloadURLRequest=t.FinalizeCacheEntryUploadResponse=t.FinalizeCacheEntryUploadRequest=t.CreateCacheEntryResponse=t.CreateCacheEntryRequest=void 0;const o=n(44420);const i=n(68886);const A=n(68886);const c=n(68886);const d=n(68886);const p=n(68886);const C=n(89444);class CreateCacheEntryRequest$Type extends p.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>C.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",version:""};globalThis.Object.defineProperty(t,d.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,c.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let i=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.posC.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(t,d.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,c.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let i=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.posC.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(t,d.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,c.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let i=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.pos{Object.defineProperty(t,"__esModule",{value:true});t.CacheServiceClientProtobuf=t.CacheServiceClientJSON=void 0;const o=n(93156);class CacheServiceClientJSON{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=o.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",t);return n.then((e=>o.CreateCacheEntryResponse.fromJson(e,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(e){const t=o.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",t);return n.then((e=>o.FinalizeCacheEntryUploadResponse.fromJson(e,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(e){const t=o.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",t);return n.then((e=>o.GetCacheEntryDownloadURLResponse.fromJson(e,{ignoreUnknownFields:true})))}}t.CacheServiceClientJSON=CacheServiceClientJSON;class CacheServiceClientProtobuf{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=o.CreateCacheEntryRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",t);return n.then((e=>o.CreateCacheEntryResponse.fromBinary(e)))}FinalizeCacheEntryUpload(e){const t=o.FinalizeCacheEntryUploadRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",t);return n.then((e=>o.FinalizeCacheEntryUploadResponse.fromBinary(e)))}GetCacheEntryDownloadURL(e){const t=o.GetCacheEntryDownloadURLRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",t);return n.then((e=>o.GetCacheEntryDownloadURLResponse.fromBinary(e)))}}t.CacheServiceClientProtobuf=CacheServiceClientProtobuf},89444:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.CacheMetadata=void 0;const o=n(68886);const i=n(68886);const A=n(68886);const c=n(68886);const d=n(68886);const p=n(29425);class CacheMetadata$Type extends d.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>p.CacheScope}])}create(e){const t={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(t,c.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,A.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let A=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.pos{Object.defineProperty(t,"__esModule",{value:true});t.CacheScope=void 0;const o=n(68886);const i=n(68886);const A=n(68886);const c=n(68886);const d=n(68886);class CacheScope$Type extends d.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){const t={scope:"",permission:"0"};globalThis.Object.defineProperty(t,c.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,A.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,o){let A=o!==null&&o!==void 0?o:this.create(),c=e.pos+t;while(e.posc(this,void 0,void 0,(function*(){return o.getJson(getCacheApiUrl(A))}))));if(p.statusCode===204){if(d.isDebug()){yield printCachesListForDiagnostics(e[0],o,i)}return null}if(!(0,ee.isSuccessStatusCode)(p.statusCode)){throw new Error(`Cache service responded with ${p.statusCode}`)}const C=p.result;const S=C===null||C===void 0?void 0:C.archiveLocation;if(!S){throw new Error("Cache not found.")}d.setSecret(S);d.debug(`Cache Result:`);d.debug(JSON.stringify(C));return C}))}function printCachesListForDiagnostics(e,t,n){return c(this,void 0,void 0,(function*(){const o=`caches?key=${encodeURIComponent(e)}`;const i=yield(0,ee.retryTypedResponse)("listCache",(()=>c(this,void 0,void 0,(function*(){return t.getJson(getCacheApiUrl(o))}))));if(i.statusCode===200){const t=i.result;const o=t===null||t===void 0?void 0:t.totalCount;if(o&&o>0){d.debug(`No matching cache found for cache key '${e}', version '${n} and scope ${process.env["GITHUB_REF"]}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(const e of(t===null||t===void 0?void 0:t.artifactCaches)||[]){d.debug(`Cache Key: ${e===null||e===void 0?void 0:e.cacheKey}, Cache Version: ${e===null||e===void 0?void 0:e.cacheVersion}, Cache Scope: ${e===null||e===void 0?void 0:e.scope}, Cache Created: ${e===null||e===void 0?void 0:e.creationTime}`)}}}}))}function downloadCache(e,t,n){return c(this,void 0,void 0,(function*(){const o=new v.URL(e);const i=(0,Z.getDownloadOptions)(n);if(o.hostname.endsWith(".blob.core.windows.net")){if(i.useAzureSdk){yield(0,V.downloadCacheStorageSDK)(e,t,i)}else if(i.concurrentBlobDownloads){yield(0,V.downloadCacheHttpClientConcurrent)(e,t,i)}else{yield(0,V.downloadCacheHttpClient)(e,t)}}else{yield(0,V.downloadCacheHttpClient)(e,t)}}))}function reserveCache(e,t,n){return c(this,void 0,void 0,(function*(){const o=createHttpClient();const i=T.getCacheVersion(t,n===null||n===void 0?void 0:n.compressionMethod,n===null||n===void 0?void 0:n.enableCrossOsArchive);const A={key:e,version:i,cacheSize:n===null||n===void 0?void 0:n.cacheSize};const d=yield(0,ee.retryTypedResponse)("reserveCache",(()=>c(this,void 0,void 0,(function*(){return o.postJson(getCacheApiUrl("caches"),A)}))));return d}))}function getContentRange(e,t){return`bytes ${e}-${t}/*`}function uploadChunk(e,t,n,o,i){return c(this,void 0,void 0,(function*(){d.debug(`Uploading chunk of size ${i-o+1} bytes at offset ${o} with content range: ${getContentRange(o,i)}`);const A={"Content-Type":"application/octet-stream","Content-Range":getContentRange(o,i)};const p=yield(0,ee.retryHttpClientResponse)(`uploadChunk (start: ${o}, end: ${i})`,(()=>c(this,void 0,void 0,(function*(){return e.sendStream("PATCH",t,n(),A)}))));if(!(0,ee.isSuccessStatusCode)(p.message.statusCode)){throw new Error(`Cache service responded with ${p.message.statusCode} during upload chunk.`)}}))}function uploadFile(e,t,n,o){return c(this,void 0,void 0,(function*(){const i=T.getArchiveFileSizeInBytes(n);const A=getCacheApiUrl(`caches/${t.toString()}`);const p=S.openSync(n,"r");const C=(0,Z.getUploadOptions)(o);const v=T.assertDefined("uploadConcurrency",C.uploadConcurrency);const _=T.assertDefined("uploadChunkSize",C.uploadChunkSize);const V=[...new Array(v).keys()];d.debug("Awaiting all uploads");let ee=0;try{yield Promise.all(V.map((()=>c(this,void 0,void 0,(function*(){while(eeS.createReadStream(n,{fd:p,start:o,end:c,autoClose:false}).on("error",(e=>{throw new Error(`Cache upload failed because file read failed with ${e.message}`)}))),o,c)}})))))}finally{S.closeSync(p)}return}))}function commitCache(e,t,n){return c(this,void 0,void 0,(function*(){const o={size:n};return yield(0,ee.retryTypedResponse)("commitCache",(()=>c(this,void 0,void 0,(function*(){return e.postJson(getCacheApiUrl(`caches/${t.toString()}`),o)}))))}))}function saveCache(e,t,n,o){return c(this,void 0,void 0,(function*(){const i=(0,Z.getUploadOptions)(o);if(i.useAzureSdk){if(!n){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield(0,_.uploadCacheArchiveSDK)(n,t,o)}else{const n=createHttpClient();d.debug("Upload cache");yield uploadFile(n,e,t,o);d.debug("Commiting cache");const i=T.getArchiveFileSizeInBytes(t);d.info(`Cache Size: ~${Math.round(i/(1024*1024))} MB (${i} B)`);const A=yield commitCache(n,e,i);if(!(0,ee.isSuccessStatusCode)(A.statusCode)){throw new Error(`Cache service responded with ${A.statusCode} during commit cache.`)}d.info("Cache saved successfully")}}))}},98299:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;An+=e.toString(),stderr:e=>n+=e.toString()}})}catch(e){p.debug(e.message)}n=n.trim();p.debug(n);return n}))}function getCompressionMethod(){return c(this,void 0,void 0,(function*(){const e=yield getVersion("zstd",["--quiet"]);const t=Z.clean(e);p.debug(`zstd version: ${t}`);if(e===""){return te.CompressionMethod.Gzip}else{return te.CompressionMethod.ZstdWithoutLong}}))}function getCacheFileName(e){return e===te.CompressionMethod.Gzip?te.CacheFilename.Gzip:te.CacheFilename.Zstd}function getGnuTarPathOnWindows(){return c(this,void 0,void 0,(function*(){if(_.existsSync(te.GnuTarPathOnWindows)){return te.GnuTarPathOnWindows}const e=yield getVersion("tar");return e.toLowerCase().includes("gnu tar")?v.which("tar"):""}))}function assertDefined(e,t){if(t===undefined){throw Error(`Expected ${e} but value was undefiend`)}return t}function getCacheVersion(e,t,n=false){const o=e.slice();if(t){o.push(t)}if(process.platform==="win32"&&!n){o.push("windows-only")}o.push(re);return T.createHash("sha256").update(o.join("|")).digest("hex")}function getRuntimeToken(){const e=process.env["ACTIONS_RUNTIME_TOKEN"];if(!e){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return e}},17606:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isGhes=isGhes;t.getCacheServiceVersion=getCacheServiceVersion;t.getCacheServiceURL=getCacheServiceURL;function isGhes(){const e=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const t=e.hostname.trimEnd().toUpperCase();const n=t==="GITHUB.COM";const o=t.endsWith(".GHE.COM");const i=t.endsWith(".LOCALHOST");return!n&&!o&&!i}function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}function getCacheServiceURL(){const e=getCacheServiceVersion();switch(e){case"v1":return process.env["ACTIONS_CACHE_URL"]||process.env["ACTIONS_RESULTS_URL"]||"";case"v2":return process.env["ACTIONS_RESULTS_URL"]||"";default:throw new Error(`Unsupported cache service version: ${e}`)}}},58287:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.CacheFileSizeLimit=t.ManifestFilename=t.TarFilename=t.SystemTarPathOnWindows=t.GnuTarPathOnWindows=t.SocketTimeout=t.DefaultRetryDelay=t.DefaultRetryAttempts=t.ArchiveToolType=t.CompressionMethod=t.CacheFilename=void 0;var n;(function(e){e["Gzip"]="cache.tgz";e["Zstd"]="cache.tzst"})(n||(t.CacheFilename=n={}));var o;(function(e){e["Gzip"]="gzip";e["ZstdWithoutLong"]="zstd-without-long";e["Zstd"]="zstd"})(o||(t.CompressionMethod=o={}));var i;(function(e){e["GNU"]="gnu";e["BSD"]="bsd"})(i||(t.ArchiveToolType=i={}));t.DefaultRetryAttempts=2;t.DefaultRetryDelay=5e3;t.SocketTimeout=5e3;t.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;t.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;t.TarFilename="cache.tar";t.ManifestFilename="manifest.txt";t.CacheFileSizeLimit=10*Math.pow(1024,3)},75067:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}t.DownloadProgress=DownloadProgress;function downloadCacheHttpClient(e,t){return c(this,void 0,void 0,(function*(){const n=v.createWriteStream(t);const o=new p.HttpClient("actions/cache");const i=yield(0,ee.retryHttpClientResponse)("downloadCache",(()=>c(this,void 0,void 0,(function*(){return o.get(e)}))));i.message.socket.setTimeout(Z.SocketTimeout,(()=>{i.message.destroy();d.debug(`Aborting download, socket timed out after ${Z.SocketTimeout} ms`)}));yield pipeResponseToStream(i,n);const A=i.message.headers["content-length"];if(A){const e=parseInt(A);const n=V.getArchiveFileSizeInBytes(t);if(n!==e){throw new Error(`Incomplete download. Expected file size: ${e}, actual file size: ${n}`)}}else{d.debug("Unable to validate download, no Content-Length header")}}))}function downloadCacheHttpClientConcurrent(e,t,n){return c(this,void 0,void 0,(function*(){var o;const i=yield v.promises.open(t,"w");const A=new p.HttpClient("actions/cache",undefined,{socketTimeout:n.timeoutInMs,keepAlive:true});try{const t=yield(0,ee.retryHttpClientResponse)("downloadCacheMetadata",(()=>c(this,void 0,void 0,(function*(){return yield A.request("HEAD",e,null,{})}))));const d=t.message.headers["content-length"];if(d===undefined||d===null){throw new Error("Content-Length not found on blob response")}const p=parseInt(d);if(Number.isNaN(p)){throw new Error(`Could not interpret Content-Length: ${p}`)}const C=[];const S=4*1024*1024;for(let t=0;tc(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(A,e,t,n)}))})}C.reverse();let v=0;let T=0;const _=new DownloadProgress(p);_.startDisplayTimer();const V=_.onProgress();const Z=[];let te;const waitAndWrite=()=>c(this,void 0,void 0,(function*(){const e=yield Promise.race(Object.values(Z));yield i.write(e.buffer,0,e.count,e.offset);v--;delete Z[e.offset];T+=e.count;V({loadedBytes:T})}));while(te=C.pop()){Z[te.offset]=te.promiseGetter();v++;if(v>=((o=n.downloadConcurrency)!==null&&o!==void 0?o:10)){yield waitAndWrite()}}while(v>0){yield waitAndWrite()}}finally{A.dispose();yield i.close()}}))}function downloadSegmentRetry(e,t,n,o){return c(this,void 0,void 0,(function*(){const i=5;let A=0;while(true){try{const i=3e4;const A=yield promiseWithTimeout(i,downloadSegment(e,t,n,o));if(typeof A==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return A}catch(e){if(A>=i){throw e}A++}}}))}function downloadSegment(e,t,n,o){return c(this,void 0,void 0,(function*(){const i=yield(0,ee.retryHttpClientResponse)("downloadCachePart",(()=>c(this,void 0,void 0,(function*(){return yield e.get(t,{Range:`bytes=${n}-${n+o-1}`})}))));if(!i.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:n,count:o,buffer:yield i.readBodyBuffer()}}))}function downloadCacheStorageSDK(e,t,n){return c(this,void 0,void 0,(function*(){var o;const i=new C.BlockBlobClient(e,undefined,{retryOptions:{tryTimeoutInMs:n.timeoutInMs}});const A=yield i.getProperties();const c=(o=A.contentLength)!==null&&o!==void 0?o:-1;if(c<0){d.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(e,t)}else{const e=Math.min(134217728,S.constants.MAX_LENGTH);const o=new DownloadProgress(c);const A=v.openSync(t,"w");try{o.startDisplayTimer();const t=new te.AbortController;const d=t.signal;while(!o.isDone()){const p=o.segmentOffset+o.segmentSize;const C=Math.min(e,c-p);o.nextSegment(C);const S=yield promiseWithTimeout(n.segmentTimeoutInMs||36e5,i.downloadToBuffer(p,C,{abortSignal:d,concurrency:n.downloadConcurrency,onProgress:o.onProgress()}));if(S==="timeout"){t.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(S)){v.writeFileSync(A,S)}}}finally{o.stopDisplayTimer();v.closeSync(A)}}}))}const promiseWithTimeout=(e,t)=>c(void 0,void 0,void 0,(function*(){let n;const o=new Promise((t=>{n=setTimeout((()=>t("timeout")),e)}));return Promise.race([t,o]).then((e=>{clearTimeout(n);return e}))}))},32846:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A=200&&e<300}function isServerErrorStatusCode(e){if(!e){return true}return e>=500}function isRetryableStatusCode(e){if(!e){return false}const t=[p.HttpCodes.BadGateway,p.HttpCodes.ServiceUnavailable,p.HttpCodes.GatewayTimeout];return t.includes(e)}function sleep(e){return c(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}function retry(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=C.DefaultRetryAttempts,i=C.DefaultRetryDelay,A=undefined){let c="";let p=1;while(p<=o){let C=undefined;let S=undefined;let v=false;try{C=yield t()}catch(e){if(A){C=A(e)}v=true;c=e.message}if(C){S=n(C);if(!isServerErrorStatusCode(S)){return C}}if(S){v=isRetryableStatusCode(S);c=`Cache service responded with ${S}`}d.debug(`${e} - Attempt ${p} of ${o} failed with error: ${c}`);if(!v){d.debug(`${e} - Error is not retryable`);break}yield sleep(i);p++}throw Error(`${e} failed: ${c}`)}))}function retryTypedResponse(e,t){return c(this,arguments,void 0,(function*(e,t,n=C.DefaultRetryAttempts,o=C.DefaultRetryDelay){return yield retry(e,t,(e=>e.statusCode),n,o,(e=>{if(e instanceof p.HttpClientError){return{statusCode:e.statusCode,result:null,headers:{},error:e}}else{return undefined}}))}))}function retryHttpClientResponse(e,t){return c(this,arguments,void 0,(function*(e,t,n=C.DefaultRetryAttempts,o=C.DefaultRetryDelay){return yield retry(e,t,(e=>e.message.statusCode),n,o)}))}},96819:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.internalCacheTwirpClient=internalCacheTwirpClient;const i=n(37484);const A=n(41899);const c=n(50263);const d=n(17606);const p=n(98299);const C=n(44552);const S=n(54844);const v=n(11486);const T=n(27564);class CacheServiceClient{constructor(e,t,n,o){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const i=(0,p.getRuntimeToken)();this.baseUrl=(0,d.getCacheServiceURL)();if(t){this.maxAttempts=t}if(n){this.baseRetryIntervalMilliseconds=n}if(o){this.retryMultiplier=o}this.httpClient=new S.HttpClient(e,[new C.BearerCredentialHandler(i)])}request(e,t,n,A){return o(this,void 0,void 0,(function*(){const c=new URL(`/twirp/${e}/${t}`,this.baseUrl).href;(0,i.debug)(`[Request] ${t} ${c}`);const d={"Content-Type":n};try{const{body:e}=yield this.retryableRequest((()=>o(this,void 0,void 0,(function*(){return this.httpClient.post(c,JSON.stringify(A),d)}))));return e}catch(e){throw new Error(`Failed to ${t}: ${e.message}`)}}))}retryableRequest(e){return o(this,void 0,void 0,(function*(){let t=0;let n="";let o="";while(t=200&&e<300}isRetryableHttpStatusCode(e){if(!e)return false;const t=[S.HttpCodes.BadGateway,S.HttpCodes.GatewayTimeout,S.HttpCodes.InternalServerError,S.HttpCodes.ServiceUnavailable,S.HttpCodes.TooManyRequests];return t.includes(e)}sleep(e){return o(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}getExponentialRetryTimeMilliseconds(e){if(e<0){throw new Error("attempt should be a positive integer")}if(e===0){return this.baseRetryIntervalMilliseconds}const t=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e);const n=t*this.retryMultiplier;return Math.trunc(Math.random()*(n-t)+t)}}function internalCacheTwirpClient(e){const t=new CacheServiceClient((0,A.getUserAgentString)(),e===null||e===void 0?void 0:e.maxAttempts,e===null||e===void 0?void 0:e.retryIntervalMs,e===null||e===void 0?void 0:e.retryMultiplier);return new v.CacheServiceClientJSON(t)}},50263:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.UsageError=t.NetworkError=t.GHESNotSupportedError=t.CacheNotFoundError=t.InvalidResponseError=t.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(e=[]){let t="No files were found to upload";if(e.length>0){t+=`: ${e.join(", ")}`}super(t);this.files=e;this.name="FilesNotFoundError"}}t.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(e){super(e);this.name="InvalidResponseError"}}t.InvalidResponseError=InvalidResponseError;class CacheNotFoundError extends Error{constructor(e="Cache not found"){super(e);this.name="CacheNotFoundError"}}t.CacheNotFoundError=CacheNotFoundError;class GHESNotSupportedError extends Error{constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e);this.name="GHESNotSupportedError"}}t.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(e){const t=`Unable to make request: ${e}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(t);this.code=e;this.name="NetworkError"}}t.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=e=>{if(!e)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(e)};class UsageError extends Error{constructor(){const e=`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(e);this.name="UsageError"}}t.UsageError=UsageError;UsageError.isUsageErrorMessage=e=>{if(!e)return false;return e.includes("insufficient usage")}},41899:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentString=getUserAgentString;const o=n(64012);function getUserAgentString(){return`@actions/cache-${o.version}`}},27564:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.maskSigUrl=maskSigUrl;t.maskSecretUrls=maskSecretUrls;const o=n(37484);function maskSigUrl(e){if(!e)return;try{const t=new URL(e);const n=t.searchParams.get("sig");if(n){(0,o.setSecret)(n);(0,o.setSecret)(encodeURIComponent(n))}}catch(t){(0,o.debug)(`Failed to parse URL: ${e} ${t instanceof Error?t.message:String(t)}`)}}function maskSecretUrls(e){if(typeof e!=="object"||e===null){(0,o.debug)("body is not an object or is null");return}if("signed_upload_url"in e&&typeof e.signed_upload_url==="string"){maskSigUrl(e.signed_upload_url)}if("signed_download_url"in e&&typeof e.signed_download_url==="string"){maskSigUrl(e.signed_download_url)}}},95321:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}t.UploadProgress=UploadProgress;function uploadCacheArchiveSDK(e,t,n){return c(this,void 0,void 0,(function*(){var o;const i=new p.BlobClient(e);const A=i.getBlockBlobClient();const c=new UploadProgress((o=n===null||n===void 0?void 0:n.archiveSizeBytes)!==null&&o!==void 0?o:0);const S={blockSize:n===null||n===void 0?void 0:n.uploadChunkSize,concurrency:n===null||n===void 0?void 0:n.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:c.onProgress()};try{c.startDisplayTimer();d.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);const e=yield A.uploadFile(t,S);if(e._response.status>=400){throw new C.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${e._response.status}`)}return e}catch(e){d.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${e.message}`);throw e}finally{c.stopDisplayTimer()}}))}},98356:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A0){e+=" ";let t=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const o=this.properties[n];if(o){if(t){t=false}else{e+=","}e+=`${n}=${escapeProperty(o)}`}}}}e+=`${p}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,d.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,d.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},37484:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ae!==""));if(t&&t.trimWhitespace===false){return n}return n.map((e=>e.trim()))}function getBooleanInput(e,t){const n=["true","True","TRUE"];const o=["false","False","FALSE"];const i=getInput(e,t);if(n.includes(i))return true;if(o.includes(i))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(e,t){const n=process.env["GITHUB_OUTPUT"]||"";if(n){return(0,p.issueFileCommand)("OUTPUT",(0,p.prepareKeyValueMessage)(e,t))}process.stdout.write(S.EOL);(0,d.issueCommand)("set-output",{name:e},(0,C.toCommandValue)(t))}function setCommandEcho(e){(0,d.issue)("echo",e?"on":"off")}function setFailed(e){process.exitCode=_.Failure;error(e)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(e){(0,d.issueCommand)("debug",{},e)}function error(e,t={}){(0,d.issueCommand)("error",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}function warning(e,t={}){(0,d.issueCommand)("warning",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}function notice(e,t={}){(0,d.issueCommand)("notice",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}function info(e){process.stdout.write(e+S.EOL)}function startGroup(e){(0,d.issue)("group",e)}function endGroup(){(0,d.issue)("endgroup")}function group(e,t){return c(this,void 0,void 0,(function*(){startGroup(e);let n;try{n=yield t()}finally{endGroup()}return n}))}function saveState(e,t){const n=process.env["GITHUB_STATE"]||"";if(n){return(0,p.issueFileCommand)("STATE",(0,p.prepareKeyValueMessage)(e,t))}(0,d.issueCommand)("save-state",{name:e},(0,C.toCommandValue)(t))}function getState(e){return process.env[`STATE_${e}`]||""}function getIDToken(e){return c(this,void 0,void 0,(function*(){return yield T.OidcClient.getIDToken(e)}))}var V=n(71847);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return V.summary}});var Z=n(71847);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return Z.markdownSummary}});var ee=n(31976);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return ee.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return ee.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return ee.toPlatformPath}});t.platform=A(n(18968))},24753:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const i=(t=o.result)===null||t===void 0?void 0:t.value;if(!i){throw new Error("Response json body do not have ID Token field")}return i}))}static getIDToken(e){return o(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const n=encodeURIComponent(e);t=`${t}&audience=${n}`}(0,c.debug)(`ID token url is ${t}`);const n=yield OidcClient.getCall(t);(0,c.setSecret)(n);return n}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},31976:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ac(void 0,void 0,void 0,(function*(){const{stdout:e}=yield C.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield C.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>c(void 0,void 0,void 0,(function*(){var e,t,n,o;const{stdout:i}=yield C.getExecOutput("sw_vers",undefined,{silent:true});const A=(t=(e=i.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const c=(o=(n=i.match(/ProductName:\s*(.+)/))===null||n===void 0?void 0:n[1])!==null&&o!==void 0?o:"";return{name:c,version:A}}));const getLinuxInfo=()=>c(void 0,void 0,void 0,(function*(){const{stdout:e}=yield C.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,n]=e.trim().split("\n");return{name:t,version:n}}));t.platform=p.default.platform();t.arch=p.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return c(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield t.isWindows?getWindowsInfo():t.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:t.platform,arch:t.arch,isWindows:t.isWindows,isMacOS:t.isMacOS,isLinux:t.isLinux})}))}},71847:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const i=n(70857);const A=n(79896);const{access:c,appendFile:d,writeFile:p}=A.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return o(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield c(e,A.constants.R_OK|A.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,n={}){const o=Object.entries(n).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${o}>`}return`<${e}${o}>${t}`}write(e){return o(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const n=yield this.filePath();const o=t?p:d;yield o(n,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return o(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(i.EOL)}addCodeBlock(e,t){const n=Object.assign({},t&&{lang:t});const o=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(o).addEOL()}addList(e,t=false){const n=t?"ol":"ul";const o=e.map((e=>this.wrap("li",e))).join("");const i=this.wrap(n,o);return this.addRaw(i).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:n,colspan:o,rowspan:i}=e;const A=t?"th":"td";const c=Object.assign(Object.assign({},o&&{colspan:o}),i&&{rowspan:i});return this.wrap(A,n,c)})).join("");return this.wrap("tr",t)})).join("");const n=this.wrap("table",t);return this.addRaw(n).addEOL()}addDetails(e,t){const n=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(n).addEOL()}addImage(e,t,n){const{width:o,height:i}=n||{};const A=Object.assign(Object.assign({},o&&{width:o}),i&&{height:i});const c=this.wrap("img",null,Object.assign({src:e,alt:t},A));return this.addRaw(c).addEOL()}addHeading(e,t){const n=`h${t}`;const o=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1";const i=this.wrap(o,e);return this.addRaw(i).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const n=Object.assign({},t&&{cite:t});const o=this.wrap("blockquote",e,n);return this.addRaw(o).addEOL()}addLink(e,t){const n=this.wrap("a",e,{href:t});return this.addRaw(n).addEOL()}}const C=new Summary;t.markdownSummary=C;t.summary=C},30302:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCommandValue=toCommandValue;t.toCommandProperties=toCommandProperties;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}},95236:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{c+=C.write(e);if(v){v(e)}};const stdOutListener=e=>{A+=p.write(e);if(S){S(e)}};const T=Object.assign(Object.assign({},n===null||n===void 0?void 0:n.listeners),{stdout:stdOutListener,stderr:stdErrListener});const _=yield exec(e,t,Object.assign(Object.assign({},n),{listeners:T}));A+=p.end();c+=C.end();return{exitCode:_,stdout:A,stderr:c}}))}},6665:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A-1){const e=o.substring(0,i);n(e);o=o.substring(i+d.EOL.length);i=o.indexOf(d.EOL)}return o}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(V){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(V){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const n of this.args){t+=" ";t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let n=false;for(const o of e){if(t.some((e=>e===o))){n=true;break}}if(!n){return e}let o='"';let i=true;for(let t=e.length;t>0;t--){o+=e[t-1];if(i&&e[t-1]==="\\"){o+="\\"}else if(e[t-1]==='"'){i=true;o+='"'}else{i=false}}o+='"';return o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let n=true;for(let o=e.length;o>0;o--){t+=e[o-1];if(n&&e[o-1]==="\\"){t+="\\"}else if(e[o-1]==='"'){n=true;t+="\\"}else{n=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const n={};n.cwd=e.cwd;n.env=e.env;n["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){n.argv0=`"${t}"`}return n}exec(){return c(this,void 0,void 0,(function*(){if(!T.isRooted(this.toolPath)&&(this.toolPath.includes("/")||V&&this.toolPath.includes("\\"))){this.toolPath=S.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield v.which(this.toolPath,true);return new Promise(((e,t)=>c(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const n=this._cloneExecOptions(this.options);if(!n.silent&&n.outStream){n.outStream.write(this._getCommandString(n)+d.EOL)}const o=new ExecState(n,this.toolPath);o.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield T.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const i=this._getSpawnFileName();const A=C.spawn(i,this._getSpawnArgs(n),this._getSpawnOptions(this.options,i));let c="";if(A.stdout){A.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!n.silent&&n.outStream){n.outStream.write(e)}c=this._processLineBuffer(e,c,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let p="";if(A.stderr){A.stderr.on("data",(e=>{o.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!n.silent&&n.errStream&&n.outStream){const t=n.failOnStdErr?n.errStream:n.outStream;t.write(e)}p=this._processLineBuffer(e,p,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}A.on("error",(e=>{o.processError=e.message;o.processExited=true;o.processClosed=true;o.CheckComplete()}));A.on("exit",(e=>{o.processExitCode=e;o.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);o.CheckComplete()}));A.on("close",(e=>{o.processExitCode=e;o.processExited=true;o.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);o.CheckComplete()}));o.on("done",((n,o)=>{if(c.length>0){this.emit("stdline",c)}if(p.length>0){this.emit("errline",p)}A.removeAllListeners();if(n){t(n)}else{e(o)}}));if(this.options.input){if(!A.stdin){throw new Error("child process missing stdin")}A.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let n=false;let o=false;let i="";function append(e){if(o&&e!=='"'){i+="\\"}i+=e;o=false}for(let A=0;A0){t.push(i);i=""}continue}append(c)}if(i.length>0){t.push(i.trim())}return t}class ExecState extends p.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,_.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},47206:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.hashFiles=t.create=void 0;const i=n(10103);const A=n(73608);function create(e,t){return o(this,void 0,void 0,(function*(){return yield i.DefaultGlobber.create(e,t)}))}t.create=create;function hashFiles(e,t="",n,i=false){return o(this,void 0,void 0,(function*(){let o=true;if(n&&typeof n.followSymbolicLinks==="boolean"){o=n.followSymbolicLinks}const c=yield create(e,{followSymbolicLinks:o});return(0,A.hashFiles)(c,t,i)}))}t.hashFiles=hashFiles},18164:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOptions=void 0;const c=A(n(54270));function getOptions(e){const t={followSymbolicLinks:true,implicitDescendants:true,matchDirectories:true,omitBrokenSymbolicLinks:true,excludeHiddenFiles:false};if(e){if(typeof e.followSymbolicLinks==="boolean"){t.followSymbolicLinks=e.followSymbolicLinks;c.debug(`followSymbolicLinks '${t.followSymbolicLinks}'`)}if(typeof e.implicitDescendants==="boolean"){t.implicitDescendants=e.implicitDescendants;c.debug(`implicitDescendants '${t.implicitDescendants}'`)}if(typeof e.matchDirectories==="boolean"){t.matchDirectories=e.matchDirectories;c.debug(`matchDirectories '${t.matchDirectories}'`)}if(typeof e.omitBrokenSymbolicLinks==="boolean"){t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks;c.debug(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)}if(typeof e.excludeHiddenFiles==="boolean"){t.excludeHiddenFiles=e.excludeHiddenFiles;c.debug(`excludeHiddenFiles '${t.excludeHiddenFiles}'`)}}return t}t.getOptions=getOptions},10103:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};var d=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(o,i){n=e[t](n),settle(o,i,n.done,n.value)}))}}function settle(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}};var p=this&&this.__await||function(e){return this instanceof p?(this.v=e,this):new p(e)};var C=this&&this.__asyncGenerator||function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n.apply(e,t||[]),i,A=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(e){if(o[e])i[e]=function(t){return new Promise((function(n,o){A.push([e,t,n,o])>1||resume(e,t)}))}}function resume(e,t){try{step(o[e](t))}catch(e){settle(A[0][3],e)}}function step(e){e.value instanceof p?Promise.resolve(e.value.v).then(fulfill,reject):settle(A[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),A.shift(),A.length)resume(A[0][0],A[0][1])}};Object.defineProperty(t,"__esModule",{value:true});t.DefaultGlobber=void 0;const S=A(n(54270));const v=A(n(79896));const T=A(n(18164));const _=A(n(16928));const V=A(n(98891));const Z=n(62644);const ee=n(25370);const te=n(79890);const re=process.platform==="win32";class DefaultGlobber{constructor(e){this.patterns=[];this.searchPaths=[];this.options=T.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,t,n,o;return c(this,void 0,void 0,(function*(){const i=[];try{for(var A=true,c=d(this.globGenerator()),p;p=yield c.next(),e=p.done,!e;A=true){o=p.value;A=false;const e=o;i.push(e)}}catch(e){t={error:e}}finally{try{if(!A&&!e&&(n=c.return))yield n.call(c)}finally{if(t)throw t.error}}return i}))}globGenerator(){return C(this,arguments,(function*globGenerator_1(){const e=T.getOptions(this.options);const t=[];for(const n of this.patterns){t.push(n);if(e.implicitDescendants&&(n.trailingSeparator||n.segments[n.segments.length-1]!=="**")){t.push(new ee.Pattern(n.negate,true,n.segments.concat("**")))}}const n=[];for(const e of V.getSearchPaths(t)){S.debug(`Search path '${e}'`);try{yield p(v.promises.lstat(e))}catch(e){if(e.code==="ENOENT"){continue}throw e}n.unshift(new te.SearchState(e,1))}const o=[];while(n.length){const i=n.pop();const A=V.match(t,i.path);const c=!!A||V.partialMatch(t,i.path);if(!A&&!c){continue}const d=yield p(DefaultGlobber.stat(i,e,o));if(!d){continue}if(e.excludeHiddenFiles&&_.basename(i.path).match(/^\./)){continue}if(d.isDirectory()){if(A&Z.MatchKind.Directory&&e.matchDirectories){yield yield p(i.path)}else if(!c){continue}const t=i.level+1;const o=(yield p(v.promises.readdir(i.path))).map((e=>new te.SearchState(_.join(i.path,e),t)));n.push(...o.reverse())}else if(A&Z.MatchKind.File){yield yield p(i.path)}}}))}static create(e,t){return c(this,void 0,void 0,(function*(){const n=new DefaultGlobber(t);if(re){e=e.replace(/\r\n/g,"\n");e=e.replace(/\r/g,"\n")}const o=e.split("\n").map((e=>e.trim()));for(const e of o){if(!e||e.startsWith("#")){continue}else{n.patterns.push(new ee.Pattern(e))}}n.searchPaths.push(...V.getSearchPaths(n.patterns));return n}))}static stat(e,t,n){return c(this,void 0,void 0,(function*(){let o;if(t.followSymbolicLinks){try{o=yield v.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(t.omitBrokenSymbolicLinks){S.debug(`Broken symlink '${e.path}'`);return undefined}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}}else{o=yield v.promises.lstat(e.path)}if(o.isDirectory()&&t.followSymbolicLinks){const t=yield v.promises.realpath(e.path);while(n.length>=e.level){n.pop()}if(n.some((e=>e===t))){S.debug(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return undefined}n.push(t)}return o}))}}t.DefaultGlobber=DefaultGlobber},73608:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};var d=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(o,i){n=e[t](n),settle(o,i,n.done,n.value)}))}}function settle(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}};Object.defineProperty(t,"__esModule",{value:true});t.hashFiles=void 0;const p=A(n(76982));const C=A(n(54270));const S=A(n(79896));const v=A(n(2203));const T=A(n(39023));const _=A(n(16928));function hashFiles(e,t,n=false){var o,i,A,V;var Z;return c(this,void 0,void 0,(function*(){const c=n?C.info:C.debug;let ee=false;const te=t?t:(Z=process.env["GITHUB_WORKSPACE"])!==null&&Z!==void 0?Z:process.cwd();const re=p.createHash("sha256");let ne=0;try{for(var oe=true,ie=d(e.globGenerator()),se;se=yield ie.next(),o=se.done,!o;oe=true){V=se.value;oe=false;const e=V;c(e);if(!e.startsWith(`${te}${_.sep}`)){c(`Ignore '${e}' since it is not under GITHUB_WORKSPACE.`);continue}if(S.statSync(e).isDirectory()){c(`Skip directory '${e}'.`);continue}const t=p.createHash("sha256");const n=T.promisify(v.pipeline);yield n(S.createReadStream(e),t);re.write(t.digest());ne++;if(!ee){ee=true}}}catch(e){i={error:e}}finally{try{if(!oe&&!o&&(A=ie.return))yield A.call(ie)}finally{if(i)throw i.error}}re.end();if(ee){c(`Found ${ne} files to hash.`);return re.digest("hex")}else{c(`No matches found for glob`);return""}}))}t.hashFiles=hashFiles},62644:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.MatchKind=void 0;var n;(function(e){e[e["None"]=0]="None";e[e["Directory"]=1]="Directory";e[e["File"]=2]="File";e[e["All"]=3]="All"})(n||(t.MatchKind=n={}))},84138:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.safeTrimTrailingSeparator=t.normalizeSeparators=t.hasRoot=t.hasAbsoluteRoot=t.ensureAbsoluteRoot=t.dirname=void 0;const d=A(n(16928));const p=c(n(42613));const C=process.platform==="win32";function dirname(e){e=safeTrimTrailingSeparator(e);if(C&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e)){return e}let t=d.dirname(e);if(C&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)){t=safeTrimTrailingSeparator(t)}return t}t.dirname=dirname;function ensureAbsoluteRoot(e,t){(0,p.default)(e,`ensureAbsoluteRoot parameter 'root' must not be empty`);(0,p.default)(t,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`);if(hasAbsoluteRoot(t)){return t}if(C){if(t.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let e=process.cwd();(0,p.default)(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);if(t[0].toUpperCase()===e[0].toUpperCase()){if(t.length===2){return`${t[0]}:\\${e.substr(3)}`}else{if(!e.endsWith("\\")){e+="\\"}return`${t[0]}:\\${e.substr(3)}${t.substr(2)}`}}else{return`${t[0]}:\\${t.substr(2)}`}}else if(normalizeSeparators(t).match(/^\\$|^\\[^\\]/)){const e=process.cwd();(0,p.default)(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);return`${e[0]}:\\${t.substr(1)}`}}(0,p.default)(hasAbsoluteRoot(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(e.endsWith("/")||C&&e.endsWith("\\")){}else{e+=d.sep}return e+t}t.ensureAbsoluteRoot=ensureAbsoluteRoot;function hasAbsoluteRoot(e){(0,p.default)(e,`hasAbsoluteRoot parameter 'itemPath' must not be empty`);e=normalizeSeparators(e);if(C){return e.startsWith("\\\\")||/^[A-Z]:\\/i.test(e)}return e.startsWith("/")}t.hasAbsoluteRoot=hasAbsoluteRoot;function hasRoot(e){(0,p.default)(e,`isRooted parameter 'itemPath' must not be empty`);e=normalizeSeparators(e);if(C){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.hasRoot=hasRoot;function normalizeSeparators(e){e=e||"";if(C){e=e.replace(/\//g,"\\");const t=/^\\\\+[^\\]/.test(e);return(t?"\\":"")+e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}t.normalizeSeparators=normalizeSeparators;function safeTrimTrailingSeparator(e){if(!e){return""}e=normalizeSeparators(e);if(!e.endsWith(d.sep)){return e}if(e===d.sep){return e}if(C&&/^[A-Z]:\\$/i.test(e)){return e}return e.substr(0,e.length-1)}t.safeTrimTrailingSeparator=safeTrimTrailingSeparator},76617:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Path=void 0;const d=A(n(16928));const p=A(n(84138));const C=c(n(42613));const S=process.platform==="win32";class Path{constructor(e){this.segments=[];if(typeof e==="string"){(0,C.default)(e,`Parameter 'itemPath' must not be empty`);e=p.safeTrimTrailingSeparator(e);if(!p.hasRoot(e)){this.segments=e.split(d.sep)}else{let t=e;let n=p.dirname(t);while(n!==t){const e=d.basename(t);this.segments.unshift(e);t=n;n=p.dirname(t)}this.segments.unshift(t)}}else{(0,C.default)(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;t!e.negate));const t={};for(const n of e){const e=p?n.searchPath.toUpperCase():n.searchPath;t[e]="candidate"}const n=[];for(const o of e){const e=p?o.searchPath.toUpperCase():o.searchPath;if(t[e]==="included"){continue}let i=false;let A=e;let d=c.dirname(A);while(d!==A){if(t[d]){i=true;break}A=d;d=c.dirname(A)}if(!i){n.push(o.searchPath);t[e]="included"}}return n}t.getSearchPaths=getSearchPaths;function match(e,t){let n=d.MatchKind.None;for(const o of e){if(o.negate){n&=~o.match(t)}else{n|=o.match(t)}}return n}t.match=match;function partialMatch(e,t){return e.some((e=>!e.negate&&e.partialMatch(t)))}t.partialMatch=partialMatch},25370:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Pattern=void 0;const d=A(n(70857));const p=A(n(16928));const C=A(n(84138));const S=c(n(42613));const v=n(43772);const T=n(62644);const _=n(76617);const V=process.platform==="win32";class Pattern{constructor(e,t=false,n,o){this.negate=false;let i;if(typeof e==="string"){i=e.trim()}else{n=n||[];(0,S.default)(n.length,`Parameter 'segments' must not empty`);const t=Pattern.getLiteral(n[0]);(0,S.default)(t&&C.hasAbsoluteRoot(t),`Parameter 'segments' first element must be a root path`);i=new _.Path(n).toString().trim();if(e){i=`!${i}`}}while(i.startsWith("!")){this.negate=!this.negate;i=i.substr(1).trim()}i=Pattern.fixupPattern(i,o);this.segments=new _.Path(i).segments;this.trailingSeparator=C.normalizeSeparators(i).endsWith(p.sep);i=C.safeTrimTrailingSeparator(i);let A=false;const c=this.segments.map((e=>Pattern.getLiteral(e))).filter((e=>!A&&!(A=e==="")));this.searchPath=new _.Path(c).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(c[0]),V?"i":"");this.isImplicitPattern=t;const d={dot:true,nobrace:true,nocase:V,nocomment:true,noext:true,nonegate:true};i=V?i.replace(/\\/g,"/"):i;this.minimatch=new v.Minimatch(i,d)}match(e){if(this.segments[this.segments.length-1]==="**"){e=C.normalizeSeparators(e);if(!e.endsWith(p.sep)&&this.isImplicitPattern===false){e=`${e}${p.sep}`}}else{e=C.safeTrimTrailingSeparator(e)}if(this.minimatch.match(e)){return this.trailingSeparator?T.MatchKind.Directory:T.MatchKind.All}return T.MatchKind.None}partialMatch(e){e=C.safeTrimTrailingSeparator(e);if(C.dirname(e)===e){return this.rootRegExp.test(e)}return this.minimatch.matchOne(e.split(V?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(e){return(V?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,t){(0,S.default)(e,"pattern cannot be empty");const n=new _.Path(e).segments.map((e=>Pattern.getLiteral(e)));(0,S.default)(n.every(((e,t)=>(e!=="."||t===0)&&e!=="..")),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`);(0,S.default)(!C.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`);e=C.normalizeSeparators(e);if(e==="."||e.startsWith(`.${p.sep}`)){e=Pattern.globEscape(process.cwd())+e.substr(1)}else if(e==="~"||e.startsWith(`~${p.sep}`)){t=t||d.homedir();(0,S.default)(t,"Unable to determine HOME directory");(0,S.default)(C.hasAbsoluteRoot(t),`Expected HOME directory to be a rooted path. Actual '${t}'`);e=Pattern.globEscape(t)+e.substr(1)}else if(V&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let t=C.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));if(e.length>2&&!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(2)}else if(V&&(e==="\\"||e.match(/^\\[^\\]/))){let t=C.ensureAbsoluteRoot("C:\\dummy-root","\\");if(!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(1)}else{e=C.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),e)}return C.normalizeSeparators(e)}static getLiteral(e){let t="";for(let n=0;n=0){if(o.length>1){return""}if(o){t+=o;n=i;continue}}}t+=o}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}}t.Pattern=Pattern},79890:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.SearchState=void 0;class SearchState{constructor(e,t){this.path=e;this.level=t}}t.SearchState=SearchState},76240:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const c=A(n(70857));const d=n(6804);function issueCommand(e,t,n){const o=new Command(e,t,n);process.stdout.write(o.toString()+c.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const p="::";class Command{constructor(e,t,n){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=n}toString(){let e=p+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const o=this.properties[n];if(o){if(t){t=false}else{e+=","}e+=`${n}=${escapeProperty(o)}`}}}}e+=`${p}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,d.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,d.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},54270:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.platform=t.toPlatformPath=t.toWin32Path=t.toPosixPath=t.markdownSummary=t.summary=t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const d=n(76240);const p=n(86359);const C=n(6804);const S=A(n(70857));const v=A(n(16928));const T=n(76228);var _;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(_||(t.ExitCode=_={}));function exportVariable(e,t){const n=(0,C.toCommandValue)(t);process.env[e]=n;const o=process.env["GITHUB_ENV"]||"";if(o){return(0,p.issueFileCommand)("ENV",(0,p.prepareKeyValueMessage)(e,t))}(0,d.issueCommand)("set-env",{name:e},n)}t.exportVariable=exportVariable;function setSecret(e){(0,d.issueCommand)("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){(0,p.issueFileCommand)("PATH",e)}else{(0,d.issueCommand)("add-path",{},e)}process.env["PATH"]=`${e}${v.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const n=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!n){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return n}return n.trim()}t.getInput=getInput;function getMultilineInput(e,t){const n=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return n}return n.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const n=["true","True","TRUE"];const o=["false","False","FALSE"];const i=getInput(e,t);if(n.includes(i))return true;if(o.includes(i))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const n=process.env["GITHUB_OUTPUT"]||"";if(n){return(0,p.issueFileCommand)("OUTPUT",(0,p.prepareKeyValueMessage)(e,t))}process.stdout.write(S.EOL);(0,d.issueCommand)("set-output",{name:e},(0,C.toCommandValue)(t))}t.setOutput=setOutput;function setCommandEcho(e){(0,d.issue)("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=_.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){(0,d.issueCommand)("debug",{},e)}t.debug=debug;function error(e,t={}){(0,d.issueCommand)("error",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){(0,d.issueCommand)("warning",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){(0,d.issueCommand)("notice",(0,C.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+S.EOL)}t.info=info;function startGroup(e){(0,d.issue)("group",e)}t.startGroup=startGroup;function endGroup(){(0,d.issue)("endgroup")}t.endGroup=endGroup;function group(e,t){return c(this,void 0,void 0,(function*(){startGroup(e);let n;try{n=yield t()}finally{endGroup()}return n}))}t.group=group;function saveState(e,t){const n=process.env["GITHUB_STATE"]||"";if(n){return(0,p.issueFileCommand)("STATE",(0,p.prepareKeyValueMessage)(e,t))}(0,d.issueCommand)("save-state",{name:e},(0,C.toCommandValue)(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return c(this,void 0,void 0,(function*(){return yield T.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var V=n(3345);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return V.summary}});var Z=n(3345);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return Z.markdownSummary}});var ee=n(85642);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return ee.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return ee.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return ee.toPlatformPath}});t.platform=A(n(93458))},86359:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const c=A(n(76982));const d=A(n(79896));const p=A(n(70857));const C=n(6804);function issueFileCommand(e,t){const n=process.env[`GITHUB_${e}`];if(!n){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!d.existsSync(n)){throw new Error(`Missing file at path: ${n}`)}d.appendFileSync(n,`${(0,C.toCommandValue)(t)}${p.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const n=`ghadelimiter_${c.randomUUID()}`;const o=(0,C.toCommandValue)(t);if(e.includes(n)){throw new Error(`Unexpected input: name should not contain the delimiter "${n}"`)}if(o.includes(n)){throw new Error(`Unexpected input: value should not contain the delimiter "${n}"`)}return`${e}<<${n}${p.EOL}${o}${p.EOL}${n}`}t.prepareKeyValueMessage=prepareKeyValueMessage},76228:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const i=n(55074);const A=n(23950);const c=n(54270);class OidcClient{static createHttpClient(e=true,t=10){const n={allowRetries:e,maxRetries:t};return new i.HttpClient("actions/oidc-client",[new A.BearerCredentialHandler(OidcClient.getRequestToken())],n)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return o(this,void 0,void 0,(function*(){const n=OidcClient.createHttpClient();const o=yield n.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const i=(t=o.result)===null||t===void 0?void 0:t.value;if(!i){throw new Error("Response json body do not have ID Token field")}return i}))}static getIDToken(e){return o(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const n=encodeURIComponent(e);t=`${t}&audience=${n}`}(0,c.debug)(`ID token url is ${t}`);const n=yield OidcClient.getCall(t);(0,c.setSecret)(n);return n}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},85642:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const c=A(n(16928));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,c.sep)}t.toPlatformPath=toPlatformPath},93458:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getDetails=t.isLinux=t.isMacOS=t.isWindows=t.arch=t.platform=void 0;const p=d(n(70857));const C=A(n(50318));const getWindowsInfo=()=>c(void 0,void 0,void 0,(function*(){const{stdout:e}=yield C.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield C.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>c(void 0,void 0,void 0,(function*(){var e,t,n,o;const{stdout:i}=yield C.getExecOutput("sw_vers",undefined,{silent:true});const A=(t=(e=i.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const c=(o=(n=i.match(/ProductName:\s*(.+)/))===null||n===void 0?void 0:n[1])!==null&&o!==void 0?o:"";return{name:c,version:A}}));const getLinuxInfo=()=>c(void 0,void 0,void 0,(function*(){const{stdout:e}=yield C.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,n]=e.trim().split("\n");return{name:t,version:n}}));t.platform=p.default.platform();t.arch=p.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return c(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield t.isWindows?getWindowsInfo():t.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:t.platform,arch:t.arch,isWindows:t.isWindows,isMacOS:t.isMacOS,isLinux:t.isLinux})}))}t.getDetails=getDetails},3345:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const i=n(70857);const A=n(79896);const{access:c,appendFile:d,writeFile:p}=A.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return o(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield c(e,A.constants.R_OK|A.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,n={}){const o=Object.entries(n).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${o}>`}return`<${e}${o}>${t}`}write(e){return o(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const n=yield this.filePath();const o=t?p:d;yield o(n,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return o(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(i.EOL)}addCodeBlock(e,t){const n=Object.assign({},t&&{lang:t});const o=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(o).addEOL()}addList(e,t=false){const n=t?"ol":"ul";const o=e.map((e=>this.wrap("li",e))).join("");const i=this.wrap(n,o);return this.addRaw(i).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:n,colspan:o,rowspan:i}=e;const A=t?"th":"td";const c=Object.assign(Object.assign({},o&&{colspan:o}),i&&{rowspan:i});return this.wrap(A,n,c)})).join("");return this.wrap("tr",t)})).join("");const n=this.wrap("table",t);return this.addRaw(n).addEOL()}addDetails(e,t){const n=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(n).addEOL()}addImage(e,t,n){const{width:o,height:i}=n||{};const A=Object.assign(Object.assign({},o&&{width:o}),i&&{height:i});const c=this.wrap("img",null,Object.assign({src:e,alt:t},A));return this.addRaw(c).addEOL()}addHeading(e,t){const n=`h${t}`;const o=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1";const i=this.wrap(o,e);return this.addRaw(i).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const n=Object.assign({},t&&{cite:t});const o=this.wrap("blockquote",e,n);return this.addRaw(o).addEOL()}addLink(e,t){const n=this.wrap("a",e,{href:t});return this.addRaw(n).addEOL()}}const C=new Summary;t.markdownSummary=C;t.summary=C},6804:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},50318:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;Object.defineProperty(e,o,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const d=n(13193);const p=A(n(18311));function exec(e,t,n){return c(this,void 0,void 0,(function*(){const o=p.argStringToArray(e);if(o.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const i=o[0];t=o.slice(1).concat(t||[]);const A=new p.ToolRunner(i,t,n);return A.exec()}))}t.exec=exec;function getExecOutput(e,t,n){var o,i;return c(this,void 0,void 0,(function*(){let A="";let c="";const p=new d.StringDecoder("utf8");const C=new d.StringDecoder("utf8");const S=(o=n===null||n===void 0?void 0:n.listeners)===null||o===void 0?void 0:o.stdout;const v=(i=n===null||n===void 0?void 0:n.listeners)===null||i===void 0?void 0:i.stderr;const stdErrListener=e=>{c+=C.write(e);if(v){v(e)}};const stdOutListener=e=>{A+=p.write(e);if(S){S(e)}};const T=Object.assign(Object.assign({},n===null||n===void 0?void 0:n.listeners),{stdout:stdOutListener,stderr:stdErrListener});const _=yield exec(e,t,Object.assign(Object.assign({},n),{listeners:T}));A+=p.end();c+=C.end();return{exitCode:_,stdout:A,stderr:c}}))}t.getExecOutput=getExecOutput},18311:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;Object.defineProperty(e,o,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const d=A(n(70857));const p=A(n(24434));const C=A(n(35317));const S=A(n(16928));const v=A(n(96444));const T=A(n(61885));const _=n(53557);const V=process.platform==="win32";class ToolRunner extends p.EventEmitter{constructor(e,t,n){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=n||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const n=this._getSpawnFileName();const o=this._getSpawnArgs(e);let i=t?"":"[command]";if(V){if(this._isCmdFile()){i+=n;for(const e of o){i+=` ${e}`}}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(const e of o){i+=` ${e}`}}else{i+=this._windowsQuoteCmdArg(n);for(const e of o){i+=` ${this._windowsQuoteCmdArg(e)}`}}}else{i+=n;for(const e of o){i+=` ${e}`}}return i}_processLineBuffer(e,t,n){try{let o=t+e.toString();let i=o.indexOf(d.EOL);while(i>-1){const e=o.substring(0,i);n(e);o=o.substring(i+d.EOL.length);i=o.indexOf(d.EOL)}return o}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(V){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(V){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const n of this.args){t+=" ";t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let n=false;for(const o of e){if(t.some((e=>e===o))){n=true;break}}if(!n){return e}let o='"';let i=true;for(let t=e.length;t>0;t--){o+=e[t-1];if(i&&e[t-1]==="\\"){o+="\\"}else if(e[t-1]==='"'){i=true;o+='"'}else{i=false}}o+='"';return o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let n=true;for(let o=e.length;o>0;o--){t+=e[o-1];if(n&&e[o-1]==="\\"){t+="\\"}else if(e[o-1]==='"'){n=true;t+="\\"}else{n=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const n={};n.cwd=e.cwd;n.env=e.env;n["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){n.argv0=`"${t}"`}return n}exec(){return c(this,void 0,void 0,(function*(){if(!T.isRooted(this.toolPath)&&(this.toolPath.includes("/")||V&&this.toolPath.includes("\\"))){this.toolPath=S.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield v.which(this.toolPath,true);return new Promise(((e,t)=>c(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const n=this._cloneExecOptions(this.options);if(!n.silent&&n.outStream){n.outStream.write(this._getCommandString(n)+d.EOL)}const o=new ExecState(n,this.toolPath);o.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield T.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const i=this._getSpawnFileName();const A=C.spawn(i,this._getSpawnArgs(n),this._getSpawnOptions(this.options,i));let c="";if(A.stdout){A.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!n.silent&&n.outStream){n.outStream.write(e)}c=this._processLineBuffer(e,c,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let p="";if(A.stderr){A.stderr.on("data",(e=>{o.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!n.silent&&n.errStream&&n.outStream){const t=n.failOnStdErr?n.errStream:n.outStream;t.write(e)}p=this._processLineBuffer(e,p,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}A.on("error",(e=>{o.processError=e.message;o.processExited=true;o.processClosed=true;o.CheckComplete()}));A.on("exit",(e=>{o.processExitCode=e;o.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);o.CheckComplete()}));A.on("close",(e=>{o.processExitCode=e;o.processExited=true;o.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);o.CheckComplete()}));o.on("done",((n,o)=>{if(c.length>0){this.emit("stdline",c)}if(p.length>0){this.emit("errline",p)}A.removeAllListeners();if(n){t(n)}else{e(o)}}));if(this.options.input){if(!A.stdin){throw new Error("child process missing stdin")}A.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let n=false;let o=false;let i="";function append(e){if(o&&e!=='"'){i+="\\"}i+=e;o=false}for(let A=0;A0){t.push(i);i=""}continue}append(c)}if(i.length>0){t.push(i.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends p.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=_.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},23950:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},55074:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const d=A(n(58611));const p=A(n(65692));const C=A(n(35486));const S=A(n(20770));const v=n(46752);var T;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(T||(t.HttpCodes=T={}));var _;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(_||(t.Headers=_={}));var V;(function(e){e["ApplicationJson"]="application/json"})(V||(t.MediaTypes=V={}));function getProxyUrl(e){const t=C.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const Z=[T.MovedPermanently,T.ResourceMoved,T.SeeOther,T.TemporaryRedirect,T.PermanentRedirect];const ee=[T.BadGateway,T.ServiceUnavailable,T.GatewayTimeout];const te=["OPTIONS","GET","DELETE","HEAD"];const re=10;const ne=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return c(this,void 0,void 0,(function*(){return new Promise((e=>c(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return c(this,void 0,void 0,(function*(){return new Promise((e=>c(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,n){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=n;if(n){if(n.ignoreSslError!=null){this._ignoreSslError=n.ignoreSslError}this._socketTimeout=n.socketTimeout;if(n.allowRedirects!=null){this._allowRedirects=n.allowRedirects}if(n.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=n.allowRedirectDowngrade}if(n.maxRedirects!=null){this._maxRedirects=Math.max(n.maxRedirects,0)}if(n.keepAlive!=null){this._keepAlive=n.keepAlive}if(n.allowRetries!=null){this._allowRetries=n.allowRetries}if(n.maxRetries!=null){this._maxRetries=n.maxRetries}}}options(e,t){return c(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return c(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return c(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("POST",e,t,n||{})}))}patch(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,n||{})}))}put(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("PUT",e,t,n||{})}))}head(e,t){return c(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,n,o){return c(this,void 0,void 0,(function*(){return this.request(e,t,n,o)}))}getJson(e,t={}){return c(this,void 0,void 0,(function*(){t[_.Accept]=this._getExistingOrDefaultHeader(t,_.Accept,V.ApplicationJson);const n=yield this.get(e,t);return this._processResponse(n,this.requestOptions)}))}postJson(e,t,n={}){return c(this,void 0,void 0,(function*(){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,V.ApplicationJson);const i=yield this.post(e,o,n);return this._processResponse(i,this.requestOptions)}))}putJson(e,t,n={}){return c(this,void 0,void 0,(function*(){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,V.ApplicationJson);const i=yield this.put(e,o,n);return this._processResponse(i,this.requestOptions)}))}patchJson(e,t,n={}){return c(this,void 0,void 0,(function*(){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,V.ApplicationJson);const i=yield this.patch(e,o,n);return this._processResponse(i,this.requestOptions)}))}request(e,t,n,o){return c(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const i=new URL(t);let A=this._prepareRequest(e,i,o);const c=this._allowRetries&&te.includes(e)?this._maxRetries+1:1;let d=0;let p;do{p=yield this.requestRaw(A,n);if(p&&p.message&&p.message.statusCode===T.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(p)){e=t;break}}if(e){return e.handleAuthentication(this,A,n)}else{return p}}let t=this._maxRedirects;while(p.message.statusCode&&Z.includes(p.message.statusCode)&&this._allowRedirects&&t>0){const c=p.message.headers["location"];if(!c){break}const d=new URL(c);if(i.protocol==="https:"&&i.protocol!==d.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield p.readBody();if(d.hostname!==i.hostname){for(const e in o){if(e.toLowerCase()==="authorization"){delete o[e]}}}A=this._prepareRequest(e,d,o);p=yield this.requestRaw(A,n);t--}if(!p.message.statusCode||!ee.includes(p.message.statusCode)){return p}d+=1;if(d{function callbackForResult(e,t){if(e){o(e)}else if(!t){o(new Error("Unknown error"))}else{n(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,n){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let o=false;function handleResult(e,t){if(!o){o=true;n(e,t)}}const i=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let A;i.on("socket",(e=>{A=e}));i.setTimeout(this._socketTimeout||3*6e4,(()=>{if(A){A.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));i.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){i.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){i.end()}));t.pipe(i)}else{i.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const n=C.getProxyUrl(t);const o=n&&n.hostname;if(!o){return}return this._getProxyAgentDispatcher(t,n)}_prepareRequest(e,t,n){const o={};o.parsedUrl=t;const i=o.parsedUrl.protocol==="https:";o.httpModule=i?p:d;const A=i?443:80;o.options={};o.options.host=o.parsedUrl.hostname;o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):A;o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||"");o.options.method=e;o.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){o.options.headers["user-agent"]=this.userAgent}o.options.agent=this._getAgent(o.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(o.options)}}return o}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,n){let o;if(this.requestOptions&&this.requestOptions.headers){o=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||o||n}_getAgent(e){let t;const n=C.getProxyUrl(e);const o=n&&n.hostname;if(this._keepAlive&&o){t=this._proxyAgent}if(!o){t=this._agent}if(t){return t}const i=e.protocol==="https:";let A=100;if(this.requestOptions){A=this.requestOptions.maxSockets||d.globalAgent.maxSockets}if(n&&n.hostname){const e={maxSockets:A,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})};let o;const c=n.protocol==="https:";if(i){o=c?S.httpsOverHttps:S.httpsOverHttp}else{o=c?S.httpOverHttps:S.httpOverHttp}t=o(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:A};t=i?new p.Agent(e):new d.Agent(e);this._agent=t}if(i&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let n;if(this._keepAlive){n=this._proxyAgentDispatcher}if(n){return n}const o=e.protocol==="https:";n=new v.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=n;if(o&&this._ignoreSslError){n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:false})}return n}_performExponentialBackoff(e){return c(this,void 0,void 0,(function*(){e=Math.min(re,e);const t=ne*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return c(this,void 0,void 0,(function*(){return new Promise(((n,o)=>c(this,void 0,void 0,(function*(){const i=e.message.statusCode||0;const A={statusCode:i,result:null,headers:{}};if(i===T.NotFound){n(A)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let c;let d;try{d=yield e.readBody();if(d&&d.length>0){if(t&&t.deserializeDates){c=JSON.parse(d,dateTimeDeserializer)}else{c=JSON.parse(d)}A.result=c}A.headers=e.message.headers}catch(e){}if(i>299){let e;if(c&&c.message){e=c.message}else if(d&&d.length>0){e=d}else{e=`Failed request: (${i})`}const t=new HttpClientError(e,i);t.result=A.result;o(t)}else{n(A)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,n)=>(t[n.toLowerCase()]=e[n],t)),{})},35486:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkBypass=t.getProxyUrl=void 0;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const n=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(n){try{return new DecodedURL(n)}catch(e){if(!n.startsWith("http://")&&!n.startsWith("https://"))return new DecodedURL(`http://${n}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const n=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!n){return false}let o;if(e.port){o=Number(e.port)}else if(e.protocol==="http:"){o=80}else if(e.protocol==="https:"){o=443}const i=[e.hostname.toUpperCase()];if(typeof o==="number"){i.push(`${i[0]}:${o}`)}for(const e of n.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||i.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}t.checkBypass=checkBypass;function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},61885:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;Object.defineProperty(e,o,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};var d;Object.defineProperty(t,"__esModule",{value:true});t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.READONLY=t.UV_FS_O_EXLOCK=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rm=t.rename=t.readlink=t.readdir=t.open=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const p=A(n(79896));const C=A(n(16928));d=p.promises,t.chmod=d.chmod,t.copyFile=d.copyFile,t.lstat=d.lstat,t.mkdir=d.mkdir,t.open=d.open,t.readdir=d.readdir,t.readlink=d.readlink,t.rename=d.rename,t.rm=d.rm,t.rmdir=d.rmdir,t.stat=d.stat,t.symlink=d.symlink,t.unlink=d.unlink;t.IS_WINDOWS=process.platform==="win32";t.UV_FS_O_EXLOCK=268435456;t.READONLY=p.constants.O_RDONLY;function exists(e){return c(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}t.exists=exists;function isDirectory(e,n=false){return c(this,void 0,void 0,(function*(){const o=n?yield t.stat(e):yield t.lstat(e);return o.isDirectory()}))}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function tryGetExecutablePath(e,n){return c(this,void 0,void 0,(function*(){let o=undefined;try{o=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(o&&o.isFile()){if(t.IS_WINDOWS){const t=C.extname(e).toUpperCase();if(n.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(o)){return e}}}const i=e;for(const A of n){e=i+A;o=undefined;try{o=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(o&&o.isFile()){if(t.IS_WINDOWS){try{const n=C.dirname(e);const o=C.basename(e).toUpperCase();for(const i of yield t.readdir(n)){if(o===i.toUpperCase()){e=C.join(n,i);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(o)){return e}}}}return""}))}t.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}t.getCmdPath=getCmdPath},96444:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;Object.defineProperty(e,o,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const d=n(42613);const p=A(n(16928));const C=A(n(61885));function cp(e,t,n={}){return c(this,void 0,void 0,(function*(){const{force:o,recursive:i,copySourceDirectory:A}=readCopyOptions(n);const c=(yield C.exists(t))?yield C.stat(t):null;if(c&&c.isFile()&&!o){return}const d=c&&c.isDirectory()&&A?p.join(t,p.basename(e)):t;if(!(yield C.exists(e))){throw new Error(`no such file or directory: ${e}`)}const S=yield C.stat(e);if(S.isDirectory()){if(!i){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,d,0,o)}}else{if(p.relative(e,d)===""){throw new Error(`'${d}' and '${e}' are the same file`)}yield copyFile(e,d,o)}}))}t.cp=cp;function mv(e,t,n={}){return c(this,void 0,void 0,(function*(){if(yield C.exists(t)){let o=true;if(yield C.isDirectory(t)){t=p.join(t,p.basename(e));o=yield C.exists(t)}if(o){if(n.force==null||n.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(p.dirname(t));yield C.rename(e,t)}))}t.mv=mv;function rmRF(e){return c(this,void 0,void 0,(function*(){if(C.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield C.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}t.rmRF=rmRF;function mkdirP(e){return c(this,void 0,void 0,(function*(){d.ok(e,"a path argument must be provided");yield C.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(C.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const n=yield findInPath(e);if(n&&n.length>0){return n[0]}return""}))}t.which=which;function findInPath(e){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(C.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(p.delimiter)){if(e){t.push(e)}}}if(C.isRooted(e)){const n=yield C.tryGetExecutablePath(e,t);if(n){return[n]}return[]}if(e.includes(p.sep)){return[]}const n=[];if(process.env.PATH){for(const e of process.env.PATH.split(p.delimiter)){if(e){n.push(e)}}}const o=[];for(const i of n){const n=yield C.tryGetExecutablePath(p.join(i,e),t);if(n){o.push(n)}}return o}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const n=Boolean(e.recursive);const o=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:n,copySourceDirectory:o}}function cpDirRecursive(e,t,n,o){return c(this,void 0,void 0,(function*(){if(n>=255)return;n++;yield mkdirP(t);const i=yield C.readdir(e);for(const A of i){const i=`${e}/${A}`;const c=`${t}/${A}`;const d=yield C.lstat(i);if(d.isDirectory()){yield cpDirRecursive(i,c,n,o)}else{yield copyFile(i,c,o)}}yield C.chmod(t,(yield C.stat(e)).mode)}))}function copyFile(e,t,n){return c(this,void 0,void 0,(function*(){if((yield C.lstat(e)).isSymbolicLink()){try{yield C.lstat(t);yield C.unlink(t)}catch(e){if(e.code==="EPERM"){yield C.chmod(t,"0666");yield C.unlink(t)}}const n=yield C.readlink(e);yield C.symlink(n,t,C.IS_WINDOWS?"junction":null)}else if(!(yield C.exists(t))||n){yield C.copyFile(e,t)}}))}},44552:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},54844:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ac(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return c(this,void 0,void 0,(function*(){return new Promise((e=>c(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}class HttpClient{constructor(e,t,n){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=this._getUserAgentWithOrchestrationId(e);this.handlers=t||[];this.requestOptions=n;if(n){if(n.ignoreSslError!=null){this._ignoreSslError=n.ignoreSslError}this._socketTimeout=n.socketTimeout;if(n.allowRedirects!=null){this._allowRedirects=n.allowRedirects}if(n.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=n.allowRedirectDowngrade}if(n.maxRedirects!=null){this._maxRedirects=Math.max(n.maxRedirects,0)}if(n.keepAlive!=null){this._keepAlive=n.keepAlive}if(n.allowRetries!=null){this._allowRetries=n.allowRetries}if(n.maxRetries!=null){this._maxRetries=n.maxRetries}}}options(e,t){return c(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return c(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return c(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("POST",e,t,n||{})}))}patch(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,n||{})}))}put(e,t,n){return c(this,void 0,void 0,(function*(){return this.request("PUT",e,t,n||{})}))}head(e,t){return c(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,n,o){return c(this,void 0,void 0,(function*(){return this.request(e,t,n,o)}))}getJson(e){return c(this,arguments,void 0,(function*(e,t={}){t[_.Accept]=this._getExistingOrDefaultHeader(t,_.Accept,V.ApplicationJson);const n=yield this.get(e,t);return this._processResponse(n,this.requestOptions)}))}postJson(e,t){return c(this,arguments,void 0,(function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,V.ApplicationJson);const i=yield this.post(e,o,n);return this._processResponse(i,this.requestOptions)}))}putJson(e,t){return c(this,arguments,void 0,(function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,V.ApplicationJson);const i=yield this.put(e,o,n);return this._processResponse(i,this.requestOptions)}))}patchJson(e,t){return c(this,arguments,void 0,(function*(e,t,n={}){const o=JSON.stringify(t,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,V.ApplicationJson);n[_.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,V.ApplicationJson);const i=yield this.patch(e,o,n);return this._processResponse(i,this.requestOptions)}))}request(e,t,n,o){return c(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const i=new URL(t);let A=this._prepareRequest(e,i,o);const c=this._allowRetries&&te.includes(e)?this._maxRetries+1:1;let d=0;let p;do{p=yield this.requestRaw(A,n);if(p&&p.message&&p.message.statusCode===T.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(p)){e=t;break}}if(e){return e.handleAuthentication(this,A,n)}else{return p}}let t=this._maxRedirects;while(p.message.statusCode&&Z.includes(p.message.statusCode)&&this._allowRedirects&&t>0){const c=p.message.headers["location"];if(!c){break}const d=new URL(c);if(i.protocol==="https:"&&i.protocol!==d.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield p.readBody();if(d.hostname!==i.hostname){for(const e in o){if(e.toLowerCase()==="authorization"){delete o[e]}}}A=this._prepareRequest(e,d,o);p=yield this.requestRaw(A,n);t--}if(!p.message.statusCode||!ee.includes(p.message.statusCode)){return p}d+=1;if(d{function callbackForResult(e,t){if(e){o(e)}else if(!t){o(new Error("Unknown error"))}else{n(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,n){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let o=false;function handleResult(e,t){if(!o){o=true;n(e,t)}}const i=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let A;i.on("socket",(e=>{A=e}));i.setTimeout(this._socketTimeout||3*6e4,(()=>{if(A){A.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));i.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){i.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){i.end()}));t.pipe(i)}else{i.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const n=C.getProxyUrl(t);const o=n&&n.hostname;if(!o){return}return this._getProxyAgentDispatcher(t,n)}_prepareRequest(e,t,n){const o={};o.parsedUrl=t;const i=o.parsedUrl.protocol==="https:";o.httpModule=i?p:d;const A=i?443:80;o.options={};o.options.host=o.parsedUrl.hostname;o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):A;o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||"");o.options.method=e;o.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){o.options.headers["user-agent"]=this.userAgent}o.options.agent=this._getAgent(o.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(o.options)}}return o}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,n){let o;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[t];if(e){o=typeof e==="number"?e.toString():e}}const i=e[t];if(i!==undefined){return typeof i==="number"?i.toString():i}if(o!==undefined){return o}return n}_getExistingOrDefaultContentTypeHeader(e,t){let n;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[_.ContentType];if(e){if(typeof e==="number"){n=String(e)}else if(Array.isArray(e)){n=e.join(", ")}else{n=e}}}const o=e[_.ContentType];if(o!==undefined){if(typeof o==="number"){return String(o)}else if(Array.isArray(o)){return o.join(", ")}else{return o}}if(n!==undefined){return n}return t}_getAgent(e){let t;const n=C.getProxyUrl(e);const o=n&&n.hostname;if(this._keepAlive&&o){t=this._proxyAgent}if(!o){t=this._agent}if(t){return t}const i=e.protocol==="https:";let A=100;if(this.requestOptions){A=this.requestOptions.maxSockets||d.globalAgent.maxSockets}if(n&&n.hostname){const e={maxSockets:A,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})};let o;const c=n.protocol==="https:";if(i){o=c?S.httpsOverHttps:S.httpsOverHttp}else{o=c?S.httpOverHttps:S.httpOverHttp}t=o(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:A};t=i?new p.Agent(e):new d.Agent(e);this._agent=t}if(i&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let n;if(this._keepAlive){n=this._proxyAgentDispatcher}if(n){return n}const o=e.protocol==="https:";n=new v.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=n;if(o&&this._ignoreSslError){n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:false})}return n}_getUserAgentWithOrchestrationId(e){const t=e||"actions/http-client";const n=process.env["ACTIONS_ORCHESTRATION_ID"];if(n){const e=n.replace(/[^a-z0-9_.-]/gi,"_");return`${t} actions_orchestration_id/${e}`}return t}_performExponentialBackoff(e){return c(this,void 0,void 0,(function*(){e=Math.min(re,e);const t=ne*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return c(this,void 0,void 0,(function*(){return new Promise(((n,o)=>c(this,void 0,void 0,(function*(){const i=e.message.statusCode||0;const A={statusCode:i,result:null,headers:{}};if(i===T.NotFound){n(A)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let c;let d;try{d=yield e.readBody();if(d&&d.length>0){if(t&&t.deserializeDates){c=JSON.parse(d,dateTimeDeserializer)}else{c=JSON.parse(d)}A.result=c}A.headers=e.message.headers}catch(e){}if(i>299){let e;if(c&&c.message){e=c.message}else if(d&&d.length>0){e=d}else{e=`Failed request: (${i})`}const t=new HttpClientError(e,i);t.result=A.result;o(t)}else{n(A)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,n)=>(t[n.toLowerCase()]=e[n],t)),{})},54988:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getProxyUrl=getProxyUrl;t.checkBypass=checkBypass;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const n=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(n){try{return new DecodedURL(n)}catch(e){if(!n.startsWith("http://")&&!n.startsWith("https://"))return new DecodedURL(`http://${n}`)}}else{return undefined}}function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const n=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!n){return false}let o;if(e.port){o=Number(e.port)}else if(e.protocol==="http:"){o=80}else if(e.protocol==="https:"){o=443}const i=[e.hostname.toUpperCase()];if(typeof o==="number"){i.push(`${i[0]}:${o}`)}for(const e of n.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||i.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},75207:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ae.toUpperCase()===t))){return e}}else{if(isUnixExecutable(o)){return e}}}const i=e;for(const A of n){e=i+A;o=undefined;try{o=yield(0,t.stat)(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(o&&o.isFile()){if(t.IS_WINDOWS){try{const n=C.dirname(e);const o=C.basename(e).toUpperCase();for(const i of yield(0,t.readdir)(n)){if(o===i.toUpperCase()){e=C.join(n,i);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(o)){return e}}}}return""}))}function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==undefined&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==undefined&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}},94994:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield C.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}function mkdirP(e){return c(this,void 0,void 0,(function*(){(0,d.ok)(e,"a path argument must be provided");yield C.mkdir(e,{recursive:true})}))}function which(e,t){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(C.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const n=yield findInPath(e);if(n&&n.length>0){return n[0]}return""}))}function findInPath(e){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(C.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(p.delimiter)){if(e){t.push(e)}}}if(C.isRooted(e)){const n=yield C.tryGetExecutablePath(e,t);if(n){return[n]}return[]}if(e.includes(p.sep)){return[]}const n=[];if(process.env.PATH){for(const e of process.env.PATH.split(p.delimiter)){if(e){n.push(e)}}}const o=[];for(const i of n){const n=yield C.tryGetExecutablePath(p.join(i,e),t);if(n){o.push(n)}}return o}))}function readCopyOptions(e){const t=e.force==null?true:e.force;const n=Boolean(e.recursive);const o=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:n,copySourceDirectory:o}}function cpDirRecursive(e,t,n,o){return c(this,void 0,void 0,(function*(){if(n>=255)return;n++;yield mkdirP(t);const i=yield C.readdir(e);for(const A of i){const i=`${e}/${A}`;const c=`${t}/${A}`;const d=yield C.lstat(i);if(d.isDirectory()){yield cpDirRecursive(i,c,n,o)}else{yield copyFile(i,c,o)}}yield C.chmod(t,(yield C.stat(e)).mode)}))}function copyFile(e,t,n){return c(this,void 0,void 0,(function*(){if((yield C.lstat(e)).isSymbolicLink()){try{yield C.lstat(t);yield C.unlink(t)}catch(e){if(e.code==="EPERM"){yield C.chmod(t,"0666");yield C.unlink(t)}}const n=yield C.readlink(e);yield C.symlink(n,t,C.IS_WINDOWS?"junction":null)}else if(!(yield C.exists(t))||n){yield C.copyFile(e,t)}}))}},58036:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;A{(0,p.debug)(`${t.arch}===${i} && ${t.platform}===${A}`);let n=t.arch===i&&t.platform===A;if(n&&t.platform_version){const o=e.exports._getOsVersion();if(o===t.platform_version){n=true}else{n=d.satisfies(o,t.platform_version)}}return n}));if(v){(0,p.debug)(`matched ${c.version}`);S=c;break}}}if(S&&v){c=Object.assign({},S);c.files=[v]}return c}))}function _getOsVersion(){const t=C.platform();let n="";if(t==="darwin"){n=S.execSync("sw_vers -productVersion").toString()}else if(t==="linux"){const t=e.exports._readLinuxVersionFile();if(t){const e=t.split("\n");for(const t of e){const e=t.split("=");if(e.length===2&&(e[0].trim()==="VERSION_ID"||e[0].trim()==="DISTRIB_RELEASE")){n=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return n}function _readLinuxVersionFile(){const e="/etc/lsb-release";const t="/etc/os-release";let n="";if(v.existsSync(e)){n=v.readFileSync(e).toString()}else if(v.existsSync(t)){n=v.readFileSync(t).toString()}return n}},67380:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Athis.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(e,t){return c(this,void 0,void 0,(function*(){let n=1;while(nsetTimeout(t,e*1e3)))}))}}t.RetryHelper=RetryHelper},33472:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),A=0;Ac(this,void 0,void 0,(function*(){return yield downloadToolAttempt(e,t||"",n,o)}))),(e=>{if(e instanceof HTTPError&&e.httpStatusCode){if(e.httpStatusCode<500&&e.httpStatusCode!==408&&e.httpStatusCode!==429){return false}}return true}))}))}function downloadToolAttempt(e,t,n,o){return c(this,void 0,void 0,(function*(){if(S.existsSync(t)){throw new Error(`Destination file path ${t} already exists`)}const i=new V.HttpClient(ae,[],{allowRetries:false});if(n){d.debug("set auth");if(o===undefined){o={}}o.authorization=n}const A=yield i.get(e,o);if(A.message.statusCode!==200){const t=new HTTPError(A.message.statusCode);d.debug(`Failed to download from "${e}". Code(${A.message.statusCode}) Message(${A.message.statusMessage})`);throw t}const c=te.promisify(ee.pipeline);const C=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>A.message));const v=C();let T=false;try{yield c(v,S.createWriteStream(t));d.debug("download complete");T=true;return t}finally{if(!T){d.debug("download failed");try{yield p.rmRF(t)}catch(e){d.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}function extract7z(e,t,n){return c(this,void 0,void 0,(function*(){(0,re.ok)(ie,"extract7z() not supported on current OS");(0,re.ok)(e,'parameter "file" is required');t=yield _createExtractFolder(t);const o=process.cwd();process.chdir(t);if(n){try{const t=d.isDebug()?"-bb1":"-bb0";const o=["x",t,"-bd","-sccUTF-8",e];const i={silent:true};yield(0,ne.exec)(`"${n}"`,o,i)}finally{process.chdir(o)}}else{const n=_.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const i=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const A=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const c=`& '${n}' -Source '${i}' -Target '${A}'`;const d=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",c];const C={silent:true};try{const e=yield p.which("powershell",true);yield(0,ne.exec)(`"${e}"`,d,C)}finally{process.chdir(o)}}return t}))}function extractTar(e,t){return c(this,arguments,void 0,(function*(e,t,n="xz"){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);d.debug("Checking tar --version");let o="";yield(0,ne.exec)("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>o+=e.toString(),stderr:e=>o+=e.toString()}});d.debug(o.trim());const i=o.toUpperCase().includes("GNU TAR");let A;if(n instanceof Array){A=n}else{A=[n]}if(d.isDebug()&&!n.includes("v")){A.push("-v")}let c=t;let p=e;if(ie&&i){A.push("--force-local");c=t.replace(/\\/g,"/");p=e.replace(/\\/g,"/")}if(i){A.push("--warning=no-unknown-keyword");A.push("--overwrite")}A.push("-C",c,"-f",p);yield(0,ne.exec)(`tar`,A);return t}))}function extractXar(e,t){return c(this,arguments,void 0,(function*(e,t,n=[]){(0,re.ok)(se,"extractXar() not supported on current OS");(0,re.ok)(e,'parameter "file" is required');t=yield _createExtractFolder(t);let o;if(n instanceof Array){o=n}else{o=[n]}o.push("-x","-C",t,"-f",e);if(d.isDebug()){o.push("-v")}const i=yield p.which("xar",true);yield(0,ne.exec)(`"${i}"`,_unique(o));return t}))}function extractZip(e,t){return c(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);if(ie){yield extractZipWin(e,t)}else{yield extractZipNix(e,t)}return t}))}function extractZipWin(e,t){return c(this,void 0,void 0,(function*(){const n=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const o=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const i=yield p.which("pwsh",false);if(i){const e=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${n}', '${o}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${n}' -DestinationPath '${o}' -Force } else { throw $_ } } ;`].join(" ");const t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];d.debug(`Using pwsh at path: ${i}`);yield(0,ne.exec)(`"${i}"`,t)}else{const e=[`$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 '${n}' -DestinationPath '${o}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${n}', '${o}', $true) }`].join(" ");const t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];const i=yield p.which("powershell",true);d.debug(`Using powershell at path: ${i}`);yield(0,ne.exec)(`"${i}"`,t)}}))}function extractZipNix(e,t){return c(this,void 0,void 0,(function*(){const n=yield p.which("unzip",true);const o=[e];if(!d.isDebug()){o.unshift("-q")}o.unshift("-o");yield(0,ne.exec)(`"${n}"`,o,{cwd:t})}))}function cacheDir(e,t,n,o){return c(this,void 0,void 0,(function*(){n=Z.clean(n)||n;o=o||T.arch();d.debug(`Caching tool ${t} ${n} ${o}`);d.debug(`source dir: ${e}`);if(!S.statSync(e).isDirectory()){throw new Error("sourceDir is not a directory")}const i=yield _createToolPath(t,n,o);for(const t of S.readdirSync(e)){const n=_.join(e,t);yield p.cp(n,i,{recursive:true})}_completeToolPath(t,n,o);return i}))}function cacheFile(e,t,n,o,i){return c(this,void 0,void 0,(function*(){o=Z.clean(o)||o;i=i||T.arch();d.debug(`Caching tool ${n} ${o} ${i}`);d.debug(`source file: ${e}`);if(!S.statSync(e).isFile()){throw new Error("sourceFile is not a file")}const A=yield _createToolPath(n,o,i);const c=_.join(A,t);d.debug(`destination file ${c}`);yield p.cp(e,c);_completeToolPath(n,o,i);return A}))}function find(e,t,n){if(!e){throw new Error("toolName parameter is required")}if(!t){throw new Error("versionSpec parameter is required")}n=n||T.arch();if(!isExplicitVersion(t)){const o=findAllVersions(e,n);const i=evaluateVersions(o,t);t=i}let o="";if(t){t=Z.clean(t)||"";const i=_.join(_getCacheDirectory(),e,t,n);d.debug(`checking cache: ${i}`);if(S.existsSync(i)&&S.existsSync(`${i}.complete`)){d.debug(`Found tool in cache ${e} ${t} ${n}`);o=i}else{d.debug("not found")}}return o}function findAllVersions(e,t){const n=[];t=t||T.arch();const o=_.join(_getCacheDirectory(),e);if(S.existsSync(o)){const e=S.readdirSync(o);for(const i of e){if(isExplicitVersion(i)){const e=_.join(o,i,t||"");if(S.existsSync(e)&&S.existsSync(`${e}.complete`)){n.push(i)}}}}return n}function getManifestFromRepo(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o="master"){let i=[];const A=`https://api.github.com/repos/${e}/${t}/git/trees/${o}`;const c=new V.HttpClient("tool-cache");const p={};if(n){d.debug("set auth");p.authorization=n}const C=yield c.getJson(A,p);if(!C.result){return i}let S="";for(const e of C.result.tree){if(e.path==="versions-manifest.json"){S=e.url;break}}p["accept"]="application/vnd.github.VERSION.raw";let v=yield(yield c.get(S,p)).readBody();if(v){v=v.replace(/^\uFEFF/,"");try{i=JSON.parse(v)}catch(e){d.debug("Invalid json")}}return i}))}function findFromManifest(e,t,n){return c(this,arguments,void 0,(function*(e,t,n,o=T.arch()){const i=yield v._findMatch(e,t,n,o);return i}))}function _createExtractFolder(e){return c(this,void 0,void 0,(function*(){if(!e){e=_.join(_getTempDirectory(),C.randomUUID())}yield p.mkdirP(e);return e}))}function _createToolPath(e,t,n){return c(this,void 0,void 0,(function*(){const o=_.join(_getCacheDirectory(),e,Z.clean(t)||t,n||"");d.debug(`destination ${o}`);const i=`${o}.complete`;yield p.rmRF(o);yield p.rmRF(i);yield p.mkdirP(o);return o}))}function _completeToolPath(e,t,n){const o=_.join(_getCacheDirectory(),e,Z.clean(t)||t,n||"");const i=`${o}.complete`;S.writeFileSync(i,"");d.debug("finished caching tool")}function isExplicitVersion(e){const t=Z.clean(e)||"";d.debug(`isExplicit: ${t}`);const n=Z.valid(t)!=null;d.debug(`explicit? ${n}`);return n}function evaluateVersions(e,t){let n="";d.debug(`evaluating ${e.length} versions`);e=e.sort(((e,t)=>{if(Z.gt(e,t)){return 1}return-1}));for(let o=e.length-1;o>=0;o--){const i=e[o];const A=Z.satisfies(i,t);if(A){n=i;break}}if(n){d.debug(`matched: ${n}`)}else{d.debug("match not found")}return n}function _getCacheDirectory(){const e=process.env["RUNNER_TOOL_CACHE"]||"";(0,re.ok)(e,"Expected RUNNER_TOOL_CACHE to be defined");return e}function _getTempDirectory(){const e=process.env["RUNNER_TEMP"]||"";(0,re.ok)(e,"Expected RUNNER_TEMP to be defined");return e}function _getGlobal(e,t){const n=global[e];return n!==undefined?n:t}function _unique(e){return Array.from(new Set(e))}},68110:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});const n=new WeakMap;const o=new WeakMap;class AbortSignal{constructor(){this.onabort=null;n.set(this,[]);o.set(this,false)}get aborted(){if(!o.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return o.get(this)}static get none(){return new AbortSignal}addEventListener(e,t){if(!n.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const o=n.get(this);o.push(t)}removeEventListener(e,t){if(!n.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const o=n.get(this);const i=o.indexOf(t);if(i>-1){o.splice(i,1)}}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(e){if(e.aborted){return}if(e.onabort){e.onabort.call(e)}const t=n.get(e);if(t){t.slice().forEach((t=>{t.call(e,{type:"abort"})}))}o.set(e,true)}class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}class AbortController{constructor(e){this._signal=new AbortSignal;if(!e){return}if(!Array.isArray(e)){e=arguments}for(const t of e){if(t.aborted){this.abort()}else{t.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(e){const t=new AbortSignal;const n=setTimeout(abortSignal,e,t);if(typeof n.unref==="function"){n.unref()}return t}}t.AbortController=AbortController;t.AbortError=AbortError;t.AbortSignal=AbortSignal},11715:(e,t,n)=>{const o=n(57075).Writable;const i=n(57975).inherits;const A=n(51601);const c=n(91403);const d=n(66604);const p=45;const C=Buffer.from("-");const S=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}o.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new d(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}i(Dicer,o);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{o.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,n){if(!this._hparser&&!this._bparser){return n()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new c(this._partOpts);if(this._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{const o=n(78474).EventEmitter;const i=n(57975).inherits;const A=n(96424);const c=n(51601);const d=Buffer.from("\r\n\r\n");const p=/\r\n/g;const C=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){o.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=A(e,"maxHeaderPairs",2e3);this.maxHeaderSize=A(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new c(d);this.ss.on("info",(function(e,n,o,i){if(n&&!t.maxed){if(t.nread+i-o>=t.maxHeaderSize){i=t.maxHeaderSize-t.nread+o;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=i-o}t.buffer+=n.toString("binary",o,i)}if(e){t._finish()}}))}i(HeaderParser,o);HeaderParser.prototype.push=function(e){const t=this.ss.push(e);if(this.finished){return t}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(p);const t=e.length;let n,o;for(var i=0;i{const o=n(57975).inherits;const i=n(57075).Readable;function PartStream(e){i.call(this,e)}o(PartStream,i);PartStream.prototype._read=function(e){};e.exports=PartStream},51601:(e,t,n)=>{const o=n(78474).EventEmitter;const i=n(57975).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var n=0;n=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const n=this._lookbehind_size+A;if(n>0){this.emit("info",false,this._lookbehind,0,n)}this._lookbehind.copy(this._lookbehind,0,n,this._lookbehind_size-n);this._lookbehind_size-=n;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}A+=(A>=0)*this._bufpos;if(e.indexOf(n,A)!==-1){A=e.indexOf(n,A);++this.matches;if(A>0){this.emit("info",true,e,this._bufpos,A)}else{this.emit("info",true)}return this._bufpos=A+o}else{A=t-o}while(A0){this.emit("info",false,e,this._bufpos,A{const o=n(57075).Writable;const{inherits:i}=n(57975);const A=n(11715);const c=n(46419);const d=n(55670);const p=n(28106);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...n}=e;this.opts={autoDestroy:false,...n};o.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}i(Busboy,o);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}o.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=p(e["content-type"]);const n={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(c.detect.test(t[0])){return new c(this,n)}if(d.detect.test(t[0])){return new d(this,n)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,n){this._parser.write(e,n)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=A},46419:(e,t,n)=>{const{Readable:o}=n(57075);const{inherits:i}=n(57975);const A=n(11715);const c=n(28106);const d=n(15422);const p=n(54045);const C=n(96424);const S=/^boundary$/i;const v=/^form-data$/i;const T=/^charset$/i;const _=/^filename$/i;const V=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let n;let o;const i=this;let Z;const ee=t.limits;const te=t.isPartAFile||((e,t,n)=>t==="application/octet-stream"||n!==undefined);const re=t.parsedConType||[];const ne=t.defCharset||"utf8";const oe=t.preservePath;const ie={highWaterMark:t.fileHwm};for(n=0,o=re.length;nle){i.parser.removeListener("part",onPart);i.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(fe){const e=fe;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(A){let C;let S;let Z;let ee;let re;let le;let ue=0;if(A["content-type"]){Z=c(A["content-type"][0]);if(Z[0]){C=Z[0].toLowerCase();for(n=0,o=Z.length;nae){const o=ae-ue+e.length;if(o>0){n.push(e.slice(0,o))}n.truncated=true;n.bytesRead=ae;t.removeAllListeners("data");n.emit("limit");return}else if(!n.push(e)){i._pause=true}n.bytesRead=ue};ye=function(){he=undefined;n.push(null)}}else{if(ge===ce){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++ge;++me;let n="";let o=false;fe=t;de=function(e){if((ue+=e.length)>se){const i=se-(ue-e.length);n+=e.toString("binary",0,i);o=true;t.removeAllListeners("data")}else{n+=e.toString("binary")}};ye=function(){fe=undefined;if(n.length){n=d(n,"binary",ee)}e.emit("field",S,n,false,o,re,C);--me;checkFinished()}}t._readableState.sync=false;t.on("data",de);t.on("end",ye)})).on("error",(function(e){if(he){he.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){ye=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const n=this.parser.write(e);if(n&&!this._pause){t()}else{this._needDrain=!n;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){o.call(this,e);this.bytesRead=0;this.truncated=false}i(FileStream,o);FileStream.prototype._read=function(e){};e.exports=Multipart},55670:(e,t,n)=>{const o=n(27259);const i=n(15422);const A=n(96424);const c=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const n=t.limits;const i=t.parsedConType;this.boy=e;this.fieldSizeLimit=A(n,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=A(n,"fieldNameSize",100);this.fieldsLimit=A(n,"fields",Infinity);let d;for(var p=0,C=i.length;pc){this._key+=this.decoder.write(e.toString("binary",c,n))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();c=n+1}else if(o!==undefined){++this._fields;let n;const A=this._keyTrunc;if(o>c){n=this._key+=this.decoder.write(e.toString("binary",c,o))}else{n=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(n.length){this.boy.emit("field",i(n,"binary",this.charset),"",A,false)}c=o+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(A>c){this._key+=this.decoder.write(e.toString("binary",c,A))}c=A;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(cc){this._val+=this.decoder.write(e.toString("binary",c,o))}this.boy.emit("field",i(this._key,"binary",this.charset),i(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();c=o+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(A>c){this._val+=this.decoder.write(e.toString("binary",c,A))}c=A;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(c0){this.boy.emit("field",i(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",i(this._key,"binary",this.charset),i(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},27259:e=>{const t=/\+/g;const n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let o="";let i=0;let A=0;const c=e.length;for(;iA){o+=e.substring(A,i);A=i}this.buffer="";++A}}if(A{e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},15422:e=>{const t=new TextDecoder("utf-8");const n=new Map([["utf-8",t],["utf8",t]]);function decodeText(e,t,o){if(e){if(n.has(o)){try{return n.get(o).decode(Buffer.from(e,t))}catch(e){}}else{try{n.set(o,new TextDecoder(o));return n.get(o).decode(Buffer.from(e,t))}catch(e){}}}return e}e.exports=decodeText},96424:e=>{e.exports=function getLimit(e,t,n){if(!e||e[t]===undefined||e[t]===null){return n}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},28106:(e,t,n)=>{const o=n(15422);const i=/%([a-fA-F0-9]{2})/g;function encodedReplacer(e,t){return String.fromCharCode(parseInt(t,16))}function parseParams(e){const t=[];let n="key";let A="";let c=false;let d=false;let p=0;let C="";for(var S=0,v=e.length;Se?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n,o]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:t,status:n,trailers:o}}))}}t.ClientStreamingCall=ClientStreamingCall},71409:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Deferred=t.DeferredState=void 0;var n;(function(e){e[e["PENDING"]=0]="PENDING";e[e["REJECTED"]=1]="REJECTED";e[e["RESOLVED"]=2]="RESOLVED"})(n=t.DeferredState||(t.DeferredState={}));class Deferred{constructor(e=true){this._state=n.PENDING;this._promise=new Promise(((e,t)=>{this._resolve=e;this._reject=t}));if(e){this._promise.catch((e=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==n.PENDING)throw new Error(`cannot resolve ${n[this.state].toLowerCase()}`);this._resolve(e);this._state=n.RESOLVED}reject(e){if(this.state!==n.PENDING)throw new Error(`cannot reject ${n[this.state].toLowerCase()}`);this._reject(e);this._state=n.REJECTED}resolvePending(e){if(this._state===n.PENDING)this.resolve(e)}rejectPending(e){if(this._state===n.PENDING)this.reject(e)}}t.Deferred=Deferred},36826:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(e,t,n,o,i,A,c){this.method=e;this.requestHeaders=t;this.requests=n;this.headers=o;this.responses=i;this.status=A;this.trailers=c}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:t,trailers:n}}))}}t.DuplexStreamingCall=DuplexStreamingCall},44420:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});var o=n(56892);Object.defineProperty(t,"ServiceType",{enumerable:true,get:function(){return o.ServiceType}});var i=n(62496);Object.defineProperty(t,"readMethodOptions",{enumerable:true,get:function(){return i.readMethodOptions}});Object.defineProperty(t,"readMethodOption",{enumerable:true,get:function(){return i.readMethodOption}});Object.defineProperty(t,"readServiceOption",{enumerable:true,get:function(){return i.readServiceOption}});var A=n(78636);Object.defineProperty(t,"RpcError",{enumerable:true,get:function(){return A.RpcError}});var c=n(28576);Object.defineProperty(t,"mergeRpcOptions",{enumerable:true,get:function(){return c.mergeRpcOptions}});var d=n(72726);Object.defineProperty(t,"RpcOutputStreamController",{enumerable:true,get:function(){return d.RpcOutputStreamController}});var p=n(79122);Object.defineProperty(t,"TestTransport",{enumerable:true,get:function(){return p.TestTransport}});var C=n(71409);Object.defineProperty(t,"Deferred",{enumerable:true,get:function(){return C.Deferred}});Object.defineProperty(t,"DeferredState",{enumerable:true,get:function(){return C.DeferredState}});var S=n(36826);Object.defineProperty(t,"DuplexStreamingCall",{enumerable:true,get:function(){return S.DuplexStreamingCall}});var v=n(37889);Object.defineProperty(t,"ClientStreamingCall",{enumerable:true,get:function(){return v.ClientStreamingCall}});var T=n(46173);Object.defineProperty(t,"ServerStreamingCall",{enumerable:true,get:function(){return T.ServerStreamingCall}});var _=n(29288);Object.defineProperty(t,"UnaryCall",{enumerable:true,get:function(){return _.UnaryCall}});var V=n(52849);Object.defineProperty(t,"stackIntercept",{enumerable:true,get:function(){return V.stackIntercept}});Object.defineProperty(t,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return V.stackDuplexStreamingInterceptors}});Object.defineProperty(t,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return V.stackClientStreamingInterceptors}});Object.defineProperty(t,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return V.stackServerStreamingInterceptors}});Object.defineProperty(t,"stackUnaryInterceptors",{enumerable:true,get:function(){return V.stackUnaryInterceptors}});var Z=n(43352);Object.defineProperty(t,"ServerCallContextController",{enumerable:true,get:function(){return Z.ServerCallContextController}})},62496:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.readServiceOption=t.readMethodOption=t.readMethodOptions=t.normalizeMethodInfo=void 0;const o=n(68886);function normalizeMethodInfo(e,t){var n,i,A;let c=e;c.service=t;c.localName=(n=c.localName)!==null&&n!==void 0?n:o.lowerCamelCase(c.name);c.serverStreaming=!!c.serverStreaming;c.clientStreaming=!!c.clientStreaming;c.options=(i=c.options)!==null&&i!==void 0?i:{};c.idempotency=(A=c.idempotency)!==null&&A!==void 0?A:undefined;return c}t.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(e,t,n,o){var i;const A=(i=e.methods.find(((e,n)=>e.localName===t||n===t)))===null||i===void 0?void 0:i.options;return A&&A[n]?o.fromJson(A[n]):undefined}t.readMethodOptions=readMethodOptions;function readMethodOption(e,t,n,o){var i;const A=(i=e.methods.find(((e,n)=>e.localName===t||n===t)))===null||i===void 0?void 0:i.options;if(!A){return undefined}const c=A[n];if(c===undefined){return c}return o?o.fromJson(c):c}t.readMethodOption=readMethodOption;function readServiceOption(e,t,n){const o=e.options;if(!o){return undefined}const i=o[t];if(i===undefined){return i}return n?n.fromJson(i):i}t.readServiceOption=readServiceOption},78636:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.RpcError=void 0;class RpcError extends Error{constructor(e,t="UNKNOWN",n){super(e);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=t;this.meta=n!==null&&n!==void 0?n:{}}toString(){const e=[this.name+": "+this.message];if(this.code){e.push("");e.push("Code: "+this.code)}if(this.serviceName&&this.methodName){e.push("Method: "+this.serviceName+"/"+this.methodName)}let t=Object.entries(this.meta);if(t.length){e.push("");e.push("Meta:");for(let[n,o]of t){e.push(` ${n}: ${o}`)}}return e.join("\n")}}t.RpcError=RpcError},52849:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.stackDuplexStreamingInterceptors=t.stackClientStreamingInterceptors=t.stackServerStreamingInterceptors=t.stackUnaryInterceptors=t.stackIntercept=void 0;const o=n(68886);function stackIntercept(e,t,n,i,A){var c,d,p,C;if(e=="unary"){let tail=(e,n,o)=>t.unary(e,n,o);for(const e of((c=i.interceptors)!==null&&c!==void 0?c:[]).filter((e=>e.interceptUnary)).reverse()){const t=tail;tail=(n,o,i)=>e.interceptUnary(t,n,o,i)}return tail(n,A,i)}if(e=="serverStreaming"){let tail=(e,n,o)=>t.serverStreaming(e,n,o);for(const e of((d=i.interceptors)!==null&&d!==void 0?d:[]).filter((e=>e.interceptServerStreaming)).reverse()){const t=tail;tail=(n,o,i)=>e.interceptServerStreaming(t,n,o,i)}return tail(n,A,i)}if(e=="clientStreaming"){let tail=(e,n)=>t.clientStreaming(e,n);for(const e of((p=i.interceptors)!==null&&p!==void 0?p:[]).filter((e=>e.interceptClientStreaming)).reverse()){const t=tail;tail=(n,o)=>e.interceptClientStreaming(t,n,o)}return tail(n,i)}if(e=="duplex"){let tail=(e,n)=>t.duplex(e,n);for(const e of((C=i.interceptors)!==null&&C!==void 0?C:[]).filter((e=>e.interceptDuplex)).reverse()){const t=tail;tail=(n,o)=>e.interceptDuplex(t,n,o)}return tail(n,i)}o.assertNever(e)}t.stackIntercept=stackIntercept;function stackUnaryInterceptors(e,t,n,o){return stackIntercept("unary",e,t,o,n)}t.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(e,t,n,o){return stackIntercept("serverStreaming",e,t,o,n)}t.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(e,t,n){return stackIntercept("clientStreaming",e,t,n)}t.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(e,t,n){return stackIntercept("duplex",e,t,n)}t.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},28576:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.mergeRpcOptions=void 0;const o=n(68886);function mergeRpcOptions(e,t){if(!t)return e;let n={};copy(e,n);copy(t,n);for(let i of Object.keys(t)){let A=t[i];switch(i){case"jsonOptions":n.jsonOptions=o.mergeJsonOptions(e.jsonOptions,n.jsonOptions);break;case"binaryOptions":n.binaryOptions=o.mergeBinaryOptions(e.binaryOptions,n.binaryOptions);break;case"meta":n.meta={};copy(e.meta,n.meta);copy(t.meta,n.meta);break;case"interceptors":n.interceptors=e.interceptors?e.interceptors.concat(A):A.concat();break}}return n}t.mergeRpcOptions=mergeRpcOptions;function copy(e,t){if(!e)return;let n=t;for(let[t,o]of Object.entries(e)){if(o instanceof Date)n[t]=new Date(o.getTime());else if(Array.isArray(o))n[t]=o.concat();else n[t]=o}}},72726:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.RpcOutputStreamController=void 0;const o=n(71409);const i=n(68886);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,t){t.push(e);return()=>{let n=t.indexOf(e);if(n>=0)t.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==false}notifyNext(e,t,n){i.assert((e?1:0)+(t?1:0)+(n?1:0)<=1,"only one emission at a time");if(e)this.notifyMessage(e);if(t)this.notifyError(t);if(n)this.notifyComplete()}notifyMessage(e){i.assert(!this.closed,"stream is closed");this.pushIt({value:e,done:false});this._lis.msg.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(e,undefined,false)))}notifyError(e){i.assert(!this.closed,"stream is closed");this._closed=e;this.pushIt(e);this._lis.err.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(undefined,e,false)));this.clearLis()}notifyComplete(){i.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((e=>e()));this._lis.nxt.forEach((e=>e(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let e=this._itState;i.assert(e,"bad state");i.assert(!e.p,"iterator contract broken");let t=e.q.shift();if(t)return"value"in t?Promise.resolve(t):Promise.reject(t);e.p=new o.Deferred;return e.p.promise}}}pushIt(e){let t=this._itState;if(t.p){const n=t.p;i.assert(n.state==o.DeferredState.PENDING,"iterator contract broken");"value"in e?n.resolve(e):n.reject(e);delete t.p}else{t.q.push(e)}}}t.RpcOutputStreamController=RpcOutputStreamController},43352:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServerCallContextController=void 0;class ServerCallContextController{constructor(e,t,n,o,i={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=e;this.headers=t;this.deadline=n;this.trailers={};this._sendRH=o;this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let e of this._listeners){e()}}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){const t=this._listeners;t.push(e);return()=>{let n=t.indexOf(e);if(n>=0)t.splice(n,1)}}}t.ServerCallContextController=ServerCallContextController},46173:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(e,t,n,o,i,A,c){this.method=e;this.requestHeaders=t;this.request=n;this.headers=o;this.responses=i;this.status=A;this.trailers=c}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:t,trailers:n}}))}}t.ServerStreamingCall=ServerStreamingCall},56892:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServiceType=void 0;const o=n(62496);class ServiceType{constructor(e,t,n){this.typeName=e;this.methods=t.map((e=>o.normalizeMethodInfo(e,this)));this.options=n!==null&&n!==void 0?n:{}}}t.ServiceType=ServiceType},79122:function(e,t,n){var o=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.TestTransport=void 0;const i=n(78636);const A=n(68886);const c=n(72726);const d=n(28576);const p=n(29288);const C=n(46173);const S=n(37889);const v=n(36826);class TestTransport{constructor(e){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=e!==null&&e!==void 0?e:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var e;const t=(e=this.data.headers)!==null&&e!==void 0?e:TestTransport.defaultHeaders;return t instanceof i.RpcError?Promise.reject(t):Promise.resolve(t)}promiseSingleResponse(e){if(this.data.response instanceof i.RpcError){return Promise.reject(this.data.response)}let t;if(Array.isArray(this.data.response)){A.assert(this.data.response.length>0);t=this.data.response[0]}else if(this.data.response!==undefined){t=this.data.response}else{t=e.O.create()}A.assert(e.O.is(t));return Promise.resolve(t)}streamResponses(e,t,n){return o(this,void 0,void 0,(function*(){const o=[];if(this.data.response===undefined){o.push(e.O.create())}else if(Array.isArray(this.data.response)){for(let t of this.data.response){A.assert(e.O.is(t));o.push(t)}}else if(!(this.data.response instanceof i.RpcError)){A.assert(e.O.is(this.data.response));o.push(this.data.response)}try{yield delay(this.responseDelay,n)(undefined)}catch(e){t.notifyError(e);return}if(this.data.response instanceof i.RpcError){t.notifyError(this.data.response);return}for(let e of o){t.notifyMessage(e);try{yield delay(this.betweenResponseDelay,n)(undefined)}catch(e){t.notifyError(e);return}}if(this.data.status instanceof i.RpcError){t.notifyError(this.data.status);return}if(this.data.trailers instanceof i.RpcError){t.notifyError(this.data.trailers);return}t.notifyComplete()}))}promiseStatus(){var e;const t=(e=this.data.status)!==null&&e!==void 0?e:TestTransport.defaultStatus;return t instanceof i.RpcError?Promise.reject(t):Promise.resolve(t)}promiseTrailers(){var e;const t=(e=this.data.trailers)!==null&&e!==void 0?e:TestTransport.defaultTrailers;return t instanceof i.RpcError?Promise.reject(t):Promise.resolve(t)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections){for(let t of e){t.catch((()=>{}))}}}mergeOptions(e){return d.mergeRpcOptions({},e)}unary(e,t,n){var o;const i=(o=n.meta)!==null&&o!==void 0?o:{},A=this.promiseHeaders().then(delay(this.headerDelay,n.abort)),c=A.catch((e=>{})).then(delay(this.responseDelay,n.abort)).then((t=>this.promiseSingleResponse(e))),d=c.catch((e=>{})).then(delay(this.afterResponseDelay,n.abort)).then((e=>this.promiseStatus())),C=c.catch((e=>{})).then(delay(this.afterResponseDelay,n.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(d,C);this.lastInput={single:t};return new p.UnaryCall(e,i,t,A,c,d,C)}serverStreaming(e,t,n){var o;const i=(o=n.meta)!==null&&o!==void 0?o:{},A=this.promiseHeaders().then(delay(this.headerDelay,n.abort)),d=new c.RpcOutputStreamController,p=A.then(delay(this.responseDelay,n.abort)).catch((()=>{})).then((()=>this.streamResponses(e,d,n.abort))).then(delay(this.afterResponseDelay,n.abort)),S=p.then((()=>this.promiseStatus())),v=p.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(S,v);this.lastInput={single:t};return new C.ServerStreamingCall(e,i,t,A,d,S,v)}clientStreaming(e,t){var n;const o=(n=t.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),A=i.catch((e=>{})).then(delay(this.responseDelay,t.abort)).then((t=>this.promiseSingleResponse(e))),c=A.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseStatus())),d=A.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(c,d);this.lastInput=new TestInputStream(this.data,t.abort);return new S.ClientStreamingCall(e,o,this.lastInput,i,A,c,d)}duplex(e,t){var n;const o=(n=t.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),A=new c.RpcOutputStreamController,d=i.then(delay(this.responseDelay,t.abort)).catch((()=>{})).then((()=>this.streamResponses(e,A,t.abort))).then(delay(this.afterResponseDelay,t.abort)),p=d.then((()=>this.promiseStatus())),C=d.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(p,C);this.lastInput=new TestInputStream(this.data,t.abort);return new v.DuplexStreamingCall(e,o,this.lastInput,i,A,p,C)}}t.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(e,t){return n=>new Promise(((o,A)=>{if(t===null||t===void 0?void 0:t.aborted){A(new i.RpcError("user cancel","CANCELLED"))}else{const c=setTimeout((()=>o(n)),e);if(t){t.addEventListener("abort",(e=>{clearTimeout(c);A(new i.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(e,t){this._completed=false;this._sent=[];this.data=e;this.abort=t}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof i.RpcError){return Promise.reject(this.data.inputMessage)}const t=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(e)})).then(delay(t,this.abort))}complete(){if(this.data.inputComplete instanceof i.RpcError){return Promise.reject(this.data.inputComplete)}const e=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(e,this.abort))}}},29288:function(e,t){var n=this&&this.__awaiter||function(e,t,n,o){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(o.next(e))}catch(e){i(e)}}function rejected(e){try{step(o["throw"](e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.UnaryCall=void 0;class UnaryCall{constructor(e,t,n,o,i,A,c){this.method=e;this.requestHeaders=t;this.request=n;this.headers=o;this.response=i;this.status=A;this.trailers=c}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n,o]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:t,status:n,trailers:o}}))}}t.UnaryCall=UnaryCall},8602:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.assertFloat32=t.assertUInt32=t.assertInt32=t.assertNever=t.assert=void 0;function assert(e,t){if(!e){throw new Error(t)}}t.assert=assert;function assertNever(e,t){throw new Error(t!==null&&t!==void 0?t:"Unexpected object: "+e)}t.assertNever=assertNever;const n=34028234663852886e22,o=-34028234663852886e22,i=4294967295,A=2147483647,c=-2147483648;function assertInt32(e){if(typeof e!=="number")throw new Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>A||ei||e<0)throw new Error("invalid uint 32: "+e)}t.assertUInt32=assertUInt32;function assertFloat32(e){if(typeof e!=="number")throw new Error("invalid float 32: "+typeof e);if(!Number.isFinite(e))return;if(e>n||e{Object.defineProperty(t,"__esModule",{value:true});t.base64encode=t.base64decode=void 0;let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let o=[];for(let e=0;e>4;d=c;A=2;break;case 2:n[i++]=(d&15)<<4|(c&60)>>2;d=c;A=3;break;case 3:n[i++]=(d&3)<<6|c;A=0;break}}if(A==1)throw Error(`invalid base64 string.`);return n.subarray(0,i)}t.base64decode=base64decode;function base64encode(e){let t="",o=0,i,A=0;for(let c=0;c>2];A=(i&3)<<4;o=1;break;case 1:t+=n[A|i>>4];A=(i&15)<<2;o=2;break;case 2:t+=n[A|i>>6];t+=n[i&63];o=0;break}}if(o){t+=n[A];t+="=";if(o==1)t+="="}return t}t.base64encode=base64encode},54816:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.WireType=t.mergeBinaryOptions=t.UnknownFieldHandler=void 0;var n;(function(e){e.symbol=Symbol.for("protobuf-ts/unknown");e.onRead=(t,n,o,i,A)=>{let c=is(n)?n[e.symbol]:n[e.symbol]=[];c.push({no:o,wireType:i,data:A})};e.onWrite=(t,n,o)=>{for(let{no:t,wireType:i,data:A}of e.list(n))o.tag(t,i).raw(A)};e.list=(t,n)=>{if(is(t)){let o=t[e.symbol];return n?o.filter((e=>e.no==n)):o}return[]};e.last=(t,n)=>e.list(t,n).slice(-1)[0];const is=t=>t&&Array.isArray(t[e.symbol])})(n=t.UnknownFieldHandler||(t.UnknownFieldHandler={}));function mergeBinaryOptions(e,t){return Object.assign(Object.assign({},e),t)}t.mergeBinaryOptions=mergeBinaryOptions;var o;(function(e){e[e["Varint"]=0]="Varint";e[e["Bit64"]=1]="Bit64";e[e["LengthDelimited"]=2]="LengthDelimited";e[e["StartGroup"]=3]="StartGroup";e[e["EndGroup"]=4]="EndGroup";e[e["Bit32"]=5]="Bit32"})(o=t.WireType||(t.WireType={}))},92889:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BinaryReader=t.binaryReadOptions=void 0;const o=n(54816);const i=n(61753);const A=n(93223);const c={readUnknownField:true,readerFactory:e=>new BinaryReader(e)};function binaryReadOptions(e){return e?Object.assign(Object.assign({},c),e):c}t.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(e,t){this.varint64=A.varint64read;this.uint32=A.varint32read;this.buf=e;this.len=e.length;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength);this.textDecoder=t!==null&&t!==void 0?t:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let e=this.uint32(),t=e>>>3,n=e&7;if(t<=0||n<0||n>5)throw new Error("illegal tag: field no "+t+" wire type "+n);return[t,n]}skip(e){let t=this.pos;switch(e){case o.WireType.Varint:while(this.buf[this.pos++]&128){}break;case o.WireType.Bit64:this.pos+=4;case o.WireType.Bit32:this.pos+=4;break;case o.WireType.LengthDelimited:let t=this.uint32();this.pos+=t;break;case o.WireType.StartGroup:let n;while((n=this.tag()[1])!==o.WireType.EndGroup){this.skip(n)}break;default:throw new Error("cant skip wire type "+e)}this.assertBounds();return this.buf.subarray(t,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new i.PbLong(...this.varint64())}uint64(){return new i.PbULong(...this.varint64())}sint64(){let[e,t]=this.varint64();let n=-(e&1);e=(e>>>1|(t&1)<<31)^n;t=t>>>1^n;return new i.PbLong(e,t)}bool(){let[e,t]=this.varint64();return e!==0||t!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new i.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new i.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let e=this.uint32();let t=this.pos;this.pos+=e;this.assertBounds();return this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}}t.BinaryReader=BinaryReader},23957:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BinaryWriter=t.binaryWriteOptions=void 0;const o=n(61753);const i=n(93223);const A=n(8602);const c={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(e){return e?Object.assign(Object.assign({},c),e):c}t.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(e){this.stack=[];this.textEncoder=e!==null&&e!==void 0?e:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t>>0)}raw(e){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(e);return this}uint32(e){A.assertUInt32(e);while(e>127){this.buf.push(e&127|128);e=e>>>7}this.buf.push(e);return this}int32(e){A.assertInt32(e);i.varint32write(e,this.buf);return this}bool(e){this.buf.push(e?1:0);return this}bytes(e){this.uint32(e.byteLength);return this.raw(e)}string(e){let t=this.textEncoder.encode(e);this.uint32(t.byteLength);return this.raw(t)}float(e){A.assertFloat32(e);let t=new Uint8Array(4);new DataView(t.buffer).setFloat32(0,e,true);return this.raw(t)}double(e){let t=new Uint8Array(8);new DataView(t.buffer).setFloat64(0,e,true);return this.raw(t)}fixed32(e){A.assertUInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setUint32(0,e,true);return this.raw(t)}sfixed32(e){A.assertInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setInt32(0,e,true);return this.raw(t)}sint32(e){A.assertInt32(e);e=(e<<1^e>>31)>>>0;i.varint32write(e,this.buf);return this}sfixed64(e){let t=new Uint8Array(8);let n=new DataView(t.buffer);let i=o.PbLong.from(e);n.setInt32(0,i.lo,true);n.setInt32(4,i.hi,true);return this.raw(t)}fixed64(e){let t=new Uint8Array(8);let n=new DataView(t.buffer);let i=o.PbULong.from(e);n.setInt32(0,i.lo,true);n.setInt32(4,i.hi,true);return this.raw(t)}int64(e){let t=o.PbLong.from(e);i.varint64write(t.lo,t.hi,this.buf);return this}sint64(e){let t=o.PbLong.from(e),n=t.hi>>31,A=t.lo<<1^n,c=(t.hi<<1|t.lo>>>31)^n;i.varint64write(A,c,this.buf);return this}uint64(e){let t=o.PbULong.from(e);i.varint64write(t.lo,t.hi,this.buf);return this}}t.BinaryWriter=BinaryWriter},70257:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.listEnumNumbers=t.listEnumNames=t.listEnumValues=t.isEnumObject=void 0;function isEnumObject(e){if(typeof e!="object"||e===null){return false}if(!e.hasOwnProperty(0)){return false}for(let t of Object.keys(e)){let n=parseInt(t);if(!Number.isNaN(n)){let t=e[n];if(t===undefined)return false;if(e[t]!==n)return false}else{let n=e[t];if(n===undefined)return false;if(typeof n!=="number")return false;if(e[n]===undefined)return false}}return true}t.isEnumObject=isEnumObject;function listEnumValues(e){if(!isEnumObject(e))throw new Error("not a typescript enum object");let t=[];for(let[n,o]of Object.entries(e))if(typeof o=="number")t.push({name:n,number:o});return t}t.listEnumValues=listEnumValues;function listEnumNames(e){return listEnumValues(e).map((e=>e.name))}t.listEnumNames=listEnumNames;function listEnumNumbers(e){return listEnumValues(e).map((e=>e.number)).filter(((e,t,n)=>n.indexOf(e)==t))}t.listEnumNumbers=listEnumNumbers},93223:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.varint32read=t.varint32write=t.int64toString=t.int64fromString=t.varint64write=t.varint64read=void 0;function varint64read(){let e=0;let t=0;for(let n=0;n<28;n+=7){let o=this.buf[this.pos++];e|=(o&127)<>4;if((n&128)==0){this.assertBounds();return[e,t]}for(let n=3;n<=31;n+=7){let o=this.buf[this.pos++];t|=(o&127)<>>o;const A=!(i>>>7==0&&t==0);const c=(A?i|128:i)&255;n.push(c);if(!A){return}}const o=e>>>28&15|(t&7)<<4;const i=!(t>>3==0);n.push((i?o|128:o)&255);if(!i){return}for(let e=3;e<31;e=e+7){const o=t>>>e;const i=!(o>>>7==0);const A=(i?o|128:o)&255;n.push(A);if(!i){return}}n.push(t>>>31&1)}t.varint64write=varint64write;const n=(1<<16)*(1<<16);function int64fromString(e){let t=e[0]=="-";if(t)e=e.slice(1);const o=1e6;let i=0;let A=0;function add1e6digit(t,c){const d=Number(e.slice(t,c));A*=o;i=i*o+d;if(i>=n){A=A+(i/n|0);i=i%n}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[t,i,A]}t.int64fromString=int64fromString;function int64toString(e,t){if(t>>>0<=2097151){return""+(n*t+(e>>>0))}let o=e&16777215;let i=(e>>>24|t<<8)>>>0&16777215;let A=t>>16&65535;let c=o+i*6777216+A*6710656;let d=i+A*8147497;let p=A*2;let C=1e7;if(c>=C){d+=Math.floor(c/C);c%=C}if(d>=C){p+=Math.floor(d/C);d%=C}function decimalFrom1e7(e,t){let n=e?String(e):"";if(t){return"0000000".slice(n.length)+n}return n}return decimalFrom1e7(p,0)+decimalFrom1e7(d,p)+decimalFrom1e7(c,1)}t.int64toString=int64toString;function varint32write(e,t){if(e>=0){while(e>127){t.push(e&127|128);e=e>>>7}t.push(e)}else{for(let n=0;n<9;n++){t.push(e&127|128);e=e>>7}t.push(1)}}t.varint32write=varint32write;function varint32read(){let e=this.buf[this.pos++];let t=e&127;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<7;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<14;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<21;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&15)<<28;for(let t=5;(e&128)!==0&&t<10;t++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");this.assertBounds();return t>>>0}t.varint32read=varint32read},68886:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});var o=n(49999);Object.defineProperty(t,"typeofJsonValue",{enumerable:true,get:function(){return o.typeofJsonValue}});Object.defineProperty(t,"isJsonObject",{enumerable:true,get:function(){return o.isJsonObject}});var i=n(26335);Object.defineProperty(t,"base64decode",{enumerable:true,get:function(){return i.base64decode}});Object.defineProperty(t,"base64encode",{enumerable:true,get:function(){return i.base64encode}});var A=n(58950);Object.defineProperty(t,"utf8read",{enumerable:true,get:function(){return A.utf8read}});var c=n(54816);Object.defineProperty(t,"WireType",{enumerable:true,get:function(){return c.WireType}});Object.defineProperty(t,"mergeBinaryOptions",{enumerable:true,get:function(){return c.mergeBinaryOptions}});Object.defineProperty(t,"UnknownFieldHandler",{enumerable:true,get:function(){return c.UnknownFieldHandler}});var d=n(92889);Object.defineProperty(t,"BinaryReader",{enumerable:true,get:function(){return d.BinaryReader}});Object.defineProperty(t,"binaryReadOptions",{enumerable:true,get:function(){return d.binaryReadOptions}});var p=n(23957);Object.defineProperty(t,"BinaryWriter",{enumerable:true,get:function(){return p.BinaryWriter}});Object.defineProperty(t,"binaryWriteOptions",{enumerable:true,get:function(){return p.binaryWriteOptions}});var C=n(61753);Object.defineProperty(t,"PbLong",{enumerable:true,get:function(){return C.PbLong}});Object.defineProperty(t,"PbULong",{enumerable:true,get:function(){return C.PbULong}});var S=n(29367);Object.defineProperty(t,"jsonReadOptions",{enumerable:true,get:function(){return S.jsonReadOptions}});Object.defineProperty(t,"jsonWriteOptions",{enumerable:true,get:function(){return S.jsonWriteOptions}});Object.defineProperty(t,"mergeJsonOptions",{enumerable:true,get:function(){return S.mergeJsonOptions}});var v=n(43785);Object.defineProperty(t,"MESSAGE_TYPE",{enumerable:true,get:function(){return v.MESSAGE_TYPE}});var T=n(15106);Object.defineProperty(t,"MessageType",{enumerable:true,get:function(){return T.MessageType}});var _=n(67910);Object.defineProperty(t,"ScalarType",{enumerable:true,get:function(){return _.ScalarType}});Object.defineProperty(t,"LongType",{enumerable:true,get:function(){return _.LongType}});Object.defineProperty(t,"RepeatType",{enumerable:true,get:function(){return _.RepeatType}});Object.defineProperty(t,"normalizeFieldInfo",{enumerable:true,get:function(){return _.normalizeFieldInfo}});Object.defineProperty(t,"readFieldOptions",{enumerable:true,get:function(){return _.readFieldOptions}});Object.defineProperty(t,"readFieldOption",{enumerable:true,get:function(){return _.readFieldOption}});Object.defineProperty(t,"readMessageOption",{enumerable:true,get:function(){return _.readMessageOption}});var V=n(25167);Object.defineProperty(t,"ReflectionTypeCheck",{enumerable:true,get:function(){return V.ReflectionTypeCheck}});var Z=n(75726);Object.defineProperty(t,"reflectionCreate",{enumerable:true,get:function(){return Z.reflectionCreate}});var ee=n(19526);Object.defineProperty(t,"reflectionScalarDefault",{enumerable:true,get:function(){return ee.reflectionScalarDefault}});var te=n(98044);Object.defineProperty(t,"reflectionMergePartial",{enumerable:true,get:function(){return te.reflectionMergePartial}});var re=n(4827);Object.defineProperty(t,"reflectionEquals",{enumerable:true,get:function(){return re.reflectionEquals}});var ne=n(89611);Object.defineProperty(t,"ReflectionBinaryReader",{enumerable:true,get:function(){return ne.ReflectionBinaryReader}});var oe=n(66907);Object.defineProperty(t,"ReflectionBinaryWriter",{enumerable:true,get:function(){return oe.ReflectionBinaryWriter}});var ie=n(46790);Object.defineProperty(t,"ReflectionJsonReader",{enumerable:true,get:function(){return ie.ReflectionJsonReader}});var se=n(11094);Object.defineProperty(t,"ReflectionJsonWriter",{enumerable:true,get:function(){return se.ReflectionJsonWriter}});var ae=n(59946);Object.defineProperty(t,"containsMessageType",{enumerable:true,get:function(){return ae.containsMessageType}});var Ae=n(18063);Object.defineProperty(t,"isOneofGroup",{enumerable:true,get:function(){return Ae.isOneofGroup}});Object.defineProperty(t,"setOneofValue",{enumerable:true,get:function(){return Ae.setOneofValue}});Object.defineProperty(t,"getOneofValue",{enumerable:true,get:function(){return Ae.getOneofValue}});Object.defineProperty(t,"clearOneofValue",{enumerable:true,get:function(){return Ae.clearOneofValue}});Object.defineProperty(t,"getSelectedOneofValue",{enumerable:true,get:function(){return Ae.getSelectedOneofValue}});var ce=n(70257);Object.defineProperty(t,"listEnumValues",{enumerable:true,get:function(){return ce.listEnumValues}});Object.defineProperty(t,"listEnumNames",{enumerable:true,get:function(){return ce.listEnumNames}});Object.defineProperty(t,"listEnumNumbers",{enumerable:true,get:function(){return ce.listEnumNumbers}});Object.defineProperty(t,"isEnumObject",{enumerable:true,get:function(){return ce.isEnumObject}});var le=n(4073);Object.defineProperty(t,"lowerCamelCase",{enumerable:true,get:function(){return le.lowerCamelCase}});var ue=n(8602);Object.defineProperty(t,"assert",{enumerable:true,get:function(){return ue.assert}});Object.defineProperty(t,"assertNever",{enumerable:true,get:function(){return ue.assertNever}});Object.defineProperty(t,"assertInt32",{enumerable:true,get:function(){return ue.assertInt32}});Object.defineProperty(t,"assertUInt32",{enumerable:true,get:function(){return ue.assertUInt32}});Object.defineProperty(t,"assertFloat32",{enumerable:true,get:function(){return ue.assertFloat32}})},29367:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.mergeJsonOptions=t.jsonWriteOptions=t.jsonReadOptions=void 0;const n={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},o={ignoreUnknownFields:false};function jsonReadOptions(e){return e?Object.assign(Object.assign({},o),e):o}t.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(e){return e?Object.assign(Object.assign({},n),e):n}t.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(e,t){var n,o;let i=Object.assign(Object.assign({},e),t);i.typeRegistry=[...(n=e===null||e===void 0?void 0:e.typeRegistry)!==null&&n!==void 0?n:[],...(o=t===null||t===void 0?void 0:t.typeRegistry)!==null&&o!==void 0?o:[]];return i}t.mergeJsonOptions=mergeJsonOptions},49999:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isJsonObject=t.typeofJsonValue=void 0;function typeofJsonValue(e){let t=typeof e;if(t=="object"){if(Array.isArray(e))return"array";if(e===null)return"null"}return t}t.typeofJsonValue=typeofJsonValue;function isJsonObject(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}t.isJsonObject=isJsonObject},4073:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.lowerCamelCase=void 0;function lowerCamelCase(e){let t=false;const n=[];for(let o=0;o{Object.defineProperty(t,"__esModule",{value:true});t.MESSAGE_TYPE=void 0;t.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},15106:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.MessageType=void 0;const o=n(43785);const i=n(67910);const A=n(25167);const c=n(46790);const d=n(11094);const p=n(89611);const C=n(66907);const S=n(75726);const v=n(98044);const T=n(49999);const _=n(29367);const V=n(4827);const Z=n(23957);const ee=n(92889);const te=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const re=te[o.MESSAGE_TYPE]={};class MessageType{constructor(e,t,n){this.defaultCheckDepth=16;this.typeName=e;this.fields=t.map(i.normalizeFieldInfo);this.options=n!==null&&n!==void 0?n:{};re.value=this;this.messagePrototype=Object.create(null,te);this.refTypeCheck=new A.ReflectionTypeCheck(this);this.refJsonReader=new c.ReflectionJsonReader(this);this.refJsonWriter=new d.ReflectionJsonWriter(this);this.refBinReader=new p.ReflectionBinaryReader(this);this.refBinWriter=new C.ReflectionBinaryWriter(this)}create(e){let t=S.reflectionCreate(this);if(e!==undefined){v.reflectionMergePartial(this,t,e)}return t}clone(e){let t=this.create();v.reflectionMergePartial(this,t,e);return t}equals(e,t){return V.reflectionEquals(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,false)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,true)}mergePartial(e,t){v.reflectionMergePartial(this,e,t)}fromBinary(e,t){let n=ee.binaryReadOptions(t);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,t){return this.internalJsonRead(e,_.jsonReadOptions(t))}fromJsonString(e,t){let n=JSON.parse(e);return this.fromJson(n,t)}toJson(e,t){return this.internalJsonWrite(e,_.jsonWriteOptions(t))}toJsonString(e,t){var n;let o=this.toJson(e,t);return JSON.stringify(o,null,(n=t===null||t===void 0?void 0:t.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,t){let n=Z.binaryWriteOptions(t);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,t,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let o=n!==null&&n!==void 0?n:this.create();this.refJsonReader.read(e,o,t);return o}throw new Error(`Unable to parse message ${this.typeName} from JSON ${T.typeofJsonValue(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,n){this.refBinWriter.write(e,t,n);return t}internalBinaryRead(e,t,n,o){let i=o!==null&&o!==void 0?o:this.create();this.refBinReader.read(e,i,n,t);return i}}t.MessageType=MessageType},18063:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSelectedOneofValue=t.clearOneofValue=t.setUnknownOneofValue=t.setOneofValue=t.getOneofValue=t.isOneofGroup=void 0;function isOneofGroup(e){if(typeof e!="object"||e===null||!e.hasOwnProperty("oneofKind")){return false}switch(typeof e.oneofKind){case"string":if(e[e.oneofKind]===undefined)return false;return Object.keys(e).length==2;case"undefined":return Object.keys(e).length==1;default:return false}}t.isOneofGroup=isOneofGroup;function getOneofValue(e,t){return e[t]}t.getOneofValue=getOneofValue;function setOneofValue(e,t,n){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(n!==undefined){e[t]=n}}t.setOneofValue=setOneofValue;function setUnknownOneofValue(e,t,n){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(n!==undefined&&t!==undefined){e[t]=n}}t.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(e){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=undefined}t.clearOneofValue=clearOneofValue;function getSelectedOneofValue(e){if(e.oneofKind===undefined){return undefined}return e[e.oneofKind]}t.getSelectedOneofValue=getSelectedOneofValue},61753:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.PbLong=t.PbULong=t.detectBi=void 0;const o=n(93223);let i;function detectBi(){const e=new DataView(new ArrayBuffer(8));const t=globalThis.BigInt!==undefined&&typeof e.getBigInt64==="function"&&typeof e.getBigUint64==="function"&&typeof e.setBigInt64==="function"&&typeof e.setBigUint64==="function";i=t?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:e}:undefined}t.detectBi=detectBi;detectBi();function assertBi(e){if(!e)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const A=/^-?[0-9]+$/;const c=4294967296;const d=2147483648;class SharedPbLong{constructor(e,t){this.lo=e|0;this.hi=t|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*c+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}}class PbULong extends SharedPbLong{static from(e){if(i)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=i.C(e);case"number":if(e===0)return this.ZERO;e=i.C(e);case"bigint":if(!e)return this.ZERO;if(ei.UMAX)throw new Error("ulong too large");i.V.setBigUint64(0,e,true);return new PbULong(i.V.getInt32(0,true),i.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!A.test(e))throw new Error("string is no integer");let[t,n,i]=o.int64fromString(e);if(t)throw new Error("signed value for ulong");return new PbULong(n,i);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new PbULong(e,e/c)}throw new Error("unknown value "+typeof e)}toString(){return i?this.toBigInt().toString():o.int64toString(this.lo,this.hi)}toBigInt(){assertBi(i);i.V.setInt32(0,this.lo,true);i.V.setInt32(4,this.hi,true);return i.V.getBigUint64(0,true)}}t.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(e){if(i)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=i.C(e);case"number":if(e===0)return this.ZERO;e=i.C(e);case"bigint":if(!e)return this.ZERO;if(ei.MAX)throw new Error("signed long too large");i.V.setBigInt64(0,e,true);return new PbLong(i.V.getInt32(0,true),i.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!A.test(e))throw new Error("string is no integer");let[t,n,i]=o.int64fromString(e);if(t){if(i>d||i==d&&n!=0)throw new Error("signed long too small")}else if(i>=d)throw new Error("signed long too large");let p=new PbLong(n,i);return t?p.negate():p;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new PbLong(e,e/c):new PbLong(-e,-e/c).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&d)!==0}negate(){let e=~this.hi,t=this.lo;if(t)t=~t+1;else e+=1;return new PbLong(t,e)}toString(){if(i)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+o.int64toString(e.lo,e.hi)}return o.int64toString(this.lo,this.hi)}toBigInt(){assertBi(i);i.V.setInt32(0,this.lo,true);i.V.setInt32(4,this.hi,true);return i.V.getBigInt64(0,true)}}t.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},58950:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.utf8read=void 0;const fromCharCodes=e=>String.fromCharCode.apply(String,e);function utf8read(e){if(e.length<1)return"";let t=0,n=[],o=[],i=0,A;let c=e.length;while(t191&&A<224)o[i++]=(A&31)<<6|e[t++]&63;else if(A>239&&A<365){A=((A&7)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63)-65536;o[i++]=55296+(A>>10);o[i++]=56320+(A&1023)}else o[i++]=(A&15)<<12|(e[t++]&63)<<6|e[t++]&63;if(i>8191){n.push(fromCharCodes(o));i=0}}if(n.length){if(i)n.push(fromCharCodes(o.slice(0,i)));return n.join("")}return fromCharCodes(o.slice(0,i))}t.utf8read=utf8read},89611:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryReader=void 0;const o=n(54816);const i=n(67910);const A=n(63402);const c=n(19526);class ReflectionBinaryReader{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){const t=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(t.map((e=>[e.no,e])))}}read(e,t,n,A){this.prepare();const c=A===undefined?e.len:e.pos+A;while(e.pos{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryWriter=void 0;const o=n(54816);const i=n(67910);const A=n(8602);const c=n(61753);class ReflectionBinaryWriter{constructor(e){this.info=e}prepare(){if(!this.fields){const e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort(((e,t)=>e.no-t.no))}}write(e,t,n){this.prepare();for(const o of this.fields){let c,d,p=o.repeat,C=o.localName;if(o.oneof){const t=e[o.oneof];if(t.oneofKind!==C)continue;c=t[C];d=true}else{c=e[C];d=false}switch(o.kind){case"scalar":case"enum":let e=o.kind=="enum"?i.ScalarType.INT32:o.T;if(p){A.assert(Array.isArray(c));if(p==i.RepeatType.PACKED)this.packed(t,e,o.no,c);else for(const n of c)this.scalar(t,e,o.no,n,true)}else if(c===undefined)A.assert(o.opt);else this.scalar(t,e,o.no,c,d||o.opt);break;case"message":if(p){A.assert(Array.isArray(c));for(const e of c)this.message(t,n,o.T(),o.no,e)}else{this.message(t,n,o.T(),o.no,c)}break;case"map":A.assert(typeof c=="object"&&c!==null);for(const[e,i]of Object.entries(c))this.mapEntry(t,n,o,e,i);break}}let c=n.writeUnknownFields;if(c!==false)(c===true?o.UnknownFieldHandler.onWrite:c)(this.info.typeName,e,t)}mapEntry(e,t,n,c,d){e.tag(n.no,o.WireType.LengthDelimited);e.fork();let p=c;switch(n.K){case i.ScalarType.INT32:case i.ScalarType.FIXED32:case i.ScalarType.UINT32:case i.ScalarType.SFIXED32:case i.ScalarType.SINT32:p=Number.parseInt(c);break;case i.ScalarType.BOOL:A.assert(c=="true"||c=="false");p=c=="true";break}this.scalar(e,n.K,1,p,true);switch(n.V.kind){case"scalar":this.scalar(e,n.V.T,2,d,true);break;case"enum":this.scalar(e,i.ScalarType.INT32,2,d,true);break;case"message":this.message(e,t,n.V.T(),2,d);break}e.join()}message(e,t,n,i,A){if(A===undefined)return;n.internalBinaryWrite(A,e.tag(i,o.WireType.LengthDelimited).fork(),t);e.join()}scalar(e,t,n,o,i){let[A,c,d]=this.scalarInfo(t,o);if(!d||i){e.tag(n,A);e[c](o)}}packed(e,t,n,c){if(!c.length)return;A.assert(t!==i.ScalarType.BYTES&&t!==i.ScalarType.STRING);e.tag(n,o.WireType.LengthDelimited);e.fork();let[,d]=this.scalarInfo(t);for(let t=0;t{Object.defineProperty(t,"__esModule",{value:true});t.containsMessageType=void 0;const o=n(43785);function containsMessageType(e){return e[o.MESSAGE_TYPE]!=null}t.containsMessageType=containsMessageType},75726:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionCreate=void 0;const o=n(19526);const i=n(43785);function reflectionCreate(e){const t=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},i.MESSAGE_TYPE,{value:e});for(let n of e.fields){let e=n.localName;if(n.opt)continue;if(n.oneof)t[n.oneof]={oneofKind:undefined};else if(n.repeat)t[e]=[];else switch(n.kind){case"scalar":t[e]=o.reflectionScalarDefault(n.T,n.L);break;case"enum":t[e]=0;break;case"map":t[e]={};break}}return t}t.reflectionCreate=reflectionCreate},4827:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionEquals=void 0;const o=n(67910);function reflectionEquals(e,t,n){if(t===n)return true;if(!t||!n)return false;for(let A of e.fields){let e=A.localName;let c=A.oneof?t[A.oneof][e]:t[e];let d=A.oneof?n[A.oneof][e]:n[e];switch(A.kind){case"enum":case"scalar":let e=A.kind=="enum"?o.ScalarType.INT32:A.T;if(!(A.repeat?repeatedPrimitiveEq(e,c,d):primitiveEq(e,c,d)))return false;break;case"map":if(!(A.V.kind=="message"?repeatedMsgEq(A.V.T(),i(c),i(d)):repeatedPrimitiveEq(A.V.kind=="enum"?o.ScalarType.INT32:A.V.T,i(c),i(d))))return false;break;case"message":let t=A.T();if(!(A.repeat?repeatedMsgEq(t,c,d):t.equals(c,d)))return false;break}}return true}t.reflectionEquals=reflectionEquals;const i=Object.values;function primitiveEq(e,t,n){if(t===n)return true;if(e!==o.ScalarType.BYTES)return false;let i=t;let A=n;if(i.length!==A.length)return false;for(let e=0;e{Object.defineProperty(t,"__esModule",{value:true});t.readMessageOption=t.readFieldOption=t.readFieldOptions=t.normalizeFieldInfo=t.RepeatType=t.LongType=t.ScalarType=void 0;const o=n(4073);var i;(function(e){e[e["DOUBLE"]=1]="DOUBLE";e[e["FLOAT"]=2]="FLOAT";e[e["INT64"]=3]="INT64";e[e["UINT64"]=4]="UINT64";e[e["INT32"]=5]="INT32";e[e["FIXED64"]=6]="FIXED64";e[e["FIXED32"]=7]="FIXED32";e[e["BOOL"]=8]="BOOL";e[e["STRING"]=9]="STRING";e[e["BYTES"]=12]="BYTES";e[e["UINT32"]=13]="UINT32";e[e["SFIXED32"]=15]="SFIXED32";e[e["SFIXED64"]=16]="SFIXED64";e[e["SINT32"]=17]="SINT32";e[e["SINT64"]=18]="SINT64"})(i=t.ScalarType||(t.ScalarType={}));var A;(function(e){e[e["BIGINT"]=0]="BIGINT";e[e["STRING"]=1]="STRING";e[e["NUMBER"]=2]="NUMBER"})(A=t.LongType||(t.LongType={}));var c;(function(e){e[e["NO"]=0]="NO";e[e["PACKED"]=1]="PACKED";e[e["UNPACKED"]=2]="UNPACKED"})(c=t.RepeatType||(t.RepeatType={}));function normalizeFieldInfo(e){var t,n,i,A;e.localName=(t=e.localName)!==null&&t!==void 0?t:o.lowerCamelCase(e.name);e.jsonName=(n=e.jsonName)!==null&&n!==void 0?n:o.lowerCamelCase(e.name);e.repeat=(i=e.repeat)!==null&&i!==void 0?i:c.NO;e.opt=(A=e.opt)!==null&&A!==void 0?A:e.repeat?false:e.oneof?false:e.kind=="message";return e}t.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(e,t,n,o){var i;const A=(i=e.fields.find(((e,n)=>e.localName==t||n==t)))===null||i===void 0?void 0:i.options;return A&&A[n]?o.fromJson(A[n]):undefined}t.readFieldOptions=readFieldOptions;function readFieldOption(e,t,n,o){var i;const A=(i=e.fields.find(((e,n)=>e.localName==t||n==t)))===null||i===void 0?void 0:i.options;if(!A){return undefined}const c=A[n];if(c===undefined){return c}return o?o.fromJson(c):c}t.readFieldOption=readFieldOption;function readMessageOption(e,t,n){const o=e.options;const i=o[t];if(i===undefined){return i}return n?n.fromJson(i):i}t.readMessageOption=readMessageOption},46790:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonReader=void 0;const o=n(49999);const i=n(26335);const A=n(67910);const c=n(61753);const d=n(8602);const p=n(63402);class ReflectionJsonReader{constructor(e){this.info=e}prepare(){var e;if(this.fMap===undefined){this.fMap={};const t=(e=this.info.fields)!==null&&e!==void 0?e:[];for(const e of t){this.fMap[e.name]=e;this.fMap[e.jsonName]=e;this.fMap[e.localName]=e}}}assert(e,t,n){if(!e){let e=o.typeofJsonValue(n);if(e=="number"||e=="boolean")e=n.toString();throw new Error(`Cannot parse JSON ${e} for ${this.info.typeName}#${t}`)}}read(e,t,n){this.prepare();const i=[];for(const[c,d]of Object.entries(e)){const e=this.fMap[c];if(!e){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${c}`);continue}const p=e.localName;let C;if(e.oneof){if(d===null&&(e.kind!=="enum"||e.T()[0]!=="google.protobuf.NullValue")){continue}if(i.includes(e.oneof))throw new Error(`Multiple members of the oneof group "${e.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(e.oneof);C=t[e.oneof]={oneofKind:p}}else{C=t}if(e.kind=="map"){if(d===null){continue}this.assert(o.isJsonObject(d),e.name,d);const t=C[p];for(const[o,i]of Object.entries(d)){this.assert(i!==null,e.name+" map value",null);let c;switch(e.V.kind){case"message":c=e.V.T().internalJsonRead(i,n);break;case"enum":c=this.enum(e.V.T(),i,e.name,n.ignoreUnknownFields);if(c===false)continue;break;case"scalar":c=this.scalar(i,e.V.T,e.V.L,e.name);break}this.assert(c!==undefined,e.name+" map value",i);let d=o;if(e.K==A.ScalarType.BOOL)d=d=="true"?true:d=="false"?false:d;d=this.scalar(d,e.K,A.LongType.STRING,e.name).toString();t[d]=c}}else if(e.repeat){if(d===null)continue;this.assert(Array.isArray(d),e.name,d);const t=C[p];for(const o of d){this.assert(o!==null,e.name,null);let i;switch(e.kind){case"message":i=e.T().internalJsonRead(o,n);break;case"enum":i=this.enum(e.T(),o,e.name,n.ignoreUnknownFields);if(i===false)continue;break;case"scalar":i=this.scalar(o,e.T,e.L,e.name);break}this.assert(i!==undefined,e.name,d);t.push(i)}}else{switch(e.kind){case"message":if(d===null&&e.T().typeName!="google.protobuf.Value"){this.assert(e.oneof===undefined,e.name+" (oneof member)",null);continue}C[p]=e.T().internalJsonRead(d,n,C[p]);break;case"enum":if(d===null)continue;let t=this.enum(e.T(),d,e.name,n.ignoreUnknownFields);if(t===false)continue;C[p]=t;break;case"scalar":if(d===null)continue;C[p]=this.scalar(d,e.T,e.L,e.name);break}}}}enum(e,t,n,o){if(e[0]=="google.protobuf.NullValue")d.assert(t===null||t==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`);if(t===null)return 0;switch(typeof t){case"number":d.assert(Number.isInteger(t),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${t}.`);return t;case"string":let i=t;if(e[2]&&t.substring(0,e[2].length)===e[2])i=t.substring(e[2].length);let A=e[1][i];if(typeof A==="undefined"&&o){return false}d.assert(typeof A=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${t}".`);return A}d.assert(false,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof t}".`)}scalar(e,t,n,o){let C;try{switch(t){case A.ScalarType.DOUBLE:case A.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){C="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){C="extra whitespace";break}if(typeof e!="string"&&typeof e!="number"){break}let o=Number(e);if(Number.isNaN(o)){C="not a number";break}if(!Number.isFinite(o)){C="too large or small";break}if(t==A.ScalarType.FLOAT)d.assertFloat32(o);return o;case A.ScalarType.INT32:case A.ScalarType.FIXED32:case A.ScalarType.SFIXED32:case A.ScalarType.SINT32:case A.ScalarType.UINT32:if(e===null)return 0;let S;if(typeof e=="number")S=e;else if(e==="")C="empty string";else if(typeof e=="string"){if(e.trim().length!==e.length)C="extra whitespace";else S=Number(e)}if(S===undefined)break;if(t==A.ScalarType.UINT32)d.assertUInt32(S);else d.assertInt32(S);return S;case A.ScalarType.INT64:case A.ScalarType.SFIXED64:case A.ScalarType.SINT64:if(e===null)return p.reflectionLongConvert(c.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return p.reflectionLongConvert(c.PbLong.from(e),n);case A.ScalarType.FIXED64:case A.ScalarType.UINT64:if(e===null)return p.reflectionLongConvert(c.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return p.reflectionLongConvert(c.PbULong.from(e),n);case A.ScalarType.BOOL:if(e===null)return false;if(typeof e!=="boolean")break;return e;case A.ScalarType.STRING:if(e===null)return"";if(typeof e!=="string"){C="extra whitespace";break}try{encodeURIComponent(e)}catch(C){C="invalid UTF8";break}return e;case A.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!=="string")break;return i.base64decode(e)}}catch(e){C=e.message}this.assert(false,o+(C?" - "+C:""),e)}}t.ReflectionJsonReader=ReflectionJsonReader},11094:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonWriter=void 0;const o=n(26335);const i=n(61753);const A=n(67910);const c=n(8602);class ReflectionJsonWriter{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}write(e,t){const n={},o=e;for(const e of this.fields){if(!e.oneof){let i=this.field(e,o[e.localName],t);if(i!==undefined)n[t.useProtoFieldName?e.name:e.jsonName]=i;continue}const i=o[e.oneof];if(i.oneofKind!==e.localName)continue;const A=e.kind=="scalar"||e.kind=="enum"?Object.assign(Object.assign({},t),{emitDefaultValues:true}):t;let d=this.field(e,i[e.localName],A);c.assert(d!==undefined);n[t.useProtoFieldName?e.name:e.jsonName]=d}return n}field(e,t,n){let o=undefined;if(e.kind=="map"){c.assert(typeof t=="object"&&t!==null);const i={};switch(e.V.kind){case"scalar":for(const[n,o]of Object.entries(t)){const t=this.scalar(e.V.T,o,e.name,false,true);c.assert(t!==undefined);i[n.toString()]=t}break;case"message":const o=e.V.T();for(const[A,d]of Object.entries(t)){const t=this.message(o,d,e.name,n);c.assert(t!==undefined);i[A.toString()]=t}break;case"enum":const A=e.V.T();for(const[o,d]of Object.entries(t)){c.assert(d===undefined||typeof d=="number");const t=this.enum(A,d,e.name,false,true,n.enumAsInteger);c.assert(t!==undefined);i[o.toString()]=t}break}if(n.emitDefaultValues||Object.keys(i).length>0)o=i}else if(e.repeat){c.assert(Array.isArray(t));const i=[];switch(e.kind){case"scalar":for(let n=0;n0||n.emitDefaultValues)o=i}else{switch(e.kind){case"scalar":o=this.scalar(e.T,t,e.name,e.opt,n.emitDefaultValues);break;case"enum":o=this.enum(e.T(),t,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":o=this.message(e.T(),t,e.name,n);break}}return o}enum(e,t,n,o,i,A){if(e[0]=="google.protobuf.NullValue")return!i&&!o?undefined:null;if(t===undefined){c.assert(o);return undefined}if(t===0&&!i&&!o)return undefined;c.assert(typeof t=="number");c.assert(Number.isInteger(t));if(A||!e[1].hasOwnProperty(t))return t;if(e[2])return e[2]+e[1][t];return e[1][t]}message(e,t,n,o){if(t===undefined)return o.emitDefaultValues?null:undefined;return e.internalJsonWrite(t,o)}scalar(e,t,n,d,p){if(t===undefined){c.assert(d);return undefined}const C=p||d;switch(e){case A.ScalarType.INT32:case A.ScalarType.SFIXED32:case A.ScalarType.SINT32:if(t===0)return C?0:undefined;c.assertInt32(t);return t;case A.ScalarType.FIXED32:case A.ScalarType.UINT32:if(t===0)return C?0:undefined;c.assertUInt32(t);return t;case A.ScalarType.FLOAT:c.assertFloat32(t);case A.ScalarType.DOUBLE:if(t===0)return C?0:undefined;c.assert(typeof t=="number");if(Number.isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case A.ScalarType.STRING:if(t==="")return C?"":undefined;c.assert(typeof t=="string");return t;case A.ScalarType.BOOL:if(t===false)return C?false:undefined;c.assert(typeof t=="boolean");return t;case A.ScalarType.UINT64:case A.ScalarType.FIXED64:c.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let e=i.PbULong.from(t);if(e.isZero()&&!C)return undefined;return e.toString();case A.ScalarType.INT64:case A.ScalarType.SFIXED64:case A.ScalarType.SINT64:c.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let n=i.PbLong.from(t);if(n.isZero()&&!C)return undefined;return n.toString();case A.ScalarType.BYTES:c.assert(t instanceof Uint8Array);if(!t.byteLength)return C?"":undefined;return o.base64encode(t)}}}t.ReflectionJsonWriter=ReflectionJsonWriter},63402:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionLongConvert=void 0;const o=n(67910);function reflectionLongConvert(e,t){switch(t){case o.LongType.BIGINT:return e.toBigInt();case o.LongType.NUMBER:return e.toNumber();default:return e.toString()}}t.reflectionLongConvert=reflectionLongConvert},98044:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionMergePartial=void 0;function reflectionMergePartial(e,t,n){let o,i=n,A;for(let n of e.fields){let e=n.localName;if(n.oneof){const c=i[n.oneof];if((c===null||c===void 0?void 0:c.oneofKind)==undefined){continue}o=c[e];A=t[n.oneof];A.oneofKind=c.oneofKind;if(o==undefined){delete A[e];continue}}else{o=i[e];A=t;if(o==undefined){continue}}if(n.repeat)A[e].length=o.length;switch(n.kind){case"scalar":case"enum":if(n.repeat)for(let t=0;t{Object.defineProperty(t,"__esModule",{value:true});t.reflectionScalarDefault=void 0;const o=n(67910);const i=n(63402);const A=n(61753);function reflectionScalarDefault(e,t=o.LongType.STRING){switch(e){case o.ScalarType.BOOL:return false;case o.ScalarType.UINT64:case o.ScalarType.FIXED64:return i.reflectionLongConvert(A.PbULong.ZERO,t);case o.ScalarType.INT64:case o.ScalarType.SFIXED64:case o.ScalarType.SINT64:return i.reflectionLongConvert(A.PbLong.ZERO,t);case o.ScalarType.DOUBLE:case o.ScalarType.FLOAT:return 0;case o.ScalarType.BYTES:return new Uint8Array(0);case o.ScalarType.STRING:return"";default:return 0}}t.reflectionScalarDefault=reflectionScalarDefault},25167:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionTypeCheck=void 0;const o=n(67910);const i=n(18063);class ReflectionTypeCheck{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}prepare(){if(this.data)return;const e=[],t=[],n=[];for(let o of this.fields){if(o.oneof){if(!n.includes(o.oneof)){n.push(o.oneof);e.push(o.oneof);t.push(o.oneof)}}else{t.push(o.localName);switch(o.kind){case"scalar":case"enum":if(!o.opt||o.repeat)e.push(o.localName);break;case"message":if(o.repeat)e.push(o.localName);break;case"map":e.push(o.localName);break}}}this.data={req:e,known:t,oneofs:Object.values(n)}}is(e,t,n=false){if(t<0)return true;if(e===null||e===undefined||typeof e!="object")return false;this.prepare();let o=Object.keys(e),A=this.data;if(o.length!o.includes(e))))return false;if(!n){if(o.some((e=>!A.known.includes(e))))return false}if(t<1){return true}for(const o of A.oneofs){const A=e[o];if(!i.isOneofGroup(A))return false;if(A.oneofKind===undefined)continue;const c=this.fields.find((e=>e.localName===A.oneofKind));if(!c)return false;if(!this.field(A[A.oneofKind],c,n,t))return false}for(const o of this.fields){if(o.oneof!==undefined)continue;if(!this.field(e[o.localName],o,n,t))return false}return true}field(e,t,n,i){let A=t.repeat;switch(t.kind){case"scalar":if(e===undefined)return t.opt;if(A)return this.scalars(e,t.T,i,t.L);return this.scalar(e,t.T,t.L);case"enum":if(e===undefined)return t.opt;if(A)return this.scalars(e,o.ScalarType.INT32,i);return this.scalar(e,o.ScalarType.INT32);case"message":if(e===undefined)return true;if(A)return this.messages(e,t.T(),n,i);return this.message(e,t.T(),n,i);case"map":if(typeof e!="object"||e===null)return false;if(i<2)return true;if(!this.mapKeys(e,t.K,i))return false;switch(t.V.kind){case"scalar":return this.scalars(Object.values(e),t.V.T,i,t.V.L);case"enum":return this.scalars(Object.values(e),o.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),t.V.T(),n,i)}break}return true}message(e,t,n,o){if(n){return t.isAssignable(e,o)}return t.is(e,o)}messages(e,t,n,o){if(!Array.isArray(e))return false;if(o<2)return true;if(n){for(let n=0;nparseInt(e))),t,n);case o.ScalarType.BOOL:return this.scalars(i.slice(0,n).map((e=>e=="true"?true:e=="false"?false:e)),t,n);default:return this.scalars(i,t,n,o.LongType.STRING)}}}t.ReflectionTypeCheck=ReflectionTypeCheck},15183:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const c=A(n(58611));const d=A(n(65692));async function toBuffer(e){let t=0;const n=[];for await(const o of e){t+=o.length;n.push(o)}return Buffer.concat(n,t)}t.toBuffer=toBuffer;async function json(e){const t=await toBuffer(e);const n=t.toString("utf8");try{return JSON.parse(n)}catch(e){const t=e;t.message+=` (input: ${n})`;throw t}}t.json=json;function req(e,t={}){const n=typeof e==="string"?e:e.href;const o=(n.startsWith("https:")?d:c).request(e,t);const i=new Promise(((e,t)=>{o.once("response",e).once("error",t).end()}));o.then=i.then.bind(i);return o}t.req=req},98894:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__exportStar||function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))o(t,e,n)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const d=A(n(69278));const p=A(n(58611));const C=n(65692);c(n(15183),t);const S=Symbol("AgentBaseInternalState");class Agent extends p.Agent{constructor(e){super(e);this[S]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint==="boolean"){return e.secureEndpoint}if(typeof e.protocol==="string"){return e.protocol==="https:"}}const{stack:t}=new Error;if(typeof t!=="string")return false;return t.split("\n").some((e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1))}incrementSockets(e){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[e]){this.sockets[e]=[]}const t=new d.Socket({writable:false});this.sockets[e].push(t);this.totalSocketCount++;return t}decrementSockets(e,t){if(!this.sockets[e]||t===null){return}const n=this.sockets[e];const o=n.indexOf(t);if(o!==-1){n.splice(o,1);this.totalSocketCount--;if(n.length===0){delete this.sockets[e]}}}getName(e){const t=this.isSecureEndpoint(e);if(t){return C.Agent.prototype.getName.call(this,e)}return super.getName(e)}createSocket(e,t,n){const o={...t,secureEndpoint:this.isSecureEndpoint(t)};const i=this.getName(o);const A=this.incrementSockets(i);Promise.resolve().then((()=>this.connect(e,o))).then((c=>{this.decrementSockets(i,A);if(c instanceof p.Agent){try{return c.addRequest(e,o)}catch(e){return n(e)}}this[S].currentSocket=c;super.createSocket(e,t,n)}),(e=>{this.decrementSockets(i,A);n(e)}))}createConnection(){const e=this[S].currentSocket;this[S].currentSocket=undefined;if(!e){throw new Error("No socket was returned in the `connect()` function")}return e}get defaultPort(){return this[S].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){if(this[S]){this[S].defaultPort=e}}get protocol(){return this[S].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){if(this[S]){this[S].protocol=e}}}t.Agent=Agent},59380:e=>{e.exports=balanced;function balanced(e,t,n){if(e instanceof RegExp)e=maybeMatch(e,n);if(t instanceof RegExp)t=maybeMatch(t,n);var o=range(e,t,n);return o&&{start:o[0],end:o[1],pre:n.slice(0,o[0]),body:n.slice(o[0]+e.length,o[1]),post:n.slice(o[1]+t.length)}}function maybeMatch(e,t){var n=t.match(e);return n?n[0]:null}balanced.range=range;function range(e,t,n){var o,i,A,c,d;var p=n.indexOf(e);var C=n.indexOf(t,p+1);var S=p;if(p>=0&&C>0){if(e===t){return[p,C]}o=[];A=n.length;while(S>=0&&!d){if(S==p){o.push(S);p=n.indexOf(e,S+1)}else if(o.length==1){d=[o.pop(),C]}else{i=o.pop();if(i=0?p:C}if(o.length){d=[A,c]}}return d}},94691:(e,t,n)=>{var o=n(97087);var i=n(59380);e.exports=expandTop;var A="\0SLASH"+Math.random()+"\0";var c="\0OPEN"+Math.random()+"\0";var d="\0CLOSE"+Math.random()+"\0";var p="\0COMMA"+Math.random()+"\0";var C="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(A).split("\\{").join(c).split("\\}").join(d).split("\\,").join(p).split("\\.").join(C)}function unescapeBraces(e){return e.split(A).join("\\").split(c).join("{").split(d).join("}").split(p).join(",").split(C).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var n=i("{","}",e);if(!n)return e.split(",");var o=n.pre;var A=n.body;var c=n.post;var d=o.split(",");d[d.length-1]+="{"+A+"}";var p=parseCommaParts(c);if(c.length){d[d.length-1]+=p.shift();d.push.apply(d,p)}t.push.apply(t,d);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var n=[];var A=i("{","}",e);if(!A||/\$$/.test(A.pre))return[e];var c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body);var p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body);var C=c||p;var S=A.body.indexOf(",")>=0;if(!C&&!S){if(A.post.match(/,(?!,).*\}/)){e=A.pre+"{"+A.body+d+A.post;return expand(e)}return[e]}var v;if(C){v=A.body.split(/\.\./)}else{v=parseCommaParts(A.body);if(v.length===1){v=expand(v[0],false).map(embrace);if(v.length===1){var T=A.post.length?expand(A.post,false):[""];return T.map((function(e){return A.pre+v[0]+e}))}}}var _=A.pre;var T=A.post.length?expand(A.post,false):[""];var V;if(C){var Z=numeric(v[0]);var ee=numeric(v[1]);var te=Math.max(v[0].length,v[1].length);var re=v.length==3?Math.abs(numeric(v[2])):1;var ne=lte;var oe=ee0){var ce=new Array(Ae+1).join("0");if(se<0)ae="-"+ce+ae.slice(1);else ae=ce+ae}}}V.push(ae)}}else{V=o(v,(function(e){return expand(e,false)}))}for(var le=0;le{e.exports=function(e,n){var o=[];for(var i=0;i{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}o++;if(e==="%c"){i=o}}));t.splice(i,0,n)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=n(40897)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},40897:(e,t,n)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=n(70744);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let n=0;n{if(t==="%%"){return"%"}A++;const i=createDebug.formatters[o];if(typeof i==="function"){const o=e[A];t=i.call(n,o);e.splice(A,1);A--}return t}));createDebug.formatArgs.call(n,e);const c=n.log||createDebug.log;c.apply(n,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(n!==null){return n}if(o!==createDebug.namespaces){o=createDebug.namespaces;i=createDebug.enabled(e)}return i},set:e=>{n=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const n=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);n.log=this.log;return n}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];const t=(typeof e==="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t){if(e[0]==="-"){createDebug.skips.push(e.slice(1))}else{createDebug.names.push(e)}}}function matchesTemplate(e,t){let n=0;let o=0;let i=-1;let A=0;while(n"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){for(const t of createDebug.skips){if(matchesTemplate(e,t)){return false}}for(const t of createDebug.names){if(matchesTemplate(e,t)){return true}}return false}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},2830:(e,t,n)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=n(6110)}else{e.exports=n(95108)}},95108:(e,t,n)=>{const o=n(52018);const i=n(39023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=n(21450);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let o=process.env[t];if(/^(yes|on|true|enabled)$/i.test(o)){o=true}else if(/^(no|off|false|disabled)$/i.test(o)){o=false}else if(o==="null"){o=null}else{o=Number(o)}e[n]=o;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):o.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:n,useColors:o}=this;if(o){const o=this.color;const i="[3"+(o<8?o:"8;5;"+o);const A=` ${i};1m${n} `;t[0]=A+t[0].split("\n").join("\n"+A);t.push(i+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+n+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let o=0;oe.trim())).join(" ")};A.O=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts)}},83813:e=>{e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":e.length===1?"-":"--";const o=t.indexOf(n+e);const i=t.indexOf("--");return o!==-1&&(i===-1||o0){_("Patching connection write() output buffer with updated header");n=e.outputData[0].data;o=n.indexOf("\r\n\r\n")+4;e.outputData[0].data=e._header+n.substring(o);_("Output buffer: %o",e.outputData[0].data)}let i;if(this.proxy.protocol==="https:"){_("Creating `tls.Socket`: %o",this.connectOpts);i=p.connect(this.connectOpts)}else{_("Creating `net.Socket`: %o",this.connectOpts);i=d.connect(this.connectOpts)}await(0,S.once)(i,"connect");return i}}HttpProxyAgent.protocols=["http","https"];t.HttpProxyAgent=HttpProxyAgent;function omit(e,...t){const n={};let o;for(o in e){if(!t.includes(o)){n[o]=e[o]}}return n}},3669:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){if(o===undefined)o=n;var i=Object.getOwnPropertyDescriptor(t,n);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,o,i)}:function(e,t,n,o){if(o===undefined)o=n;e[o]=t[n]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))o(t,e,n);i(t,e);return t};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpsProxyAgent=void 0;const d=A(n(69278));const p=A(n(64756));const C=c(n(42613));const S=c(n(2830));const v=n(98894);const T=n(87016);const _=n(37943);const V=(0,S.default)("https-proxy-agent");const setServernameFromNonIpHost=e=>{if(e.servername===undefined&&e.host&&!d.isIP(e.host)){return{...e,servername:e.host}}return e};class HttpsProxyAgent extends v.Agent{constructor(e,t){super(t);this.options={path:undefined};this.proxy=typeof e==="string"?new T.URL(e):e;this.proxyHeaders=t?.headers??{};V("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const o=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?omit(t,"headers"):null,host:n,port:o}}async connect(e,t){const{proxy:n}=this;if(!t.host){throw new TypeError('No "host" provided')}let o;if(n.protocol==="https:"){V("Creating `tls.Socket`: %o",this.connectOpts);o=p.connect(setServernameFromNonIpHost(this.connectOpts))}else{V("Creating `net.Socket`: %o",this.connectOpts);o=d.connect(this.connectOpts)}const i=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const A=d.isIPv6(t.host)?`[${t.host}]`:t.host;let c=`CONNECT ${A}:${t.port} HTTP/1.1\r\n`;if(n.username||n.password){const e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}i.Host=`${A}:${t.port}`;if(!i["Proxy-Connection"]){i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const e of Object.keys(i)){c+=`${e}: ${i[e]}\r\n`}const S=(0,_.parseProxyResponse)(o);o.write(`${c}\r\n`);const{connect:v,buffered:T}=await S;e.emit("proxyConnect",v);this.emit("proxyConnect",v,e);if(v.statusCode===200){e.once("socket",resume);if(t.secureEndpoint){V("Upgrading socket connection to TLS");return p.connect({...omit(setServernameFromNonIpHost(t),"host","path","port"),socket:o})}return o}o.destroy();const Z=new d.Socket({writable:false});Z.readable=true;e.once("socket",(e=>{V("Replaying proxy buffer for failed request");(0,C.default)(e.listenerCount("data")>0);e.push(T);e.push(null)}));return Z}}HttpsProxyAgent.protocols=["http","https"];t.HttpsProxyAgent=HttpsProxyAgent;function resume(e){e.resume()}function omit(e,...t){const n={};let o;for(o in e){if(!t.includes(o)){n[o]=e[o]}}return n}},37943:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.parseProxyResponse=void 0;const i=o(n(2830));const A=(0,i.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,n)=>{let o=0;const i=[];function read(){const t=e.read();if(t)ondata(t);else e.once("readable",read)}function cleanup(){e.removeListener("end",onend);e.removeListener("error",onerror);e.removeListener("readable",read)}function onend(){cleanup();A("onend");n(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(e){cleanup();A("onerror %o",e);n(e)}function ondata(c){i.push(c);o+=c.length;const d=Buffer.concat(i,o);const p=d.indexOf("\r\n\r\n");if(p===-1){A("have not received end of HTTP headers yet...");read();return}const C=d.slice(0,p).toString("ascii").split("\r\n");const S=C.shift();if(!S){e.destroy();return n(new Error("No header received from proxy CONNECT response"))}const v=S.split(" ");const T=+v[1];const _=v.slice(2).join(" ");const V={};for(const t of C){if(!t)continue;const o=t.indexOf(":");if(o===-1){e.destroy();return n(new Error(`Invalid header from proxy CONNECT response: "${t}"`))}const i=t.slice(0,o).toLowerCase();const A=t.slice(o+1).trimStart();const c=V[i];if(typeof c==="string"){V[i]=[c,A]}else if(Array.isArray(c)){c.push(A)}else{V[i]=A}}A("got proxy server response: %o %o",S,V);cleanup();t({connect:{statusCode:T,statusText:_,headers:V},buffered:d})}e.on("error",onerror);e.on("end",onend);read()}))}t.parseProxyResponse=parseProxyResponse},43772:(e,t,n)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var o=function(){try{return n(16928)}catch(e){}}()||{sep:"/"};minimatch.sep=o.sep;var i=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var A=n(94691);var c={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var d="[^/]";var p=d+"*?";var C="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var S="(?:(?!(?:\\/|^)\\.).)*?";var v=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var T=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(n,o,i){return minimatch(n,e,t)}}function ext(e,t){t=t||{};var n={};Object.keys(e).forEach((function(t){n[t]=e[t]}));Object.keys(t).forEach((function(e){n[e]=t[e]}));return n}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var n=function minimatch(n,o,i){return t(n,o,ext(e,i))};n.Minimatch=function Minimatch(n,o){return new t.Minimatch(n,ext(e,o))};n.Minimatch.defaults=function defaults(n){return t.defaults(ext(e,n)).Minimatch};n.filter=function filter(n,o){return t.filter(n,ext(e,o))};n.defaults=function defaults(n){return t.defaults(ext(e,n))};n.makeRe=function makeRe(n,o){return t.makeRe(n,ext(e,o))};n.braceExpand=function braceExpand(n,o){return t.braceExpand(n,ext(e,o))};n.match=function(n,o,i){return t.match(n,o,ext(e,i))};return n};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,n){assertValidPattern(t);if(!n)n={};if(!n.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,n).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}assertValidPattern(e);if(!t)t={};e=e.trim();if(!t.allowWindowsEscape&&o.sep!=="/"){e=e.split(o.sep).join("/")}this.options=t;this.maxGlobstarRecursion=t.maxGlobstarRecursion!==undefined?t.maxGlobstarRecursion:200;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!t.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var n=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,n);n=this.globParts=n.map((function(e){return e.split(T)}));this.debug(this.pattern,n);n=n.map((function(e,t,n){return e.map(this.parse,this)}),this);this.debug(this.pattern,n);n=n.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,n);this.set=n}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var n=this.options;var o=0;if(n.nonegate)return;for(var i=0,A=e.length;i_){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var V={};function parse(e,t){assertValidPattern(e);var n=this.options;if(e==="**"){if(!n.noglobstar)return i;else e="*"}if(e==="")return"";var o="";var A=!!n.nocase;var C=false;var S=[];var T=[];var _;var Z=false;var ee=-1;var te=-1;var re=e.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var ne=this;function clearStateChar(){if(_){switch(_){case"*":o+=p;A=true;break;case"?":o+=d;A=true;break;default:o+="\\"+_;break}ne.debug("clearStateChar %j %j",_,o);_=false}}for(var oe=0,ie=e.length,se;oe-1;pe--){var ge=T[pe];var me=o.slice(0,ge.reStart);var he=o.slice(ge.reStart,ge.reEnd-8);var fe=o.slice(ge.reEnd-8,ge.reEnd);var ye=o.slice(ge.reEnd);fe+=ye;var Ce=me.split("(").length-1;var Ee=ye;for(oe=0;oe=0;c--){A=e[c];if(A)break}for(c=0;c=0;c--){if(t[c]===i){p=c;break}}var C=t.slice(A,d);var S=n?t.slice(d+1):t.slice(d+1,p);var v=n?[]:t.slice(p+1);if(C.length){var T=e.slice(o,o+C.length);if(!this._matchOne(T,C,n,0,0)){return false}o+=C.length}var _=0;if(v.length){if(v.length+o>e.length)return false;var V=e.length-v.length;if(this._matchOne(e,v,n,V,0)){_=v.length}else{if(e[e.length-1]!==""||o+v.length===e.length){return false}V--;if(!this._matchOne(e,v,n,V,0)){return false}_=v.length+1}}if(!S.length){var Z=!!_;for(c=o;c{var t=1e3;var n=t*60;var o=n*60;var i=o*24;var A=i*7;var c=i*365.25;e.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0){return parse(e)}else if(n==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!d){return}var p=parseFloat(d[1]);var C=(d[2]||"ms").toLowerCase();switch(C){case"years":case"year":case"yrs":case"yr":case"y":return p*c;case"weeks":case"week":case"w":return p*A;case"days":case"day":case"d":return p*i;case"hours":case"hour":case"hrs":case"hr":case"h":return p*o;case"minutes":case"minute":case"mins":case"min":case"m":return p*n;case"seconds":case"second":case"secs":case"sec":case"s":return p*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return undefined}}function fmtShort(e){var A=Math.abs(e);if(A>=i){return Math.round(e/i)+"d"}if(A>=o){return Math.round(e/o)+"h"}if(A>=n){return Math.round(e/n)+"m"}if(A>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var A=Math.abs(e);if(A>=i){return plural(e,A,i,"day")}if(A>=o){return plural(e,A,o,"hour")}if(A>=n){return plural(e,A,n,"minute")}if(A>=t){return plural(e,A,t,"second")}return e+" ms"}function plural(e,t,n,o){var i=t>=n*1.5;return Math.round(e/n)+" "+o+(i?"s":"")}},39318:(e,t)=>{t=e.exports=SemVer;var n;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){n=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{n=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var o=256;var i=Number.MAX_SAFE_INTEGER||9007199254740991;var A=16;var c=o-6;var d=t.re=[];var p=t.safeRe=[];var C=t.src=[];var S=t.tokens={};var v=0;function tok(e){S[e]=v++}var T="[a-zA-Z0-9-]";var _=[["\\s",1],["\\d",o],[T,c]];function makeSafeRe(e){for(var t=0;t<_.length;t++){var n=_[t][0];var o=_[t][1];e=e.split(n+"*").join(n+"{0,"+o+"}").split(n+"+").join(n+"{1,"+o+"}")}return e}tok("NUMERICIDENTIFIER");C[S.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");C[S.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");C[S.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+T+"*";tok("MAINVERSION");C[S.MAINVERSION]="("+C[S.NUMERICIDENTIFIER]+")\\."+"("+C[S.NUMERICIDENTIFIER]+")\\."+"("+C[S.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");C[S.MAINVERSIONLOOSE]="("+C[S.NUMERICIDENTIFIERLOOSE]+")\\."+"("+C[S.NUMERICIDENTIFIERLOOSE]+")\\."+"("+C[S.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");C[S.PRERELEASEIDENTIFIER]="(?:"+C[S.NUMERICIDENTIFIER]+"|"+C[S.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");C[S.PRERELEASEIDENTIFIERLOOSE]="(?:"+C[S.NUMERICIDENTIFIERLOOSE]+"|"+C[S.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");C[S.PRERELEASE]="(?:-("+C[S.PRERELEASEIDENTIFIER]+"(?:\\."+C[S.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");C[S.PRERELEASELOOSE]="(?:-?("+C[S.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+C[S.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");C[S.BUILDIDENTIFIER]=T+"+";tok("BUILD");C[S.BUILD]="(?:\\+("+C[S.BUILDIDENTIFIER]+"(?:\\."+C[S.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");C[S.FULLPLAIN]="v?"+C[S.MAINVERSION]+C[S.PRERELEASE]+"?"+C[S.BUILD]+"?";C[S.FULL]="^"+C[S.FULLPLAIN]+"$";tok("LOOSEPLAIN");C[S.LOOSEPLAIN]="[v=\\s]*"+C[S.MAINVERSIONLOOSE]+C[S.PRERELEASELOOSE]+"?"+C[S.BUILD]+"?";tok("LOOSE");C[S.LOOSE]="^"+C[S.LOOSEPLAIN]+"$";tok("GTLT");C[S.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");C[S.XRANGEIDENTIFIERLOOSE]=C[S.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");C[S.XRANGEIDENTIFIER]=C[S.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");C[S.XRANGEPLAIN]="[v=\\s]*("+C[S.XRANGEIDENTIFIER]+")"+"(?:\\.("+C[S.XRANGEIDENTIFIER]+")"+"(?:\\.("+C[S.XRANGEIDENTIFIER]+")"+"(?:"+C[S.PRERELEASE]+")?"+C[S.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");C[S.XRANGEPLAINLOOSE]="[v=\\s]*("+C[S.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+C[S.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+C[S.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+C[S.PRERELEASELOOSE]+")?"+C[S.BUILD]+"?"+")?)?";tok("XRANGE");C[S.XRANGE]="^"+C[S.GTLT]+"\\s*"+C[S.XRANGEPLAIN]+"$";tok("XRANGELOOSE");C[S.XRANGELOOSE]="^"+C[S.GTLT]+"\\s*"+C[S.XRANGEPLAINLOOSE]+"$";tok("COERCE");C[S.COERCE]="(^|[^\\d])"+"(\\d{1,"+A+"})"+"(?:\\.(\\d{1,"+A+"}))?"+"(?:\\.(\\d{1,"+A+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");d[S.COERCERTL]=new RegExp(C[S.COERCE],"g");p[S.COERCERTL]=new RegExp(makeSafeRe(C[S.COERCE]),"g");tok("LONETILDE");C[S.LONETILDE]="(?:~>?)";tok("TILDETRIM");C[S.TILDETRIM]="(\\s*)"+C[S.LONETILDE]+"\\s+";d[S.TILDETRIM]=new RegExp(C[S.TILDETRIM],"g");p[S.TILDETRIM]=new RegExp(makeSafeRe(C[S.TILDETRIM]),"g");var V="$1~";tok("TILDE");C[S.TILDE]="^"+C[S.LONETILDE]+C[S.XRANGEPLAIN]+"$";tok("TILDELOOSE");C[S.TILDELOOSE]="^"+C[S.LONETILDE]+C[S.XRANGEPLAINLOOSE]+"$";tok("LONECARET");C[S.LONECARET]="(?:\\^)";tok("CARETTRIM");C[S.CARETTRIM]="(\\s*)"+C[S.LONECARET]+"\\s+";d[S.CARETTRIM]=new RegExp(C[S.CARETTRIM],"g");p[S.CARETTRIM]=new RegExp(makeSafeRe(C[S.CARETTRIM]),"g");var Z="$1^";tok("CARET");C[S.CARET]="^"+C[S.LONECARET]+C[S.XRANGEPLAIN]+"$";tok("CARETLOOSE");C[S.CARETLOOSE]="^"+C[S.LONECARET]+C[S.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");C[S.COMPARATORLOOSE]="^"+C[S.GTLT]+"\\s*("+C[S.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");C[S.COMPARATOR]="^"+C[S.GTLT]+"\\s*("+C[S.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");C[S.COMPARATORTRIM]="(\\s*)"+C[S.GTLT]+"\\s*("+C[S.LOOSEPLAIN]+"|"+C[S.XRANGEPLAIN]+")";d[S.COMPARATORTRIM]=new RegExp(C[S.COMPARATORTRIM],"g");p[S.COMPARATORTRIM]=new RegExp(makeSafeRe(C[S.COMPARATORTRIM]),"g");var ee="$1$2$3";tok("HYPHENRANGE");C[S.HYPHENRANGE]="^\\s*("+C[S.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+C[S.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");C[S.HYPHENRANGELOOSE]="^\\s*("+C[S.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+C[S.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");C[S.STAR]="(<|>)?=?\\s*\\*";for(var te=0;teo){return null}var n=t.loose?p[S.LOOSE]:p[S.FULL];if(!n.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var n=parse(e,t);return n?n.version:null}t.clean=clean;function clean(e,t){var n=parse(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>o){throw new TypeError("version is longer than "+o+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;var A=e.trim().match(t.loose?p[S.LOOSE]:p[S.FULL]);if(!A){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+A[1];this.minor=+A[2];this.patch=+A[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!A[4]){this.prerelease=[]}else{this.prerelease=A[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,n,o){if(typeof n==="string"){o=n;n=undefined}try{return new SemVer(e,n).inc(t,o).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var n=parse(e);var o=parse(t);var i="";if(n.prerelease.length||o.prerelease.length){i="pre";var A="prerelease"}for(var c in n){if(c==="major"||c==="minor"||c==="patch"){if(n[c]!==o[c]){return i+c}}}return A}}t.compareIdentifiers=compareIdentifiers;var re=/^[0-9]+$/;function compareIdentifiers(e,t){var n=re.test(e);var o=re.test(t);if(n&&o){e=+e;t=+t}return e===t?0:n&&!o?-1:o&&!n?1:e0}t.lt=lt;function lt(e,t,n){return compare(e,t,n)<0}t.eq=eq;function eq(e,t,n){return compare(e,t,n)===0}t.neq=neq;function neq(e,t,n){return compare(e,t,n)!==0}t.gte=gte;function gte(e,t,n){return compare(e,t,n)>=0}t.lte=lte;function lte(e,t,n){return compare(e,t,n)<=0}t.cmp=cmp;function cmp(e,t,n,o){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e===n;case"!==":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e!==n;case"":case"=":case"==":return eq(e,n,o);case"!=":return neq(e,n,o);case">":return gt(e,n,o);case">=":return gte(e,n,o);case"<":return lt(e,n,o);case"<=":return lte(e,n,o);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}e=e.trim().split(/\s+/).join(" ");n("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===ne){this.value=""}else{this.value=this.operator+this.semver.version}n("comp",this)}var ne={};Comparator.prototype.parse=function(e){var t=this.options.loose?p[S.COMPARATORLOOSE]:p[S.COMPARATOR];var n=e.match(t);if(!n){throw new TypeError("Invalid comparator: "+e)}this.operator=n[1]!==undefined?n[1]:"";if(this.operator==="="){this.operator=""}if(!n[2]){this.semver=ne}else{this.semver=new SemVer(n[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){n("Comparator.test",e,this.options.loose);if(this.semver===ne||e===ne){return true}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var n;if(this.operator===""){if(this.value===""){return true}n=new Range(e.value,t);return satisfies(this.value,n,t)}else if(e.operator===""){if(e.value===""){return true}n=new Range(this.value,t);return satisfies(e.semver,n,t)}var o=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var i=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var A=this.semver.version===e.semver.version;var c=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var d=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var p=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return o||i||A&&c||d||p};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}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}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+this.raw)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;var o=t?p[S.HYPHENRANGELOOSE]:p[S.HYPHENRANGE];e=e.replace(o,hyphenReplace);n("hyphen replace",e);e=e.replace(p[S.COMPARATORTRIM],ee);n("comparator trim",e,p[S.COMPARATORTRIM]);e=e.replace(p[S.TILDETRIM],V);e=e.replace(p[S.CARETTRIM],Z);e=e.split(/\s+/).join(" ");var i=t?p[S.COMPARATORLOOSE]:p[S.COMPARATOR];var A=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){A=A.filter((function(e){return!!e.match(i)}))}A=A.map((function(e){return new Comparator(e,this.options)}),this);return A};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(n){return isSatisfiable(n,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var n=true;var o=e.slice();var i=o.pop();while(n&&o.length){n=o.every((function(e){return i.intersects(e,t)}));i=o.pop()}return n}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){n("comp",e,t);e=replaceCarets(e,t);n("caret",e);e=replaceTildes(e,t);n("tildes",e);e=replaceXRanges(e,t);n("xrange",e);e=replaceStars(e,t);n("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var o=t.loose?p[S.TILDELOOSE]:p[S.TILDE];return e.replace(o,(function(t,o,i,A,c){n("tilde",e,t,o,i,A,c);var d;if(isX(o)){d=""}else if(isX(i)){d=">="+o+".0.0 <"+(+o+1)+".0.0"}else if(isX(A)){d=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"}else if(c){n("replaceTilde pr",c);d=">="+o+"."+i+"."+A+"-"+c+" <"+o+"."+(+i+1)+".0"}else{d=">="+o+"."+i+"."+A+" <"+o+"."+(+i+1)+".0"}n("tilde return",d);return d}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){n("caret",e,t);var o=t.loose?p[S.CARETLOOSE]:p[S.CARET];return e.replace(o,(function(t,o,i,A,c){n("caret",e,t,o,i,A,c);var d;if(isX(o)){d=""}else if(isX(i)){d=">="+o+".0.0 <"+(+o+1)+".0.0"}else if(isX(A)){if(o==="0"){d=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"}else{d=">="+o+"."+i+".0 <"+(+o+1)+".0.0"}}else if(c){n("replaceCaret pr",c);if(o==="0"){if(i==="0"){d=">="+o+"."+i+"."+A+"-"+c+" <"+o+"."+i+"."+(+A+1)}else{d=">="+o+"."+i+"."+A+"-"+c+" <"+o+"."+(+i+1)+".0"}}else{d=">="+o+"."+i+"."+A+"-"+c+" <"+(+o+1)+".0.0"}}else{n("no pr");if(o==="0"){if(i==="0"){d=">="+o+"."+i+"."+A+" <"+o+"."+i+"."+(+A+1)}else{d=">="+o+"."+i+"."+A+" <"+o+"."+(+i+1)+".0"}}else{d=">="+o+"."+i+"."+A+" <"+(+o+1)+".0.0"}}n("caret return",d);return d}))}function replaceXRanges(e,t){n("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var o=t.loose?p[S.XRANGELOOSE]:p[S.XRANGE];return e.replace(o,(function(o,i,A,c,d,p){n("xRange",e,o,i,A,c,d,p);var C=isX(A);var S=C||isX(c);var v=S||isX(d);var T=v;if(i==="="&&T){i=""}p=t.includePrerelease?"-0":"";if(C){if(i===">"||i==="<"){o="<0.0.0-0"}else{o="*"}}else if(i&&T){if(S){c=0}d=0;if(i===">"){i=">=";if(S){A=+A+1;c=0;d=0}else{c=+c+1;d=0}}else if(i==="<="){i="<";if(S){A=+A+1}else{c=+c+1}}o=i+A+"."+c+"."+d+p}else if(S){o=">="+A+".0.0"+p+" <"+(+A+1)+".0.0"+p}else if(v){o=">="+A+"."+c+".0"+p+" <"+A+"."+(+c+1)+".0"+p}n("xRange return",o);return o}))}function replaceStars(e,t){n("replaceStars",e,t);return e.trim().replace(p[S.STAR],"")}function hyphenReplace(e,t,n,o,i,A,c,d,p,C,S,v,T){if(isX(n)){t=""}else if(isX(o)){t=">="+n+".0.0"}else if(isX(i)){t=">="+n+"."+o+".0"}else{t=">="+t}if(isX(p)){d=""}else if(isX(C)){d="<"+(+p+1)+".0.0"}else if(isX(S)){d="<"+p+"."+(+C+1)+".0"}else if(v){d="<="+p+"."+C+"."+S+"-"+v}else{d="<="+d}return(t+" "+d).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}for(var t=0;t0){var A=e[i].semver;if(A.major===t.major&&A.minor===t.minor&&A.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,n){try{t=new Range(t,n)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,n){var o=null;var i=null;try{var A=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(A.test(e)){if(!o||i.compare(e)===-1){o=e;i=new SemVer(o,n)}}}));return o}t.minSatisfying=minSatisfying;function minSatisfying(e,t,n){var o=null;var i=null;try{var A=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(A.test(e)){if(!o||i.compare(e)===1){o=e;i=new SemVer(o,n)}}}));return o}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var n=new SemVer("0.0.0");if(e.test(n)){return n}n=new SemVer("0.0.0-0");if(e.test(n)){return n}n=null;for(var o=0;o":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!n||gt(n,t)){n=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n)){return n}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,n){return outside(e,t,"<",n)}t.gtr=gtr;function gtr(e,t,n){return outside(e,t,">",n)}t.outside=outside;function outside(e,t,n,o){e=new SemVer(e,o);t=new Range(t,o);var i,A,c,d,p;switch(n){case">":i=gt;A=lte;c=lt;d=">";p=">=";break;case"<":i=lt;A=gte;c=gt;d="<";p="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,o)){return false}for(var C=0;C=0.0.0")}v=v||e;T=T||e;if(i(e.semver,v.semver,o)){v=e}else if(c(e.semver,T.semver,o)){T=e}}));if(v.operator===d||v.operator===p){return false}if((!T.operator||T.operator===d)&&A(e,T.semver)){return false}else if(T.operator===p&&c(e,T.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var n=parse(e,t);return n&&n.prerelease.length?n.prerelease:null}t.intersects=intersects;function intersects(e,t,n){e=new Range(e,n);t=new Range(t,n);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};var n=null;if(!t.rtl){n=e.match(p[S.COERCE])}else{var o;while((o=p[S.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length)){if(!n||o.index+o[0].length!==n.index+n[0].length){n=o}p[S.COERCERTL].lastIndex=o.index+o[1].length+o[2].length}p[S.COERCERTL].lastIndex=-1}if(n===null){return null}return parse(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},21450:(e,t,n)=>{const o=n(70857);const i=n(52018);const A=n(83813);const{env:c}=process;let d;if(A("no-color")||A("no-colors")||A("color=false")||A("color=never")){d=0}else if(A("color")||A("colors")||A("color=true")||A("color=always")){d=1}if("FORCE_COLOR"in c){if(c.FORCE_COLOR==="true"){d=1}else if(c.FORCE_COLOR==="false"){d=0}else{d=c.FORCE_COLOR.length===0?1:Math.min(parseInt(c.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(d===0){return 0}if(A("color=16m")||A("color=full")||A("color=truecolor")){return 3}if(A("color=256")){return 2}if(e&&!t&&d===undefined){return 0}const n=d||0;if(c.TERM==="dumb"){return n}if(process.platform==="win32"){const e=o.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in c){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in c))||c.CI_NAME==="codeship"){return 1}return n}if("TEAMCITY_VERSION"in c){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION)?1:0}if(c.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in c){const e=parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(c.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)){return 1}if("COLORTERM"in c){return 1}return n}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,i.isatty(1))),stderr:translateLevel(supportsColor(true,i.isatty(2)))}},61860:e=>{var t;var n;var o;var i;var A;var c;var d;var p;var C;var S;var v;var T;var _;var V;var Z;var ee;var te;var re;var ne;var oe;var ie;var se;var ae;var Ae;var ce;var le;var ue;var de;var pe;var ge;var me;var he;(function(t){var n=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(n,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(n,createExporter(e.exports)))}else{t(createExporter(n))}function createExporter(e,t){if(e!==n){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(n,o){return e[n]=t?t(n,o):o}}})((function(e){var fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");fe(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=0;d--)if(c=e[d])A=(i<3?c(A):i>3?c(t,n,A):c(t,n))||A;return i>3&&A&&Object.defineProperty(t,n,A),A};A=function(e,t){return function(n,o){t(n,o,e)}};c=function(e,t,n,o,i,A){function accept(e){if(e!==void 0&&typeof e!=="function")throw new TypeError("Function expected");return e}var c=o.kind,d=c==="getter"?"get":c==="setter"?"set":"value";var p=!t&&e?o["static"]?e:e.prototype:null;var C=t||(p?Object.getOwnPropertyDescriptor(p,o.name):{});var S,v=false;for(var T=n.length-1;T>=0;T--){var _={};for(var V in o)_[V]=V==="access"?{}:o[V];for(var V in o.access)_.access[V]=o.access[V];_.addInitializer=function(e){if(v)throw new TypeError("Cannot add initializers after decoration has completed");A.push(accept(e||null))};var Z=(0,n[T])(c==="accessor"?{get:C.get,set:C.set}:C[d],_);if(c==="accessor"){if(Z===void 0)continue;if(Z===null||typeof Z!=="object")throw new TypeError("Object expected");if(S=accept(Z.get))C.get=S;if(S=accept(Z.set))C.set=S;if(S=accept(Z.init))i.unshift(S)}else if(S=accept(Z)){if(c==="field")i.unshift(S);else C[d]=S}}if(p)Object.defineProperty(p,o.name,C);v=true};d=function(e,t,n){var o=arguments.length>2;for(var i=0;i0&&A[A.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!A||d[1]>A[0]&&d[1]=e.length)e=void 0;return{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Z=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,A=[],c;try{while((t===void 0||t-- >0)&&!(i=o.next()).done)A.push(i.value)}catch(e){c={error:e}}finally{try{if(i&&!i.done&&(n=o["return"]))n.call(o)}finally{if(c)throw c.error}}return A};ee=function(){for(var e=[],t=0;t1||resume(e,t)}))};if(t)i[e]=t(i[e])}}function resume(e,t){try{step(o[e](t))}catch(e){settle(A[0][3],e)}}function step(e){e.value instanceof ne?Promise.resolve(e.value.v).then(fulfill,reject):settle(A[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),A.shift(),A.length)resume(A[0][0],A[0][1])}};ie=function(e){var t,n;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(o,i){t[o]=e[o]?function(t){return(n=!n)?{value:ne(e[o](t)),done:false}:i?i(t):t}:i}};se=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof V==="function"?V(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(o,i){n=e[t](n),settle(o,i,n.done,n.value)}))}}function settle(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}};ae=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var ye=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t};var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};Ae=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),o=0;o{e.exports=n(20218)},20218:(e,t,n)=>{var o=n(69278);var i=n(64756);var A=n(58611);var c=n(65692);var d=n(24434);var p=n(42613);var C=n(39023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=A.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=A.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=c.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=c.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||A.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,n,o,i){var A=toOptions(n,o,i);for(var c=0,d=t.requests.length;c=this.maxSockets){i.requests.push(A);return}i.createSocket(A,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){i.emit("free",t,A)}function onCloseOrRemove(e){i.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var n=this;var o={};n.sockets.push(o);var i=mergeOptions({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){i.localAddress=e.localAddress}if(i.proxyAuth){i.headers=i.headers||{};i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")}S("making CONNECT request");var A=n.request(i);A.useChunkedEncodingByDefault=false;A.once("response",onResponse);A.once("upgrade",onUpgrade);A.once("connect",onConnect);A.once("error",onError);A.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,n){process.nextTick((function(){onConnect(e,t,n)}))}function onConnect(i,c,d){A.removeAllListeners();c.removeAllListeners();if(i.statusCode!==200){S("tunneling socket could not be established, statusCode=%d",i.statusCode);c.destroy();var p=new Error("tunneling socket could not be established, "+"statusCode="+i.statusCode);p.code="ECONNRESET";e.request.emit("error",p);n.removeSocket(o);return}if(d.length>0){S("got illegal response body from proxy");c.destroy();var p=new Error("got illegal response body from proxy");p.code="ECONNRESET";e.request.emit("error",p);n.removeSocket(o);return}S("tunneling connection has established");n.sockets[n.sockets.indexOf(o)]=c;return t(c)}function onError(t){A.removeAllListeners();S("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var i=new Error("tunneling socket could not be established, "+"cause="+t.message);i.code="ECONNRESET";e.request.emit("error",i);n.removeSocket(o)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var n=this.requests.shift();if(n){this.createSocket(n,(function(e){n.request.onSocket(e)}))}};function createSecureSocket(e,t){var n=this;TunnelingAgent.prototype.createSocket.call(n,e,(function(o){var A=e.request.getHeader("host");var c=mergeOptions({},n.options,{socket:o,servername:A?A.replace(/:.*$/,""):e.host});var d=i.connect(0,c);n.sockets[n.sockets.indexOf(o)]=d;t(d)}))}function toOptions(e,t,n){if(typeof e==="string"){return{host:e,port:t,localAddress:n}}return e}function mergeOptions(e){for(var t=1,n=arguments.length;t{const o=n(86197);const i=n(28611);const A=n(68707);const c=n(35076);const d=n(81093);const p=n(59965);const C=n(3440);const{InvalidArgumentError:S}=A;const v=n(56615);const T=n(59136);const _=n(47365);const V=n(47501);const Z=n(94004);const ee=n(52429);const te=n(22720);const re=n(53573);const{getGlobalDispatcher:ne,setGlobalDispatcher:oe}=n(32581);const ie=n(78840);const se=n(48299);const ae=n(64415);let Ae;try{n(76982);Ae=true}catch{Ae=false}Object.assign(i.prototype,v);e.exports.Dispatcher=i;e.exports.Client=o;e.exports.Pool=c;e.exports.BalancedPool=d;e.exports.Agent=p;e.exports.ProxyAgent=te;e.exports.RetryHandler=re;e.exports.DecoratorHandler=ie;e.exports.RedirectHandler=se;e.exports.createRedirectInterceptor=ae;e.exports.buildConnector=T;e.exports.errors=A;function makeDispatcher(e){return(t,n,o)=>{if(typeof n==="function"){o=n;n=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new S("invalid url")}if(n!=null&&typeof n!=="object"){throw new S("invalid opts")}if(n&&n.path!=null){if(typeof n.path!=="string"){throw new S("invalid opts.path")}let e=n.path;if(!n.path.startsWith("/")){e=`/${e}`}t=new URL(C.parseOrigin(t).origin+e)}else{if(!n){n=typeof t==="object"?t:{}}t=C.parseURL(t)}const{agent:i,dispatcher:A=ne()}=n;if(i){throw new S("unsupported opts.agent. Did you mean opts.client?")}return e.call(A,{...n,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:n.method||(n.body?"PUT":"GET")},o)}}e.exports.setGlobalDispatcher=oe;e.exports.getGlobalDispatcher=ne;if(C.nodeMajor>16||C.nodeMajor===16&&C.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=n(12315).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=n(26349).Headers;e.exports.Response=n(48676).Response;e.exports.Request=n(25194).Request;e.exports.FormData=n(43073).FormData;e.exports.File=n(63041).File;e.exports.FileReader=n(82160).FileReader;const{setGlobalOrigin:o,getGlobalOrigin:i}=n(75628);e.exports.setGlobalOrigin=o;e.exports.getGlobalOrigin=i;const{CacheStorage:A}=n(44738);const{kConstruct:c}=n(80296);e.exports.caches=new A(c)}if(C.nodeMajor>=16){const{deleteCookie:t,getCookies:o,getSetCookies:i,setCookie:A}=n(53168);e.exports.deleteCookie=t;e.exports.getCookies=o;e.exports.getSetCookies=i;e.exports.setCookie=A;const{parseMIMEType:c,serializeAMimeType:d}=n(94322);e.exports.parseMIMEType=c;e.exports.serializeAMimeType=d}if(C.nodeMajor>=18&&Ae){const{WebSocket:t}=n(55171);e.exports.WebSocket=t}e.exports.request=makeDispatcher(v.request);e.exports.stream=makeDispatcher(v.stream);e.exports.pipeline=makeDispatcher(v.pipeline);e.exports.connect=makeDispatcher(v.connect);e.exports.upgrade=makeDispatcher(v.upgrade);e.exports.MockClient=_;e.exports.MockPool=Z;e.exports.MockAgent=V;e.exports.mockErrors=ee},59965:(e,t,n)=>{const{InvalidArgumentError:o}=n(68707);const{kClients:i,kRunning:A,kClose:c,kDestroy:d,kDispatch:p,kInterceptors:C}=n(36443);const S=n(50001);const v=n(35076);const T=n(86197);const _=n(3440);const V=n(64415);const{WeakRef:Z,FinalizationRegistry:ee}=n(13194)();const te=Symbol("onConnect");const re=Symbol("onDisconnect");const ne=Symbol("onConnectionError");const oe=Symbol("maxRedirections");const ie=Symbol("onDrain");const se=Symbol("factory");const ae=Symbol("finalizer");const Ae=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new T(e,t):new v(e,t)}class Agent extends S{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:n,...A}={}){super();if(typeof e!=="function"){throw new o("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new o("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new o("maxRedirections must be a positive number")}if(n&&typeof n!=="function"){n={...n}}this[C]=A.interceptors&&A.interceptors.Agent&&Array.isArray(A.interceptors.Agent)?A.interceptors.Agent:[V({maxRedirections:t})];this[Ae]={..._.deepClone(A),connect:n};this[Ae].interceptors=A.interceptors?{...A.interceptors}:undefined;this[oe]=t;this[se]=e;this[i]=new Map;this[ae]=new ee((e=>{const t=this[i].get(e);if(t!==undefined&&t.deref()===undefined){this[i].delete(e)}}));const c=this;this[ie]=(e,t)=>{c.emit("drain",e,[c,...t])};this[te]=(e,t)=>{c.emit("connect",e,[c,...t])};this[re]=(e,t,n)=>{c.emit("disconnect",e,[c,...t],n)};this[ne]=(e,t,n)=>{c.emit("connectionError",e,[c,...t],n)}}get[A](){let e=0;for(const t of this[i].values()){const n=t.deref();if(n){e+=n[A]}}return e}[p](e,t){let n;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){n=String(e.origin)}else{throw new o("opts.origin must be a non-empty string or URL.")}const A=this[i].get(n);let c=A?A.deref():null;if(!c){c=this[se](e.origin,this[Ae]).on("drain",this[ie]).on("connect",this[te]).on("disconnect",this[re]).on("connectionError",this[ne]);this[i].set(n,new Z(c));this[ae].register(c,n)}return c.dispatch(e,t)}async[c](){const e=[];for(const t of this[i].values()){const n=t.deref();if(n){e.push(n.close())}}await Promise.all(e)}async[d](e){const t=[];for(const n of this[i].values()){const o=n.deref();if(o){t.push(o.destroy(e))}}await Promise.all(t)}}e.exports=Agent},80158:(e,t,n)=>{const{addAbortListener:o}=n(3440);const{RequestAbortedError:i}=n(68707);const A=Symbol("kListener");const c=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new i)}}function addSignal(e,t){e[c]=null;e[A]=null;if(!t){return}if(t.aborted){abort(e);return}e[c]=t;e[A]=()=>{abort(e)};o(e[c],e[A])}function removeSignal(e){if(!e[c]){return}if("removeEventListener"in e[c]){e[c].removeEventListener("abort",e[A])}else{e[c].removeListener("abort",e[A])}e[c]=null;e[A]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},34660:(e,t,n)=>{const{AsyncResource:o}=n(90290);const{InvalidArgumentError:i,RequestAbortedError:A,SocketError:c}=n(68707);const d=n(3440);const{addSignal:p,removeSignal:C}=n(80158);class ConnectHandler extends o{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid callback")}const{signal:n,opaque:o,responseHeaders:A}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=o||null;this.responseHeaders=A||null;this.callback=t;this.abort=null;p(this,n)}onConnect(e,t){if(!this.callback){throw new A}this.abort=e;this.context=t}onHeaders(){throw new c("bad connect",null)}onUpgrade(e,t,n){const{callback:o,opaque:i,context:A}=this;C(this);this.callback=null;let c=t;if(c!=null){c=this.responseHeaders==="raw"?d.parseRawHeaders(t):d.parseHeaders(t)}this.runInAsyncScope(o,null,null,{statusCode:e,headers:c,socket:n,opaque:i,context:A})}onError(e){const{callback:t,opaque:n}=this;C(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,n)=>{connect.call(this,e,((e,o)=>e?n(e):t(o)))}))}try{const n=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},n)}catch(n){if(typeof t!=="function"){throw n}const o=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:o})))}}e.exports=connect},76862:(e,t,n)=>{const{Readable:o,Duplex:i,PassThrough:A}=n(2203);const{InvalidArgumentError:c,InvalidReturnValueError:d,RequestAbortedError:p}=n(68707);const C=n(3440);const{AsyncResource:S}=n(90290);const{addSignal:v,removeSignal:T}=n(80158);const _=n(42613);const V=Symbol("resume");class PipelineRequest extends o{constructor(){super({autoDestroy:true});this[V]=null}_read(){const{[V]:e}=this;if(e){this[V]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends o{constructor(e){super({autoDestroy:true});this[V]=e}_read(){this[V]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new p}t(e)}}class PipelineHandler extends S{constructor(e,t){if(!e||typeof e!=="object"){throw new c("invalid opts")}if(typeof t!=="function"){throw new c("invalid handler")}const{signal:n,method:o,opaque:A,onInfo:d,responseHeaders:S}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new c("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new c("invalid method")}if(d&&typeof d!=="function"){throw new c("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=A||null;this.responseHeaders=S||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=d||null;this.req=(new PipelineRequest).on("error",C.nop);this.ret=new i({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,n)=>{const{req:o}=this;if(o.push(e,t)||o._readableState.destroyed){n()}else{o[V]=n}},destroy:(e,t)=>{const{body:n,req:o,res:i,ret:A,abort:c}=this;if(!e&&!A._readableState.endEmitted){e=new p}if(c&&e){c()}C.destroy(n,e);C.destroy(o,e);C.destroy(i,e);T(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;v(this,n)}onConnect(e,t){const{ret:n,res:o}=this;_(!o,"pipeline cannot be retried");if(n.destroyed){throw new p}this.abort=e;this.context=t}onHeaders(e,t,n){const{opaque:o,handler:i,context:A}=this;if(e<200){if(this.onInfo){const n=this.responseHeaders==="raw"?C.parseRawHeaders(t):C.parseHeaders(t);this.onInfo({statusCode:e,headers:n})}return}this.res=new PipelineResponse(n);let c;try{this.handler=null;const n=this.responseHeaders==="raw"?C.parseRawHeaders(t):C.parseHeaders(t);c=this.runInAsyncScope(i,null,{statusCode:e,headers:n,opaque:o,body:this.res,context:A})}catch(e){this.res.on("error",C.nop);throw e}if(!c||typeof c.on!=="function"){throw new d("expected Readable")}c.on("data",(e=>{const{ret:t,body:n}=this;if(!t.push(e)&&n.pause){n.pause()}})).on("error",(e=>{const{ret:t}=this;C.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){C.destroy(e,new p)}}));this.body=c}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;C.destroy(t,e)}}function pipeline(e,t){try{const n=new PipelineHandler(e,t);this.dispatch({...e,body:n.req},n);return n.ret}catch(e){return(new A).destroy(e)}}e.exports=pipeline},14043:(e,t,n)=>{const o=n(49927);const{InvalidArgumentError:i,RequestAbortedError:A}=n(68707);const c=n(3440);const{getResolveErrorBodyCallback:d}=n(87655);const{AsyncResource:p}=n(90290);const{addSignal:C,removeSignal:S}=n(80158);class RequestHandler extends p{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}const{signal:n,method:o,opaque:A,body:d,onInfo:p,responseHeaders:S,throwOnError:v,highWaterMark:T}=e;try{if(typeof t!=="function"){throw new i("invalid callback")}if(T&&(typeof T!=="number"||T<0)){throw new i("invalid highWaterMark")}if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new i("invalid method")}if(p&&typeof p!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(c.isStream(d)){c.destroy(d.on("error",c.nop),e)}throw e}this.responseHeaders=S||null;this.opaque=A||null;this.callback=t;this.res=null;this.abort=null;this.body=d;this.trailers={};this.context=null;this.onInfo=p||null;this.throwOnError=v;this.highWaterMark=T;if(c.isStream(d)){d.on("error",(e=>{this.onError(e)}))}C(this,n)}onConnect(e,t){if(!this.callback){throw new A}this.abort=e;this.context=t}onHeaders(e,t,n,i){const{callback:A,opaque:p,abort:C,context:S,responseHeaders:v,highWaterMark:T}=this;const _=v==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:_})}return}const V=v==="raw"?c.parseHeaders(t):_;const Z=V["content-type"];const ee=new o({resume:n,abort:C,contentType:Z,highWaterMark:T});this.callback=null;this.res=ee;if(A!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(d,null,{callback:A,body:ee,contentType:Z,statusCode:e,statusMessage:i,headers:_})}else{this.runInAsyncScope(A,null,null,{statusCode:e,headers:_,trailers:this.trailers,opaque:p,body:ee,context:S})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;S(this);c.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:n,body:o,opaque:i}=this;S(this);if(n){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(n,null,e,{opaque:i})}))}if(t){this.res=null;queueMicrotask((()=>{c.destroy(t,e)}))}if(o){this.body=null;c.destroy(o,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,n)=>{request.call(this,e,((e,o)=>e?n(e):t(o)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(n){if(typeof t!=="function"){throw n}const o=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:o})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,t,n)=>{const{finished:o,PassThrough:i}=n(2203);const{InvalidArgumentError:A,InvalidReturnValueError:c,RequestAbortedError:d}=n(68707);const p=n(3440);const{getResolveErrorBodyCallback:C}=n(87655);const{AsyncResource:S}=n(90290);const{addSignal:v,removeSignal:T}=n(80158);class StreamHandler extends S{constructor(e,t,n){if(!e||typeof e!=="object"){throw new A("invalid opts")}const{signal:o,method:i,opaque:c,body:d,onInfo:C,responseHeaders:S,throwOnError:T}=e;try{if(typeof n!=="function"){throw new A("invalid callback")}if(typeof t!=="function"){throw new A("invalid factory")}if(o&&typeof o.on!=="function"&&typeof o.addEventListener!=="function"){throw new A("signal must be an EventEmitter or EventTarget")}if(i==="CONNECT"){throw new A("invalid method")}if(C&&typeof C!=="function"){throw new A("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(p.isStream(d)){p.destroy(d.on("error",p.nop),e)}throw e}this.responseHeaders=S||null;this.opaque=c||null;this.factory=t;this.callback=n;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=d;this.onInfo=C||null;this.throwOnError=T||false;if(p.isStream(d)){d.on("error",(e=>{this.onError(e)}))}v(this,o)}onConnect(e,t){if(!this.callback){throw new d}this.abort=e;this.context=t}onHeaders(e,t,n,A){const{factory:d,opaque:S,context:v,callback:T,responseHeaders:_}=this;const V=_==="raw"?p.parseRawHeaders(t):p.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:V})}return}this.factory=null;let Z;if(this.throwOnError&&e>=400){const n=_==="raw"?p.parseHeaders(t):V;const o=n["content-type"];Z=new i;this.callback=null;this.runInAsyncScope(C,null,{callback:T,body:Z,contentType:o,statusCode:e,statusMessage:A,headers:V})}else{if(d===null){return}Z=this.runInAsyncScope(d,null,{statusCode:e,headers:V,opaque:S,context:v});if(!Z||typeof Z.write!=="function"||typeof Z.end!=="function"||typeof Z.on!=="function"){throw new c("expected Writable")}o(Z,{readable:false},(e=>{const{callback:t,res:n,opaque:o,trailers:i,abort:A}=this;this.res=null;if(e||!n.readable){p.destroy(n,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:o,trailers:i});if(e){A()}}))}Z.on("drain",n);this.res=Z;const ee=Z.writableNeedDrain!==undefined?Z.writableNeedDrain:Z._writableState&&Z._writableState.needDrain;return ee!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;T(this);if(!t){return}this.trailers=p.parseHeaders(e);t.end()}onError(e){const{res:t,callback:n,opaque:o,body:i}=this;T(this);this.factory=null;if(t){this.res=null;p.destroy(t,e)}else if(n){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(n,null,e,{opaque:o})}))}if(i){this.body=null;p.destroy(i,e)}}}function stream(e,t,n){if(n===undefined){return new Promise(((n,o)=>{stream.call(this,e,t,((e,t)=>e?o(e):n(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,n))}catch(t){if(typeof n!=="function"){throw t}const o=e&&e.opaque;queueMicrotask((()=>n(t,{opaque:o})))}}e.exports=stream},61882:(e,t,n)=>{const{InvalidArgumentError:o,RequestAbortedError:i,SocketError:A}=n(68707);const{AsyncResource:c}=n(90290);const d=n(3440);const{addSignal:p,removeSignal:C}=n(80158);const S=n(42613);class UpgradeHandler extends c{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid callback")}const{signal:n,opaque:i,responseHeaders:A}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=A||null;this.opaque=i||null;this.callback=t;this.abort=null;this.context=null;p(this,n)}onConnect(e,t){if(!this.callback){throw new i}this.abort=e;this.context=null}onHeaders(){throw new A("bad upgrade",null)}onUpgrade(e,t,n){const{callback:o,opaque:i,context:A}=this;S.strictEqual(e,101);C(this);this.callback=null;const c=this.responseHeaders==="raw"?d.parseRawHeaders(t):d.parseHeaders(t);this.runInAsyncScope(o,null,null,{headers:c,socket:n,opaque:i,context:A})}onError(e){const{callback:t,opaque:n}=this;C(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,n)=>{upgrade.call(this,e,((e,o)=>e?n(e):t(o)))}))}try{const n=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},n)}catch(n){if(typeof t!=="function"){throw n}const o=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:o})))}}e.exports=upgrade},56615:(e,t,n)=>{e.exports.request=n(14043);e.exports.stream=n(3560);e.exports.pipeline=n(76862);e.exports.upgrade=n(61882);e.exports.connect=n(34660)},49927:(e,t,n)=>{const o=n(42613);const{Readable:i}=n(2203);const{RequestAbortedError:A,NotSupportedError:c,InvalidArgumentError:d}=n(68707);const p=n(3440);const{ReadableStreamFrom:C,toUSVString:S}=n(3440);let v;const T=Symbol("kConsume");const _=Symbol("kReading");const V=Symbol("kBody");const Z=Symbol("abort");const ee=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends i{constructor({resume:e,abort:t,contentType:n="",highWaterMark:o=64*1024}){super({autoDestroy:true,read:e,highWaterMark:o});this._readableState.dataEmitted=false;this[Z]=t;this[T]=null;this[V]=null;this[ee]=n;this[_]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new A}if(e){this[Z]()}return super.destroy(e)}emit(e,...t){if(e==="data"){this._readableState.dataEmitted=true}else if(e==="error"){this._readableState.errorEmitted=true}return super.emit(e,...t)}on(e,...t){if(e==="data"||e==="readable"){this[_]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const n=super.off(e,...t);if(e==="data"||e==="readable"){this[_]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return n}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[T]&&e!==null&&this.readableLength===0){consumePush(this[T],e);return this[_]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new c}get bodyUsed(){return p.isDisturbed(this)}get body(){if(!this[V]){this[V]=C(this);if(this[T]){this[V].getReader();o(this[V].locked)}}return this[V]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const n=e&&e.signal;if(n){try{if(typeof n!=="object"||!("aborted"in n)){throw new d("signal must be an AbortSignal")}p.throwIfAborted(n)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,o)=>{const i=n?p.addAbortListener(n,(()=>{this.destroy()})):noop;this.on("close",(function(){i();if(n&&n.aborted){o(n.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}};function isLocked(e){return e[V]&&e[V].locked===true||e[T]}function isUnusable(e){return p.isDisturbed(e)||isLocked(e)}async function consume(e,t){if(isUnusable(e)){throw new TypeError("unusable")}o(!e[T]);return new Promise(((n,o)=>{e[T]={type:t,stream:e,resolve:n,reject:o,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[T],e)})).on("close",(function(){if(this[T].body!==null){consumeFinish(this[T],new A)}}));process.nextTick(consumeStart,e[T])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const n of t.buffer){consumePush(e,n)}if(t.endEmitted){consumeEnd(this[T])}else{e.stream.on("end",(function(){consumeEnd(this[T])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:t,body:o,resolve:i,stream:A,length:c}=e;try{if(t==="text"){i(S(Buffer.concat(o)))}else if(t==="json"){i(JSON.parse(Buffer.concat(o)))}else if(t==="arrayBuffer"){const e=new Uint8Array(c);let t=0;for(const n of o){e.set(n,t);t+=n.byteLength}i(e.buffer)}else if(t==="blob"){if(!v){v=n(20181).Blob}i(new v(o,{type:A[ee]}))}consumeFinish(e)}catch(e){A.destroy(e)}}function consumePush(e,t){e.length+=t.length;e.body.push(t)}function consumeFinish(e,t){if(e.body===null){return}if(t){e.reject(t)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}},87655:(e,t,n)=>{const o=n(42613);const{ResponseStatusCodeError:i}=n(68707);const{toUSVString:A}=n(3440);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:n,statusCode:c,statusMessage:d,headers:p}){o(t);let C=[];let S=0;for await(const e of t){C.push(e);S+=e.length;if(S>128*1024){C=null;break}}if(c===204||!n||!C){process.nextTick(e,new i(`Response status code ${c}${d?`: ${d}`:""}`,c,p));return}try{if(n.startsWith("application/json")){const t=JSON.parse(A(Buffer.concat(C)));process.nextTick(e,new i(`Response status code ${c}${d?`: ${d}`:""}`,c,p,t));return}if(n.startsWith("text/")){const t=A(Buffer.concat(C));process.nextTick(e,new i(`Response status code ${c}${d?`: ${d}`:""}`,c,p,t));return}}catch(e){}process.nextTick(e,new i(`Response status code ${c}${d?`: ${d}`:""}`,c,p))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},81093:(e,t,n)=>{const{BalancedPoolMissingUpstreamError:o,InvalidArgumentError:i}=n(68707);const{PoolBase:A,kClients:c,kNeedDrain:d,kAddClient:p,kRemoveClient:C,kGetDispatcher:S}=n(58640);const v=n(35076);const{kUrl:T,kInterceptors:_}=n(36443);const{parseOrigin:V}=n(3440);const Z=Symbol("factory");const ee=Symbol("options");const te=Symbol("kGreatestCommonDivisor");const re=Symbol("kCurrentWeight");const ne=Symbol("kIndex");const oe=Symbol("kWeight");const ie=Symbol("kMaxWeightPerServer");const se=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(t===0)return e;return getGreatestCommonDivisor(t,e%t)}function defaultFactory(e,t){return new v(e,t)}class BalancedPool extends A{constructor(e=[],{factory:t=defaultFactory,...n}={}){super();this[ee]=n;this[ne]=-1;this[re]=0;this[ie]=this[ee].maxWeightPerServer||100;this[se]=this[ee].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new i("factory must be a function.")}this[_]=n.interceptors&&n.interceptors.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[];this[Z]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=V(e).origin;if(this[c].find((e=>e[T].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const n=this[Z](t,Object.assign({},this[ee]));this[p](n);n.on("connect",(()=>{n[oe]=Math.min(this[ie],n[oe]+this[se])}));n.on("connectionError",(()=>{n[oe]=Math.max(1,n[oe]-this[se]);this._updateBalancedPoolStats()}));n.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){n[oe]=Math.max(1,n[oe]-this[se]);this._updateBalancedPoolStats()}}));for(const e of this[c]){e[oe]=this[ie]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[te]=this[c].map((e=>e[oe])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=V(e).origin;const n=this[c].find((e=>e[T].origin===t&&e.closed!==true&&e.destroyed!==true));if(n){this[C](n)}return this}get upstreams(){return this[c].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[T].origin))}[S](){if(this[c].length===0){throw new o}const e=this[c].find((e=>!e[d]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[c].map((e=>e[d])).reduce(((e,t)=>e&&t),true);if(t){return}let n=0;let i=this[c].findIndex((e=>!e[d]));while(n++this[c][i][oe]&&!e[d]){i=this[ne]}if(this[ne]===0){this[re]=this[re]-this[te];if(this[re]<=0){this[re]=this[ie]}}if(e[oe]>=this[re]&&!e[d]){return e}}this[re]=this[c][i][oe];this[ne]=i;return this[c][i]}}e.exports=BalancedPool},50479:(e,t,n)=>{const{kConstruct:o}=n(80296);const{urlEquals:i,fieldValues:A}=n(23993);const{kEnumerableProperty:c,isDisturbed:d}=n(3440);const{kHeadersList:p}=n(36443);const{webidl:C}=n(74222);const{Response:S,cloneResponse:v}=n(48676);const{Request:T}=n(25194);const{kState:_,kHeaders:V,kGuard:Z,kRealm:ee}=n(89710);const{fetching:te}=n(12315);const{urlIsHttpHttpsScheme:re,createDeferredPromise:ne,readAllBytes:oe}=n(15523);const ie=n(42613);const{getGlobalDispatcher:se}=n(32581);class Cache{#e;constructor(){if(arguments[0]!==o){C.illegalConstructor()}this.#e=arguments[1]}async match(e,t={}){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,1,{header:"Cache.match"});e=C.converters.RequestInfo(e);t=C.converters.CacheQueryOptions(t);const n=await this.matchAll(e,t);if(n.length===0){return}return n[0]}async matchAll(e=undefined,t={}){C.brandCheck(this,Cache);if(e!==undefined)e=C.converters.RequestInfo(e);t=C.converters.CacheQueryOptions(t);let n=null;if(e!==undefined){if(e instanceof T){n=e[_];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new T(e)[_]}}const o=[];if(e===undefined){for(const e of this.#e){o.push(e[1])}}else{const e=this.#t(n,t);for(const t of e){o.push(t[1])}}const i=[];for(const e of o){const t=new S(e.body?.source??null);const n=t[_].body;t[_]=e;t[_].body=n;t[V][p]=e.headersList;t[V][Z]="immutable";i.push(t)}return Object.freeze(i)}async add(e){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=C.converters.RequestInfo(e);const t=[e];const n=this.addAll(t);return await n}async addAll(e){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=C.converters["sequence"](e);const t=[];const n=[];for(const t of e){if(typeof t==="string"){continue}const e=t[_];if(!re(e.url)||e.method!=="GET"){throw C.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const o=[];for(const i of e){const e=new T(i)[_];if(!re(e.url)){throw C.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";n.push(e);const c=ne();o.push(te({request:e,dispatcher:se(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){c.reject(C.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=A(e.headersList.get("vary"));for(const e of t){if(e==="*"){c.reject(C.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of o){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){c.reject(new DOMException("aborted","AbortError"));return}c.resolve(e)}}));t.push(c.promise)}const i=Promise.all(t);const c=await i;const d=[];let p=0;for(const e of c){const t={type:"put",request:n[p],response:e};d.push(t);p++}const S=ne();let v=null;try{this.#r(d)}catch(e){v=e}queueMicrotask((()=>{if(v===null){S.resolve(undefined)}else{S.reject(v)}}));return S.promise}async put(e,t){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=C.converters.RequestInfo(e);t=C.converters.Response(t);let n=null;if(e instanceof T){n=e[_]}else{n=new T(e)[_]}if(!re(n.url)||n.method!=="GET"){throw C.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const o=t[_];if(o.status===206){throw C.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(o.headersList.contains("vary")){const e=A(o.headersList.get("vary"));for(const t of e){if(t==="*"){throw C.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(o.body&&(d(o.body.stream)||o.body.stream.locked)){throw C.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const i=v(o);const c=ne();if(o.body!=null){const e=o.body.stream;const t=e.getReader();oe(t).then(c.resolve,c.reject)}else{c.resolve(undefined)}const p=[];const S={type:"put",request:n,response:i};p.push(S);const V=await c.promise;if(i.body!=null){i.body.source=V}const Z=ne();let ee=null;try{this.#r(p)}catch(e){ee=e}queueMicrotask((()=>{if(ee===null){Z.resolve()}else{Z.reject(ee)}}));return Z.promise}async delete(e,t={}){C.brandCheck(this,Cache);C.argumentLengthCheck(arguments,1,{header:"Cache.delete"});e=C.converters.RequestInfo(e);t=C.converters.CacheQueryOptions(t);let n=null;if(e instanceof T){n=e[_];if(n.method!=="GET"&&!t.ignoreMethod){return false}}else{ie(typeof e==="string");n=new T(e)[_]}const o=[];const i={type:"delete",request:n,options:t};o.push(i);const A=ne();let c=null;let d;try{d=this.#r(o)}catch(e){c=e}queueMicrotask((()=>{if(c===null){A.resolve(!!d?.length)}else{A.reject(c)}}));return A.promise}async keys(e=undefined,t={}){C.brandCheck(this,Cache);if(e!==undefined)e=C.converters.RequestInfo(e);t=C.converters.CacheQueryOptions(t);let n=null;if(e!==undefined){if(e instanceof T){n=e[_];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new T(e)[_]}}const o=ne();const i=[];if(e===undefined){for(const e of this.#e){i.push(e[0])}}else{const e=this.#t(n,t);for(const t of e){i.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of i){const n=new T("https://a");n[_]=t;n[V][p]=t.headersList;n[V][Z]="immutable";n[ee]=t.client;e.push(n)}o.resolve(Object.freeze(e))}));return o.promise}#r(e){const t=this.#e;const n=[...t];const o=[];const i=[];try{for(const n of e){if(n.type!=="delete"&&n.type!=="put"){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(n.type==="delete"&&n.response!=null){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(n.request,n.options,o).length){throw new DOMException("???","InvalidStateError")}let e;if(n.type==="delete"){e=this.#t(n.request,n.options);if(e.length===0){return[]}for(const n of e){const e=t.indexOf(n);ie(e!==-1);t.splice(e,1)}}else if(n.type==="put"){if(n.response==null){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const i=n.request;if(!re(i.url)){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(i.method!=="GET"){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(n.options!=null){throw C.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(n.request);for(const n of e){const e=t.indexOf(n);ie(e!==-1);t.splice(e,1)}t.push([n.request,n.response]);o.push([n.request,n.response])}i.push([n.request,n.response])}return i}catch(e){this.#e.length=0;this.#e=n;throw e}}#t(e,t,n){const o=[];const i=n??this.#e;for(const n of i){const[i,A]=n;if(this.#n(e,i,A,t)){o.push(n)}}return o}#n(e,t,n=null,o){const c=new URL(e.url);const d=new URL(t.url);if(o?.ignoreSearch){d.search="";c.search=""}if(!i(c,d,true)){return false}if(n==null||o?.ignoreVary||!n.headersList.contains("vary")){return true}const p=A(n.headersList.get("vary"));for(const n of p){if(n==="*"){return false}const o=t.headersList.get(n);const i=e.headersList.get(n);if(o!==i){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:c,matchAll:c,add:c,addAll:c,put:c,delete:c,keys:c});const ae=[{key:"ignoreSearch",converter:C.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:C.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:C.converters.boolean,defaultValue:false}];C.converters.CacheQueryOptions=C.dictionaryConverter(ae);C.converters.MultiCacheQueryOptions=C.dictionaryConverter([...ae,{key:"cacheName",converter:C.converters.DOMString}]);C.converters.Response=C.interfaceConverter(S);C.converters["sequence"]=C.sequenceConverter(C.converters.RequestInfo);e.exports={Cache:Cache}},44738:(e,t,n)=>{const{kConstruct:o}=n(80296);const{Cache:i}=n(50479);const{webidl:A}=n(74222);const{kEnumerableProperty:c}=n(3440);class CacheStorage{#o=new Map;constructor(){if(arguments[0]!==o){A.illegalConstructor()}}async match(e,t={}){A.brandCheck(this,CacheStorage);A.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=A.converters.RequestInfo(e);t=A.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#o.has(t.cacheName)){const n=this.#o.get(t.cacheName);const A=new i(o,n);return await A.match(e,t)}}else{for(const n of this.#o.values()){const A=new i(o,n);const c=await A.match(e,t);if(c!==undefined){return c}}}}async has(e){A.brandCheck(this,CacheStorage);A.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=A.converters.DOMString(e);return this.#o.has(e)}async open(e){A.brandCheck(this,CacheStorage);A.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=A.converters.DOMString(e);if(this.#o.has(e)){const t=this.#o.get(e);return new i(o,t)}const t=[];this.#o.set(e,t);return new i(o,t)}async delete(e){A.brandCheck(this,CacheStorage);A.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=A.converters.DOMString(e);return this.#o.delete(e)}async keys(){A.brandCheck(this,CacheStorage);const e=this.#o.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:c,has:c,open:c,delete:c,keys:c});e.exports={CacheStorage:CacheStorage}},80296:(e,t,n)=>{e.exports={kConstruct:n(36443).kConstruct}},23993:(e,t,n)=>{const o=n(42613);const{URLSerializer:i}=n(94322);const{isValidHeaderName:A}=n(15523);function urlEquals(e,t,n=false){const o=i(e,n);const A=i(t,n);return o===A}function fieldValues(e){o(e!==null);const t=[];for(let n of e.split(",")){n=n.trim();if(!n.length){continue}else if(!A(n)){continue}t.push(n)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},86197:(e,t,n)=>{const o=n(42613);const i=n(69278);const A=n(58611);const{pipeline:c}=n(2203);const d=n(3440);const p=n(28804);const C=n(44655);const S=n(50001);const{RequestContentLengthMismatchError:v,ResponseContentLengthMismatchError:T,InvalidArgumentError:_,RequestAbortedError:V,HeadersTimeoutError:Z,HeadersOverflowError:ee,SocketError:te,InformationalError:re,BodyTimeoutError:ne,HTTPParserError:oe,ResponseExceededMaxSizeError:ie,ClientDestroyedError:se}=n(68707);const ae=n(59136);const{kUrl:Ae,kReset:ce,kServerName:le,kClient:ue,kBusy:de,kParser:pe,kConnect:ge,kBlocking:me,kResuming:he,kRunning:fe,kPending:ye,kSize:Ce,kWriting:Ee,kQueue:Be,kConnected:Ie,kConnecting:be,kNeedDrain:Qe,kNoRef:Se,kKeepAliveDefaultTimeout:Ne,kHostHeader:Re,kPendingIdx:we,kRunningIdx:ve,kError:xe,kPipelining:Pe,kSocket:De,kKeepAliveTimeoutValue:ke,kMaxHeadersSize:Te,kKeepAliveMaxTimeout:Oe,kKeepAliveTimeoutThreshold:Me,kHeadersTimeout:Le,kBodyTimeout:Fe,kStrictContentLength:Ue,kConnector:_e,kMaxRedirections:He,kMaxRequests:qe,kCounter:ze,kClose:Ve,kDestroy:Ge,kDispatch:je,kInterceptors:Ye,kLocalAddress:Je,kMaxResponseSize:We,kHTTPConnVersion:Ke,kHost:$e,kHTTP2Session:Xe,kHTTP2SessionState:Ze,kHTTP2BuildRequest:at,kHTTP2CopyHeaders:At,kHTTP1BuildRequest:ct}=n(36443);let pt;try{pt=n(85675)}catch{pt={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:mt,HTTP2_HEADER_METHOD:ft,HTTP2_HEADER_PATH:yt,HTTP2_HEADER_SCHEME:Ct,HTTP2_HEADER_CONTENT_LENGTH:Et,HTTP2_HEADER_EXPECT:Bt,HTTP2_HEADER_STATUS:It}}=pt;let bt=false;const Qt=Buffer[Symbol.species];const St=Symbol("kClosedResolve");const Nt={};try{const e=n(31637);Nt.sendHeaders=e.channel("undici:client:sendHeaders");Nt.beforeConnect=e.channel("undici:client:beforeConnect");Nt.connectError=e.channel("undici:client:connectError");Nt.connected=e.channel("undici:client:connected")}catch{Nt.sendHeaders={hasSubscribers:false};Nt.beforeConnect={hasSubscribers:false};Nt.connectError={hasSubscribers:false};Nt.connected={hasSubscribers:false}}class Client extends S{constructor(e,{interceptors:t,maxHeaderSize:n,headersTimeout:o,socketTimeout:c,requestTimeout:p,connectTimeout:C,bodyTimeout:S,idleTimeout:v,keepAlive:T,keepAliveTimeout:V,maxKeepAliveTimeout:Z,keepAliveMaxTimeout:ee,keepAliveTimeoutThreshold:te,socketPath:re,pipelining:ne,tls:oe,strictContentLength:ie,maxCachedSessions:se,maxRedirections:ce,connect:ue,maxRequestsPerClient:de,localAddress:pe,maxResponseSize:ge,autoSelectFamily:me,autoSelectFamilyAttemptTimeout:fe,allowH2:ye,maxConcurrentStreams:Ce}={}){super();if(T!==undefined){throw new _("unsupported keepAlive, use pipelining=0 instead")}if(c!==undefined){throw new _("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(p!==undefined){throw new _("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(v!==undefined){throw new _("unsupported idleTimeout, use keepAliveTimeout instead")}if(Z!==undefined){throw new _("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(n!=null&&!Number.isFinite(n)){throw new _("invalid maxHeaderSize")}if(re!=null&&typeof re!=="string"){throw new _("invalid socketPath")}if(C!=null&&(!Number.isFinite(C)||C<0)){throw new _("invalid connectTimeout")}if(V!=null&&(!Number.isFinite(V)||V<=0)){throw new _("invalid keepAliveTimeout")}if(ee!=null&&(!Number.isFinite(ee)||ee<=0)){throw new _("invalid keepAliveMaxTimeout")}if(te!=null&&!Number.isFinite(te)){throw new _("invalid keepAliveTimeoutThreshold")}if(o!=null&&(!Number.isInteger(o)||o<0)){throw new _("headersTimeout must be a positive integer or zero")}if(S!=null&&(!Number.isInteger(S)||S<0)){throw new _("bodyTimeout must be a positive integer or zero")}if(ue!=null&&typeof ue!=="function"&&typeof ue!=="object"){throw new _("connect must be a function or an object")}if(ce!=null&&(!Number.isInteger(ce)||ce<0)){throw new _("maxRedirections must be a positive number")}if(de!=null&&(!Number.isInteger(de)||de<0)){throw new _("maxRequestsPerClient must be a positive number")}if(pe!=null&&(typeof pe!=="string"||i.isIP(pe)===0)){throw new _("localAddress must be valid string IP address")}if(ge!=null&&(!Number.isInteger(ge)||ge<-1)){throw new _("maxResponseSize must be a positive number")}if(fe!=null&&(!Number.isInteger(fe)||fe<-1)){throw new _("autoSelectFamilyAttemptTimeout must be a positive number")}if(ye!=null&&typeof ye!=="boolean"){throw new _("allowH2 must be a valid boolean value")}if(Ce!=null&&(typeof Ce!=="number"||Ce<1)){throw new _("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof ue!=="function"){ue=ae({...oe,maxCachedSessions:se,allowH2:ye,socketPath:re,timeout:C,...d.nodeHasAutoSelectFamily&&me?{autoSelectFamily:me,autoSelectFamilyAttemptTimeout:fe}:undefined,...ue})}this[Ye]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[wt({maxRedirections:ce})];this[Ae]=d.parseOrigin(e);this[_e]=ue;this[De]=null;this[Pe]=ne!=null?ne:1;this[Te]=n||A.maxHeaderSize;this[Ne]=V==null?4e3:V;this[Oe]=ee==null?6e5:ee;this[Me]=te==null?1e3:te;this[ke]=this[Ne];this[le]=null;this[Je]=pe!=null?pe:null;this[he]=0;this[Qe]=0;this[Re]=`host: ${this[Ae].hostname}${this[Ae].port?`:${this[Ae].port}`:""}\r\n`;this[Fe]=S!=null?S:3e5;this[Le]=o!=null?o:3e5;this[Ue]=ie==null?true:ie;this[He]=ce;this[qe]=de;this[St]=null;this[We]=ge>-1?ge:-1;this[Ke]="h1";this[Xe]=null;this[Ze]=!ye?null:{openStreams:0,maxConcurrentStreams:Ce!=null?Ce:100};this[$e]=`${this[Ae].hostname}${this[Ae].port?`:${this[Ae].port}`:""}`;this[Be]=[];this[ve]=0;this[we]=0}get pipelining(){return this[Pe]}set pipelining(e){this[Pe]=e;resume(this,true)}get[ye](){return this[Be].length-this[we]}get[fe](){return this[we]-this[ve]}get[Ce](){return this[Be].length-this[ve]}get[Ie](){return!!this[De]&&!this[be]&&!this[De].destroyed}get[de](){const e=this[De];return e&&(e[ce]||e[Ee]||e[me])||this[Ce]>=(this[Pe]||1)||this[ye]>0}[ge](e){connect(this);this.once("connect",e)}[je](e,t){const n=e.origin||this[Ae].origin;const o=this[Ke]==="h2"?C[at](n,e,t):C[ct](n,e,t);this[Be].push(o);if(this[he]){}else if(d.bodyLength(o.body)==null&&d.isIterable(o.body)){this[he]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[he]&&this[Qe]!==2&&this[de]){this[Qe]=2}return this[Qe]<2}async[Ve](){return new Promise((e=>{if(!this[Ce]){e(null)}else{this[St]=e}}))}async[Ge](e){return new Promise((t=>{const n=this[Be].splice(this[we]);for(let t=0;t{if(this[St]){this[St]();this[St]=null}t()};if(this[Xe]!=null){d.destroy(this[Xe],e);this[Xe]=null;this[Ze]=null}if(!this[De]){queueMicrotask(callback)}else{d.destroy(this[De].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){o(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[De][xe]=e;onError(this[ue],e)}function onHttp2FrameError(e,t,n){const o=new re(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(n===0){this[De][xe]=o;onError(this[ue],o)}}function onHttp2SessionEnd(){d.destroy(this,new te("other side closed"));d.destroy(this[De],new te("other side closed"))}function onHTTP2GoAway(e){const t=this[ue];const n=new re(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[De]=null;t[Xe]=null;if(t.destroyed){o(this[ye]===0);const e=t[Be].splice(t[ve]);for(let t=0;t0){const e=t[Be][t[ve]];t[Be][t[ve]++]=null;errorRequest(t,e,n)}t[we]=t[ve];o(t[fe]===0);t.emit("disconnect",t[Ae],[t],n);resume(t)}const Rt=n(52824);const wt=n(64415);const vt=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?n(63870):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(n(53434),"base64"))}catch(o){t=await WebAssembly.compile(Buffer.from(e||n(63870),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,n)=>0,wasm_on_status:(e,t,n)=>{o.strictEqual(Dt.ptr,e);const i=t-Ot+kt.byteOffset;return Dt.onStatus(new Qt(kt.buffer,i,n))||0},wasm_on_message_begin:e=>{o.strictEqual(Dt.ptr,e);return Dt.onMessageBegin()||0},wasm_on_header_field:(e,t,n)=>{o.strictEqual(Dt.ptr,e);const i=t-Ot+kt.byteOffset;return Dt.onHeaderField(new Qt(kt.buffer,i,n))||0},wasm_on_header_value:(e,t,n)=>{o.strictEqual(Dt.ptr,e);const i=t-Ot+kt.byteOffset;return Dt.onHeaderValue(new Qt(kt.buffer,i,n))||0},wasm_on_headers_complete:(e,t,n,i)=>{o.strictEqual(Dt.ptr,e);return Dt.onHeadersComplete(t,Boolean(n),Boolean(i))||0},wasm_on_body:(e,t,n)=>{o.strictEqual(Dt.ptr,e);const i=t-Ot+kt.byteOffset;return Dt.onBody(new Qt(kt.buffer,i,n))||0},wasm_on_message_complete:e=>{o.strictEqual(Dt.ptr,e);return Dt.onMessageComplete()||0}}})}let xt=null;let Pt=lazyllhttp();Pt.catch();let Dt=null;let kt=null;let Tt=0;let Ot=null;const Mt=1;const Lt=2;const Ft=3;class Parser{constructor(e,t,{exports:n}){o(Number.isFinite(e[Te])&&e[Te]>0);this.llhttp=n;this.ptr=this.llhttp.llhttp_alloc(Rt.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[Te];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[We]}setTimeout(e,t){this.timeoutType=t;if(e!==this.timeoutValue){p.clearTimeout(this.timeout);if(e){this.timeout=p.setTimeout(onParserTimeout,e,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}o(this.ptr!=null);o(Dt==null);this.llhttp.llhttp_resume(this.ptr);o(this.timeoutType===Lt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||vt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){o(this.ptr!=null);o(Dt==null);o(!this.paused);const{socket:t,llhttp:n}=this;if(e.length>Tt){if(Ot){n.free(Ot)}Tt=Math.ceil(e.length/4096)*4096;Ot=n.malloc(Tt)}new Uint8Array(n.memory.buffer,Ot,Tt).set(e);try{let o;try{kt=e;Dt=this;o=n.llhttp_execute(this.ptr,Ot,e.length)}catch(e){throw e}finally{Dt=null;kt=null}const i=n.llhttp_get_error_pos(this.ptr)-Ot;if(o===Rt.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(i))}else if(o===Rt.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(i))}else if(o!==Rt.ERROR.OK){const t=n.llhttp_get_error_reason(this.ptr);let A="";if(t){const e=new Uint8Array(n.memory.buffer,t).indexOf(0);A="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,t,e).toString()+")"}throw new oe(A,Rt.ERROR[o],e.slice(i))}}catch(e){d.destroy(t,e)}}destroy(){o(this.ptr!=null);o(Dt==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;p.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const n=t[Be][t[ve]];if(!n){return-1}}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const n=this.headers[t-2];if(n.length===10&&n.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(n.length===10&&n.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(n.length===14&&n.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){d.destroy(this.socket,new ee)}}onUpgrade(e){const{upgrade:t,client:n,socket:i,headers:A,statusCode:c}=this;o(t);const p=n[Be][n[ve]];o(p);o(!i.destroyed);o(i===n[De]);o(!this.paused);o(p.upgrade||p.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;o(this.headers.length%2===0);this.headers=[];this.headersSize=0;i.unshift(e);i[pe].destroy();i[pe]=null;i[ue]=null;i[xe]=null;i.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);n[De]=null;n[Be][n[ve]++]=null;n.emit("disconnect",n[Ae],[n],new re("upgrade"));try{p.onUpgrade(c,A,i)}catch(e){d.destroy(i,e)}resume(n)}onHeadersComplete(e,t,n){const{client:i,socket:A,headers:c,statusText:p}=this;if(A.destroyed){return-1}const C=i[Be][i[ve]];if(!C){return-1}o(!this.upgrade);o(this.statusCode<200);if(e===100){d.destroy(A,new te("bad response",d.getSocketInfo(A)));return-1}if(t&&!C.upgrade){d.destroy(A,new te("bad upgrade",d.getSocketInfo(A)));return-1}o.strictEqual(this.timeoutType,Mt);this.statusCode=e;this.shouldKeepAlive=n||C.method==="HEAD"&&!A[ce]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=C.bodyTimeout!=null?C.bodyTimeout:i[Fe];this.setTimeout(e,Lt)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(C.method==="CONNECT"){o(i[fe]===1);this.upgrade=true;return 2}if(t){o(i[fe]===1);this.upgrade=true;return 2}o(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&i[Pe]){const e=this.keepAlive?d.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-i[Me],i[Oe]);if(t<=0){A[ce]=true}else{i[ke]=t}}else{i[ke]=i[Ne]}}else{A[ce]=true}const S=C.onHeaders(e,c,this.resume,p)===false;if(C.aborted){return-1}if(C.method==="HEAD"){return 1}if(e<200){return 1}if(A[me]){A[me]=false;resume(i)}return S?Rt.ERROR.PAUSED:0}onBody(e){const{client:t,socket:n,statusCode:i,maxResponseSize:A}=this;if(n.destroyed){return-1}const c=t[Be][t[ve]];o(c);o.strictEqual(this.timeoutType,Lt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}o(i>=200);if(A>-1&&this.bytesRead+e.length>A){d.destroy(n,new ie);return-1}this.bytesRead+=e.length;if(c.onData(e)===false){return Rt.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:n,upgrade:i,headers:A,contentLength:c,bytesRead:p,shouldKeepAlive:C}=this;if(t.destroyed&&(!n||C)){return-1}if(i){return}const S=e[Be][e[ve]];o(S);o(n>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";o(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(n<200){return}if(S.method!=="HEAD"&&c&&p!==parseInt(c,10)){d.destroy(t,new T);return-1}S.onComplete(A);e[Be][e[ve]++]=null;if(t[Ee]){o.strictEqual(e[fe],0);d.destroy(t,new re("reset"));return Rt.ERROR.PAUSED}else if(!C){d.destroy(t,new re("reset"));return Rt.ERROR.PAUSED}else if(t[ce]&&e[fe]===0){d.destroy(t,new re("reset"));return Rt.ERROR.PAUSED}else if(e[Pe]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:n,client:i}=e;if(n===Mt){if(!t[Ee]||t.writableNeedDrain||i[fe]>1){o(!e.paused,"cannot be paused while waiting for headers");d.destroy(t,new Z)}}else if(n===Lt){if(!e.paused){d.destroy(t,new ne)}}else if(n===Ft){o(i[fe]===0&&i[ke]);d.destroy(t,new re("socket idle timeout"))}}function onSocketReadable(){const{[pe]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[ue]:t,[pe]:n}=this;o(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[Ke]!=="h2"){if(e.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}}this[xe]=e;onError(this[ue],e)}function onError(e,t){if(e[fe]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){o(e[we]===e[ve]);const n=e[Be].splice(e[ve]);for(let o=0;o0&&n.code!=="UND_ERR_INFO"){const t=e[Be][e[ve]];e[Be][e[ve]++]=null;errorRequest(e,t,n)}e[we]=e[ve];o(e[fe]===0);e.emit("disconnect",e[Ae],[e],n);resume(e)}async function connect(e){o(!e[be]);o(!e[De]);let{host:t,hostname:n,protocol:A,port:c}=e[Ae];if(n[0]==="["){const e=n.indexOf("]");o(e!==-1);const t=n.substring(1,e);o(i.isIP(t));n=t}e[be]=true;if(Nt.beforeConnect.hasSubscribers){Nt.beforeConnect.publish({connectParams:{host:t,hostname:n,protocol:A,port:c,servername:e[le],localAddress:e[Je]},connector:e[_e]})}try{const i=await new Promise(((o,i)=>{e[_e]({host:t,hostname:n,protocol:A,port:c,servername:e[le],localAddress:e[Je]},((e,t)=>{if(e){i(e)}else{o(t)}}))}));if(e.destroyed){d.destroy(i.on("error",(()=>{})),new se);return}e[be]=false;o(i);const p=i.alpnProtocol==="h2";if(p){if(!bt){bt=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=pt.connect(e[Ae],{createConnection:()=>i,peerMaxConcurrentStreams:e[Ze].maxConcurrentStreams});e[Ke]="h2";t[ue]=e;t[De]=i;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[Xe]=t;i[Xe]=t}else{if(!xt){xt=await Pt;Pt=null}i[Se]=false;i[Ee]=false;i[ce]=false;i[me]=false;i[pe]=new Parser(e,i,xt)}i[ze]=0;i[qe]=e[qe];i[ue]=e;i[xe]=null;i.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[De]=i;if(Nt.connected.hasSubscribers){Nt.connected.publish({connectParams:{host:t,hostname:n,protocol:A,port:c,servername:e[le],localAddress:e[Je]},connector:e[_e],socket:i})}e.emit("connect",e[Ae],[e])}catch(i){if(e.destroyed){return}e[be]=false;if(Nt.connectError.hasSubscribers){Nt.connectError.publish({connectParams:{host:t,hostname:n,protocol:A,port:c,servername:e[le],localAddress:e[Je]},connector:e[_e],error:i})}if(i.code==="ERR_TLS_CERT_ALTNAME_INVALID"){o(e[fe]===0);while(e[ye]>0&&e[Be][e[we]].servername===e[le]){const t=e[Be][e[we]++];errorRequest(e,t,i)}}else{onError(e,i)}e.emit("connectionError",e[Ae],[e],i)}resume(e)}function emitDrain(e){e[Qe]=0;e.emit("drain",e[Ae],[e])}function resume(e,t){if(e[he]===2){return}e[he]=2;_resume(e,t);e[he]=0;if(e[ve]>256){e[Be].splice(0,e[ve]);e[we]-=e[ve];e[ve]=0}}function _resume(e,t){while(true){if(e.destroyed){o(e[ye]===0);return}if(e[St]&&!e[Ce]){e[St]();e[St]=null;return}const n=e[De];if(n&&!n.destroyed&&n.alpnProtocol!=="h2"){if(e[Ce]===0){if(!n[Se]&&n.unref){n.unref();n[Se]=true}}else if(n[Se]&&n.ref){n.ref();n[Se]=false}if(e[Ce]===0){if(n[pe].timeoutType!==Ft){n[pe].setTimeout(e[ke],Ft)}}else if(e[fe]>0&&n[pe].statusCode<200){if(n[pe].timeoutType!==Mt){const t=e[Be][e[ve]];const o=t.headersTimeout!=null?t.headersTimeout:e[Le];n[pe].setTimeout(o,Mt)}}}if(e[de]){e[Qe]=2}else if(e[Qe]===2){if(t){e[Qe]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[ye]===0){return}if(e[fe]>=(e[Pe]||1)){return}const i=e[Be][e[we]];if(e[Ae].protocol==="https:"&&e[le]!==i.servername){if(e[fe]>0){return}e[le]=i.servername;if(n&&n.servername!==i.servername){d.destroy(n,new re("servername changed"));return}}if(e[be]){return}if(!n&&!e[Xe]){connect(e);return}if(n.destroyed||n[Ee]||n[ce]||n[me]){return}if(e[fe]>0&&!i.idempotent){return}if(e[fe]>0&&(i.upgrade||i.method==="CONNECT")){return}if(e[fe]>0&&d.bodyLength(i.body)!==0&&(d.isStream(i.body)||d.isAsyncIterable(i.body))){return}if(!i.aborted&&write(e,i)){e[we]++}else{e[Be].splice(e[we],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[Ke]==="h2"){writeH2(e,e[Xe],t);return}const{body:n,method:i,path:A,host:c,upgrade:p,headers:C,blocking:S,reset:T}=t;const _=i==="PUT"||i==="POST"||i==="PATCH";if(n&&typeof n.read==="function"){n.read(0)}const Z=d.bodyLength(n);let ee=Z;if(ee===null){ee=t.contentLength}if(ee===0&&!_){ee=null}if(shouldSendContentLength(i)&&ee>0&&t.contentLength!==null&&t.contentLength!==ee){if(e[Ue]){errorRequest(e,t,new v);return false}process.emitWarning(new v)}const te=e[De];try{t.onConnect((n=>{if(t.aborted||t.completed){return}errorRequest(e,t,n||new V);d.destroy(te,new re("aborted"))}))}catch(n){errorRequest(e,t,n)}if(t.aborted){return false}if(i==="HEAD"){te[ce]=true}if(p||i==="CONNECT"){te[ce]=true}if(T!=null){te[ce]=T}if(e[qe]&&te[ze]++>=e[qe]){te[ce]=true}if(S){te[me]=true}let ne=`${i} ${A} HTTP/1.1\r\n`;if(typeof c==="string"){ne+=`host: ${c}\r\n`}else{ne+=e[Re]}if(p){ne+=`connection: upgrade\r\nupgrade: ${p}\r\n`}else if(e[Pe]&&!te[ce]){ne+="connection: keep-alive\r\n"}else{ne+="connection: close\r\n"}if(C){ne+=C}if(Nt.sendHeaders.hasSubscribers){Nt.sendHeaders.publish({request:t,headers:ne,socket:te})}if(!n||Z===0){if(ee===0){te.write(`${ne}content-length: 0\r\n\r\n`,"latin1")}else{o(ee===null,"no body must not have content length");te.write(`${ne}\r\n`,"latin1")}t.onRequestSent()}else if(d.isBuffer(n)){o(ee===n.byteLength,"buffer body must have content length");te.cork();te.write(`${ne}content-length: ${ee}\r\n\r\n`,"latin1");te.write(n);te.uncork();t.onBodySent(n);t.onRequestSent();if(!_){te[ce]=true}}else if(d.isBlobLike(n)){if(typeof n.stream==="function"){writeIterable({body:n.stream(),client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:_})}else{writeBlob({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:_})}}else if(d.isStream(n)){writeStream({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:_})}else if(d.isIterable(n)){writeIterable({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:_})}else{o(false)}return true}function writeH2(e,t,n){const{body:i,method:A,path:c,host:p,upgrade:S,expectContinue:T,signal:_,headers:Z}=n;let ee;if(typeof Z==="string")ee=C[At](Z.trim());else ee=Z;if(S){errorRequest(e,n,new Error("Upgrade not supported for H2"));return false}try{n.onConnect((t=>{if(n.aborted||n.completed){return}errorRequest(e,n,t||new V)}))}catch(t){errorRequest(e,n,t)}if(n.aborted){return false}let te;const ne=e[Ze];ee[mt]=p||e[$e];ee[ft]=A;if(A==="CONNECT"){t.ref();te=t.request(ee,{endStream:false,signal:_});if(te.id&&!te.pending){n.onUpgrade(null,null,te);++ne.openStreams}else{te.once("ready",(()=>{n.onUpgrade(null,null,te);++ne.openStreams}))}te.once("close",(()=>{ne.openStreams-=1;if(ne.openStreams===0)t.unref()}));return true}ee[yt]=c;ee[Ct]="https";const oe=A==="PUT"||A==="POST"||A==="PATCH";if(i&&typeof i.read==="function"){i.read(0)}let ie=d.bodyLength(i);if(ie==null){ie=n.contentLength}if(ie===0||!oe){ie=null}if(shouldSendContentLength(A)&&ie>0&&n.contentLength!=null&&n.contentLength!==ie){if(e[Ue]){errorRequest(e,n,new v);return false}process.emitWarning(new v)}if(ie!=null){o(i,"no body must not have content length");ee[Et]=`${ie}`}t.ref();const se=A==="GET"||A==="HEAD";if(T){ee[Bt]="100-continue";te=t.request(ee,{endStream:se,signal:_});te.once("continue",writeBodyH2)}else{te=t.request(ee,{endStream:se,signal:_});writeBodyH2()}++ne.openStreams;te.once("response",(e=>{const{[It]:t,...o}=e;if(n.onHeaders(Number(t),o,te.resume.bind(te),"")===false){te.pause()}}));te.once("end",(()=>{n.onComplete([])}));te.on("data",(e=>{if(n.onData(e)===false){te.pause()}}));te.once("close",(()=>{ne.openStreams-=1;if(ne.openStreams===0){t.unref()}}));te.once("error",(function(t){if(e[Xe]&&!e[Xe].destroyed&&!this.closed&&!this.destroyed){ne.streams-=1;d.destroy(te,t)}}));te.once("frameError",((t,o)=>{const i=new re(`HTTP/2: "frameError" received - type ${t}, code ${o}`);errorRequest(e,n,i);if(e[Xe]&&!e[Xe].destroyed&&!this.closed&&!this.destroyed){ne.streams-=1;d.destroy(te,i)}}));return true;function writeBodyH2(){if(!i){n.onRequestSent()}else if(d.isBuffer(i)){o(ie===i.byteLength,"buffer body must have content length");te.cork();te.write(i);te.uncork();te.end();n.onBodySent(i);n.onRequestSent()}else if(d.isBlobLike(i)){if(typeof i.stream==="function"){writeIterable({client:e,request:n,contentLength:ie,h2stream:te,expectsPayload:oe,body:i.stream(),socket:e[De],header:""})}else{writeBlob({body:i,client:e,request:n,contentLength:ie,expectsPayload:oe,h2stream:te,header:"",socket:e[De]})}}else if(d.isStream(i)){writeStream({body:i,client:e,request:n,contentLength:ie,expectsPayload:oe,socket:e[De],h2stream:te,header:""})}else if(d.isIterable(i)){writeIterable({body:i,client:e,request:n,contentLength:ie,expectsPayload:oe,header:"",h2stream:te,socket:e[De]})}else{o(false)}}}function writeStream({h2stream:e,body:t,client:n,request:i,socket:A,contentLength:p,header:C,expectsPayload:S}){o(p!==0||n[fe]===0,"stream body cannot be pipelined");if(n[Ke]==="h2"){const _=c(t,e,(n=>{if(n){d.destroy(t,n);d.destroy(e,n)}else{i.onRequestSent()}}));_.on("data",onPipeData);_.once("end",(()=>{_.removeListener("data",onPipeData);d.destroy(_)}));function onPipeData(e){i.onBodySent(e)}return}let v=false;const T=new AsyncWriter({socket:A,request:i,contentLength:p,client:n,expectsPayload:S,header:C});const onData=function(e){if(v){return}try{if(!T.write(e)&&this.pause){this.pause()}}catch(e){d.destroy(this,e)}};const onDrain=function(){if(v){return}if(t.resume){t.resume()}};const onAbort=function(){if(v){return}const e=new V;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(v){return}v=true;o(A.destroyed||A[Ee]&&n[fe]<=1);A.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{T.end()}catch(t){e=t}}T.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){d.destroy(t,e)}else{d.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(t.resume){t.resume()}A.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:n,request:i,socket:A,contentLength:c,header:p,expectsPayload:C}){o(c===t.size,"blob body must have content length");const S=n[Ke]==="h2";try{if(c!=null&&c!==t.size){throw new v}const o=Buffer.from(await t.arrayBuffer());if(S){e.cork();e.write(o);e.uncork()}else{A.cork();A.write(`${p}content-length: ${c}\r\n\r\n`,"latin1");A.write(o);A.uncork()}i.onBodySent(o);i.onRequestSent();if(!C){A[ce]=true}resume(n)}catch(t){d.destroy(S?e:A,t)}}async function writeIterable({h2stream:e,body:t,client:n,request:i,socket:A,contentLength:c,header:d,expectsPayload:p}){o(c!==0||n[fe]===0,"iterator body cannot be pipelined");let C=null;function onDrain(){if(C){const e=C;C=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{o(C===null);if(A[xe]){t(A[xe])}else{C=e}}));if(n[Ke]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const n of t){if(A[xe]){throw A[xe]}const t=e.write(n);i.onBodySent(n);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{i.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}A.on("close",onDrain).on("drain",onDrain);const S=new AsyncWriter({socket:A,request:i,contentLength:c,client:n,expectsPayload:p,header:d});try{for await(const e of t){if(A[xe]){throw A[xe]}if(!S.write(e)){await waitForDrain()}}S.end()}catch(e){S.destroy(e)}finally{A.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:n,client:o,expectsPayload:i,header:A}){this.socket=e;this.request=t;this.contentLength=n;this.client=o;this.bytesWritten=0;this.expectsPayload=i;this.header=A;e[Ee]=true}write(e){const{socket:t,request:n,contentLength:o,client:i,bytesWritten:A,expectsPayload:c,header:d}=this;if(t[xe]){throw t[xe]}if(t.destroyed){return false}const p=Buffer.byteLength(e);if(!p){return true}if(o!==null&&A+p>o){if(i[Ue]){throw new v}process.emitWarning(new v)}t.cork();if(A===0){if(!c){t[ce]=true}if(o===null){t.write(`${d}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${d}content-length: ${o}\r\n\r\n`,"latin1")}}if(o===null){t.write(`\r\n${p.toString(16)}\r\n`,"latin1")}this.bytesWritten+=p;const C=t.write(e);t.uncork();n.onBodySent(e);if(!C){if(t[pe].timeout&&t[pe].timeoutType===Mt){if(t[pe].timeout.refresh){t[pe].timeout.refresh()}}}return C}end(){const{socket:e,contentLength:t,client:n,bytesWritten:o,expectsPayload:i,header:A,request:c}=this;c.onRequestSent();e[Ee]=false;if(e[xe]){throw e[xe]}if(e.destroyed){return}if(o===0){if(i){e.write(`${A}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${A}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&o!==t){if(n[Ue]){throw new v}else{process.emitWarning(new v)}}if(e[pe].timeout&&e[pe].timeoutType===Mt){if(e[pe].timeout.refresh){e[pe].timeout.refresh()}}resume(n)}destroy(e){const{socket:t,client:n}=this;t[Ee]=false;if(e){o(n[fe]<=1,"pipeline should only contain this request");d.destroy(t,e)}}}function errorRequest(e,t,n){try{t.onError(n);o(t.aborted)}catch(n){e.emit("error",n)}}e.exports=Client},13194:(e,t,n)=>{const{kConnected:o,kSize:i}=n(36443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[o]===0&&this.value[i]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[o]===0&&e[i]===0){this.finalizer(t)}}))}}}e.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},19237:e=>{const t=1024;const n=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:n}},53168:(e,t,n)=>{const{parseSetCookie:o}=n(8915);const{stringify:i}=n(3834);const{webidl:A}=n(74222);const{Headers:c}=n(26349);function getCookies(e){A.argumentLengthCheck(arguments,1,{header:"getCookies"});A.brandCheck(e,c,{strict:false});const t=e.get("cookie");const n={};if(!t){return n}for(const e of t.split(";")){const[t,...o]=e.split("=");n[t.trim()]=o.join("=")}return n}function deleteCookie(e,t,n){A.argumentLengthCheck(arguments,2,{header:"deleteCookie"});A.brandCheck(e,c,{strict:false});t=A.converters.DOMString(t);n=A.converters.DeleteCookieAttributes(n);setCookie(e,{name:t,value:"",expires:new Date(0),...n})}function getSetCookies(e){A.argumentLengthCheck(arguments,1,{header:"getSetCookies"});A.brandCheck(e,c,{strict:false});const t=e.getSetCookie();if(!t){return[]}return t.map((e=>o(e)))}function setCookie(e,t){A.argumentLengthCheck(arguments,2,{header:"setCookie"});A.brandCheck(e,c,{strict:false});t=A.converters.Cookie(t);const n=i(t);if(n){e.append("Set-Cookie",i(t))}}A.converters.DeleteCookieAttributes=A.dictionaryConverter([{converter:A.nullableConverter(A.converters.DOMString),key:"path",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"domain",defaultValue:null}]);A.converters.Cookie=A.dictionaryConverter([{converter:A.converters.DOMString,key:"name"},{converter:A.converters.DOMString,key:"value"},{converter:A.nullableConverter((e=>{if(typeof e==="number"){return A.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:A.nullableConverter(A.converters["long long"]),key:"maxAge",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"domain",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"path",defaultValue:null},{converter:A.nullableConverter(A.converters.boolean),key:"secure",defaultValue:null},{converter:A.nullableConverter(A.converters.boolean),key:"httpOnly",defaultValue:null},{converter:A.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:A.sequenceConverter(A.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(e,t,n)=>{const{maxNameValuePairSize:o,maxAttributeValueSize:i}=n(19237);const{isCTLExcludingHtab:A}=n(3834);const{collectASequenceOfCodePointsFast:c}=n(94322);const d=n(42613);function parseSetCookie(e){if(A(e)){return null}let t="";let n="";let i="";let d="";if(e.includes(";")){const o={position:0};t=c(";",e,o);n=e.slice(o.position)}else{t=e}if(!t.includes("=")){d=t}else{const e={position:0};i=c("=",t,e);d=t.slice(e.position+1)}i=i.trim();d=d.trim();if(i.length+d.length>o){return null}return{name:i,value:d,...parseUnparsedAttributes(n)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}d(e[0]===";");e=e.slice(1);let n="";if(e.includes(";")){n=c(";",e,{position:0});e=e.slice(n.length)}else{n=e;e=""}let o="";let A="";if(n.includes("=")){const e={position:0};o=c("=",n,e);A=n.slice(e.position+1)}else{o=n}o=o.trim();A=A.trim();if(A.length>i){return parseUnparsedAttributes(e,t)}const p=o.toLowerCase();if(p==="expires"){const e=new Date(A);t.expires=e}else if(p==="max-age"){const n=A.charCodeAt(0);if((n<48||n>57)&&A[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(A)){return parseUnparsedAttributes(e,t)}const o=Number(A);t.maxAge=o}else if(p==="domain"){let e=A;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(p==="path"){let e="";if(A.length===0||A[0]!=="/"){e="/"}else{e=A}t.path=e}else if(p==="secure"){t.secure=true}else if(p==="httponly"){t.httpOnly=true}else if(p==="samesite"){let e="Default";const n=A.toLowerCase();if(n.includes("none")){e="None"}if(n.includes("strict")){e="Strict"}if(n.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${o}=${A}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:e=>{function isCTLExcludingHtab(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const t of e){const e=t.charCodeAt(0);if(e<=32||e>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||t===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const o=t[e.getUTCDay()];const i=e.getUTCDate().toString().padStart(2,"0");const A=n[e.getUTCMonth()];const c=e.getUTCFullYear();const d=e.getUTCHours().toString().padStart(2,"0");const p=e.getUTCMinutes().toString().padStart(2,"0");const C=e.getUTCSeconds().toString().padStart(2,"0");return`${o}, ${i} ${A} ${c} ${d}:${p}:${C} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const n of e.unparsed){if(!n.includes("=")){throw new Error("Invalid unparsed")}const[e,...o]=n.split("=");t.push(`${e.trim()}=${o.join("=")}`)}return t.join("; ")}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},59136:(e,t,n)=>{const o=n(69278);const i=n(42613);const A=n(3440);const{InvalidArgumentError:c,ConnectTimeoutError:d}=n(68707);let p;let C;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){C=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:d,timeout:S,...v}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new c("maxCachedSessions must be a positive integer or zero")}const T={path:d,...v};const _=new C(t==null?100:t);S=S==null?1e4:S;e=e!=null?e:false;return function connect({hostname:t,host:c,protocol:d,port:C,servername:v,localAddress:V,httpSocket:Z},ee){let te;if(d==="https:"){if(!p){p=n(64756)}v=v||T.servername||A.getServerName(c)||null;const o=v||t;const d=_.get(o)||null;i(o);te=p.connect({highWaterMark:16384,...T,servername:v,session:d,localAddress:V,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:Z,port:C||443,host:t});te.on("session",(function(e){_.set(o,e)}))}else{i(!Z,"httpSocket can only be sent on TLS update");te=o.connect({highWaterMark:64*1024,...T,localAddress:V,port:C||80,host:t})}if(T.keepAlive==null||T.keepAlive){const e=T.keepAliveInitialDelay===undefined?6e4:T.keepAliveInitialDelay;te.setKeepAlive(true,e)}const re=setupTimeout((()=>onConnectTimeout(te)),S);te.setNoDelay(true).once(d==="https:"?"secureConnect":"connect",(function(){re();if(ee){const e=ee;ee=null;e(null,this)}})).on("error",(function(e){re();if(ee){const t=ee;ee=null;t(e)}}));return te}}function setupTimeout(e,t){if(!t){return()=>{}}let n=null;let o=null;const i=setTimeout((()=>{n=setImmediate((()=>{if(process.platform==="win32"){o=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(i);clearImmediate(n);clearImmediate(o)}}function onConnectTimeout(e){A.destroy(e,new d)}e.exports=buildConnector},10735:e=>{const t={};const n=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","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","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e{class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(e,t,n,o){super(e);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=o;this.status=t;this.statusCode=t;this.headers=n}}class InvalidArgumentError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(e,t){super(e);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}}class NotSupportedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(e,t,n){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=n?n.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(e,t,{headers:n,data:o}){super(e);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=o;this.headers=n}}e.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},44655:(e,t,n)=>{const{InvalidArgumentError:o,NotSupportedError:i}=n(68707);const A=n(42613);const{kHTTP2BuildRequest:c,kHTTP2CopyHeaders:d,kHTTP1BuildRequest:p}=n(36443);const C=n(3440);const S=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const v=/[^\t\x20-\x7e\x80-\xff]/;const T=/[^\u0021-\u00ff]/;const _=Symbol("handler");const V={};let Z;try{const e=n(31637);V.create=e.channel("undici:request:create");V.bodySent=e.channel("undici:request:bodySent");V.headers=e.channel("undici:request:headers");V.trailers=e.channel("undici:request:trailers");V.error=e.channel("undici:request:error")}catch{V.create={hasSubscribers:false};V.bodySent={hasSubscribers:false};V.headers={hasSubscribers:false};V.trailers={hasSubscribers:false};V.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:i,body:A,headers:c,query:d,idempotent:p,blocking:v,upgrade:ee,headersTimeout:te,bodyTimeout:re,reset:ne,throwOnError:oe,expectContinue:ie},se){if(typeof t!=="string"){throw new o("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&i!=="CONNECT"){throw new o("path must be an absolute URL or start with a slash")}else if(T.exec(t)!==null){throw new o("invalid request path")}if(typeof i!=="string"){throw new o("method must be a string")}else if(S.exec(i)===null){throw new o("invalid request method")}if(ee&&typeof ee!=="string"){throw new o("upgrade must be a string")}if(te!=null&&(!Number.isFinite(te)||te<0)){throw new o("invalid headersTimeout")}if(re!=null&&(!Number.isFinite(re)||re<0)){throw new o("invalid bodyTimeout")}if(ne!=null&&typeof ne!=="boolean"){throw new o("invalid reset")}if(ie!=null&&typeof ie!=="boolean"){throw new o("invalid expectContinue")}this.headersTimeout=te;this.bodyTimeout=re;this.throwOnError=oe===true;this.method=i;this.abort=null;if(A==null){this.body=null}else if(C.isStream(A)){this.body=A;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){C.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(C.isBuffer(A)){this.body=A.byteLength?A:null}else if(ArrayBuffer.isView(A)){this.body=A.buffer.byteLength?Buffer.from(A.buffer,A.byteOffset,A.byteLength):null}else if(A instanceof ArrayBuffer){this.body=A.byteLength?Buffer.from(A):null}else if(typeof A==="string"){this.body=A.length?Buffer.from(A):null}else if(C.isFormDataLike(A)||C.isIterable(A)||C.isBlobLike(A)){this.body=A}else{throw new o("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=ee||null;this.path=d?C.buildURL(t,d):t;this.origin=e;this.idempotent=p==null?i==="HEAD"||i==="GET":p;this.blocking=v==null?false:v;this.reset=ne==null?null:ne;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=ie!=null?ie:false;if(Array.isArray(c)){if(c.length%2!==0){throw new o("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3440:(e,t,n)=>{const o=n(42613);const{kDestroyed:i,kBodyUsed:A}=n(36443);const{IncomingMessage:c}=n(58611);const d=n(2203);const p=n(69278);const{InvalidArgumentError:C}=n(68707);const{Blob:S}=n(20181);const v=n(39023);const{stringify:T}=n(83480);const{headerNameLowerCasedRecord:_}=n(10735);const[V,Z]=process.versions.node.split(".").map((e=>Number(e)));function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){return S&&e instanceof S||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const n=T(t);if(n){e+="?"+n}return e}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!/^https?:/.test(e.origin||e.protocol)){throw new C("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new C("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(e.origin||e.protocol)){throw new C("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port))){throw new C("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new C("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new C("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new C("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new C("Invalid URL origin: the origin must be a string or null/undefined.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let n=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let o=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(n.endsWith("/")){n=n.substring(0,n.length-1)}if(o&&!o.startsWith("/")){o=`/${o}`}e=new URL(n+o)}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new C("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");o(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}o.strictEqual(typeof e,"string");const t=getHostname(e);if(p.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return!e||!!(e.destroyed||e[i])}function isReadableAborted(e){const t=e&&e._readableState;return isDestroyed(e)&&t&&!t.endEmitted}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===c){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[i]=true}}const ee=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(ee);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return _[e]||e.toLowerCase()}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let n=0;ne.toString("utf8")))}else{t[o]=e[n+1].toString("utf8")}}else{if(!Array.isArray(i)){i=[i];t[o]=i}i.push(e[n+1].toString("utf8"))}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=[];let n=false;let o=-1;for(let i=0;i{e.close()}))}else{const t=Buffer.isBuffer(o)?o:Buffer.from(o);e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()}},0)}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function throwIfAborted(e){if(!e){return}if(typeof e.throwIfAborted==="function"){e.throwIfAborted()}else{if(e.aborted){const e=new Error("The operation was aborted");e.name="AbortError";throw e}}}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const re=!!String.prototype.toWellFormed;function toUSVString(e){if(re){return`${e}`.toWellFormed()}else if(v.toUSVString){return v.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}const ne=Object.create(null);ne.enumerable=true;e.exports={kEnumerableProperty:ne,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:V,nodeMinor:Z,nodeHasAutoSelectFamily:V>18||V===18&&Z>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},50001:(e,t,n)=>{const o=n(28611);const{ClientDestroyedError:i,ClientClosedError:A,InvalidArgumentError:c}=n(68707);const{kDestroy:d,kClose:p,kDispatch:C,kInterceptors:S}=n(36443);const v=Symbol("destroyed");const T=Symbol("closed");const _=Symbol("onDestroyed");const V=Symbol("onClosed");const Z=Symbol("Intercepted Dispatch");class DispatcherBase extends o{constructor(){super();this[v]=false;this[_]=null;this[T]=false;this[V]=[]}get destroyed(){return this[v]}get closed(){return this[T]}get interceptors(){return this[S]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[S][t];if(typeof e!=="function"){throw new c("interceptor must be an function")}}}this[S]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((n,o)=>n?t(n):e(o)))}))}if(typeof e!=="function"){throw new c("invalid callback")}if(this[v]){queueMicrotask((()=>e(new i,null)));return}if(this[T]){if(this[V]){this[V].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[T]=true;this[V].push(e);const onClosed=()=>{const e=this[V];this[V]=null;for(let t=0;tthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,n)=>{this.destroy(e,((e,o)=>e?n(e):t(o)))}))}if(typeof t!=="function"){throw new c("invalid callback")}if(this[v]){if(this[_]){this[_].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new i}this[v]=true;this[_]=this[_]||[];this[_].push(t);const onDestroyed=()=>{const e=this[_];this[_]=null;for(let t=0;t{queueMicrotask(onDestroyed)}))}[Z](e,t){if(!this[S]||this[S].length===0){this[Z]=this[C];return this[C](e,t)}let n=this[C].bind(this);for(let e=this[S].length-1;e>=0;e--){n=this[S][e](n)}this[Z]=n;return n(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new c("handler must be an object")}try{if(!e||typeof e!=="object"){throw new c("opts must be an object.")}if(this[v]||this[_]){throw new i}if(this[T]){throw new A}return this[Z](e,t)}catch(e){if(typeof t.onError!=="function"){throw new c("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},28611:(e,t,n)=>{const o=n(24434);class Dispatcher extends o{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},8923:(e,t,n)=>{const o=n(4652);const i=n(3440);const{ReadableStreamFrom:A,isBlobLike:c,isReadableStreamLike:d,readableStreamClose:p,createDeferredPromise:C,fullyReadBody:S}=n(15523);const{FormData:v}=n(43073);const{kState:T}=n(89710);const{webidl:_}=n(74222);const{DOMException:V,structuredClone:Z}=n(87326);const{Blob:ee,File:te}=n(20181);const{kBodyUsed:re}=n(36443);const ne=n(42613);const{isErrored:oe}=n(3440);const{isUint8Array:ie,isArrayBuffer:se}=n(98253);const{File:ae}=n(63041);const{parseMIMEType:Ae,serializeAMimeType:ce}=n(94322);let le;try{const e=n(77598);le=t=>e.randomInt(0,t)}catch{le=e=>Math.floor(Math.random(e))}let ue=globalThis.ReadableStream;const de=te??ae;const pe=new TextEncoder;const ge=new TextDecoder;function extractBody(e,t=false){if(!ue){ue=n(63774).ReadableStream}let o=null;if(e instanceof ue){o=e}else if(c(e)){o=e.stream()}else{o=new ue({async pull(e){e.enqueue(typeof S==="string"?pe.encode(S):S);queueMicrotask((()=>p(e)))},start(){},type:undefined})}ne(d(o));let C=null;let S=null;let v=null;let T=null;if(typeof e==="string"){S=e;T="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){S=e.toString();T="application/x-www-form-urlencoded;charset=UTF-8"}else if(se(e)){S=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){S=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(i.isFormDataLike(e)){const t=`----formdata-undici-0${`${le(1e11)}`.padStart(11,"0")}`;const n=`--${t}\r\nContent-Disposition: form-data` /*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const o=[];const i=new Uint8Array([13,10]);v=0;let A=false;for(const[t,c]of e){if(typeof c==="string"){const e=pe.encode(n+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(c)}\r\n`);o.push(e);v+=e.byteLength}else{const e=pe.encode(`${n}; name="${escape(normalizeLinefeeds(t))}"`+(c.name?`; filename="${escape(c.name)}"`:"")+"\r\n"+`Content-Type: ${c.type||"application/octet-stream"}\r\n\r\n`);o.push(e,c,i);if(typeof c.size==="number"){v+=e.byteLength+c.size+i.byteLength}else{A=true}}}const c=pe.encode(`--${t}--`);o.push(c);v+=c.byteLength;if(A){v=null}S=e;C=async function*(){for(const e of o){if(e.stream){yield*e.stream()}else{yield e}}};T="multipart/form-data; boundary="+t}else if(c(e)){S=e;v=e.size;if(e.type){T=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(i.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}o=e instanceof ue?e:A(e)}if(typeof S==="string"||i.isBuffer(S)){v=Buffer.byteLength(S)}if(C!=null){let t;o=new ue({async start(){t=C(e)[Symbol.asyncIterator]()},async pull(e){const{value:n,done:i}=await t.next();if(i){queueMicrotask((()=>{e.close()}))}else{if(!oe(o)){e.enqueue(new Uint8Array(n))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const _={stream:o,source:S,length:v};return[_,T]}function safelyExtractBody(e,t=false){if(!ue){ue=n(63774).ReadableStream}if(e instanceof ue){ne(!i.isDisturbed(e),"The body has already been consumed.");ne(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,n]=e.stream.tee();const o=Z(n,{transfer:[n]});const[,i]=o.tee();e.stream=t;return{stream:i,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(ie(e)){yield e}else{const t=e.stream;if(i.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[re]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new V("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=ce(t)}return new ee([e],{type:t})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){_.brandCheck(this,e);throwIfAborted(this[T]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,n]of this.headers)e[t.toLowerCase()]=n;const t=new v;let n;try{n=new o({headers:e,preservePath:true})}catch(e){throw new V(`${e}`,"AbortError")}n.on("field",((e,n)=>{t.append(e,n)}));n.on("file",((e,n,o,i,A)=>{const c=[];if(i==="base64"||i.toLowerCase()==="base64"){let i="";n.on("data",(e=>{i+=e.toString().replace(/[\r\n]/gm,"");const t=i.length-i.length%4;c.push(Buffer.from(i.slice(0,t),"base64"));i=i.slice(t)}));n.on("end",(()=>{c.push(Buffer.from(i,"base64"));t.append(e,new de(c,o,{type:A}))}))}else{n.on("data",(e=>{c.push(e)}));n.on("end",(()=>{t.append(e,new de(c,o,{type:A}))}))}}));const i=new Promise(((e,t)=>{n.on("finish",e);n.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[T].body))n.write(e);n.end();await i;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const n=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[T].body)){if(!ie(e)){throw new TypeError("Expected Uint8Array chunk")}t+=n.decode(e,{stream:true})}t+=n.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new v;for(const[n,o]of e){t.append(n,o)}return t}else{await Promise.resolve();throwIfAborted(this[T]);throw _.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,t,n){_.brandCheck(e,n);throwIfAborted(e[T]);if(bodyUnusable(e[T].body)){throw new TypeError("Body is unusable")}const o=C();const errorSteps=e=>o.reject(e);const successSteps=e=>{try{o.resolve(t(e))}catch(e){errorSteps(e)}};if(e[T].body==null){successSteps(new Uint8Array);return o.promise}await S(e[T].body,successSteps,errorSteps);return o.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||i.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=ge.decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:t}=e[T];const n=t.get("content-type");if(n===null){return"failure"}return Ae(n)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},87326:(e,t,n)=>{const{MessageChannel:o,receiveMessageOnPort:i}=n(28167);const A=["GET","HEAD","POST"];const c=new Set(A);const d=[101,204,205,304];const p=[301,302,303,307,308];const C=new Set(p);const S=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const v=new Set(S);const T=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const _=new Set(T);const V=["follow","manual","error"];const Z=["GET","HEAD","OPTIONS","TRACE"];const ee=new Set(Z);const te=["navigate","same-origin","no-cors","cors"];const re=["omit","same-origin","include"];const ne=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const oe=["content-encoding","content-language","content-location","content-type","content-length"];const ie=["half"];const se=["CONNECT","TRACE","TRACK"];const ae=new Set(se);const Ae=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const ce=new Set(Ae);const le=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let ue;const de=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!ue){ue=new o}ue.port1.unref();ue.port2.unref();ue.port1.postMessage(e,t?.transfer);return i(ue.port2).message};e.exports={DOMException:le,structuredClone:de,subresource:Ae,forbiddenMethods:se,requestBodyHeader:oe,referrerPolicy:T,requestRedirect:V,requestMode:te,requestCredentials:re,requestCache:ne,redirectStatus:p,corsSafeListedMethods:A,nullBodyStatus:d,safeMethods:Z,badPorts:S,requestDuplex:ie,subresourceSet:ce,badPortsSet:v,redirectStatusSet:C,corsSafeListedMethodsSet:c,safeMethodsSet:ee,forbiddenMethodsSet:ae,referrerPolicySet:_}},94322:(e,t,n)=>{const o=n(42613);const{atob:i}=n(20181);const{isomorphicDecode:A}=n(15523);const c=new TextEncoder;const d=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const p=/(\u000A|\u000D|\u0009|\u0020)/;const C=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){o(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const n={position:0};let i=collectASequenceOfCodePointsFast(",",t,n);const c=i.length;i=removeASCIIWhitespace(i,true,true);if(n.position>=t.length){return"failure"}n.position++;const d=t.slice(c+1);let p=stringPercentDecode(d);if(/;(\u0020){0,}base64$/i.test(i)){const e=A(p);p=forgivingBase64(e);if(p==="failure"){return"failure"}i=i.slice(0,-6);i=i.replace(/(\u0020)+$/,"");i=i.slice(0,-1)}if(i.startsWith(";")){i="text/plain"+i}let C=parseMIMEType(i);if(C==="failure"){C=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:C,body:p}}function URLSerializer(e,t=false){if(!t){return e.href}const n=e.href;const o=e.hash.length;return o===0?n:n.substring(0,n.length-o)}function collectASequenceOfCodePoints(e,t,n){let o="";while(n.positione.length){return"failure"}t.position++;let o=collectASequenceOfCodePointsFast(";",e,t);o=removeHTTPWhitespace(o,false,true);if(o.length===0||!d.test(o)){return"failure"}const i=n.toLowerCase();const A=o.toLowerCase();const c={type:i,subtype:A,parameters:new Map,essence:`${i}/${A}`};while(t.positionp.test(e)),e,t);let n=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);n=n.toLowerCase();if(t.positione.length){break}let o=null;if(e[t.position]==='"'){o=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{o=collectASequenceOfCodePointsFast(";",e,t);o=removeHTTPWhitespace(o,false,true);if(o.length===0){continue}}if(n.length!==0&&d.test(n)&&(o.length===0||C.test(o))&&!c.parameters.has(n)){c.parameters.set(n,o)}}return c}function forgivingBase64(e){e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(e.length%4===0){e=e.replace(/=?=$/,"")}if(e.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e)){return"failure"}const t=i(e);const n=new Uint8Array(t.length);for(let e=0;ee!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const n=e[t.position];t.position++;if(n==="\\"){if(t.position>=e.length){A+="\\";break}A+=e[t.position];t.position++}else{o(n==='"');break}}if(n){return A}return e.slice(i,t.position)}function serializeAMimeType(e){o(e!=="failure");const{parameters:t,essence:n}=e;let i=n;for(let[e,n]of t.entries()){i+=";";i+=e;i+="=";if(!d.test(n)){n=n.replace(/(\\|")/g,"\\$1");n='"'+n;n+='"'}i+=n}return i}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,n=true){let o=0;let i=e.length-1;if(t){for(;o0&&isHTTPWhiteSpace(e[i]);i--);}return e.slice(o,i+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,n=true){let o=0;let i=e.length-1;if(t){for(;o0&&isASCIIWhitespace(e[i]);i--);}return e.slice(o,i+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},63041:(e,t,n)=>{const{Blob:o,File:i}=n(20181);const{types:A}=n(39023);const{kState:c}=n(89710);const{isBlobLike:d}=n(15523);const{webidl:p}=n(74222);const{parseMIMEType:C,serializeAMimeType:S}=n(94322);const{kEnumerableProperty:v}=n(3440);const T=new TextEncoder;class File extends o{constructor(e,t,n={}){p.argumentLengthCheck(arguments,2,{header:"File constructor"});e=p.converters["sequence"](e);t=p.converters.USVString(t);n=p.converters.FilePropertyBag(n);const o=t;let i=n.type;let A;e:{if(i){i=C(i);if(i==="failure"){i="";break e}i=S(i).toLowerCase()}A=n.lastModified}super(processBlobParts(e,n),{type:i});this[c]={name:o,lastModified:A,type:i}}get name(){p.brandCheck(this,File);return this[c].name}get lastModified(){p.brandCheck(this,File);return this[c].lastModified}get type(){p.brandCheck(this,File);return this[c].type}}class FileLike{constructor(e,t,n={}){const o=t;const i=n.type;const A=n.lastModified??Date.now();this[c]={blobLike:e,name:o,type:i,lastModified:A}}stream(...e){p.brandCheck(this,FileLike);return this[c].blobLike.stream(...e)}arrayBuffer(...e){p.brandCheck(this,FileLike);return this[c].blobLike.arrayBuffer(...e)}slice(...e){p.brandCheck(this,FileLike);return this[c].blobLike.slice(...e)}text(...e){p.brandCheck(this,FileLike);return this[c].blobLike.text(...e)}get size(){p.brandCheck(this,FileLike);return this[c].blobLike.size}get type(){p.brandCheck(this,FileLike);return this[c].blobLike.type}get name(){p.brandCheck(this,FileLike);return this[c].name}get lastModified(){p.brandCheck(this,FileLike);return this[c].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:v,lastModified:v});p.converters.Blob=p.interfaceConverter(o);p.converters.BlobPart=function(e,t){if(p.util.Type(e)==="Object"){if(d(e)){return p.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||A.isAnyArrayBuffer(e)){return p.converters.BufferSource(e,t)}}return p.converters.USVString(e,t)};p.converters["sequence"]=p.sequenceConverter(p.converters.BlobPart);p.converters.FilePropertyBag=p.dictionaryConverter([{key:"lastModified",converter:p.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:p.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>{e=p.converters.DOMString(e);e=e.toLowerCase();if(e!=="native"){e="transparent"}return e},defaultValue:"transparent"}]);function processBlobParts(e,t){const n=[];for(const o of e){if(typeof o==="string"){let e=o;if(t.endings==="native"){e=convertLineEndingsNative(e)}n.push(T.encode(e))}else if(A.isAnyArrayBuffer(o)||A.isTypedArray(o)){if(!o.buffer){n.push(new Uint8Array(o))}else{n.push(new Uint8Array(o.buffer,o.byteOffset,o.byteLength))}}else if(d(o)){n.push(o)}}return n}function convertLineEndingsNative(e){let t="\n";if(process.platform==="win32"){t="\r\n"}return e.replace(/\r?\n/g,t)}function isFileLike(e){return i&&e instanceof i||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},43073:(e,t,n)=>{const{isBlobLike:o,toUSVString:i,makeIterator:A}=n(15523);const{kState:c}=n(89710);const{File:d,FileLike:p,isFileLike:C}=n(63041);const{webidl:S}=n(74222);const{Blob:v,File:T}=n(20181);const _=T??d;class FormData{constructor(e){if(e!==undefined){throw S.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[c]=[]}append(e,t,n=undefined){S.brandCheck(this,FormData);S.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!o(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=S.converters.USVString(e);t=o(t)?S.converters.Blob(t,{strict:false}):S.converters.USVString(t);n=arguments.length===3?S.converters.USVString(n):undefined;const i=makeEntry(e,t,n);this[c].push(i)}delete(e){S.brandCheck(this,FormData);S.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=S.converters.USVString(e);this[c]=this[c].filter((t=>t.name!==e))}get(e){S.brandCheck(this,FormData);S.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=S.converters.USVString(e);const t=this[c].findIndex((t=>t.name===e));if(t===-1){return null}return this[c][t].value}getAll(e){S.brandCheck(this,FormData);S.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=S.converters.USVString(e);return this[c].filter((t=>t.name===e)).map((e=>e.value))}has(e){S.brandCheck(this,FormData);S.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=S.converters.USVString(e);return this[c].findIndex((t=>t.name===e))!==-1}set(e,t,n=undefined){S.brandCheck(this,FormData);S.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!o(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=S.converters.USVString(e);t=o(t)?S.converters.Blob(t,{strict:false}):S.converters.USVString(t);n=arguments.length===3?i(n):undefined;const A=makeEntry(e,t,n);const d=this[c].findIndex((t=>t.name===e));if(d!==-1){this[c]=[...this[c].slice(0,d),A,...this[c].slice(d+1).filter((t=>t.name!==e))]}else{this[c].push(A)}}entries(){S.brandCheck(this,FormData);return A((()=>this[c].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){S.brandCheck(this,FormData);return A((()=>this[c].map((e=>[e.name,e.value]))),"FormData","key")}values(){S.brandCheck(this,FormData);return A((()=>this[c].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){S.brandCheck(this,FormData);S.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[n,o]of this){e.apply(t,[o,n,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,n){e=Buffer.from(e).toString("utf8");if(typeof t==="string"){t=Buffer.from(t).toString("utf8")}else{if(!C(t)){t=t instanceof v?new _([t],"blob",{type:t.type}):new p(t,"blob",{type:t.type})}if(n!==undefined){const e={type:t.type,lastModified:t.lastModified};t=T&&t instanceof T||t instanceof d?new _([t],n,e):new p(t,n,e)}}return{name:e,value:t}}e.exports={FormData:FormData}},75628:e=>{const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const n=new URL(e);if(n.protocol!=="http:"&&n.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${n.protocol}`)}Object.defineProperty(globalThis,t,{value:n,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},26349:(e,t,n)=>{const{kHeadersList:o,kConstruct:i}=n(36443);const{kGuard:A}=n(89710);const{kEnumerableProperty:c}=n(3440);const{makeIterator:d,isValidHeaderName:p,isValidHeaderValue:C}=n(15523);const S=n(39023);const{webidl:v}=n(74222);const T=n(42613);const _=Symbol("headers map");const V=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let n=e.length;while(n>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(n-1)))--n;while(n>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&n===e.length?e:e.substring(t,n)}function fill(e,t){if(Array.isArray(t)){for(let n=0;n>","record"]})}}function appendHeader(e,t,n){n=headerValueNormalize(n);if(!p(t)){throw v.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!C(n)){throw v.errors.invalidArgument({prefix:"Headers.append",value:n,type:"header value"})}if(e[A]==="immutable"){throw new TypeError("immutable")}else if(e[A]==="request-no-cors"){}return e[o].append(t,n)}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[_]=new Map(e[_]);this[V]=e[V];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[_]=new Map(e);this[V]=null}}contains(e){e=e.toLowerCase();return this[_].has(e)}clear(){this[_].clear();this[V]=null;this.cookies=null}append(e,t){this[V]=null;const n=e.toLowerCase();const o=this[_].get(n);if(o){const e=n==="cookie"?"; ":", ";this[_].set(n,{name:o.name,value:`${o.value}${e}${t}`})}else{this[_].set(n,{name:e,value:t})}if(n==="set-cookie"){this.cookies??=[];this.cookies.push(t)}}set(e,t){this[V]=null;const n=e.toLowerCase();if(n==="set-cookie"){this.cookies=[t]}this[_].set(n,{name:e,value:t})}delete(e){this[V]=null;e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[_].delete(e)}get(e){const t=this[_].get(e.toLowerCase());return t===undefined?null:t.value}*[Symbol.iterator](){for(const[e,{value:t}]of this[_]){yield[e,t]}}get entries(){const e={};if(this[_].size){for(const{name:t,value:n}of this[_].values()){e[t]=n}}return e}}class Headers{constructor(e=undefined){if(e===i){return}this[o]=new HeadersList;this[A]="none";if(e!==undefined){e=v.converters.HeadersInit(e);fill(this,e)}}append(e,t){v.brandCheck(this,Headers);v.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=v.converters.ByteString(e);t=v.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){v.brandCheck(this,Headers);v.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=v.converters.ByteString(e);if(!p(e)){throw v.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[A]==="immutable"){throw new TypeError("immutable")}else if(this[A]==="request-no-cors"){}if(!this[o].contains(e)){return}this[o].delete(e)}get(e){v.brandCheck(this,Headers);v.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=v.converters.ByteString(e);if(!p(e)){throw v.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[o].get(e)}has(e){v.brandCheck(this,Headers);v.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=v.converters.ByteString(e);if(!p(e)){throw v.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[o].contains(e)}set(e,t){v.brandCheck(this,Headers);v.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=v.converters.ByteString(e);t=v.converters.ByteString(t);t=headerValueNormalize(t);if(!p(e)){throw v.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!C(t)){throw v.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[A]==="immutable"){throw new TypeError("immutable")}else if(this[A]==="request-no-cors"){}this[o].set(e,t)}getSetCookie(){v.brandCheck(this,Headers);const e=this[o].cookies;if(e){return[...e]}return[]}get[V](){if(this[o][V]){return this[o][V]}const e=[];const t=[...this[o]].sort(((e,t)=>e[0]e),"Headers","key")}return d((()=>[...this[V].values()]),"Headers","key")}values(){v.brandCheck(this,Headers);if(this[A]==="immutable"){const e=this[V];return d((()=>e),"Headers","value")}return d((()=>[...this[V].values()]),"Headers","value")}entries(){v.brandCheck(this,Headers);if(this[A]==="immutable"){const e=this[V];return d((()=>e),"Headers","key+value")}return d((()=>[...this[V].values()]),"Headers","key+value")}forEach(e,t=globalThis){v.brandCheck(this,Headers);v.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[n,o]of this){e.apply(t,[o,n,this])}}[Symbol.for("nodejs.util.inspect.custom")](){v.brandCheck(this,Headers);return this[o]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:c,delete:c,get:c,has:c,set:c,getSetCookie:c,keys:c,values:c,entries:c,forEach:c,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true},[S.inspect.custom]:{enumerable:false}});v.converters.HeadersInit=function(e){if(v.util.Type(e)==="Object"){if(e[Symbol.iterator]){return v.converters["sequence>"](e)}return v.converters["record"](e)}throw v.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},12315:(e,t,n)=>{const{Response:o,makeNetworkError:i,makeAppropriateNetworkError:A,filterResponse:c,makeResponse:d}=n(48676);const{Headers:p}=n(26349);const{Request:C,makeRequest:S}=n(25194);const v=n(43106);const{bytesMatch:T,makePolicyContainer:_,clonePolicyContainer:V,requestBadPort:Z,TAOCheck:ee,appendRequestOriginHeader:te,responseLocationURL:re,requestCurrentURL:ne,setRequestReferrerPolicyOnRedirect:oe,tryUpgradeRequestToAPotentiallyTrustworthyURL:ie,createOpaqueTimingInfo:se,appendFetchMetadata:ae,corsCheck:Ae,crossOriginResourcePolicyCheck:ce,determineRequestsReferrer:le,coarsenedSharedCurrentTime:ue,createDeferredPromise:de,isBlobLike:pe,sameOrigin:ge,isCancelled:me,isAborted:he,isErrorLike:fe,fullyReadBody:ye,readableStreamClose:Ce,isomorphicEncode:Ee,urlIsLocal:Be,urlIsHttpHttpsScheme:Ie,urlHasHttpsScheme:be}=n(15523);const{kState:Qe,kHeaders:Se,kGuard:Ne,kRealm:Re}=n(89710);const we=n(42613);const{safelyExtractBody:ve}=n(8923);const{redirectStatusSet:xe,nullBodyStatus:Pe,safeMethodsSet:De,requestBodyHeader:ke,subresourceSet:Te,DOMException:Oe}=n(87326);const{kHeadersList:Me}=n(36443);const Le=n(24434);const{Readable:Fe,pipeline:Ue}=n(2203);const{addAbortListener:_e,isErrored:He,isReadable:qe,nodeMajor:ze,nodeMinor:Ve}=n(3440);const{dataURLProcessor:Ge,serializeAMimeType:je}=n(94322);const{TransformStream:Ye}=n(63774);const{getGlobalDispatcher:Je}=n(32581);const{webidl:We}=n(74222);const{STATUS_CODES:Ke}=n(58611);const $e=["GET","HEAD"];let Xe;let Ze=globalThis.ReadableStream;class Fetch extends Le{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new Oe("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,t={}){We.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const n=de();let i;try{i=new C(e,t)}catch(e){n.reject(e);return n.promise}const A=i[Qe];if(i.signal.aborted){abortFetch(n,A,null,i.signal.reason);return n.promise}const c=A.client.globalObject;if(c?.constructor?.name==="ServiceWorkerGlobalScope"){A.serviceWorkers="none"}let d=null;const p=null;let S=false;let v=null;_e(i.signal,(()=>{S=true;we(v!=null);v.abort(i.signal.reason);abortFetch(n,A,d,i.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(S){return Promise.resolve()}if(e.aborted){abortFetch(n,A,d,v.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){n.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}d=new o;d[Qe]=e;d[Re]=p;d[Se][Me]=e.headersList;d[Se][Ne]="immutable";d[Se][Re]=p;n.resolve(d)};v=fetching({request:A,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??Je()});return n.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const n=e.urlList[0];let o=e.timingInfo;let i=e.cacheState;if(!Ie(n)){return}if(o===null){return}if(!e.timingAllowPassed){o=se({startTime:o.startTime});i=""}o.endTime=ue();e.timingInfo=o;markResourceTiming(o,n,t,globalThis,i)}function markResourceTiming(e,t,n,o,i){if(ze>18||ze===18&&Ve>=2){performance.markResourceTiming(e,t.href,n,o,i)}}function abortFetch(e,t,n,o){if(!o){o=new Oe("The operation was aborted.","AbortError")}e.reject(o);if(t.body!=null&&qe(t.body?.stream)){t.body.stream.cancel(o).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(n==null){return}const i=n[Qe];if(i.body!=null&&qe(i.body?.stream)){i.body.stream.cancel(o).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:o,processResponseEndOfBody:i,processResponseConsumeBody:A,useParallelQueue:c=false,dispatcher:d}){let p=null;let C=false;if(e.client!=null){p=e.client.globalObject;C=e.client.crossOriginIsolatedCapability}const S=ue(C);const v=se({startTime:S});const T={controller:new Fetch(d),request:e,timingInfo:v,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:o,processResponseConsumeBody:A,processResponseEndOfBody:i,taskDestination:p,crossOriginIsolatedCapability:C};we(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client?.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=V(e.client.policyContainer)}else{e.policyContainer=_()}}if(!e.headersList.contains("accept")){const t="*/*";e.headersList.append("accept",t)}if(!e.headersList.contains("accept-language")){e.headersList.append("accept-language","*")}if(e.priority===null){}if(Te.has(e.destination)){}mainFetch(T).catch((e=>{T.controller.terminate(e)}));return T.controller}async function mainFetch(e,t=false){const n=e.request;let o=null;if(n.localURLsOnly&&!Be(ne(n))){o=i("local URLs only")}ie(n);if(Z(n)==="blocked"){o=i("bad port")}if(n.referrerPolicy===""){n.referrerPolicy=n.policyContainer.referrerPolicy}if(n.referrer!=="no-referrer"){n.referrer=le(n)}if(o===null){o=await(async()=>{const t=ne(n);if(ge(t,n.url)&&n.responseTainting==="basic"||t.protocol==="data:"||(n.mode==="navigate"||n.mode==="websocket")){n.responseTainting="basic";return await schemeFetch(e)}if(n.mode==="same-origin"){return i('request mode cannot be "same-origin"')}if(n.mode==="no-cors"){if(n.redirect!=="follow"){return i('redirect mode cannot be "follow" for "no-cors" request')}n.responseTainting="opaque";return await schemeFetch(e)}if(!Ie(ne(n))){return i("URL scheme must be a HTTP(S) scheme")}n.responseTainting="cors";return await httpFetch(e)})()}if(t){return o}if(o.status!==0&&!o.internalResponse){if(n.responseTainting==="cors"){}if(n.responseTainting==="basic"){o=c(o,"basic")}else if(n.responseTainting==="cors"){o=c(o,"cors")}else if(n.responseTainting==="opaque"){o=c(o,"opaque")}else{we(false)}}let A=o.status===0?o:o.internalResponse;if(A.urlList.length===0){A.urlList.push(...n.urlList)}if(!n.timingAllowFailed){o.timingAllowPassed=true}if(o.type==="opaque"&&A.status===206&&A.rangeRequested&&!n.headers.contains("range")){o=A=i()}if(o.status!==0&&(n.method==="HEAD"||n.method==="CONNECT"||Pe.includes(A.status))){A.body=null;e.controller.dump=true}if(n.integrity){const processBodyError=t=>fetchFinale(e,i(t));if(n.responseTainting==="opaque"||o.body==null){processBodyError(o.error);return}const processBody=t=>{if(!T(t,n.integrity)){processBodyError("integrity mismatch");return}o.body=ve(t)[0];fetchFinale(e,o)};await ye(o.body,processBody,processBodyError)}else{fetchFinale(e,o)}}function schemeFetch(e){if(me(e)&&e.request.redirectCount===0){return Promise.resolve(A(e))}const{request:t}=e;const{protocol:o}=ne(t);switch(o){case"about:":{return Promise.resolve(i("about scheme is not supported"))}case"blob:":{if(!Xe){Xe=n(20181).resolveObjectURL}const e=ne(t);if(e.search.length!==0){return Promise.resolve(i("NetworkError when attempting to fetch resource."))}const o=Xe(e.toString());if(t.method!=="GET"||!pe(o)){return Promise.resolve(i("invalid method"))}const A=ve(o);const c=A[0];const p=Ee(`${c.length}`);const C=A[1]??"";const S=d({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:p}],["content-type",{name:"Content-Type",value:C}]]});S.body=c;return Promise.resolve(S)}case"data:":{const e=ne(t);const n=Ge(e);if(n==="failure"){return Promise.resolve(i("failed to fetch the data URL"))}const o=je(n.mimeType);return Promise.resolve(d({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:o}]],body:ve(n.body)[0]}))}case"file:":{return Promise.resolve(i("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>i(e)))}default:{return Promise.resolve(i("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(t)))}}function fetchFinale(e,t){if(t.type==="error"){t.urlList=[e.request.urlList[0]];t.timingInfo=se({startTime:e.timingInfo.startTime})}const processResponseEndOfBody=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}};if(e.processResponse!=null){queueMicrotask((()=>e.processResponse(t)))}if(t.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(e,t)=>{t.enqueue(e)};const e=new Ye({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(e)}}if(e.processResponseConsumeBody!=null){const processBody=n=>e.processResponseConsumeBody(t,n);const processBodyError=n=>e.processResponseConsumeBody(t,n);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return ye(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let n=null;let o=null;const A=e.timingInfo;if(t.serviceWorkers==="all"){}if(n===null){if(t.redirect==="follow"){t.serviceWorkers="none"}o=n=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&Ae(t,n)==="failure"){return i("cors failure")}if(ee(t,n)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||n.type==="opaque")&&ce(t.origin,t.client,t.destination,o)==="blocked"){return i("blocked")}if(xe.has(o.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){n=i("unexpected redirect")}else if(t.redirect==="manual"){n=o}else if(t.redirect==="follow"){n=await httpRedirectFetch(e,n)}else{we(false)}}n.timingInfo=A;return n}function httpRedirectFetch(e,t){const n=e.request;const o=t.internalResponse?t.internalResponse:t;let A;try{A=re(o,ne(n).hash);if(A==null){return t}}catch(e){return Promise.resolve(i(e))}if(!Ie(A)){return Promise.resolve(i("URL scheme must be a HTTP(S) scheme"))}if(n.redirectCount===20){return Promise.resolve(i("redirect count exceeded"))}n.redirectCount+=1;if(n.mode==="cors"&&(A.username||A.password)&&!ge(n,A)){return Promise.resolve(i('cross origin not allowed for request mode "cors"'))}if(n.responseTainting==="cors"&&(A.username||A.password)){return Promise.resolve(i('URL cannot contain credentials for request mode "cors"'))}if(o.status!==303&&n.body!=null&&n.body.source==null){return Promise.resolve(i())}if([301,302].includes(o.status)&&n.method==="POST"||o.status===303&&!$e.includes(n.method)){n.method="GET";n.body=null;for(const e of ke){n.headersList.delete(e)}}if(!ge(ne(n),A)){n.headersList.delete("authorization");n.headersList.delete("proxy-authorization",true);n.headersList.delete("cookie");n.headersList.delete("host")}if(n.body!=null){we(n.body.source!=null);n.body=ve(n.body.source)[0]}const c=e.timingInfo;c.redirectEndTime=c.postRedirectStartTime=ue(e.crossOriginIsolatedCapability);if(c.redirectStartTime===0){c.redirectStartTime=c.startTime}n.urlList.push(A);oe(n,o);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,n=false){const o=e.request;let c=null;let d=null;let p=null;const C=null;const v=false;if(o.window==="no-window"&&o.redirect==="error"){c=e;d=o}else{d=S(o);c={...e};c.request=d}const T=o.credentials==="include"||o.credentials==="same-origin"&&o.responseTainting==="basic";const _=d.body?d.body.length:null;let V=null;if(d.body==null&&["POST","PUT"].includes(d.method)){V="0"}if(_!=null){V=Ee(`${_}`)}if(V!=null){d.headersList.append("content-length",V)}if(_!=null&&d.keepalive){}if(d.referrer instanceof URL){d.headersList.append("referer",Ee(d.referrer.href))}te(d);ae(d);if(!d.headersList.contains("user-agent")){d.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(d.cache==="default"&&(d.headersList.contains("if-modified-since")||d.headersList.contains("if-none-match")||d.headersList.contains("if-unmodified-since")||d.headersList.contains("if-match")||d.headersList.contains("if-range"))){d.cache="no-store"}if(d.cache==="no-cache"&&!d.preventNoCacheCacheControlHeaderModification&&!d.headersList.contains("cache-control")){d.headersList.append("cache-control","max-age=0")}if(d.cache==="no-store"||d.cache==="reload"){if(!d.headersList.contains("pragma")){d.headersList.append("pragma","no-cache")}if(!d.headersList.contains("cache-control")){d.headersList.append("cache-control","no-cache")}}if(d.headersList.contains("range")){d.headersList.append("accept-encoding","identity")}if(!d.headersList.contains("accept-encoding")){if(be(ne(d))){d.headersList.append("accept-encoding","br, gzip, deflate")}else{d.headersList.append("accept-encoding","gzip, deflate")}}d.headersList.delete("host");if(T){}if(C==null){d.cache="no-store"}if(d.mode!=="no-store"&&d.mode!=="reload"){}if(p==null){if(d.mode==="only-if-cached"){return i("only if cached")}const e=await httpNetworkFetch(c,T,n);if(!De.has(d.method)&&e.status>=200&&e.status<=399){}if(v&&e.status===304){}if(p==null){p=e}}p.urlList=[...d.urlList];if(d.headersList.contains("range")){p.rangeRequested=true}p.requestIncludesCredentials=T;if(p.status===407){if(o.window==="no-window"){return i()}if(me(e)){return A(e)}return i("proxy authentication required")}if(p.status===421&&!n&&(o.body==null||o.body.source!=null)){if(me(e)){return A(e)}e.controller.connection.destroy();p=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return p}async function httpNetworkFetch(e,t=false,o=false){we(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e){if(!this.destroyed){this.destroyed=true;this.abort?.(e??new Oe("The operation was aborted.","AbortError"))}}};const c=e.request;let C=null;const S=e.timingInfo;const T=null;if(T==null){c.cache="no-store"}const _=o?"yes":"no";if(c.mode==="websocket"){}else{}let V=null;if(c.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(c.body!=null){const processBodyChunk=async function*(t){if(me(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(me(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(me(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};V=async function*(){try{for await(const e of c.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:n,statusText:o,headersList:i,socket:A}=await dispatch({body:V});if(A){C=d({status:n,statusText:o,headersList:i,socket:A})}else{const A=t[Symbol.asyncIterator]();e.controller.next=()=>A.next();C=d({status:n,statusText:o,headersList:i})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return A(e,t)}return i(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!Ze){Ze=n(63774).ReadableStream}const Z=new Ze({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)}},{highWaterMark:0,size(){return 1}});C.body={stream:Z};e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let n;try{const{done:n,value:o}=await e.controller.next();if(he(e)){break}t=n?undefined:o}catch(o){if(e.controller.ended&&!S.encodedBodySize){t=undefined}else{t=o;n=true}}if(t===undefined){Ce(e.controller.controller);finalizeResponse(e,C);return}S.decodedBodySize+=t?.byteLength??0;if(n){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(He(Z)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(he(e)){C.aborted=true;if(qe(Z)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(qe(Z)){e.controller.controller.error(new TypeError("terminated",{cause:fe(t)?t:undefined}))}}e.controller.connection.destroy()}return C;async function dispatch({body:t}){const n=ne(c);const o=e.controller.dispatcher;return new Promise(((i,A)=>o.dispatch({path:n.pathname+n.search,origin:n.origin,method:c.method,body:e.controller.dispatcher.isMockActive?c.body&&(c.body.source||c.body.stream):t,headers:c.headersList.entries,maxRedirections:0,upgrade:c.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:n}=e.controller;if(n.destroyed){t(new Oe("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=n.abort=t}},onHeaders(e,t,n,o){if(e<200){return}let A=[];let d="";const C=new p;if(Array.isArray(t)){for(let e=0;ee.trim()))}else if(n.toLowerCase()==="location"){d=o}C[Me].append(n,o)}}else{const e=Object.keys(t);for(const n of e){const e=t[n];if(n.toLowerCase()==="content-encoding"){A=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(n.toLowerCase()==="location"){d=e}C[Me].append(n,e)}}this.body=new Fe({read:n});const S=[];const T=c.redirect==="follow"&&d&&xe.has(e);if(c.method!=="HEAD"&&c.method!=="CONNECT"&&!Pe.includes(e)&&!T){for(const e of A){if(e==="x-gzip"||e==="gzip"){S.push(v.createGunzip({flush:v.constants.Z_SYNC_FLUSH,finishFlush:v.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){S.push(v.createInflate())}else if(e==="br"){S.push(v.createBrotliDecompress())}else{S.length=0;break}}}i({status:e,statusText:o,headersList:C[Me],body:S.length?Ue(this.body,...S,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const n=t;S.encodedBodySize+=n.byteLength;return this.body.push(n)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);A(t)},onUpgrade(e,t,n){if(e!==101){return}const o=new p;for(let e=0;e{const{extractBody:o,mixinBody:i,cloneBody:A}=n(8923);const{Headers:c,fill:d,HeadersList:p}=n(26349);const{FinalizationRegistry:C}=n(13194)();const S=n(3440);const{isValidHTTPToken:v,sameOrigin:T,normalizeMethod:_,makePolicyContainer:V,normalizeMethodRecord:Z}=n(15523);const{forbiddenMethodsSet:ee,corsSafeListedMethodsSet:te,referrerPolicy:re,requestRedirect:ne,requestMode:oe,requestCredentials:ie,requestCache:se,requestDuplex:ae}=n(87326);const{kEnumerableProperty:Ae}=S;const{kHeaders:ce,kSignal:le,kState:ue,kGuard:de,kRealm:pe}=n(89710);const{webidl:ge}=n(74222);const{getGlobalOrigin:me}=n(75628);const{URLSerializer:he}=n(94322);const{kHeadersList:fe,kConstruct:ye}=n(36443);const Ce=n(42613);const{getMaxListeners:Ee,setMaxListeners:Be,getEventListeners:Ie,defaultMaxListeners:be}=n(24434);let Qe=globalThis.TransformStream;const Se=Symbol("abortController");const Ne=new C((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===ye){return}ge.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=ge.converters.RequestInfo(e);t=ge.converters.RequestInit(t);this[pe]={settingsObject:{baseUrl:me(),get origin(){return this.baseUrl?.origin},policyContainer:V()}};let i=null;let A=null;const C=this[pe].settingsObject.baseUrl;let re=null;if(typeof e==="string"){let t;try{t=new URL(e,C)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(t.username||t.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}i=makeRequest({urlList:[t]});A="cors"}else{Ce(e instanceof Request);i=e[ue];re=e[le]}const ne=this[pe].settingsObject.origin;let oe="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&T(i.window,ne)){oe=i.window}if(t.window!=null){throw new TypeError(`'window' option '${oe}' must be null`)}if("window"in t){oe="no-window"}i=makeRequest({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:this[pe].settingsObject,window:oe,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});const ie=Object.keys(t).length!==0;if(ie){if(i.mode==="navigate"){i.mode="same-origin"}i.reloadNavigation=false;i.historyNavigation=false;i.origin="client";i.referrer="client";i.referrerPolicy="";i.url=i.urlList[i.urlList.length-1];i.urlList=[i.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){i.referrer="no-referrer"}else{let t;try{t=new URL(e,C)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||ne&&!T(t,this[pe].settingsObject.baseUrl)){i.referrer="client"}else{i.referrer=t}}}if(t.referrerPolicy!==undefined){i.referrerPolicy=t.referrerPolicy}let se;if(t.mode!==undefined){se=t.mode}else{se=A}if(se==="navigate"){throw ge.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(se!=null){i.mode=se}if(t.credentials!==undefined){i.credentials=t.credentials}if(t.cache!==undefined){i.cache=t.cache}if(i.cache==="only-if-cached"&&i.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){i.redirect=t.redirect}if(t.integrity!=null){i.integrity=String(t.integrity)}if(t.keepalive!==undefined){i.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!v(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(ee.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=Z[e]??_(e);i.method=e}if(t.signal!==undefined){re=t.signal}this[ue]=i;const ae=new AbortController;this[le]=ae.signal;this[le][pe]=this[pe];if(re!=null){if(!re||typeof re.aborted!=="boolean"||typeof re.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(re.aborted){ae.abort(re.reason)}else{this[Se]=ae;const e=new WeakRef(ae);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof Ee==="function"&&Ee(re)===be){Be(100,re)}else if(Ie(re,"abort").length>=be){Be(100,re)}}catch{}S.addAbortListener(re,abort);Ne.register(ae,{signal:re,abort:abort})}}this[ce]=new c(ye);this[ce][fe]=i.headersList;this[ce][de]="request";this[ce][pe]=this[pe];if(se==="no-cors"){if(!te.has(i.method)){throw new TypeError(`'${i.method} is unsupported in no-cors mode.`)}this[ce][de]="request-no-cors"}if(ie){const e=this[ce][fe];const n=t.headers!==undefined?t.headers:new p(e);e.clear();if(n instanceof p){for(const[t,o]of n){e.append(t,o)}e.cookies=n.cookies}else{d(this[ce],n)}}const Ae=e instanceof Request?e[ue].body:null;if((t.body!=null||Ae!=null)&&(i.method==="GET"||i.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let he=null;if(t.body!=null){const[e,n]=o(t.body,i.keepalive);he=e;if(n&&!this[ce][fe].contains("content-type")){this[ce].append("content-type",n)}}const Re=he??Ae;if(Re!=null&&Re.source==null){if(he!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(i.mode!=="same-origin"&&i.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}i.useCORSPreflightFlag=true}let we=Re;if(he==null&&Ae!=null){if(S.isDisturbed(Ae.stream)||Ae.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!Qe){Qe=n(63774).TransformStream}const e=new Qe;Ae.stream.pipeThrough(e);we={source:Ae.source,length:Ae.length,stream:e.readable}}this[ue].body=we}get method(){ge.brandCheck(this,Request);return this[ue].method}get url(){ge.brandCheck(this,Request);return he(this[ue].url)}get headers(){ge.brandCheck(this,Request);return this[ce]}get destination(){ge.brandCheck(this,Request);return this[ue].destination}get referrer(){ge.brandCheck(this,Request);if(this[ue].referrer==="no-referrer"){return""}if(this[ue].referrer==="client"){return"about:client"}return this[ue].referrer.toString()}get referrerPolicy(){ge.brandCheck(this,Request);return this[ue].referrerPolicy}get mode(){ge.brandCheck(this,Request);return this[ue].mode}get credentials(){return this[ue].credentials}get cache(){ge.brandCheck(this,Request);return this[ue].cache}get redirect(){ge.brandCheck(this,Request);return this[ue].redirect}get integrity(){ge.brandCheck(this,Request);return this[ue].integrity}get keepalive(){ge.brandCheck(this,Request);return this[ue].keepalive}get isReloadNavigation(){ge.brandCheck(this,Request);return this[ue].reloadNavigation}get isHistoryNavigation(){ge.brandCheck(this,Request);return this[ue].historyNavigation}get signal(){ge.brandCheck(this,Request);return this[le]}get body(){ge.brandCheck(this,Request);return this[ue].body?this[ue].body.stream:null}get bodyUsed(){ge.brandCheck(this,Request);return!!this[ue].body&&S.isDisturbed(this[ue].body.stream)}get duplex(){ge.brandCheck(this,Request);return"half"}clone(){ge.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[ue]);const t=new Request(ye);t[ue]=e;t[pe]=this[pe];t[ce]=new c(ye);t[ce][fe]=e.headersList;t[ce][de]=this[ce][de];t[ce][pe]=this[ce][pe];const n=new AbortController;if(this.signal.aborted){n.abort(this.signal.reason)}else{S.addAbortListener(this.signal,(()=>{n.abort(this.signal.reason)}))}t[le]=n.signal;return t}}i(Request);function makeRequest(e){const t={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...e,headersList:e.headersList?new p(e.headersList):new p};t.url=t.urlList[0];return t}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=A(e.body)}return t}Object.defineProperties(Request.prototype,{method:Ae,url:Ae,headers:Ae,redirect:Ae,clone:Ae,signal:Ae,duplex:Ae,destination:Ae,body:Ae,bodyUsed:Ae,isHistoryNavigation:Ae,isReloadNavigation:Ae,keepalive:Ae,integrity:Ae,cache:Ae,credentials:Ae,attribute:Ae,referrerPolicy:Ae,referrer:Ae,mode:Ae,[Symbol.toStringTag]:{value:"Request",configurable:true}});ge.converters.Request=ge.interfaceConverter(Request);ge.converters.RequestInfo=function(e){if(typeof e==="string"){return ge.converters.USVString(e)}if(e instanceof Request){return ge.converters.Request(e)}return ge.converters.USVString(e)};ge.converters.AbortSignal=ge.interfaceConverter(AbortSignal);ge.converters.RequestInit=ge.dictionaryConverter([{key:"method",converter:ge.converters.ByteString},{key:"headers",converter:ge.converters.HeadersInit},{key:"body",converter:ge.nullableConverter(ge.converters.BodyInit)},{key:"referrer",converter:ge.converters.USVString},{key:"referrerPolicy",converter:ge.converters.DOMString,allowedValues:re},{key:"mode",converter:ge.converters.DOMString,allowedValues:oe},{key:"credentials",converter:ge.converters.DOMString,allowedValues:ie},{key:"cache",converter:ge.converters.DOMString,allowedValues:se},{key:"redirect",converter:ge.converters.DOMString,allowedValues:ne},{key:"integrity",converter:ge.converters.DOMString},{key:"keepalive",converter:ge.converters.boolean},{key:"signal",converter:ge.nullableConverter((e=>ge.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:ge.converters.any},{key:"duplex",converter:ge.converters.DOMString,allowedValues:ae}]);e.exports={Request:Request,makeRequest:makeRequest}},48676:(e,t,n)=>{const{Headers:o,HeadersList:i,fill:A}=n(26349);const{extractBody:c,cloneBody:d,mixinBody:p}=n(8923);const C=n(3440);const{kEnumerableProperty:S}=C;const{isValidReasonPhrase:v,isCancelled:T,isAborted:_,isBlobLike:V,serializeJavascriptValueToJSONString:Z,isErrorLike:ee,isomorphicEncode:te}=n(15523);const{redirectStatusSet:re,nullBodyStatus:ne,DOMException:oe}=n(87326);const{kState:ie,kHeaders:se,kGuard:ae,kRealm:Ae}=n(89710);const{webidl:ce}=n(74222);const{FormData:le}=n(43073);const{getGlobalOrigin:ue}=n(75628);const{URLSerializer:de}=n(94322);const{kHeadersList:pe,kConstruct:ge}=n(36443);const me=n(42613);const{types:he}=n(39023);const fe=globalThis.ReadableStream||n(63774).ReadableStream;const ye=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[ie]=makeNetworkError();t[Ae]=e;t[se][pe]=t[ie].headersList;t[se][ae]="immutable";t[se][Ae]=e;return t}static json(e,t={}){ce.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=ce.converters.ResponseInit(t)}const n=ye.encode(Z(e));const o=c(n);const i={settingsObject:{}};const A=new Response;A[Ae]=i;A[se][ae]="response";A[se][Ae]=i;initializeResponse(A,t,{body:o[0],type:"application/json"});return A}static redirect(e,t=302){const n={settingsObject:{}};ce.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=ce.converters.USVString(e);t=ce.converters["unsigned short"](t);let o;try{o=new URL(e,ue())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!re.has(t)){throw new RangeError("Invalid status code "+t)}const i=new Response;i[Ae]=n;i[se][ae]="immutable";i[se][Ae]=n;i[ie].status=t;const A=te(de(o));i[ie].headersList.append("location",A);return i}constructor(e=null,t={}){if(e!==null){e=ce.converters.BodyInit(e)}t=ce.converters.ResponseInit(t);this[Ae]={settingsObject:{}};this[ie]=makeResponse({});this[se]=new o(ge);this[se][ae]="response";this[se][pe]=this[ie].headersList;this[se][Ae]=this[Ae];let n=null;if(e!=null){const[t,o]=c(e);n={body:t,type:o}}initializeResponse(this,t,n)}get type(){ce.brandCheck(this,Response);return this[ie].type}get url(){ce.brandCheck(this,Response);const e=this[ie].urlList;const t=e[e.length-1]??null;if(t===null){return""}return de(t,true)}get redirected(){ce.brandCheck(this,Response);return this[ie].urlList.length>1}get status(){ce.brandCheck(this,Response);return this[ie].status}get ok(){ce.brandCheck(this,Response);return this[ie].status>=200&&this[ie].status<=299}get statusText(){ce.brandCheck(this,Response);return this[ie].statusText}get headers(){ce.brandCheck(this,Response);return this[se]}get body(){ce.brandCheck(this,Response);return this[ie].body?this[ie].body.stream:null}get bodyUsed(){ce.brandCheck(this,Response);return!!this[ie].body&&C.isDisturbed(this[ie].body.stream)}clone(){ce.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw ce.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[ie]);const t=new Response;t[ie]=e;t[Ae]=this[Ae];t[se][pe]=e.headersList;t[se][ae]=this[se][ae];t[se][Ae]=this[se][Ae];return t}}p(Response);Object.defineProperties(Response.prototype,{type:S,url:S,status:S,ok:S,redirected:S,statusText:S,headers:S,clone:S,body:S,bodyUsed:S,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:S,redirect:S,error:S});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=d(e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new i(e.headersList):new i,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=ee(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,n){return n in t?t[n]:e[n]},set(e,n,o){me(!(n in t));e[n]=o;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{me(false)}}function makeAppropriateNetworkError(e,t=null){me(T(e));return _(e)?makeNetworkError(Object.assign(new oe("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new oe("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,n){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!v(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[ie].status=t.status}if("statusText"in t&&t.statusText!=null){e[ie].statusText=t.statusText}if("headers"in t&&t.headers!=null){A(e[se],t.headers)}if(n){if(ne.includes(e.status)){throw ce.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[ie].body=n.body;if(n.type!=null&&!e[ie].headersList.contains("Content-Type")){e[ie].headersList.append("content-type",n.type)}}}ce.converters.ReadableStream=ce.interfaceConverter(fe);ce.converters.FormData=ce.interfaceConverter(le);ce.converters.URLSearchParams=ce.interfaceConverter(URLSearchParams);ce.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return ce.converters.USVString(e)}if(V(e)){return ce.converters.Blob(e,{strict:false})}if(he.isArrayBuffer(e)||he.isTypedArray(e)||he.isDataView(e)){return ce.converters.BufferSource(e)}if(C.isFormDataLike(e)){return ce.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return ce.converters.URLSearchParams(e)}return ce.converters.DOMString(e)};ce.converters.BodyInit=function(e){if(e instanceof fe){return ce.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return ce.converters.XMLHttpRequestBodyInit(e)};ce.converters.ResponseInit=ce.dictionaryConverter([{key:"status",converter:ce.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:ce.converters.ByteString,defaultValue:""},{key:"headers",converter:ce.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},89710:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},15523:(e,t,n)=>{const{redirectStatusSet:o,referrerPolicySet:i,badPortsSet:A}=n(87326);const{getGlobalOrigin:c}=n(75628);const{performance:d}=n(82987);const{isBlobLike:p,toUSVString:C,ReadableStreamFrom:S}=n(3440);const v=n(42613);const{isUint8Array:T}=n(98253);let _=[];let V;try{V=n(76982);const e=["sha256","sha384","sha512"];_=V.getHashes().filter((t=>e.includes(t)))}catch{}function responseURL(e){const t=e.urlList;const n=t.length;return n===0?null:t[n-1].toString()}function responseLocationURL(e,t){if(!o.has(e.status)){return null}let n=e.headersList.get("location");if(n!==null&&isValidHeaderValue(n)){n=new URL(n,responseURL(e))}if(n&&!n.hash){n.hash=t}return n}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&A.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t=32&&n<=126||n>=128&&n<=255)){return false}}return true}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t0){for(let e=o.length;e!==0;e--){const t=o[e-1].trim();if(i.has(t)){A=t;break}}}if(A!==""){e.referrerPolicy=A}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t)}function appendRequestOriginHeader(e){let t=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket"){if(t){e.headersList.append("origin",t)}}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}if(t){e.headersList.append("origin",t)}}}function coarsenedSharedCurrentTime(e){return d.now()}function createOpaqueTimingInfo(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(e){return{referrerPolicy:e.referrerPolicy}}function determineRequestsReferrer(e){const t=e.referrerPolicy;v(t);let n=null;if(e.referrer==="client"){const e=c();if(!e||e.origin==="null"){return"no-referrer"}n=new URL(e)}else if(e.referrer instanceof URL){n=e.referrer}let o=stripURLForReferrer(n);const i=stripURLForReferrer(n,true);if(o.toString().length>4096){o=i}const A=sameOrigin(e,o);const d=isURLPotentiallyTrustworthy(o)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return i!=null?i:stripURLForReferrer(n,true);case"unsafe-url":return o;case"same-origin":return A?i:"no-referrer";case"origin-when-cross-origin":return A?o:i;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(o,t)){return o}if(isURLPotentiallyTrustworthy(o)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return i}case"strict-origin":case"no-referrer-when-downgrade":default:return d?"no-referrer":i}}function stripURLForReferrer(e,t){v(e instanceof URL);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(V===undefined){return true}const n=parseMetadata(t);if(n==="no metadata"){return true}if(n.length===0){return true}const o=getStrongestMetadata(n);const i=filterMetadataListByAlgorithm(n,o);for(const t of i){const n=t.algo;const o=t.hash;let i=V.createHash(n).update(e).digest("base64");if(i[i.length-1]==="="){if(i[i.length-2]==="="){i=i.slice(0,-2)}else{i=i.slice(0,-1)}}if(compareBase64Mixed(i,o)){return true}}return false}const Z=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let n=true;for(const o of e.split(" ")){n=false;const e=Z.exec(o);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const i=e.groups.algo.toLowerCase();if(_.includes(i)){t.push(e.groups)}}if(n===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let n=1;n{e=n;t=o}));return{promise:n,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}const ee={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(ee,null);function normalizeMethod(e){return ee[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}v(typeof t==="string");return t}const te=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,n){const o={index:0,kind:n,target:e};const i={next(){if(Object.getPrototypeOf(this)!==i){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:n,target:A}=o;const c=A();const d=c.length;if(e>=d){return{value:undefined,done:true}}const p=c[e];o.index=e+1;return iteratorResult(p,n)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(i,te);return Object.setPrototypeOf({},i)}function iteratorResult(e,t){let n;switch(t){case"key":{n=e[0];break}case"value":{n=e[1];break}case"key+value":{n=e;break}}return{value:n,done:false}}async function fullyReadBody(e,t,n){const o=t;const i=n;let A;try{A=e.stream.getReader()}catch(e){i(e);return}try{const e=await readAllBytes(A);o(e)}catch(e){i(e)}}let re=globalThis.ReadableStream;function isReadableStreamLike(e){if(!re){re=n(63774).ReadableStream}return e instanceof re||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const ne=65535;function isomorphicDecode(e){if(e.lengthe+String.fromCharCode(t)),"")}function readableStreamClose(e){try{e.close()}catch(e){if(!e.message.includes("Controller is already closed")){throw e}}}function isomorphicEncode(e){for(let t=0;tObject.prototype.hasOwnProperty.call(e,t));e.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:S,toUSVString:C,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:p,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:oe,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:ee,parseMetadata:parseMetadata}},74222:(e,t,n)=>{const{types:o}=n(39023);const{hasOwn:i,toUSVString:A}=n(15523);const c={};c.converters={};c.util={};c.errors={};c.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};c.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const n=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return c.errors.exception({header:e.prefix,message:n})};c.errors.invalidArgument=function(e){return c.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};c.brandCheck=function(e,t,n=undefined){if(n?.strict!==false&&!(e instanceof t)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}};c.argumentLengthCheck=function({length:e},t,n){if(ei){throw c.errors.exception({header:"Integer conversion",message:`Value must be between ${A}-${i}, got ${d}.`})}return d}if(!Number.isNaN(d)&&o.clamp===true){d=Math.min(Math.max(d,A),i);if(Math.floor(d)%2===0){d=Math.floor(d)}else{d=Math.ceil(d)}return d}if(Number.isNaN(d)||d===0&&Object.is(0,d)||d===Number.POSITIVE_INFINITY||d===Number.NEGATIVE_INFINITY){return 0}d=c.util.IntegerPart(d);d=d%Math.pow(2,t);if(n==="signed"&&d>=Math.pow(2,t)-1){return d-Math.pow(2,t)}return d};c.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};c.sequenceConverter=function(e){return t=>{if(c.util.Type(t)!=="Object"){throw c.errors.exception({header:"Sequence",message:`Value of type ${c.util.Type(t)} is not an Object.`})}const n=t?.[Symbol.iterator]?.();const o=[];if(n===undefined||typeof n.next!=="function"){throw c.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:t,value:i}=n.next();if(t){break}o.push(e(i))}return o}};c.recordConverter=function(e,t){return n=>{if(c.util.Type(n)!=="Object"){throw c.errors.exception({header:"Record",message:`Value of type ${c.util.Type(n)} is not an Object.`})}const i={};if(!o.isProxy(n)){const o=Object.keys(n);for(const A of o){const o=e(A);const c=t(n[A]);i[o]=c}return i}const A=Reflect.ownKeys(n);for(const o of A){const A=Reflect.getOwnPropertyDescriptor(n,o);if(A?.enumerable){const A=e(o);const c=t(n[o]);i[A]=c}}return i}};c.interfaceConverter=function(e){return(t,n={})=>{if(n.strict!==false&&!(t instanceof e)){throw c.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`})}return t}};c.dictionaryConverter=function(e){return t=>{const n=c.util.Type(t);const o={};if(n==="Null"||n==="Undefined"){return o}else if(n!=="Object"){throw c.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const n of e){const{key:e,defaultValue:A,required:d,converter:p}=n;if(d===true){if(!i(t,e)){throw c.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let C=t[e];const S=i(n,"defaultValue");if(S&&C!==null){C=C??A}if(d||S||C!==undefined){C=p(C);if(n.allowedValues&&!n.allowedValues.includes(C)){throw c.errors.exception({header:"Dictionary",message:`${C} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`})}o[e]=C}}return o}};c.nullableConverter=function(e){return t=>{if(t===null){return t}return e(t)}};c.converters.DOMString=function(e,t={}){if(e===null&&t.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(e)};c.converters.ByteString=function(e){const t=c.converters.DOMString(e);for(let e=0;e255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${t.charCodeAt(e)} which is greater than 255.`)}}return t};c.converters.USVString=A;c.converters.boolean=function(e){const t=Boolean(e);return t};c.converters.any=function(e){return e};c.converters["long long"]=function(e){const t=c.util.ConvertToInt(e,64,"signed");return t};c.converters["unsigned long long"]=function(e){const t=c.util.ConvertToInt(e,64,"unsigned");return t};c.converters["unsigned long"]=function(e){const t=c.util.ConvertToInt(e,32,"unsigned");return t};c.converters["unsigned short"]=function(e,t){const n=c.util.ConvertToInt(e,16,"unsigned",t);return n};c.converters.ArrayBuffer=function(e,t={}){if(c.util.Type(e)!=="Object"||!o.isAnyArrayBuffer(e)){throw c.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&o.isSharedArrayBuffer(e)){throw c.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};c.converters.TypedArray=function(e,t,n={}){if(c.util.Type(e)!=="Object"||!o.isTypedArray(e)||e.constructor.name!==t.name){throw c.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(n.allowShared===false&&o.isSharedArrayBuffer(e.buffer)){throw c.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};c.converters.DataView=function(e,t={}){if(c.util.Type(e)!=="Object"||!o.isDataView(e)){throw c.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&o.isSharedArrayBuffer(e.buffer)){throw c.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};c.converters.BufferSource=function(e,t={}){if(o.isAnyArrayBuffer(e)){return c.converters.ArrayBuffer(e,t)}if(o.isTypedArray(e)){return c.converters.TypedArray(e,e.constructor)}if(o.isDataView(e)){return c.converters.DataView(e,t)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};c.converters["sequence"]=c.sequenceConverter(c.converters.ByteString);c.converters["sequence>"]=c.sequenceConverter(c.converters["sequence"]);c.converters["record"]=c.recordConverter(c.converters.ByteString,c.converters.ByteString);e.exports={webidl:c}},40396:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},82160:(e,t,n)=>{const{staticPropertyDescriptors:o,readOperation:i,fireAProgressEvent:A}=n(10165);const{kState:c,kError:d,kResult:p,kEvents:C,kAborted:S}=n(86812);const{webidl:v}=n(74222);const{kEnumerableProperty:T}=n(3440);class FileReader extends EventTarget{constructor(){super();this[c]="empty";this[p]=null;this[d]=null;this[C]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){v.brandCheck(this,FileReader);v.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=v.converters.Blob(e,{strict:false});i(this,e,"ArrayBuffer")}readAsBinaryString(e){v.brandCheck(this,FileReader);v.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=v.converters.Blob(e,{strict:false});i(this,e,"BinaryString")}readAsText(e,t=undefined){v.brandCheck(this,FileReader);v.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=v.converters.Blob(e,{strict:false});if(t!==undefined){t=v.converters.DOMString(t)}i(this,e,"Text",t)}readAsDataURL(e){v.brandCheck(this,FileReader);v.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=v.converters.Blob(e,{strict:false});i(this,e,"DataURL")}abort(){if(this[c]==="empty"||this[c]==="done"){this[p]=null;return}if(this[c]==="loading"){this[c]="done";this[p]=null}this[S]=true;A("abort",this);if(this[c]!=="loading"){A("loadend",this)}}get readyState(){v.brandCheck(this,FileReader);switch(this[c]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){v.brandCheck(this,FileReader);return this[p]}get error(){v.brandCheck(this,FileReader);return this[d]}get onloadend(){v.brandCheck(this,FileReader);return this[C].loadend}set onloadend(e){v.brandCheck(this,FileReader);if(this[C].loadend){this.removeEventListener("loadend",this[C].loadend)}if(typeof e==="function"){this[C].loadend=e;this.addEventListener("loadend",e)}else{this[C].loadend=null}}get onerror(){v.brandCheck(this,FileReader);return this[C].error}set onerror(e){v.brandCheck(this,FileReader);if(this[C].error){this.removeEventListener("error",this[C].error)}if(typeof e==="function"){this[C].error=e;this.addEventListener("error",e)}else{this[C].error=null}}get onloadstart(){v.brandCheck(this,FileReader);return this[C].loadstart}set onloadstart(e){v.brandCheck(this,FileReader);if(this[C].loadstart){this.removeEventListener("loadstart",this[C].loadstart)}if(typeof e==="function"){this[C].loadstart=e;this.addEventListener("loadstart",e)}else{this[C].loadstart=null}}get onprogress(){v.brandCheck(this,FileReader);return this[C].progress}set onprogress(e){v.brandCheck(this,FileReader);if(this[C].progress){this.removeEventListener("progress",this[C].progress)}if(typeof e==="function"){this[C].progress=e;this.addEventListener("progress",e)}else{this[C].progress=null}}get onload(){v.brandCheck(this,FileReader);return this[C].load}set onload(e){v.brandCheck(this,FileReader);if(this[C].load){this.removeEventListener("load",this[C].load)}if(typeof e==="function"){this[C].load=e;this.addEventListener("load",e)}else{this[C].load=null}}get onabort(){v.brandCheck(this,FileReader);return this[C].abort}set onabort(e){v.brandCheck(this,FileReader);if(this[C].abort){this.removeEventListener("abort",this[C].abort)}if(typeof e==="function"){this[C].abort=e;this.addEventListener("abort",e)}else{this[C].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:o,LOADING:o,DONE:o,readAsArrayBuffer:T,readAsBinaryString:T,readAsText:T,readAsDataURL:T,abort:T,readyState:T,result:T,error:T,onloadstart:T,onprogress:T,onload:T,onabort:T,onerror:T,onloadend:T,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:o,LOADING:o,DONE:o});e.exports={FileReader:FileReader}},15976:(e,t,n)=>{const{webidl:o}=n(74222);const i=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=o.converters.DOMString(e);t=o.converters.ProgressEventInit(t??{});super(e,t);this[i]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){o.brandCheck(this,ProgressEvent);return this[i].lengthComputable}get loaded(){o.brandCheck(this,ProgressEvent);return this[i].loaded}get total(){o.brandCheck(this,ProgressEvent);return this[i].total}}o.converters.ProgressEventInit=o.dictionaryConverter([{key:"lengthComputable",converter:o.converters.boolean,defaultValue:false},{key:"loaded",converter:o.converters["unsigned long long"],defaultValue:0},{key:"total",converter:o.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:o.converters.boolean,defaultValue:false},{key:"cancelable",converter:o.converters.boolean,defaultValue:false},{key:"composed",converter:o.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},86812:e=>{e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},10165:(e,t,n)=>{const{kState:o,kError:i,kResult:A,kAborted:c,kLastProgressEventFired:d}=n(86812);const{ProgressEvent:p}=n(15976);const{getEncoding:C}=n(40396);const{DOMException:S}=n(87326);const{serializeAMimeType:v,parseMIMEType:T}=n(94322);const{types:_}=n(39023);const{StringDecoder:V}=n(13193);const{btoa:Z}=n(20181);const ee={enumerable:true,writable:false,configurable:false};function readOperation(e,t,n,p){if(e[o]==="loading"){throw new S("Invalid state","InvalidStateError")}e[o]="loading";e[A]=null;e[i]=null;const C=t.stream();const v=C.getReader();const T=[];let V=v.read();let Z=true;(async()=>{while(!e[c]){try{const{done:C,value:S}=await V;if(Z&&!e[c]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}Z=false;if(!C&&_.isUint8Array(S)){T.push(S);if((e[d]===undefined||Date.now()-e[d]>=50)&&!e[c]){e[d]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}V=v.read()}else if(C){queueMicrotask((()=>{e[o]="done";try{const o=packageData(T,n,t.type,p);if(e[c]){return}e[A]=o;fireAProgressEvent("load",e)}catch(t){e[i]=t;fireAProgressEvent("error",e)}if(e[o]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[c]){return}queueMicrotask((()=>{e[o]="done";e[i]=t;fireAProgressEvent("error",e);if(e[o]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const n=new p(e,{bubbles:false,cancelable:false});t.dispatchEvent(n)}function packageData(e,t,n,o){switch(t){case"DataURL":{let t="data:";const o=T(n||"application/octet-stream");if(o!=="failure"){t+=v(o)}t+=";base64,";const i=new V("latin1");for(const n of e){t+=Z(i.write(n))}t+=Z(i.end());return t}case"Text":{let t="failure";if(o){t=C(o)}if(t==="failure"&&n){const e=T(n);if(e!=="failure"){t=C(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const n=new V("latin1");for(const o of e){t+=n.write(o)}t+=n.end();return t}}}function decode(e,t){const n=combineByteSequences(e);const o=BOMSniffing(n);let i=0;if(o!==null){t=o;i=o==="UTF-8"?3:2}const A=n.slice(i);return new TextDecoder(t).decode(A)}function BOMSniffing(e){const[t,n,o]=e;if(t===239&&n===187&&o===191){return"UTF-8"}else if(t===254&&n===255){return"UTF-16BE"}else if(t===255&&n===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let n=0;return e.reduce(((e,t)=>{e.set(t,n);n+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:ee,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},32581:(e,t,n)=>{const o=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:i}=n(68707);const A=n(59965);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new A)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new i("Argument agent must implement Agent")}Object.defineProperty(globalThis,o,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[o]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},78840:e=>{e.exports=class DecoratorHandler{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}},48299:(e,t,n)=>{const o=n(3440);const{kBodyUsed:i}=n(36443);const A=n(42613);const{InvalidArgumentError:c}=n(68707);const d=n(24434);const p=[300,301,302,303,307,308];const C=Symbol("body");class BodyAsyncIterable{constructor(e){this[C]=e;this[i]=false}async*[Symbol.asyncIterator](){A(!this[i],"disturbed");this[i]=true;yield*this[C]}}class RedirectHandler{constructor(e,t,n,p){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new c("maxRedirections must be a positive number")}o.validateHandler(p,n.method,n.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...n,maxRedirections:0};this.maxRedirections=t;this.handler=p;this.history=[];if(o.isStream(this.opts.body)){if(o.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){A(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[i]=false;d.prototype.on.call(this.opts.body,"data",(function(){this[i]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&o.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,n){this.handler.onUpgrade(e,t,n)}onError(e){this.handler.onError(e)}onHeaders(e,t,n,i){this.location=this.history.length>=this.maxRedirections||o.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,n,i)}const{origin:A,pathname:c,search:d}=o.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const p=d?`${c}${d}`:c;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==A);this.opts.path=p;this.opts.origin=A;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(p.indexOf(e)===-1){return null}for(let e=0;e{const o=n(42613);const{kRetryHandlerDefaultRetry:i}=n(36443);const{RequestRetryError:A}=n(68707);const{isDisturbed:c,parseHeaders:d,parseRangeHeader:p}=n(3440);function calculateRetryAfterHeader(e){const t=Date.now();const n=new Date(e).getTime()-t;return n}class RetryHandler{constructor(e,t){const{retryOptions:n,...o}=e;const{retry:A,maxRetries:c,maxTimeout:d,minTimeout:p,timeoutFactor:C,methods:S,errorCodes:v,retryAfter:T,statusCodes:_}=n??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=o;this.abort=null;this.aborted=false;this.retryOpts={retry:A??RetryHandler[i],retryAfter:T??true,maxTimeout:d??30*1e3,timeout:p??500,timeoutFactor:C??2,maxRetries:c??5,methods:S??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:_??[500,502,503,504,429],errorCodes:v??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,n){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,n)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[i](e,{state:t,opts:n},o){const{statusCode:i,code:A,headers:c}=e;const{method:d,retryOptions:p}=n;const{maxRetries:C,timeout:S,maxTimeout:v,timeoutFactor:T,statusCodes:_,errorCodes:V,methods:Z}=p;let{counter:ee,currentTimeout:te}=t;te=te!=null&&te>0?te:S;if(A&&A!=="UND_ERR_REQ_RETRY"&&A!=="UND_ERR_SOCKET"&&!V.includes(A)){o(e);return}if(Array.isArray(Z)&&!Z.includes(d)){o(e);return}if(i!=null&&Array.isArray(_)&&!_.includes(i)){o(e);return}if(ee>C){o(e);return}let re=c!=null&&c["retry-after"];if(re){re=Number(re);re=isNaN(re)?calculateRetryAfterHeader(re):re*1e3}const ne=re>0?Math.min(re,v):Math.min(te*T**ee,v);t.currentTimeout=ne;setTimeout((()=>o(null)),ne)}onHeaders(e,t,n,i){const c=d(t);this.retryCount+=1;if(e>=300){this.abort(new A("Request failed",e,{headers:c,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const t=p(c["content-range"]);if(!t){this.abort(new A("Content-Range mismatch",e,{headers:c,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==c.etag){this.abort(new A("ETag mismatch",e,{headers:c,count:this.retryCount}));return false}const{start:i,size:d,end:C=d}=t;o(this.start===i,"content-range mismatch");o(this.end==null||this.end===C,"content-range mismatch");this.resume=n;return true}if(this.end==null){if(e===206){const A=p(c["content-range"]);if(A==null){return this.handler.onHeaders(e,t,n,i)}const{start:d,size:C,end:S=C}=A;o(d!=null&&Number.isFinite(d)&&this.start!==d,"content-range mismatch");o(Number.isFinite(d));o(S!=null&&Number.isFinite(S)&&this.end!==S,"invalid content-length");this.start=d;this.end=S}if(this.end==null){const e=c["content-length"];this.end=e!=null?Number(e):null}o(Number.isFinite(this.start));o(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=n;this.etag=c.etag!=null?c.etag:null;return this.handler.onHeaders(e,t,n,i)}const C=new A("Request failed",e,{headers:c,count:this.retryCount});this.abort(C);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||c(this.opts.body)){return this.handler.onError(e)}this.retryOpts.retry(e,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||c(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},64415:(e,t,n)=>{const o=n(48299);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(n,i){const{maxRedirections:A=e}=n;if(!A){return t(n,i)}const c=new o(t,A,n,i);n={...n,maxRedirections:0};return t(n,c)}}e.exports=createRedirectInterceptor},52824:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const o=n(50172);var i;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(i=t.ERROR||(t.ERROR={}));var A;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(A=t.TYPE||(t.TYPE={}));var c;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(c=t.FLAGS||(t.FLAGS={}));var d;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(d=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var p;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(p=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[p.DELETE,p.GET,p.HEAD,p.POST,p.PUT,p.CONNECT,p.OPTIONS,p.TRACE,p.COPY,p.LOCK,p.MKCOL,p.MOVE,p.PROPFIND,p.PROPPATCH,p.SEARCH,p.UNLOCK,p.BIND,p.REBIND,p.UNBIND,p.ACL,p.REPORT,p.MKACTIVITY,p.CHECKOUT,p.MERGE,p["M-SEARCH"],p.NOTIFY,p.SUBSCRIBE,p.UNSUBSCRIBE,p.PATCH,p.PURGE,p.MKCALENDAR,p.LINK,p.UNLINK,p.PRI,p.SOURCE];t.METHODS_ICE=[p.SOURCE];t.METHODS_RTSP=[p.OPTIONS,p.DESCRIBE,p.ANNOUNCE,p.SETUP,p.PLAY,p.PAUSE,p.TEARDOWN,p.GET_PARAMETER,p.SET_PARAMETER,p.REDIRECT,p.RECORD,p.FLUSH,p.GET,p.POST];t.METHOD_MAP=o.enumToMap(p);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}}));var C;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(C=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter((e=>e!==44));t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var S;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(S=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:S.CONNECTION,"content-length":S.CONTENT_LENGTH,"proxy-connection":S.CONNECTION,"transfer-encoding":S.TRANSFER_ENCODING,upgrade:S.UPGRADE}},63870:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX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DQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAd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0GmASEQDB4LQacBIRAMHQtBqAEhEAwcC0GpASEQDBsLQaoBIRAMGgtBqwEhEAwZC0GsASEQDBgLQa0BIRAMFwtBrgEhEAwWC0EBIRAMFQtBrwEhEAwUC0GwASEQDBMLQbEBIRAMEgtBswEhEAwRC0GyASEQDBALQbQBIRAMDwtBtQEhEAwOC0G2ASEQDA0LQbcBIRAMDAtBuAEhEAwLC0G5ASEQDAoLQboBIRAMCQtBuwEhEAwIC0HGASEQDAcLQbwBIRAMBgtBvQEhEAwFC0G+ASEQDAQLQb8BIRAMAwtBwAEhEAwCC0HCASEQDAELQcEBIRALA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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HTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgwMnwELIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgxBACEQDJ4BCyAAQQA2AhwgACAUNgIUIABB/pGAgAA2AhAgAEEHNgIMQQAhEAydAQsgAEEANgIcIAAgATYCFCAAQY6bgIAANgIQIABBBjYCDEEAIRAMnA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AAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAI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DEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAynAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAymAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMRgsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAylAQsgACgCBC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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},50172:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((n=>{const o=e[n];if(typeof o==="number"){t[n]=o}}));return t}t.enumToMap=enumToMap},47501:(e,t,n)=>{const{kClients:o}=n(36443);const i=n(59965);const{kAgent:A,kMockAgentSet:c,kMockAgentGet:d,kDispatches:p,kIsMockActive:C,kNetConnect:S,kGetNetConnect:v,kOptions:T,kFactory:_}=n(91117);const V=n(47365);const Z=n(94004);const{matchValue:ee,buildMockOptions:te}=n(53397);const{InvalidArgumentError:re,UndiciError:ne}=n(68707);const oe=n(28611);const ie=n(91529);const se=n(56142);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends oe{constructor(e){super(e);this[S]=true;this[C]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new re("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new i(e);this[A]=t;this[o]=t[o];this[T]=te(e)}get(e){let t=this[d](e);if(!t){t=this[_](e);this[c](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[A].dispatch(e,t)}async close(){await this[A].close();this[o].clear()}deactivate(){this[C]=false}activate(){this[C]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[S])){this[S].push(e)}else{this[S]=[e]}}else if(typeof e==="undefined"){this[S]=true}else{throw new re("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[S]=false}get isMockActive(){return this[C]}[c](e,t){this[o].set(e,new FakeWeakRef(t))}[_](e){const t=Object.assign({agent:this},this[T]);return this[T]&&this[T].connections===1?new V(e,t):new Z(e,t)}[d](e){const t=this[o].get(e);if(t){return t.deref()}if(typeof e!=="string"){const t=this[_]("http://localhost:9999");this[c](e,t);return t}for(const[t,n]of Array.from(this[o])){const o=n.deref();if(o&&typeof t!=="string"&&ee(t,e)){const t=this[_](e);this[c](e,t);t[p]=o[p];return t}}}[v](){return this[S]}pendingInterceptors(){const e=this[o];return Array.from(e.entries()).flatMap((([e,t])=>t.deref()[p].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new se}={}){const t=this.pendingInterceptors();if(t.length===0){return}const n=new ie("interceptor","interceptors").pluralize(t.length);throw new ne(`\n${n.count} ${n.noun} ${n.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},47365:(e,t,n)=>{const{promisify:o}=n(39023);const i=n(86197);const{buildMockDispatch:A}=n(53397);const{kDispatches:c,kMockAgent:d,kClose:p,kOriginalClose:C,kOrigin:S,kOriginalDispatch:v,kConnected:T}=n(91117);const{MockInterceptor:_}=n(31511);const V=n(36443);const{InvalidArgumentError:Z}=n(68707);class MockClient extends i{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new Z("Argument opts.agent must implement Agent")}this[d]=t.agent;this[S]=e;this[c]=[];this[T]=1;this[v]=this.dispatch;this[C]=this.close.bind(this);this.dispatch=A.call(this);this.close=this[p]}get[V.kConnected](){return this[T]}intercept(e){return new _(e,this[c])}async[p](){await o(this[C])();this[T]=0;this[d][V.kClients].delete(this[S])}}e.exports=MockClient},52429:(e,t,n)=>{const{UndiciError:o}=n(68707);class MockNotMatchedError extends o{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}e.exports={MockNotMatchedError:MockNotMatchedError}},31511:(e,t,n)=>{const{getResponseData:o,buildKey:i,addMockDispatch:A}=n(53397);const{kDispatches:c,kDispatchKey:d,kDefaultHeaders:p,kDefaultTrailers:C,kContentLength:S,kMockDispatch:v}=n(91117);const{InvalidArgumentError:T}=n(68707);const{buildURL:_}=n(3440);class MockScope{constructor(e){this[v]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new T("waitInMs must be a valid integer > 0")}this[v].delay=e;return this}persist(){this[v].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new T("repeatTimes must be a valid integer > 0")}this[v].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new T("opts must be an object")}if(typeof e.path==="undefined"){throw new T("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=_(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[d]=i(e);this[c]=t;this[p]={};this[C]={};this[S]=false}createMockScopeDispatchData(e,t,n={}){const i=o(t);const A=this[S]?{"content-length":i.length}:{};const c={...this[p],...A,...n.headers};const d={...this[C],...n.trailers};return{statusCode:e,data:t,headers:c,trailers:d}}validateReplyParameters(e,t,n){if(typeof e==="undefined"){throw new T("statusCode must be defined")}if(typeof t==="undefined"){throw new T("data must be defined")}if(typeof n!=="object"){throw new T("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const n=e(t);if(typeof n!=="object"){throw new T("reply options callback must return an object")}const{statusCode:o,data:i="",responseOptions:A={}}=n;this.validateReplyParameters(o,i,A);return{...this.createMockScopeDispatchData(o,i,A)}};const t=A(this[c],this[d],wrappedDefaultsCallback);return new MockScope(t)}const[t,n="",o={}]=[...arguments];this.validateReplyParameters(t,n,o);const i=this.createMockScopeDispatchData(t,n,o);const p=A(this[c],this[d],i);return new MockScope(p)}replyWithError(e){if(typeof e==="undefined"){throw new T("error must be defined")}const t=A(this[c],this[d],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new T("headers must be defined")}this[p]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new T("trailers must be defined")}this[C]=e;return this}replyContentLength(){this[S]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},94004:(e,t,n)=>{const{promisify:o}=n(39023);const i=n(35076);const{buildMockDispatch:A}=n(53397);const{kDispatches:c,kMockAgent:d,kClose:p,kOriginalClose:C,kOrigin:S,kOriginalDispatch:v,kConnected:T}=n(91117);const{MockInterceptor:_}=n(31511);const V=n(36443);const{InvalidArgumentError:Z}=n(68707);class MockPool extends i{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new Z("Argument opts.agent must implement Agent")}this[d]=t.agent;this[S]=e;this[c]=[];this[T]=1;this[v]=this.dispatch;this[C]=this.close.bind(this);this.dispatch=A.call(this);this.close=this[p]}get[V.kConnected](){return this[T]}intercept(e){return new _(e,this[c])}async[p](){await o(this[C])();this[T]=0;this[d][V.kClients].delete(this[S])}}e.exports=MockPool},91117:e=>{e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},53397:(e,t,n)=>{const{MockNotMatchedError:o}=n(52429);const{kDispatches:i,kMockAgent:A,kOriginalDispatch:c,kOrigin:d,kGetNetConnect:p}=n(91117);const{buildURL:C,nop:S}=n(3440);const{STATUS_CODES:v}=n(58611);const{types:{isPromise:T}}=n(39023);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let n=0;n!e)).filter((({path:e})=>matchValue(safeUrl(e),i)));if(A.length===0){throw new o(`Mock dispatch not matched for path '${i}'`)}A=A.filter((({method:e})=>matchValue(e,t.method)));if(A.length===0){throw new o(`Mock dispatch not matched for method '${t.method}'`)}A=A.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(A.length===0){throw new o(`Mock dispatch not matched for body '${t.body}'`)}A=A.filter((e=>matchHeaders(e,t.headers)));if(A.length===0){throw new o(`Mock dispatch not matched for headers '${typeof t.headers==="object"?JSON.stringify(t.headers):t.headers}'`)}return A[0]}function addMockDispatch(e,t,n){const o={timesInvoked:0,times:1,persist:false,consumed:false};const i=typeof n==="function"?{callback:n}:{...n};const A={...o,...t,pending:true,data:{error:null,...i}};e.push(A);return A}function deleteMockDispatch(e,t){const n=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(n!==-1){e.splice(n,1)}}function buildKey(e){const{path:t,method:n,body:o,headers:i,query:A}=e;return{path:t,method:n,body:o,headers:i,query:A}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[t,n])=>[...e,Buffer.from(`${t}`),Array.isArray(n)?n.map((e=>Buffer.from(`${e}`))):Buffer.from(`${n}`)]),[])}function getStatusText(e){return v[e]||"unknown"}async function getResponse(e){const t=[];for await(const n of e){t.push(n)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const n=buildKey(e);const o=getMockDispatch(this[i],n);o.timesInvoked++;if(o.data.callback){o.data={...o.data,...o.data.callback(e)}}const{data:{statusCode:A,data:c,headers:d,trailers:p,error:C},delay:v,persist:_}=o;const{timesInvoked:V,times:Z}=o;o.consumed=!_&&V>=Z;o.pending=V0){setTimeout((()=>{handleReply(this[i])}),v)}else{handleReply(this[i])}function handleReply(o,i=c){const C=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const v=typeof i==="function"?i({...e,headers:C}):i;if(T(v)){v.then((e=>handleReply(o,e)));return}const _=getResponseData(v);const V=generateKeyValues(d);const Z=generateKeyValues(p);t.abort=S;t.onHeaders(A,V,resume,getStatusText(A));t.onData(Buffer.from(_));t.onComplete(Z);deleteMockDispatch(o,n)}function resume(){}return true}function buildMockDispatch(){const e=this[A];const t=this[d];const n=this[c];return function dispatch(i,A){if(e.isMockActive){try{mockDispatch.call(this,i,A)}catch(c){if(c instanceof o){const d=e[p]();if(d===false){throw new o(`${c.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(d,t)){n.call(this,i,A)}else{throw new o(`${c.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw c}}}else{n.call(this,i,A)}}}function checkNetConnect(e,t){const n=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,n.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...n}=e;return n}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},56142:(e,t,n)=>{const{Transform:o}=n(2203);const{Console:i}=n(64236);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new o({transform(e,t,n){n(null,e)}});this.logger=new i({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:n},persist:o,times:i,timesInvoked:A,origin:c})=>({Method:e,Origin:c,Path:t,"Status code":n,Persistent:o?"✅":"❌",Invocations:A,Remaining:o?Infinity:i-A})));this.logger.table(t);return this.transform.read().toString()}}},91529:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const n={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const o=e===1;const i=o?t:n;const A=o?this.singular:this.plural;return{...i,count:e,noun:A}}}},34869:e=>{const t=2048;const n=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&n)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&n}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&n;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},58640:(e,t,n)=>{const o=n(50001);const i=n(34869);const{kConnected:A,kSize:c,kRunning:d,kPending:p,kQueued:C,kBusy:S,kFree:v,kUrl:T,kClose:_,kDestroy:V,kDispatch:Z}=n(36443);const ee=n(24622);const te=Symbol("clients");const re=Symbol("needDrain");const ne=Symbol("queue");const oe=Symbol("closed resolve");const ie=Symbol("onDrain");const se=Symbol("onConnect");const ae=Symbol("onDisconnect");const Ae=Symbol("onConnectionError");const ce=Symbol("get dispatcher");const le=Symbol("add client");const ue=Symbol("remove client");const de=Symbol("stats");class PoolBase extends o{constructor(){super();this[ne]=new i;this[te]=[];this[C]=0;const e=this;this[ie]=function onDrain(t,n){const o=e[ne];let i=false;while(!i){const t=o.shift();if(!t){break}e[C]--;i=!this.dispatch(t.opts,t.handler)}this[re]=i;if(!this[re]&&e[re]){e[re]=false;e.emit("drain",t,[e,...n])}if(e[oe]&&o.isEmpty()){Promise.all(e[te].map((e=>e.close()))).then(e[oe])}};this[se]=(t,n)=>{e.emit("connect",t,[e,...n])};this[ae]=(t,n,o)=>{e.emit("disconnect",t,[e,...n],o)};this[Ae]=(t,n,o)=>{e.emit("connectionError",t,[e,...n],o)};this[de]=new ee(this)}get[S](){return this[re]}get[A](){return this[te].filter((e=>e[A])).length}get[v](){return this[te].filter((e=>e[A]&&!e[re])).length}get[p](){let e=this[C];for(const{[p]:t}of this[te]){e+=t}return e}get[d](){let e=0;for(const{[d]:t}of this[te]){e+=t}return e}get[c](){let e=this[C];for(const{[c]:t}of this[te]){e+=t}return e}get stats(){return this[de]}async[_](){if(this[ne].isEmpty()){return Promise.all(this[te].map((e=>e.close())))}else{return new Promise((e=>{this[oe]=e}))}}async[V](e){while(true){const t=this[ne].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[te].map((t=>t.destroy(e))))}[Z](e,t){const n=this[ce]();if(!n){this[re]=true;this[ne].push({opts:e,handler:t});this[C]++}else if(!n.dispatch(e,t)){n[re]=true;this[re]=!this[ce]()}return!this[re]}[le](e){e.on("drain",this[ie]).on("connect",this[se]).on("disconnect",this[ae]).on("connectionError",this[Ae]);this[te].push(e);if(this[re]){process.nextTick((()=>{if(this[re]){this[ie](e[T],[this,e])}}))}return this}[ue](e){e.close((()=>{const t=this[te].indexOf(e);if(t!==-1){this[te].splice(t,1)}}));this[re]=this[te].some((e=>!e[re]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:te,kNeedDrain:re,kAddClient:le,kRemoveClient:ue,kGetDispatcher:ce}},24622:(e,t,n)=>{const{kFree:o,kConnected:i,kPending:A,kQueued:c,kRunning:d,kSize:p}=n(36443);const C=Symbol("pool");class PoolStats{constructor(e){this[C]=e}get connected(){return this[C][i]}get free(){return this[C][o]}get pending(){return this[C][A]}get queued(){return this[C][c]}get running(){return this[C][d]}get size(){return this[C][p]}}e.exports=PoolStats},35076:(e,t,n)=>{const{PoolBase:o,kClients:i,kNeedDrain:A,kAddClient:c,kGetDispatcher:d}=n(58640);const p=n(86197);const{InvalidArgumentError:C}=n(68707);const S=n(3440);const{kUrl:v,kInterceptors:T}=n(36443);const _=n(59136);const V=Symbol("options");const Z=Symbol("connections");const ee=Symbol("factory");function defaultFactory(e,t){return new p(e,t)}class Pool extends o{constructor(e,{connections:t,factory:n=defaultFactory,connect:o,connectTimeout:A,tls:c,maxCachedSessions:d,socketPath:p,autoSelectFamily:te,autoSelectFamilyAttemptTimeout:re,allowH2:ne,...oe}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new C("invalid connections")}if(typeof n!=="function"){throw new C("factory must be a function.")}if(o!=null&&typeof o!=="function"&&typeof o!=="object"){throw new C("connect must be a function or an object")}if(typeof o!=="function"){o=_({...c,maxCachedSessions:d,allowH2:ne,socketPath:p,timeout:A,...S.nodeHasAutoSelectFamily&&te?{autoSelectFamily:te,autoSelectFamilyAttemptTimeout:re}:undefined,...o})}this[T]=oe.interceptors&&oe.interceptors.Pool&&Array.isArray(oe.interceptors.Pool)?oe.interceptors.Pool:[];this[Z]=t||null;this[v]=S.parseOrigin(e);this[V]={...S.deepClone(oe),connect:o,allowH2:ne};this[V].interceptors=oe.interceptors?{...oe.interceptors}:undefined;this[ee]=n;this.on("connectionError",((e,t,n)=>{for(const e of t){const t=this[i].indexOf(e);if(t!==-1){this[i].splice(t,1)}}}))}[d](){let e=this[i].find((e=>!e[A]));if(e){return e}if(!this[Z]||this[i].length{const{kProxy:o,kClose:i,kDestroy:A,kInterceptors:c}=n(36443);const{URL:d}=n(87016);const p=n(59965);const C=n(35076);const S=n(50001);const{InvalidArgumentError:v,RequestAbortedError:T}=n(68707);const _=n(59136);const V=Symbol("proxy agent");const Z=Symbol("proxy client");const ee=Symbol("proxy headers");const te=Symbol("request tls settings");const re=Symbol("proxy tls settings");const ne=Symbol("connect endpoint function");function defaultProtocolPort(e){return e==="https:"?443:80}function buildProxyOptions(e){if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new v("Proxy opts.uri is mandatory")}return{uri:e.uri,protocol:e.protocol||"https"}}function defaultFactory(e,t){return new C(e,t)}class ProxyAgent extends S{constructor(e){super(e);this[o]=buildProxyOptions(e);this[V]=new p(e);this[c]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new v("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new v("Proxy opts.clientFactory must be a function.")}this[te]=e.requestTls;this[re]=e.proxyTls;this[ee]=e.headers||{};const n=new d(e.uri);const{origin:i,port:A,host:C,username:S,password:oe}=n;if(e.auth&&e.token){throw new v("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[ee]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[ee]["proxy-authorization"]=e.token}else if(S&&oe){this[ee]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(oe)}`).toString("base64")}`}const ie=_({...e.proxyTls});this[ne]=_({...e.requestTls});this[Z]=t(n,{connect:ie});this[V]=new p({...e,connect:async(e,t)=>{let n=e.host;if(!e.port){n+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:o,statusCode:c}=await this[Z].connect({origin:i,port:A,path:n,signal:e.signal,headers:{...this[ee],host:C}});if(c!==200){o.on("error",(()=>{})).destroy();t(new T(`Proxy response (${c}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,o);return}let d;if(this[te]){d=this[te].servername}else{d=e.servername}this[ne]({...e,servername:d,httpSocket:o},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:n}=new d(e.origin);const o=buildHeaders(e.headers);throwIfProxyAuthIsSent(o);return this[V].dispatch({...e,headers:{...o,host:n}},t)}async[i](){await this[V].close();await this[Z].close()}async[A](){await this[V].destroy();await this[Z].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let n=0;ne.toLowerCase()==="proxy-authorization"));if(t){throw new v("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},28804:e=>{let t=Date.now();let n;const o=[];function onTimeout(){t=Date.now();let e=o.length;let n=0;while(n0&&t>=i.state){i.state=-1;i.callback(i.opaque)}if(i.state===-1){i.state=-2;if(n!==e-1){o[n]=o.pop()}else{o.pop()}e-=1}else{n+=1}}if(o.length>0){refreshTimeout()}}function refreshTimeout(){if(n&&n.refresh){n.refresh()}else{clearTimeout(n);n=setTimeout(onTimeout,1e3);if(n.unref){n.unref()}}}class Timeout{constructor(e,t,n){this.callback=e;this.delay=t;this.opaque=n;this.state=-2;this.refresh()}refresh(){if(this.state===-2){o.push(this);if(!n||o.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,t,n){return t<1e3?setTimeout(e,t,n):new Timeout(e,t,n)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},68550:(e,t,n)=>{const o=n(31637);const{uid:i,states:A}=n(45913);const{kReadyState:c,kSentClose:d,kByteParser:p,kReceivedClose:C}=n(62933);const{fireEvent:S,failWebsocketConnection:v}=n(3574);const{CloseEvent:T}=n(46255);const{makeRequest:_}=n(25194);const{fetching:V}=n(12315);const{Headers:Z}=n(26349);const{getGlobalDispatcher:ee}=n(32581);const{kHeadersList:te}=n(36443);const re={};re.open=o.channel("undici:websocket:open");re.close=o.channel("undici:websocket:close");re.socketError=o.channel("undici:websocket:socket_error");let ne;try{ne=n(76982)}catch{}function establishWebSocketConnection(e,t,n,o,A){const c=e;c.protocol=e.protocol==="ws:"?"http:":"https:";const d=_({urlList:[c],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(A.headers){const e=new Z(A.headers)[te];d.headersList=e}const p=ne.randomBytes(16).toString("base64");d.headersList.append("sec-websocket-key",p);d.headersList.append("sec-websocket-version","13");for(const e of t){d.headersList.append("sec-websocket-protocol",e)}const C="";const S=V({request:d,useParallelQueue:true,dispatcher:A.dispatcher??ee(),processResponse(e){if(e.type==="error"||e.status!==101){v(n,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){v(n,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){v(n,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){v(n,'Server did not set Connection header to "upgrade".');return}const A=e.headersList.get("Sec-WebSocket-Accept");const c=ne.createHash("sha1").update(p+i).digest("base64");if(A!==c){v(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const S=e.headersList.get("Sec-WebSocket-Extensions");if(S!==null&&S!==C){v(n,"Received different permessage-deflate than the one set.");return}const T=e.headersList.get("Sec-WebSocket-Protocol");if(T!==null&&T!==d.headersList.get("Sec-WebSocket-Protocol")){v(n,"Protocol was not set in the opening handshake.");return}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(re.open.hasSubscribers){re.open.publish({address:e.socket.address(),protocol:T,extensions:S})}o(e)}});return S}function onSocketData(e){if(!this.ws[p].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[d]&&e[C];let n=1005;let o="";const i=e[p].closingInfo;if(i){n=i.code??1005;o=i.reason}else if(!e[d]){n=1006}e[c]=A.CLOSED;S("close",e,T,{wasClean:t,code:n,reason:o});if(re.close.hasSubscribers){re.close.publish({websocket:e,code:n,reason:o})}}function onSocketError(e){const{ws:t}=this;t[c]=A.CLOSING;if(re.socketError.hasSubscribers){re.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},45913:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const n={enumerable:true,writable:false,configurable:false};const o={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const i={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const A=2**16-1;const c={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const d=Buffer.allocUnsafe(0);e.exports={uid:t,staticPropertyDescriptors:n,states:o,opcodes:i,maxUnsigned16Bit:A,parserStates:c,emptyBuffer:d}},46255:(e,t,n)=>{const{webidl:o}=n(74222);const{kEnumerableProperty:i}=n(3440);const{MessagePort:A}=n(28167);class MessageEvent extends Event{#i;constructor(e,t={}){o.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=o.converters.DOMString(e);t=o.converters.MessageEventInit(t);super(e,t);this.#i=t}get data(){o.brandCheck(this,MessageEvent);return this.#i.data}get origin(){o.brandCheck(this,MessageEvent);return this.#i.origin}get lastEventId(){o.brandCheck(this,MessageEvent);return this.#i.lastEventId}get source(){o.brandCheck(this,MessageEvent);return this.#i.source}get ports(){o.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#i.ports)){Object.freeze(this.#i.ports)}return this.#i.ports}initMessageEvent(e,t=false,n=false,i=null,A="",c="",d=null,p=[]){o.brandCheck(this,MessageEvent);o.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:n,data:i,origin:A,lastEventId:c,source:d,ports:p})}}class CloseEvent extends Event{#i;constructor(e,t={}){o.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=o.converters.DOMString(e);t=o.converters.CloseEventInit(t);super(e,t);this.#i=t}get wasClean(){o.brandCheck(this,CloseEvent);return this.#i.wasClean}get code(){o.brandCheck(this,CloseEvent);return this.#i.code}get reason(){o.brandCheck(this,CloseEvent);return this.#i.reason}}class ErrorEvent extends Event{#i;constructor(e,t){o.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=o.converters.DOMString(e);t=o.converters.ErrorEventInit(t??{});this.#i=t}get message(){o.brandCheck(this,ErrorEvent);return this.#i.message}get filename(){o.brandCheck(this,ErrorEvent);return this.#i.filename}get lineno(){o.brandCheck(this,ErrorEvent);return this.#i.lineno}get colno(){o.brandCheck(this,ErrorEvent);return this.#i.colno}get error(){o.brandCheck(this,ErrorEvent);return this.#i.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:i,origin:i,lastEventId:i,source:i,ports:i,initMessageEvent:i});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:i,code:i,wasClean:i});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:i,filename:i,lineno:i,colno:i,error:i});o.converters.MessagePort=o.interfaceConverter(A);o.converters["sequence"]=o.sequenceConverter(o.converters.MessagePort);const c=[{key:"bubbles",converter:o.converters.boolean,defaultValue:false},{key:"cancelable",converter:o.converters.boolean,defaultValue:false},{key:"composed",converter:o.converters.boolean,defaultValue:false}];o.converters.MessageEventInit=o.dictionaryConverter([...c,{key:"data",converter:o.converters.any,defaultValue:null},{key:"origin",converter:o.converters.USVString,defaultValue:""},{key:"lastEventId",converter:o.converters.DOMString,defaultValue:""},{key:"source",converter:o.nullableConverter(o.converters.MessagePort),defaultValue:null},{key:"ports",converter:o.converters["sequence"],get defaultValue(){return[]}}]);o.converters.CloseEventInit=o.dictionaryConverter([...c,{key:"wasClean",converter:o.converters.boolean,defaultValue:false},{key:"code",converter:o.converters["unsigned short"],defaultValue:0},{key:"reason",converter:o.converters.USVString,defaultValue:""}]);o.converters.ErrorEventInit=o.dictionaryConverter([...c,{key:"message",converter:o.converters.DOMString,defaultValue:""},{key:"filename",converter:o.converters.USVString,defaultValue:""},{key:"lineno",converter:o.converters["unsigned long"],defaultValue:0},{key:"colno",converter:o.converters["unsigned long"],defaultValue:0},{key:"error",converter:o.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},31237:(e,t,n)=>{const{maxUnsigned16Bit:o}=n(45913);let i;try{i=n(76982)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=i.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let n=t;let i=6;if(t>o){i+=8;n=127}else if(t>125){i+=2;n=126}const A=Buffer.allocUnsafe(t+i);A[0]=A[1]=0;A[0]|=128;A[0]=(A[0]&240)+e; /*! ws. MIT License. Einar Otto Stangvik */A[i-4]=this.maskKey[0];A[i-3]=this.maskKey[1];A[i-2]=this.maskKey[2];A[i-1]=this.maskKey[3];A[1]=n;if(n===126){A.writeUInt16BE(t,2)}else if(n===127){A[2]=A[3]=0;A.writeUIntBE(t,4,6)}A[1]|=128;for(let e=0;e{const{Writable:o}=n(2203);const i=n(31637);const{parserStates:A,opcodes:c,states:d,emptyBuffer:p}=n(45913);const{kReadyState:C,kSentClose:S,kResponse:v,kReceivedClose:T}=n(62933);const{isValidStatusCode:_,failWebsocketConnection:V,websocketMessageReceived:Z}=n(3574);const{WebsocketFrameSend:ee}=n(31237);const te={};te.ping=i.channel("undici:websocket:ping");te.pong=i.channel("undici:websocket:pong");class ByteParser extends o{#s=[];#a=0;#A=A.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,n){this.#s.push(e);this.#a+=e.length;this.run(n)}run(e){while(true){if(this.#A===A.INFO){if(this.#a<2){return e()}const t=this.consume(2);this.#c.fin=(t[0]&128)!==0;this.#c.opcode=t[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==c.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==c.BINARY&&this.#c.opcode!==c.TEXT){V(this.ws,"Invalid frame type was fragmented.");return}const n=t[1]&127;if(n<=125){this.#c.payloadLength=n;this.#A=A.READ_DATA}else if(n===126){this.#A=A.PAYLOADLENGTH_16}else if(n===127){this.#A=A.PAYLOADLENGTH_64}if(this.#c.fragmented&&n>125){V(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===c.PING||this.#c.opcode===c.PONG||this.#c.opcode===c.CLOSE)&&n>125){V(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===c.CLOSE){if(n===1){V(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(n);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[S]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new ee(e);this.ws[v].socket.write(t.createFrame(c.CLOSE),(e=>{if(!e){this.ws[S]=true}}))}this.ws[C]=d.CLOSING;this.ws[T]=true;this.end();return}else if(this.#c.opcode===c.PING){const t=this.consume(n);if(!this.ws[T]){const e=new ee(t);this.ws[v].socket.write(e.createFrame(c.PONG));if(te.ping.hasSubscribers){te.ping.publish({payload:t})}}this.#A=A.INFO;if(this.#a>0){continue}else{e();return}}else if(this.#c.opcode===c.PONG){const t=this.consume(n);if(te.pong.hasSubscribers){te.pong.publish({payload:t})}if(this.#a>0){continue}else{e();return}}}else if(this.#A===A.PAYLOADLENGTH_16){if(this.#a<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#A=A.READ_DATA}else if(this.#A===A.PAYLOADLENGTH_64){if(this.#a<8){return e()}const t=this.consume(8);const n=t.readUInt32BE(0);if(n>2**31-1){V(this.ws,"Received payload length > 2^31 bytes.");return}const o=t.readUInt32BE(4);this.#c.payloadLength=(n<<8)+o;this.#A=A.READ_DATA}else if(this.#A===A.READ_DATA){if(this.#a=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===c.CONTINUATION){const e=Buffer.concat(this.#l);Z(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#A=A.INFO}}if(this.#a>0){continue}else{e();break}}}consume(e){if(e>this.#a){return null}else if(e===0){return p}if(this.#s[0].length===e){this.#a-=this.#s[0].length;return this.#s.shift()}const t=Buffer.allocUnsafe(e);let n=0;while(n!==e){const o=this.#s[0];const{length:i}=o;if(i+n===e){t.set(this.#s.shift(),n);break}else if(i+n>e){t.set(o.subarray(0,e-n),n);this.#s[0]=o.subarray(e-n);break}else{t.set(this.#s.shift(),n);n+=o.length}}this.#a-=e;return t}parseCloseBody(e,t){let n;if(t.length>=2){n=t.readUInt16BE(0)}if(e){if(!_(n)){return null}return{code:n}}let o=t.subarray(2);if(o[0]===239&&o[1]===187&&o[2]===191){o=o.subarray(3)}if(n!==undefined&&!_(n)){return null}try{o=new TextDecoder("utf-8",{fatal:true}).decode(o)}catch{return null}return{code:n,reason:o}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},62933:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(e,t,n)=>{const{kReadyState:o,kController:i,kResponse:A,kBinaryType:c,kWebSocketURL:d}=n(62933);const{states:p,opcodes:C}=n(45913);const{MessageEvent:S,ErrorEvent:v}=n(46255);function isEstablished(e){return e[o]===p.OPEN}function isClosing(e){return e[o]===p.CLOSING}function isClosed(e){return e[o]===p.CLOSED}function fireEvent(e,t,n=Event,o){const i=new n(e,o);t.dispatchEvent(i)}function websocketMessageReceived(e,t,n){if(e[o]!==p.OPEN){return}let i;if(t===C.TEXT){try{i=new TextDecoder("utf-8",{fatal:true}).decode(n)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===C.BINARY){if(e[c]==="blob"){i=new Blob([n])}else{i=new Uint8Array(n).buffer}}fireEvent("message",e,S,{origin:e[d].origin,data:i})}function isValidSubprotocol(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e<33||e>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[i]:n,[A]:o}=e;n.abort();if(o?.socket&&!o.socket.destroyed){o.socket.destroy()}if(t){fireEvent("error",e,v,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},55171:(e,t,n)=>{const{webidl:o}=n(74222);const{DOMException:i}=n(87326);const{URLSerializer:A}=n(94322);const{getGlobalOrigin:c}=n(75628);const{staticPropertyDescriptors:d,states:p,opcodes:C,emptyBuffer:S}=n(45913);const{kWebSocketURL:v,kReadyState:T,kController:_,kBinaryType:V,kResponse:Z,kSentClose:ee,kByteParser:te}=n(62933);const{isEstablished:re,isClosing:ne,isValidSubprotocol:oe,failWebsocketConnection:ie,fireEvent:se}=n(3574);const{establishWebSocketConnection:ae}=n(68550);const{WebsocketFrameSend:Ae}=n(31237);const{ByteParser:ce}=n(43171);const{kEnumerableProperty:le,isBlobLike:ue}=n(3440);const{getGlobalDispatcher:de}=n(32581);const{types:pe}=n(39023);let ge=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#d=0;#p="";#g="";constructor(e,t=[]){super();o.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!ge){ge=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const n=o.converters["DOMString or sequence or WebSocketInit"](t);e=o.converters.USVString(e);t=n.protocols;const A=c();let d;try{d=new URL(e,A)}catch(e){throw new i(e,"SyntaxError")}if(d.protocol==="http:"){d.protocol="ws:"}else if(d.protocol==="https:"){d.protocol="wss:"}if(d.protocol!=="ws:"&&d.protocol!=="wss:"){throw new i(`Expected a ws: or wss: protocol, got ${d.protocol}`,"SyntaxError")}if(d.hash||d.href.endsWith("#")){throw new i("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new i("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>oe(e)))){throw new i("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[v]=new URL(d.href);this[_]=ae(d,t,this,(e=>this.#m(e)),n);this[T]=WebSocket.CONNECTING;this[V]="blob"}close(e=undefined,t=undefined){o.brandCheck(this,WebSocket);if(e!==undefined){e=o.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=o.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new i("invalid code","InvalidAccessError")}}let n=0;if(t!==undefined){n=Buffer.byteLength(t);if(n>123){throw new i(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError")}}if(this[T]===WebSocket.CLOSING||this[T]===WebSocket.CLOSED){}else if(!re(this)){ie(this,"Connection was closed before it was established.");this[T]=WebSocket.CLOSING}else if(!ne(this)){const o=new Ae;if(e!==undefined&&t===undefined){o.frameData=Buffer.allocUnsafe(2);o.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){o.frameData=Buffer.allocUnsafe(2+n);o.frameData.writeUInt16BE(e,0);o.frameData.write(t,2,"utf-8")}else{o.frameData=S}const i=this[Z].socket;i.write(o.createFrame(C.CLOSE),(e=>{if(!e){this[ee]=true}}));this[T]=p.CLOSING}else{this[T]=WebSocket.CLOSING}}send(e){o.brandCheck(this,WebSocket);o.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=o.converters.WebSocketSendData(e);if(this[T]===WebSocket.CONNECTING){throw new i("Sent before connected.","InvalidStateError")}if(!re(this)||ne(this)){return}const t=this[Z].socket;if(typeof e==="string"){const n=Buffer.from(e);const o=new Ae(n);const i=o.createFrame(C.TEXT);this.#d+=n.byteLength;t.write(i,(()=>{this.#d-=n.byteLength}))}else if(pe.isArrayBuffer(e)){const n=Buffer.from(e);const o=new Ae(n);const i=o.createFrame(C.BINARY);this.#d+=n.byteLength;t.write(i,(()=>{this.#d-=n.byteLength}))}else if(ArrayBuffer.isView(e)){const n=Buffer.from(e,e.byteOffset,e.byteLength);const o=new Ae(n);const i=o.createFrame(C.BINARY);this.#d+=n.byteLength;t.write(i,(()=>{this.#d-=n.byteLength}))}else if(ue(e)){const n=new Ae;e.arrayBuffer().then((e=>{const o=Buffer.from(e);n.frameData=o;const i=n.createFrame(C.BINARY);this.#d+=o.byteLength;t.write(i,(()=>{this.#d-=o.byteLength}))}))}}get readyState(){o.brandCheck(this,WebSocket);return this[T]}get bufferedAmount(){o.brandCheck(this,WebSocket);return this.#d}get url(){o.brandCheck(this,WebSocket);return A(this[v])}get extensions(){o.brandCheck(this,WebSocket);return this.#g}get protocol(){o.brandCheck(this,WebSocket);return this.#p}get onopen(){o.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){o.brandCheck(this,WebSocket);if(this.#u.open){this.removeEventListener("open",this.#u.open)}if(typeof e==="function"){this.#u.open=e;this.addEventListener("open",e)}else{this.#u.open=null}}get onerror(){o.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){o.brandCheck(this,WebSocket);if(this.#u.error){this.removeEventListener("error",this.#u.error)}if(typeof e==="function"){this.#u.error=e;this.addEventListener("error",e)}else{this.#u.error=null}}get onclose(){o.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){o.brandCheck(this,WebSocket);if(this.#u.close){this.removeEventListener("close",this.#u.close)}if(typeof e==="function"){this.#u.close=e;this.addEventListener("close",e)}else{this.#u.close=null}}get onmessage(){o.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){o.brandCheck(this,WebSocket);if(this.#u.message){this.removeEventListener("message",this.#u.message)}if(typeof e==="function"){this.#u.message=e;this.addEventListener("message",e)}else{this.#u.message=null}}get binaryType(){o.brandCheck(this,WebSocket);return this[V]}set binaryType(e){o.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[V]="blob"}else{this[V]=e}}#m(e){this[Z]=e;const t=new ce(this);t.on("drain",(function onParserDrain(){this.ws[Z].socket.resume()}));e.socket.ws=this;this[te]=t;this[T]=p.OPEN;const n=e.headersList.get("sec-websocket-extensions");if(n!==null){this.#g=n}const o=e.headersList.get("sec-websocket-protocol");if(o!==null){this.#p=o}se("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=p.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=p.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=p.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=p.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:d,OPEN:d,CLOSING:d,CLOSED:d,url:le,readyState:le,bufferedAmount:le,onopen:le,onerror:le,onclose:le,close:le,onmessage:le,binaryType:le,send:le,extensions:le,protocol:le,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:d,OPEN:d,CLOSING:d,CLOSED:d});o.converters["sequence"]=o.sequenceConverter(o.converters.DOMString);o.converters["DOMString or sequence"]=function(e){if(o.util.Type(e)==="Object"&&Symbol.iterator in e){return o.converters["sequence"](e)}return o.converters.DOMString(e)};o.converters.WebSocketInit=o.dictionaryConverter([{key:"protocols",converter:o.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return de()}},{key:"headers",converter:o.nullableConverter(o.converters.HeadersInit)}]);o.converters["DOMString or sequence or WebSocketInit"]=function(e){if(o.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return o.converters.WebSocketInit(e)}return{protocols:o.converters["DOMString or sequence"](e)}};o.converters.WebSocketSendData=function(e){if(o.util.Type(e)==="Object"){if(ue(e)){return o.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||pe.isAnyArrayBuffer(e)){return o.converters.BufferSource(e)}}return o.converters.USVString(e)};e.exports={WebSocket:WebSocket}},42613:t=>{t.exports=e(import.meta.url)("assert")},90290:t=>{t.exports=e(import.meta.url)("async_hooks")},20181:t=>{t.exports=e(import.meta.url)("buffer")},35317:t=>{t.exports=e(import.meta.url)("child_process")},64236:t=>{t.exports=e(import.meta.url)("console")},76982:t=>{t.exports=e(import.meta.url)("crypto")},31637:t=>{t.exports=e(import.meta.url)("diagnostics_channel")},24434:t=>{t.exports=e(import.meta.url)("events")},79896:t=>{t.exports=e(import.meta.url)("fs")},58611:t=>{t.exports=e(import.meta.url)("http")},85675:t=>{t.exports=e(import.meta.url)("http2")},65692:t=>{t.exports=e(import.meta.url)("https")},69278:t=>{t.exports=e(import.meta.url)("net")},4573:t=>{t.exports=e(import.meta.url)("node:buffer")},77598:t=>{t.exports=e(import.meta.url)("node:crypto")},78474:t=>{t.exports=e(import.meta.url)("node:events")},73024:t=>{t.exports=e(import.meta.url)("node:fs")},37067:t=>{t.exports=e(import.meta.url)("node:http")},44708:t=>{t.exports=e(import.meta.url)("node:https")},48161:t=>{t.exports=e(import.meta.url)("node:os")},1708:t=>{t.exports=e(import.meta.url)("node:process")},57075:t=>{t.exports=e(import.meta.url)("node:stream")},57975:t=>{t.exports=e(import.meta.url)("node:util")},38522:t=>{t.exports=e(import.meta.url)("node:zlib")},70857:t=>{t.exports=e(import.meta.url)("os")},16928:t=>{t.exports=e(import.meta.url)("path")},82987:t=>{t.exports=e(import.meta.url)("perf_hooks")},83480:t=>{t.exports=e(import.meta.url)("querystring")},2203:t=>{t.exports=e(import.meta.url)("stream")},63774:t=>{t.exports=e(import.meta.url)("stream/web")},13193:t=>{t.exports=e(import.meta.url)("string_decoder")},53557:t=>{t.exports=e(import.meta.url)("timers")},64756:t=>{t.exports=e(import.meta.url)("tls")},52018:t=>{t.exports=e(import.meta.url)("tty")},87016:t=>{t.exports=e(import.meta.url)("url")},39023:t=>{t.exports=e(import.meta.url)("util")},98253:t=>{t.exports=e(import.meta.url)("util/types")},28167:t=>{t.exports=e(import.meta.url)("worker_threads")},43106:t=>{t.exports=e(import.meta.url)("zlib")},50198:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AzureKeyCredential=void 0;class AzureKeyCredential{_key;get key(){return this._key}constructor(e){if(!e){throw new Error("key must be a non-empty string")}this._key=e}update(e){this._key=e}}t.AzureKeyCredential=AzureKeyCredential},41295:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AzureNamedKeyCredential=void 0;t.isNamedKeyCredential=isNamedKeyCredential;const o=n(87779);class AzureNamedKeyCredential{_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,t){if(!e||!t){throw new TypeError("name and key must be non-empty strings")}this._name=e;this._key=t}update(e,t){if(!e||!t){throw new TypeError("newName and newKey must be non-empty strings")}this._name=e;this._key=t}}t.AzureNamedKeyCredential=AzureNamedKeyCredential;function isNamedKeyCredential(e){return(0,o.isObjectWithProperties)(e,["name","key"])&&typeof e.key==="string"&&typeof e.name==="string"}},56608:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AzureSASCredential=void 0;t.isSASCredential=isSASCredential;const o=n(87779);class AzureSASCredential{_signature;get signature(){return this._signature}constructor(e){if(!e){throw new Error("shared access signature must be a non-empty string")}this._signature=e}update(e){if(!e){throw new Error("shared access signature must be a non-empty string")}this._signature=e}}t.AzureSASCredential=AzureSASCredential;function isSASCredential(e){return(0,o.isObjectWithProperties)(e,["signature"])&&typeof e.signature==="string"}},50417:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.isTokenCredential=t.isSASCredential=t.AzureSASCredential=t.isNamedKeyCredential=t.AzureNamedKeyCredential=t.isKeyCredential=t.AzureKeyCredential=void 0;var o=n(50198);Object.defineProperty(t,"AzureKeyCredential",{enumerable:true,get:function(){return o.AzureKeyCredential}});var i=n(99155);Object.defineProperty(t,"isKeyCredential",{enumerable:true,get:function(){return i.isKeyCredential}});var A=n(41295);Object.defineProperty(t,"AzureNamedKeyCredential",{enumerable:true,get:function(){return A.AzureNamedKeyCredential}});Object.defineProperty(t,"isNamedKeyCredential",{enumerable:true,get:function(){return A.isNamedKeyCredential}});var c=n(56608);Object.defineProperty(t,"AzureSASCredential",{enumerable:true,get:function(){return c.AzureSASCredential}});Object.defineProperty(t,"isSASCredential",{enumerable:true,get:function(){return c.isSASCredential}});var d=n(86881);Object.defineProperty(t,"isTokenCredential",{enumerable:true,get:function(){return d.isTokenCredential}})},99155:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.isKeyCredential=isKeyCredential;const o=n(87779);function isKeyCredential(e){return(0,o.isObjectWithProperties)(e,["key"])&&typeof e.key==="string"}},86881:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isBearerToken=isBearerToken;t.isPopToken=isPopToken;t.isTokenCredential=isTokenCredential;function isBearerToken(e){return!e.tokenType||e.tokenType==="Bearer"}function isPopToken(e){return e.tokenType==="pop"}function isTokenCredential(e){const t=e;return t&&typeof t.getToken==="function"&&(t.signRequest===undefined||t.getToken.length>0)}},17698:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.parseCAEChallenge=parseCAEChallenge;t.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge;const o=n(89994);const i=n(20741);function parseCAEChallenge(e){const t=`, ${e.trim()}`.split(", Bearer ").filter((e=>e));return t.map((e=>{const t=`${e.trim()}, `.split('", ').filter((e=>e));const n=t.map((e=>(([e,t])=>({[e]:t}))(e.trim().split('="'))));return n.reduce(((e,t)=>({...e,...t})),{})}))}async function authorizeRequestOnClaimChallenge(e){const{scopes:t,response:n}=e;const A=e.logger||o.logger;const c=n.headers.get("WWW-Authenticate");if(!c){A.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const d=parseCAEChallenge(c)||[];const p=d.find((e=>e.claims));if(!p){A.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const C=await e.getAccessToken(p.scope?[p.scope]:t,{claims:(0,i.decodeStringToString)(p.claims)});if(!C){return false}e.request.headers.set("Authorization",`${C.tokenType??"Bearer"} ${C.token}`);return true}},97454:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.authorizeRequestOnTenantChallenge=void 0;const n={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(e){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)}const authorizeRequestOnTenantChallenge=async e=>{const t=requestToOptions(e.request);const o=getChallenge(e.response);if(o){const i=parseChallenge(o);const A=buildScopes(e,i);const c=extractTenantId(i);if(!c){return false}const d=await e.getAccessToken(A,{...t,tenantId:c});if(!d){return false}e.request.headers.set(n.HeaderConstants.AUTHORIZATION,`${d.tokenType??"Bearer"} ${d.token}`);return true}return false};t.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(e){const t=new URL(e.authorization_uri);const n=t.pathname.split("/");const o=n[1];if(o&&isUuid(o)){return o}return undefined}function buildScopes(e,t){if(!t.resource_id){return e.scopes}const o=new URL(t.resource_id);o.pathname=n.DefaultScope;let i=o.toString();if(i==="https://disk.azure.com/.default"){i="https://disk.azure.com//.default"}return[i]}function getChallenge(e){const t=e.headers.get("WWW-Authenticate");if(e.status===401&&t){return t}return}function parseChallenge(e){const t=e.slice("Bearer ".length);const n=`${t.trim()} `.split(" ").filter((e=>e));const o=n.map((e=>(([e,t])=>({[e]:t}))(e.trim().split("="))));return o.reduce(((e,t)=>({...e,...t})),{})}function requestToOptions(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}},20741:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.encodeString=encodeString;t.encodeByteArray=encodeByteArray;t.decodeString=decodeString;t.decodeStringToString=decodeStringToString;function encodeString(e){return Buffer.from(e).toString("base64")}function encodeByteArray(e){const t=e instanceof Buffer?e:Buffer.from(e.buffer);return t.toString("base64")}function decodeString(e){return Buffer.from(e,"base64")}function decodeStringToString(e){return Buffer.from(e,"base64").toString()}},90111:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.deserializationPolicyName=void 0;t.deserializationPolicy=deserializationPolicy;const o=n(56058);const i=n(20778);const A=n(31530);const c=n(19688);const d=["application/json","text/json"];const p=["application/xml","application/atom+xml"];t.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(e={}){const n=e.expectedContentTypes?.json??d;const i=e.expectedContentTypes?.xml??p;const A=e.parseXML;const c=e.serializerOptions;const C={xml:{rootName:c?.xml.rootName??"",includeRoot:c?.xml.includeRoot??false,xmlCharKey:c?.xml.xmlCharKey??o.XML_CHARKEY}};return{name:t.deserializationPolicyName,async sendRequest(e,t){const o=await t(e);return deserializeResponseBody(n,i,o,C,A)}}}function getOperationResponseMap(e){let t;const n=e.request;const o=(0,c.getOperationRequestInfo)(n);const i=o?.operationSpec;if(i){if(!o?.operationResponseGetter){t=i.responses[e.status]}else{t=o?.operationResponseGetter(i,e)}}return t}function shouldDeserializeResponse(e){const t=e.request;const n=(0,c.getOperationRequestInfo)(t);const o=n?.shouldDeserialize;let i;if(o===undefined){i=true}else if(typeof o==="boolean"){i=o}else{i=o(e)}return i}async function deserializeResponseBody(e,t,n,o,d){const p=await parse(e,t,n,o,d);if(!shouldDeserializeResponse(p)){return p}const C=(0,c.getOperationRequestInfo)(p.request);const S=C?.operationSpec;if(!S||!S.responses){return p}const v=getOperationResponseMap(p);const{error:T,shouldReturnResponse:_}=handleErrorResponse(p,S,v,o);if(T){throw T}else if(_){return p}if(v){if(v.bodyMapper){let e=p.parsedBody;if(S.isXML&&v.bodyMapper.type.name===A.MapperTypeNames.Sequence){e=typeof e==="object"?e[v.bodyMapper.xmlElementName]:[]}try{p.parsedBody=S.serializer.deserialize(v.bodyMapper,e,"operationRes.parsedBody",o)}catch(e){const t=new i.RestError(`Error ${e} occurred in deserializing the responseBody - ${p.bodyAsText}`,{statusCode:p.status,request:p.request,response:p});throw t}}else if(S.httpMethod==="HEAD"){p.parsedBody=n.status>=200&&n.status<300}if(v.headersMapper){p.parsedHeaders=S.serializer.deserialize(v.headersMapper,p.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return p}function isOperationSpecEmpty(e){const t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]==="default"}function handleErrorResponse(e,t,n,o){const c=200<=e.status&&e.status<300;const d=isOperationSpecEmpty(t)?c:!!n;if(d){if(n){if(!n.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const p=n??t.responses.default;const C=e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText;const S=new i.RestError(C,{statusCode:e.status,request:e.request,response:e});if(!p&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message)){throw S}const v=p?.bodyMapper;const T=p?.headersMapper;try{if(e.parsedBody){const n=e.parsedBody;let i;if(v){let e=n;if(t.isXML&&v.type.name===A.MapperTypeNames.Sequence){e=[];const t=v.xmlElementName;if(typeof n==="object"&&t){e=n[t]}}i=t.serializer.deserialize(v,e,"error.response.parsedBody",o)}const c=n.error||i||n;S.code=c.code;if(c.message){S.message=c.message}if(v){S.response.parsedBody=i}}if(e.headers&&T){S.response.parsedHeaders=t.serializer.deserialize(T,e.headers.toJSON(),"operationRes.parsedHeaders")}}catch(t){S.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:S,shouldReturnResponse:false}}async function parse(e,t,n,o,A){if(!n.request.streamResponseStatusCodes?.has(n.status)&&n.bodyAsText){const c=n.bodyAsText;const d=n.headers.get("Content-Type")||"";const p=!d?[]:d.split(";").map((e=>e.toLowerCase()));try{if(p.length===0||p.some((t=>e.indexOf(t)!==-1))){n.parsedBody=JSON.parse(c);return n}else if(p.some((e=>t.indexOf(e)!==-1))){if(!A){throw new Error("Parsing XML not supported.")}const e=await A(c,o.xml);n.parsedBody=e;return n}}catch(e){const t=`Error "${e}" occurred while parsing the response body - ${n.bodyAsText}.`;const o=e.code||i.RestError.PARSE_ERROR;const A=new i.RestError(t,{code:o,statusCode:n.status,request:n.request,response:n});throw A}}return n}},26323:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const o=n(20778);let i;function getCachedDefaultHttpClient(){if(!i){i=(0,o.createDefaultHttpClient)()}return i}},60160:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.authorizeRequestOnTenantChallenge=t.authorizeRequestOnClaimChallenge=t.serializationPolicyName=t.serializationPolicy=t.deserializationPolicyName=t.deserializationPolicy=t.XML_CHARKEY=t.XML_ATTRKEY=t.createClientPipeline=t.ServiceClient=t.MapperTypeNames=t.createSerializer=void 0;var o=n(31530);Object.defineProperty(t,"createSerializer",{enumerable:true,get:function(){return o.createSerializer}});Object.defineProperty(t,"MapperTypeNames",{enumerable:true,get:function(){return o.MapperTypeNames}});var i=n(89544);Object.defineProperty(t,"ServiceClient",{enumerable:true,get:function(){return i.ServiceClient}});var A=n(74136);Object.defineProperty(t,"createClientPipeline",{enumerable:true,get:function(){return A.createClientPipeline}});var c=n(56058);Object.defineProperty(t,"XML_ATTRKEY",{enumerable:true,get:function(){return c.XML_ATTRKEY}});Object.defineProperty(t,"XML_CHARKEY",{enumerable:true,get:function(){return c.XML_CHARKEY}});var d=n(90111);Object.defineProperty(t,"deserializationPolicy",{enumerable:true,get:function(){return d.deserializationPolicy}});Object.defineProperty(t,"deserializationPolicyName",{enumerable:true,get:function(){return d.deserializationPolicyName}});var p=n(56234);Object.defineProperty(t,"serializationPolicy",{enumerable:true,get:function(){return p.serializationPolicy}});Object.defineProperty(t,"serializationPolicyName",{enumerable:true,get:function(){return p.serializationPolicyName}});var C=n(17698);Object.defineProperty(t,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return C.authorizeRequestOnClaimChallenge}});var S=n(97454);Object.defineProperty(t,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return S.authorizeRequestOnTenantChallenge}})},92066:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;t.getPathStringFromParameter=getPathStringFromParameter;const o=n(31530);function getStreamingResponseStatusCodes(e){const t=new Set;for(const n in e.responses){const i=e.responses[n];if(i.bodyMapper&&i.bodyMapper.type.name===o.MapperTypeNames.Stream){t.add(Number(n))}}return t}function getPathStringFromParameter(e){const{parameterPath:t,mapper:n}=e;let o;if(typeof t==="string"){o=t}else if(Array.isArray(t)){o=t.join(".")}else{o=n.serializedName}return o}},56058:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=void 0;t.XML_ATTRKEY="$";t.XML_CHARKEY="_"},89994:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const o=n(26515);t.logger=(0,o.createClientLogger)("core-client")},19688:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;t.getOperationRequestInfo=getOperationRequestInfo;const o=n(33345);function getOperationArgumentValueFromParameter(e,t,n){let o=t.parameterPath;const i=t.mapper;let A;if(typeof o==="string"){o=[o]}if(Array.isArray(o)){if(o.length>0){if(i.isConstant){A=i.defaultValue}else{let t=getPropertyFromParameterPath(e,o);if(!t.propertyFound&&n){t=getPropertyFromParameterPath(n,o)}let c=false;if(!t.propertyFound){c=i.required||o[0]==="options"&&o.length===2}A=c?i.defaultValue:t.propertyValue}}}else{if(i.required){A={}}for(const t in o){const c=i.type.modelProperties[t];const d=o[t];const p=getOperationArgumentValueFromParameter(e,{parameterPath:d,mapper:c},n);if(p!==undefined){if(!A){A={}}A[t]=p}}}return A}function getPropertyFromParameterPath(e,t){const n={propertyFound:false};let o=0;for(;o{Object.defineProperty(t,"__esModule",{value:true});t.createClientPipeline=createClientPipeline;const o=n(90111);const i=n(20778);const A=n(56234);function createClientPipeline(e={}){const t=(0,i.createPipelineFromOptions)(e??{});if(e.credentialOptions){t.addPolicy((0,i.bearerTokenAuthenticationPolicy)({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes}))}t.addPolicy((0,A.serializationPolicy)(e.serializationOptions),{phase:"Serialize"});t.addPolicy((0,o.deserializationPolicy)(e.deserializationOptions),{phase:"Deserialize"});return t}},56234:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.serializationPolicyName=void 0;t.serializationPolicy=serializationPolicy;t.serializeHeaders=serializeHeaders;t.serializeRequestBody=serializeRequestBody;const o=n(56058);const i=n(19688);const A=n(31530);const c=n(92066);t.serializationPolicyName="serializationPolicy";function serializationPolicy(e={}){const n=e.stringifyXML;return{name:t.serializationPolicyName,async sendRequest(e,t){const o=(0,i.getOperationRequestInfo)(e);const A=o?.operationSpec;const c=o?.operationArguments;if(A&&c){serializeHeaders(e,c,A);serializeRequestBody(e,c,A,n)}return t(e)}}}function serializeHeaders(e,t,n){if(n.headerParameters){for(const o of n.headerParameters){let A=(0,i.getOperationArgumentValueFromParameter)(t,o);if(A!==null&&A!==undefined||o.mapper.required){A=n.serializer.serialize(o.mapper,A,(0,c.getPathStringFromParameter)(o));const t=o.mapper.headerCollectionPrefix;if(t){for(const n of Object.keys(A)){e.headers.set(t+n,A[n])}}else{e.headers.set(o.mapper.serializedName||(0,c.getPathStringFromParameter)(o),A)}}}}const o=t.options?.requestOptions?.customHeaders;if(o){for(const t of Object.keys(o)){e.headers.set(t,o[t])}}}function serializeRequestBody(e,t,n,d=function(){throw new Error("XML serialization unsupported!")}){const p=t.options?.serializerOptions;const C={xml:{rootName:p?.xml.rootName??"",includeRoot:p?.xml.includeRoot??false,xmlCharKey:p?.xml.xmlCharKey??o.XML_CHARKEY}};const S=C.xml.xmlCharKey;if(n.requestBody&&n.requestBody.mapper){e.body=(0,i.getOperationArgumentValueFromParameter)(t,n.requestBody);const o=n.requestBody.mapper;const{required:p,serializedName:v,xmlName:T,xmlElementName:_,xmlNamespace:V,xmlNamespacePrefix:Z,nullable:ee}=o;const te=o.type.name;try{if(e.body!==undefined&&e.body!==null||ee&&e.body===null||p){const t=(0,c.getPathStringFromParameter)(n.requestBody);e.body=n.serializer.serialize(o,e.body,t,C);const i=te===A.MapperTypeNames.Stream;if(n.isXML){const t=Z?`xmlns:${Z}`:"xmlns";const n=getXmlValueWithNamespace(V,t,te,e.body,C);if(te===A.MapperTypeNames.Sequence){e.body=d(prepareXMLRootList(n,_||T||v,t,V),{rootName:T||v,xmlCharKey:S})}else if(!i){e.body=d(n,{rootName:T||v,xmlCharKey:S})}}else if(te===A.MapperTypeNames.String&&(n.contentType?.match("text/plain")||n.mediaType==="text")){return}else if(!i){e.body=JSON.stringify(e.body)}}}catch(e){throw new Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(v,undefined," ")}.`)}}else if(n.formDataParameters&&n.formDataParameters.length>0){e.formData={};for(const o of n.formDataParameters){const A=(0,i.getOperationArgumentValueFromParameter)(t,o);if(A!==undefined&&A!==null){const t=o.mapper.serializedName||(0,c.getPathStringFromParameter)(o);e.formData[t]=n.serializer.serialize(o.mapper,A,(0,c.getPathStringFromParameter)(o),C)}}}}function getXmlValueWithNamespace(e,t,n,i,A){if(e&&!["Composite","Sequence","Dictionary"].includes(n)){const n={};n[A.xml.xmlCharKey]=i;n[o.XML_ATTRKEY]={[t]:e};return n}return i}function prepareXMLRootList(e,t,n,i){if(!Array.isArray(e)){e=[e]}if(!n||!i){return{[t]:e}}const A={[t]:e};A[o.XML_ATTRKEY]={[n]:i};return A}},31530:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.MapperTypeNames=void 0;t.createSerializer=createSerializer;const o=n(61860);const i=o.__importStar(n(20741));const A=n(56058);const c=n(31193);class SerializerImpl{modelMappers;isXML;constructor(e={},t=false){this.modelMappers=e;this.isXML=t}validateConstraints(e,t,n){const failValidation=(e,o)=>{throw new Error(`"${n}" with value "${t}" should satisfy the constraint "${e}": ${o}.`)};if(e.constraints&&t!==undefined&&t!==null){const{ExclusiveMaximum:n,ExclusiveMinimum:o,InclusiveMaximum:i,InclusiveMinimum:A,MaxItems:c,MaxLength:d,MinItems:p,MinLength:C,MultipleOf:S,Pattern:v,UniqueItems:T}=e.constraints;if(n!==undefined&&t>=n){failValidation("ExclusiveMaximum",n)}if(o!==undefined&&t<=o){failValidation("ExclusiveMinimum",o)}if(i!==undefined&&t>i){failValidation("InclusiveMaximum",i)}if(A!==undefined&&tc){failValidation("MaxItems",c)}if(d!==undefined&&t.length>d){failValidation("MaxLength",d)}if(p!==undefined&&t.lengthn.indexOf(e)!==t))){failValidation("UniqueItems",T)}}}serialize(e,t,n,o={xml:{}}){const i={xml:{rootName:o.xml.rootName??"",includeRoot:o.xml.includeRoot??false,xmlCharKey:o.xml.xmlCharKey??A.XML_CHARKEY}};let c={};const d=e.type.name;if(!n){n=e.serializedName}if(d.match(/^Sequence$/i)!==null){c=[]}if(e.isConstant){t=e.defaultValue}const{required:p,nullable:C}=e;if(p&&C&&t===undefined){throw new Error(`${n} cannot be undefined.`)}if(p&&!C&&(t===undefined||t===null)){throw new Error(`${n} cannot be null or undefined.`)}if(!p&&C===false&&t===null){throw new Error(`${n} cannot be null.`)}if(t===undefined||t===null){c=t}else{if(d.match(/^any$/i)!==null){c=t}else if(d.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){c=serializeBasicTypes(d,n,t)}else if(d.match(/^Enum$/i)!==null){const o=e;c=serializeEnumType(n,o.type.allowedValues,t)}else if(d.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){c=serializeDateTypes(d,t,n)}else if(d.match(/^ByteArray$/i)!==null){c=serializeByteArrayType(n,t)}else if(d.match(/^Base64Url$/i)!==null){c=serializeBase64UrlType(n,t)}else if(d.match(/^Sequence$/i)!==null){c=serializeSequenceType(this,e,t,n,Boolean(this.isXML),i)}else if(d.match(/^Dictionary$/i)!==null){c=serializeDictionaryType(this,e,t,n,Boolean(this.isXML),i)}else if(d.match(/^Composite$/i)!==null){c=serializeCompositeType(this,e,t,n,Boolean(this.isXML),i)}}return c}deserialize(e,t,n,o={xml:{}}){const c={xml:{rootName:o.xml.rootName??"",includeRoot:o.xml.includeRoot??false,xmlCharKey:o.xml.xmlCharKey??A.XML_CHARKEY},ignoreUnknownProperties:o.ignoreUnknownProperties??false};if(t===undefined||t===null){if(this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped){t=[]}if(e.defaultValue!==undefined){t=e.defaultValue}return t}let d;const p=e.type.name;if(!n){n=e.serializedName}if(p.match(/^Composite$/i)!==null){d=deserializeCompositeType(this,e,t,n,c)}else{if(this.isXML){const e=c.xml.xmlCharKey;if(t[A.XML_ATTRKEY]!==undefined&&t[e]!==undefined){t=t[e]}}if(p.match(/^Number$/i)!==null){d=parseFloat(t);if(isNaN(d)){d=t}}else if(p.match(/^Boolean$/i)!==null){if(t==="true"){d=true}else if(t==="false"){d=false}else{d=t}}else if(p.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){d=t}else if(p.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){d=new Date(t)}else if(p.match(/^UnixTime$/i)!==null){d=unixTimeToDate(t)}else if(p.match(/^ByteArray$/i)!==null){d=i.decodeString(t)}else if(p.match(/^Base64Url$/i)!==null){d=base64UrlToByteArray(t)}else if(p.match(/^Sequence$/i)!==null){d=deserializeSequenceType(this,e,t,n,c)}else if(p.match(/^Dictionary$/i)!==null){d=deserializeDictionaryType(this,e,t,n,c)}}if(e.isConstant){d=e.defaultValue}return d}}function createSerializer(e={},t=false){return new SerializerImpl(e,t)}function trimEnd(e,t){let n=e.length;while(n-1>=0&&e[n-1]===t){--n}return e.substr(0,n)}function bufferToBase64Url(e){if(!e){return undefined}if(!(e instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const t=i.encodeByteArray(e);return trimEnd(t,"=").replace(/\+/g,"-").replace(/\//g,"_")}function base64UrlToByteArray(e){if(!e){return undefined}if(e&&typeof e.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}e=e.replace(/-/g,"+").replace(/_/g,"/");return i.decodeString(e)}function splitSerializeName(e){const t=[];let n="";if(e){const o=e.split(".");for(const e of o){if(e.charAt(e.length-1)==="\\"){n+=e.substr(0,e.length-1)+"."}else{n+=e;t.push(n);n=""}}}return t}function dateToUnixTime(e){if(!e){return undefined}if(typeof e.valueOf()==="string"){e=new Date(e)}return Math.floor(e.getTime()/1e3)}function unixTimeToDate(e){if(!e){return undefined}return new Date(e*1e3)}function serializeBasicTypes(e,t,n){if(n!==null&&n!==undefined){if(e.match(/^Number$/i)!==null){if(typeof n!=="number"){throw new Error(`${t} with value ${n} must be of type number.`)}}else if(e.match(/^String$/i)!==null){if(typeof n.valueOf()!=="string"){throw new Error(`${t} with value "${n}" must be of type string.`)}}else if(e.match(/^Uuid$/i)!==null){if(!(typeof n.valueOf()==="string"&&(0,c.isValidUuid)(n))){throw new Error(`${t} with value "${n}" must be of type string and a valid uuid.`)}}else if(e.match(/^Boolean$/i)!==null){if(typeof n!=="boolean"){throw new Error(`${t} with value ${n} must be of type boolean.`)}}else if(e.match(/^Stream$/i)!==null){const e=typeof n;if(e!=="string"&&typeof n.pipe!=="function"&&typeof n.tee!=="function"&&!(n instanceof ArrayBuffer)&&!ArrayBuffer.isView(n)&&!((typeof Blob==="function"||typeof Blob==="object")&&n instanceof Blob)&&e!=="function"){throw new Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return n}function serializeEnumType(e,t,n){if(!t){throw new Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`)}const o=t.some((e=>{if(typeof e.valueOf()==="string"){return e.toLowerCase()===n.toLowerCase()}return e===n}));if(!o){throw new Error(`${n} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`)}return n}function serializeByteArrayType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=i.encodeByteArray(t)}return t}function serializeBase64UrlType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=bufferToBase64Url(t)}return t}function serializeDateTypes(e,t,n){if(t!==undefined&&t!==null){if(e.match(/^Date$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${n} must be an instanceof Date or a string in ISO8601 format.`)}t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(e.match(/^DateTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${n} must be an instanceof Date or a string in ISO8601 format.`)}t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(e.match(/^DateTimeRfc1123$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${n} must be an instanceof Date or a string in RFC-1123 format.`)}t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(e.match(/^UnixTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${n} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}t=dateToUnixTime(t)}else if(e.match(/^TimeSpan$/i)!==null){if(!(0,c.isDuration)(t)){throw new Error(`${n} must be a string in ISO 8601 format. Instead was "${t}".`)}}}return t}function serializeSequenceType(e,t,n,o,i,c){if(!Array.isArray(n)){throw new Error(`${o} must be of type Array.`)}let d=t.type.element;if(!d||typeof d!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${o}.`)}if(d.type.name==="Composite"&&d.type.className){d=e.modelMappers[d.type.className]??d}const p=[];for(let t=0;te!==i));if(A){d[i]=e.serialize(C,n[i],o+'["'+i+'"]',c)}}}return d}return n}function getXmlObjectValue(e,t,n,o){if(!n||!e.xmlNamespace){return t}const i=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";const c={[i]:e.xmlNamespace};if(["Composite"].includes(e.type.name)){if(t[A.XML_ATTRKEY]){return t}else{const e={...t};e[A.XML_ATTRKEY]=c;return e}}const d={};d[o.xml.xmlCharKey]=t;d[A.XML_ATTRKEY]=c;return d}function isSpecialXmlProperty(e,t){return[A.XML_ATTRKEY,t.xml.xmlCharKey].includes(e)}function deserializeCompositeType(e,t,n,o,i){const c=i.xml.xmlCharKey??A.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,n,"serializedName")}const d=resolveModelProperties(e,t,o);let p={};const C=[];for(const S of Object.keys(d)){const v=d[S];const T=splitSerializeName(d[S].serializedName);C.push(T[0]);const{serializedName:_,xmlName:V,xmlElementName:Z}=v;let ee=o;if(_!==""&&_!==undefined){ee=o+"."+_}const te=v.headerCollectionPrefix;if(te){const t={};for(const o of Object.keys(n)){if(o.startsWith(te)){t[o.substring(te.length)]=e.deserialize(v.type.value,n[o],ee,i)}C.push(o)}p[S]=t}else if(e.isXML){if(v.xmlIsAttribute&&n[A.XML_ATTRKEY]){p[S]=e.deserialize(v,n[A.XML_ATTRKEY][V],ee,i)}else if(v.xmlIsMsText){if(n[c]!==undefined){p[S]=n[c]}else if(typeof n==="string"){p[S]=n}}else{const t=Z||V||_;if(v.xmlIsWrapped){const t=n[V];const o=t?.[Z]??[];p[S]=e.deserialize(v,o,ee,i);C.push(V)}else{const o=n[t];p[S]=e.deserialize(v,o,ee,i);C.push(t)}}}else{let o;let A=n;let c=0;for(const e of T){if(!A)break;c++;A=A[e]}if(A===null&&c{for(const t in d){const n=splitSerializeName(d[t].serializedName);if(n[0]===e){return false}}return true};for(const t in n){if(isAdditionalProperty(t)){p[t]=e.deserialize(S,n[t],o+'["'+t+'"]',i)}}}else if(n&&!i.ignoreUnknownProperties){for(const e of Object.keys(n)){if(p[e]===undefined&&!C.includes(e)&&!isSpecialXmlProperty(e,i)){p[e]=n[e]}}}return p}function deserializeDictionaryType(e,t,n,o,i){const A=t.type.value;if(!A||typeof A!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${o}`)}if(n){const t={};for(const c of Object.keys(n)){t[c]=e.deserialize(A,n[c],o,i)}return t}return n}function deserializeSequenceType(e,t,n,o,i){let A=t.type.element;if(!A||typeof A!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${o}`)}if(n){if(!Array.isArray(n)){n=[n]}if(A.type.name==="Composite"&&A.type.className){A=e.modelMappers[A.type.className]??A}const t=[];for(let c=0;c{Object.defineProperty(t,"__esModule",{value:true});t.ServiceClient=void 0;const o=n(20778);const i=n(74136);const A=n(31193);const c=n(26323);const d=n(19688);const p=n(61752);const C=n(92066);const S=n(89994);class ServiceClient{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){this._requestContentType=e.requestContentType;this._endpoint=e.endpoint??e.baseUri;if(e.baseUri){S.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=e.allowInsecureConnection;this._httpClient=e.httpClient||(0,c.getCachedDefaultHttpClient)();this.pipeline=e.pipeline||createDefaultPipeline(e);if(e.additionalPolicies?.length){for(const{policy:t,position:n}of e.additionalPolicies){const e=n==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(t,{afterPhase:e})}}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){const n=t.baseUrl||this._endpoint;if(!n){throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.")}const i=(0,p.getRequestUrl)(n,t,e,this);const c=(0,o.createPipelineRequest)({url:i});c.method=t.httpMethod;const S=(0,d.getOperationRequestInfo)(c);S.operationSpec=t;S.operationArguments=e;const v=t.contentType||this._requestContentType;if(v&&t.requestBody){c.headers.set("Content-Type",v)}const T=e.options;if(T){const e=T.requestOptions;if(e){if(e.timeout){c.timeout=e.timeout}if(e.onUploadProgress){c.onUploadProgress=e.onUploadProgress}if(e.onDownloadProgress){c.onDownloadProgress=e.onDownloadProgress}if(e.shouldDeserialize!==undefined){S.shouldDeserialize=e.shouldDeserialize}if(e.allowInsecureConnection){c.allowInsecureConnection=true}}if(T.abortSignal){c.abortSignal=T.abortSignal}if(T.tracingOptions){c.tracingOptions=T.tracingOptions}}if(this._allowInsecureConnection){c.allowInsecureConnection=true}if(c.streamResponseStatusCodes===undefined){c.streamResponseStatusCodes=(0,C.getStreamingResponseStatusCodes)(t)}try{const e=await this.sendRequest(c);const n=(0,A.flattenResponse)(e,t.responses[e.status]);if(T?.onResponse){T.onResponse(e,n)}return n}catch(e){if(typeof e==="object"&&e?.response){const n=e.response;const o=(0,A.flattenResponse)(n,t.responses[e.statusCode]||t.responses["default"]);e.details=o;if(T?.onResponse){T.onResponse(n,o,e)}}throw e}}}t.ServiceClient=ServiceClient;function createDefaultPipeline(e){const t=getCredentialScopes(e);const n=e.credential&&t?{credentialScopes:t,credential:e.credential}:undefined;return(0,i.createClientPipeline)({...e,credentialOptions:n})}function getCredentialScopes(e){if(e.credentialScopes){return e.credentialScopes}if(e.endpoint){return`${e.endpoint}/.default`}if(e.baseUri){return`${e.baseUri}/.default`}if(e.credential&&!e.credentialScopes){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}},33345:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.state=void 0;t.state={operationRequestMap:new WeakMap}},61752:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRequestUrl=getRequestUrl;t.appendQueryParams=appendQueryParams;const o=n(19688);const i=n(92066);const A={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(e,t,n,o){const i=calculateUrlReplacements(t,n,o);let A=false;let c=replaceAll(e,i);if(t.path){let e=replaceAll(t.path,i);if(t.path==="/{nextLink}"&&e.startsWith("/")){e=e.substring(1)}if(isAbsoluteUrl(e)){c=e;A=true}else{c=appendPath(c,e)}}const{queryParams:d,sequenceParams:p}=calculateQueryParameters(t,n,o);c=appendQueryParams(c,d,p,A);return c}function replaceAll(e,t){let n=e;for(const[e,o]of t){n=n.split(e).join(o)}return n}function calculateUrlReplacements(e,t,n){const A=new Map;if(e.urlParameters?.length){for(const c of e.urlParameters){let d=(0,o.getOperationArgumentValueFromParameter)(t,c,n);const p=(0,i.getPathStringFromParameter)(c);d=e.serializer.serialize(c.mapper,d,p);if(!c.skipEncoding){d=encodeURIComponent(d)}A.set(`{${c.mapper.serializedName||p}}`,d)}}return A}function isAbsoluteUrl(e){return e.includes("://")}function appendPath(e,t){if(!t){return e}const n=new URL(e);let o=n.pathname;if(!o.endsWith("/")){o=`${o}/`}if(t.startsWith("/")){t=t.substring(1)}const i=t.indexOf("?");if(i!==-1){const e=t.substring(0,i);const A=t.substring(i+1);o=o+e;if(A){n.search=n.search?`${n.search}&${A}`:A}}else{o=o+t}n.pathname=o;return n.toString()}function calculateQueryParameters(e,t,n){const c=new Map;const d=new Set;if(e.queryParameters?.length){for(const p of e.queryParameters){if(p.mapper.type.name==="Sequence"&&p.mapper.serializedName){d.add(p.mapper.serializedName)}let C=(0,o.getOperationArgumentValueFromParameter)(t,p,n);if(C!==undefined&&C!==null||p.mapper.required){C=e.serializer.serialize(p.mapper,C,(0,i.getPathStringFromParameter)(p));const t=p.collectionFormat?A[p.collectionFormat]:"";if(Array.isArray(C)){C=C.map((e=>{if(e===null||e===undefined){return""}return e}))}if(p.collectionFormat==="Multi"&&C.length===0){continue}else if(Array.isArray(C)&&(p.collectionFormat==="SSV"||p.collectionFormat==="TSV")){C=C.join(t)}if(!p.skipEncoding){if(Array.isArray(C)){C=C.map((e=>encodeURIComponent(e)))}else{C=encodeURIComponent(C)}}if(Array.isArray(C)&&(p.collectionFormat==="CSV"||p.collectionFormat==="Pipes")){C=C.join(t)}c.set(p.mapper.serializedName||(0,i.getPathStringFromParameter)(p),C)}}}return{queryParams:c,sequenceParams:d}}function simpleParseQueryParams(e){const t=new Map;if(!e||e[0]!=="?"){return t}e=e.slice(1);const n=e.split("&");for(const e of n){const[n,o]=e.split("=",2);const i=t.get(n);if(i){if(Array.isArray(i)){i.push(o)}else{t.set(n,[i,o])}}else{t.set(n,o)}}return t}function appendQueryParams(e,t,n,o=false){if(t.size===0){return e}const i=new URL(e);const A=simpleParseQueryParams(i.search);for(const[e,i]of t){const t=A.get(e);if(Array.isArray(t)){if(Array.isArray(i)){t.push(...i);const n=new Set(t);A.set(e,Array.from(n))}else{t.push(i)}}else if(t){if(Array.isArray(i)){i.unshift(t)}else if(n.has(e)){A.set(e,[t,i])}if(!o){A.set(e,i)}}else{A.set(e,i)}}const c=[];for(const[e,t]of A){if(typeof t==="string"){c.push(`${e}=${t}`)}else if(Array.isArray(t)){for(const n of t){c.push(`${e}=${n}`)}}else{c.push(`${e}=${t}`)}}i.search=c.length?`?${c.join("&")}`:"";return i.toString()}},31193:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isPrimitiveBody=isPrimitiveBody;t.isDuration=isDuration;t.isValidUuid=isValidUuid;t.flattenResponse=flattenResponse;function isPrimitiveBody(e,t){return t!=="Composite"&&t!=="Dictionary"&&(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||t?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||e===undefined||e===null)}const n=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function isDuration(e){return n.test(e)}const o=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function isValidUuid(e){return o.test(e)}function handleNullableResponseAndWrappableBody(e){const t={...e.headers,...e.body};if(e.hasNullableType&&Object.getOwnPropertyNames(t).length===0){return e.shouldWrapBody?{body:null}:null}else{return e.shouldWrapBody?{...e.headers,body:e.body}:t}}function flattenResponse(e,t){const n=e.parsedHeaders;if(e.request.method==="HEAD"){return{...n,body:e.parsedBody}}const o=t&&t.bodyMapper;const i=Boolean(o?.nullable);const A=o?.type.name;if(A==="Stream"){return{...n,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody}}const c=A==="Composite"&&o.type.modelProperties||{};const d=Object.keys(c).some((e=>c[e].serializedName===""));if(A==="Sequence"||d){const t=e.parsedBody??[];for(const n of Object.keys(c)){if(c[n].serializedName){t[n]=e.parsedBody?.[n]}}if(n){for(const e of Object.keys(n)){t[e]=n[e]}}return i&&!e.parsedBody&&!n&&Object.getOwnPropertyNames(c).length===0?null:t}return handleNullableResponseAndWrappableBody({body:e.parsedBody,headers:n,hasNullableType:i,shouldWrapBody:isPrimitiveBody(e.parsedBody,A)})}},95492:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ExtendedServiceClient=void 0;const o=n(32639);const i=n(20778);const A=n(60160);const c=n(38153);class ExtendedServiceClient extends A.ServiceClient{constructor(e){super(e);if(e.keepAliveOptions?.enable===false&&!(0,o.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,o.createDisableKeepAlivePolicy)())}if(e.redirectOptions?.handleRedirects===false){this.pipeline.removePolicy({name:i.redirectPolicyName})}}async sendOperationRequest(e,t){const n=e?.options?.onResponse;let o;function onResponse(e,t,i){o=e;if(n){n(e,t,i)}}e.options={...e.options,onResponse:onResponse};const i=await super.sendOperationRequest(e,t);if(o){Object.defineProperty(i,"_response",{value:(0,c.toCompatResponse)(o)})}return i}}t.ExtendedServiceClient=ExtendedServiceClient},2078:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.convertHttpClient=convertHttpClient;const o=n(38153);const i=n(33850);function convertHttpClient(e){return{sendRequest:async t=>{const n=await e.sendRequest((0,i.toWebResourceLike)(t,{createProxy:true}));return(0,o.toPipelineResponse)(n)}}}},61584:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.toHttpHeadersLike=t.convertHttpClient=t.disableKeepAlivePolicyName=t.HttpPipelineLogLevel=t.createRequestPolicyFactoryPolicy=t.requestPolicyFactoryPolicyName=t.ExtendedServiceClient=void 0;var o=n(95492);Object.defineProperty(t,"ExtendedServiceClient",{enumerable:true,get:function(){return o.ExtendedServiceClient}});var i=n(3466);Object.defineProperty(t,"requestPolicyFactoryPolicyName",{enumerable:true,get:function(){return i.requestPolicyFactoryPolicyName}});Object.defineProperty(t,"createRequestPolicyFactoryPolicy",{enumerable:true,get:function(){return i.createRequestPolicyFactoryPolicy}});Object.defineProperty(t,"HttpPipelineLogLevel",{enumerable:true,get:function(){return i.HttpPipelineLogLevel}});var A=n(32639);Object.defineProperty(t,"disableKeepAlivePolicyName",{enumerable:true,get:function(){return A.disableKeepAlivePolicyName}});var c=n(2078);Object.defineProperty(t,"convertHttpClient",{enumerable:true,get:function(){return c.convertHttpClient}});var d=n(33850);Object.defineProperty(t,"toHttpHeadersLike",{enumerable:true,get:function(){return d.toHttpHeadersLike}})},32639:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.disableKeepAlivePolicyName=void 0;t.createDisableKeepAlivePolicy=createDisableKeepAlivePolicy;t.pipelineContainsDisableKeepAlivePolicy=pipelineContainsDisableKeepAlivePolicy;t.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:t.disableKeepAlivePolicyName,async sendRequest(e,t){e.disableKeepAlive=true;return t(e)}}}function pipelineContainsDisableKeepAlivePolicy(e){return e.getOrderedPolicies().some((e=>e.name===t.disableKeepAlivePolicyName))}},3466:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.requestPolicyFactoryPolicyName=t.HttpPipelineLogLevel=void 0;t.createRequestPolicyFactoryPolicy=createRequestPolicyFactoryPolicy;const o=n(33850);const i=n(38153);var A;(function(e){e[e["ERROR"]=1]="ERROR";e[e["INFO"]=3]="INFO";e[e["OFF"]=0]="OFF";e[e["WARNING"]=2]="WARNING"})(A||(t.HttpPipelineLogLevel=A={}));const c={log(e,t){},shouldLog(e){return false}};t.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(e){const n=e.slice().reverse();return{name:t.requestPolicyFactoryPolicyName,async sendRequest(e,t){let A={async sendRequest(e){const n=await t((0,o.toPipelineRequest)(e));return(0,i.toCompatResponse)(n,{createProxy:true})}};for(const e of n){A=e.create(A,c)}const d=(0,o.toWebResourceLike)(e,{createProxy:true});const p=await A.sendRequest(d);return(0,i.toPipelineResponse)(p)}}}},38153:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCompatResponse=toCompatResponse;t.toPipelineResponse=toPipelineResponse;const o=n(20778);const i=n(33850);const A=Symbol("Original FullOperationResponse");function toCompatResponse(e,t){let n=(0,i.toWebResourceLike)(e.request);let o=(0,i.toHttpHeadersLike)(e.headers);if(t?.createProxy){return new Proxy(e,{get(t,i,c){if(i==="headers"){return o}else if(i==="request"){return n}else if(i===A){return e}return Reflect.get(t,i,c)},set(e,t,i,A){if(t==="headers"){o=i}else if(t==="request"){n=i}return Reflect.set(e,t,i,A)}})}else{return{...e,request:n,headers:o}}}function toPipelineResponse(e){const t=e;const n=t[A];const c=(0,o.createHttpHeaders)(e.headers.toJson({preserveCase:true}));if(n){n.headers=c;return n}else{return{...e,headers:c,request:(0,i.toPipelineRequest)(e.request)}}}},33850:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.HttpHeaders=void 0;t.toPipelineRequest=toPipelineRequest;t.toWebResourceLike=toWebResourceLike;t.toHttpHeadersLike=toHttpHeadersLike;const o=n(20778);const i=Symbol("Original PipelineRequest");const A=Symbol.for("@azure/core-client original request");function toPipelineRequest(e,t={}){const n=e;const c=n[i];const d=(0,o.createHttpHeaders)(e.headers.toJson({preserveCase:true}));if(c){c.headers=d;return c}else{const n=(0,o.createPipelineRequest)({url:e.url,method:e.method,headers:d,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});if(t.originalRequest){n[A]=t.originalRequest}return n}}function toWebResourceLike(e,t){const n=t?.originalRequest??e;const o={url:e.url,method:e.method,headers:toHttpHeadersLike(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};if(t?.createProxy){return new Proxy(o,{get(t,A,c){if(A===i){return e}else if(A==="clone"){return()=>toWebResourceLike(toPipelineRequest(o,{originalRequest:n}),{createProxy:true,originalRequest:n})}return Reflect.get(t,A,c)},set(t,n,o,i){if(n==="keepAlive"){e.disableKeepAlive=!o}const A=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof n==="string"&&A.includes(n)){e[n]=o}return Reflect.set(t,n,o,i)}})}else{return o}}function toHttpHeadersLike(e){return new HttpHeaders(e.toJSON({preserveCase:true}))}function getHeaderKey(e){return e.toLowerCase()}class HttpHeaders{_headersMap;constructor(e){this._headersMap={};if(e){for(const t in e){this.set(t,e[t])}}}set(e,t){this._headersMap[getHeaderKey(e)]={name:e,value:t.toString()}}get(e){const t=this._headersMap[getHeaderKey(e)];return!t?undefined:t.value}contains(e){return!!this._headersMap[getHeaderKey(e)]}remove(e){const t=this.contains(e);delete this._headersMap[getHeaderKey(e)];return t}rawHeaders(){return this.toJson({preserveCase:true})}headersArray(){const e=[];for(const t in this._headersMap){e.push(this._headersMap[t])}return e}headerNames(){const e=[];const t=this.headersArray();for(let n=0;n{Object.defineProperty(t,"__esModule",{value:true});t.pollHttpOperation=t.isOperationError=t.getResourceLocation=t.getOperationStatus=t.getOperationLocation=t.initHttpOperation=t.getStatusFromInitialResponse=t.getErrorFromResponse=t.parseRetryAfter=t.inferLroMode=void 0;const o=n(30736);const i=n(50480);function getOperationLocationPollingUrl(e){const{azureAsyncOperation:t,operationLocation:n}=e;return n!==null&&n!==void 0?n:t}function getLocationHeader(e){return e.headers["location"]}function getOperationLocationHeader(e){return e.headers["operation-location"]}function getAzureAsyncOperationHeader(e){return e.headers["azure-asyncoperation"]}function findResourceLocation(e){var t;const{location:n,requestMethod:o,requestPath:i,resourceLocationConfig:A}=e;switch(o){case"PUT":{return i}case"DELETE":{return undefined}case"PATCH":{return(t=getDefault())!==null&&t!==void 0?t:i}default:{return getDefault()}}function getDefault(){switch(A){case"azure-async-operation":{return undefined}case"original-uri":{return i}case"location":default:{return n}}}}function inferLroMode(e){const{rawResponse:t,requestMethod:n,requestPath:o,resourceLocationConfig:i}=e;const A=getOperationLocationHeader(t);const c=getAzureAsyncOperationHeader(t);const d=getOperationLocationPollingUrl({operationLocation:A,azureAsyncOperation:c});const p=getLocationHeader(t);const C=n===null||n===void 0?void 0:n.toLocaleUpperCase();if(d!==undefined){return{mode:"OperationLocation",operationLocation:d,resourceLocation:findResourceLocation({requestMethod:C,location:p,requestPath:o,resourceLocationConfig:i})}}else if(p!==undefined){return{mode:"ResourceLocation",operationLocation:p}}else if(C==="PUT"&&o){return{mode:"Body",operationLocation:o}}else{return undefined}}t.inferLroMode=inferLroMode;function transformStatus(e){const{status:t,statusCode:n}=e;if(typeof t!=="string"&&t!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${t}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(t===null||t===void 0?void 0:t.toLocaleLowerCase()){case undefined:return toOperationStatus(n);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:{i.logger.verbose(`LRO: unrecognized operation status: ${t}`);return t}}}function getStatus(e){var t;const{status:n}=(t=e.body)!==null&&t!==void 0?t:{};return transformStatus({status:n,statusCode:e.statusCode})}function getProvisioningState(e){var t,n;const{properties:o,provisioningState:i}=(t=e.body)!==null&&t!==void 0?t:{};const A=(n=o===null||o===void 0?void 0:o.provisioningState)!==null&&n!==void 0?n:i;return transformStatus({status:A,statusCode:e.statusCode})}function toOperationStatus(e){if(e===202){return"running"}else if(e<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:e}){const t=e.headers["retry-after"];if(t!==undefined){const e=parseInt(t);return isNaN(e)?calculatePollingIntervalFromDate(new Date(t)):e*1e3}return undefined}t.parseRetryAfter=parseRetryAfter;function getErrorFromResponse(e){const t=accessBodyProperty(e,"error");if(!t){i.logger.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!t.code||!t.message){i.logger.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return t}t.getErrorFromResponse=getErrorFromResponse;function calculatePollingIntervalFromDate(e){const t=Math.floor((new Date).getTime());const n=e.getTime();if(t{const e=await A.sendInitialRequest();const t=inferLroMode({rawResponse:e.rawResponse,requestPath:A.requestPath,requestMethod:A.requestMethod,resourceLocationConfig:n});return Object.assign({response:e,operationLocation:t===null||t===void 0?void 0:t.operationLocation,resourceLocation:t===null||t===void 0?void 0:t.resourceLocation},(t===null||t===void 0?void 0:t.mode)?{metadata:{mode:t.mode}}:{})},stateProxy:t,processResult:i?({flatResponse:e},t)=>i(e,t):({flatResponse:e})=>e,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:c})}t.initHttpOperation=initHttpOperation;function getOperationLocation({rawResponse:e},t){var n;const o=(n=t.config.metadata)===null||n===void 0?void 0:n["mode"];switch(o){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(e),azureAsyncOperation:getAzureAsyncOperationHeader(e)})}case"ResourceLocation":{return getLocationHeader(e)}case"Body":default:{return undefined}}}t.getOperationLocation=getOperationLocation;function getOperationStatus({rawResponse:e},t){var n;const o=(n=t.config.metadata)===null||n===void 0?void 0:n["mode"];switch(o){case"OperationLocation":{return getStatus(e)}case"ResourceLocation":{return toOperationStatus(e.statusCode)}case"Body":{return getProvisioningState(e)}default:throw new Error(`Internal error: Unexpected operation mode: ${o}`)}}t.getOperationStatus=getOperationStatus;function accessBodyProperty({flatResponse:e,rawResponse:t},n){var o,i;return(o=e===null||e===void 0?void 0:e[n])!==null&&o!==void 0?o:(i=t.body)===null||i===void 0?void 0:i[n]}function getResourceLocation(e,t){const n=accessBodyProperty(e,"resourceLocation");if(n&&typeof n==="string"){t.config.resourceLocation=n}return t.config.resourceLocation}t.getResourceLocation=getResourceLocation;function isOperationError(e){return e.name==="RestError"}t.isOperationError=isOperationError;async function pollHttpOperation(e){const{lro:t,stateProxy:n,options:i,processResult:A,updateState:c,setDelay:d,state:p,setErrorAsResult:C}=e;return(0,o.pollOperation)({state:p,stateProxy:n,setDelay:d,processResult:A?({flatResponse:e},t)=>A(e,t):({flatResponse:e})=>e,getError:getErrorFromResponse,updateState:c,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:i,poll:async(e,n)=>t.sendPollRequest(e,n),setErrorAsResult:C})}t.pollHttpOperation=pollHttpOperation},57421:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createHttpPoller=void 0;const o=n(93878);const i=n(18835);async function createHttpPoller(e,t){const{resourceLocationConfig:n,intervalInMs:A,processResult:c,restoreFrom:d,updateState:p,withOperationLocation:C,resolveOnUnsuccessful:S=false}=t||{};return(0,i.buildCreatePoller)({getStatusFromInitialResponse:o.getStatusFromInitialResponse,getStatusFromPollResponse:o.getOperationStatus,isOperationError:o.isOperationError,getOperationLocation:o.getOperationLocation,getResourceLocation:o.getResourceLocation,getPollingInterval:o.parseRetryAfter,getError:o.getErrorFromResponse,resolveOnUnsuccessful:S})({init:async()=>{const t=await e.sendInitialRequest();const i=(0,o.inferLroMode)({rawResponse:t.rawResponse,requestPath:e.requestPath,requestMethod:e.requestMethod,resourceLocationConfig:n});return Object.assign({response:t,operationLocation:i===null||i===void 0?void 0:i.operationLocation,resourceLocation:i===null||i===void 0?void 0:i.resourceLocation},(i===null||i===void 0?void 0:i.mode)?{metadata:{mode:i.mode}}:{})},poll:e.sendPollRequest},{intervalInMs:A,withOperationLocation:C,restoreFrom:d,updateState:p,processResult:c?({flatResponse:e},t)=>c(e,t):({flatResponse:e})=>e})}t.createHttpPoller=createHttpPoller},91754:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createHttpPoller=void 0;const o=n(61860);var i=n(57421);Object.defineProperty(t,"createHttpPoller",{enumerable:true,get:function(){return i.createHttpPoller}});o.__exportStar(n(55454),t);o.__exportStar(n(36272),t);o.__exportStar(n(82670),t)},55454:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.LroEngine=void 0;var o=n(91607);Object.defineProperty(t,"LroEngine",{enumerable:true,get:function(){return o.LroEngine}})},91607:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.LroEngine=void 0;const o=n(54267);const i=n(55044);const A=n(36272);const c=n(30736);class LroEngine extends A.Poller{constructor(e,t){const{intervalInMs:n=i.POLL_INTERVAL_IN_MS,resumeFrom:A,resolveOnUnsuccessful:d=false,isDone:p,lroResourceLocationConfig:C,processResult:S,updateState:v}=t||{};const T=A?(0,c.deserializeState)(A):{};const _=new o.GenericPollOperation(T,e,!d,C,S,v,p);super(_);this.resolveOnUnsuccessful=d;this.config={intervalInMs:n};_.setPollerConfig(this.config)}delay(){return new Promise((e=>setTimeout((()=>e()),this.config.intervalInMs)))}}t.LroEngine=LroEngine},54267:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.GenericPollOperation=void 0;const o=n(93878);const i=n(50480);const createStateProxy=()=>({initState:e=>({config:e,isStarted:true}),setCanceled:e=>e.isCancelled=true,setError:(e,t)=>e.error=t,setResult:(e,t)=>e.result=t,setRunning:e=>e.isStarted=true,setSucceeded:e=>e.isCompleted=true,setFailed:()=>{},getError:e=>e.error,getResult:e=>e.result,isCanceled:e=>!!e.isCancelled,isFailed:e=>!!e.error,isRunning:e=>!!e.isStarted,isSucceeded:e=>Boolean(e.isCompleted&&!e.isCancelled&&!e.error)});class GenericPollOperation{constructor(e,t,n,o,i,A,c){this.state=e;this.lro=t;this.setErrorAsResult=n;this.lroResourceLocationConfig=o;this.processResult=i;this.updateState=A;this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var t;const n=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await(0,o.initHttpOperation)({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const i=this.updateState;const A=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await(0,o.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(e,{rawResponse:t})=>i(e,t):undefined,isDone:A?({flatResponse:e},t)=>A(e,t):undefined,options:e,setDelay:e=>{this.pollerConfig.intervalInMs=e},setErrorAsResult:this.setErrorAsResult})}(t=e===null||e===void 0?void 0:e.fireProgress)===null||t===void 0?void 0:t.call(e,this.state);return this}async cancel(){i.logger.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}t.GenericPollOperation=GenericPollOperation},82670:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},36272:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Poller=t.PollerCancelledError=t.PollerStoppedError=void 0;class PollerStoppedError extends Error{constructor(e){super(e);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}t.PollerStoppedError=PollerStoppedError;class PollerCancelledError extends Error{constructor(e){super(e);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}t.PollerCancelledError=PollerCancelledError;class Poller{constructor(e){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=e;this.promise=new Promise(((e,t)=>{this.resolve=e;this.reject=t}));this.promise.catch((()=>{}))}async startPolling(e={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(e);await this.delay()}}async pollOnce(e={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(e){for(const t of this.pollProgressCallbacks){t(e)}}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);const clearPollOncePromise=()=>{this.pollOncePromise=undefined};this.pollOncePromise.then(clearPollOncePromise,clearPollOncePromise).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){const e=new PollerCancelledError("Operation was canceled");this.reject(e);throw e}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(e={}){if(this.stopped){this.startPolling(e).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(e){this.pollProgressCallbacks.push(e);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((t=>t!==e))}}isDone(){const e=this.operation.state;return Boolean(e.isCompleted||e.isCancelled||e.error)}stopPolling(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new PollerStoppedError("This poller is already stopped"))}}}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(e)}else if(e.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const e=this.operation.state;return e.result}toString(){return this.operation.toString()}}t.Poller=Poller},50480:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const o=n(26515);t.logger=(0,o.createClientLogger)("core-lro")},55044:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.terminalStates=t.POLL_INTERVAL_IN_MS=void 0;t.POLL_INTERVAL_IN_MS=2e3;t.terminalStates=["succeeded","canceled","failed"]},30736:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.pollOperation=t.initOperation=t.deserializeState=void 0;const o=n(50480);const i=n(55044);function deserializeState(e){try{return JSON.parse(e).state}catch(t){throw new Error(`Unable to deserialize input state: ${e}`)}}t.deserializeState=deserializeState;function setStateError(e){const{state:t,stateProxy:n,isOperationError:o}=e;return e=>{if(o(e)){n.setError(t,e);n.setFailed(t)}throw e}}function appendReadableErrorMessage(e,t){let n=e;if(n.slice(-1)!=="."){n=n+"."}return n+" "+t}function simplifyError(e){let t=e.message;let n=e.code;let o=e;while(o.innererror){o=o.innererror;n=o.code;t=appendReadableErrorMessage(t,o.message)}return{code:n,message:t}}function processOperationStatus(e){const{state:t,stateProxy:n,status:i,isDone:A,processResult:c,getError:d,response:p,setErrorAsResult:C}=e;switch(i){case"succeeded":{n.setSucceeded(t);break}case"failed":{const e=d===null||d===void 0?void 0:d(p);let i="";if(e){const{code:t,message:n}=simplifyError(e);i=`. ${t}. ${n}`}const A=`The long-running operation has failed${i}`;n.setError(t,new Error(A));n.setFailed(t);o.logger.warning(A);break}case"canceled":{n.setCanceled(t);break}}if((A===null||A===void 0?void 0:A(p,t))||A===undefined&&["succeeded","canceled"].concat(C?[]:["failed"]).includes(i)){n.setResult(t,buildResult({response:p,state:t,processResult:c}))}}function buildResult(e){const{processResult:t,response:n,state:o}=e;return t?t(n,o):n}async function initOperation(e){const{init:t,stateProxy:n,processResult:i,getOperationStatus:A,withOperationLocation:c,setErrorAsResult:d}=e;const{operationLocation:p,resourceLocation:C,metadata:S,response:v}=await t();if(p)c===null||c===void 0?void 0:c(p,false);const T={metadata:S,operationLocation:p,resourceLocation:C};o.logger.verbose(`LRO: Operation description:`,T);const _=n.initState(T);const V=A({response:v,state:_,operationLocation:p});processOperationStatus({state:_,status:V,stateProxy:n,response:v,setErrorAsResult:d,processResult:i});return _}t.initOperation=initOperation;async function pollOperationHelper(e){const{poll:t,state:n,stateProxy:A,operationLocation:c,getOperationStatus:d,getResourceLocation:p,isOperationError:C,options:S}=e;const v=await t(c,S).catch(setStateError({state:n,stateProxy:A,isOperationError:C}));const T=d(v,n);o.logger.verbose(`LRO: Status:\n\tPolling from: ${n.config.operationLocation}\n\tOperation status: ${T}\n\tPolling status: ${i.terminalStates.includes(T)?"Stopped":"Running"}`);if(T==="succeeded"){const e=p(v,n);if(e!==undefined){return{response:await t(e).catch(setStateError({state:n,stateProxy:A,isOperationError:C})),status:T}}}return{response:v,status:T}}async function pollOperation(e){const{poll:t,state:n,stateProxy:o,options:A,getOperationStatus:c,getResourceLocation:d,getOperationLocation:p,isOperationError:C,withOperationLocation:S,getPollingInterval:v,processResult:T,getError:_,updateState:V,setDelay:Z,isDone:ee,setErrorAsResult:te}=e;const{operationLocation:re}=n.config;if(re!==undefined){const{response:e,status:ne}=await pollOperationHelper({poll:t,getOperationStatus:c,state:n,stateProxy:o,operationLocation:re,getResourceLocation:d,isOperationError:C,options:A});processOperationStatus({status:ne,response:e,state:n,stateProxy:o,isDone:ee,processResult:T,getError:_,setErrorAsResult:te});if(!i.terminalStates.includes(ne)){const t=v===null||v===void 0?void 0:v(e);if(t)Z(t);const o=p===null||p===void 0?void 0:p(e,n);if(o!==undefined){const e=re!==o;n.config.operationLocation=o;S===null||S===void 0?void 0:S(o,e)}else S===null||S===void 0?void 0:S(re,false)}V===null||V===void 0?void 0:V(n,e)}}t.pollOperation=pollOperation},18835:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.buildCreatePoller=void 0;const o=n(30736);const i=n(55044);const A=n(87779);const createStateProxy=()=>({initState:e=>({status:"running",config:e}),setCanceled:e=>e.status="canceled",setError:(e,t)=>e.error=t,setResult:(e,t)=>e.result=t,setRunning:e=>e.status="running",setSucceeded:e=>e.status="succeeded",setFailed:e=>e.status="failed",getError:e=>e.error,getResult:e=>e.result,isCanceled:e=>e.status==="canceled",isFailed:e=>e.status==="failed",isRunning:e=>e.status==="running",isSucceeded:e=>e.status==="succeeded"});function buildCreatePoller(e){const{getOperationLocation:t,getStatusFromInitialResponse:n,getStatusFromPollResponse:c,isOperationError:d,getResourceLocation:p,getPollingInterval:C,getError:S,resolveOnUnsuccessful:v}=e;return async({init:e,poll:T},_)=>{const{processResult:V,updateState:Z,withOperationLocation:ee,intervalInMs:te=i.POLL_INTERVAL_IN_MS,restoreFrom:re}=_||{};const ne=createStateProxy();const oe=ee?(()=>{let e=false;return(t,n)=>{if(n)ee(t);else if(!e)ee(t);e=true}})():undefined;const ie=re?(0,o.deserializeState)(re):await(0,o.initOperation)({init:e,stateProxy:ne,processResult:V,getOperationStatus:n,withOperationLocation:oe,setErrorAsResult:!v});let se;const ae=new AbortController;const Ae=new Map;const handleProgressEvents=async()=>Ae.forEach((e=>e(ie)));const ce="Operation was canceled";let le=te;const ue={getOperationState:()=>ie,getResult:()=>ie.result,isDone:()=>["succeeded","failed","canceled"].includes(ie.status),isStopped:()=>se===undefined,stopPolling:()=>{ae.abort()},toString:()=>JSON.stringify({state:ie}),onProgress:e=>{const t=Symbol();Ae.set(t,e);return()=>Ae.delete(t)},pollUntilDone:e=>se!==null&&se!==void 0?se:se=(async()=>{const{abortSignal:t}=e||{};function abortListener(){ae.abort()}const n=ae.signal;if(t===null||t===void 0?void 0:t.aborted){ae.abort()}else if(!n.aborted){t===null||t===void 0?void 0:t.addEventListener("abort",abortListener,{once:true})}try{if(!ue.isDone()){await ue.poll({abortSignal:n});while(!ue.isDone()){await(0,A.delay)(le,{abortSignal:n});await ue.poll({abortSignal:n})}}}finally{t===null||t===void 0?void 0:t.removeEventListener("abort",abortListener)}if(v){return ue.getResult()}else{switch(ie.status){case"succeeded":return ue.getResult();case"canceled":throw new Error(ce);case"failed":throw ie.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{se=undefined})),async poll(e){if(v){if(ue.isDone())return}else{switch(ie.status){case"succeeded":return;case"canceled":throw new Error(ce);case"failed":throw ie.error}}await(0,o.pollOperation)({poll:T,state:ie,stateProxy:ne,getOperationLocation:t,isOperationError:d,withOperationLocation:oe,getPollingInterval:C,getOperationStatus:c,getResourceLocation:p,processResult:V,getError:S,updateState:Z,options:e,setDelay:e=>{le=e},setErrorAsResult:!v});await handleProgressEvents();if(!v){switch(ie.status){case"canceled":throw new Error(ce);case"failed":throw ie.error}}}};return ue}}t.buildCreatePoller=buildCreatePoller},66427:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_RETRY_POLICY_COUNT=t.SDK_VERSION=void 0;t.SDK_VERSION="1.22.2";t.DEFAULT_RETRY_POLICY_COUNT=3},90862:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createPipelineFromOptions=createPipelineFromOptions;const o=n(53253);const i=n(29590);const A=n(64087);const c=n(32799);const d=n(45807);const p=n(39295);const C=n(48170);const S=n(75497);const v=n(87779);const T=n(32815);const _=n(95686);const V=n(18554);const Z=n(75798);const ee=n(93237);const te=n(37466);function createPipelineFromOptions(e){const t=(0,i.createEmptyPipeline)();if(v.isNodeLike){if(e.agent){t.addPolicy((0,V.agentPolicy)(e.agent))}if(e.tlsOptions){t.addPolicy((0,Z.tlsPolicy)(e.tlsOptions))}t.addPolicy((0,T.proxyPolicy)(e.proxyOptions));t.addPolicy((0,p.decompressResponsePolicy)())}t.addPolicy((0,te.wrapAbortSignalLikePolicy)());t.addPolicy((0,S.formDataPolicy)(),{beforePolicies:[d.multipartPolicyName]});t.addPolicy((0,c.userAgentPolicy)(e.userAgentOptions));t.addPolicy((0,_.setClientRequestIdPolicy)(e.telemetryOptions?.clientRequestIdHeaderName));t.addPolicy((0,d.multipartPolicy)(),{afterPhase:"Deserialize"});t.addPolicy((0,C.defaultRetryPolicy)(e.retryOptions),{phase:"Retry"});t.addPolicy((0,ee.tracingPolicy)({...e.userAgentOptions,...e.loggingOptions}),{afterPhase:"Retry"});if(v.isNodeLike){t.addPolicy((0,A.redirectPolicy)(e.redirectOptions),{afterPhase:"Retry"})}t.addPolicy((0,o.logPolicy)(e.loggingOptions),{afterPhase:"Sign"});return t}},7960:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createDefaultHttpClient=createDefaultHttpClient;const o=n(41958);const i=n(91297);function createDefaultHttpClient(){const e=(0,o.createDefaultHttpClient)();return{async sendRequest(t){const{abortSignal:n,cleanup:o}=t.abortSignal?(0,i.wrapAbortSignalLike)(t.abortSignal):{};try{t.abortSignal=n;return await e.sendRequest(t)}finally{o?.()}}}}},192:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createHttpHeaders=createHttpHeaders;const o=n(41958);function createHttpHeaders(e){return(0,o.createHttpHeaders)(e)}},20778:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createFileFromStream=t.createFile=t.agentPolicyName=t.agentPolicy=t.auxiliaryAuthenticationHeaderPolicyName=t.auxiliaryAuthenticationHeaderPolicy=t.ndJsonPolicyName=t.ndJsonPolicy=t.bearerTokenAuthenticationPolicyName=t.bearerTokenAuthenticationPolicy=t.formDataPolicyName=t.formDataPolicy=t.tlsPolicyName=t.tlsPolicy=t.userAgentPolicyName=t.userAgentPolicy=t.defaultRetryPolicy=t.tracingPolicyName=t.tracingPolicy=t.retryPolicy=t.throttlingRetryPolicyName=t.throttlingRetryPolicy=t.systemErrorRetryPolicyName=t.systemErrorRetryPolicy=t.redirectPolicyName=t.redirectPolicy=t.getDefaultProxySettings=t.proxyPolicyName=t.proxyPolicy=t.multipartPolicyName=t.multipartPolicy=t.logPolicyName=t.logPolicy=t.setClientRequestIdPolicyName=t.setClientRequestIdPolicy=t.exponentialRetryPolicyName=t.exponentialRetryPolicy=t.decompressResponsePolicyName=t.decompressResponsePolicy=t.isRestError=t.RestError=t.createPipelineRequest=t.createHttpHeaders=t.createDefaultHttpClient=t.createPipelineFromOptions=t.createEmptyPipeline=void 0;var o=n(29590);Object.defineProperty(t,"createEmptyPipeline",{enumerable:true,get:function(){return o.createEmptyPipeline}});var i=n(90862);Object.defineProperty(t,"createPipelineFromOptions",{enumerable:true,get:function(){return i.createPipelineFromOptions}});var A=n(7960);Object.defineProperty(t,"createDefaultHttpClient",{enumerable:true,get:function(){return A.createDefaultHttpClient}});var c=n(192);Object.defineProperty(t,"createHttpHeaders",{enumerable:true,get:function(){return c.createHttpHeaders}});var d=n(95709);Object.defineProperty(t,"createPipelineRequest",{enumerable:true,get:function(){return d.createPipelineRequest}});var p=n(8666);Object.defineProperty(t,"RestError",{enumerable:true,get:function(){return p.RestError}});Object.defineProperty(t,"isRestError",{enumerable:true,get:function(){return p.isRestError}});var C=n(39295);Object.defineProperty(t,"decompressResponsePolicy",{enumerable:true,get:function(){return C.decompressResponsePolicy}});Object.defineProperty(t,"decompressResponsePolicyName",{enumerable:true,get:function(){return C.decompressResponsePolicyName}});var S=n(16708);Object.defineProperty(t,"exponentialRetryPolicy",{enumerable:true,get:function(){return S.exponentialRetryPolicy}});Object.defineProperty(t,"exponentialRetryPolicyName",{enumerable:true,get:function(){return S.exponentialRetryPolicyName}});var v=n(95686);Object.defineProperty(t,"setClientRequestIdPolicy",{enumerable:true,get:function(){return v.setClientRequestIdPolicy}});Object.defineProperty(t,"setClientRequestIdPolicyName",{enumerable:true,get:function(){return v.setClientRequestIdPolicyName}});var T=n(53253);Object.defineProperty(t,"logPolicy",{enumerable:true,get:function(){return T.logPolicy}});Object.defineProperty(t,"logPolicyName",{enumerable:true,get:function(){return T.logPolicyName}});var _=n(45807);Object.defineProperty(t,"multipartPolicy",{enumerable:true,get:function(){return _.multipartPolicy}});Object.defineProperty(t,"multipartPolicyName",{enumerable:true,get:function(){return _.multipartPolicyName}});var V=n(32815);Object.defineProperty(t,"proxyPolicy",{enumerable:true,get:function(){return V.proxyPolicy}});Object.defineProperty(t,"proxyPolicyName",{enumerable:true,get:function(){return V.proxyPolicyName}});Object.defineProperty(t,"getDefaultProxySettings",{enumerable:true,get:function(){return V.getDefaultProxySettings}});var Z=n(64087);Object.defineProperty(t,"redirectPolicy",{enumerable:true,get:function(){return Z.redirectPolicy}});Object.defineProperty(t,"redirectPolicyName",{enumerable:true,get:function(){return Z.redirectPolicyName}});var ee=n(96518);Object.defineProperty(t,"systemErrorRetryPolicy",{enumerable:true,get:function(){return ee.systemErrorRetryPolicy}});Object.defineProperty(t,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return ee.systemErrorRetryPolicyName}});var te=n(97540);Object.defineProperty(t,"throttlingRetryPolicy",{enumerable:true,get:function(){return te.throttlingRetryPolicy}});Object.defineProperty(t,"throttlingRetryPolicyName",{enumerable:true,get:function(){return te.throttlingRetryPolicyName}});var re=n(56085);Object.defineProperty(t,"retryPolicy",{enumerable:true,get:function(){return re.retryPolicy}});var ne=n(93237);Object.defineProperty(t,"tracingPolicy",{enumerable:true,get:function(){return ne.tracingPolicy}});Object.defineProperty(t,"tracingPolicyName",{enumerable:true,get:function(){return ne.tracingPolicyName}});var oe=n(48170);Object.defineProperty(t,"defaultRetryPolicy",{enumerable:true,get:function(){return oe.defaultRetryPolicy}});var ie=n(32799);Object.defineProperty(t,"userAgentPolicy",{enumerable:true,get:function(){return ie.userAgentPolicy}});Object.defineProperty(t,"userAgentPolicyName",{enumerable:true,get:function(){return ie.userAgentPolicyName}});var se=n(75798);Object.defineProperty(t,"tlsPolicy",{enumerable:true,get:function(){return se.tlsPolicy}});Object.defineProperty(t,"tlsPolicyName",{enumerable:true,get:function(){return se.tlsPolicyName}});var ae=n(75497);Object.defineProperty(t,"formDataPolicy",{enumerable:true,get:function(){return ae.formDataPolicy}});Object.defineProperty(t,"formDataPolicyName",{enumerable:true,get:function(){return ae.formDataPolicyName}});var Ae=n(26925);Object.defineProperty(t,"bearerTokenAuthenticationPolicy",{enumerable:true,get:function(){return Ae.bearerTokenAuthenticationPolicy}});Object.defineProperty(t,"bearerTokenAuthenticationPolicyName",{enumerable:true,get:function(){return Ae.bearerTokenAuthenticationPolicyName}});var ce=n(36827);Object.defineProperty(t,"ndJsonPolicy",{enumerable:true,get:function(){return ce.ndJsonPolicy}});Object.defineProperty(t,"ndJsonPolicyName",{enumerable:true,get:function(){return ce.ndJsonPolicyName}});var le=n(42262);Object.defineProperty(t,"auxiliaryAuthenticationHeaderPolicy",{enumerable:true,get:function(){return le.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(t,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:true,get:function(){return le.auxiliaryAuthenticationHeaderPolicyName}});var ue=n(18554);Object.defineProperty(t,"agentPolicy",{enumerable:true,get:function(){return ue.agentPolicy}});Object.defineProperty(t,"agentPolicyName",{enumerable:true,get:function(){return ue.agentPolicyName}});var de=n(97073);Object.defineProperty(t,"createFile",{enumerable:true,get:function(){return de.createFile}});Object.defineProperty(t,"createFileFromStream",{enumerable:true,get:function(){return de.createFileFromStream}})},80544:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const o=n(26515);t.logger=(0,o.createClientLogger)("core-rest-pipeline")},29590:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createEmptyPipeline=createEmptyPipeline;const o=n(41958);function createEmptyPipeline(){return(0,o.createEmptyPipeline)()}},95709:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createPipelineRequest=createPipelineRequest;const o=n(41958);function createPipelineRequest(e){return(0,o.createPipelineRequest)(e)}},18554:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.agentPolicyName=void 0;t.agentPolicy=agentPolicy;const o=n(44960);t.agentPolicyName=o.agentPolicyName;function agentPolicy(e){return(0,o.agentPolicy)(e)}},42262:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.auxiliaryAuthenticationHeaderPolicyName=void 0;t.auxiliaryAuthenticationHeaderPolicy=auxiliaryAuthenticationHeaderPolicy;const o=n(39202);const i=n(80544);t.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";const A="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(e){const{scopes:t,getAccessToken:n,request:o}=e;const i={abortSignal:o.abortSignal,tracingOptions:o.tracingOptions};return(await n(t,i))?.token??""}function auxiliaryAuthenticationHeaderPolicy(e){const{credentials:n,scopes:c}=e;const d=e.logger||i.logger;const p=new WeakMap;return{name:t.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(e,i){if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!n||n.length===0){d.info(`${t.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`);return i(e)}const C=[];for(const t of n){let n=p.get(t);if(!n){n=(0,o.createTokenCycler)(t);p.set(t,n)}C.push(sendAuthorizeRequest({scopes:Array.isArray(c)?c:[c],request:e,getAccessToken:n,logger:d}))}const S=(await Promise.all(C)).filter((e=>Boolean(e)));if(S.length===0){d.warning(`None of the auxiliary tokens are valid. ${A} header will not be set.`);return i(e)}e.headers.set(A,S.map((e=>`Bearer ${e}`)).join(", "));return i(e)}}}},26925:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.bearerTokenAuthenticationPolicyName=void 0;t.bearerTokenAuthenticationPolicy=bearerTokenAuthenticationPolicy;t.parseChallenges=parseChallenges;const o=n(39202);const i=n(80544);const A=n(8666);t.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function trySendRequest(e,t){try{return[await t(e),undefined]}catch(e){if((0,A.isRestError)(e)&&e.response){return[e.response,e]}else{throw e}}}async function defaultAuthorizeRequest(e){const{scopes:t,getAccessToken:n,request:o}=e;const i={abortSignal:o.abortSignal,tracingOptions:o.tracingOptions,enableCae:true};const A=await n(t,i);if(A){e.request.headers.set("Authorization",`Bearer ${A.token}`)}}function isChallengeResponse(e){return e.status===401&&e.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(e,t){const{scopes:n}=e;const o=await e.getAccessToken(n,{enableCae:true,claims:t});if(!o){return false}e.request.headers.set("Authorization",`${o.tokenType??"Bearer"} ${o.token}`);return true}function bearerTokenAuthenticationPolicy(e){const{credential:n,scopes:A,challengeCallbacks:c}=e;const d=e.logger||i.logger;const p={authorizeRequest:c?.authorizeRequest?.bind(c)??defaultAuthorizeRequest,authorizeRequestOnChallenge:c?.authorizeRequestOnChallenge?.bind(c)};const C=n?(0,o.createTokenCycler)(n):()=>Promise.resolve(null);return{name:t.bearerTokenAuthenticationPolicyName,async sendRequest(e,t){if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}await p.authorizeRequest({scopes:Array.isArray(A)?A:[A],request:e,getAccessToken:C,logger:d});let n;let o;let i;[n,o]=await trySendRequest(e,t);if(isChallengeResponse(n)){let c=getCaeChallengeClaims(n.headers.get("WWW-Authenticate"));if(c){let p;try{p=atob(c)}catch(e){d.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${c}`);return n}i=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(A)?A:[A],response:n,request:e,getAccessToken:C,logger:d},p);if(i){[n,o]=await trySendRequest(e,t)}}else if(p.authorizeRequestOnChallenge){i=await p.authorizeRequestOnChallenge({scopes:Array.isArray(A)?A:[A],request:e,response:n,getAccessToken:C,logger:d});if(i){[n,o]=await trySendRequest(e,t)}if(isChallengeResponse(n)){c=getCaeChallengeClaims(n.headers.get("WWW-Authenticate"));if(c){let p;try{p=atob(c)}catch(e){d.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${c}`);return n}i=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(A)?A:[A],response:n,request:e,getAccessToken:C,logger:d},p);if(i){[n,o]=await trySendRequest(e,t)}}}}}if(o){throw o}else{return n}}}}function parseChallenges(e){const t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const n=/(\w+)="([^"]*)"/g;const o=[];let i;while((i=t.exec(e))!==null){const e=i[1];const t=i[2];const A={};let c;while((c=n.exec(t))!==null){A[c[1]]=c[2]}o.push({scheme:e,params:A})}return o}function getCaeChallengeClaims(e){if(!e){return}const t=parseChallenges(e);return t.find((e=>e.scheme==="Bearer"&&e.params.claims&&e.params.error==="insufficient_claims"))?.params.claims}},39295:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.decompressResponsePolicyName=void 0;t.decompressResponsePolicy=decompressResponsePolicy;const o=n(44960);t.decompressResponsePolicyName=o.decompressResponsePolicyName;function decompressResponsePolicy(){return(0,o.decompressResponsePolicy)()}},48170:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultRetryPolicyName=void 0;t.defaultRetryPolicy=defaultRetryPolicy;const o=n(44960);t.defaultRetryPolicyName=o.defaultRetryPolicyName;function defaultRetryPolicy(e={}){return(0,o.defaultRetryPolicy)(e)}},16708:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryPolicyName=void 0;t.exponentialRetryPolicy=exponentialRetryPolicy;const o=n(44960);t.exponentialRetryPolicyName=o.exponentialRetryPolicyName;function exponentialRetryPolicy(e={}){return(0,o.exponentialRetryPolicy)(e)}},75497:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.formDataPolicyName=void 0;t.formDataPolicy=formDataPolicy;const o=n(44960);t.formDataPolicyName=o.formDataPolicyName;function formDataPolicy(){return(0,o.formDataPolicy)()}},53253:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.logPolicyName=void 0;t.logPolicy=logPolicy;const o=n(80544);const i=n(44960);t.logPolicyName=i.logPolicyName;function logPolicy(e={}){return(0,i.logPolicy)({logger:o.logger.info,...e})}},45807:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.multipartPolicyName=void 0;t.multipartPolicy=multipartPolicy;const o=n(44960);const i=n(97073);t.multipartPolicyName=o.multipartPolicyName;function multipartPolicy(){const e=(0,o.multipartPolicy)();return{name:t.multipartPolicyName,sendRequest:async(t,n)=>{if(t.multipartBody){for(const e of t.multipartBody.parts){if((0,i.hasRawContent)(e.body)){e.body=(0,i.getRawContent)(e.body)}}}return e.sendRequest(t,n)}}}},36827:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ndJsonPolicyName=void 0;t.ndJsonPolicy=ndJsonPolicy;t.ndJsonPolicyName="ndJsonPolicy";function ndJsonPolicy(){return{name:t.ndJsonPolicyName,async sendRequest(e,t){if(typeof e.body==="string"&&e.body.startsWith("[")){const t=JSON.parse(e.body);if(Array.isArray(t)){e.body=t.map((e=>JSON.stringify(e)+"\n")).join("")}}return t(e)}}}},32815:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.proxyPolicyName=void 0;t.getDefaultProxySettings=getDefaultProxySettings;t.proxyPolicy=proxyPolicy;const o=n(44960);t.proxyPolicyName=o.proxyPolicyName;function getDefaultProxySettings(e){return(0,o.getDefaultProxySettings)(e)}function proxyPolicy(e,t){return(0,o.proxyPolicy)(e,t)}},64087:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.redirectPolicyName=void 0;t.redirectPolicy=redirectPolicy;const o=n(44960);t.redirectPolicyName=o.redirectPolicyName;function redirectPolicy(e={}){return(0,o.redirectPolicy)(e)}},56085:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.retryPolicy=retryPolicy;const o=n(26515);const i=n(66427);const A=n(44960);const c=(0,o.createClientLogger)("core-rest-pipeline retryPolicy");function retryPolicy(e,t={maxRetries:i.DEFAULT_RETRY_POLICY_COUNT}){return(0,A.retryPolicy)(e,{logger:c,...t})}},95686:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.setClientRequestIdPolicyName=void 0;t.setClientRequestIdPolicy=setClientRequestIdPolicy;t.setClientRequestIdPolicyName="setClientRequestIdPolicy";function setClientRequestIdPolicy(e="x-ms-client-request-id"){return{name:t.setClientRequestIdPolicyName,async sendRequest(t,n){if(!t.headers.has(e)){t.headers.set(e,t.requestId)}return n(t)}}}},96518:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.systemErrorRetryPolicyName=void 0;t.systemErrorRetryPolicy=systemErrorRetryPolicy;const o=n(44960);t.systemErrorRetryPolicyName=o.systemErrorRetryPolicyName;function systemErrorRetryPolicy(e={}){return(0,o.systemErrorRetryPolicy)(e)}},97540:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.throttlingRetryPolicyName=void 0;t.throttlingRetryPolicy=throttlingRetryPolicy;const o=n(44960);t.throttlingRetryPolicyName=o.throttlingRetryPolicyName;function throttlingRetryPolicy(e={}){return(0,o.throttlingRetryPolicy)(e)}},75798:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.tlsPolicyName=void 0;t.tlsPolicy=tlsPolicy;const o=n(44960);t.tlsPolicyName=o.tlsPolicyName;function tlsPolicy(e){return(0,o.tlsPolicy)(e)}},93237:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.tracingPolicyName=void 0;t.tracingPolicy=tracingPolicy;const o=n(20623);const i=n(66427);const A=n(28431);const c=n(80544);const d=n(87779);const p=n(8666);const C=n(95750);t.tracingPolicyName="tracingPolicy";function tracingPolicy(e={}){const n=(0,A.getUserAgentValue)(e.userAgentPrefix);const o=new C.Sanitizer({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});const i=tryCreateTracingClient();return{name:t.tracingPolicyName,async sendRequest(e,t){if(!i){return t(e)}const A=await n;const c={"http.url":o.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":A,requestId:e.requestId};if(A){c["http.user_agent"]=A}const{span:d,tracingContext:p}=tryCreateSpan(i,e,c)??{};if(!d||!p){return t(e)}try{const n=await i.withContext(p,t,e);tryProcessResponse(d,n);return n}catch(e){tryProcessError(d,e);throw e}}}}function tryCreateTracingClient(){try{return(0,o.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:i.SDK_VERSION})}catch(e){c.logger.warning(`Error when creating the TracingClient: ${(0,d.getErrorMessage)(e)}`);return undefined}}function tryCreateSpan(e,t,n){try{const{span:o,updatedOptions:i}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:n});if(!o.isRecording()){o.end();return undefined}const A=e.createRequestHeaders(i.tracingOptions.tracingContext);for(const[e,n]of Object.entries(A)){t.headers.set(e,n)}return{span:o,tracingContext:i.tracingOptions.tracingContext}}catch(e){c.logger.warning(`Skipping creating a tracing span due to an error: ${(0,d.getErrorMessage)(e)}`);return undefined}}function tryProcessError(e,t){try{e.setStatus({status:"error",error:(0,d.isError)(t)?t:undefined});if((0,p.isRestError)(t)&&t.statusCode){e.setAttribute("http.status_code",t.statusCode)}e.end()}catch(e){c.logger.warning(`Skipping tracing span processing due to an error: ${(0,d.getErrorMessage)(e)}`)}}function tryProcessResponse(e,t){try{e.setAttribute("http.status_code",t.status);const n=t.headers.get("x-ms-request-id");if(n){e.setAttribute("serviceRequestId",n)}if(t.status>=400){e.setStatus({status:"error"})}e.end()}catch(e){c.logger.warning(`Skipping tracing span processing due to an error: ${(0,d.getErrorMessage)(e)}`)}}},32799:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.userAgentPolicyName=void 0;t.userAgentPolicy=userAgentPolicy;const o=n(28431);const i=(0,o.getUserAgentHeaderName)();t.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(e={}){const n=(0,o.getUserAgentValue)(e.userAgentPrefix);return{name:t.userAgentPolicyName,async sendRequest(e,t){if(!e.headers.has(i)){e.headers.set(i,await n)}return t(e)}}}},37466:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.wrapAbortSignalLikePolicyName=void 0;t.wrapAbortSignalLikePolicy=wrapAbortSignalLikePolicy;const o=n(91297);t.wrapAbortSignalLikePolicyName="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:t.wrapAbortSignalLikePolicyName,sendRequest:async(e,t)=>{if(!e.abortSignal){return t(e)}const{abortSignal:n,cleanup:i}=(0,o.wrapAbortSignalLike)(e.abortSignal);e.abortSignal=n;try{return await t(e)}finally{i?.()}}}}},8666:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.RestError=void 0;t.isRestError=isRestError;const o=n(41958);t.RestError=o.RestError;function isRestError(e){return(0,o.isRestError)(e)}},97073:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.hasRawContent=hasRawContent;t.getRawContent=getRawContent;t.createFileFromStream=createFileFromStream;t.createFile=createFile;const o=n(87779);function isNodeReadableStream(e){return Boolean(e&&typeof e["pipe"]==="function")}const i={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}};const A=Symbol("rawContent");function hasRawContent(e){return typeof e[A]==="function"}function getRawContent(e){if(hasRawContent(e)){return e[A]()}else{return e}}function createFileFromStream(e,t,n={}){return{...i,type:n.type??"",lastModified:n.lastModified??(new Date).getTime(),webkitRelativePath:n.webkitRelativePath??"",size:n.size??-1,name:t,stream:()=>{const t=e();if(isNodeReadableStream(t)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return t},[A]:e}}function createFile(e,t,n={}){if(o.isNodeLike){return{...i,type:n.type??"",lastModified:n.lastModified??(new Date).getTime(),webkitRelativePath:n.webkitRelativePath??"",size:e.byteLength,name:t,arrayBuffer:async()=>e.buffer,stream:()=>new Blob([toArrayBuffer(e)]).stream(),[A]:()=>e}}else{return new File([toArrayBuffer(e)],t,n)}}function toArrayBuffer(e){if("resize"in e.buffer){return e}return e.map((e=>e))}},39202:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_CYCLER_OPTIONS=void 0;t.createTokenCycler=createTokenCycler;const o=n(87779);t.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(e,t,n){async function tryGetAccessToken(){if(Date.now()e.getToken(t,n);o=beginRefresh(tryGetAccessToken,c.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then((e=>{o=null;i=e;A=n.tenantId;return i})).catch((e=>{o=null;i=null;A=undefined;throw e}))}return o}return async(e,t)=>{const n=Boolean(t.claims);const o=A!==t.tenantId;if(n){i=null}const c=o||n||d.mustRefresh;if(c){return refresh(e,t)}if(d.shouldRefresh){refresh(e,t)}return i}}},28431:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentHeaderName=getUserAgentHeaderName;t.getUserAgentValue=getUserAgentValue;const o=n(31848);const i=n(66427);function getUserAgentString(e){const t=[];for(const[n,o]of e){const e=o?`${n}/${o}`:n;t.push(e)}return t.join(" ")}function getUserAgentHeaderName(){return(0,o.getHeaderName)()}async function getUserAgentValue(e){const t=new Map;t.set("core-rest-pipeline",i.SDK_VERSION);await(0,o.setPlatformSpecificData)(t);const n=getUserAgentString(t);const A=e?`${e} ${n}`:n;return A}},31848:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getHeaderName=getHeaderName;t.setPlatformSpecificData=setPlatformSpecificData;const o=n(61860);const i=o.__importDefault(n(48161));const A=o.__importDefault(n(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(e){if(A.default&&A.default.versions){const t=`${i.default.type()} ${i.default.release()}; ${i.default.arch()}`;const n=A.default.versions;if(n.bun){e.set("Bun",`${n.bun} (${t})`)}else if(n.deno){e.set("Deno",`${n.deno} (${t})`)}else if(n.node){e.set("Node",`${n.node} (${t})`)}}}},91297:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.wrapAbortSignalLike=wrapAbortSignalLike;function wrapAbortSignalLike(e){if(e instanceof AbortSignal){return{abortSignal:e}}if(e.aborted){return{abortSignal:AbortSignal.abort(e.reason)}}const t=new AbortController;let n=true;function cleanup(){if(n){e.removeEventListener("abort",listener);n=false}}function listener(){t.abort(e.reason);cleanup()}e.addEventListener("abort",listener);return{abortSignal:t.signal,cleanup:cleanup}}},20623:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createTracingClient=t.useInstrumenter=void 0;var o=n(48729);Object.defineProperty(t,"useInstrumenter",{enumerable:true,get:function(){return o.useInstrumenter}});var i=n(93438);Object.defineProperty(t,"createTracingClient",{enumerable:true,get:function(){return i.createTracingClient}})},48729:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createDefaultTracingSpan=createDefaultTracingSpan;t.createDefaultInstrumenter=createDefaultInstrumenter;t.useInstrumenter=useInstrumenter;t.getInstrumenter=getInstrumenter;const o=n(79186);const i=n(38914);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(e,t)=>({span:createDefaultTracingSpan(),tracingContext:(0,o.createTracingContext)({parentContext:t.tracingContext})}),withContext(e,t,...n){return t(...n)}}}function useInstrumenter(e){i.state.instrumenterImplementation=e}function getInstrumenter(){if(!i.state.instrumenterImplementation){i.state.instrumenterImplementation=createDefaultInstrumenter()}return i.state.instrumenterImplementation}},38914:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.state=void 0;t.state={instrumenterImplementation:undefined}},93438:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createTracingClient=createTracingClient;const o=n(48729);const i=n(79186);function createTracingClient(e){const{namespace:t,packageName:n,packageVersion:A}=e;function startSpan(e,c,d){const p=(0,o.getInstrumenter)().startSpan(e,{...d,packageName:n,packageVersion:A,tracingContext:c?.tracingOptions?.tracingContext});let C=p.tracingContext;const S=p.span;if(!C.getValue(i.knownContextKeys.namespace)){C=C.setValue(i.knownContextKeys.namespace,t)}S.setAttribute("az.namespace",C.getValue(i.knownContextKeys.namespace));const v=Object.assign({},c,{tracingOptions:{...c?.tracingOptions,tracingContext:C}});return{span:S,updatedOptions:v}}async function withSpan(e,t,n,o){const{span:i,updatedOptions:A}=startSpan(e,t,o);try{const e=await withContext(A.tracingOptions.tracingContext,(()=>Promise.resolve(n(A,i))));i.setStatus({status:"success"});return e}catch(e){i.setStatus({status:"error",error:e});throw e}finally{i.end()}}function withContext(e,t,...n){return(0,o.getInstrumenter)().withContext(e,t,...n)}function parseTraceparentHeader(e){return(0,o.getInstrumenter)().parseTraceparentHeader(e)}function createRequestHeaders(e){return(0,o.getInstrumenter)().createRequestHeaders(e)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},79186:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.TracingContextImpl=t.knownContextKeys=void 0;t.createTracingContext=createTracingContext;t.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function createTracingContext(e={}){let n=new TracingContextImpl(e.parentContext);if(e.span){n=n.setValue(t.knownContextKeys.span,e.span)}if(e.namespace){n=n.setValue(t.knownContextKeys.namespace,e.namespace)}return n}class TracingContextImpl{_contextMap;constructor(e){this._contextMap=e instanceof TracingContextImpl?new Map(e._contextMap):new Map}setValue(e,t){const n=new TracingContextImpl(this);n._contextMap.set(e,t);return n}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new TracingContextImpl(this);t._contextMap.delete(e);return t}}t.TracingContextImpl=TracingContextImpl},95209:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(e,t){const n=new AbortController;function abortHandler(){n.abort()}t?.abortSignal?.addEventListener("abort",abortHandler);try{return await Promise.race(e.map((e=>e({abortSignal:n.signal}))))}finally{n.abort();t?.abortSignal?.removeEventListener("abort",abortHandler)}}},63128:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createAbortablePromise=createAbortablePromise;const o=n(16492);function createAbortablePromise(e,t){const{cleanupBeforeAbort:n,abortSignal:i,abortErrorMsg:A}=t??{};return new Promise(((t,c)=>{function rejectOnAbort(){c(new o.AbortError(A??"The operation was aborted."))}function removeListeners(){i?.removeEventListener("abort",onAbort)}function onAbort(){n?.();removeListeners();rejectOnAbort()}if(i?.aborted){return rejectOnAbort()}try{e((e=>{removeListeners();t(e)}),(e=>{removeListeners();c(e)}))}catch(e){c(e)}i?.addEventListener("abort",onAbort)}))}},90636:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.delay=delay;t.calculateRetryDelay=calculateRetryDelay;const o=n(63128);const i=n(95750);const A="The delay was aborted.";function delay(e,t){let n;const{abortSignal:i,abortErrorMsg:c}=t??{};return(0,o.createAbortablePromise)((t=>{n=setTimeout(t,e)}),{cleanupBeforeAbort:()=>clearTimeout(n),abortSignal:i,abortErrorMsg:c??A})}function calculateRetryDelay(e,t){const n=t.retryDelayInMs*Math.pow(2,e);const o=Math.min(t.maxRetryDelayInMs,n);const A=o/2+(0,i.getRandomIntegerInclusive)(0,o/2);return{retryAfterInMs:A}}},99945:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getErrorMessage=getErrorMessage;const o=n(95750);function getErrorMessage(e){if((0,o.isError)(e)){return e.message}else{let t;try{if(typeof e==="object"&&e){t=JSON.stringify(e)}else{t=String(e)}}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}},87779:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.isWebWorker=t.isReactNative=t.isNodeRuntime=t.isNodeLike=t.isNode=t.isDeno=t.isBun=t.isBrowser=t.objectHasProperty=t.isObjectWithProperties=t.isDefined=t.getErrorMessage=t.delay=t.createAbortablePromise=t.cancelablePromiseRace=void 0;t.calculateRetryDelay=calculateRetryDelay;t.computeSha256Hash=computeSha256Hash;t.computeSha256Hmac=computeSha256Hmac;t.getRandomIntegerInclusive=getRandomIntegerInclusive;t.isError=isError;t.isObject=isObject;t.randomUUID=randomUUID;t.uint8ArrayToString=uint8ArrayToString;t.stringToUint8Array=stringToUint8Array;const o=n(61860);const i=o.__importStar(n(95750));var A=n(95209);Object.defineProperty(t,"cancelablePromiseRace",{enumerable:true,get:function(){return A.cancelablePromiseRace}});var c=n(63128);Object.defineProperty(t,"createAbortablePromise",{enumerable:true,get:function(){return c.createAbortablePromise}});var d=n(90636);Object.defineProperty(t,"delay",{enumerable:true,get:function(){return d.delay}});var p=n(99945);Object.defineProperty(t,"getErrorMessage",{enumerable:true,get:function(){return p.getErrorMessage}});var C=n(66277);Object.defineProperty(t,"isDefined",{enumerable:true,get:function(){return C.isDefined}});Object.defineProperty(t,"isObjectWithProperties",{enumerable:true,get:function(){return C.isObjectWithProperties}});Object.defineProperty(t,"objectHasProperty",{enumerable:true,get:function(){return C.objectHasProperty}});function calculateRetryDelay(e,t){return i.calculateRetryDelay(e,t)}function computeSha256Hash(e,t){return i.computeSha256Hash(e,t)}function computeSha256Hmac(e,t,n){return i.computeSha256Hmac(e,t,n)}function getRandomIntegerInclusive(e,t){return i.getRandomIntegerInclusive(e,t)}function isError(e){return i.isError(e)}function isObject(e){return i.isObject(e)}function randomUUID(){return i.randomUUID()}t.isBrowser=i.isBrowser;t.isBun=i.isBun;t.isDeno=i.isDeno;t.isNode=i.isNodeLike;t.isNodeLike=i.isNodeLike;t.isNodeRuntime=i.isNodeRuntime;t.isReactNative=i.isReactNative;t.isWebWorker=i.isWebWorker;function uint8ArrayToString(e,t){return i.uint8ArrayToString(e,t)}function stringToUint8Array(e,t){return i.stringToUint8Array(e,t)}},66277:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isDefined=isDefined;t.isObjectWithProperties=isObjectWithProperties;t.objectHasProperty=objectHasProperty;function isDefined(e){return typeof e!=="undefined"&&e!==null}function isObjectWithProperties(e,t){if(!isDefined(e)||typeof e!=="object"){return false}for(const n of t){if(!objectHasProperty(e,n)){return false}}return true}function objectHasProperty(e,t){return isDefined(e)&&typeof e==="object"&&t in e}},31658:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},16492:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var o=n(31658);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return o.AbortError}})},78756:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=t.parseXML=t.stringifyXML=void 0;var o=n(48133);Object.defineProperty(t,"stringifyXML",{enumerable:true,get:function(){return o.stringifyXML}});Object.defineProperty(t,"parseXML",{enumerable:true,get:function(){return o.parseXML}});var i=n(93406);Object.defineProperty(t,"XML_ATTRKEY",{enumerable:true,get:function(){return i.XML_ATTRKEY}});Object.defineProperty(t,"XML_CHARKEY",{enumerable:true,get:function(){return i.XML_CHARKEY}})},93406:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=void 0;t.XML_ATTRKEY="$";t.XML_CHARKEY="_"},48133:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.stringifyXML=stringifyXML;t.parseXML=parseXML;const o=n(50591);const i=n(93406);function getCommonOptions(e){var t;return{attributesGroupName:i.XML_ATTRKEY,textNodeName:(t=e.xmlCharKey)!==null&&t!==void 0?t:i.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(e={}){var t,n;return Object.assign(Object.assign({},getCommonOptions(e)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(t=e.rootName)!==null&&t!==void 0?t:"root",cdataPropName:(n=e.cdataPropName)!==null&&n!==void 0?n:"__cdata"})}function getParserOptions(e={}){return Object.assign(Object.assign({},getCommonOptions(e)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:true,trimValues:false})}function stringifyXML(e,t={}){const n=getSerializerOptions(t);const i=new o.XMLBuilder(n);const A={[n.rootNodeName]:e};const c=i.build(A);return`${c}`.replace(/\n/g,"")}async function parseXML(e,t={}){if(!e){throw new Error("Document is empty")}const n=o.XMLValidator.validate(e);if(n!==true){throw n}const i=new o.XMLParser(getParserOptions(t));const A=i.parse(e);if(A["?xml"]){delete A["?xml"]}if(!t.includeRoot){for(const e of Object.keys(A)){const t=A[e];return typeof t==="object"?Object.assign({},t):t}}return A}},26515:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AzureLogger=void 0;t.setLogLevel=setLogLevel;t.getLogLevel=getLogLevel;t.createClientLogger=createClientLogger;const o=n(82490);const i=(0,o.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});t.AzureLogger=i.logger;function setLogLevel(e){i.setLogLevel(e)}function getLogLevel(){return i.getLogLevel()}function createClientLogger(e){return i.createClientLogger(e)}},48175:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},41564:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BatchResponseParser=void 0;const o=n(20778);const i=n(61584);const A=n(27323);const c=n(72995);const d=n(46370);const p=": ";const C=" ";const S=-1;class BatchResponseParser{batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,t){if(!e||!e.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!t||t.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=e;this.subRequests=t;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${A.HTTP_LINE_ENDING}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==A.HTTPURLConnection.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const e=await(0,c.getBodyAsText)(this.batchResponse);const t=e.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const n=t.length;if(n!==this.subRequests.size&&n!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const v=new Array(n);let T=0;let _=0;for(let e=0;e=0&&re{Object.defineProperty(t,"__esModule",{value:true});t.getBodyAsText=getBodyAsText;t.utf8ByteLength=utf8ByteLength;const o=n(53563);const i=n(27323);async function getBodyAsText(e){let t=Buffer.alloc(i.BATCH_MAX_PAYLOAD_IN_BYTES);const n=await(0,o.streamToBuffer2)(e.readableStreamBody,t);t=t.slice(0,n);return t.toString()}function utf8ByteLength(e){return Buffer.byteLength(e)}},95561:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobBatch=void 0;const o=n(87779);const i=n(50417);const A=n(20778);const c=n(87779);const d=n(35345);const p=n(90372);const C=n(58913);const S=n(25984);const v=n(47764);const T=n(78756);const _=n(27323);const V=n(68999);const Z=n(53952);const ee=n(60160);const te=n(97999);class BlobBatch{batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new InnerBatchRequest}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,t){await C.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e);await t();this.batchRequest.postAddSubRequest(e)}finally{await C.Mutex.unlock(this.batch)}}setBatchType(e){if(!this.batchType){this.batchType=e}if(this.batchType!==e){throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}}async deleteBlob(e,t,n){let o;let A;if(typeof e==="string"&&(c.isNodeLike&&t instanceof V.StorageSharedKeyCredential||t instanceof d.AnonymousCredential||(0,i.isTokenCredential)(t))){o=e;A=t}else if(e instanceof p.BlobClient){o=e.url;A=e.credential;n=t}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!n){n={}}return Z.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",n,(async e=>{this.setBatchType("delete");await this.addSubRequestInternal({url:o,credential:A},(async()=>{await new p.BlobClient(o,this.batchRequest.createPipeline(A)).delete(e)}))}))}async setBlobAccessTier(e,t,n,o){let A;let C;let S;if(typeof e==="string"&&(c.isNodeLike&&t instanceof V.StorageSharedKeyCredential||t instanceof d.AnonymousCredential||(0,i.isTokenCredential)(t))){A=e;C=t;S=n}else if(e instanceof p.BlobClient){A=e.url;C=e.credential;S=t;o=n}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!o){o={}}return Z.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",o,(async e=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:A,credential:C},(async()=>{await new p.BlobClient(A,this.batchRequest.createPipeline(C)).setAccessTier(S,e)}))}))}}t.BlobBatch=BlobBatch;class InnerBatchRequest{operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0;this.body="";const e=(0,o.randomUUID)();this.boundary=`batch_${e}`;this.subRequestPrefix=`--${this.boundary}${_.HTTP_LINE_ENDING}${_.HeaderConstants.CONTENT_TYPE}: application/http${_.HTTP_LINE_ENDING}${_.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(e){const t=(0,A.createEmptyPipeline)();t.addPolicy((0,ee.serializationPolicy)({stringifyXML:T.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});t.addPolicy(batchHeaderFilterPolicy());t.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if((0,i.isTokenCredential)(e)){t.addPolicy((0,A.bearerTokenAuthenticationPolicy)({credential:e,scopes:_.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:ee.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(e instanceof V.StorageSharedKeyCredential){t.addPolicy((0,te.storageSharedKeyCredentialPolicy)({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"})}const n=new S.Pipeline([]);n._credential=e;n._corePipeline=t;return n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${_.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${(0,v.getURLPathAndQuery)(e.url)} ${_.HTTP_VERSION_1_1}${_.HTTP_LINE_ENDING}`].join(_.HTTP_LINE_ENDING);for(const[t,n]of e.headers){this.body+=`${t}: ${n}${_.HTTP_LINE_ENDING}`}this.body+=_.HTTP_LINE_ENDING}preAddSubRequest(e){if(this.operationCount>=_.BATCH_MAX_REQUEST){throw new RangeError(`Cannot exceed ${_.BATCH_MAX_REQUEST} sub requests in a single batch`)}const t=(0,v.getURLPath)(e.url);if(!t||t===""){throw new RangeError(`Invalid url for sub request: '${e.url}'`)}}postAddSubRequest(e){this.subRequests.set(this.operationCount,e);this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${_.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}}function batchRequestAssemblePolicy(e){return{name:"batchRequestAssemblePolicy",async sendRequest(t){e.appendSubRequestToBody(t);return{request:t,status:200,headers:(0,A.createHttpHeaders)()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(e,t){let n="";for(const[t]of e.headers){if((0,v.iEqual)(t,_.HeaderConstants.X_MS_VERSION)){n=t}}if(n!==""){e.headers.delete(n)}return t(e)}}}},12094:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobBatchClient=void 0;const o=n(41564);const i=n(72995);const A=n(95561);const c=n(53952);const d=n(35345);const p=n(53789);const C=n(25984);const S=n(47764);class BlobBatchClient{serviceOrContainerContext;constructor(e,t,n){let o;if((0,C.isPipelineLike)(t)){o=t}else if(!t){o=(0,C.newPipeline)(new d.AnonymousCredential,n)}else{o=(0,C.newPipeline)(t,n)}const i=new p.StorageContextClient(e,(0,C.getCoreClientOptions)(o));const A=(0,S.getURLPath)(e);if(A&&A!=="/"){this.serviceOrContainerContext=i.container}else{this.serviceOrContainerContext=i.service}}createBatch(){return new A.BlobBatch}async deleteBlobs(e,t,n){const o=new A.BlobBatch;for(const i of e){if(typeof i==="string"){await o.deleteBlob(i,t,n)}else{await o.deleteBlob(i,t)}}return this.submitBatch(o)}async setBlobsAccessTier(e,t,n,o){const i=new A.BlobBatch;for(const A of e){if(typeof A==="string"){await i.setBlobAccessTier(A,t,n,o)}else{await i.setBlobAccessTier(A,t,n)}}return this.submitBatch(i)}async submitBatch(e,t={}){if(!e||e.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return c.tracingClient.withSpan("BlobBatchClient-submitBatch",t,(async t=>{const n=e.getHttpRequestBody();const A=(0,S.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,i.utf8ByteLength)(n),e.getMultiPartContentType(),n,{...t}));const c=new o.BatchResponseParser(A,e.getSubRequests());const d=await c.parseBatchResponse();const p={_response:A._response,contentType:A.contentType,errorCode:A.errorCode,requestId:A.requestId,clientRequestId:A.clientRequestId,version:A.version,subResponses:d.subResponses,subResponsesSucceededCount:d.subResponsesSucceededCount,subResponsesFailedCount:d.subResponsesFailedCount};return p}))}}t.BlobBatchClient=BlobBatchClient},4894:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobDownloadResponse=void 0;const o=n(87779);const i=n(98684);class BlobDownloadResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return o.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,n,o,A={}){this.originalResponse=e;this.blobDownloadStream=new i.RetriableReadableStream(this.originalResponse.readableStreamBody,t,n,o,A)}}t.BlobDownloadResponse=BlobDownloadResponse},23276:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobLeaseClient=void 0;const o=n(87779);const i=n(27323);const A=n(53952);const c=n(47764);class BlobLeaseClient{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){const n=e.storageClientContext;this._url=e.url;if(e.name===undefined){this._isContainer=true;this._containerOrBlobOperation=n.container}else{this._isContainer=false;this._containerOrBlobOperation=n.blob}if(!t){t=(0,o.randomUUID)()}this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==i.ETagNone||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==i.ETagNone||t.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return A.tracingClient.withSpan("BlobLeaseClient-acquireLease",t,(async n=>(0,c.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions}))))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==i.ETagNone||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==i.ETagNone||t.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return A.tracingClient.withSpan("BlobLeaseClient-changeLease",t,(async n=>{const o=(0,c.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions}));this._leaseId=e;return o}))}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==i.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==i.ETagNone||e.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return A.tracingClient.withSpan("BlobLeaseClient-releaseLease",e,(async t=>(0,c.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==i.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==i.ETagNone||e.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return A.tracingClient.withSpan("BlobLeaseClient-renewLease",e,(async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==i.ETagNone||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==i.ETagNone||t.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return A.tracingClient.withSpan("BlobLeaseClient-breakLease",t,(async n=>{const o={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions};return(0,c.assertResponse)(await this._containerOrBlobOperation.breakLease(o))}))}}t.BlobLeaseClient=BlobLeaseClient},95602:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobQueryResponse=void 0;const o=n(87779);const i=n(36426);class BlobQueryResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return undefined}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){return undefined}get readableStreamBody(){return o.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e;this.blobDownloadStream=new i.BlobQuickQueryStream(this.originalResponse.readableStreamBody,t)}}t.BlobQueryResponse=BlobQueryResponse},96341:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobServiceClient=void 0;const o=n(50417);const i=n(20778);const A=n(87779);const c=n(25984);const d=n(81884);const p=n(47764);const C=n(68999);const S=n(35345);const v=n(47764);const T=n(53952);const _=n(12094);const V=n(73542);const Z=n(6358);const ee=n(85238);const te=n(46940);class BlobServiceClient extends V.StorageClient{serviceContext;static fromConnectionString(e,t){t=t||{};const n=(0,p.extractConnectionStringParts)(e);if(n.kind==="AccountConnString"){if(A.isNodeLike){const e=new C.StorageSharedKeyCredential(n.accountName,n.accountKey);if(!t.proxyOptions){t.proxyOptions=(0,i.getDefaultProxySettings)(n.proxyUri)}const o=(0,c.newPipeline)(e,t);return new BlobServiceClient(n.url,o)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(n.kind==="SASConnString"){const e=(0,c.newPipeline)(new S.AnonymousCredential,t);return new BlobServiceClient(n.url+"?"+n.accountSas,e)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(e,t,n){let i;if((0,c.isPipelineLike)(t)){i=t}else if(A.isNodeLike&&t instanceof C.StorageSharedKeyCredential||t instanceof S.AnonymousCredential||(0,o.isTokenCredential)(t)){i=(0,c.newPipeline)(t,n)}else{i=(0,c.newPipeline)(new S.AnonymousCredential,n)}super(e,i);this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new d.ContainerClient((0,p.appendToURLPath)(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,t={}){return T.tracingClient.withSpan("BlobServiceClient-createContainer",t,(async t=>{const n=this.getContainerClient(e);const o=await n.create(t);return{containerClient:n,containerCreateResponse:o}}))}async deleteContainer(e,t={}){return T.tracingClient.withSpan("BlobServiceClient-deleteContainer",t,(async t=>{const n=this.getContainerClient(e);return n.delete(t)}))}async undeleteContainer(e,t,n={}){return T.tracingClient.withSpan("BlobServiceClient-undeleteContainer",n,(async o=>{const i=this.getContainerClient(n.destinationContainerName||e);const A=i["storageClientContext"].container;const c=(0,v.assertResponse)(await A.restore({deletedContainerName:e,deletedContainerVersion:t,tracingOptions:o.tracingOptions}));return{containerClient:i,containerUndeleteResponse:c}}))}async getProperties(e={}){return T.tracingClient.withSpan("BlobServiceClient-getProperties",e,(async t=>(0,v.assertResponse)(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setProperties(e,t={}){return T.tracingClient.withSpan("BlobServiceClient-setProperties",t,(async n=>(0,v.assertResponse)(await this.serviceContext.setProperties(e,{abortSignal:t.abortSignal,tracingOptions:n.tracingOptions}))))}async getStatistics(e={}){return T.tracingClient.withSpan("BlobServiceClient-getStatistics",e,(async t=>(0,v.assertResponse)(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return T.tracingClient.withSpan("BlobServiceClient-getAccountInfo",e,(async t=>(0,v.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async listContainersSegment(e,t={}){return T.tracingClient.withSpan("BlobServiceClient-listContainersSegment",t,(async n=>(0,v.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:t.abortSignal,marker:e,...t,include:typeof t.include==="string"?[t.include]:t.include,tracingOptions:n.tracingOptions}))))}async findBlobsByTagsSegment(e,t,n={}){return T.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,(async o=>{const i=(0,v.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:t,maxPageSize:n.maxPageSize,tracingOptions:o.tracingOptions}));const A={...i,_response:i._response,blobs:i.blobs.map((e=>{let t="";if(e.tags?.blobTagSet.length===1){t=e.tags.blobTagSet[0].value}return{...e,tags:(0,p.toTags)(e.tags),tagValue:t}}))};return A}))}async*findBlobsByTagsSegments(e,t,n={}){let o;if(!!t||t===undefined){do{o=await this.findBlobsByTagsSegment(e,t,n);o.blobs=o.blobs||[];t=o.continuationToken;yield o}while(t)}}async*findBlobsByTagsItems(e,t={}){let n;for await(const o of this.findBlobsByTagsSegments(e,n,t)){yield*o.blobs}}findBlobsByTags(e,t={}){const n={...t};const o=this.findBlobsByTagsItems(e,n);return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...n})}}async*listSegments(e,t={}){let n;if(!!e||e===undefined){do{n=await this.listContainersSegment(e,t);n.containerItems=n.containerItems||[];e=n.continuationToken;yield await n}while(e)}}async*listItems(e={}){let t;for await(const n of this.listSegments(t,e)){yield*n.containerItems}}listContainers(e={}){if(e.prefix===""){e.prefix=undefined}const t=[];if(e.includeDeleted){t.push("deleted")}if(e.includeMetadata){t.push("metadata")}if(e.includeSystem){t.push("system")}const n={...e,...t.length>0?{include:t}:{}};const o=this.listItems(n);return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,{maxPageSize:e.maxPageSize,...n})}}async getUserDelegationKey(e,t,n={}){return T.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",n,(async o=>{const i=(0,v.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,v.truncatedISO8061Date)(e,false),expiresOn:(0,v.truncatedISO8061Date)(t,false)},{abortSignal:n.abortSignal,tracingOptions:o.tracingOptions}));const A={signedObjectId:i.signedObjectId,signedTenantId:i.signedTenantId,signedStartsOn:new Date(i.signedStartsOn),signedExpiresOn:new Date(i.signedExpiresOn),signedService:i.signedService,signedVersion:i.signedVersion,value:i.value};const c={_response:i._response,requestId:i.requestId,clientRequestId:i.clientRequestId,version:i.version,date:i.date,errorCode:i.errorCode,...A};return c}))}getBlobBatchClient(){return new _.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,t=Z.AccountSASPermissions.parse("r"),n="sco",o={}){if(!(this.credential instanceof C.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(e===undefined){const t=new Date;e=new Date(t.getTime()+3600*1e3)}const i=(0,ee.generateAccountSASQueryParameters)({permissions:t,expiresOn:e,resourceTypes:n,services:te.AccountSASServices.parse("b").toString(),...o},this.credential).toString();return(0,p.appendToURLQuery)(this.url,i)}generateSasStringToSign(e,t=Z.AccountSASPermissions.parse("r"),n="sco",o={}){if(!(this.credential instanceof C.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(e===undefined){const t=new Date;e=new Date(t.getTime()+3600*1e3)}return(0,ee.generateAccountSASQueryParametersInternal)({permissions:t,expiresOn:e,resourceTypes:n,services:te.AccountSASServices.parse("b").toString(),...o},this.credential).stringToSign}}t.BlobServiceClient=BlobServiceClient},90372:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.PageBlobClient=t.BlockBlobClient=t.AppendBlobClient=t.BlobClient=void 0;const o=n(20778);const i=n(50417);const A=n(87779);const c=n(87779);const d=n(4894);const p=n(95602);const C=n(35345);const S=n(68999);const v=n(58560);const T=n(95302);const _=n(25984);const V=n(73145);const Z=n(52045);const ee=n(73542);const te=n(81582);const re=n(51382);const ne=n(27323);const oe=n(53952);const ie=n(47764);const se=n(53563);const ae=n(656);const Ae=n(23276);class BlobClient extends ee.StorageClient{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,n,c){c=c||{};let d;let p;if((0,_.isPipelineLike)(t)){p=e;d=t}else if(A.isNodeLike&&t instanceof S.StorageSharedKeyCredential||t instanceof C.AnonymousCredential||(0,i.isTokenCredential)(t)){p=e;c=n;d=(0,_.newPipeline)(t,c)}else if(!t&&typeof t!=="string"){p=e;if(n&&typeof n!=="string"){c=n}d=(0,_.newPipeline)(new C.AnonymousCredential,c)}else if(t&&typeof t==="string"&&n&&typeof n==="string"){const i=t;const v=n;const T=(0,ie.extractConnectionStringParts)(e);if(T.kind==="AccountConnString"){if(A.isNodeLike){const e=new S.StorageSharedKeyCredential(T.accountName,T.accountKey);p=(0,ie.appendToURLPath)((0,ie.appendToURLPath)(T.url,encodeURIComponent(i)),encodeURIComponent(v));if(!c.proxyOptions){c.proxyOptions=(0,o.getDefaultProxySettings)(T.proxyUri)}d=(0,_.newPipeline)(e,c)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(T.kind==="SASConnString"){p=(0,ie.appendToURLPath)((0,ie.appendToURLPath)(T.url,encodeURIComponent(i)),encodeURIComponent(v))+"?"+T.accountSas;d=(0,_.newPipeline)(new C.AnonymousCredential,c)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(p,d);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=(0,ie.getURLParameter)(this.url,ne.URLConstants.Parameters.SNAPSHOT);this._versionId=(0,ie.getURLParameter)(this.url,ne.URLConstants.Parameters.VERSIONID)}withSnapshot(e){return new BlobClient((0,ie.setURLParameter)(this.url,ne.URLConstants.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}withVersion(e){return new BlobClient((0,ie.setURLParameter)(this.url,ne.URLConstants.Parameters.VERSIONID,e.length===0?undefined:e),this.pipeline)}getAppendBlobClient(){return new AppendBlobClient(this.url,this.pipeline)}getBlockBlobClient(){return new BlockBlobClient(this.url,this.pipeline)}getPageBlobClient(){return new PageBlobClient(this.url,this.pipeline)}async download(e=0,t,n={}){n.conditions=n.conditions||{};n.conditions=n.conditions||{};(0,v.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlobClient-download",n,(async o=>{const i=(0,ie.assertResponse)(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:A.isNodeLike?undefined:n.onProgress},range:e===0&&!t?undefined:(0,Z.rangeToString)({offset:e,count:t}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:o.tracingOptions}));const c={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:(0,ie.parseObjectReplicationRecord)(i.objectReplicationRules)};if(!A.isNodeLike){return c}if(n.maxRetryRequests===undefined||n.maxRetryRequests<0){n.maxRetryRequests=ne.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS}if(i.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(!i.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}return new d.BlobDownloadResponse(c,(async t=>{const o={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||i.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:(0,Z.rangeToString)({count:e+i.contentLength-t,offset:t}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...o})).readableStreamBody}),e,i.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})}))}async exists(e={}){return oe.tracingClient.withSpan("BlobClient-exists",e,(async t=>{try{(0,v.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps);await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions});return true}catch(e){if(e.statusCode===404){return false}else if(e.statusCode===409&&(e.details.errorCode===ne.BlobUsesCustomerSpecifiedEncryptionMsg||e.details.errorCode===ne.BlobDoesNotUseCustomerSpecifiedEncryption)){return true}throw e}}))}async getProperties(e={}){e.conditions=e.conditions||{};(0,v.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlobClient-getProperties",e,(async t=>{const n=(0,ie.assertResponse)(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:(0,ie.parseObjectReplicationRecord)(n.objectReplicationRules)}}))}async delete(e={}){e.conditions=e.conditions||{};return oe.tracingClient.withSpan("BlobClient-delete",e,(async t=>(0,ie.assertResponse)(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))))}async deleteIfExists(e={}){return oe.tracingClient.withSpan("BlobClient-deleteIfExists",e,(async e=>{try{const t=(0,ie.assertResponse)(await this.delete(e));return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async undelete(e={}){return oe.tracingClient.withSpan("BlobClient-undelete",e,(async t=>(0,ie.assertResponse)(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setHTTPHeaders(e,t={}){t.conditions=t.conditions||{};(0,v.ensureCpkIfSpecified)(t.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlobClient-setHTTPHeaders",t,(async n=>(0,ie.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions}))))}async setMetadata(e,t={}){t.conditions=t.conditions||{};(0,v.ensureCpkIfSpecified)(t.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlobClient-setMetadata",t,(async n=>(0,ie.assertResponse)(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:n.tracingOptions}))))}async setTags(e,t={}){return oe.tracingClient.withSpan("BlobClient-setTags",t,(async n=>(0,ie.assertResponse)(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions,tags:(0,ie.toBlobTags)(e)}))))}async getTags(e={}){return oe.tracingClient.withSpan("BlobClient-getTags",e,(async t=>{const n=(0,ie.assertResponse)(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}));const o={...n,_response:n._response,tags:(0,ie.toTags)({blobTagSet:n.blobTagSet})||{}};return o}))}getBlobLeaseClient(e){return new Ae.BlobLeaseClient(this,e)}async createSnapshot(e={}){e.conditions=e.conditions||{};(0,v.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlobClient-createSnapshot",e,(async t=>(0,ie.assertResponse)(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions}))))}async beginCopyFromURL(e,t={}){const n={abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)};const o=new V.BlobBeginCopyFromUrlPoller({blobClient:n,copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});await o.poll();return o}async abortCopyFromURL(e,t={}){return oe.tracingClient.withSpan("BlobClient-abortCopyFromURL",t,(async n=>(0,ie.assertResponse)(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:n.tracingOptions}))))}async syncCopyFromURL(e,t={}){t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return oe.tracingClient.withSpan("BlobClient-syncCopyFromURL",t,(async n=>(0,ie.assertResponse)(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:(0,ie.httpAuthorizationToString)(t.sourceAuthorization),tier:(0,v.toAccessTier)(t.tier),blobTagsString:(0,ie.toBlobTagsString)(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:n.tracingOptions}))))}async setAccessTier(e,t={}){return oe.tracingClient.withSpan("BlobClient-setAccessTier",t,(async n=>(0,ie.assertResponse)(await this.blobContext.setTier((0,v.toAccessTier)(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:n.tracingOptions}))))}async downloadToBuffer(e,t,n,o={}){let i;let A=0;let c=0;let d=o;if(e instanceof Buffer){i=e;A=t||0;c=typeof n==="number"?n:0}else{A=typeof e==="number"?e:0;c=typeof t==="number"?t:0;d=n||{}}let p=d.blockSize??0;if(p<0){throw new RangeError("blockSize option must be >= 0")}if(p===0){p=ne.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES}if(A<0){throw new RangeError("offset option must be >= 0")}if(c&&c<=0){throw new RangeError("count option must be greater than 0")}if(!d.conditions){d.conditions={}}return oe.tracingClient.withSpan("BlobClient-downloadToBuffer",d,(async e=>{if(!c){const t=await this.getProperties({...d,tracingOptions:e.tracingOptions});c=t.contentLength-A;if(c<0){throw new RangeError(`offset ${A} shouldn't be larger than blob size ${t.contentLength}`)}}if(!i){try{i=Buffer.alloc(c)}catch(e){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${e.message}`)}}if(i.length{let n=A+c;if(o+p{const A=await this.download(t,n,{...o,tracingOptions:i.tracingOptions});if(A.readableStreamBody){await(0,se.readStreamToLocalFile)(A.readableStreamBody,e)}A.blobDownloadStream=undefined;return A}))}getBlobAndContainerNamesFromUrl(){let e;let t;try{const n=new URL(this.url);if(n.host.split(".")[1]==="blob"){const o=n.pathname.match("/([^/]*)(/(.*))?");e=o[1];t=o[3]}else if((0,ie.isIpEndpointStyle)(n)){const o=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=o[2];t=o[4]}else{const o=n.pathname.match("/([^/]*)(/(.*))?");e=o[1];t=o[3]}e=decodeURIComponent(e);t=decodeURIComponent(t);t=t.replace(/\\/g,"/");if(!e){throw new Error("Provided containerName is invalid.")}return{blobName:t,containerName:e}}catch(e){throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return oe.tracingClient.withSpan("BlobClient-startCopyFromURL",t,(async n=>{t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return(0,ie.assertResponse)(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:(0,v.toAccessTier)(t.tier),blobTagsString:(0,ie.toBlobTagsString)(t.tags),sealBlob:t.sealBlob,tracingOptions:n.tracingOptions}))}))}generateSasUrl(e){return new Promise((t=>{if(!(this.credential instanceof S.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const n=(0,ae.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t((0,ie.appendToURLQuery)(this.url,n))}))}generateSasStringToSign(e){if(!(this.credential instanceof S.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,ae.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise((n=>{const o=(0,ae.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();n((0,ie.appendToURLQuery)(this.url,o))}))}generateUserDelegationSasStringToSign(e,t){return(0,ae.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return oe.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",e,(async e=>(0,ie.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions}))))}async setImmutabilityPolicy(e,t={}){return oe.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",t,(async t=>(0,ie.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions}))))}async setLegalHold(e,t={}){return oe.tracingClient.withSpan("BlobClient-setLegalHold",t,(async t=>(0,ie.assertResponse)(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return oe.tracingClient.withSpan("BlobClient-getAccountInfo",e,(async t=>(0,ie.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}}t.BlobClient=BlobClient;class AppendBlobClient extends BlobClient{appendBlobContext;constructor(e,t,n,c){let d;let p;c=c||{};if((0,_.isPipelineLike)(t)){p=e;d=t}else if(A.isNodeLike&&t instanceof S.StorageSharedKeyCredential||t instanceof C.AnonymousCredential||(0,i.isTokenCredential)(t)){p=e;c=n;d=(0,_.newPipeline)(t,c)}else if(!t&&typeof t!=="string"){p=e;d=(0,_.newPipeline)(new C.AnonymousCredential,c)}else if(t&&typeof t==="string"&&n&&typeof n==="string"){const i=t;const v=n;const T=(0,ie.extractConnectionStringParts)(e);if(T.kind==="AccountConnString"){if(A.isNodeLike){const e=new S.StorageSharedKeyCredential(T.accountName,T.accountKey);p=(0,ie.appendToURLPath)((0,ie.appendToURLPath)(T.url,encodeURIComponent(i)),encodeURIComponent(v));if(!c.proxyOptions){c.proxyOptions=(0,o.getDefaultProxySettings)(T.proxyUri)}d=(0,_.newPipeline)(e,c)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(T.kind==="SASConnString"){p=(0,ie.appendToURLPath)((0,ie.appendToURLPath)(T.url,encodeURIComponent(i)),encodeURIComponent(v))+"?"+T.accountSas;d=(0,_.newPipeline)(new C.AnonymousCredential,c)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(p,d);this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new AppendBlobClient((0,ie.setURLParameter)(this.url,ne.URLConstants.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async create(e={}){e.conditions=e.conditions||{};(0,v.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("AppendBlobClient-create",e,(async t=>(0,ie.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:(0,ie.toBlobTagsString)(e.tags),tracingOptions:t.tracingOptions}))))}async createIfNotExists(e={}){const t={ifNoneMatch:ne.ETagAny};return oe.tracingClient.withSpan("AppendBlobClient-createIfNotExists",e,(async e=>{try{const n=(0,ie.assertResponse)(await this.create({...e,conditions:t}));return{succeeded:true,...n,_response:n._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async seal(e={}){e.conditions=e.conditions||{};return oe.tracingClient.withSpan("AppendBlobClient-seal",e,(async t=>(0,ie.assertResponse)(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))))}async appendBlock(e,t,n={}){n.conditions=n.conditions||{};(0,v.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("AppendBlobClient-appendBlock",n,(async o=>(0,ie.assertResponse)(await this.appendBlobContext.appendBlock(t,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:o.tracingOptions}))))}async appendBlockFromURL(e,t,n,o={}){o.conditions=o.conditions||{};o.sourceConditions=o.sourceConditions||{};(0,v.ensureCpkIfSpecified)(o.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",o,(async i=>(0,ie.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:o.abortSignal,sourceRange:(0,Z.rangeToString)({offset:t,count:n}),sourceContentMD5:o.sourceContentMD5,sourceContentCrc64:o.sourceContentCrc64,leaseAccessConditions:o.conditions,appendPositionAccessConditions:o.conditions,modifiedAccessConditions:{...o.conditions,ifTags:o.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:o.sourceConditions?.ifMatch,sourceIfModifiedSince:o.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:o.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:o.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,ie.httpAuthorizationToString)(o.sourceAuthorization),cpkInfo:o.customerProvidedKey,encryptionScope:o.encryptionScope,fileRequestIntent:o.sourceShareTokenIntent,tracingOptions:i.tracingOptions}))))}}t.AppendBlobClient=AppendBlobClient;class BlockBlobClient extends BlobClient{_blobContext;blockBlobContext;constructor(e,t,n,c){let d;let p;c=c||{};if((0,_.isPipelineLike)(t)){p=e;d=t}else if(A.isNodeLike&&t instanceof S.StorageSharedKeyCredential||t instanceof C.AnonymousCredential||(0,i.isTokenCredential)(t)){p=e;c=n;d=(0,_.newPipeline)(t,c)}else if(!t&&typeof t!=="string"){p=e;if(n&&typeof n!=="string"){c=n}d=(0,_.newPipeline)(new C.AnonymousCredential,c)}else if(t&&typeof t==="string"&&n&&typeof n==="string"){const i=t;const v=n;const T=(0,ie.extractConnectionStringParts)(e);if(T.kind==="AccountConnString"){if(A.isNodeLike){const e=new S.StorageSharedKeyCredential(T.accountName,T.accountKey);p=(0,ie.appendToURLPath)((0,ie.appendToURLPath)(T.url,encodeURIComponent(i)),encodeURIComponent(v));if(!c.proxyOptions){c.proxyOptions=(0,o.getDefaultProxySettings)(T.proxyUri)}d=(0,_.newPipeline)(e,c)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(T.kind==="SASConnString"){p=(0,ie.appendToURLPath)((0,ie.appendToURLPath)(T.url,encodeURIComponent(i)),encodeURIComponent(v))+"?"+T.accountSas;d=(0,_.newPipeline)(new C.AnonymousCredential,c)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(p,d);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new BlockBlobClient((0,ie.setURLParameter)(this.url,ne.URLConstants.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async query(e,t={}){(0,v.ensureCpkIfSpecified)(t.customerProvidedKey,this.isHttps);if(!A.isNodeLike){throw new Error("This operation currently is only supported in Node.js.")}return oe.tracingClient.withSpan("BlockBlobClient-query",t,(async n=>{const o=(0,ie.assertResponse)(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:(0,ie.toQuerySerialization)(t.inputTextConfiguration),outputSerialization:(0,ie.toQuerySerialization)(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:n.tracingOptions}));return new p.BlobQueryResponse(o,{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError})}))}async upload(e,t,n={}){n.conditions=n.conditions||{};(0,v.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlockBlobClient-upload",n,(async o=>(0,ie.assertResponse)(await this.blockBlobContext.upload(t,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:(0,v.toAccessTier)(n.tier),blobTagsString:(0,ie.toBlobTagsString)(n.tags),tracingOptions:o.tracingOptions}))))}async syncUploadFromURL(e,t={}){t.conditions=t.conditions||{};(0,v.ensureCpkIfSpecified)(t.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",t,(async n=>(0,ie.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:(0,ie.httpAuthorizationToString)(t.sourceAuthorization),tier:(0,v.toAccessTier)(t.tier),blobTagsString:(0,ie.toBlobTagsString)(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:n.tracingOptions}))))}async stageBlock(e,t,n,o={}){(0,v.ensureCpkIfSpecified)(o.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlockBlobClient-stageBlock",o,(async i=>(0,ie.assertResponse)(await this.blockBlobContext.stageBlock(e,n,t,{abortSignal:o.abortSignal,leaseAccessConditions:o.conditions,requestOptions:{onUploadProgress:o.onProgress},transactionalContentMD5:o.transactionalContentMD5,transactionalContentCrc64:o.transactionalContentCrc64,cpkInfo:o.customerProvidedKey,encryptionScope:o.encryptionScope,tracingOptions:i.tracingOptions}))))}async stageBlockFromURL(e,t,n=0,o,i={}){(0,v.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",i,(async A=>(0,ie.assertResponse)(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:n===0&&!o?undefined:(0,Z.rangeToString)({offset:n,count:o}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:(0,ie.httpAuthorizationToString)(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:A.tracingOptions}))))}async commitBlockList(e,t={}){t.conditions=t.conditions||{};(0,v.ensureCpkIfSpecified)(t.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("BlockBlobClient-commitBlockList",t,(async n=>(0,ie.assertResponse)(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:(0,v.toAccessTier)(t.tier),blobTagsString:(0,ie.toBlobTagsString)(t.tags),tracingOptions:n.tracingOptions}))))}async getBlockList(e,t={}){return oe.tracingClient.withSpan("BlockBlobClient-getBlockList",t,(async n=>{const o=(0,ie.assertResponse)(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions}));if(!o.committedBlocks){o.committedBlocks=[]}if(!o.uncommittedBlocks){o.uncommittedBlocks=[]}return o}))}async uploadData(e,t={}){return oe.tracingClient.withSpan("BlockBlobClient-uploadData",t,(async t=>{if(A.isNodeLike){let n;if(e instanceof Buffer){n=e}else if(e instanceof ArrayBuffer){n=Buffer.from(e)}else{e=e;n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}return this.uploadSeekableInternal(((e,t)=>n.slice(e,e+t)),n.byteLength,t)}else{const n=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>n.slice(e,e+t)),n.size,t)}}))}async uploadBrowserData(e,t={}){return oe.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",t,(async t=>{const n=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>n.slice(e,e+t)),n.size,t)}))}async uploadSeekableInternal(e,t,n={}){let o=n.blockSize??0;if(o<0||o>ne.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES){throw new RangeError(`blockSize option must be >= 0 and <= ${ne.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`)}const i=n.maxSingleShotSize??ne.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(i<0||i>ne.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${ne.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`)}if(o===0){if(t>ne.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*ne.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`${t} is too larger to upload to a block blob.`)}if(t>i){o=Math.ceil(t/ne.BLOCK_BLOB_MAX_BLOCKS);if(o{if(t<=i){return(0,ie.assertResponse)(await this.upload(e(0,t),t,A))}const d=Math.floor((t-1)/o)+1;if(d>ne.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`The buffer's size is too big or the BlockSize is too small;`+`the number of blocks must be <= ${ne.BLOCK_BLOB_MAX_BLOCKS}`)}const p=[];const C=(0,c.randomUUID)();let S=0;const v=new te.Batch(n.concurrency);for(let i=0;i{const c=(0,ie.generateBlockID)(C,i);const v=o*i;const T=i===d-1?t:v+o;const _=T-v;p.push(c);await this.stageBlock(c,e(v,_),_,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:A.tracingOptions});S+=_;if(n.onProgress){n.onProgress({loadedBytes:S})}}))}await v.do();return this.commitBlockList(p,A)}))}async uploadFile(e,t={}){return oe.tracingClient.withSpan("BlockBlobClient-uploadFile",t,(async n=>{const o=(await(0,se.fsStat)(e)).size;return this.uploadSeekableInternal(((t,n)=>()=>(0,se.fsCreateReadStream)(e,{autoClose:true,end:n?t+n-1:Infinity,start:t})),o,{...t,tracingOptions:n.tracingOptions})}))}async uploadStream(e,t=ne.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,n=5,o={}){if(!o.blobHTTPHeaders){o.blobHTTPHeaders={}}if(!o.conditions){o.conditions={}}return oe.tracingClient.withSpan("BlockBlobClient-uploadStream",o,(async i=>{let A=0;const d=(0,c.randomUUID)();let p=0;const C=[];const S=new re.BufferScheduler(e,t,n,(async(e,t)=>{const n=(0,ie.generateBlockID)(d,A);C.push(n);A++;await this.stageBlock(n,e,t,{customerProvidedKey:o.customerProvidedKey,conditions:o.conditions,encryptionScope:o.encryptionScope,tracingOptions:i.tracingOptions});p+=t;if(o.onProgress){o.onProgress({loadedBytes:p})}}),Math.ceil(n/4*3));await S.do();return(0,ie.assertResponse)(await this.commitBlockList(C,{...o,tracingOptions:i.tracingOptions}))}))}}t.BlockBlobClient=BlockBlobClient;class PageBlobClient extends BlobClient{pageBlobContext;constructor(e,t,n,c){let d;let p;c=c||{};if((0,_.isPipelineLike)(t)){p=e;d=t}else if(A.isNodeLike&&t instanceof S.StorageSharedKeyCredential||t instanceof C.AnonymousCredential||(0,i.isTokenCredential)(t)){p=e;c=n;d=(0,_.newPipeline)(t,c)}else if(!t&&typeof t!=="string"){p=e;d=(0,_.newPipeline)(new C.AnonymousCredential,c)}else if(t&&typeof t==="string"&&n&&typeof n==="string"){const i=t;const v=n;const T=(0,ie.extractConnectionStringParts)(e);if(T.kind==="AccountConnString"){if(A.isNodeLike){const e=new S.StorageSharedKeyCredential(T.accountName,T.accountKey);p=(0,ie.appendToURLPath)((0,ie.appendToURLPath)(T.url,encodeURIComponent(i)),encodeURIComponent(v));if(!c.proxyOptions){c.proxyOptions=(0,o.getDefaultProxySettings)(T.proxyUri)}d=(0,_.newPipeline)(e,c)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(T.kind==="SASConnString"){p=(0,ie.appendToURLPath)((0,ie.appendToURLPath)(T.url,encodeURIComponent(i)),encodeURIComponent(v))+"?"+T.accountSas;d=(0,_.newPipeline)(new C.AnonymousCredential,c)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(p,d);this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new PageBlobClient((0,ie.setURLParameter)(this.url,ne.URLConstants.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async create(e,t={}){t.conditions=t.conditions||{};(0,v.ensureCpkIfSpecified)(t.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("PageBlobClient-create",t,(async n=>(0,ie.assertResponse)(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:(0,v.toAccessTier)(t.tier),blobTagsString:(0,ie.toBlobTagsString)(t.tags),tracingOptions:n.tracingOptions}))))}async createIfNotExists(e,t={}){return oe.tracingClient.withSpan("PageBlobClient-createIfNotExists",t,(async n=>{try{const o={ifNoneMatch:ne.ETagAny};const i=(0,ie.assertResponse)(await this.create(e,{...t,conditions:o,tracingOptions:n.tracingOptions}));return{succeeded:true,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async uploadPages(e,t,n,o={}){o.conditions=o.conditions||{};(0,v.ensureCpkIfSpecified)(o.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("PageBlobClient-uploadPages",o,(async i=>(0,ie.assertResponse)(await this.pageBlobContext.uploadPages(n,e,{abortSignal:o.abortSignal,leaseAccessConditions:o.conditions,modifiedAccessConditions:{...o.conditions,ifTags:o.conditions?.tagConditions},requestOptions:{onUploadProgress:o.onProgress},range:(0,Z.rangeToString)({offset:t,count:n}),sequenceNumberAccessConditions:o.conditions,transactionalContentMD5:o.transactionalContentMD5,transactionalContentCrc64:o.transactionalContentCrc64,cpkInfo:o.customerProvidedKey,encryptionScope:o.encryptionScope,tracingOptions:i.tracingOptions}))))}async uploadPagesFromURL(e,t,n,o,i={}){i.conditions=i.conditions||{};i.sourceConditions=i.sourceConditions||{};(0,v.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return oe.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",i,(async A=>(0,ie.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(e,(0,Z.rangeToString)({offset:t,count:o}),0,(0,Z.rangeToString)({offset:n,count:o}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:(0,ie.httpAuthorizationToString)(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:A.tracingOptions}))))}async clearPages(e=0,t,n={}){n.conditions=n.conditions||{};return oe.tracingClient.withSpan("PageBlobClient-clearPages",n,(async o=>(0,ie.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,Z.rangeToString)({offset:e,count:t}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:o.tracingOptions}))))}async getPageRanges(e=0,t,n={}){n.conditions=n.conditions||{};return oe.tracingClient.withSpan("PageBlobClient-getPageRanges",n,(async o=>{const i=(0,ie.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,Z.rangeToString)({offset:e,count:t}),tracingOptions:o.tracingOptions}));return(0,T.rangeResponseFromModel)(i)}))}async listPageRangesSegment(e=0,t,n,o={}){return oe.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",o,(async i=>(0,ie.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:o.abortSignal,leaseAccessConditions:o.conditions,modifiedAccessConditions:{...o.conditions,ifTags:o.conditions?.tagConditions},range:(0,Z.rangeToString)({offset:e,count:t}),marker:n,maxPageSize:o.maxPageSize,tracingOptions:i.tracingOptions}))))}async*listPageRangeItemSegments(e=0,t,n,o={}){let i;if(!!n||n===undefined){do{i=await this.listPageRangesSegment(e,t,n,o);n=i.continuationToken;yield await i}while(n)}}async*listPageRangeItems(e=0,t,n={}){let o;for await(const i of this.listPageRangeItemSegments(e,t,o,n)){yield*(0,ie.ExtractPageRangeInfoItems)(i)}}listPageRanges(e=0,t,n={}){n.conditions=n.conditions||{};const o=this.listPageRangeItems(e,t,n);return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:(o={})=>this.listPageRangeItemSegments(e,t,o.continuationToken,{maxPageSize:o.maxPageSize,...n})}}async getPageRangesDiff(e,t,n,o={}){o.conditions=o.conditions||{};return oe.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",o,(async i=>{const A=(0,ie.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:o.abortSignal,leaseAccessConditions:o.conditions,modifiedAccessConditions:{...o.conditions,ifTags:o.conditions?.tagConditions},prevsnapshot:n,range:(0,Z.rangeToString)({offset:e,count:t}),tracingOptions:i.tracingOptions}));return(0,T.rangeResponseFromModel)(A)}))}async listPageRangesDiffSegment(e,t,n,o,i={}){return oe.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",i,(async A=>(0,ie.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:n,range:(0,Z.rangeToString)({offset:e,count:t}),marker:o,maxPageSize:i?.maxPageSize,tracingOptions:A.tracingOptions}))))}async*listPageRangeDiffItemSegments(e,t,n,o,i){let A;if(!!o||o===undefined){do{A=await this.listPageRangesDiffSegment(e,t,n,o,i);o=A.continuationToken;yield await A}while(o)}}async*listPageRangeDiffItems(e,t,n,o){let i;for await(const A of this.listPageRangeDiffItemSegments(e,t,n,i,o)){yield*(0,ie.ExtractPageRangeInfoItems)(A)}}listPageRangesDiff(e,t,n,o={}){o.conditions=o.conditions||{};const i=this.listPageRangeDiffItems(e,t,n,{...o});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeDiffItemSegments(e,t,n,i.continuationToken,{maxPageSize:i.maxPageSize,...o})}}async getPageRangesDiffForManagedDisks(e,t,n,o={}){o.conditions=o.conditions||{};return oe.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",o,(async i=>{const A=(0,ie.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:o.abortSignal,leaseAccessConditions:o.conditions,modifiedAccessConditions:{...o.conditions,ifTags:o.conditions?.tagConditions},prevSnapshotUrl:n,range:(0,Z.rangeToString)({offset:e,count:t}),tracingOptions:i.tracingOptions}));return(0,T.rangeResponseFromModel)(A)}))}async resize(e,t={}){t.conditions=t.conditions||{};return oe.tracingClient.withSpan("PageBlobClient-resize",t,(async n=>(0,ie.assertResponse)(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:n.tracingOptions}))))}async updateSequenceNumber(e,t,n={}){n.conditions=n.conditions||{};return oe.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",n,(async o=>(0,ie.assertResponse)(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:t,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:o.tracingOptions}))))}async startCopyIncremental(e,t={}){return oe.tracingClient.withSpan("PageBlobClient-startCopyIncremental",t,(async n=>(0,ie.assertResponse)(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions}))))}}t.PageBlobClient=PageBlobClient},81884:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ContainerClient=void 0;const o=n(20778);const i=n(87779);const A=n(50417);const c=n(35345);const d=n(68999);const p=n(25984);const C=n(73542);const S=n(53952);const v=n(47764);const T=n(656);const _=n(23276);const V=n(90372);const Z=n(12094);class ContainerClient extends C.StorageClient{containerContext;_containerName;get containerName(){return this._containerName}constructor(e,t,n){let C;let S;n=n||{};if((0,p.isPipelineLike)(t)){S=e;C=t}else if(i.isNodeLike&&t instanceof d.StorageSharedKeyCredential||t instanceof c.AnonymousCredential||(0,A.isTokenCredential)(t)){S=e;C=(0,p.newPipeline)(t,n)}else if(!t&&typeof t!=="string"){S=e;C=(0,p.newPipeline)(new c.AnonymousCredential,n)}else if(t&&typeof t==="string"){const A=t;const T=(0,v.extractConnectionStringParts)(e);if(T.kind==="AccountConnString"){if(i.isNodeLike){const e=new d.StorageSharedKeyCredential(T.accountName,T.accountKey);S=(0,v.appendToURLPath)(T.url,encodeURIComponent(A));if(!n.proxyOptions){n.proxyOptions=(0,o.getDefaultProxySettings)(T.proxyUri)}C=(0,p.newPipeline)(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(T.kind==="SASConnString"){S=(0,v.appendToURLPath)(T.url,encodeURIComponent(A))+"?"+T.accountSas;C=(0,p.newPipeline)(new c.AnonymousCredential,n)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName parameter")}super(S,C);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container}async create(e={}){return S.tracingClient.withSpan("ContainerClient-create",e,(async e=>(0,v.assertResponse)(await this.containerContext.create(e))))}async createIfNotExists(e={}){return S.tracingClient.withSpan("ContainerClient-createIfNotExists",e,(async e=>{try{const t=await this.create(e);return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="ContainerAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}else{throw e}}}))}async exists(e={}){return S.tracingClient.withSpan("ContainerClient-exists",e,(async t=>{try{await this.getProperties({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions});return true}catch(e){if(e.statusCode===404){return false}throw e}}))}getBlobClient(e){return new V.BlobClient((0,v.appendToURLPath)(this.url,(0,v.EscapePath)(e)),this.pipeline)}getAppendBlobClient(e){return new V.AppendBlobClient((0,v.appendToURLPath)(this.url,(0,v.EscapePath)(e)),this.pipeline)}getBlockBlobClient(e){return new V.BlockBlobClient((0,v.appendToURLPath)(this.url,(0,v.EscapePath)(e)),this.pipeline)}getPageBlobClient(e){return new V.PageBlobClient((0,v.appendToURLPath)(this.url,(0,v.EscapePath)(e)),this.pipeline)}async getProperties(e={}){if(!e.conditions){e.conditions={}}return S.tracingClient.withSpan("ContainerClient-getProperties",e,(async t=>(0,v.assertResponse)(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:t.tracingOptions}))))}async delete(e={}){if(!e.conditions){e.conditions={}}return S.tracingClient.withSpan("ContainerClient-delete",e,(async t=>(0,v.assertResponse)(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}))))}async deleteIfExists(e={}){return S.tracingClient.withSpan("ContainerClient-deleteIfExists",e,(async e=>{try{const t=await this.delete(e);return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="ContainerNotFound"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async setMetadata(e,t={}){if(!t.conditions){t.conditions={}}if(t.conditions.ifUnmodifiedSince){throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service")}return S.tracingClient.withSpan("ContainerClient-setMetadata",t,(async n=>(0,v.assertResponse)(await this.containerContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:t.conditions,tracingOptions:n.tracingOptions}))))}async getAccessPolicy(e={}){if(!e.conditions){e.conditions={}}return S.tracingClient.withSpan("ContainerClient-getAccessPolicy",e,(async t=>{const n=(0,v.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));const o={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(const e of n){let t=undefined;if(e.accessPolicy){t={permissions:e.accessPolicy.permissions};if(e.accessPolicy.expiresOn){t.expiresOn=new Date(e.accessPolicy.expiresOn)}if(e.accessPolicy.startsOn){t.startsOn=new Date(e.accessPolicy.startsOn)}}o.signedIdentifiers.push({accessPolicy:t,id:e.id})}return o}))}async setAccessPolicy(e,t,n={}){n.conditions=n.conditions||{};return S.tracingClient.withSpan("ContainerClient-setAccessPolicy",n,(async o=>{const i=[];for(const e of t||[]){i.push({accessPolicy:{expiresOn:e.accessPolicy.expiresOn?(0,v.truncatedISO8061Date)(e.accessPolicy.expiresOn):"",permissions:e.accessPolicy.permissions,startsOn:e.accessPolicy.startsOn?(0,v.truncatedISO8061Date)(e.accessPolicy.startsOn):""},id:e.id})}return(0,v.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:i,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:o.tracingOptions}))}))}getBlobLeaseClient(e){return new _.BlobLeaseClient(this,e)}async uploadBlockBlob(e,t,n,o={}){return S.tracingClient.withSpan("ContainerClient-uploadBlockBlob",o,(async o=>{const i=this.getBlockBlobClient(e);const A=await i.upload(t,n,o);return{blockBlobClient:i,response:A}}))}async deleteBlob(e,t={}){return S.tracingClient.withSpan("ContainerClient-deleteBlob",t,(async n=>{let o=this.getBlobClient(e);if(t.versionId){o=o.withVersion(t.versionId)}return o.delete(n)}))}async listBlobFlatSegment(e,t={}){return S.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",t,(async n=>{const o=(0,v.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:e,...t,tracingOptions:n.tracingOptions}));const i={...o,_response:{...o._response,parsedBody:(0,v.ConvertInternalResponseOfListBlobFlat)(o._response.parsedBody)},segment:{...o.segment,blobItems:o.segment.blobItems.map((e=>{const t={...e,name:(0,v.BlobNameToString)(e.name),tags:(0,v.toTags)(e.blobTags),objectReplicationSourceProperties:(0,v.parseObjectReplicationRecord)(e.objectReplicationMetadata)};return t}))}};return i}))}async listBlobHierarchySegment(e,t,n={}){return S.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",n,(async o=>{const i=(0,v.assertResponse)(await this.containerContext.listBlobHierarchySegment(e,{marker:t,...n,tracingOptions:o.tracingOptions}));const A={...i,_response:{...i._response,parsedBody:(0,v.ConvertInternalResponseOfListBlobHierarchy)(i._response.parsedBody)},segment:{...i.segment,blobItems:i.segment.blobItems.map((e=>{const t={...e,name:(0,v.BlobNameToString)(e.name),tags:(0,v.toTags)(e.blobTags),objectReplicationSourceProperties:(0,v.parseObjectReplicationRecord)(e.objectReplicationMetadata)};return t})),blobPrefixes:i.segment.blobPrefixes?.map((e=>{const t={...e,name:(0,v.BlobNameToString)(e.name)};return t}))}};return A}))}async*listSegments(e,t={}){let n;if(!!e||e===undefined){do{n=await this.listBlobFlatSegment(e,t);e=n.continuationToken;yield await n}while(e)}}async*listItems(e={}){let t;for await(const n of this.listSegments(t,e)){yield*n.segment.blobItems}}listBlobsFlat(e={}){const t=[];if(e.includeCopy){t.push("copy")}if(e.includeDeleted){t.push("deleted")}if(e.includeMetadata){t.push("metadata")}if(e.includeSnapshots){t.push("snapshots")}if(e.includeVersions){t.push("versions")}if(e.includeUncommitedBlobs){t.push("uncommittedblobs")}if(e.includeTags){t.push("tags")}if(e.includeDeletedWithVersions){t.push("deletedwithversions")}if(e.includeImmutabilityPolicy){t.push("immutabilitypolicy")}if(e.includeLegalHold){t.push("legalhold")}if(e.prefix===""){e.prefix=undefined}const n={...e,...t.length>0?{include:t}:{}};const o=this.listItems(n);return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,{maxPageSize:e.maxPageSize,...n})}}async*listHierarchySegments(e,t,n={}){let o;if(!!t||t===undefined){do{o=await this.listBlobHierarchySegment(e,t,n);t=o.continuationToken;yield await o}while(t)}}async*listItemsByHierarchy(e,t={}){let n;for await(const o of this.listHierarchySegments(e,n,t)){const e=o.segment;if(e.blobPrefixes){for(const t of e.blobPrefixes){yield{kind:"prefix",...t}}}for(const t of e.blobItems){yield{kind:"blob",...t}}}}listBlobsByHierarchy(e,t={}){if(e===""){throw new RangeError("delimiter should contain one or more characters")}const n=[];if(t.includeCopy){n.push("copy")}if(t.includeDeleted){n.push("deleted")}if(t.includeMetadata){n.push("metadata")}if(t.includeSnapshots){n.push("snapshots")}if(t.includeVersions){n.push("versions")}if(t.includeUncommitedBlobs){n.push("uncommittedblobs")}if(t.includeTags){n.push("tags")}if(t.includeDeletedWithVersions){n.push("deletedwithversions")}if(t.includeImmutabilityPolicy){n.push("immutabilitypolicy")}if(t.includeLegalHold){n.push("legalhold")}if(t.prefix===""){t.prefix=undefined}const o={...t,...n.length>0?{include:n}:{}};const i=this.listItemsByHierarchy(e,o);return{async next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.listHierarchySegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...o})}}async findBlobsByTagsSegment(e,t,n={}){return S.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",n,(async o=>{const i=(0,v.assertResponse)(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:t,maxPageSize:n.maxPageSize,tracingOptions:o.tracingOptions}));const A={...i,_response:i._response,blobs:i.blobs.map((e=>{let t="";if(e.tags?.blobTagSet.length===1){t=e.tags.blobTagSet[0].value}return{...e,tags:(0,v.toTags)(e.tags),tagValue:t}}))};return A}))}async*findBlobsByTagsSegments(e,t,n={}){let o;if(!!t||t===undefined){do{o=await this.findBlobsByTagsSegment(e,t,n);o.blobs=o.blobs||[];t=o.continuationToken;yield o}while(t)}}async*findBlobsByTagsItems(e,t={}){let n;for await(const o of this.findBlobsByTagsSegments(e,n,t)){yield*o.blobs}}findBlobsByTags(e,t={}){const n={...t};const o=this.findBlobsByTagsItems(e,n);return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...n})}}async getAccountInfo(e={}){return S.tracingClient.withSpan("ContainerClient-getAccountInfo",e,(async t=>(0,v.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}getContainerNameFromUrl(){let e;try{const t=new URL(this.url);if(t.hostname.split(".")[1]==="blob"){e=t.pathname.split("/")[1]}else if((0,v.isIpEndpointStyle)(t)){e=t.pathname.split("/")[2]}else{e=t.pathname.split("/")[1]}e=decodeURIComponent(e);if(!e){throw new Error("Provided containerName is invalid.")}return e}catch(e){throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise((t=>{if(!(this.credential instanceof d.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const n=(0,T.generateBlobSASQueryParameters)({containerName:this._containerName,...e},this.credential).toString();t((0,v.appendToURLQuery)(this.url,n))}))}generateSasStringToSign(e){if(!(this.credential instanceof d.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,T.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise((n=>{const o=(0,T.generateBlobSASQueryParameters)({containerName:this._containerName,...e},t,this.accountName).toString();n((0,v.appendToURLQuery)(this.url,o))}))}generateUserDelegationSasStringToSign(e,t){return(0,T.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},t,this.accountName).stringToSign}getBlobBatchClient(){return new Z.BlobBatchClient(this.url,this.pipeline)}}t.ContainerClient=ContainerClient},95302:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.rangeResponseFromModel=rangeResponseFromModel;function rangeResponseFromModel(e){const t=(e._response.parsedBody.pageRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));const n=(e._response.parsedBody.clearRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));return{...e,pageRange:t,clearRange:n,_response:{...e._response,parsedBody:{pageRange:t,clearRange:n}}}}},25984:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.Pipeline=t.StorageOAuthScopes=void 0;t.isPipelineLike=isPipelineLike;t.newPipeline=newPipeline;t.getCoreClientOptions=getCoreClientOptions;t.getCredentialFromPipeline=getCredentialFromPipeline;const o=n(61584);const i=n(20778);const A=n(60160);const c=n(78756);const d=n(50417);const p=n(46370);const C=n(98335);const S=n(68999);const v=n(35345);const T=n(27323);Object.defineProperty(t,"StorageOAuthScopes",{enumerable:true,get:function(){return T.StorageOAuthScopes}});const _=n(51382);const V=n(490);const Z=n(31160);const ee=n(97999);const te=n(31821);const re=n(99359);function isPipelineLike(e){if(!e||typeof e!=="object"){return false}const t=e;return Array.isArray(t.factories)&&typeof t.options==="object"&&typeof t.toServiceClientOptions==="function"}class Pipeline{factories;options;constructor(e,t={}){this.factories=e;this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}t.Pipeline=Pipeline;function newPipeline(e,t={}){if(!e){e=new v.AnonymousCredential}const n=new Pipeline([],t);n._credential=e;return n}function processDownlevelPipeline(e){const t=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(e.factories.length){const n=e.factories.filter((e=>!t.some((t=>t(e)))));if(n.length){const e=n.some((e=>isInjectorPolicyFactory(e)));return{wrappedPolicies:(0,o.createRequestPolicyFactoryPolicy)(n),afterRetry:e}}}return undefined}function getCoreClientOptions(e){const{httpClient:t,...n}=e.options;let C=e._coreHttpClient;if(!C){C=t?(0,o.convertHttpClient)(t):(0,_.getCachedDefaultHttpClient)();e._coreHttpClient=C}let v=e._corePipeline;if(!v){const t=`azsdk-js-azure-storage-blob/${T.SDK_VERSION}`;const o=n.userAgentOptions&&n.userAgentOptions.userAgentPrefix?`${n.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;v=(0,A.createClientPipeline)({...n,loggingOptions:{additionalAllowedHeaderNames:T.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:T.StorageBlobLoggingAllowedQueryParameters,logger:p.logger.info},userAgentOptions:{userAgentPrefix:o},serializationOptions:{stringifyXML:c.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:c.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}});v.removePolicy({phase:"Retry"});v.removePolicy({name:i.decompressResponsePolicyName});v.addPolicy((0,re.storageCorrectContentLengthPolicy)());v.addPolicy((0,Z.storageRetryPolicy)(n.retryOptions),{phase:"Retry"});v.addPolicy((0,_.storageRequestFailureDetailsParserPolicy)());v.addPolicy((0,V.storageBrowserPolicy)());const C=processDownlevelPipeline(e);if(C){v.addPolicy(C.wrappedPolicies,C.afterRetry?{afterPhase:"Retry"}:undefined)}const te=getCredentialFromPipeline(e);if((0,d.isTokenCredential)(te)){v.addPolicy((0,i.bearerTokenAuthenticationPolicy)({credential:te,scopes:n.audience??T.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:A.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(te instanceof S.StorageSharedKeyCredential){v.addPolicy((0,ee.storageSharedKeyCredentialPolicy)({accountName:te.accountName,accountKey:te.accountKey}),{phase:"Sign"})}e._corePipeline=v}return{...n,allowInsecureConnection:true,httpClient:C,pipeline:v}}function getCredentialFromPipeline(e){if(e._credential){return e._credential}let t=new v.AnonymousCredential;for(const n of e.factories){if((0,d.isTokenCredential)(n.credential)){t=n.credential}else if(isStorageSharedKeyCredential(n)){return n}}return t}function isStorageSharedKeyCredential(e){if(e instanceof S.StorageSharedKeyCredential){return true}return e.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(e){if(e instanceof v.AnonymousCredential){return true}return e.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(e){return(0,d.isTokenCredential)(e.credential)}function isStorageBrowserPolicyFactory(e){if(e instanceof te.StorageBrowserPolicyFactory){return true}return e.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(e){if(e instanceof C.StorageRetryPolicyFactory){return true}return e.constructor.name==="StorageRetryPolicyFactory"}function isStorageTelemetryPolicyFactory(e){return e.constructor.name==="TelemetryPolicyFactory"}function isInjectorPolicyFactory(e){return e.constructor.name==="InjectorPolicyFactory"}function isCoreHttpPolicyFactory(e){const t=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];const n={sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})};const o={log(e,t){},shouldLog(e){return false}};const i=e.create(n,o);const A=i.constructor.name;return t.some((e=>A.startsWith(e)))}},52045:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.rangeToString=rangeToString;function rangeToString(e){if(e.offset<0){throw new RangeError(`Range.offset cannot be smaller than 0.`)}if(e.count&&e.count<=0){throw new RangeError(`Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.`)}return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}},31821:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageBrowserPolicyFactory=t.StorageBrowserPolicy=void 0;const o=n(78654);Object.defineProperty(t,"StorageBrowserPolicy",{enumerable:true,get:function(){return o.StorageBrowserPolicy}});class StorageBrowserPolicyFactory{create(e,t){return new o.StorageBrowserPolicy(e,t)}}t.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory},73542:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageClient=void 0;const o=n(53789);const i=n(25984);const A=n(47764);class StorageClient{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){this.url=(0,A.escapeURLPath)(e);this.accountName=(0,A.getAccountNameFromUrl)(e);this.pipeline=t;this.storageClientContext=new o.StorageContextClient(this.url,(0,i.getCoreClientOptions)(t));this.isHttps=(0,A.iEqual)((0,A.getURLScheme)(this.url)||"","https");this.credential=(0,i.getCredentialFromPipeline)(t);const n=this.storageClientContext;n.requestContentType=undefined}}t.StorageClient=StorageClient},53789:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageContextClient=void 0;const o=n(30247);class StorageContextClient extends o.StorageClient{async sendOperationRequest(e,t){const n={...t};if(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}"){n.path=""}return super.sendOperationRequest(e,n)}}t.StorageContextClient=StorageContextClient},98335:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageRetryPolicyFactory=t.StorageRetryPolicy=t.StorageRetryPolicyType=void 0;const o=n(57996);Object.defineProperty(t,"StorageRetryPolicy",{enumerable:true,get:function(){return o.StorageRetryPolicy}});const i=n(16308);Object.defineProperty(t,"StorageRetryPolicyType",{enumerable:true,get:function(){return i.StorageRetryPolicyType}});class StorageRetryPolicyFactory{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new o.StorageRetryPolicy(e,t,this.retryOptions)}}t.StorageRetryPolicyFactory=StorageRetryPolicyFactory},35345:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AnonymousCredential=void 0;const o=n(13501);const i=n(52596);class AnonymousCredential extends i.Credential{create(e,t){return new o.AnonymousCredentialPolicy(e,t)}}t.AnonymousCredential=AnonymousCredential},52596:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Credential=void 0;class Credential{create(e,t){throw new Error("Method should be implemented in children classes.")}}t.Credential=Credential},68999:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageSharedKeyCredential=void 0;const o=n(77598);const i=n(45511);const A=n(52596);class StorageSharedKeyCredential extends A.Credential{accountName;accountKey;constructor(e,t){super();this.accountName=e;this.accountKey=Buffer.from(t,"base64")}create(e,t){return new i.StorageSharedKeyCredentialPolicy(e,t,this)}computeHMACSHA256(e){return(0,o.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}t.StorageSharedKeyCredential=StorageSharedKeyCredential},10992:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.UserDelegationKeyCredential=void 0;const o=n(77598);class UserDelegationKeyCredential{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e;this.userDelegationKey=t;this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,o.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}t.UserDelegationKeyCredential=UserDelegationKeyCredential},30247:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageClient=void 0;const o=n(61860);o.__exportStar(n(12362),t);var i=n(5313);Object.defineProperty(t,"StorageClient",{enumerable:true,get:function(){return i.StorageClient}});o.__exportStar(n(82354),t)},12362:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.KnownStorageErrorCode=t.KnownBlobExpiryOptions=t.KnownFileShareTokenIntent=t.KnownEncryptionAlgorithmType=void 0;var n;(function(e){e["AES256"]="AES256"})(n||(t.KnownEncryptionAlgorithmType=n={}));var o;(function(e){e["Backup"]="backup"})(o||(t.KnownFileShareTokenIntent=o={}));var i;(function(e){e["NeverExpire"]="NeverExpire";e["RelativeToCreation"]="RelativeToCreation";e["RelativeToNow"]="RelativeToNow";e["Absolute"]="Absolute"})(i||(t.KnownBlobExpiryOptions=i={}));var A;(function(e){e["AccountAlreadyExists"]="AccountAlreadyExists";e["AccountBeingCreated"]="AccountBeingCreated";e["AccountIsDisabled"]="AccountIsDisabled";e["AuthenticationFailed"]="AuthenticationFailed";e["AuthorizationFailure"]="AuthorizationFailure";e["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";e["ConditionNotMet"]="ConditionNotMet";e["EmptyMetadataKey"]="EmptyMetadataKey";e["InsufficientAccountPermissions"]="InsufficientAccountPermissions";e["InternalError"]="InternalError";e["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";e["InvalidHeaderValue"]="InvalidHeaderValue";e["InvalidHttpVerb"]="InvalidHttpVerb";e["InvalidInput"]="InvalidInput";e["InvalidMd5"]="InvalidMd5";e["InvalidMetadata"]="InvalidMetadata";e["InvalidQueryParameterValue"]="InvalidQueryParameterValue";e["InvalidRange"]="InvalidRange";e["InvalidResourceName"]="InvalidResourceName";e["InvalidUri"]="InvalidUri";e["InvalidXmlDocument"]="InvalidXmlDocument";e["InvalidXmlNodeValue"]="InvalidXmlNodeValue";e["Md5Mismatch"]="Md5Mismatch";e["MetadataTooLarge"]="MetadataTooLarge";e["MissingContentLengthHeader"]="MissingContentLengthHeader";e["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";e["MissingRequiredHeader"]="MissingRequiredHeader";e["MissingRequiredXmlNode"]="MissingRequiredXmlNode";e["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";e["OperationTimedOut"]="OperationTimedOut";e["OutOfRangeInput"]="OutOfRangeInput";e["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";e["RequestBodyTooLarge"]="RequestBodyTooLarge";e["ResourceTypeMismatch"]="ResourceTypeMismatch";e["RequestUrlFailedToParse"]="RequestUrlFailedToParse";e["ResourceAlreadyExists"]="ResourceAlreadyExists";e["ResourceNotFound"]="ResourceNotFound";e["ServerBusy"]="ServerBusy";e["UnsupportedHeader"]="UnsupportedHeader";e["UnsupportedXmlNode"]="UnsupportedXmlNode";e["UnsupportedQueryParameter"]="UnsupportedQueryParameter";e["UnsupportedHttpVerb"]="UnsupportedHttpVerb";e["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";e["BlobAlreadyExists"]="BlobAlreadyExists";e["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";e["BlobNotFound"]="BlobNotFound";e["BlobOverwritten"]="BlobOverwritten";e["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";e["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";e["BlockCountExceedsLimit"]="BlockCountExceedsLimit";e["BlockListTooLong"]="BlockListTooLong";e["CannotChangeToLowerTier"]="CannotChangeToLowerTier";e["CannotVerifyCopySource"]="CannotVerifyCopySource";e["ContainerAlreadyExists"]="ContainerAlreadyExists";e["ContainerBeingDeleted"]="ContainerBeingDeleted";e["ContainerDisabled"]="ContainerDisabled";e["ContainerNotFound"]="ContainerNotFound";e["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";e["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";e["CopyIdMismatch"]="CopyIdMismatch";e["FeatureVersionMismatch"]="FeatureVersionMismatch";e["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";e["IncrementalCopyOfEarlierVersionSnapshotNotAllowed"]="IncrementalCopyOfEarlierVersionSnapshotNotAllowed";e["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";e["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";e["InvalidBlobOrBlock"]="InvalidBlobOrBlock";e["InvalidBlobTier"]="InvalidBlobTier";e["InvalidBlobType"]="InvalidBlobType";e["InvalidBlockId"]="InvalidBlockId";e["InvalidBlockList"]="InvalidBlockList";e["InvalidOperation"]="InvalidOperation";e["InvalidPageRange"]="InvalidPageRange";e["InvalidSourceBlobType"]="InvalidSourceBlobType";e["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";e["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";e["LeaseAlreadyPresent"]="LeaseAlreadyPresent";e["LeaseAlreadyBroken"]="LeaseAlreadyBroken";e["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";e["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";e["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";e["LeaseIdMissing"]="LeaseIdMissing";e["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";e["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";e["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";e["LeaseLost"]="LeaseLost";e["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";e["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";e["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";e["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";e["NoAuthenticationInformation"]="NoAuthenticationInformation";e["NoPendingCopyOperation"]="NoPendingCopyOperation";e["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";e["PendingCopyOperation"]="PendingCopyOperation";e["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";e["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";e["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";e["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";e["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";e["SnapshotCountExceeded"]="SnapshotCountExceeded";e["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";e["SnapshotsPresent"]="SnapshotsPresent";e["SourceConditionNotMet"]="SourceConditionNotMet";e["SystemInUse"]="SystemInUse";e["TargetConditionNotMet"]="TargetConditionNotMet";e["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";e["BlobBeingRehydrated"]="BlobBeingRehydrated";e["BlobArchived"]="BlobArchived";e["BlobNotArchived"]="BlobNotArchived";e["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";e["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";e["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";e["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";e["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";e["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(A||(t.KnownStorageErrorCode=A={}))},84424:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServiceGetUserDelegationKeyHeaders=t.ServiceListContainersSegmentExceptionHeaders=t.ServiceListContainersSegmentHeaders=t.ServiceGetStatisticsExceptionHeaders=t.ServiceGetStatisticsHeaders=t.ServiceGetPropertiesExceptionHeaders=t.ServiceGetPropertiesHeaders=t.ServiceSetPropertiesExceptionHeaders=t.ServiceSetPropertiesHeaders=t.ArrowField=t.ArrowConfiguration=t.JsonTextConfiguration=t.DelimitedTextConfiguration=t.QueryFormat=t.QuerySerialization=t.QueryRequest=t.ClearRange=t.PageRange=t.PageList=t.Block=t.BlockList=t.BlockLookupList=t.BlobPrefix=t.BlobHierarchyListSegment=t.ListBlobsHierarchySegmentResponse=t.BlobPropertiesInternal=t.BlobName=t.BlobItemInternal=t.BlobFlatListSegment=t.ListBlobsFlatSegmentResponse=t.AccessPolicy=t.SignedIdentifier=t.BlobTag=t.BlobTags=t.FilterBlobItem=t.FilterBlobSegment=t.UserDelegationKey=t.KeyInfo=t.ContainerProperties=t.ContainerItem=t.ListContainersSegmentResponse=t.GeoReplication=t.BlobServiceStatistics=t.StorageError=t.StaticWebsite=t.CorsRule=t.Metrics=t.RetentionPolicy=t.Logging=t.BlobServiceProperties=void 0;t.BlobUndeleteHeaders=t.BlobDeleteExceptionHeaders=t.BlobDeleteHeaders=t.BlobGetPropertiesExceptionHeaders=t.BlobGetPropertiesHeaders=t.BlobDownloadExceptionHeaders=t.BlobDownloadHeaders=t.ContainerGetAccountInfoExceptionHeaders=t.ContainerGetAccountInfoHeaders=t.ContainerListBlobHierarchySegmentExceptionHeaders=t.ContainerListBlobHierarchySegmentHeaders=t.ContainerListBlobFlatSegmentExceptionHeaders=t.ContainerListBlobFlatSegmentHeaders=t.ContainerChangeLeaseExceptionHeaders=t.ContainerChangeLeaseHeaders=t.ContainerBreakLeaseExceptionHeaders=t.ContainerBreakLeaseHeaders=t.ContainerRenewLeaseExceptionHeaders=t.ContainerRenewLeaseHeaders=t.ContainerReleaseLeaseExceptionHeaders=t.ContainerReleaseLeaseHeaders=t.ContainerAcquireLeaseExceptionHeaders=t.ContainerAcquireLeaseHeaders=t.ContainerFilterBlobsExceptionHeaders=t.ContainerFilterBlobsHeaders=t.ContainerSubmitBatchExceptionHeaders=t.ContainerSubmitBatchHeaders=t.ContainerRenameExceptionHeaders=t.ContainerRenameHeaders=t.ContainerRestoreExceptionHeaders=t.ContainerRestoreHeaders=t.ContainerSetAccessPolicyExceptionHeaders=t.ContainerSetAccessPolicyHeaders=t.ContainerGetAccessPolicyExceptionHeaders=t.ContainerGetAccessPolicyHeaders=t.ContainerSetMetadataExceptionHeaders=t.ContainerSetMetadataHeaders=t.ContainerDeleteExceptionHeaders=t.ContainerDeleteHeaders=t.ContainerGetPropertiesExceptionHeaders=t.ContainerGetPropertiesHeaders=t.ContainerCreateExceptionHeaders=t.ContainerCreateHeaders=t.ServiceFilterBlobsExceptionHeaders=t.ServiceFilterBlobsHeaders=t.ServiceSubmitBatchExceptionHeaders=t.ServiceSubmitBatchHeaders=t.ServiceGetAccountInfoExceptionHeaders=t.ServiceGetAccountInfoHeaders=t.ServiceGetUserDelegationKeyExceptionHeaders=void 0;t.PageBlobGetPageRangesHeaders=t.PageBlobUploadPagesFromURLExceptionHeaders=t.PageBlobUploadPagesFromURLHeaders=t.PageBlobClearPagesExceptionHeaders=t.PageBlobClearPagesHeaders=t.PageBlobUploadPagesExceptionHeaders=t.PageBlobUploadPagesHeaders=t.PageBlobCreateExceptionHeaders=t.PageBlobCreateHeaders=t.BlobSetTagsExceptionHeaders=t.BlobSetTagsHeaders=t.BlobGetTagsExceptionHeaders=t.BlobGetTagsHeaders=t.BlobQueryExceptionHeaders=t.BlobQueryHeaders=t.BlobGetAccountInfoExceptionHeaders=t.BlobGetAccountInfoHeaders=t.BlobSetTierExceptionHeaders=t.BlobSetTierHeaders=t.BlobAbortCopyFromURLExceptionHeaders=t.BlobAbortCopyFromURLHeaders=t.BlobCopyFromURLExceptionHeaders=t.BlobCopyFromURLHeaders=t.BlobStartCopyFromURLExceptionHeaders=t.BlobStartCopyFromURLHeaders=t.BlobCreateSnapshotExceptionHeaders=t.BlobCreateSnapshotHeaders=t.BlobBreakLeaseExceptionHeaders=t.BlobBreakLeaseHeaders=t.BlobChangeLeaseExceptionHeaders=t.BlobChangeLeaseHeaders=t.BlobRenewLeaseExceptionHeaders=t.BlobRenewLeaseHeaders=t.BlobReleaseLeaseExceptionHeaders=t.BlobReleaseLeaseHeaders=t.BlobAcquireLeaseExceptionHeaders=t.BlobAcquireLeaseHeaders=t.BlobSetMetadataExceptionHeaders=t.BlobSetMetadataHeaders=t.BlobSetLegalHoldExceptionHeaders=t.BlobSetLegalHoldHeaders=t.BlobDeleteImmutabilityPolicyExceptionHeaders=t.BlobDeleteImmutabilityPolicyHeaders=t.BlobSetImmutabilityPolicyExceptionHeaders=t.BlobSetImmutabilityPolicyHeaders=t.BlobSetHttpHeadersExceptionHeaders=t.BlobSetHttpHeadersHeaders=t.BlobSetExpiryExceptionHeaders=t.BlobSetExpiryHeaders=t.BlobUndeleteExceptionHeaders=void 0;t.BlockBlobGetBlockListExceptionHeaders=t.BlockBlobGetBlockListHeaders=t.BlockBlobCommitBlockListExceptionHeaders=t.BlockBlobCommitBlockListHeaders=t.BlockBlobStageBlockFromURLExceptionHeaders=t.BlockBlobStageBlockFromURLHeaders=t.BlockBlobStageBlockExceptionHeaders=t.BlockBlobStageBlockHeaders=t.BlockBlobPutBlobFromUrlExceptionHeaders=t.BlockBlobPutBlobFromUrlHeaders=t.BlockBlobUploadExceptionHeaders=t.BlockBlobUploadHeaders=t.AppendBlobSealExceptionHeaders=t.AppendBlobSealHeaders=t.AppendBlobAppendBlockFromUrlExceptionHeaders=t.AppendBlobAppendBlockFromUrlHeaders=t.AppendBlobAppendBlockExceptionHeaders=t.AppendBlobAppendBlockHeaders=t.AppendBlobCreateExceptionHeaders=t.AppendBlobCreateHeaders=t.PageBlobCopyIncrementalExceptionHeaders=t.PageBlobCopyIncrementalHeaders=t.PageBlobUpdateSequenceNumberExceptionHeaders=t.PageBlobUpdateSequenceNumberHeaders=t.PageBlobResizeExceptionHeaders=t.PageBlobResizeHeaders=t.PageBlobGetPageRangesDiffExceptionHeaders=t.PageBlobGetPageRangesDiffHeaders=t.PageBlobGetPageRangesExceptionHeaders=void 0;t.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};t.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};t.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};t.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};t.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};t.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};t.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};t.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};t.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};t.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};t.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};t.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};t.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}}}}};t.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};t.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};t.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};t.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};t.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};t.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};t.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};t.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};t.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};t.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};t.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};t.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};t.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};t.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};t.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};t.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};t.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};t.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};t.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};t.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};t.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};t.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};t.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};t.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};t.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};t.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};t.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};t.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};t.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};t.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};t.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};t.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};t.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};t.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};t.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};t.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};t.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};t.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};t.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};t.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};t.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};t.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};t.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};t.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};t.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}},6088:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.action3=t.action2=t.leaseId1=t.action1=t.proposedLeaseId=t.duration=t.action=t.comp10=t.sourceLeaseId=t.sourceContainerName=t.comp9=t.deletedContainerVersion=t.deletedContainerName=t.comp8=t.containerAcl=t.comp7=t.comp6=t.ifUnmodifiedSince=t.ifModifiedSince=t.leaseId=t.preventEncryptionScopeOverride=t.defaultEncryptionScope=t.access=t.metadata=t.restype2=t.where=t.comp5=t.multipartContentType=t.contentLength=t.comp4=t.body=t.restype1=t.comp3=t.keyInfo=t.include=t.maxPageSize=t.marker=t.prefix=t.comp2=t.comp1=t.accept1=t.requestId=t.version=t.timeoutInSeconds=t.comp=t.restype=t.url=t.accept=t.blobServiceProperties=t.contentType=void 0;t.fileRequestIntent=t.copySourceTags=t.copySourceAuthorization=t.sourceContentMD5=t.xMsRequiresSync=t.legalHold1=t.sealBlob=t.blobTagsString=t.copySource=t.sourceIfTags=t.sourceIfNoneMatch=t.sourceIfMatch=t.sourceIfUnmodifiedSince=t.sourceIfModifiedSince=t.rehydratePriority=t.tier=t.comp14=t.encryptionScope=t.legalHold=t.comp13=t.immutabilityPolicyMode=t.immutabilityPolicyExpiry=t.comp12=t.blobContentDisposition=t.blobContentLanguage=t.blobContentEncoding=t.blobContentMD5=t.blobContentType=t.blobCacheControl=t.expiresOn=t.expiryOptions=t.comp11=t.blobDeleteType=t.deleteSnapshots=t.ifTags=t.ifNoneMatch=t.ifMatch=t.encryptionAlgorithm=t.encryptionKeySha256=t.encryptionKey=t.rangeGetContentCRC64=t.rangeGetContentMD5=t.range=t.versionId=t.snapshot=t.delimiter=t.include1=t.proposedLeaseId1=t.action4=t.breakPeriod=void 0;t.listType=t.comp25=t.blocks=t.blockId=t.comp24=t.copySourceBlobProperties=t.blobType2=t.comp23=t.sourceRange1=t.appendPosition=t.maxSize=t.comp22=t.blobType1=t.comp21=t.sequenceNumberAction=t.prevSnapshotUrl=t.prevsnapshot=t.comp20=t.range1=t.sourceContentCrc64=t.sourceRange=t.sourceUrl=t.pageWrite1=t.ifSequenceNumberEqualTo=t.ifSequenceNumberLessThan=t.ifSequenceNumberLessThanOrEqualTo=t.pageWrite=t.comp19=t.accept2=t.body1=t.contentType1=t.blobSequenceNumber=t.blobContentLength=t.blobType=t.transactionalContentCrc64=t.transactionalContentMD5=t.tags=t.comp18=t.comp17=t.queryRequest=t.tier1=t.comp16=t.copyId=t.copyActionAbortConstant=t.comp15=void 0;const o=n(84424);t.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};t.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:o.BlobServiceProperties};t.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};t.url={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};t.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};t.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};t.version={parameterPath:"version",mapper:{defaultValue:"2025-11-05",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};t.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};t.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};t.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};t.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};t.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};t.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};t.keyInfo={parameterPath:"keyInfo",mapper:o.KeyInfo};t.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};t.body={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};t.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};t.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};t.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};t.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};t.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};t.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};t.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};t.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};t.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};t.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};t.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};t.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};t.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};t.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};t.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};t.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};t.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};t.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};t.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};t.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};t.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};t.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};t.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};t.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};t.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};t.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};t.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};t.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};t.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};t.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};t.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};t.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};t.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};t.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};t.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};t.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};t.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};t.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};t.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};t.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};t.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};t.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};t.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};t.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};t.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};t.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};t.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};t.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};t.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};t.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};t.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};t.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};t.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};t.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};t.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};t.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};t.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};t.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};t.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};t.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};t.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};t.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};t.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};t.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};t.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};t.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};t.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};t.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};t.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};t.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};t.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};t.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};t.queryRequest={parameterPath:["options","queryRequest"],mapper:o.QueryRequest};t.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.tags={parameterPath:["options","tags"],mapper:o.BlobTags};t.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};t.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};t.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};t.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};t.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};t.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};t.body1={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};t.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};t.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};t.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};t.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};t.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};t.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};t.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};t.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};t.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};t.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};t.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};t.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};t.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};t.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};t.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};t.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};t.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};t.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};t.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};t.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};t.blocks={parameterPath:"blocks",mapper:o.BlockLookupList};t.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};t.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}},40535:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AppendBlobImpl=void 0;const o=n(61860);const i=o.__importStar(n(60160));const A=o.__importStar(n(84424));const c=o.__importStar(n(6088));class AppendBlobImpl{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},p)}appendBlock(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},C)}appendBlockFromUrl(e,t,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:n},S)}seal(e){return this.client.sendOperationRequest({options:e},v)}}t.AppendBlobImpl=AppendBlobImpl;const d=i.createSerializer(A,true);const p={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.AppendBlobCreateHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.AppendBlobCreateExceptionHeaders}},queryParameters:[c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.contentLength,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.blobCacheControl,c.blobContentType,c.blobContentMD5,c.blobContentEncoding,c.blobContentLanguage,c.blobContentDisposition,c.immutabilityPolicyExpiry,c.immutabilityPolicyMode,c.encryptionScope,c.blobTagsString,c.legalHold1,c.blobType1],isXML:true,serializer:d};const C={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.AppendBlobAppendBlockHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.AppendBlobAppendBlockExceptionHeaders}},requestBody:c.body1,queryParameters:[c.timeoutInSeconds,c.comp22],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.contentLength,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.encryptionScope,c.transactionalContentMD5,c.transactionalContentCrc64,c.contentType1,c.accept2,c.maxSize,c.appendPosition],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:d};const S={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp22],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.contentLength,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.encryptionScope,c.sourceIfModifiedSince,c.sourceIfUnmodifiedSince,c.sourceIfMatch,c.sourceIfNoneMatch,c.sourceContentMD5,c.copySourceAuthorization,c.fileRequestIntent,c.transactionalContentMD5,c.sourceUrl,c.sourceContentCrc64,c.maxSize,c.appendPosition,c.sourceRange1],isXML:true,serializer:d};const v={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.AppendBlobSealHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.AppendBlobSealExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp23],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.ifMatch,c.ifNoneMatch,c.appendPosition],isXML:true,serializer:d}},57559:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobImpl=void 0;const o=n(61860);const i=o.__importStar(n(60160));const A=o.__importStar(n(84424));const c=o.__importStar(n(6088));class BlobImpl{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},p)}getProperties(e){return this.client.sendOperationRequest({options:e},C)}delete(e){return this.client.sendOperationRequest({options:e},S)}undelete(e){return this.client.sendOperationRequest({options:e},v)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},T)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},_)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},V)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Z)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},ee)}setMetadata(e){return this.client.sendOperationRequest({options:e},te)}acquireLease(e){return this.client.sendOperationRequest({options:e},re)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},ne)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},oe)}changeLease(e,t,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:n},ie)}breakLease(e){return this.client.sendOperationRequest({options:e},se)}createSnapshot(e){return this.client.sendOperationRequest({options:e},ae)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Ae)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},ce)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},le)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},ue)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},de)}query(e){return this.client.sendOperationRequest({options:e},pe)}getTags(e){return this.client.sendOperationRequest({options:e},ge)}setTags(e){return this.client.sendOperationRequest({options:e},me)}}t.BlobImpl=BlobImpl;const d=i.createSerializer(A,true);const p={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:A.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:A.BlobDownloadHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobDownloadExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.versionId],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.range,c.rangeGetContentMD5,c.rangeGetContentCRC64,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,serializer:d};const C={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:A.BlobGetPropertiesHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobGetPropertiesExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.versionId],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,serializer:d};const S={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:A.BlobDeleteHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobDeleteExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.versionId,c.blobDeleteType],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.ifMatch,c.ifNoneMatch,c.ifTags,c.deleteSnapshots],isXML:true,serializer:d};const v={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobUndeleteHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobUndeleteExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp8],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const T={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobSetExpiryHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobSetExpiryExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp11],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.expiryOptions,c.expiresOn],isXML:true,serializer:d};const _={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobSetHttpHeadersHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[c.comp,c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.ifMatch,c.ifNoneMatch,c.ifTags,c.blobCacheControl,c.blobContentType,c.blobContentMD5,c.blobContentEncoding,c.blobContentLanguage,c.blobContentDisposition],isXML:true,serializer:d};const V={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.versionId,c.comp12],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifUnmodifiedSince,c.immutabilityPolicyExpiry,c.immutabilityPolicyMode],isXML:true,serializer:d};const Z={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:A.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.versionId,c.comp12],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobSetLegalHoldHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobSetLegalHoldExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.versionId,c.comp13],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.legalHold],isXML:true,serializer:d};const te={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobSetMetadataHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobSetMetadataExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp6],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.encryptionScope],isXML:true,serializer:d};const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.BlobAcquireLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobAcquireLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.action,c.duration,c.proposedLeaseId,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,serializer:d};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobReleaseLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobReleaseLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.action1,c.leaseId1,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,serializer:d};const oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobRenewLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobRenewLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.leaseId1,c.action2,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,serializer:d};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobChangeLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobChangeLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.leaseId1,c.action4,c.proposedLeaseId1,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,serializer:d};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:A.BlobBreakLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobBreakLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.action3,c.breakPeriod,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,serializer:d};const ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.BlobCreateSnapshotHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobCreateSnapshotExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp14],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.encryptionScope],isXML:true,serializer:d};const Ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:A.BlobStartCopyFromURLHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.ifMatch,c.ifNoneMatch,c.ifTags,c.immutabilityPolicyExpiry,c.immutabilityPolicyMode,c.tier,c.rehydratePriority,c.sourceIfModifiedSince,c.sourceIfUnmodifiedSince,c.sourceIfMatch,c.sourceIfNoneMatch,c.sourceIfTags,c.copySource,c.blobTagsString,c.sealBlob,c.legalHold1],isXML:true,serializer:d};const ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:A.BlobCopyFromURLHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobCopyFromURLExceptionHeaders}},queryParameters:[c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.ifMatch,c.ifNoneMatch,c.ifTags,c.immutabilityPolicyExpiry,c.immutabilityPolicyMode,c.encryptionScope,c.tier,c.sourceIfModifiedSince,c.sourceIfUnmodifiedSince,c.sourceIfMatch,c.sourceIfNoneMatch,c.copySource,c.blobTagsString,c.legalHold1,c.xMsRequiresSync,c.sourceContentMD5,c.copySourceAuthorization,c.copySourceTags,c.fileRequestIntent],isXML:true,serializer:d};const le={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:A.BlobAbortCopyFromURLHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp15,c.copyId],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.copyActionAbortConstant],isXML:true,serializer:d};const ue={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.BlobSetTierHeaders},202:{headersMapper:A.BlobSetTierHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobSetTierExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.versionId,c.comp16],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifTags,c.rehydratePriority,c.tier1],isXML:true,serializer:d};const de={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:A.BlobGetAccountInfoHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobGetAccountInfoExceptionHeaders}},queryParameters:[c.comp,c.timeoutInSeconds,c.restype1],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const pe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:A.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:A.BlobQueryHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobQueryExceptionHeaders}},requestBody:c.queryRequest,queryParameters:[c.timeoutInSeconds,c.snapshot,c.comp17],urlParameters:[c.url],headerParameters:[c.contentType,c.accept,c.version,c.requestId,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:d};const ge={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:A.BlobTags,headersMapper:A.BlobGetTagsHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobGetTagsExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.versionId,c.comp18],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifTags],isXML:true,serializer:d};const me={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:A.BlobSetTagsHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlobSetTagsExceptionHeaders}},requestBody:c.tags,queryParameters:[c.timeoutInSeconds,c.versionId,c.comp18],urlParameters:[c.url],headerParameters:[c.contentType,c.accept,c.version,c.requestId,c.leaseId,c.ifTags,c.transactionalContentMD5,c.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:d}},95440:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlockBlobImpl=void 0;const o=n(61860);const i=o.__importStar(n(60160));const A=o.__importStar(n(84424));const c=o.__importStar(n(6088));class BlockBlobImpl{client;constructor(e){this.client=e}upload(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},p)}putBlobFromUrl(e,t,n){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:n},C)}stageBlock(e,t,n,o){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:n,options:o},S)}stageBlockFromURL(e,t,n,o){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:n,options:o},v)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},T)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},_)}}t.BlockBlobImpl=BlockBlobImpl;const d=i.createSerializer(A,true);const p={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.BlockBlobUploadHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlockBlobUploadExceptionHeaders}},requestBody:c.body1,queryParameters:[c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.contentLength,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.blobCacheControl,c.blobContentType,c.blobContentMD5,c.blobContentEncoding,c.blobContentLanguage,c.blobContentDisposition,c.immutabilityPolicyExpiry,c.immutabilityPolicyMode,c.encryptionScope,c.tier,c.blobTagsString,c.legalHold1,c.transactionalContentMD5,c.transactionalContentCrc64,c.contentType1,c.accept2,c.blobType2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:d};const C={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.contentLength,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.blobCacheControl,c.blobContentType,c.blobContentMD5,c.blobContentEncoding,c.blobContentLanguage,c.blobContentDisposition,c.encryptionScope,c.tier,c.sourceIfModifiedSince,c.sourceIfUnmodifiedSince,c.sourceIfMatch,c.sourceIfNoneMatch,c.sourceIfTags,c.copySource,c.blobTagsString,c.sourceContentMD5,c.copySourceAuthorization,c.copySourceTags,c.fileRequestIntent,c.transactionalContentMD5,c.blobType2,c.copySourceBlobProperties],isXML:true,serializer:d};const S={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.BlockBlobStageBlockHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlockBlobStageBlockExceptionHeaders}},requestBody:c.body1,queryParameters:[c.timeoutInSeconds,c.comp24,c.blockId],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.contentLength,c.leaseId,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.encryptionScope,c.transactionalContentMD5,c.transactionalContentCrc64,c.contentType1,c.accept2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:d};const v={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp24,c.blockId],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.contentLength,c.leaseId,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.encryptionScope,c.sourceIfModifiedSince,c.sourceIfUnmodifiedSince,c.sourceIfMatch,c.sourceIfNoneMatch,c.sourceContentMD5,c.copySourceAuthorization,c.fileRequestIntent,c.sourceUrl,c.sourceContentCrc64,c.sourceRange1],isXML:true,serializer:d};const T={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.BlockBlobCommitBlockListHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlockBlobCommitBlockListExceptionHeaders}},requestBody:c.blocks,queryParameters:[c.timeoutInSeconds,c.comp25],urlParameters:[c.url],headerParameters:[c.contentType,c.accept,c.version,c.requestId,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.blobCacheControl,c.blobContentType,c.blobContentMD5,c.blobContentEncoding,c.blobContentLanguage,c.blobContentDisposition,c.immutabilityPolicyExpiry,c.immutabilityPolicyMode,c.encryptionScope,c.tier,c.blobTagsString,c.legalHold1,c.transactionalContentMD5,c.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:d};const _={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:A.BlockList,headersMapper:A.BlockBlobGetBlockListHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.snapshot,c.comp25,c.listType],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifTags],isXML:true,serializer:d}},14509:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ContainerImpl=void 0;const o=n(61860);const i=o.__importStar(n(60160));const A=o.__importStar(n(84424));const c=o.__importStar(n(6088));class ContainerImpl{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},p)}getProperties(e){return this.client.sendOperationRequest({options:e},C)}delete(e){return this.client.sendOperationRequest({options:e},S)}setMetadata(e){return this.client.sendOperationRequest({options:e},v)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},T)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},_)}restore(e){return this.client.sendOperationRequest({options:e},V)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},Z)}submitBatch(e,t,n,o){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:n,options:o},ee)}filterBlobs(e){return this.client.sendOperationRequest({options:e},te)}acquireLease(e){return this.client.sendOperationRequest({options:e},re)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},ne)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},oe)}breakLease(e){return this.client.sendOperationRequest({options:e},ie)}changeLease(e,t,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:n},se)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},ae)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},Ae)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},ce)}}t.ContainerImpl=ContainerImpl;const d=i.createSerializer(A,true);const p={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:A.ContainerCreateHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerCreateExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.metadata,c.access,c.defaultEncryptionScope,c.preventEncryptionScopeOverride],isXML:true,serializer:d};const C={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:A.ContainerGetPropertiesHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerGetPropertiesExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId],isXML:true,serializer:d};const S={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:A.ContainerDeleteHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerDeleteExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince],isXML:true,serializer:d};const v={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:A.ContainerSetMetadataHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerSetMetadataExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp6],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.metadata,c.leaseId,c.ifModifiedSince],isXML:true,serializer:d};const T={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier"},headersMapper:A.ContainerGetAccessPolicyHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp7],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId],isXML:true,serializer:d};const _={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:A.ContainerSetAccessPolicyHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerSetAccessPolicyExceptionHeaders}},requestBody:c.containerAcl,queryParameters:[c.timeoutInSeconds,c.restype2,c.comp7],urlParameters:[c.url],headerParameters:[c.contentType,c.accept,c.version,c.requestId,c.access,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:d};const V={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:A.ContainerRestoreHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerRestoreExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp8],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.deletedContainerName,c.deletedContainerVersion],isXML:true,serializer:d};const Z={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:A.ContainerRenameHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerRenameExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp9],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.sourceContainerName,c.sourceLeaseId],isXML:true,serializer:d};const ee={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:A.ContainerSubmitBatchHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerSubmitBatchExceptionHeaders}},requestBody:c.body,queryParameters:[c.timeoutInSeconds,c.comp4,c.restype2],urlParameters:[c.url],headerParameters:[c.accept,c.version,c.requestId,c.contentLength,c.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:d};const te={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:A.FilterBlobSegment,headersMapper:A.ContainerFilterBlobsHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerFilterBlobsExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.marker,c.maxPageSize,c.comp5,c.where,c.restype2],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const re={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:A.ContainerAcquireLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.action,c.duration,c.proposedLeaseId],isXML:true,serializer:d};const ne={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:A.ContainerReleaseLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.action1,c.leaseId1],isXML:true,serializer:d};const oe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:A.ContainerRenewLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerRenewLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.leaseId1,c.action2],isXML:true,serializer:d};const ie={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:A.ContainerBreakLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerBreakLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.action3,c.breakPeriod],isXML:true,serializer:d};const se={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:A.ContainerChangeLeaseHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerChangeLeaseExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.restype2,c.comp10],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.leaseId1,c.action4,c.proposedLeaseId1],isXML:true,serializer:d};const ae={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:A.ListBlobsFlatSegmentResponse,headersMapper:A.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp2,c.prefix,c.marker,c.maxPageSize,c.restype2,c.include1],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const Ae={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:A.ListBlobsHierarchySegmentResponse,headersMapper:A.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp2,c.prefix,c.marker,c.maxPageSize,c.restype2,c.include1,c.delimiter],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const ce={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:A.ContainerGetAccountInfoHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[c.comp,c.timeoutInSeconds,c.restype1],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d}},37878:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});const o=n(61860);o.__exportStar(n(44181),t);o.__exportStar(n(14509),t);o.__exportStar(n(57559),t);o.__exportStar(n(69156),t);o.__exportStar(n(40535),t);o.__exportStar(n(95440),t)},69156:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.PageBlobImpl=void 0;const o=n(61860);const i=o.__importStar(n(60160));const A=o.__importStar(n(84424));const c=o.__importStar(n(6088));class PageBlobImpl{client;constructor(e){this.client=e}create(e,t,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:n},p)}uploadPages(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},C)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},S)}uploadPagesFromURL(e,t,n,o,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:n,range:o,options:i},v)}getPageRanges(e){return this.client.sendOperationRequest({options:e},T)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},_)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},V)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},Z)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},ee)}}t.PageBlobImpl=PageBlobImpl;const d=i.createSerializer(A,true);const p={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.PageBlobCreateHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobCreateExceptionHeaders}},queryParameters:[c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.contentLength,c.metadata,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.blobCacheControl,c.blobContentType,c.blobContentMD5,c.blobContentEncoding,c.blobContentLanguage,c.blobContentDisposition,c.immutabilityPolicyExpiry,c.immutabilityPolicyMode,c.encryptionScope,c.tier,c.blobTagsString,c.legalHold1,c.blobType,c.blobContentLength,c.blobSequenceNumber],isXML:true,serializer:d};const C={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.PageBlobUploadPagesHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobUploadPagesExceptionHeaders}},requestBody:c.body1,queryParameters:[c.timeoutInSeconds,c.comp19],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.contentLength,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.range,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.encryptionScope,c.transactionalContentMD5,c.transactionalContentCrc64,c.contentType1,c.accept2,c.pageWrite,c.ifSequenceNumberLessThanOrEqualTo,c.ifSequenceNumberLessThan,c.ifSequenceNumberEqualTo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:d};const S={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.PageBlobClearPagesHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobClearPagesExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp19],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.contentLength,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.range,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.encryptionScope,c.ifSequenceNumberLessThanOrEqualTo,c.ifSequenceNumberLessThan,c.ifSequenceNumberEqualTo,c.pageWrite1],isXML:true,serializer:d};const v={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:A.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp19],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.contentLength,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.encryptionScope,c.sourceIfModifiedSince,c.sourceIfUnmodifiedSince,c.sourceIfMatch,c.sourceIfNoneMatch,c.sourceContentMD5,c.copySourceAuthorization,c.fileRequestIntent,c.pageWrite,c.ifSequenceNumberLessThanOrEqualTo,c.ifSequenceNumberLessThan,c.ifSequenceNumberEqualTo,c.sourceUrl,c.sourceRange,c.sourceContentCrc64,c.range1],isXML:true,serializer:d};const T={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:A.PageList,headersMapper:A.PageBlobGetPageRangesHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.marker,c.maxPageSize,c.snapshot,c.comp20],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.range,c.ifMatch,c.ifNoneMatch,c.ifTags],isXML:true,serializer:d};const _={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:A.PageList,headersMapper:A.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.marker,c.maxPageSize,c.snapshot,c.comp20,c.prevsnapshot],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.range,c.ifMatch,c.ifNoneMatch,c.ifTags,c.prevSnapshotUrl],isXML:true,serializer:d};const V={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.PageBlobResizeHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobResizeExceptionHeaders}},queryParameters:[c.comp,c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.encryptionKey,c.encryptionKeySha256,c.encryptionAlgorithm,c.ifMatch,c.ifNoneMatch,c.ifTags,c.encryptionScope,c.blobContentLength],isXML:true,serializer:d};const Z={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:A.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[c.comp,c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.leaseId,c.ifModifiedSince,c.ifUnmodifiedSince,c.ifMatch,c.ifNoneMatch,c.ifTags,c.blobSequenceNumber,c.sequenceNumberAction],isXML:true,serializer:d};const ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:A.PageBlobCopyIncrementalHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp21],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1,c.ifModifiedSince,c.ifUnmodifiedSince,c.ifMatch,c.ifNoneMatch,c.ifTags,c.copySource],isXML:true,serializer:d}},44181:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServiceImpl=void 0;const o=n(61860);const i=o.__importStar(n(60160));const A=o.__importStar(n(84424));const c=o.__importStar(n(6088));class ServiceImpl{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},p)}getProperties(e){return this.client.sendOperationRequest({options:e},C)}getStatistics(e){return this.client.sendOperationRequest({options:e},S)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},v)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},T)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},_)}submitBatch(e,t,n,o){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:n,options:o},V)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Z)}}t.ServiceImpl=ServiceImpl;const d=i.createSerializer(A,true);const p={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:A.ServiceSetPropertiesHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ServiceSetPropertiesExceptionHeaders}},requestBody:c.blobServiceProperties,queryParameters:[c.restype,c.comp,c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.contentType,c.accept,c.version,c.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:d};const C={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:A.BlobServiceProperties,headersMapper:A.ServiceGetPropertiesHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ServiceGetPropertiesExceptionHeaders}},queryParameters:[c.restype,c.comp,c.timeoutInSeconds],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const S={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:A.BlobServiceStatistics,headersMapper:A.ServiceGetStatisticsHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ServiceGetStatisticsExceptionHeaders}},queryParameters:[c.restype,c.timeoutInSeconds,c.comp1],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const v={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:A.ListContainersSegmentResponse,headersMapper:A.ServiceListContainersSegmentHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.comp2,c.prefix,c.marker,c.maxPageSize,c.include],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const T={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:A.UserDelegationKey,headersMapper:A.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:c.keyInfo,queryParameters:[c.restype,c.timeoutInSeconds,c.comp3],urlParameters:[c.url],headerParameters:[c.contentType,c.accept,c.version,c.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:d};const _={path:"/",httpMethod:"GET",responses:{200:{headersMapper:A.ServiceGetAccountInfoHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[c.comp,c.timeoutInSeconds,c.restype1],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d};const V={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:A.ServiceSubmitBatchHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ServiceSubmitBatchExceptionHeaders}},requestBody:c.body,queryParameters:[c.timeoutInSeconds,c.comp4],urlParameters:[c.url],headerParameters:[c.accept,c.version,c.requestId,c.contentLength,c.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:d};const Z={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:A.FilterBlobSegment,headersMapper:A.ServiceFilterBlobsHeaders},default:{bodyMapper:A.StorageError,headersMapper:A.ServiceFilterBlobsExceptionHeaders}},queryParameters:[c.timeoutInSeconds,c.marker,c.maxPageSize,c.comp5,c.where],urlParameters:[c.url],headerParameters:[c.version,c.requestId,c.accept1],isXML:true,serializer:d}},56635:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},68355:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},17188:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},15337:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},82354:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});const o=n(61860);o.__exportStar(n(26865),t);o.__exportStar(n(15337),t);o.__exportStar(n(68355),t);o.__exportStar(n(14400),t);o.__exportStar(n(56635),t);o.__exportStar(n(17188),t)},14400:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},26865:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},5313:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageClient=void 0;const o=n(61860);const i=o.__importStar(n(61584));const A=n(37878);class StorageClient extends i.ExtendedServiceClient{url;version;constructor(e,t){if(e===undefined){throw new Error("'url' cannot be null")}if(!t){t={}}const n={requestContentType:"application/json; charset=utf-8"};const o=`azsdk-js-azure-storage-blob/12.29.1`;const i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${o}`:`${o}`;const c={...n,...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"};super(c);this.url=e;this.version=t.version||"2025-11-05";this.service=new A.ServiceImpl(this);this.container=new A.ContainerImpl(this);this.blob=new A.BlobImpl(this);this.pageBlob=new A.PageBlobImpl(this);this.appendBlob=new A.AppendBlobImpl(this);this.blockBlob=new A.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob}t.StorageClient=StorageClient},83627:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.KnownEncryptionAlgorithmType=void 0;var n;(function(e){e["AES256"]="AES256"})(n||(t.KnownEncryptionAlgorithmType=n={}))},71400:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.logger=t.RestError=t.BaseRequestPolicy=t.StorageOAuthScopes=t.newPipeline=t.isPipelineLike=t.Pipeline=t.getBlobServiceAccountAudience=t.StorageBlobAudience=t.PremiumPageBlobTier=t.BlockBlobTier=t.generateBlobSASQueryParameters=t.generateAccountSASQueryParameters=void 0;const o=n(61860);const i=n(20778);Object.defineProperty(t,"RestError",{enumerable:true,get:function(){return i.RestError}});o.__exportStar(n(96341),t);o.__exportStar(n(90372),t);o.__exportStar(n(81884),t);o.__exportStar(n(23276),t);o.__exportStar(n(6358),t);o.__exportStar(n(91267),t);o.__exportStar(n(46940),t);var A=n(85238);Object.defineProperty(t,"generateAccountSASQueryParameters",{enumerable:true,get:function(){return A.generateAccountSASQueryParameters}});o.__exportStar(n(95561),t);o.__exportStar(n(12094),t);o.__exportStar(n(48175),t);o.__exportStar(n(2232),t);var c=n(656);Object.defineProperty(t,"generateBlobSASQueryParameters",{enumerable:true,get:function(){return c.generateBlobSASQueryParameters}});o.__exportStar(n(31821),t);o.__exportStar(n(51622),t);o.__exportStar(n(35345),t);o.__exportStar(n(52596),t);o.__exportStar(n(68999),t);var d=n(58560);Object.defineProperty(t,"BlockBlobTier",{enumerable:true,get:function(){return d.BlockBlobTier}});Object.defineProperty(t,"PremiumPageBlobTier",{enumerable:true,get:function(){return d.PremiumPageBlobTier}});Object.defineProperty(t,"StorageBlobAudience",{enumerable:true,get:function(){return d.StorageBlobAudience}});Object.defineProperty(t,"getBlobServiceAccountAudience",{enumerable:true,get:function(){return d.getBlobServiceAccountAudience}});var p=n(25984);Object.defineProperty(t,"Pipeline",{enumerable:true,get:function(){return p.Pipeline}});Object.defineProperty(t,"isPipelineLike",{enumerable:true,get:function(){return p.isPipelineLike}});Object.defineProperty(t,"newPipeline",{enumerable:true,get:function(){return p.newPipeline}});Object.defineProperty(t,"StorageOAuthScopes",{enumerable:true,get:function(){return p.StorageOAuthScopes}});o.__exportStar(n(98335),t);var C=n(70336);Object.defineProperty(t,"BaseRequestPolicy",{enumerable:true,get:function(){return C.BaseRequestPolicy}});o.__exportStar(n(13501),t);o.__exportStar(n(63064),t);o.__exportStar(n(98335),t);o.__exportStar(n(45511),t);o.__exportStar(n(26823),t);o.__exportStar(n(83627),t);var S=n(46370);Object.defineProperty(t,"logger",{enumerable:true,get:function(){return S.logger}})},11326:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AVRO_SCHEMA_KEY=t.AVRO_CODEC_KEY=t.AVRO_INIT_BYTES=t.AVRO_SYNC_MARKER_SIZE=void 0;t.AVRO_SYNC_MARKER_SIZE=16;t.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);t.AVRO_CODEC_KEY="avro.codec";t.AVRO_SCHEMA_KEY="avro.schema"},35652:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AvroType=t.AvroParser=void 0;class AvroParser{static async readFixedBytes(e,t,n={}){const o=await e.read(t,{abortSignal:n.abortSignal});if(o.length!==t){throw new Error("Hit stream end.")}return o}static async readByte(e,t={}){const n=await AvroParser.readFixedBytes(e,1,t);return n[0]}static async readZigZagLong(e,t={}){let n=0;let o=0;let i,A,c;do{i=await AvroParser.readByte(e,t);A=i&128;n|=(i&127)<Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return o}return n>>1^-(n&1)}static async readLong(e,t={}){return AvroParser.readZigZagLong(e,t)}static async readInt(e,t={}){return AvroParser.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){const n=await AvroParser.readByte(e,t);if(n===1){return true}else if(n===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(e,t={}){const n=await AvroParser.readFixedBytes(e,4,t);const o=new DataView(n.buffer,n.byteOffset,n.byteLength);return o.getFloat32(0,true)}static async readDouble(e,t={}){const n=await AvroParser.readFixedBytes(e,8,t);const o=new DataView(n.buffer,n.byteOffset,n.byteLength);return o.getFloat64(0,true)}static async readBytes(e,t={}){const n=await AvroParser.readLong(e,t);if(n<0){throw new Error("Bytes size was negative.")}return e.read(n,{abortSignal:t.abortSignal})}static async readString(e,t={}){const n=await AvroParser.readBytes(e,t);const o=new TextDecoder;return o.decode(n)}static async readMapPair(e,t,n={}){const o=await AvroParser.readString(e,n);const i=await t(e,n);return{key:o,value:i}}static async readMap(e,t,n={}){const readPairMethod=(e,n={})=>AvroParser.readMapPair(e,t,n);const o=await AvroParser.readArray(e,readPairMethod,n);const i={};for(const e of o){i[e.key]=e.value}return i}static async readArray(e,t,n={}){const o=[];for(let i=await AvroParser.readLong(e,n);i!==0;i=await AvroParser.readLong(e,n)){if(i<0){await AvroParser.readLong(e,n);i=-i}while(i--){const i=await t(e,n);o.push(i)}}return o}}t.AvroParser=AvroParser;var n;(function(e){e["RECORD"]="record";e["ENUM"]="enum";e["ARRAY"]="array";e["MAP"]="map";e["UNION"]="union";e["FIXED"]="fixed"})(n||(n={}));var o;(function(e){e["NULL"]="null";e["BOOLEAN"]="boolean";e["INT"]="int";e["LONG"]="long";e["FLOAT"]="float";e["DOUBLE"]="double";e["BYTES"]="bytes";e["STRING"]="string"})(o||(o={}));class AvroType{static fromSchema(e){if(typeof e==="string"){return AvroType.fromStringSchema(e)}else if(Array.isArray(e)){return AvroType.fromArraySchema(e)}else{return AvroType.fromObjectSchema(e)}}static fromStringSchema(e){switch(e){case o.NULL:case o.BOOLEAN:case o.INT:case o.LONG:case o.FLOAT:case o.DOUBLE:case o.BYTES:case o.STRING:return new AvroPrimitiveType(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new AvroUnionType(e.map(AvroType.fromSchema))}static fromObjectSchema(e){const t=e.type;try{return AvroType.fromStringSchema(t)}catch{}switch(t){case n.RECORD:if(e.aliases){throw new Error(`aliases currently is not supported, schema: ${e}`)}if(!e.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`)}const o={};if(!e.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`)}for(const t of e.fields){o[t.name]=AvroType.fromSchema(t.type)}return new AvroRecordType(o,e.name);case n.ENUM:if(e.aliases){throw new Error(`aliases currently is not supported, schema: ${e}`)}if(!e.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`)}return new AvroEnumType(e.symbols);case n.MAP:if(!e.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`)}return new AvroMapType(AvroType.fromSchema(e.values));case n.ARRAY:case n.FIXED:default:throw new Error(`Unexpected Avro type ${t} in ${e}`)}}}t.AvroType=AvroType;class AvroPrimitiveType extends AvroType{_primitive;constructor(e){super();this._primitive=e}read(e,t={}){switch(this._primitive){case o.NULL:return AvroParser.readNull();case o.BOOLEAN:return AvroParser.readBoolean(e,t);case o.INT:return AvroParser.readInt(e,t);case o.LONG:return AvroParser.readLong(e,t);case o.FLOAT:return AvroParser.readFloat(e,t);case o.DOUBLE:return AvroParser.readDouble(e,t);case o.BYTES:return AvroParser.readBytes(e,t);case o.STRING:return AvroParser.readString(e,t);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{_symbols;constructor(e){super();this._symbols=e}async read(e,t={}){const n=await AvroParser.readInt(e,t);return this._symbols[n]}}class AvroUnionType extends AvroType{_types;constructor(e){super();this._types=e}async read(e,t={}){const n=await AvroParser.readInt(e,t);return this._types[n].read(e,t)}}class AvroMapType extends AvroType{_itemType;constructor(e){super();this._itemType=e}read(e,t={}){const readItemMethod=(e,t)=>this._itemType.read(e,t);return AvroParser.readMap(e,readItemMethod,t)}}class AvroRecordType extends AvroType{_name;_fields;constructor(e,t){super();this._fields=e;this._name=t}async read(e,t={}){const n={};n["$schema"]=this._name;for(const o in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,o)){n[o]=await this._fields[o].read(e,t)}}return n}}},41675:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AvroReadable=void 0;class AvroReadable{}t.AvroReadable=AvroReadable},48059:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AvroReadableFromStream=void 0;const o=n(41675);const i=n(24517);const A=n(20181);const c=new i.AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends o.AvroReadable{_position;_readable;toUint8Array(e){if(typeof e==="string"){return A.Buffer.from(e)}return e}constructor(e){super();this._readable=e;this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted){throw c}if(e<0){throw new Error(`size parameter should be positive: ${e}`)}if(e===0){return new Uint8Array}if(!this._readable.readable){throw new Error("Stream no longer readable.")}const n=this._readable.read(e);if(n){this._position+=n.length;return this.toUint8Array(n)}else{return new Promise(((n,o)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(t.abortSignal){t.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const t=this._readable.read(e);if(t){this._position+=t.length;cleanUp();n(this.toUint8Array(t))}};const rejectCallback=()=>{cleanUp();o()};const abortHandler=()=>{cleanUp();o(c)};this._readable.on("readable",readableCallback);this._readable.once("error",rejectCallback);this._readable.once("end",rejectCallback);this._readable.once("close",rejectCallback);if(t.abortSignal){t.abortSignal.addEventListener("abort",abortHandler)}}))}}}t.AvroReadableFromStream=AvroReadableFromStream},52888:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AvroReader=void 0;const o=n(11326);const i=n(35652);const A=n(4337);class AvroReader{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,n,o){this._dataStream=e;this._headerStream=t||e;this._initialized=false;this._blockOffset=n||0;this._objectIndex=o||0;this._initialBlockOffset=n||0}async initialize(e={}){const t=await i.AvroParser.readFixedBytes(this._headerStream,o.AVRO_INIT_BYTES.length,{abortSignal:e.abortSignal});if(!(0,A.arraysEqual)(t,o.AVRO_INIT_BYTES)){throw new Error("Stream is not an Avro file.")}this._metadata=await i.AvroParser.readMap(this._headerStream,i.AvroParser.readString,{abortSignal:e.abortSignal});const n=this._metadata[o.AVRO_CODEC_KEY];if(!(n===undefined||n===null||n==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await i.AvroParser.readFixedBytes(this._headerStream,o.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});const c=JSON.parse(this._metadata[o.AVRO_SCHEMA_KEY]);this._itemType=i.AvroType.fromSchema(c);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await i.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal});await i.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let t=0;t0}async*parseObjects(e={}){if(!this._initialized){await this.initialize(e)}while(this.hasNext()){const t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const t=await i.AvroParser.readFixedBytes(this._dataStream,o.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!(0,A.arraysEqual)(this._syncMarker,t)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=await i.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){await i.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}}yield t}}}t.AvroReader=AvroReader},96147:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AvroReadableFromStream=t.AvroReadable=t.AvroReader=void 0;var o=n(52888);Object.defineProperty(t,"AvroReader",{enumerable:true,get:function(){return o.AvroReader}});var i=n(41675);Object.defineProperty(t,"AvroReadable",{enumerable:true,get:function(){return i.AvroReadable}});var A=n(48059);Object.defineProperty(t,"AvroReadableFromStream",{enumerable:true,get:function(){return A.AvroReadableFromStream}})},4337:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.arraysEqual=arraysEqual;function arraysEqual(e,t){if(e===t)return true;if(e==null||t==null)return false;if(e.length!==t.length)return false;for(let n=0;n{Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const o=n(26515);t.logger=(0,o.createClientLogger)("storage-blob")},58560:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageBlobAudience=t.PremiumPageBlobTier=t.BlockBlobTier=void 0;t.toAccessTier=toAccessTier;t.ensureCpkIfSpecified=ensureCpkIfSpecified;t.getBlobServiceAccountAudience=getBlobServiceAccountAudience;const o=n(27323);var i;(function(e){e["Hot"]="Hot";e["Cool"]="Cool";e["Cold"]="Cold";e["Archive"]="Archive"})(i||(t.BlockBlobTier=i={}));var A;(function(e){e["P4"]="P4";e["P6"]="P6";e["P10"]="P10";e["P15"]="P15";e["P20"]="P20";e["P30"]="P30";e["P40"]="P40";e["P50"]="P50";e["P60"]="P60";e["P70"]="P70";e["P80"]="P80"})(A||(t.PremiumPageBlobTier=A={}));function toAccessTier(e){if(e===undefined){return undefined}return e}function ensureCpkIfSpecified(e,t){if(e&&!t){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(e&&!e.encryptionAlgorithm){e.encryptionAlgorithm=o.EncryptionAlgorithmAES25}}var c;(function(e){e["StorageOAuthScopes"]="https://storage.azure.com/.default";e["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(c||(t.StorageBlobAudience=c={}));function getBlobServiceAccountAudience(e){return`https://${e}.blob.core.windows.net/.default`}},13501:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AnonymousCredentialPolicy=void 0;const o=n(63064);class AnonymousCredentialPolicy extends o.CredentialPolicy{constructor(e,t){super(e,t)}}t.AnonymousCredentialPolicy=AnonymousCredentialPolicy},63064:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.CredentialPolicy=void 0;const o=n(70336);class CredentialPolicy extends o.BaseRequestPolicy{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}t.CredentialPolicy=CredentialPolicy},70336:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.BaseRequestPolicy=void 0;class BaseRequestPolicy{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e;this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}t.BaseRequestPolicy=BaseRequestPolicy},78654:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageBrowserPolicy=void 0;const o=n(70336);const i=n(87779);const A=n(27323);const c=n(47764);class StorageBrowserPolicy extends o.BaseRequestPolicy{constructor(e,t){super(e,t)}async sendRequest(e){if(i.isNodeLike){return this._nextPolicy.sendRequest(e)}if(e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD"){e.url=(0,c.setURLParameter)(e.url,A.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.remove(A.HeaderConstants.COOKIE);e.headers.remove(A.HeaderConstants.CONTENT_LENGTH);return this._nextPolicy.sendRequest(e)}}t.StorageBrowserPolicy=StorageBrowserPolicy},490:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageBrowserPolicyName=void 0;t.storageBrowserPolicy=storageBrowserPolicy;const o=n(87779);const i=n(27323);const A=n(47764);t.storageBrowserPolicyName="storageBrowserPolicy";function storageBrowserPolicy(){return{name:t.storageBrowserPolicyName,async sendRequest(e,t){if(o.isNodeLike){return t(e)}if(e.method==="GET"||e.method==="HEAD"){e.url=(0,A.setURLParameter)(e.url,i.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.delete(i.HeaderConstants.COOKIE);e.headers.delete(i.HeaderConstants.CONTENT_LENGTH);return t(e)}}}},99359:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageCorrectContentLengthPolicyName=void 0;t.storageCorrectContentLengthPolicy=storageCorrectContentLengthPolicy;const o=n(27323);t.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(e){if(e.body&&(typeof e.body==="string"||Buffer.isBuffer(e.body))&&e.body.length>0){e.headers.set(o.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}}return{name:t.storageCorrectContentLengthPolicyName,async sendRequest(e,t){correctContentLength(e);return t(e)}}}},57996:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageRetryPolicy=void 0;t.NewRetryPolicyFactory=NewRetryPolicyFactory;const o=n(24517);const i=n(70336);const A=n(27323);const c=n(47764);const d=n(46370);const p=n(16308);function NewRetryPolicyFactory(e){return{create:(t,n)=>new StorageRetryPolicy(t,n,e)}}const C={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:p.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const S=new o.AbortError("The operation was aborted.");class StorageRetryPolicy extends i.BaseRequestPolicy{retryOptions;constructor(e,t,n=C){super(e,t);this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:C.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):C.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:C.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:C.maxRetryDelayInMs):C.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:C.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:C.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,false,1)}async attemptSendRequest(e,t,n){const o=e.clone();const i=t||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;if(!i){o.url=(0,c.setURLHost)(o.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){o.url=(0,c.setURLParameter)(o.url,A.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let p;try{d.logger.info(`RetryPolicy: =====> Try=${n} ${i?"Primary":"Secondary"}`);p=await this._nextPolicy.sendRequest(o);if(!this.shouldRetry(i,n,p)){return p}t=t||!i&&p.status===404}catch(e){d.logger.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);if(!this.shouldRetry(i,n,p,e)){throw e}}await this.delay(i,n,e.abortSignal);return this.attemptSendRequest(e,t,++n)}shouldRetry(e,t,n,o){if(t>=this.retryOptions.maxTries){d.logger.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(o){for(const e of i){if(o.name.toUpperCase().includes(e)||o.message.toUpperCase().includes(e)||o.code&&o.code.toString().toUpperCase()===e){d.logger.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}}if(n||o){const t=n?n.status:o?o.statusCode:0;if(!e&&t===404){d.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){d.logger.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if(n){if(n?.status>=400){const e=n.headers.get(A.HeaderConstants.X_MS_CopySourceErrorCode);if(e!==undefined){switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(o?.code==="PARSE_ERROR"&&o?.message.startsWith(`Error "Error: Unclosed root tag`)){d.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(e,t,n){let o=0;if(e){switch(this.retryOptions.retryPolicyType){case p.StorageRetryPolicyType.EXPONENTIAL:o=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case p.StorageRetryPolicyType.FIXED:o=this.retryOptions.retryDelayInMs;break}}else{o=Math.random()*1e3}d.logger.info(`RetryPolicy: Delay for ${o}ms`);return(0,c.delay)(o,n,S)}}t.StorageRetryPolicy=StorageRetryPolicy},16308:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageRetryPolicyType=void 0;var n;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(n||(t.StorageRetryPolicyType=n={}))},31160:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageRetryPolicyName=void 0;t.storageRetryPolicy=storageRetryPolicy;const o=n(24517);const i=n(20778);const A=n(87779);const c=n(98335);const d=n(27323);const p=n(47764);const C=n(46370);t.storageRetryPolicyName="storageRetryPolicy";const S={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:c.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const v=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const T=new o.AbortError("The operation was aborted.");function storageRetryPolicy(e={}){const n=e.retryPolicyType??S.retryPolicyType;const o=e.maxTries??S.maxTries;const _=e.retryDelayInMs??S.retryDelayInMs;const V=e.maxRetryDelayInMs??S.maxRetryDelayInMs;const Z=e.secondaryHost??S.secondaryHost;const ee=e.tryTimeoutInMs??S.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:e,attempt:t,response:n,error:i}){if(t>=o){C.logger.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${o}, no further try.`);return false}if(i){for(const e of v){if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e){C.logger.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}if(i?.code==="PARSE_ERROR"&&i?.message.startsWith(`Error "Error: Unclosed root tag`)){C.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(n||i){const t=n?.status??i?.statusCode??0;if(!e&&t===404){C.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){C.logger.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if(n){if(n?.status>=400){const e=n.headers.get(d.HeaderConstants.X_MS_CopySourceErrorCode);if(e!==undefined){switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(e,t){let o=0;if(e){switch(n){case c.StorageRetryPolicyType.EXPONENTIAL:o=Math.min((Math.pow(2,t-1)-1)*_,V);break;case c.StorageRetryPolicyType.FIXED:o=_;break}}else{o=Math.random()*1e3}C.logger.info(`RetryPolicy: Delay for ${o}ms`);return o}return{name:t.storageRetryPolicyName,async sendRequest(e,t){if(ee){e.url=(0,p.setURLParameter)(e.url,d.URLConstants.Parameters.TIMEOUT,String(Math.floor(ee/1e3)))}const n=e.url;const o=Z?(0,p.setURLHost)(e.url,Z):undefined;let c=false;let S=1;let v=true;let _;let V;while(v){const d=c||!o||!["GET","HEAD","OPTIONS"].includes(e.method)||S%2===1;e.url=d?n:o;_=undefined;V=undefined;try{C.logger.info(`RetryPolicy: =====> Try=${S} ${d?"Primary":"Secondary"}`);_=await t(e);c=c||!d&&_.status===404}catch(e){if((0,i.isRestError)(e)){C.logger.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);V=e}else{C.logger.error(`RetryPolicy: Caught error, message: ${(0,A.getErrorMessage)(e)}`);throw e}}v=shouldRetry({isPrimaryRetry:d,attempt:S,response:_,error:V});if(v){await(0,p.delay)(calculateDelay(d,S),e.abortSignal,T)}S++}if(_){return _}throw V??new i.RestError("RetryPolicy failed without known error.")}}}},45511:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageSharedKeyCredentialPolicy=void 0;const o=n(27323);const i=n(47764);const A=n(63064);const c=n(21902);class StorageSharedKeyCredentialPolicy extends A.CredentialPolicy{factory;constructor(e,t,n){super(e,t);this.factory=n}signRequest(e){e.headers.set(o.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(e.body&&(typeof e.body==="string"||e.body!==undefined)&&e.body.length>0){e.headers.set(o.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}const t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,o.HeaderConstants.DATE),this.getHeaderValueToSign(e,o.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,o.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,o.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,o.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,o.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e);const n=this.factory.computeHMACSHA256(t);e.headers.set(o.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`);return e}getHeaderValueToSign(e,t){const n=e.headers.get(t);if(!n){return""}if(t===o.HeaderConstants.CONTENT_LENGTH&&n==="0"){return""}return n}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter((e=>e.name.toLowerCase().startsWith(o.HeaderConstants.PREFIX_FOR_STORAGE)));t.sort(((e,t)=>(0,c.compareHeader)(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,n)=>{if(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()){return false}return true}));let n="";t.forEach((e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return n}getCanonicalizedResourceString(e){const t=(0,i.getURLPath)(e.url)||"/";let n="";n+=`/${this.factory.accountName}${t}`;const o=(0,i.getURLQueries)(e.url);const A={};if(o){const e=[];for(const t in o){if(Object.prototype.hasOwnProperty.call(o,t)){const n=t.toLowerCase();A[n]=o[t];e.push(n)}}e.sort();for(const t of e){n+=`\n${t}:${decodeURIComponent(A[t])}`}}return n}}t.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy},97999:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageSharedKeyCredentialPolicyName=void 0;t.storageSharedKeyCredentialPolicy=storageSharedKeyCredentialPolicy;const o=n(77598);const i=n(27323);const A=n(47764);const c=n(21902);t.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(e){function signRequest(t){t.headers.set(i.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(t.body&&(typeof t.body==="string"||Buffer.isBuffer(t.body))&&t.body.length>0){t.headers.set(i.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(t.body))}const n=[t.method.toUpperCase(),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(t,i.HeaderConstants.DATE),getHeaderValueToSign(t,i.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(t,i.HeaderConstants.IF_MATCH),getHeaderValueToSign(t,i.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(t,i.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(t,i.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(t)+getCanonicalizedResourceString(t);const A=(0,o.createHmac)("sha256",e.accountKey).update(n,"utf8").digest("base64");t.headers.set(i.HeaderConstants.AUTHORIZATION,`SharedKey ${e.accountName}:${A}`)}function getHeaderValueToSign(e,t){const n=e.headers.get(t);if(!n){return""}if(t===i.HeaderConstants.CONTENT_LENGTH&&n==="0"){return""}return n}function getCanonicalizedHeadersString(e){let t=[];for(const[n,o]of e.headers){if(n.toLowerCase().startsWith(i.HeaderConstants.PREFIX_FOR_STORAGE)){t.push({name:n,value:o})}}t.sort(((e,t)=>(0,c.compareHeader)(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,n)=>{if(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()){return false}return true}));let n="";t.forEach((e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return n}function getCanonicalizedResourceString(t){const n=(0,A.getURLPath)(t.url)||"/";let o="";o+=`/${e.accountName}${n}`;const i=(0,A.getURLQueries)(t.url);const c={};if(i){const e=[];for(const t in i){if(Object.prototype.hasOwnProperty.call(i,t)){const n=t.toLowerCase();c[n]=i[t];e.push(n)}}e.sort();for(const t of e){o+=`\n${t}:${decodeURIComponent(c[t])}`}}return o}return{name:t.storageSharedKeyCredentialPolicyName,async sendRequest(e,t){signRequest(e);return t(e)}}}},73145:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobBeginCopyFromUrlPoller=void 0;const o=n(87779);const i=n(91754);class BlobBeginCopyFromUrlPoller extends i.Poller{intervalInMs;constructor(e){const{blobClient:t,copySource:n,intervalInMs:o=15e3,onProgress:i,resumeFrom:A,startCopyFromURLOptions:c}=e;let d;if(A){d=JSON.parse(A).state}const p=makeBlobBeginCopyFromURLPollOperation({...d,blobClient:t,copySource:n,startCopyFromURLOptions:c});super(p);if(typeof i==="function"){this.onProgress(i)}this.intervalInMs=o}delay(){return(0,o.delay)(this.intervalInMs)}}t.BlobBeginCopyFromUrlPoller=BlobBeginCopyFromUrlPoller;const A=async function cancel(e={}){const t=this.state;const{copyId:n}=t;if(t.isCompleted){return makeBlobBeginCopyFromURLPollOperation(t)}if(!n){t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)}await t.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal});t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)};const c=async function update(e={}){const t=this.state;const{blobClient:n,copySource:o,startCopyFromURLOptions:i}=t;if(!t.isStarted){t.isStarted=true;const e=await n.startCopyFromURL(o,i);t.copyId=e.copyId;if(e.copyStatus==="success"){t.result=e;t.isCompleted=true}}else if(!t.isCompleted){try{const n=await t.blobClient.getProperties({abortSignal:e.abortSignal});const{copyStatus:o,copyProgress:i}=n;const A=t.copyProgress;if(i){t.copyProgress=i}if(o==="pending"&&i!==A&&typeof e.fireProgress==="function"){e.fireProgress(t)}else if(o==="success"){t.result=n;t.isCompleted=true}else if(o==="failed"){t.error=new Error(`Blob copy failed with reason: "${n.copyStatusDescription||"unknown"}"`);t.isCompleted=true}}catch(e){t.error=e;t.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(t)};const d=function toString(){return JSON.stringify({state:this.state},((e,t)=>{if(e==="blobClient"){return undefined}return t}))};function makeBlobBeginCopyFromURLPollOperation(e){return{state:{...e},cancel:A,toString:d,update:c}}},6358:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AccountSASPermissions=void 0;class AccountSASPermissions{static parse(e){const t=new AccountSASPermissions;for(const n of e){switch(n){case"r":t.read=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"x":t.deleteVersion=true;break;case"l":t.list=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"u":t.update=true;break;case"p":t.process=true;break;case"t":t.tag=true;break;case"f":t.filter=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${n}`)}}return t}static from(e){const t=new AccountSASPermissions;if(e.read){t.read=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.deleteVersion){t.deleteVersion=true}if(e.filter){t.filter=true}if(e.tag){t.tag=true}if(e.list){t.list=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.update){t.update=true}if(e.process){t.process=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}return t}read=false;write=false;delete=false;deleteVersion=false;list=false;add=false;create=false;update=false;process=false;tag=false;filter=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const e=[];if(this.read){e.push("r")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.filter){e.push("f")}if(this.tag){e.push("t")}if(this.list){e.push("l")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.update){e.push("u")}if(this.process){e.push("p")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}return e.join("")}}t.AccountSASPermissions=AccountSASPermissions},91267:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AccountSASResourceTypes=void 0;class AccountSASResourceTypes{static parse(e){const t=new AccountSASResourceTypes;for(const n of e){switch(n){case"s":t.service=true;break;case"c":t.container=true;break;case"o":t.object=true;break;default:throw new RangeError(`Invalid resource type: ${n}`)}}return t}service=false;container=false;object=false;toString(){const e=[];if(this.service){e.push("s")}if(this.container){e.push("c")}if(this.object){e.push("o")}return e.join("")}}t.AccountSASResourceTypes=AccountSASResourceTypes},46940:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AccountSASServices=void 0;class AccountSASServices{static parse(e){const t=new AccountSASServices;for(const n of e){switch(n){case"b":t.blob=true;break;case"f":t.file=true;break;case"q":t.queue=true;break;case"t":t.table=true;break;default:throw new RangeError(`Invalid service character: ${n}`)}}return t}blob=false;file=false;queue=false;table=false;toString(){const e=[];if(this.blob){e.push("b")}if(this.table){e.push("t")}if(this.queue){e.push("q")}if(this.file){e.push("f")}return e.join("")}}t.AccountSASServices=AccountSASServices},85238:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.generateAccountSASQueryParameters=generateAccountSASQueryParameters;t.generateAccountSASQueryParametersInternal=generateAccountSASQueryParametersInternal;const o=n(6358);const i=n(91267);const A=n(46940);const c=n(2977);const d=n(26823);const p=n(27323);const C=n(47764);function generateAccountSASQueryParameters(e,t){return generateAccountSASQueryParametersInternal(e,t).sasQueryParameters}function generateAccountSASQueryParametersInternal(e,t){const n=e.version?e.version:p.SERVICE_VERSION;if(e.permissions&&e.permissions.setImmutabilityPolicy&&n<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&n<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&n<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(e.permissions&&e.permissions.tag&&n<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(e.permissions&&e.permissions.filter&&n<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(e.encryptionScope&&n<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const S=o.AccountSASPermissions.parse(e.permissions.toString());const v=A.AccountSASServices.parse(e.services).toString();const T=i.AccountSASResourceTypes.parse(e.resourceTypes).toString();let _;if(n>="2020-12-06"){_=[t.accountName,S,v,T,e.startsOn?(0,C.truncatedISO8061Date)(e.startsOn,false):"",(0,C.truncatedISO8061Date)(e.expiresOn,false),e.ipRange?(0,c.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",n,e.encryptionScope?e.encryptionScope:"",""].join("\n")}else{_=[t.accountName,S,v,T,e.startsOn?(0,C.truncatedISO8061Date)(e.startsOn,false):"",(0,C.truncatedISO8061Date)(e.expiresOn,false),e.ipRange?(0,c.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",n,""].join("\n")}const V=t.computeHMACSHA256(_);return{sasQueryParameters:new d.SASQueryParameters(n,V,S.toString(),v,T,e.protocol,e.startsOn,e.expiresOn,e.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,e.encryptionScope),stringToSign:_}}},2232:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.BlobSASPermissions=void 0;class BlobSASPermissions{static parse(e){const t=new BlobSASPermissions;for(const n of e){switch(n){case"r":t.read=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"x":t.deleteVersion=true;break;case"t":t.tag=true;break;case"m":t.move=true;break;case"e":t.execute=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${n}`)}}return t}static from(e){const t=new BlobSASPermissions;if(e.read){t.read=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.deleteVersion){t.deleteVersion=true}if(e.tag){t.tag=true}if(e.move){t.move=true}if(e.execute){t.execute=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}return t}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}return e.join("")}}t.BlobSASPermissions=BlobSASPermissions},656:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.generateBlobSASQueryParameters=generateBlobSASQueryParameters;t.generateBlobSASQueryParametersInternal=generateBlobSASQueryParametersInternal;const o=n(2232);const i=n(51622);const A=n(68999);const c=n(10992);const d=n(2977);const p=n(26823);const C=n(27323);const S=n(47764);function generateBlobSASQueryParameters(e,t,n){return generateBlobSASQueryParametersInternal(e,t,n).sasQueryParameters}function generateBlobSASQueryParametersInternal(e,t,n){const o=e.version?e.version:C.SERVICE_VERSION;const i=t instanceof A.StorageSharedKeyCredential?t:undefined;let d;if(i===undefined&&n!==undefined){d=new c.UserDelegationKeyCredential(n,t)}if(i===undefined&&d===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(o>="2020-12-06"){if(i!==undefined){return generateBlobSASQueryParameters20201206(e,i)}else{if(o>="2025-07-05"){return generateBlobSASQueryParametersUDK20250705(e,d)}else{return generateBlobSASQueryParametersUDK20201206(e,d)}}}if(o>="2018-11-09"){if(i!==undefined){return generateBlobSASQueryParameters20181109(e,i)}else{if(o>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(e,d)}else{return generateBlobSASQueryParametersUDK20181109(e,d)}}}if(o>="2015-04-05"){if(i!==undefined){return generateBlobSASQueryParameters20150405(e,i)}else{throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}}throw new RangeError("'version' must be >= '2015-04-05'.")}function generateBlobSASQueryParameters20150405(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let n="c";if(e.blobName){n="b"}let A;if(e.permissions){if(e.blobName){A=o.BlobSASPermissions.parse(e.permissions.toString()).toString()}else{A=i.ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const c=[A?A:"",e.startsOn?(0,S.truncatedISO8061Date)(e.startsOn,false):"",e.expiresOn?(0,S.truncatedISO8061Date)(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?(0,d.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",e.version,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const C=t.computeHMACSHA256(c);return{sasQueryParameters:new p.SASQueryParameters(e.version,C,A,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:c}}function generateBlobSASQueryParameters20181109(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let n="c";let A=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";A=e.versionId}}let c;if(e.permissions){if(e.blobName){c=o.BlobSASPermissions.parse(e.permissions.toString()).toString()}else{c=i.ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const C=[c?c:"",e.startsOn?(0,S.truncatedISO8061Date)(e.startsOn,false):"",e.expiresOn?(0,S.truncatedISO8061Date)(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?(0,d.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,A,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const v=t.computeHMACSHA256(C);return{sasQueryParameters:new p.SASQueryParameters(e.version,v,c,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:C}}function generateBlobSASQueryParameters20201206(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let n="c";let A=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";A=e.versionId}}let c;if(e.permissions){if(e.blobName){c=o.BlobSASPermissions.parse(e.permissions.toString()).toString()}else{c=i.ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const C=[c?c:"",e.startsOn?(0,S.truncatedISO8061Date)(e.startsOn,false):"",e.expiresOn?(0,S.truncatedISO8061Date)(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?(0,d.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,A,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const v=t.computeHMACSHA256(C);return{sasQueryParameters:new p.SASQueryParameters(e.version,v,c,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,e.encryptionScope),stringToSign:C}}function generateBlobSASQueryParametersUDK20181109(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let n="c";let A=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";A=e.versionId}}let c;if(e.permissions){if(e.blobName){c=o.BlobSASPermissions.parse(e.permissions.toString()).toString()}else{c=i.ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const C=[c?c:"",e.startsOn?(0,S.truncatedISO8061Date)(e.startsOn,false):"",e.expiresOn?(0,S.truncatedISO8061Date)(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?(0,S.truncatedISO8061Date)(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?(0,S.truncatedISO8061Date)(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?(0,d.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,A,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const v=t.computeHMACSHA256(C);return{sasQueryParameters:new p.SASQueryParameters(e.version,v,c,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:C}}function generateBlobSASQueryParametersUDK20200210(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let n="c";let A=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";A=e.versionId}}let c;if(e.permissions){if(e.blobName){c=o.BlobSASPermissions.parse(e.permissions.toString()).toString()}else{c=i.ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const C=[c?c:"",e.startsOn?(0,S.truncatedISO8061Date)(e.startsOn,false):"",e.expiresOn?(0,S.truncatedISO8061Date)(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?(0,S.truncatedISO8061Date)(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?(0,S.truncatedISO8061Date)(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?(0,d.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,A,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const v=t.computeHMACSHA256(C);return{sasQueryParameters:new p.SASQueryParameters(e.version,v,c,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId),stringToSign:C}}function generateBlobSASQueryParametersUDK20201206(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let n="c";let A=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";A=e.versionId}}let c;if(e.permissions){if(e.blobName){c=o.BlobSASPermissions.parse(e.permissions.toString()).toString()}else{c=i.ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const C=[c?c:"",e.startsOn?(0,S.truncatedISO8061Date)(e.startsOn,false):"",e.expiresOn?(0,S.truncatedISO8061Date)(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?(0,S.truncatedISO8061Date)(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?(0,S.truncatedISO8061Date)(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?(0,d.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,A,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const v=t.computeHMACSHA256(C);return{sasQueryParameters:new p.SASQueryParameters(e.version,v,c,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope),stringToSign:C}}function generateBlobSASQueryParametersUDK20250705(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let n="c";let A=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";A=e.versionId}}let c;if(e.permissions){if(e.blobName){c=o.BlobSASPermissions.parse(e.permissions.toString()).toString()}else{c=i.ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const C=[c?c:"",e.startsOn?(0,S.truncatedISO8061Date)(e.startsOn,false):"",e.expiresOn?(0,S.truncatedISO8061Date)(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?(0,S.truncatedISO8061Date)(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?(0,S.truncatedISO8061Date)(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,undefined,undefined,e.ipRange?(0,d.ipRangeToString)(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,A,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const v=t.computeHMACSHA256(C);return{sasQueryParameters:new p.SASQueryParameters(e.version,v,c,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope),stringToSign:C}}function getCanonicalName(e,t,n){const o=[`/blob/${e}/${t}`];if(n){o.push(`/${n}`)}return o.join("")}function SASSignatureValuesSanityCheckAndAutofill(e){const t=e.version?e.version:C.SERVICE_VERSION;if(e.snapshotTime&&t<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(e.blobName===undefined&&e.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(e.versionId&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(e.blobName===undefined&&e.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(e.permissions&&e.permissions.tag&&t<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(e.encryptionScope&&t<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}e.version=t;return e}},51622:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ContainerSASPermissions=void 0;class ContainerSASPermissions{static parse(e){const t=new ContainerSASPermissions;for(const n of e){switch(n){case"r":t.read=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"l":t.list=true;break;case"t":t.tag=true;break;case"x":t.deleteVersion=true;break;case"m":t.move=true;break;case"e":t.execute=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;case"f":t.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${n}`)}}return t}static from(e){const t=new ContainerSASPermissions;if(e.read){t.read=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.list){t.list=true}if(e.deleteVersion){t.deleteVersion=true}if(e.tag){t.tag=true}if(e.move){t.move=true}if(e.execute){t.execute=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}if(e.filterByTags){t.filterByTags=true}return t}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;list=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;filterByTags=false;toString(){const e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.list){e.push("l")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}if(this.filterByTags){e.push("f")}return e.join("")}}t.ContainerSASPermissions=ContainerSASPermissions},26823:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.SASQueryParameters=t.SASProtocol=void 0;const o=n(2977);const i=n(47764);var A;(function(e){e["Https"]="https";e["HttpsAndHttp"]="https,http"})(A||(t.SASProtocol=A={}));class SASQueryParameters{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return undefined}constructor(e,t,n,o,i,A,c,d,p,C,S,v,T,_,V,Z,ee,te,re,ne){this.version=e;this.signature=t;if(n!==undefined&&typeof n!=="string"){this.permissions=n.permissions;this.services=n.services;this.resourceTypes=n.resourceTypes;this.protocol=n.protocol;this.startsOn=n.startsOn;this.expiresOn=n.expiresOn;this.ipRangeInner=n.ipRange;this.identifier=n.identifier;this.encryptionScope=n.encryptionScope;this.resource=n.resource;this.cacheControl=n.cacheControl;this.contentDisposition=n.contentDisposition;this.contentEncoding=n.contentEncoding;this.contentLanguage=n.contentLanguage;this.contentType=n.contentType;if(n.userDelegationKey){this.signedOid=n.userDelegationKey.signedObjectId;this.signedTenantId=n.userDelegationKey.signedTenantId;this.signedStartsOn=n.userDelegationKey.signedStartsOn;this.signedExpiresOn=n.userDelegationKey.signedExpiresOn;this.signedService=n.userDelegationKey.signedService;this.signedVersion=n.userDelegationKey.signedVersion;this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId;this.correlationId=n.correlationId}}else{this.services=o;this.resourceTypes=i;this.expiresOn=d;this.permissions=n;this.protocol=A;this.startsOn=c;this.ipRangeInner=p;this.encryptionScope=ne;this.identifier=C;this.resource=S;this.cacheControl=v;this.contentDisposition=T;this.contentEncoding=_;this.contentLanguage=V;this.contentType=Z;if(ee){this.signedOid=ee.signedObjectId;this.signedTenantId=ee.signedTenantId;this.signedStartsOn=ee.signedStartsOn;this.signedExpiresOn=ee.signedExpiresOn;this.signedService=ee.signedService;this.signedVersion=ee.signedVersion;this.preauthorizedAgentObjectId=te;this.correlationId=re}}}toString(){const e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid"];const t=[];for(const n of e){switch(n){case"sv":this.tryAppendQueryParameter(t,n,this.version);break;case"ss":this.tryAppendQueryParameter(t,n,this.services);break;case"srt":this.tryAppendQueryParameter(t,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(t,n,this.protocol);break;case"st":this.tryAppendQueryParameter(t,n,this.startsOn?(0,i.truncatedISO8061Date)(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(t,n,this.expiresOn?(0,i.truncatedISO8061Date)(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(t,n,this.ipRange?(0,o.ipRangeToString)(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(t,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(t,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(t,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(t,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(t,n,this.signedStartsOn?(0,i.truncatedISO8061Date)(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(t,n,this.signedExpiresOn?(0,i.truncatedISO8061Date)(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(t,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(t,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(t,n,this.resource);break;case"sp":this.tryAppendQueryParameter(t,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(t,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(t,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(t,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(t,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(t,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(t,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(t,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(t,n,this.correlationId);break}}return t.join("&")}tryAppendQueryParameter(e,t,n){if(!n){return}t=encodeURIComponent(t);n=encodeURIComponent(n);if(t.length>0&&n.length>0){e.push(`${t}=${n}`)}}}t.SASQueryParameters=SASQueryParameters},2977:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ipRangeToString=ipRangeToString;function ipRangeToString(e){return e.end?`${e.start}-${e.end}`:e.start}},81582:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.Batch=void 0;const o=n(24434);var i;(function(e){e[e["Good"]=0]="Good";e[e["Error"]=1]="Error"})(i||(i={}));class Batch{concurrency;actives=0;completed=0;offset=0;operations=[];state=i.Good;emitter;constructor(e=5){if(e<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=e;this.emitter=new o.EventEmitter}addOperation(e){this.operations.push((async()=>{try{this.actives++;await e();this.actives--;this.completed++;this.parallelExecute()}catch(e){this.emitter.emit("error",e)}}))}async do(){if(this.operations.length===0){return Promise.resolve()}this.parallelExecute();return new Promise(((e,t)=>{this.emitter.on("finish",e);this.emitter.on("error",(e=>{this.state=i.Error;t(e)}))}))}nextOperation(){if(this.offset=this.operations.length){this.emitter.emit("finish");return}while(this.actives{Object.defineProperty(t,"__esModule",{value:true});t.BlobQuickQueryStream=void 0;const o=n(57075);const i=n(96147);class BlobQuickQueryStream extends o.Readable{source;avroReader;avroIter;avroPaused=true;onProgress;onError;constructor(e,t={}){super();this.source=e;this.onProgress=t.onProgress;this.onError=t.onError;this.avroReader=new i.AvroReader(new i.AvroReadableFromStream(this.source));this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){if(this.avroPaused){this.readInternal().catch((e=>{this.emit("error",e)}))}}async readInternal(){this.avroPaused=false;let e;do{e=await this.avroIter.next();if(e.done){break}const t=e.value;const n=t.$schema;if(typeof n!=="string"){throw Error("Missing schema in avro record.")}switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const e=t.data;if(e instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(e))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const e=t.bytesScanned;if(typeof e!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:e})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const e=t.totalBytes;if(typeof e!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const e=t.fatal;if(typeof e!=="boolean"){throw Error("Invalid fatal in avro error record.")}const n=t.name;if(typeof n!=="string"){throw Error("Invalid name in avro error record.")}const o=t.description;if(typeof o!=="string"){throw Error("Invalid description in avro error record.")}const i=t.position;if(typeof i!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:i,name:n,isFatal:e,description:o})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}t.BlobQuickQueryStream=BlobQuickQueryStream},58913:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Mutex=void 0;var n;(function(e){e[e["LOCKED"]=0]="LOCKED";e[e["UNLOCKED"]=1]="UNLOCKED"})(n||(n={}));class Mutex{static async lock(e){return new Promise((t=>{if(this.keys[e]===undefined||this.keys[e]===n.UNLOCKED){this.keys[e]=n.LOCKED;t()}else{this.onUnlockEvent(e,(()=>{this.keys[e]=n.LOCKED;t()}))}}))}static async unlock(e){return new Promise((t=>{if(this.keys[e]===n.LOCKED){this.emitUnlockEvent(e)}delete this.keys[e];t()}))}static keys={};static listeners={};static onUnlockEvent(e,t){if(this.listeners[e]===undefined){this.listeners[e]=[t]}else{this.listeners[e].push(t)}}static emitUnlockEvent(e){if(this.listeners[e]!==undefined&&this.listeners[e].length>0){const t=this.listeners[e].shift();setImmediate((()=>{t.call(this)}))}}}t.Mutex=Mutex},98684:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.RetriableReadableStream=void 0;const o=n(24517);const i=n(57075);class RetriableReadableStream extends i.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,n,o,i={}){super({highWaterMark:i.highWaterMark});this.getter=t;this.source=e;this.start=n;this.offset=n;this.end=n+o-1;this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0;this.onProgress=i.onProgress;this.options=i;this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=undefined;this.source.pause();this.sourceErrorOrEndHandler();this.source.destroy();return}this.offset+=e.length;if(this.onProgress){this.onProgress({loadedBytes:this.offset-this.start})}if(!this.push(e)){this.source.pause()}};sourceAbortedHandler=()=>{const e=new o.AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers();if(this.offset-1===this.end){this.push(null)}else if(this.offset<=this.end){if(this.retries{this.source=e;this.setSourceEventHandlers();return})).catch((e=>{this.destroy(e)}))}else{this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`))}}else{this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))}};_destroy(e,t){this.removeSourceEventHandlers();this.source.destroy();t(e===null?undefined:e)}}t.RetriableReadableStream=RetriableReadableStream},21902:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.compareHeader=compareHeader;const n=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]);const o=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);const i=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function compareHeader(e,t){if(isLessThan(e,t))return-1;return 1}function isLessThan(e,t){const A=[n,o,i];let c=0;let d=0;let p=0;while(cp}const n=d{Object.defineProperty(t,"__esModule",{value:true});t.PathStylePorts=t.BlobDoesNotUseCustomerSpecifiedEncryption=t.BlobUsesCustomerSpecifiedEncryptionMsg=t.StorageBlobLoggingAllowedQueryParameters=t.StorageBlobLoggingAllowedHeaderNames=t.DevelopmentConnectionString=t.EncryptionAlgorithmAES25=t.HTTP_VERSION_1_1=t.HTTP_LINE_ENDING=t.BATCH_MAX_PAYLOAD_IN_BYTES=t.BATCH_MAX_REQUEST=t.SIZE_1_MB=t.ETagAny=t.ETagNone=t.HeaderConstants=t.HTTPURLConnection=t.URLConstants=t.StorageOAuthScopes=t.REQUEST_TIMEOUT=t.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=t.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=t.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=t.BLOCK_BLOB_MAX_BLOCKS=t.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=t.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=t.SERVICE_VERSION=t.SDK_VERSION=void 0;t.SDK_VERSION="12.29.1";t.SERVICE_VERSION="2025-11-05";t.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;t.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;t.BLOCK_BLOB_MAX_BLOCKS=5e4;t.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;t.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;t.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;t.REQUEST_TIMEOUT=100*1e3;t.StorageOAuthScopes="https://storage.azure.com/.default";t.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};t.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};t.HeaderConstants={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",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};t.ETagNone="";t.ETagAny="*";t.SIZE_1_MB=1*1024*1024;t.BATCH_MAX_REQUEST=256;t.BATCH_MAX_PAYLOAD_IN_BYTES=4*t.SIZE_1_MB;t.HTTP_LINE_ENDING="\r\n";t.HTTP_VERSION_1_1="HTTP/1.1";t.EncryptionAlgorithmAES25="AES256";t.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;t.StorageBlobLoggingAllowedHeaderNames=["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-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];t.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];t.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";t.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";t.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},53952:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.tracingClient=void 0;const o=n(20623);const i=n(27323);t.tracingClient=(0,o.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:i.SDK_VERSION,namespace:"Microsoft.Storage"})},47764:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.escapeURLPath=escapeURLPath;t.getValueInConnString=getValueInConnString;t.extractConnectionStringParts=extractConnectionStringParts;t.appendToURLPath=appendToURLPath;t.setURLParameter=setURLParameter;t.getURLParameter=getURLParameter;t.setURLHost=setURLHost;t.getURLPath=getURLPath;t.getURLScheme=getURLScheme;t.getURLPathAndQuery=getURLPathAndQuery;t.getURLQueries=getURLQueries;t.appendToURLQuery=appendToURLQuery;t.truncatedISO8061Date=truncatedISO8061Date;t.base64encode=base64encode;t.base64decode=base64decode;t.generateBlockID=generateBlockID;t.delay=delay;t.padStart=padStart;t.sanitizeURL=sanitizeURL;t.sanitizeHeaders=sanitizeHeaders;t.iEqual=iEqual;t.getAccountNameFromUrl=getAccountNameFromUrl;t.isIpEndpointStyle=isIpEndpointStyle;t.toBlobTagsString=toBlobTagsString;t.toBlobTags=toBlobTags;t.toTags=toTags;t.toQuerySerialization=toQuerySerialization;t.parseObjectReplicationRecord=parseObjectReplicationRecord;t.attachCredential=attachCredential;t.httpAuthorizationToString=httpAuthorizationToString;t.BlobNameToString=BlobNameToString;t.ConvertInternalResponseOfListBlobFlat=ConvertInternalResponseOfListBlobFlat;t.ConvertInternalResponseOfListBlobHierarchy=ConvertInternalResponseOfListBlobHierarchy;t.ExtractPageRangeInfoItems=ExtractPageRangeInfoItems;t.EscapePath=EscapePath;t.assertResponse=assertResponse;const o=n(20778);const i=n(87779);const A=n(27323);function escapeURLPath(e){const t=new URL(e);let n=t.pathname;n=n||"/";n=escape(n);t.pathname=n;return t.toString()}function getProxyUriFromDevConnString(e){let t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){const n=e.split(";");for(const e of n){if(e.trim().startsWith("DevelopmentStorageProxyUri=")){t=e.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function getValueInConnString(e,t){const n=e.split(";");for(const e of n){if(e.trim().startsWith(t)){return e.trim().match(t+"=(.*)")[1]}}return""}function extractConnectionStringParts(e){let t="";if(e.startsWith("UseDevelopmentStorage=true")){t=getProxyUriFromDevConnString(e);e=A.DevelopmentConnectionString}let n=getValueInConnString(e,"BlobEndpoint");n=n.endsWith("/")?n.slice(0,-1):n;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){let o="";let i="";let A=Buffer.from("accountKey","base64");let c="";i=getValueInConnString(e,"AccountName");A=Buffer.from(getValueInConnString(e,"AccountKey"),"base64");if(!n){o=getValueInConnString(e,"DefaultEndpointsProtocol");const t=o.toLowerCase();if(t!=="https"&&t!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}c=getValueInConnString(e,"EndpointSuffix");if(!c){throw new Error("Invalid EndpointSuffix in the provided Connection String")}n=`${o}://${i}.blob.${c}`}if(!i){throw new Error("Invalid AccountName in the provided Connection String")}else if(A.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:n,accountName:i,accountKey:A,proxyUri:t}}else{let t=getValueInConnString(e,"SharedAccessSignature");let o=getValueInConnString(e,"AccountName");if(!o){o=getAccountNameFromUrl(n)}if(!n){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!t){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(t.startsWith("?")){t=t.substring(1)}return{kind:"SASConnString",url:n,accountName:o,accountSas:t}}}function escape(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(e,t){const n=new URL(e);let o=n.pathname;o=o?o.endsWith("/")?`${o}${t}`:`${o}/${t}`:t;n.pathname=o;return n.toString()}function setURLParameter(e,t,n){const o=new URL(e);const i=encodeURIComponent(t);const A=n?encodeURIComponent(n):undefined;const c=o.search===""?"?":o.search;const d=[];for(const e of c.slice(1).split("&")){if(e){const[t]=e.split("=",2);if(t!==i){d.push(e)}}}if(A){d.push(`${i}=${A}`)}o.search=d.length?`?${d.join("&")}`:"";return o.toString()}function getURLParameter(e,t){const n=new URL(e);return n.searchParams.get(t)??undefined}function setURLHost(e,t){const n=new URL(e);n.hostname=t;return n.toString()}function getURLPath(e){try{const t=new URL(e);return t.pathname}catch(e){return undefined}}function getURLScheme(e){try{const t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function getURLPathAndQuery(e){const t=new URL(e);const n=t.pathname;if(!n){throw new RangeError("Invalid url without valid path.")}let o=t.search||"";o=o.trim();if(o!==""){o=o.startsWith("?")?o:`?${o}`}return`${n}${o}`}function getURLQueries(e){let t=new URL(e).search;if(!t){return{}}t=t.trim();t=t.startsWith("?")?t.substring(1):t;let n=t.split("&");n=n.filter((e=>{const t=e.indexOf("=");const n=e.lastIndexOf("=");return t>0&&t===n&&ni){e=e.slice(0,i)}const A=e+padStart(t.toString(),n-e.length,"0");return base64encode(A)}async function delay(e,t,n){return new Promise(((o,i)=>{let A;const abortHandler=()=>{if(A!==undefined){clearTimeout(A)}i(n)};const resolveHandler=()=>{if(t!==undefined){t.removeEventListener("abort",abortHandler)}o()};A=setTimeout(resolveHandler,e);if(t!==undefined){t.addEventListener("abort",abortHandler)}}))}function padStart(e,t,n=" "){if(String.prototype.padStart){return e.padStart(t,n)}n=n||" ";if(e.length>t){return e}else{t=t-e.length;if(t>n.length){n+=n.repeat(t/n.length)}return n.slice(0,t)+e}}function sanitizeURL(e){let t=e;if(getURLParameter(t,A.URLConstants.Parameters.SIGNATURE)){t=setURLParameter(t,A.URLConstants.Parameters.SIGNATURE,"*****")}return t}function sanitizeHeaders(e){const t=(0,o.createHttpHeaders)();for(const[n,o]of e){if(n.toLowerCase()===A.HeaderConstants.AUTHORIZATION.toLowerCase()){t.set(n,"*****")}else if(n.toLowerCase()===A.HeaderConstants.X_MS_COPY_SOURCE){t.set(n,sanitizeURL(o))}else{t.set(n,o)}}return t}function iEqual(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function getAccountNameFromUrl(e){const t=new URL(e);let n;try{if(t.hostname.split(".")[1]==="blob"){n=t.hostname.split(".")[0]}else if(isIpEndpointStyle(t)){n=t.pathname.split("/")[1]}else{n=""}return n}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(e){const t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||Boolean(e.port)&&A.PathStylePorts.includes(e.port)}function toBlobTagsString(e){if(e===undefined){return undefined}const t=[];for(const n in e){if(Object.prototype.hasOwnProperty.call(e,n)){const o=e[n];t.push(`${encodeURIComponent(n)}=${encodeURIComponent(o)}`)}}return t.join("&")}function toBlobTags(e){if(e===undefined){return undefined}const t={blobTagSet:[]};for(const n in e){if(Object.prototype.hasOwnProperty.call(e,n)){const o=e[n];t.blobTagSet.push({key:n,value:o})}}return t}function toTags(e){if(e===undefined){return undefined}const t={};for(const n of e.blobTagSet){t[n.key]=n.value}return t}function toQuerySerialization(e){if(e===undefined){return undefined}switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(e){if(!e){return undefined}if("policy-id"in e){return undefined}const t=[];for(const n in e){const o=n.split("_");const i="or-";if(o[0].startsWith(i)){o[0]=o[0].substring(i.length)}const A={ruleId:o[1],replicationStatus:e[n]};const c=t.findIndex((e=>e.policyId===o[0]));if(c>-1){t[c].rules.push(A)}else{t.push({policyId:o[0],rules:[A]})}}return t}function attachCredential(e,t){e.credential=t;return e}function httpAuthorizationToString(e){return e?e.scheme+" "+e.value:undefined}function BlobNameToString(e){if(e.encoded){return decodeURIComponent(e.content)}else{return e.content}}function ConvertInternalResponseOfListBlobFlat(e){return{...e,segment:{blobItems:e.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t}))}}}function ConvertInternalResponseOfListBlobHierarchy(e){return{...e,segment:{blobPrefixes:e.segment.blobPrefixes?.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t})),blobItems:e.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t}))}}}function*ExtractPageRangeInfoItems(e){let t=[];let n=[];if(e.pageRange)t=e.pageRange;if(e.clearRange)n=e.clearRange;let o=0;let i=0;while(o{Object.defineProperty(t,"__esModule",{value:true});t.fsCreateReadStream=t.fsStat=void 0;t.streamToBuffer=streamToBuffer;t.streamToBuffer2=streamToBuffer2;t.streamToBuffer3=streamToBuffer3;t.readStreamToLocalFile=readStreamToLocalFile;const o=n(61860);const i=o.__importDefault(n(73024));const A=o.__importDefault(n(57975));const c=n(27323);async function streamToBuffer(e,t,n,o,i){let A=0;const d=o-n;return new Promise(((o,p)=>{const C=setTimeout((()=>p(new Error(`The operation cannot be completed in timeout.`))),c.REQUEST_TIMEOUT);e.on("readable",(()=>{if(A>=d){clearTimeout(C);o();return}let c=e.read();if(!c){return}if(typeof c==="string"){c=Buffer.from(c,i)}const p=A+c.length>d?d-A:c.length;t.fill(c.slice(0,p),n+A,n+A+p);A+=p}));e.on("end",(()=>{clearTimeout(C);if(A{clearTimeout(C);p(e)}))}))}async function streamToBuffer2(e,t,n){let o=0;const i=t.length;return new Promise(((A,c)=>{e.on("readable",(()=>{let A=e.read();if(!A){return}if(typeof A==="string"){A=Buffer.from(A,n)}if(o+A.length>i){c(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}t.fill(A,o,o+A.length);o+=A.length}));e.on("end",(()=>{A(o)}));e.on("error",c)}))}async function streamToBuffer3(e,t){return new Promise(((n,o)=>{const i=[];e.on("data",(e=>{i.push(typeof e==="string"?Buffer.from(e,t):e)}));e.on("end",(()=>{n(Buffer.concat(i))}));e.on("error",o)}))}async function readStreamToLocalFile(e,t){return new Promise(((n,o)=>{const A=i.default.createWriteStream(t);e.on("error",(e=>{o(e)}));A.on("error",(e=>{o(e)}));A.on("close",n);e.pipe(A)}))}t.fsStat=A.default.promisify(i.default.stat);t.fsCreateReadStream=i.default.createReadStream},24841:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},24517:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var o=n(24841);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return o.AbortError}})},86381:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BufferScheduler=void 0;const o=n(24434);const i=n(52121);class BufferScheduler{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new o.EventEmitter;concurrency;offset=0;isStreamEnd=false;isError=false;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,n,o,i,A){if(t<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${t}`)}if(n<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`)}if(i<=0){throw new RangeError(`concurrency must be larger than 0, current is ${i}`)}this.bufferSize=t;this.maxBuffers=n;this.readable=e;this.outgoingHandler=o;this.concurrency=i;this.encoding=A}async do(){return new Promise(((e,t)=>{this.readable.on("data",(e=>{e=typeof e==="string"?Buffer.from(e,this.encoding):e;this.appendUnresolvedData(e);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(e=>{this.emitter.emit("error",e)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(e=>{this.isError=true;this.readable.pause();t(e)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream()),n.size,this.offset).then(e).catch(t)}else if(this.unresolvedLength>=this.bufferSize){return}else{e()}}}))}))}appendUnresolvedData(e){this.unresolvedDataArray.push(e);this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){if(!e){e=new i.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength)}else{e.fill(this.unresolvedDataArray,this.unresolvedLength)}this.unresolvedLength-=e.size;return e}resolveData(){while(this.unresolvedLength>=this.bufferSize){let e;if(this.incoming.length>0){e=this.incoming.shift();this.shiftBufferFromUnresolvedDataArray(e)}else{if(this.numBuffers=this.concurrency){return}e=this.outgoing.shift();if(e){this.triggerOutgoingHandler(e)}}while(e)}async triggerOutgoingHandler(e){const t=e.size;this.executingOutgoingHandlers++;this.offset+=t;try{await this.outgoingHandler((()=>e.getReadableStream()),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--;this.reuseBuffer(e);this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e);if(!this.isError&&this.resolveData()&&!this.isStreamEnd){this.readable.resume()}}}t.BufferScheduler=BufferScheduler},66093:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BuffersStream=void 0;const o=n(57075);class BuffersStream extends o.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,n){super(n);this.buffers=e;this.byteLength=t;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let o=0;for(const e of this.buffers){o+=e.byteLength}if(o=this.byteLength){this.push(null)}if(!e){e=this.readableHighWaterMark}const t=[];let n=0;while(ne-n){const o=this.byteOffsetInCurrentBuffer+e-n;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,o));this.pushedBytesLength+=e-n;this.byteOffsetInCurrentBuffer=o;n=e;break}else{const e=this.byteOffsetInCurrentBuffer+A;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e));if(A===i){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=e}this.pushedBytesLength+=A;n+=A}}if(t.length>1){this.push(Buffer.concat(t))}else if(t.length===1){this.push(t[0])}}}t.BuffersStream=BuffersStream},52121:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.PooledBuffer=void 0;const o=n(61860);const i=n(66093);const A=o.__importDefault(n(4573));const c=A.default.constants.MAX_LENGTH;class PooledBuffer{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,n){this.capacity=e;this._size=0;const o=Math.ceil(e/c);for(let t=0;t0){e[0]=e[0].slice(A)}}getReadableStream(){return new i.BuffersStream(this.buffers,this.size)}}t.PooledBuffer=PooledBuffer},4399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageBrowserPolicyFactory=t.StorageBrowserPolicy=void 0;const o=n(22312);Object.defineProperty(t,"StorageBrowserPolicy",{enumerable:true,get:function(){return o.StorageBrowserPolicy}});class StorageBrowserPolicyFactory{create(e,t){return new o.StorageBrowserPolicy(e,t)}}t.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory},77321:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageRetryPolicyFactory=t.StorageRetryPolicy=t.StorageRetryPolicyType=void 0;const o=n(27734);Object.defineProperty(t,"StorageRetryPolicy",{enumerable:true,get:function(){return o.StorageRetryPolicy}});const i=n(38622);Object.defineProperty(t,"StorageRetryPolicyType",{enumerable:true,get:function(){return i.StorageRetryPolicyType}});class StorageRetryPolicyFactory{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new o.StorageRetryPolicy(e,t,this.retryOptions)}}t.StorageRetryPolicyFactory=StorageRetryPolicyFactory},68376:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const o=n(20778);let i;function getCachedDefaultHttpClient(){if(!i){i=(0,o.createDefaultHttpClient)()}return i}},32159:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AnonymousCredential=void 0;const o=n(63611);const i=n(450);class AnonymousCredential extends i.Credential{create(e,t){return new o.AnonymousCredentialPolicy(e,t)}}t.AnonymousCredential=AnonymousCredential},450:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Credential=void 0;class Credential{create(e,t){throw new Error("Method should be implemented in children classes.")}}t.Credential=Credential},30849:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageSharedKeyCredential=void 0;const o=n(77598);const i=n(35369);const A=n(450);class StorageSharedKeyCredential extends A.Credential{accountName;accountKey;constructor(e,t){super();this.accountName=e;this.accountKey=Buffer.from(t,"base64")}create(e,t){return new i.StorageSharedKeyCredentialPolicy(e,t,this)}computeHMACSHA256(e){return(0,o.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}t.StorageSharedKeyCredential=StorageSharedKeyCredential},51382:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.BaseRequestPolicy=t.getCachedDefaultHttpClient=void 0;const o=n(61860);o.__exportStar(n(86381),t);var i=n(68376);Object.defineProperty(t,"getCachedDefaultHttpClient",{enumerable:true,get:function(){return i.getCachedDefaultHttpClient}});o.__exportStar(n(4399),t);o.__exportStar(n(32159),t);o.__exportStar(n(450),t);o.__exportStar(n(30849),t);o.__exportStar(n(77321),t);var A=n(40590);Object.defineProperty(t,"BaseRequestPolicy",{enumerable:true,get:function(){return A.BaseRequestPolicy}});o.__exportStar(n(63611),t);o.__exportStar(n(74238),t);o.__exportStar(n(22312),t);o.__exportStar(n(83100),t);o.__exportStar(n(92505),t);o.__exportStar(n(38622),t);o.__exportStar(n(27734),t);o.__exportStar(n(78178),t);o.__exportStar(n(35369),t);o.__exportStar(n(53233),t);o.__exportStar(n(77321),t);o.__exportStar(n(24174),t)},32780:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const o=n(26515);t.logger=(0,o.createClientLogger)("storage-common")},63611:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AnonymousCredentialPolicy=void 0;const o=n(74238);class AnonymousCredentialPolicy extends o.CredentialPolicy{constructor(e,t){super(e,t)}}t.AnonymousCredentialPolicy=AnonymousCredentialPolicy},74238:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.CredentialPolicy=void 0;const o=n(40590);class CredentialPolicy extends o.BaseRequestPolicy{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}t.CredentialPolicy=CredentialPolicy},40590:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.BaseRequestPolicy=void 0;class BaseRequestPolicy{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e;this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}t.BaseRequestPolicy=BaseRequestPolicy},22312:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageBrowserPolicy=void 0;const o=n(40590);const i=n(87779);const A=n(77925);const c=n(58218);class StorageBrowserPolicy extends o.BaseRequestPolicy{constructor(e,t){super(e,t)}async sendRequest(e){if(i.isNodeLike){return this._nextPolicy.sendRequest(e)}if(e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD"){e.url=(0,c.setURLParameter)(e.url,A.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.remove(A.HeaderConstants.COOKIE);e.headers.remove(A.HeaderConstants.CONTENT_LENGTH);return this._nextPolicy.sendRequest(e)}}t.StorageBrowserPolicy=StorageBrowserPolicy},83100:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageBrowserPolicyName=void 0;t.storageBrowserPolicy=storageBrowserPolicy;const o=n(87779);const i=n(77925);const A=n(58218);t.storageBrowserPolicyName="storageBrowserPolicy";function storageBrowserPolicy(){return{name:t.storageBrowserPolicyName,async sendRequest(e,t){if(o.isNodeLike){return t(e)}if(e.method==="GET"||e.method==="HEAD"){e.url=(0,A.setURLParameter)(e.url,i.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.delete(i.HeaderConstants.COOKIE);e.headers.delete(i.HeaderConstants.CONTENT_LENGTH);return t(e)}}}},92505:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageCorrectContentLengthPolicyName=void 0;t.storageCorrectContentLengthPolicy=storageCorrectContentLengthPolicy;const o=n(77925);t.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(e){if(e.body&&(typeof e.body==="string"||Buffer.isBuffer(e.body))&&e.body.length>0){e.headers.set(o.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}}return{name:t.storageCorrectContentLengthPolicyName,async sendRequest(e,t){correctContentLength(e);return t(e)}}}},24174:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageRequestFailureDetailsParserPolicyName=void 0;t.storageRequestFailureDetailsParserPolicy=storageRequestFailureDetailsParserPolicy;t.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function storageRequestFailureDetailsParserPolicy(){return{name:t.storageRequestFailureDetailsParserPolicyName,async sendRequest(e,t){try{const n=await t(e);return n}catch(e){if(typeof e==="object"&&e!==null&&e.response&&e.response.parsedBody){if(e.response.parsedBody.code==="InvalidHeaderValue"&&e.response.parsedBody.HeaderName==="x-ms-version"){e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"}}throw e}}}}},27734:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageRetryPolicy=void 0;t.NewRetryPolicyFactory=NewRetryPolicyFactory;const o=n(18251);const i=n(40590);const A=n(77925);const c=n(58218);const d=n(32780);const p=n(38622);function NewRetryPolicyFactory(e){return{create:(t,n)=>new StorageRetryPolicy(t,n,e)}}const C={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:p.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const S=new o.AbortError("The operation was aborted.");class StorageRetryPolicy extends i.BaseRequestPolicy{retryOptions;constructor(e,t,n=C){super(e,t);this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:C.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):C.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:C.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:C.maxRetryDelayInMs):C.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:C.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:C.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,false,1)}async attemptSendRequest(e,t,n){const o=e.clone();const i=t||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;if(!i){o.url=(0,c.setURLHost)(o.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){o.url=(0,c.setURLParameter)(o.url,A.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let p;try{d.logger.info(`RetryPolicy: =====> Try=${n} ${i?"Primary":"Secondary"}`);p=await this._nextPolicy.sendRequest(o);if(!this.shouldRetry(i,n,p)){return p}t=t||!i&&p.status===404}catch(e){d.logger.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);if(!this.shouldRetry(i,n,p,e)){throw e}}await this.delay(i,n,e.abortSignal);return this.attemptSendRequest(e,t,++n)}shouldRetry(e,t,n,o){if(t>=this.retryOptions.maxTries){d.logger.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(o){for(const e of i){if(o.name.toUpperCase().includes(e)||o.message.toUpperCase().includes(e)||o.code&&o.code.toString().toUpperCase()===e){d.logger.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}}if(n||o){const t=n?n.status:o?o.statusCode:0;if(!e&&t===404){d.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){d.logger.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if(n){if(n?.status>=400){const e=n.headers.get(A.HeaderConstants.X_MS_CopySourceErrorCode);if(e!==undefined){switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(o?.code==="PARSE_ERROR"&&o?.message.startsWith(`Error "Error: Unclosed root tag`)){d.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(e,t,n){let o=0;if(e){switch(this.retryOptions.retryPolicyType){case p.StorageRetryPolicyType.EXPONENTIAL:o=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case p.StorageRetryPolicyType.FIXED:o=this.retryOptions.retryDelayInMs;break}}else{o=Math.random()*1e3}d.logger.info(`RetryPolicy: Delay for ${o}ms`);return(0,c.delay)(o,n,S)}}t.StorageRetryPolicy=StorageRetryPolicy},38622:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageRetryPolicyType=void 0;var n;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(n||(t.StorageRetryPolicyType=n={}))},78178:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageRetryPolicyName=void 0;t.storageRetryPolicy=storageRetryPolicy;const o=n(18251);const i=n(20778);const A=n(87779);const c=n(77321);const d=n(77925);const p=n(58218);const C=n(32780);t.storageRetryPolicyName="storageRetryPolicy";const S={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:c.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const v=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const T=new o.AbortError("The operation was aborted.");function storageRetryPolicy(e={}){const n=e.retryPolicyType??S.retryPolicyType;const o=e.maxTries??S.maxTries;const _=e.retryDelayInMs??S.retryDelayInMs;const V=e.maxRetryDelayInMs??S.maxRetryDelayInMs;const Z=e.secondaryHost??S.secondaryHost;const ee=e.tryTimeoutInMs??S.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:e,attempt:t,response:n,error:i}){if(t>=o){C.logger.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${o}, no further try.`);return false}if(i){for(const e of v){if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e){C.logger.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}if(i?.code==="PARSE_ERROR"&&i?.message.startsWith(`Error "Error: Unclosed root tag`)){C.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(n||i){const t=n?.status??i?.statusCode??0;if(!e&&t===404){C.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){C.logger.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if(n){if(n?.status>=400){const e=n.headers.get(d.HeaderConstants.X_MS_CopySourceErrorCode);if(e!==undefined){switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(e,t){let o=0;if(e){switch(n){case c.StorageRetryPolicyType.EXPONENTIAL:o=Math.min((Math.pow(2,t-1)-1)*_,V);break;case c.StorageRetryPolicyType.FIXED:o=_;break}}else{o=Math.random()*1e3}C.logger.info(`RetryPolicy: Delay for ${o}ms`);return o}return{name:t.storageRetryPolicyName,async sendRequest(e,t){if(ee){e.url=(0,p.setURLParameter)(e.url,d.URLConstants.Parameters.TIMEOUT,String(Math.floor(ee/1e3)))}const n=e.url;const o=Z?(0,p.setURLHost)(e.url,Z):undefined;let c=false;let S=1;let v=true;let _;let V;while(v){const d=c||!o||!["GET","HEAD","OPTIONS"].includes(e.method)||S%2===1;e.url=d?n:o;_=undefined;V=undefined;try{C.logger.info(`RetryPolicy: =====> Try=${S} ${d?"Primary":"Secondary"}`);_=await t(e);c=c||!d&&_.status===404}catch(e){if((0,i.isRestError)(e)){C.logger.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);V=e}else{C.logger.error(`RetryPolicy: Caught error, message: ${(0,A.getErrorMessage)(e)}`);throw e}}v=shouldRetry({isPrimaryRetry:d,attempt:S,response:_,error:V});if(v){await(0,p.delay)(calculateDelay(d,S),e.abortSignal,T)}S++}if(_){return _}throw V??new i.RestError("RetryPolicy failed without known error.")}}}},35369:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.StorageSharedKeyCredentialPolicy=void 0;const o=n(77925);const i=n(58218);const A=n(74238);const c=n(16576);class StorageSharedKeyCredentialPolicy extends A.CredentialPolicy{factory;constructor(e,t,n){super(e,t);this.factory=n}signRequest(e){e.headers.set(o.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(e.body&&(typeof e.body==="string"||e.body!==undefined)&&e.body.length>0){e.headers.set(o.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}const t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,o.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,o.HeaderConstants.DATE),this.getHeaderValueToSign(e,o.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,o.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,o.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,o.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,o.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e);const n=this.factory.computeHMACSHA256(t);e.headers.set(o.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`);return e}getHeaderValueToSign(e,t){const n=e.headers.get(t);if(!n){return""}if(t===o.HeaderConstants.CONTENT_LENGTH&&n==="0"){return""}return n}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter((e=>e.name.toLowerCase().startsWith(o.HeaderConstants.PREFIX_FOR_STORAGE)));t.sort(((e,t)=>(0,c.compareHeader)(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,n)=>{if(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()){return false}return true}));let n="";t.forEach((e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return n}getCanonicalizedResourceString(e){const t=(0,i.getURLPath)(e.url)||"/";let n="";n+=`/${this.factory.accountName}${t}`;const o=(0,i.getURLQueries)(e.url);const A={};if(o){const e=[];for(const t in o){if(Object.prototype.hasOwnProperty.call(o,t)){const n=t.toLowerCase();A[n]=o[t];e.push(n)}}e.sort();for(const t of e){n+=`\n${t}:${decodeURIComponent(A[t])}`}}return n}}t.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy},53233:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.storageSharedKeyCredentialPolicyName=void 0;t.storageSharedKeyCredentialPolicy=storageSharedKeyCredentialPolicy;const o=n(77598);const i=n(77925);const A=n(58218);const c=n(16576);t.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(e){function signRequest(t){t.headers.set(i.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(t.body&&(typeof t.body==="string"||Buffer.isBuffer(t.body))&&t.body.length>0){t.headers.set(i.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(t.body))}const n=[t.method.toUpperCase(),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(t,i.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(t,i.HeaderConstants.DATE),getHeaderValueToSign(t,i.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(t,i.HeaderConstants.IF_MATCH),getHeaderValueToSign(t,i.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(t,i.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(t,i.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(t)+getCanonicalizedResourceString(t);const A=(0,o.createHmac)("sha256",e.accountKey).update(n,"utf8").digest("base64");t.headers.set(i.HeaderConstants.AUTHORIZATION,`SharedKey ${e.accountName}:${A}`)}function getHeaderValueToSign(e,t){const n=e.headers.get(t);if(!n){return""}if(t===i.HeaderConstants.CONTENT_LENGTH&&n==="0"){return""}return n}function getCanonicalizedHeadersString(e){let t=[];for(const[n,o]of e.headers){if(n.toLowerCase().startsWith(i.HeaderConstants.PREFIX_FOR_STORAGE)){t.push({name:n,value:o})}}t.sort(((e,t)=>(0,c.compareHeader)(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,n)=>{if(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()){return false}return true}));let n="";t.forEach((e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return n}function getCanonicalizedResourceString(t){const n=(0,A.getURLPath)(t.url)||"/";let o="";o+=`/${e.accountName}${n}`;const i=(0,A.getURLQueries)(t.url);const c={};if(i){const e=[];for(const t in i){if(Object.prototype.hasOwnProperty.call(i,t)){const n=t.toLowerCase();c[n]=i[t];e.push(n)}}e.sort();for(const t of e){o+=`\n${t}:${decodeURIComponent(c[t])}`}}return o}return{name:t.storageSharedKeyCredentialPolicyName,async sendRequest(e,t){signRequest(e);return t(e)}}}},16576:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.compareHeader=compareHeader;const n=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]);const o=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);const i=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function compareHeader(e,t){if(isLessThan(e,t))return-1;return 1}function isLessThan(e,t){const A=[n,o,i];let c=0;let d=0;let p=0;while(cp}const n=d{Object.defineProperty(t,"__esModule",{value:true});t.PathStylePorts=t.DevelopmentConnectionString=t.HeaderConstants=t.URLConstants=t.SDK_VERSION=void 0;t.SDK_VERSION="1.0.0";t.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};t.HeaderConstants={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",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};t.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;t.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},58218:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.escapeURLPath=escapeURLPath;t.getValueInConnString=getValueInConnString;t.extractConnectionStringParts=extractConnectionStringParts;t.appendToURLPath=appendToURLPath;t.setURLParameter=setURLParameter;t.getURLParameter=getURLParameter;t.setURLHost=setURLHost;t.getURLPath=getURLPath;t.getURLScheme=getURLScheme;t.getURLPathAndQuery=getURLPathAndQuery;t.getURLQueries=getURLQueries;t.appendToURLQuery=appendToURLQuery;t.truncatedISO8061Date=truncatedISO8061Date;t.base64encode=base64encode;t.base64decode=base64decode;t.generateBlockID=generateBlockID;t.delay=delay;t.padStart=padStart;t.sanitizeURL=sanitizeURL;t.sanitizeHeaders=sanitizeHeaders;t.iEqual=iEqual;t.getAccountNameFromUrl=getAccountNameFromUrl;t.isIpEndpointStyle=isIpEndpointStyle;t.attachCredential=attachCredential;t.httpAuthorizationToString=httpAuthorizationToString;t.EscapePath=EscapePath;t.assertResponse=assertResponse;const o=n(20778);const i=n(87779);const A=n(77925);function escapeURLPath(e){const t=new URL(e);let n=t.pathname;n=n||"/";n=escape(n);t.pathname=n;return t.toString()}function getProxyUriFromDevConnString(e){let t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){const n=e.split(";");for(const e of n){if(e.trim().startsWith("DevelopmentStorageProxyUri=")){t=e.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function getValueInConnString(e,t){const n=e.split(";");for(const e of n){if(e.trim().startsWith(t)){return e.trim().match(t+"=(.*)")[1]}}return""}function extractConnectionStringParts(e){let t="";if(e.startsWith("UseDevelopmentStorage=true")){t=getProxyUriFromDevConnString(e);e=A.DevelopmentConnectionString}let n=getValueInConnString(e,"BlobEndpoint");n=n.endsWith("/")?n.slice(0,-1):n;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){let o="";let i="";let A=Buffer.from("accountKey","base64");let c="";i=getValueInConnString(e,"AccountName");A=Buffer.from(getValueInConnString(e,"AccountKey"),"base64");if(!n){o=getValueInConnString(e,"DefaultEndpointsProtocol");const t=o.toLowerCase();if(t!=="https"&&t!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}c=getValueInConnString(e,"EndpointSuffix");if(!c){throw new Error("Invalid EndpointSuffix in the provided Connection String")}n=`${o}://${i}.blob.${c}`}if(!i){throw new Error("Invalid AccountName in the provided Connection String")}else if(A.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:n,accountName:i,accountKey:A,proxyUri:t}}else{let t=getValueInConnString(e,"SharedAccessSignature");let o=getValueInConnString(e,"AccountName");if(!o){o=getAccountNameFromUrl(n)}if(!n){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!t){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(t.startsWith("?")){t=t.substring(1)}return{kind:"SASConnString",url:n,accountName:o,accountSas:t}}}function escape(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(e,t){const n=new URL(e);let o=n.pathname;o=o?o.endsWith("/")?`${o}${t}`:`${o}/${t}`:t;n.pathname=o;return n.toString()}function setURLParameter(e,t,n){const o=new URL(e);const i=encodeURIComponent(t);const A=n?encodeURIComponent(n):undefined;const c=o.search===""?"?":o.search;const d=[];for(const e of c.slice(1).split("&")){if(e){const[t]=e.split("=",2);if(t!==i){d.push(e)}}}if(A){d.push(`${i}=${A}`)}o.search=d.length?`?${d.join("&")}`:"";return o.toString()}function getURLParameter(e,t){const n=new URL(e);return n.searchParams.get(t)??undefined}function setURLHost(e,t){const n=new URL(e);n.hostname=t;return n.toString()}function getURLPath(e){try{const t=new URL(e);return t.pathname}catch(e){return undefined}}function getURLScheme(e){try{const t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function getURLPathAndQuery(e){const t=new URL(e);const n=t.pathname;if(!n){throw new RangeError("Invalid url without valid path.")}let o=t.search||"";o=o.trim();if(o!==""){o=o.startsWith("?")?o:`?${o}`}return`${n}${o}`}function getURLQueries(e){let t=new URL(e).search;if(!t){return{}}t=t.trim();t=t.startsWith("?")?t.substring(1):t;let n=t.split("&");n=n.filter((e=>{const t=e.indexOf("=");const n=e.lastIndexOf("=");return t>0&&t===n&&ni){e=e.slice(0,i)}const A=e+padStart(t.toString(),n-e.length,"0");return base64encode(A)}async function delay(e,t,n){return new Promise(((o,i)=>{let A;const abortHandler=()=>{if(A!==undefined){clearTimeout(A)}i(n)};const resolveHandler=()=>{if(t!==undefined){t.removeEventListener("abort",abortHandler)}o()};A=setTimeout(resolveHandler,e);if(t!==undefined){t.addEventListener("abort",abortHandler)}}))}function padStart(e,t,n=" "){if(String.prototype.padStart){return e.padStart(t,n)}n=n||" ";if(e.length>t){return e}else{t=t-e.length;if(t>n.length){n+=n.repeat(t/n.length)}return n.slice(0,t)+e}}function sanitizeURL(e){let t=e;if(getURLParameter(t,A.URLConstants.Parameters.SIGNATURE)){t=setURLParameter(t,A.URLConstants.Parameters.SIGNATURE,"*****")}return t}function sanitizeHeaders(e){const t=(0,o.createHttpHeaders)();for(const[n,o]of e){if(n.toLowerCase()===A.HeaderConstants.AUTHORIZATION.toLowerCase()){t.set(n,"*****")}else if(n.toLowerCase()===A.HeaderConstants.X_MS_COPY_SOURCE){t.set(n,sanitizeURL(o))}else{t.set(n,o)}}return t}function iEqual(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function getAccountNameFromUrl(e){const t=new URL(e);let n;try{if(t.hostname.split(".")[1]==="blob"){n=t.hostname.split(".")[0]}else if(isIpEndpointStyle(t)){n=t.pathname.split("/")[1]}else{n=""}return n}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(e){const t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||Boolean(e.port)&&A.PathStylePorts.includes(e.port)}function attachCredential(e,t){e.credential=t;return e}function httpAuthorizationToString(e){return e?e.scheme+" "+e.value:undefined}function EscapePath(e){const t=e.split("/");for(let e=0;e{Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},18251:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var o=n(6675);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return o.AbortError}})},99992:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},36227:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isOAuth2TokenCredential=isOAuth2TokenCredential;t.isBearerTokenCredential=isBearerTokenCredential;t.isBasicCredential=isBasicCredential;t.isApiKeyCredential=isApiKeyCredential;function isOAuth2TokenCredential(e){return"getOAuth2Token"in e}function isBearerTokenCredential(e){return"getBearerToken"in e}function isBasicCredential(e){return"username"in e&&"password"in e}function isApiKeyCredential(e){return"key"in e}},43097:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},92097:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},71408:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.apiVersionPolicyName=void 0;t.apiVersionPolicy=apiVersionPolicy;t.apiVersionPolicyName="ApiVersionPolicy";function apiVersionPolicy(e){return{name:t.apiVersionPolicyName,sendRequest:(t,n)=>{const o=new URL(t.url);if(!o.searchParams.get("api-version")&&e.apiVersion){t.url=`${t.url}${Array.from(o.searchParams.keys()).length>0?"&":"?"}api-version=${e.apiVersion}`}return n(t)}}}},88728:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createDefaultPipeline=createDefaultPipeline;t.getCachedDefaultHttpsClient=getCachedDefaultHttpsClient;const o=n(69468);const i=n(91810);const A=n(71408);const c=n(36227);const d=n(42095);const p=n(15756);const C=n(89709);const S=n(20219);let v;function createDefaultPipeline(e={}){const t=(0,i.createPipelineFromOptions)(e);t.addPolicy((0,A.apiVersionPolicy)(e));const{credential:n,authSchemes:o,allowInsecureConnection:v}=e;if(n){if((0,c.isApiKeyCredential)(n)){t.addPolicy((0,d.apiKeyAuthenticationPolicy)({authSchemes:o,credential:n,allowInsecureConnection:v}))}else if((0,c.isBasicCredential)(n)){t.addPolicy((0,p.basicAuthenticationPolicy)({authSchemes:o,credential:n,allowInsecureConnection:v}))}else if((0,c.isBearerTokenCredential)(n)){t.addPolicy((0,C.bearerAuthenticationPolicy)({authSchemes:o,credential:n,allowInsecureConnection:v}))}else if((0,c.isOAuth2TokenCredential)(n)){t.addPolicy((0,S.oauth2AuthenticationPolicy)({authSchemes:o,credential:n,allowInsecureConnection:v}))}}return t}function getCachedDefaultHttpsClient(){if(!v){v=(0,o.createDefaultHttpClient)()}return v}},86191:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getClient=getClient;const o=n(88728);const i=n(16311);const A=n(37088);const c=n(85086);function getClient(e,t={}){const n=t.pipeline??(0,o.createDefaultPipeline)(t);if(t.additionalPolicies?.length){for(const{policy:e,position:o}of t.additionalPolicies){const t=o==="perRetry"?"Sign":undefined;n.addPolicy(e,{afterPhase:t})}}const{allowInsecureConnection:i,httpClient:c}=t;const d=t.endpoint??e;const client=(e,...t)=>{const getUrl=n=>(0,A.buildRequestUrl)(d,e,t,{allowInsecureConnection:i,...n});return{get:(e={})=>buildOperation("GET",getUrl(e),n,e,i,c),post:(e={})=>buildOperation("POST",getUrl(e),n,e,i,c),put:(e={})=>buildOperation("PUT",getUrl(e),n,e,i,c),patch:(e={})=>buildOperation("PATCH",getUrl(e),n,e,i,c),delete:(e={})=>buildOperation("DELETE",getUrl(e),n,e,i,c),head:(e={})=>buildOperation("HEAD",getUrl(e),n,e,i,c),options:(e={})=>buildOperation("OPTIONS",getUrl(e),n,e,i,c),trace:(e={})=>buildOperation("TRACE",getUrl(e),n,e,i,c)}};return{path:client,pathUnchecked:client,pipeline:n}}function buildOperation(e,t,n,o,A,d){A=o.allowInsecureConnection??A;return{then:function(c,p){return(0,i.sendRequest)(e,t,n,{...o,allowInsecureConnection:A},d).then(c,p)},async asBrowserStream(){if(c.isNodeLike){throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.")}else{return(0,i.sendRequest)(e,t,n,{...o,allowInsecureConnection:A,responseAsStream:true},d)}},async asNodeStream(){if(c.isNodeLike){return(0,i.sendRequest)(e,t,n,{...o,allowInsecureConnection:A,responseAsStream:true},d)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}},18240:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.buildBodyPart=buildBodyPart;t.buildMultipartBody=buildMultipartBody;const o=n(9758);const i=n(4220);const A=n(82921);const c=n(48505);function getHeaderValue(e,t){if(e.headers){const n=Object.keys(e.headers).find((e=>e.toLowerCase()===t.toLowerCase()));if(n){return e.headers[n]}}return undefined}function getPartContentType(e){const t=getHeaderValue(e,"content-type");if(t){return t}if(e.contentType===null){return undefined}if(e.contentType){return e.contentType}const{body:n}=e;if(n===null||n===undefined){return undefined}if(typeof n==="string"||typeof n==="number"||typeof n==="boolean"){return"text/plain; charset=UTF-8"}if(n instanceof Blob){return n.type||"application/octet-stream"}if((0,c.isBinaryBody)(n)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(e){return JSON.stringify(e)}function getContentDisposition(e){const t=getHeaderValue(e,"content-disposition");if(t){return t}if(e.dispositionType===undefined&&e.name===undefined&&e.filename===undefined){return undefined}const n=e.dispositionType??"form-data";let o=n;if(e.name){o+=`; name=${escapeDispositionField(e.name)}`}let i=undefined;if(e.filename){i=e.filename}else if(typeof File!=="undefined"&&e.body instanceof File){const t=e.body.name;if(t!==""){i=t}}if(i){o+=`; filename=${escapeDispositionField(i)}`}return o}function normalizeBody(e,t){if(e===undefined){return new Uint8Array([])}if((0,c.isBinaryBody)(e)){return e}if(typeof e==="string"||typeof e==="number"||typeof e==="boolean"){return(0,A.stringToUint8Array)(String(e),"utf-8")}if(t&&/application\/(.+\+)?json(;.+)?/i.test(String(t))){return(0,A.stringToUint8Array)(JSON.stringify(e),"utf-8")}throw new o.RestError(`Unsupported body/content-type combination: ${e}, ${t}`)}function buildBodyPart(e){const t=getPartContentType(e);const n=getContentDisposition(e);const o=(0,i.createHttpHeaders)(e.headers??{});if(t){o.set("content-type",t)}if(n){o.set("content-disposition",n)}const A=normalizeBody(e.body,t);return{headers:o,body:A}}function buildMultipartBody(e){return{parts:e.map(buildBodyPart)}}},19635:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.operationOptionsToRequestParameters=operationOptionsToRequestParameters;function operationOptionsToRequestParameters(e){return{allowInsecureConnection:e.requestOptions?.allowInsecureConnection,timeout:e.requestOptions?.timeout,skipUrlEncoding:e.requestOptions?.skipUrlEncoding,abortSignal:e.abortSignal,onUploadProgress:e.requestOptions?.onUploadProgress,onDownloadProgress:e.requestOptions?.onDownloadProgress,headers:{...e.requestOptions?.headers},onResponse:e.onResponse}}},97332:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createRestError=createRestError;const o=n(9758);const i=n(4220);function createRestError(e,t){const n=typeof e==="string"?t:e;const i=n.body?.error??n.body;const A=typeof e==="string"?e:i?.message??`Unexpected status code: ${n.status}`;return new o.RestError(A,{statusCode:statusCodeToNumber(n.status),code:i?.code,request:n.request,response:toPipelineResponse(n)})}function toPipelineResponse(e){return{headers:(0,i.createHttpHeaders)(e.headers),request:e.request,status:statusCodeToNumber(e.status)??-1}}function statusCodeToNumber(e){const t=Number.parseInt(e);return Number.isNaN(t)?undefined:t}},16311:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.sendRequest=sendRequest;const o=n(9758);const i=n(4220);const A=n(72305);const c=n(88728);const d=n(48505);const p=n(18240);async function sendRequest(e,t,n,i={},A){const d=A??(0,c.getCachedDefaultHttpsClient)();const p=buildPipelineRequest(e,t,i);try{const e=await n.sendRequest(d,p);const t=e.headers.toJSON();const o=e.readableStreamBody??e.browserStreamBody;const A=i.responseAsStream||o!==undefined?undefined:getResponseBody(e);const c=o??A;if(i?.onResponse){i.onResponse({...e,request:p,rawHeaders:t,parsedBody:A})}return{request:p,headers:t,status:`${e.status}`,body:c}}catch(e){if((0,o.isRestError)(e)&&e.response&&i.onResponse){const{response:t}=e;const n=t.headers.toJSON();i?.onResponse({...t,request:p,rawHeaders:n},e)}throw e}}function getRequestContentType(e={}){return e.contentType??e.headers?.["content-type"]??getContentType(e.body)}function getContentType(e){if(ArrayBuffer.isView(e)){return"application/octet-stream"}if(typeof e==="string"){try{JSON.parse(e);return"application/json"}catch(e){return undefined}}return"application/json"}function buildPipelineRequest(e,t,n={}){const o=getRequestContentType(n);const{body:c,multipartBody:d}=getRequestBody(n.body,o);const p=c!==undefined||d!==undefined;const C=(0,i.createHttpHeaders)({...n.headers?n.headers:{},accept:n.accept??n.headers?.accept??"application/json",...p&&o&&{"content-type":o}});return(0,A.createPipelineRequest)({url:t,method:e,body:c,multipartBody:d,headers:C,allowInsecureConnection:n.allowInsecureConnection,abortSignal:n.abortSignal,onUploadProgress:n.onUploadProgress,onDownloadProgress:n.onDownloadProgress,timeout:n.timeout,enableBrowserStreams:true,streamResponseStatusCodes:n.responseAsStream?new Set([Number.POSITIVE_INFINITY]):undefined})}function getRequestBody(e,t=""){if(e===undefined){return{body:undefined}}if(typeof FormData!=="undefined"&&e instanceof FormData){return{body:e}}if((0,d.isReadableStream)(e)){return{body:e}}if(ArrayBuffer.isView(e)){return{body:e instanceof Uint8Array?e:JSON.stringify(e)}}const n=t.split(";")[0];switch(n){case"application/json":return{body:JSON.stringify(e)};case"multipart/form-data":if(Array.isArray(e)){return{multipartBody:(0,p.buildMultipartBody)(e)}}return{body:JSON.stringify(e)};case"text/plain":return{body:String(e)};default:if(typeof e==="string"){return{body:e}}return{body:JSON.stringify(e)}}}function getResponseBody(e){const t=e.headers.get("content-type")??"";const n=t.split(";")[0];const o=e.bodyAsText??"";if(n==="text/plain"){return String(o)}try{return o?JSON.parse(o):undefined}catch(t){if(n==="application/json"){throw createParseError(e,t)}return String(o)}}function createParseError(e,t){const n=`Error "${t}" occurred while parsing the response body - ${e.bodyAsText}.`;const i=t.code??o.RestError.PARSE_ERROR;return new o.RestError(n,{code:i,statusCode:e.status,request:e.request,response:e})}},37088:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.buildRequestUrl=buildRequestUrl;t.buildBaseUrl=buildBaseUrl;t.replaceAll=replaceAll;function isQueryParameterWithOptions(e){const t=e.value;return t!==undefined&&t.toString!==undefined&&typeof t.toString==="function"}function buildRequestUrl(e,t,n,o={}){if(t.startsWith("https://")||t.startsWith("http://")){return t}e=buildBaseUrl(e,o);t=buildRoutePath(t,n,o);const i=appendQueryParams(`${e}/${t}`,o);const A=new URL(i);return A.toString().replace(/([^:]\/)\/+/g,"$1")}function getQueryParamValue(e,t,n,o){let i;if(n==="pipeDelimited"){i="|"}else if(n==="spaceDelimited"){i="%20"}else{i=","}let A;if(Array.isArray(o)){A=o}else if(typeof o==="object"&&o.toString===Object.prototype.toString){A=Object.entries(o).flat()}else{A=[o]}const c=A.map((n=>{if(n===null||n===undefined){return""}if(!n.toString||typeof n.toString!=="function"){throw new Error(`Query parameters must be able to be represented as string, ${e} can't`)}const o=n.toISOString!==undefined?n.toISOString():n.toString();return t?o:encodeURIComponent(o)})).join(i);return`${t?e:encodeURIComponent(e)}=${c}`}function appendQueryParams(e,t={}){if(!t.queryParameters){return e}const n=new URL(e);const o=t.queryParameters;const i=[];for(const e of Object.keys(o)){const n=o[e];if(n===undefined||n===null){continue}const A=isQueryParameterWithOptions(n);const c=A?n.value:n;const d=A?n.explode??false:false;const p=A&&n.style?n.style:"form";if(d){if(Array.isArray(c)){for(const n of c){i.push(getQueryParamValue(e,t.skipUrlEncoding??false,p,n))}}else if(typeof c==="object"){for(const[e,n]of Object.entries(c)){i.push(getQueryParamValue(e,t.skipUrlEncoding??false,p,n))}}else{throw new Error("explode can only be set to true for objects and arrays")}}else{i.push(getQueryParamValue(e,t.skipUrlEncoding??false,p,c))}}if(n.search!==""){n.search+="&"}n.search+=i.join("&");return n.toString()}function buildBaseUrl(e,t){if(!t.pathParameters){return e}const n=t.pathParameters;for(const[o,i]of Object.entries(n)){if(i===undefined||i===null){throw new Error(`Path parameters ${o} must not be undefined or null`)}if(!i.toString||typeof i.toString!=="function"){throw new Error(`Path parameters must be able to be represented as string, ${o} can't`)}let n=i.toISOString!==undefined?i.toISOString():String(i);if(!t.skipUrlEncoding){n=encodeURIComponent(i)}e=replaceAll(e,`{${o}}`,n)??""}return e}function buildRoutePath(e,t,n={}){for(const o of t){const t=typeof o==="object"&&(o.allowReserved??false);let i=typeof o==="object"?o.value:o;if(!n.skipUrlEncoding&&!t){i=encodeURIComponent(i)}e=e.replace(/\{[\w-]+\}/,String(i))}return e}function replaceAll(e,t,n){return!e||!t?e:e.split(t).join(n||"")}},31255:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_RETRY_POLICY_COUNT=t.SDK_VERSION=void 0;t.SDK_VERSION="0.3.2";t.DEFAULT_RETRY_POLICY_COUNT=3},91810:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createPipelineFromOptions=createPipelineFromOptions;const o=n(47129);const i=n(22338);const A=n(92187);const c=n(91691);const d=n(35035);const p=n(32462);const C=n(14197);const S=n(85086);const v=n(80067);const T=n(85366);const _=n(96690);const V=n(27427);function createPipelineFromOptions(e){const t=(0,i.createEmptyPipeline)();if(S.isNodeLike){if(e.agent){t.addPolicy((0,T.agentPolicy)(e.agent))}if(e.tlsOptions){t.addPolicy((0,_.tlsPolicy)(e.tlsOptions))}t.addPolicy((0,v.proxyPolicy)(e.proxyOptions));t.addPolicy((0,d.decompressResponsePolicy)())}t.addPolicy((0,C.formDataPolicy)(),{beforePolicies:[V.multipartPolicyName]});t.addPolicy((0,c.userAgentPolicy)(e.userAgentOptions));t.addPolicy((0,V.multipartPolicy)(),{afterPhase:"Deserialize"});t.addPolicy((0,p.defaultRetryPolicy)(e.retryOptions),{phase:"Retry"});if(S.isNodeLike){t.addPolicy((0,A.redirectPolicy)(e.redirectOptions),{afterPhase:"Retry"})}t.addPolicy((0,o.logPolicy)(e.loggingOptions),{afterPhase:"Sign"});return t}},69468:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createDefaultHttpClient=createDefaultHttpClient;const o=n(21167);function createDefaultHttpClient(){return(0,o.createNodeHttpClient)()}},4220:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.createHttpHeaders=createHttpHeaders;function normalizeName(e){return e.toLowerCase()}function*headerIterator(e){for(const t of e.values()){yield[t.name,t.value]}}class HttpHeadersImpl{_headersMap;constructor(e){this._headersMap=new Map;if(e){for(const t of Object.keys(e)){this.set(t,e[t])}}}set(e,t){this._headersMap.set(normalizeName(e),{name:e,value:String(t).trim()})}get(e){return this._headersMap.get(normalizeName(e))?.value}has(e){return this._headersMap.has(normalizeName(e))}delete(e){this._headersMap.delete(normalizeName(e))}toJSON(e={}){const t={};if(e.preserveCase){for(const e of this._headersMap.values()){t[e.name]=e.value}}else{for(const[e,n]of this._headersMap){t[e]=n.value}}return t}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(e){return new HttpHeadersImpl(e)}},41958:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createRestError=t.operationOptionsToRequestParameters=t.getClient=t.createDefaultHttpClient=t.uint8ArrayToString=t.stringToUint8Array=t.isRestError=t.RestError=t.createEmptyPipeline=t.createPipelineRequest=t.createHttpHeaders=t.TypeSpecRuntimeLogger=t.setLogLevel=t.getLogLevel=t.createClientLogger=t.AbortError=void 0;const o=n(61860);var i=n(99992);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return i.AbortError}});var A=n(18459);Object.defineProperty(t,"createClientLogger",{enumerable:true,get:function(){return A.createClientLogger}});Object.defineProperty(t,"getLogLevel",{enumerable:true,get:function(){return A.getLogLevel}});Object.defineProperty(t,"setLogLevel",{enumerable:true,get:function(){return A.setLogLevel}});Object.defineProperty(t,"TypeSpecRuntimeLogger",{enumerable:true,get:function(){return A.TypeSpecRuntimeLogger}});var c=n(4220);Object.defineProperty(t,"createHttpHeaders",{enumerable:true,get:function(){return c.createHttpHeaders}});o.__exportStar(n(92097),t);o.__exportStar(n(43097),t);var d=n(72305);Object.defineProperty(t,"createPipelineRequest",{enumerable:true,get:function(){return d.createPipelineRequest}});var p=n(22338);Object.defineProperty(t,"createEmptyPipeline",{enumerable:true,get:function(){return p.createEmptyPipeline}});var C=n(9758);Object.defineProperty(t,"RestError",{enumerable:true,get:function(){return C.RestError}});Object.defineProperty(t,"isRestError",{enumerable:true,get:function(){return C.isRestError}});var S=n(82921);Object.defineProperty(t,"stringToUint8Array",{enumerable:true,get:function(){return S.stringToUint8Array}});Object.defineProperty(t,"uint8ArrayToString",{enumerable:true,get:function(){return S.uint8ArrayToString}});var v=n(69468);Object.defineProperty(t,"createDefaultHttpClient",{enumerable:true,get:function(){return v.createDefaultHttpClient}});var T=n(86191);Object.defineProperty(t,"getClient",{enumerable:true,get:function(){return T.getClient}});var _=n(19635);Object.defineProperty(t,"operationOptionsToRequestParameters",{enumerable:true,get:function(){return _.operationOptionsToRequestParameters}});var V=n(97332);Object.defineProperty(t,"createRestError",{enumerable:true,get:function(){return V.createRestError}})},3644:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const o=n(18459);t.logger=(0,o.createClientLogger)("ts-http-runtime")},36836:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});const o=n(38029);const i=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let A;let c=[];let d=[];const p=[];if(i){enable(i)}const C=Object.assign((e=>createDebugger(e)),{enable:enable,enabled:enabled,disable:disable,log:o.log});function enable(e){A=e;c=[];d=[];const t=e.split(",").map((e=>e.trim()));for(const e of t){if(e.startsWith("-")){d.push(e.substring(1))}else{c.push(e)}}for(const e of p){e.enabled=enabled(e.namespace)}}function enabled(e){if(e.endsWith("*")){return true}for(const t of d){if(namespaceMatches(e,t)){return false}}for(const t of c){if(namespaceMatches(e,t)){return true}}return false}function namespaceMatches(e,t){if(t.indexOf("*")===-1){return e===t}let n=t;if(t.indexOf("**")!==-1){const e=[];let o="";for(const n of t){if(n==="*"&&o==="*"){continue}else{o=n;e.push(n)}}n=e.join("")}let o=0;let i=0;const A=n.length;const c=e.length;let d=-1;let p=-1;while(o=0){i=d+1;o=p+1;if(o===c){return false}while(e[o]!==n[i]){o++;if(o===c){return false}}p=o;o++;i++;continue}else{return false}}const C=o===e.length;const S=i===n.length;const v=i===n.length-1&&n[i]==="*";return C&&(S||v)}function disable(){const e=A||"";enable("");return e}function createDebugger(e){const t=Object.assign(debug,{enabled:enabled(e),destroy:destroy,log:C.log,namespace:e,extend:extend});function debug(...n){if(!t.enabled){return}if(n.length>0){n[0]=`${e} ${n[0]}`}t.log(...n)}p.push(t);return t}function destroy(){const e=p.indexOf(this);if(e>=0){p.splice(e,1);return true}return false}function extend(e){const t=createDebugger(`${this.namespace}:${e}`);t.log=this.log;return t}t["default"]=C},82490:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createLoggerContext=void 0;var o=n(18459);Object.defineProperty(t,"createLoggerContext",{enumerable:true,get:function(){return o.createLoggerContext}})},38029:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.log=log;const o=n(61860);const i=n(48161);const A=o.__importDefault(n(57975));const c=o.__importDefault(n(1708));function log(e,...t){c.default.stderr.write(`${A.default.format(e,...t)}${i.EOL}`)}},18459:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.TypeSpecRuntimeLogger=void 0;t.createLoggerContext=createLoggerContext;t.setLogLevel=setLogLevel;t.getLogLevel=getLogLevel;t.createClientLogger=createClientLogger;const o=n(61860);const i=o.__importDefault(n(36836));const A=["verbose","info","warning","error"];const c={verbose:400,info:300,warning:200,error:100};function patchLogMethod(e,t){t.log=(...t)=>{e.log(...t)}}function isTypeSpecRuntimeLogLevel(e){return A.includes(e)}function createLoggerContext(e){const t=new Set;const n=typeof process!=="undefined"&&process.env&&process.env[e.logLevelEnvVarName]||undefined;let o;const d=(0,i.default)(e.namespace);d.log=(...e)=>{i.default.log(...e)};function contextSetLogLevel(e){if(e&&!isTypeSpecRuntimeLogLevel(e)){throw new Error(`Unknown log level '${e}'. Acceptable values: ${A.join(",")}`)}o=e;const n=[];for(const e of t){if(shouldEnable(e)){n.push(e.namespace)}}i.default.enable(n.join(","))}if(n){if(isTypeSpecRuntimeLogLevel(n)){contextSetLogLevel(n)}else{console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${A.join(", ")}.`)}}function shouldEnable(e){return Boolean(o&&c[e.level]<=c[o])}function createLogger(e,n){const o=Object.assign(e.extend(n),{level:n});patchLogMethod(e,o);if(shouldEnable(o)){const e=i.default.disable();i.default.enable(e+","+o.namespace)}t.add(o);return o}function contextGetLogLevel(){return o}function contextCreateClientLogger(e){const t=d.extend(e);patchLogMethod(d,t);return{error:createLogger(t,"error"),warning:createLogger(t,"warning"),info:createLogger(t,"info"),verbose:createLogger(t,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:d}}const d=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});t.TypeSpecRuntimeLogger=d.logger;function setLogLevel(e){d.setLogLevel(e)}function getLogLevel(){return d.getLogLevel()}function createClientLogger(e){return d.createClientLogger(e)}},21167:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getBodyLength=getBodyLength;t.createNodeHttpClient=createNodeHttpClient;const o=n(61860);const i=o.__importDefault(n(37067));const A=o.__importDefault(n(44708));const c=o.__importDefault(n(38522));const d=n(57075);const p=n(99992);const C=n(4220);const S=n(9758);const v=n(3644);const T=n(7784);const _={};function isReadableStream(e){return e&&typeof e.pipe==="function"}function isStreamComplete(e){if(e.readable===false){return Promise.resolve()}return new Promise((t=>{const handler=()=>{t();e.removeListener("close",handler);e.removeListener("end",handler);e.removeListener("error",handler)};e.on("close",handler);e.on("end",handler);e.on("error",handler)}))}function isArrayBuffer(e){return e&&typeof e.byteLength==="number"}class ReportTransform extends d.Transform{loadedBytes=0;progressCallback;_transform(e,t,n){this.push(e);this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes});n()}catch(e){n(e)}}constructor(e){super();this.progressCallback=e}}class NodeHttpClient{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){const t=new AbortController;let n;if(e.abortSignal){if(e.abortSignal.aborted){throw new p.AbortError("The operation was aborted. Request has already been canceled.")}n=e=>{if(e.type==="abort"){t.abort()}};e.abortSignal.addEventListener("abort",n)}let o;if(e.timeout>0){o=setTimeout((()=>{const n=new T.Sanitizer;v.logger.info(`request to '${n.sanitizeUrl(e.url)}' timed out. canceling...`);t.abort()}),e.timeout)}const i=e.headers.get("Accept-Encoding");const A=i?.includes("gzip")||i?.includes("deflate");let c=typeof e.body==="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){const t=getBodyLength(c);if(t!==null){e.headers.set("Content-Length",t)}}let d;try{if(c&&e.onUploadProgress){const t=e.onUploadProgress;const n=new ReportTransform(t);n.on("error",(e=>{v.logger.error("Error in upload progress",e)}));if(isReadableStream(c)){c.pipe(n)}else{n.end(c)}c=n}const n=await this.makeRequest(e,t,c);if(o!==undefined){clearTimeout(o)}const i=getResponseHeaders(n);const p=n.statusCode??0;const C={status:p,headers:i,request:e};if(e.method==="HEAD"){n.resume();return C}d=A?getDecodedResponseStream(n,i):n;const S=e.onDownloadProgress;if(S){const e=new ReportTransform(S);e.on("error",(e=>{v.logger.error("Error in download progress",e)}));d.pipe(e);d=e}if(e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(C.status)){C.readableStreamBody=d}else{C.bodyAsText=await streamToText(d)}return C}finally{if(e.abortSignal&&n){let t=Promise.resolve();if(isReadableStream(c)){t=isStreamComplete(c)}let o=Promise.resolve();if(isReadableStream(d)){o=isStreamComplete(d)}Promise.all([t,o]).then((()=>{if(n){e.abortSignal?.removeEventListener("abort",n)}})).catch((e=>{v.logger.warning("Error when cleaning up abortListener on httpRequest",e)}))}}}makeRequest(e,t,n){const o=new URL(e.url);const c=o.protocol!=="https:";if(c&&!e.allowInsecureConnection){throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`)}const d=e.agent??this.getOrCreateAgent(e,c);const C={agent:d,hostname:o.hostname,path:`${o.pathname}${o.search}`,port:o.port,method:e.method,headers:e.headers.toJSON({preserveCase:true}),...e.requestOverrides};return new Promise(((o,d)=>{const T=c?i.default.request(C,o):A.default.request(C,o);T.once("error",(t=>{d(new S.RestError(t.message,{code:t.code??S.RestError.REQUEST_SEND_ERROR,request:e}))}));t.signal.addEventListener("abort",(()=>{const e=new p.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");T.destroy(e);d(e)}));if(n&&isReadableStream(n)){n.pipe(T)}else if(n){if(typeof n==="string"||Buffer.isBuffer(n)){T.end(n)}else if(isArrayBuffer(n)){T.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n))}else{v.logger.error("Unrecognized body type",n);d(new S.RestError("Unrecognized body type"))}}else{T.end()}}))}getOrCreateAgent(e,t){const n=e.disableKeepAlive;if(t){if(n){return i.default.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new i.default.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(n&&!e.tlsSettings){return A.default.globalAgent}const t=e.tlsSettings??_;let o=this.cachedHttpsAgents.get(t);if(o&&o.options.keepAlive===!n){return o}v.logger.info("No cached TLS Agent exist, creating a new Agent");o=new A.default.Agent({keepAlive:!n,...t});this.cachedHttpsAgents.set(t,o);return o}}}function getResponseHeaders(e){const t=(0,C.createHttpHeaders)();for(const n of Object.keys(e.headers)){const o=e.headers[n];if(Array.isArray(o)){if(o.length>0){t.set(n,o[0])}}else if(o){t.set(n,o)}}return t}function getDecodedResponseStream(e,t){const n=t.get("Content-Encoding");if(n==="gzip"){const t=c.default.createGunzip();e.pipe(t);return t}else if(n==="deflate"){const t=c.default.createInflate();e.pipe(t);return t}return e}function streamToText(e){return new Promise(((t,n)=>{const o=[];e.on("data",(e=>{if(Buffer.isBuffer(e)){o.push(e)}else{o.push(Buffer.from(e))}}));e.on("end",(()=>{t(Buffer.concat(o).toString("utf8"))}));e.on("error",(e=>{if(e&&e?.name==="AbortError"){n(e)}else{n(new S.RestError(`Error reading response as text: ${e.message}`,{code:S.RestError.PARSE_ERROR}))}}))}))}function getBodyLength(e){if(!e){return 0}else if(Buffer.isBuffer(e)){return e.length}else if(isReadableStream(e)){return null}else if(isArrayBuffer(e)){return e.byteLength}else if(typeof e==="string"){return Buffer.from(e).length}else{return null}}function createNodeHttpClient(){return new NodeHttpClient}},22338:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.createEmptyPipeline=createEmptyPipeline;const n=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[];this._orderedPolicies=undefined}addPolicy(e,t={}){if(t.phase&&t.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(t.phase&&!n.has(t.phase)){throw new Error(`Invalid phase name: ${t.phase}`)}if(t.afterPhase&&!n.has(t.afterPhase)){throw new Error(`Invalid afterPhase name: ${t.afterPhase}`)}this._policies.push({policy:e,options:t});this._orderedPolicies=undefined}removePolicy(e){const t=[];this._policies=this._policies.filter((n=>{if(e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase){t.push(n.policy);return false}else{return true}}));this._orderedPolicies=undefined;return t}sendRequest(e,t){const n=this.getOrderedPolicies();const o=n.reduceRight(((e,t)=>n=>t.sendRequest(n,e)),(t=>e.sendRequest(t)));return o(t)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const e=[];const t=new Map;function createPhase(e){return{name:e,policies:new Set,hasRun:false,hasAfterPolicies:false}}const n=createPhase("Serialize");const o=createPhase("None");const i=createPhase("Deserialize");const A=createPhase("Retry");const c=createPhase("Sign");const d=[n,o,i,A,c];function getPhase(e){if(e==="Retry"){return A}else if(e==="Serialize"){return n}else if(e==="Deserialize"){return i}else if(e==="Sign"){return c}else{return o}}for(const e of this._policies){const n=e.policy;const o=e.options;const i=n.name;if(t.has(i)){throw new Error("Duplicate policy names not allowed in pipeline")}const A={policy:n,dependsOn:new Set,dependants:new Set};if(o.afterPhase){A.afterPhase=getPhase(o.afterPhase);A.afterPhase.hasAfterPolicies=true}t.set(i,A);const c=getPhase(o.phase);c.policies.add(A)}for(const e of this._policies){const{policy:n,options:o}=e;const i=n.name;const A=t.get(i);if(!A){throw new Error(`Missing node for policy ${i}`)}if(o.afterPolicies){for(const e of o.afterPolicies){const n=t.get(e);if(n){A.dependsOn.add(n);n.dependants.add(A)}}}if(o.beforePolicies){for(const e of o.beforePolicies){const n=t.get(e);if(n){n.dependsOn.add(A);A.dependants.add(n)}}}}function walkPhase(n){n.hasRun=true;for(const o of n.policies){if(o.afterPhase&&(!o.afterPhase.hasRun||o.afterPhase.policies.size)){continue}if(o.dependsOn.size===0){e.push(o.policy);for(const e of o.dependants){e.dependsOn.delete(o)}t.delete(o.policy.name);n.policies.delete(o)}}}function walkPhases(){for(const e of d){walkPhase(e);if(e.policies.size>0&&e!==o){if(!o.hasRun){walkPhase(o)}return}if(e.hasAfterPolicies){walkPhase(o)}}}let p=0;while(t.size>0){p++;const t=e.length;walkPhases();if(e.length<=t&&p>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return e}}function createEmptyPipeline(){return HttpPipeline.create()}},72305:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.createPipelineRequest=createPipelineRequest;const o=n(4220);const i=n(5023);class PipelineRequestImpl{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url;this.body=e.body;this.headers=e.headers??(0,o.createHttpHeaders)();this.method=e.method??"GET";this.timeout=e.timeout??0;this.multipartBody=e.multipartBody;this.formData=e.formData;this.disableKeepAlive=e.disableKeepAlive??false;this.proxySettings=e.proxySettings;this.streamResponseStatusCodes=e.streamResponseStatusCodes;this.withCredentials=e.withCredentials??false;this.abortSignal=e.abortSignal;this.onUploadProgress=e.onUploadProgress;this.onDownloadProgress=e.onDownloadProgress;this.requestId=e.requestId||(0,i.randomUUID)();this.allowInsecureConnection=e.allowInsecureConnection??false;this.enableBrowserStreams=e.enableBrowserStreams??false;this.requestOverrides=e.requestOverrides;this.authSchemes=e.authSchemes}}function createPipelineRequest(e){return new PipelineRequestImpl(e)}},85366:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.agentPolicyName=void 0;t.agentPolicy=agentPolicy;t.agentPolicyName="agentPolicy";function agentPolicy(e){return{name:t.agentPolicyName,sendRequest:async(t,n)=>{if(!t.agent){t.agent=e}return n(t)}}}},42095:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.apiKeyAuthenticationPolicyName=void 0;t.apiKeyAuthenticationPolicy=apiKeyAuthenticationPolicy;const o=n(42302);t.apiKeyAuthenticationPolicyName="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy(e){return{name:t.apiKeyAuthenticationPolicyName,async sendRequest(t,n){(0,o.ensureSecureConnection)(t,e);const i=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="apiKey"));if(!i){return n(t)}if(i.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${i.apiKeyLocation}`)}t.headers.set(i.name,e.credential.key);return n(t)}}}},15756:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.basicAuthenticationPolicyName=void 0;t.basicAuthenticationPolicy=basicAuthenticationPolicy;const o=n(82921);const i=n(42302);t.basicAuthenticationPolicyName="bearerAuthenticationPolicy";function basicAuthenticationPolicy(e){return{name:t.basicAuthenticationPolicyName,async sendRequest(t,n){(0,i.ensureSecureConnection)(t,e);const A=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="http"&&e.scheme==="basic"));if(!A){return n(t)}const{username:c,password:d}=e.credential;const p=(0,o.uint8ArrayToString)((0,o.stringToUint8Array)(`${c}:${d}`,"utf-8"),"base64");t.headers.set("Authorization",`Basic ${p}`);return n(t)}}}},89709:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.bearerAuthenticationPolicyName=void 0;t.bearerAuthenticationPolicy=bearerAuthenticationPolicy;const o=n(42302);t.bearerAuthenticationPolicyName="bearerAuthenticationPolicy";function bearerAuthenticationPolicy(e){return{name:t.bearerAuthenticationPolicyName,async sendRequest(t,n){(0,o.ensureSecureConnection)(t,e);const i=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="http"&&e.scheme==="bearer"));if(!i){return n(t)}const A=await e.credential.getBearerToken({abortSignal:t.abortSignal});t.headers.set("Authorization",`Bearer ${A}`);return n(t)}}}},42302:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.ensureSecureConnection=ensureSecureConnection;const o=n(3644);let i=false;function allowInsecureConnection(e,t){if(t.allowInsecureConnection&&e.allowInsecureConnection){const t=new URL(e.url);if(t.hostname==="localhost"||t.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const e="Sending token over insecure transport. Assume any token issued is compromised.";o.logger.warning(e);if(typeof process?.emitWarning==="function"&&!i){i=true;process.emitWarning(e)}}function ensureSecureConnection(e,t){if(!e.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(e,t)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}},20219:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.oauth2AuthenticationPolicyName=void 0;t.oauth2AuthenticationPolicy=oauth2AuthenticationPolicy;const o=n(42302);t.oauth2AuthenticationPolicyName="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy(e){return{name:t.oauth2AuthenticationPolicyName,async sendRequest(t,n){(0,o.ensureSecureConnection)(t,e);const i=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="oauth2"));if(!i){return n(t)}const A=await e.credential.getOAuth2Token(i.flows,{abortSignal:t.abortSignal});t.headers.set("Authorization",`Bearer ${A}`);return n(t)}}}},35035:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.decompressResponsePolicyName=void 0;t.decompressResponsePolicy=decompressResponsePolicy;t.decompressResponsePolicyName="decompressResponsePolicy";function decompressResponsePolicy(){return{name:t.decompressResponsePolicyName,async sendRequest(e,t){if(e.method!=="HEAD"){e.headers.set("Accept-Encoding","gzip,deflate")}return t(e)}}}},32462:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.defaultRetryPolicyName=void 0;t.defaultRetryPolicy=defaultRetryPolicy;const o=n(98102);const i=n(21112);const A=n(43345);const c=n(31255);t.defaultRetryPolicyName="defaultRetryPolicy";function defaultRetryPolicy(e={}){return{name:t.defaultRetryPolicyName,sendRequest:(0,A.retryPolicy)([(0,i.throttlingRetryStrategy)(),(0,o.exponentialRetryStrategy)(e)],{maxRetries:e.maxRetries??c.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},74656:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryPolicyName=void 0;t.exponentialRetryPolicy=exponentialRetryPolicy;const o=n(98102);const i=n(43345);const A=n(31255);t.exponentialRetryPolicyName="exponentialRetryPolicy";function exponentialRetryPolicy(e={}){return(0,i.retryPolicy)([(0,o.exponentialRetryStrategy)({...e,ignoreSystemErrors:true})],{maxRetries:e.maxRetries??A.DEFAULT_RETRY_POLICY_COUNT})}},14197:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.formDataPolicyName=void 0;t.formDataPolicy=formDataPolicy;const o=n(82921);const i=n(85086);const A=n(4220);t.formDataPolicyName="formDataPolicy";function formDataToFormDataMap(e){const t={};for(const[n,o]of e.entries()){t[n]??=[];t[n].push(o)}return t}function formDataPolicy(){return{name:t.formDataPolicyName,async sendRequest(e,t){if(i.isNodeLike&&typeof FormData!=="undefined"&&e.body instanceof FormData){e.formData=formDataToFormDataMap(e.body);e.body=undefined}if(e.formData){const t=e.headers.get("Content-Type");if(t&&t.indexOf("application/x-www-form-urlencoded")!==-1){e.body=wwwFormUrlEncode(e.formData)}else{await prepareFormData(e.formData,e)}e.formData=undefined}return t(e)}}}function wwwFormUrlEncode(e){const t=new URLSearchParams;for(const[n,o]of Object.entries(e)){if(Array.isArray(o)){for(const e of o){t.append(n,e.toString())}}else{t.append(n,o.toString())}}return t.toString()}async function prepareFormData(e,t){const n=t.headers.get("Content-Type");if(n&&!n.startsWith("multipart/form-data")){return}t.headers.set("Content-Type",n??"multipart/form-data");const i=[];for(const[t,n]of Object.entries(e)){for(const e of Array.isArray(n)?n:[n]){if(typeof e==="string"){i.push({headers:(0,A.createHttpHeaders)({"Content-Disposition":`form-data; name="${t}"`}),body:(0,o.stringToUint8Array)(e,"utf-8")})}else if(e===undefined||e===null||typeof e!=="object"){throw new Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`)}else{const n=e.name||"blob";const o=(0,A.createHttpHeaders)();o.set("Content-Disposition",`form-data; name="${t}"; filename="${n}"`);o.set("Content-Type",e.type||"application/octet-stream");i.push({headers:o,body:e})}}}t.multipartBody={parts:i}}},44960:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.userAgentPolicyName=t.userAgentPolicy=t.tlsPolicyName=t.tlsPolicy=t.redirectPolicyName=t.redirectPolicy=t.getDefaultProxySettings=t.proxyPolicyName=t.proxyPolicy=t.multipartPolicyName=t.multipartPolicy=t.logPolicyName=t.logPolicy=t.formDataPolicyName=t.formDataPolicy=t.throttlingRetryPolicyName=t.throttlingRetryPolicy=t.systemErrorRetryPolicyName=t.systemErrorRetryPolicy=t.retryPolicy=t.exponentialRetryPolicyName=t.exponentialRetryPolicy=t.defaultRetryPolicyName=t.defaultRetryPolicy=t.decompressResponsePolicyName=t.decompressResponsePolicy=t.agentPolicyName=t.agentPolicy=void 0;var o=n(85366);Object.defineProperty(t,"agentPolicy",{enumerable:true,get:function(){return o.agentPolicy}});Object.defineProperty(t,"agentPolicyName",{enumerable:true,get:function(){return o.agentPolicyName}});var i=n(35035);Object.defineProperty(t,"decompressResponsePolicy",{enumerable:true,get:function(){return i.decompressResponsePolicy}});Object.defineProperty(t,"decompressResponsePolicyName",{enumerable:true,get:function(){return i.decompressResponsePolicyName}});var A=n(32462);Object.defineProperty(t,"defaultRetryPolicy",{enumerable:true,get:function(){return A.defaultRetryPolicy}});Object.defineProperty(t,"defaultRetryPolicyName",{enumerable:true,get:function(){return A.defaultRetryPolicyName}});var c=n(74656);Object.defineProperty(t,"exponentialRetryPolicy",{enumerable:true,get:function(){return c.exponentialRetryPolicy}});Object.defineProperty(t,"exponentialRetryPolicyName",{enumerable:true,get:function(){return c.exponentialRetryPolicyName}});var d=n(43345);Object.defineProperty(t,"retryPolicy",{enumerable:true,get:function(){return d.retryPolicy}});var p=n(92418);Object.defineProperty(t,"systemErrorRetryPolicy",{enumerable:true,get:function(){return p.systemErrorRetryPolicy}});Object.defineProperty(t,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return p.systemErrorRetryPolicyName}});var C=n(24728);Object.defineProperty(t,"throttlingRetryPolicy",{enumerable:true,get:function(){return C.throttlingRetryPolicy}});Object.defineProperty(t,"throttlingRetryPolicyName",{enumerable:true,get:function(){return C.throttlingRetryPolicyName}});var S=n(14197);Object.defineProperty(t,"formDataPolicy",{enumerable:true,get:function(){return S.formDataPolicy}});Object.defineProperty(t,"formDataPolicyName",{enumerable:true,get:function(){return S.formDataPolicyName}});var v=n(47129);Object.defineProperty(t,"logPolicy",{enumerable:true,get:function(){return v.logPolicy}});Object.defineProperty(t,"logPolicyName",{enumerable:true,get:function(){return v.logPolicyName}});var T=n(27427);Object.defineProperty(t,"multipartPolicy",{enumerable:true,get:function(){return T.multipartPolicy}});Object.defineProperty(t,"multipartPolicyName",{enumerable:true,get:function(){return T.multipartPolicyName}});var _=n(80067);Object.defineProperty(t,"proxyPolicy",{enumerable:true,get:function(){return _.proxyPolicy}});Object.defineProperty(t,"proxyPolicyName",{enumerable:true,get:function(){return _.proxyPolicyName}});Object.defineProperty(t,"getDefaultProxySettings",{enumerable:true,get:function(){return _.getDefaultProxySettings}});var V=n(92187);Object.defineProperty(t,"redirectPolicy",{enumerable:true,get:function(){return V.redirectPolicy}});Object.defineProperty(t,"redirectPolicyName",{enumerable:true,get:function(){return V.redirectPolicyName}});var Z=n(96690);Object.defineProperty(t,"tlsPolicy",{enumerable:true,get:function(){return Z.tlsPolicy}});Object.defineProperty(t,"tlsPolicyName",{enumerable:true,get:function(){return Z.tlsPolicyName}});var ee=n(91691);Object.defineProperty(t,"userAgentPolicy",{enumerable:true,get:function(){return ee.userAgentPolicy}});Object.defineProperty(t,"userAgentPolicyName",{enumerable:true,get:function(){return ee.userAgentPolicyName}})},47129:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.logPolicyName=void 0;t.logPolicy=logPolicy;const o=n(3644);const i=n(7784);t.logPolicyName="logPolicy";function logPolicy(e={}){const n=e.logger??o.logger.info;const A=new i.Sanitizer({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:t.logPolicyName,async sendRequest(e,t){if(!n.enabled){return t(e)}n(`Request: ${A.sanitize(e)}`);const o=await t(e);n(`Response status code: ${o.status}`);n(`Headers: ${A.sanitize(o.headers)}`);return o}}}},27427:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.multipartPolicyName=void 0;t.multipartPolicy=multipartPolicy;const o=n(82921);const i=n(48505);const A=n(5023);const c=n(20547);function generateBoundary(){return`----AzSDKFormBoundary${(0,A.randomUUID)()}`}function encodeHeaders(e){let t="";for(const[n,o]of e){t+=`${n}: ${o}\r\n`}return t}function getLength(e){if(e instanceof Uint8Array){return e.byteLength}else if((0,i.isBlob)(e)){return e.size===-1?undefined:e.size}else{return undefined}}function getTotalLength(e){let t=0;for(const n of e){const e=getLength(n);if(e===undefined){return undefined}else{t+=e}}return t}async function buildRequestBody(e,t,n){const i=[(0,o.stringToUint8Array)(`--${n}`,"utf-8"),...t.flatMap((e=>[(0,o.stringToUint8Array)("\r\n","utf-8"),(0,o.stringToUint8Array)(encodeHeaders(e.headers),"utf-8"),(0,o.stringToUint8Array)("\r\n","utf-8"),e.body,(0,o.stringToUint8Array)(`\r\n--${n}`,"utf-8")])),(0,o.stringToUint8Array)("--\r\n\r\n","utf-8")];const A=getTotalLength(i);if(A){e.headers.set("Content-Length",A)}e.body=await(0,c.concat)(i)}t.multipartPolicyName="multipartPolicy";const d=70;const p=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(e){if(e.length>d){throw new Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`)}if(Array.from(e).some((e=>!p.has(e)))){throw new Error(`Multipart boundary "${e}" contains invalid characters`)}}function multipartPolicy(){return{name:t.multipartPolicyName,async sendRequest(e,t){if(!e.multipartBody){return t(e)}if(e.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let n=e.multipartBody.boundary;const o=e.headers.get("Content-Type")??"multipart/mixed";const i=o.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i){throw new Error(`Got multipart request body, but content-type header was not multipart: ${o}`)}const[,A,c]=i;if(c&&n&&c!==n){throw new Error(`Multipart boundary was specified as ${c} in the header, but got ${n} in the request body`)}n??=c;if(n){assertValidBoundary(n)}else{n=generateBoundary()}e.headers.set("Content-Type",`${A}; boundary=${n}`);await buildRequestBody(e,e.multipartBody.parts,n);e.multipartBody=undefined;return t(e)}}}},80067:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.globalNoProxyList=t.proxyPolicyName=void 0;t.loadNoProxy=loadNoProxy;t.getDefaultProxySettings=getDefaultProxySettings;t.proxyPolicy=proxyPolicy;const o=n(3669);const i=n(81970);const A=n(3644);const c="HTTPS_PROXY";const d="HTTP_PROXY";const p="ALL_PROXY";const C="NO_PROXY";t.proxyPolicyName="proxyPolicy";t.globalNoProxyList=[];let S=false;const v=new Map;function getEnvironmentValue(e){if(process.env[e]){return process.env[e]}else if(process.env[e.toLowerCase()]){return process.env[e.toLowerCase()]}return undefined}function loadEnvironmentProxyValue(){if(!process){return undefined}const e=getEnvironmentValue(c);const t=getEnvironmentValue(p);const n=getEnvironmentValue(d);return e||t||n}function isBypassed(e,t,n){if(t.length===0){return false}const o=new URL(e).hostname;if(n?.has(o)){return n.get(o)}let i=false;for(const e of t){if(e[0]==="."){if(o.endsWith(e)){i=true}else{if(o.length===e.length-1&&o===e.slice(1)){i=true}}}else{if(o===e){i=true}}}n?.set(o,i);return i}function loadNoProxy(){const e=getEnvironmentValue(C);S=true;if(e){return e.split(",").map((e=>e.trim())).filter((e=>e.length))}return[]}function getDefaultProxySettings(e){if(!e){e=loadEnvironmentProxyValue();if(!e){return undefined}}const t=new URL(e);const n=t.protocol?t.protocol+"//":"";return{host:n+t.hostname,port:Number.parseInt(t.port||"80"),username:t.username,password:t.password}}function getDefaultProxySettingsInternal(){const e=loadEnvironmentProxyValue();return e?new URL(e):undefined}function getUrlFromProxySettings(e){let t;try{t=new URL(e.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}t.port=String(e.port);if(e.username){t.username=e.username}if(e.password){t.password=e.password}return t}function setProxyAgentOnRequest(e,t,n){if(e.agent){return}const c=new URL(e.url);const d=c.protocol!=="https:";if(e.tlsSettings){A.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const p=e.headers.toJSON();if(d){if(!t.httpProxyAgent){t.httpProxyAgent=new i.HttpProxyAgent(n,{headers:p})}e.agent=t.httpProxyAgent}else{if(!t.httpsProxyAgent){t.httpsProxyAgent=new o.HttpsProxyAgent(n,{headers:p})}e.agent=t.httpsProxyAgent}}function proxyPolicy(e,n){if(!S){t.globalNoProxyList.push(...loadNoProxy())}const o=e?getUrlFromProxySettings(e):getDefaultProxySettingsInternal();const i={};return{name:t.proxyPolicyName,async sendRequest(e,A){if(!e.proxySettings&&o&&!isBypassed(e.url,n?.customNoProxyList??t.globalNoProxyList,n?.customNoProxyList?undefined:v)){setProxyAgentOnRequest(e,i,o)}else if(e.proxySettings){setProxyAgentOnRequest(e,i,getUrlFromProxySettings(e.proxySettings))}return A(e)}}}},92187:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.redirectPolicyName=void 0;t.redirectPolicy=redirectPolicy;t.redirectPolicyName="redirectPolicy";const n=["GET","HEAD"];function redirectPolicy(e={}){const{maxRetries:n=20}=e;return{name:t.redirectPolicyName,async sendRequest(e,t){const o=await t(e);return handleRedirect(t,o,n)}}}async function handleRedirect(e,t,o,i=0){const{request:A,status:c,headers:d}=t;const p=d.get("location");if(p&&(c===300||c===301&&n.includes(A.method)||c===302&&n.includes(A.method)||c===303&&A.method==="POST"||c===307)&&i{Object.defineProperty(t,"__esModule",{value:true});t.retryPolicy=retryPolicy;const o=n(77566);const i=n(99992);const A=n(18459);const c=n(31255);const d=(0,A.createClientLogger)("ts-http-runtime retryPolicy");const p="retryPolicy";function retryPolicy(e,t={maxRetries:c.DEFAULT_RETRY_POLICY_COUNT}){const n=t.logger||d;return{name:p,async sendRequest(A,d){let p;let C;let S=-1;e:while(true){S+=1;p=undefined;C=undefined;try{n.info(`Retry ${S}: Attempting to send request`,A.requestId);p=await d(A);n.info(`Retry ${S}: Received a response from request`,A.requestId)}catch(e){n.error(`Retry ${S}: Received an error from request`,A.requestId);C=e;if(!e||C.name!=="RestError"){throw e}p=C.response}if(A.abortSignal?.aborted){n.error(`Retry ${S}: Request aborted.`);const e=new i.AbortError;throw e}if(S>=(t.maxRetries??c.DEFAULT_RETRY_POLICY_COUNT)){n.info(`Retry ${S}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(C){throw C}else if(p){return p}else{throw new Error("Maximum retries reached with no response or error to throw")}}n.info(`Retry ${S}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||n;e.info(`Retry ${S}: Processing retry strategy ${t.name}.`);const i=t.retry({retryCount:S,response:p,responseError:C});if(i.skipStrategy){e.info(`Retry ${S}: Skipped.`);continue t}const{errorToThrow:c,retryAfterInMs:d,redirectTo:v}=i;if(c){e.error(`Retry ${S}: Retry strategy ${t.name} throws error:`,c);throw c}if(d||d===0){e.info(`Retry ${S}: Retry strategy ${t.name} retries after ${d}`);await(0,o.delay)(d,undefined,{abortSignal:A.abortSignal});continue e}if(v){e.info(`Retry ${S}: Retry strategy ${t.name} redirects to ${v}`);A.url=v;continue e}}if(C){n.info(`None of the retry strategies could work with the received error. Throwing it.`);throw C}if(p){n.info(`None of the retry strategies could work with the received response. Returning it.`);return p}}}}}},92418:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.systemErrorRetryPolicyName=void 0;t.systemErrorRetryPolicy=systemErrorRetryPolicy;const o=n(98102);const i=n(43345);const A=n(31255);t.systemErrorRetryPolicyName="systemErrorRetryPolicy";function systemErrorRetryPolicy(e={}){return{name:t.systemErrorRetryPolicyName,sendRequest:(0,i.retryPolicy)([(0,o.exponentialRetryStrategy)({...e,ignoreHttpStatusCodes:true})],{maxRetries:e.maxRetries??A.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},24728:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.throttlingRetryPolicyName=void 0;t.throttlingRetryPolicy=throttlingRetryPolicy;const o=n(21112);const i=n(43345);const A=n(31255);t.throttlingRetryPolicyName="throttlingRetryPolicy";function throttlingRetryPolicy(e={}){return{name:t.throttlingRetryPolicyName,sendRequest:(0,i.retryPolicy)([(0,o.throttlingRetryStrategy)()],{maxRetries:e.maxRetries??A.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},96690:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.tlsPolicyName=void 0;t.tlsPolicy=tlsPolicy;t.tlsPolicyName="tlsPolicy";function tlsPolicy(e){return{name:t.tlsPolicyName,sendRequest:async(t,n)=>{if(!t.tlsSettings){t.tlsSettings=e}return n(t)}}}},91691:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.userAgentPolicyName=void 0;t.userAgentPolicy=userAgentPolicy;const o=n(62731);const i=(0,o.getUserAgentHeaderName)();t.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(e={}){const n=(0,o.getUserAgentValue)(e.userAgentPrefix);return{name:t.userAgentPolicyName,async sendRequest(e,t){if(!e.headers.has(i)){e.headers.set(i,await n)}return t(e)}}}},9758:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.RestError=void 0;t.isRestError=isRestError;const o=n(52573);const i=n(37639);const A=n(7784);const c=new A.Sanitizer;class RestError extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e);this.name="RestError";this.code=t.code;this.statusCode=t.statusCode;Object.defineProperty(this,"request",{value:t.request,enumerable:false});Object.defineProperty(this,"response",{value:t.response,enumerable:false});const n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:undefined;Object.defineProperty(this,i.custom,{value:()=>`RestError: ${this.message} \n ${c.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,enumerable:false});Object.setPrototypeOf(this,RestError.prototype)}}t.RestError=RestError;function isRestError(e){if(e instanceof RestError){return true}return(0,o.isError)(e)&&e.name==="RestError"}},98102:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryStrategy=exponentialRetryStrategy;t.isExponentialRetryResponse=isExponentialRetryResponse;t.isSystemError=isSystemError;const o=n(66776);const i=n(21112);const A=1e3;const c=1e3*64;function exponentialRetryStrategy(e={}){const t=e.retryDelayInMs??A;const n=e.maxRetryDelayInMs??c;return{name:"exponentialRetryStrategy",retry({retryCount:A,response:c,responseError:d}){const p=isSystemError(d);const C=p&&e.ignoreSystemErrors;const S=isExponentialRetryResponse(c);const v=S&&e.ignoreHttpStatusCodes;const T=c&&((0,i.isThrottlingRetryResponse)(c)||!S);if(T||v||C){return{skipStrategy:true}}if(d&&!p&&!S){return{errorToThrow:d}}return(0,o.calculateRetryDelay)(A,{retryDelayInMs:t,maxRetryDelayInMs:n})}}}function isExponentialRetryResponse(e){return Boolean(e&&e.status!==undefined&&(e.status>=500||e.status===408)&&e.status!==501&&e.status!==505)}function isSystemError(e){if(!e){return false}return e.code==="ETIMEDOUT"||e.code==="ESOCKETTIMEDOUT"||e.code==="ECONNREFUSED"||e.code==="ECONNRESET"||e.code==="ENOENT"||e.code==="ENOTFOUND"}},21112:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.isThrottlingRetryResponse=isThrottlingRetryResponse;t.throttlingRetryStrategy=throttlingRetryStrategy;const o=n(77566);const i="Retry-After";const A=["retry-after-ms","x-ms-retry-after-ms",i];function getRetryAfterInMs(e){if(!(e&&[429,503].includes(e.status)))return undefined;try{for(const t of A){const n=(0,o.parseHeaderValueAsNumber)(e,t);if(n===0||n){const e=t===i?1e3:1;return n*e}}const t=e.headers.get(i);if(!t)return;const n=Date.parse(t);const c=n-Date.now();return Number.isFinite(c)?Math.max(0,c):undefined}catch{return undefined}}function isThrottlingRetryResponse(e){return Number.isFinite(getRetryAfterInMs(e))}function throttlingRetryStrategy(){return{name:"throttlingRetryStrategy",retry({response:e}){const t=getRetryAfterInMs(e);if(!Number.isFinite(t)){return{skipStrategy:true}}return{retryAfterInMs:t}}}}},82921:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.uint8ArrayToString=uint8ArrayToString;t.stringToUint8Array=stringToUint8Array;function uint8ArrayToString(e,t){return Buffer.from(e).toString(t)}function stringToUint8Array(e,t){return Buffer.from(e,t)}},85086:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isReactNative=t.isNodeRuntime=t.isNodeLike=t.isBun=t.isDeno=t.isWebWorker=t.isBrowser=void 0;t.isBrowser=typeof window!=="undefined"&&typeof window.document!=="undefined";t.isWebWorker=typeof self==="object"&&typeof self?.importScripts==="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope");t.isDeno=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";t.isBun=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";t.isNodeLike=typeof globalThis.process!=="undefined"&&Boolean(globalThis.process.version)&&Boolean(globalThis.process.versions?.node);t.isNodeRuntime=t.isNodeLike&&!t.isBun&&!t.isDeno;t.isReactNative=typeof navigator!=="undefined"&&navigator?.product==="ReactNative"},20547:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.concat=concat;const o=n(2203);const i=n(48505);async function*streamAsyncIterator(){const e=this.getReader();try{while(true){const{done:t,value:n}=await e.read();if(t){return}yield n}}finally{e.releaseLock()}}function makeAsyncIterable(e){if(!e[Symbol.asyncIterator]){e[Symbol.asyncIterator]=streamAsyncIterator.bind(e)}if(!e.values){e.values=streamAsyncIterator.bind(e)}}function ensureNodeStream(e){if(e instanceof ReadableStream){makeAsyncIterable(e);return o.Readable.fromWeb(e)}else{return e}}function toStream(e){if(e instanceof Uint8Array){return o.Readable.from(Buffer.from(e))}else if((0,i.isBlob)(e)){return ensureNodeStream(e.stream())}else{return ensureNodeStream(e)}}async function concat(e){return function(){const t=e.map((e=>typeof e==="function"?e():e)).map(toStream);return o.Readable.from(async function*(){for(const e of t){for await(const t of e){yield t}}}())}}},66776:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.calculateRetryDelay=calculateRetryDelay;const o=n(78640);function calculateRetryDelay(e,t){const n=t.retryDelayInMs*Math.pow(2,e);const i=Math.min(t.maxRetryDelayInMs,n);const A=i/2+(0,o.getRandomIntegerInclusive)(0,i/2);return{retryAfterInMs:A}}},52573:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.isError=isError;const o=n(53632);function isError(e){if((0,o.isObject)(e)){const t=typeof e.name==="string";const n=typeof e.message==="string";return t&&n}return false}},77566:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.delay=delay;t.parseHeaderValueAsNumber=parseHeaderValueAsNumber;const o=n(99992);const i="The operation was aborted.";function delay(e,t,n){return new Promise(((A,c)=>{let d=undefined;let p=undefined;const rejectOnAbort=()=>c(new o.AbortError(n?.abortErrorMsg?n?.abortErrorMsg:i));const removeListeners=()=>{if(n?.abortSignal&&p){n.abortSignal.removeEventListener("abort",p)}};p=()=>{if(d){clearTimeout(d)}removeListeners();return rejectOnAbort()};if(n?.abortSignal&&n.abortSignal.aborted){return rejectOnAbort()}d=setTimeout((()=>{removeListeners();A(t)}),e);if(n?.abortSignal){n.abortSignal.addEventListener("abort",p)}}))}function parseHeaderValueAsNumber(e,t){const n=e.headers.get(t);if(!n)return;const o=Number(n);if(Number.isNaN(o))return;return o}},37639:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.custom=void 0;const o=n(57975);t.custom=o.inspect.custom},95750:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.Sanitizer=t.uint8ArrayToString=t.stringToUint8Array=t.isWebWorker=t.isReactNative=t.isDeno=t.isNodeRuntime=t.isNodeLike=t.isBun=t.isBrowser=t.randomUUID=t.computeSha256Hmac=t.computeSha256Hash=t.isError=t.isObject=t.getRandomIntegerInclusive=t.calculateRetryDelay=void 0;var o=n(66776);Object.defineProperty(t,"calculateRetryDelay",{enumerable:true,get:function(){return o.calculateRetryDelay}});var i=n(78640);Object.defineProperty(t,"getRandomIntegerInclusive",{enumerable:true,get:function(){return i.getRandomIntegerInclusive}});var A=n(53632);Object.defineProperty(t,"isObject",{enumerable:true,get:function(){return A.isObject}});var c=n(52573);Object.defineProperty(t,"isError",{enumerable:true,get:function(){return c.isError}});var d=n(2016);Object.defineProperty(t,"computeSha256Hash",{enumerable:true,get:function(){return d.computeSha256Hash}});Object.defineProperty(t,"computeSha256Hmac",{enumerable:true,get:function(){return d.computeSha256Hmac}});var p=n(5023);Object.defineProperty(t,"randomUUID",{enumerable:true,get:function(){return p.randomUUID}});var C=n(85086);Object.defineProperty(t,"isBrowser",{enumerable:true,get:function(){return C.isBrowser}});Object.defineProperty(t,"isBun",{enumerable:true,get:function(){return C.isBun}});Object.defineProperty(t,"isNodeLike",{enumerable:true,get:function(){return C.isNodeLike}});Object.defineProperty(t,"isNodeRuntime",{enumerable:true,get:function(){return C.isNodeRuntime}});Object.defineProperty(t,"isDeno",{enumerable:true,get:function(){return C.isDeno}});Object.defineProperty(t,"isReactNative",{enumerable:true,get:function(){return C.isReactNative}});Object.defineProperty(t,"isWebWorker",{enumerable:true,get:function(){return C.isWebWorker}});var S=n(82921);Object.defineProperty(t,"stringToUint8Array",{enumerable:true,get:function(){return S.stringToUint8Array}});Object.defineProperty(t,"uint8ArrayToString",{enumerable:true,get:function(){return S.uint8ArrayToString}});var v=n(7784);Object.defineProperty(t,"Sanitizer",{enumerable:true,get:function(){return v.Sanitizer}})},53632:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isObject=isObject;function isObject(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}},78640:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getRandomIntegerInclusive=getRandomIntegerInclusive;function getRandomIntegerInclusive(e,t){e=Math.ceil(e);t=Math.floor(t);const n=Math.floor(Math.random()*(t-e+1));return n+e}},7784:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.Sanitizer=void 0;const o=n(53632);const i="REDACTED";const A=["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"];const c=["api-version"];class Sanitizer{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=A.concat(e);t=c.concat(t);this.allowedHeaderNames=new Set(e.map((e=>e.toLowerCase())));this.allowedQueryParameters=new Set(t.map((e=>e.toLowerCase())))}sanitize(e){const t=new Set;return JSON.stringify(e,((e,n)=>{if(n instanceof Error){return{...n,name:n.name,message:n.message}}if(e==="headers"){return this.sanitizeHeaders(n)}else if(e==="url"){return this.sanitizeUrl(n)}else if(e==="query"){return this.sanitizeQuery(n)}else if(e==="body"){return undefined}else if(e==="response"){return undefined}else if(e==="operationSpec"){return undefined}else if(Array.isArray(n)||(0,o.isObject)(n)){if(t.has(n)){return"[Circular]"}t.add(n)}return n}),2)}sanitizeUrl(e){if(typeof e!=="string"||e===null||e===""){return e}const t=new URL(e);if(!t.search){return e}for(const[e]of t.searchParams){if(!this.allowedQueryParameters.has(e.toLowerCase())){t.searchParams.set(e,i)}}return t.toString()}sanitizeHeaders(e){const t={};for(const n of Object.keys(e)){if(this.allowedHeaderNames.has(n.toLowerCase())){t[n]=e[n]}else{t[n]=i}}return t}sanitizeQuery(e){if(typeof e!=="object"||e===null){return e}const t={};for(const n of Object.keys(e)){if(this.allowedQueryParameters.has(n.toLowerCase())){t[n]=e[n]}else{t[n]=i}}return t}}t.Sanitizer=Sanitizer},2016:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.computeSha256Hmac=computeSha256Hmac;t.computeSha256Hash=computeSha256Hash;const o=n(77598);async function computeSha256Hmac(e,t,n){const i=Buffer.from(e,"base64");return(0,o.createHmac)("sha256",i).update(t).digest(n)}async function computeSha256Hash(e,t){return(0,o.createHash)("sha256").update(e).digest(t)}},48505:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isNodeReadableStream=isNodeReadableStream;t.isWebReadableStream=isWebReadableStream;t.isBinaryBody=isBinaryBody;t.isReadableStream=isReadableStream;t.isBlob=isBlob;function isNodeReadableStream(e){return Boolean(e&&typeof e["pipe"]==="function")}function isWebReadableStream(e){return Boolean(e&&typeof e.getReader==="function"&&typeof e.tee==="function")}function isBinaryBody(e){return e!==undefined&&(e instanceof Uint8Array||isReadableStream(e)||typeof e==="function"||e instanceof Blob)}function isReadableStream(e){return isNodeReadableStream(e)||isWebReadableStream(e)}function isBlob(e){return typeof e.stream==="function"}},62731:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentHeaderName=getUserAgentHeaderName;t.getUserAgentValue=getUserAgentValue;const o=n(83196);const i=n(31255);function getUserAgentString(e){const t=[];for(const[n,o]of e){const e=o?`${n}/${o}`:n;t.push(e)}return t.join(" ")}function getUserAgentHeaderName(){return(0,o.getHeaderName)()}async function getUserAgentValue(e){const t=new Map;t.set("ts-http-runtime",i.SDK_VERSION);await(0,o.setPlatformSpecificData)(t);const n=getUserAgentString(t);const A=e?`${e} ${n}`:n;return A}},83196:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:true});t.getHeaderName=getHeaderName;t.setPlatformSpecificData=setPlatformSpecificData;const o=n(61860);const i=o.__importDefault(n(48161));const A=o.__importDefault(n(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(e){if(A.default&&A.default.versions){const t=`${i.default.type()} ${i.default.release()}; ${i.default.arch()}`;const n=A.default.versions;if(n.bun){e.set("Bun",`${n.bun} (${t})`)}else if(n.deno){e.set("Deno",`${n.deno} (${t})`)}else if(n.node){e.set("Node",`${n.node} (${t})`)}}}},5023:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.randomUUID=randomUUID;function randomUUID(){return crypto.randomUUID()}},50591:e=>{(()=>{"use strict";var t={d:(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{XMLBuilder:()=>lt,XMLParser:()=>tt,XMLValidator:()=>re});const o=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i=new RegExp("^["+o+"]["+o+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(e,t){const n=[];let o=t.exec(e);for(;o;){const i=[];i.startIndex=t.lastIndex-o[0].length;const A=o.length;for(let e=0;e"!==e[A]&&" "!==e[A]&&"\t"!==e[A]&&"\n"!==e[A]&&"\r"!==e[A];A++)p+=e[A];if(p=p.trim(),"/"===p[p.length-1]&&(p=p.substring(0,p.length-1),A--),!r(p)){let t;return t=0===p.trim().length?"Invalid space after '<'.":"Tag '"+p+"' is an invalid name.",x("InvalidTag",t,b(e,A))}const C=f(e,A);if(!1===C)return x("InvalidAttr","Attributes for '"+p+"' have open quote.",b(e,A));let S=C.value;if(A=C.index,"/"===S[S.length-1]){const n=A-S.length;S=S.substring(0,S.length-1);const i=g(S,t);if(!0!==i)return x(i.err.code,i.err.msg,b(e,n+i.err.line));o=!0}else if(d){if(!C.tagClosed)return x("InvalidTag","Closing tag '"+p+"' doesn't have proper closing.",b(e,A));if(S.trim().length>0)return x("InvalidTag","Closing tag '"+p+"' can't have attributes or invalid starting.",b(e,c));if(0===n.length)return x("InvalidTag","Closing tag '"+p+"' has not been opened.",b(e,c));{const t=n.pop();if(p!==t.tagName){let n=b(e,t.tagStartPos);return x("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+p+"'.",b(e,c))}0==n.length&&(i=!0)}}else{const d=g(S,t);if(!0!==d)return x(d.err.code,d.err.msg,b(e,A-S.length+d.err.line));if(!0===i)return x("InvalidXml","Multiple possible root nodes found.",b(e,A));-1!==t.unpairedTags.indexOf(p)||n.push({tagName:p,tagStartPos:c}),o=!0}for(A++;A0)||x("InvalidXml","Invalid '"+JSON.stringify(n.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):x("InvalidXml","Start tag expected.",1)}function l(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function u(e,t){const n=t;for(;t5&&"xml"===o)return x("InvalidXml","XML declaration allowed only at the start of the document.",b(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function h(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t"===e[t]&&(n--,0===n))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t"===e[t+2]){t+=2;break}return t}const c='"',d="'";function f(e,t){let n="",o="",i=!1;for(;t"===e[t]&&""===o){i=!0;break}n+=e[t]}return""===o&&{value:n,index:t,tagClosed:i}}const p=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function g(e,t){const n=s(e,p),o={};for(let e=0;e!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1};let S;S="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class y{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][S]={startIndex:t})}static getMetaDataSymbol(){return S}}class w{constructor(e){this.suppressValidationErr=!e}readDocType(e,t){const n={};if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])throw new Error("Invalid Tag instead of DOCTYPE");{t+=9;let o=1,i=!1,A=!1,c="";for(;t"===e[t]){if(A?"-"===e[t-1]&&"-"===e[t-2]&&(A=!1,o--):o--,0===o)break}else"["===e[t]?i=!0:c+=e[t];else{if(i&&P(e,"!ENTITY",t)){let o,i;t+=7,[o,i,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===i.indexOf("&")&&(n[o]={regx:RegExp(`&${o};`,"g"),val:i})}else if(i&&P(e,"!ELEMENT",t)){t+=8;const{index:n}=this.readElementExp(e,t+1);t=n}else if(i&&P(e,"!ATTLIST",t))t+=8;else if(i&&P(e,"!NOTATION",t)){t+=9;const{index:n}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=n}else{if(!P(e,"!--",t))throw new Error("Invalid DOCTYPE");A=!0}o++,c=""}if(0!==o)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:t}}readEntityExp(e,t){t=I(e,t);let n="";for(;t{for(;t{for(const n of e){if("string"==typeof n&&t===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}}:()=>!1}class D{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>String.fromCodePoint(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCodePoint(Number.parseInt(t,16))}},this.addExternalEntities=j,this.parseXml=L,this.parseTextData=M,this.resolveNameSpace=F,this.buildAttributesMap=k,this.isItStopNode=Y,this.replaceEntitiesValue=B,this.readStopNodeData=W,this.saveTextToParentTag=R,this.addChild=U,this.ignoreAttributesFn=$(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let e=0;e0)){c||(e=this.replaceEntitiesValue(e));const o=this.options.tagValueProcessor(t,e,n,i,A);return null==o?e:typeof o!=typeof e||o!==e?o:this.options.trimValues||e.trim()===e?q(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function F(e){if(this.options.removeNSPrefix){const t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}const Z=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function k(e,t){if(!0!==this.options.ignoreAttributes&&"string"==typeof e){const n=s(e,Z),o=n.length,i={};for(let e=0;e",c,"Closing Tag is not closed.");let A=e.substring(c+2,t).trim();if(this.options.removeNSPrefix){const e=A.indexOf(":");-1!==e&&(A=A.substr(e+1))}this.options.transformTagName&&(A=this.options.transformTagName(A)),n&&(o=this.saveTextToParentTag(o,n,i));const d=i.substring(i.lastIndexOf(".")+1);if(A&&-1!==this.options.unpairedTags.indexOf(A))throw new Error(`Unpaired tag can not be used as closing tag: `);let p=0;d&&-1!==this.options.unpairedTags.indexOf(d)?(p=i.lastIndexOf(".",i.lastIndexOf(".")-1),this.tagsNodeStack.pop()):p=i.lastIndexOf("."),i=i.substring(0,p),n=this.tagsNodeStack.pop(),o="",c=t}else if("?"===e[c+1]){let t=X(e,c,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(o=this.saveTextToParentTag(o,n,i),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new y(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,i)),this.addChild(n,e,i,c)}c=t.closeIndex+1}else if("!--"===e.substr(c+1,3)){const t=G(e,"--\x3e",c+4,"Comment is not closed.");if(this.options.commentPropName){const A=e.substring(c+4,t-2);o=this.saveTextToParentTag(o,n,i),n.add(this.options.commentPropName,[{[this.options.textNodeName]:A}])}c=t}else if("!D"===e.substr(c+1,2)){const t=A.readDocType(e,c);this.docTypeEntities=t.entities,c=t.i}else if("!["===e.substr(c+1,2)){const t=G(e,"]]>",c,"CDATA is not closed.")-2,A=e.substring(c+9,t);o=this.saveTextToParentTag(o,n,i);let d=this.parseTextData(A,n.tagname,i,!0,!1,!0,!0);null==d&&(d=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:A}]):n.add(this.options.textNodeName,d),c=t+2}else{let A=X(e,c,this.options.removeNSPrefix),d=A.tagName;const p=A.rawTagName;let C=A.tagExp,S=A.attrExpPresent,v=A.closeIndex;if(this.options.transformTagName){const e=this.options.transformTagName(d);C===d&&(C=e),d=e}n&&o&&"!xml"!==n.tagname&&(o=this.saveTextToParentTag(o,n,i,!1));const T=n;T&&-1!==this.options.unpairedTags.indexOf(T.tagname)&&(n=this.tagsNodeStack.pop(),i=i.substring(0,i.lastIndexOf("."))),d!==t.tagname&&(i+=i?"."+d:d);const _=c;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,i,d)){let t="";if(C.length>0&&C.lastIndexOf("/")===C.length-1)"/"===d[d.length-1]?(d=d.substr(0,d.length-1),i=i.substr(0,i.length-1),C=d):C=C.substr(0,C.length-1),c=A.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(d))c=A.closeIndex;else{const n=this.readStopNodeData(e,p,v+1);if(!n)throw new Error(`Unexpected end of ${p}`);c=n.i,t=n.tagContent}const o=new y(d);d!==C&&S&&(o[":@"]=this.buildAttributesMap(C,i)),t&&(t=this.parseTextData(t,d,i,!0,S,!0,!0)),i=i.substr(0,i.lastIndexOf(".")),o.add(this.options.textNodeName,t),this.addChild(n,o,i,_)}else{if(C.length>0&&C.lastIndexOf("/")===C.length-1){if("/"===d[d.length-1]?(d=d.substr(0,d.length-1),i=i.substr(0,i.length-1),C=d):C=C.substr(0,C.length-1),this.options.transformTagName){const e=this.options.transformTagName(d);C===d&&(C=e),d=e}const e=new y(d);d!==C&&S&&(e[":@"]=this.buildAttributesMap(C,i)),this.addChild(n,e,i,_),i=i.substr(0,i.lastIndexOf("."))}else{const e=new y(d);this.tagsNodeStack.push(n),d!==C&&S&&(e[":@"]=this.buildAttributesMap(C,i)),this.addChild(n,e,i,_),n=e}o="",c=v}}else o+=e[c];return t.child};function U(e,t,n,o){this.options.captureMetaData||(o=void 0);const i=this.options.updateTag(t.tagname,n,t[":@"]);!1===i||("string"==typeof i?(t.tagname=i,e.addChild(t,o)):e.addChild(t,o))}const B=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){const n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function R(e,t,n,o){return e&&(void 0===o&&(o=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,o))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function Y(e,t,n,o){return!(!t||!t.has(o))||!(!e||!e.has(n))}function G(e,t,n,o){const i=e.indexOf(t,n);if(-1===i)throw new Error(o);return i+t.length-1}function X(e,t,n,o=">"){const i=function(e,t,n=">"){let o,i="";for(let A=t;A",n,`${t} is not closed`);if(e.substring(n+2,A).trim()===t&&(i--,0===i))return{tagContent:e.substring(o,n),i:A};n=A}else if("?"===e[n+1])n=G(e,"?>",n+1,"StopNode is not closed.");else if("!--"===e.substr(n+1,3))n=G(e,"--\x3e",n+3,"StopNode is not closed.");else if("!["===e.substr(n+1,2))n=G(e,"]]>",n,"StopNode is not closed.")-2;else{const o=X(e,n,">");o&&((o&&o.tagName)===t&&"/"!==o.tagExp[o.tagExp.length-1]&&i++,n=o.closeIndex)}}function q(e,t,n){if(t&&"string"==typeof e){const t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},_,t),!e||"string"!=typeof e)return e;let n=e.trim();if(void 0!==t.skipLike&&t.skipLike.test(n))return e;if("0"===e)return 0;if(t.hex&&v.test(n))return function(e){if(parseInt)return parseInt(e,16);if(Number.parseInt)return Number.parseInt(e,16);if(window&&window.parseInt)return window.parseInt(e,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(n);if(-1!==n.search(/.+[eE].+/))return function(e,t,n){if(!n.eNotation)return e;const o=t.match(V);if(o){let i=o[1]||"";const A=-1===o[3].indexOf("e")?"E":"e",c=o[2],d=i?e[c.length+1]===A:e[c.length]===A;return c.length>1&&d?e:1!==c.length||!o[3].startsWith(`.${A}`)&&o[3][0]!==A?n.leadingZeros&&!d?(t=(o[1]||"")+o[3],Number(t)):e:Number(t)}return e}(e,n,t);{const i=T.exec(n);if(i){const A=i[1]||"",c=i[2];let d=(o=i[3])&&-1!==o.indexOf(".")?("."===(o=o.replace(/0+$/,""))?o="0":"."===o[0]?o="0"+o:"."===o[o.length-1]&&(o=o.substring(0,o.length-1)),o):o;const p=A?"."===e[c.length+1]:"."===e[c.length];if(!t.leadingZeros&&(c.length>1||1===c.length&&!p))return e;{const o=Number(n),i=String(o);if(0===o||-0===o)return o;if(-1!==i.search(/[eE]/))return t.eNotation?o:e;if(-1!==n.indexOf("."))return"0"===i||i===d||i===`${A}${d}`?o:e;let p=c?d:n;return c?p===i||A+p===i?o:e:p===i||p===A+i?o:e}}return e}var o}(e,n)}return void 0!==e?e:""}const ee=y.getMetaDataSymbol();function K(e,t){return Q(e,t)}function Q(e,t,n){let o;const i={};for(let A=0;A0&&(i[t.textNodeName]=o):void 0!==o&&(i[t.textNodeName]=o),i}function z(e){const t=Object.keys(e);for(let e=0;e0&&(n="\n"),it(e,t,"",n)}function it(e,t,n,o){let i="",A=!1;for(let c=0;c`,A=!1;continue}if(p===t.commentPropName){i+=o+`\x3c!--${d[p][0][t.textNodeName]}--\x3e`,A=!0;continue}if("?"===p[0]){const e=st(d[":@"],t),n="?xml"===p?"":o;let c=d[p][0][t.textNodeName];c=0!==c.length?" "+c:"",i+=n+`<${p}${c}${e}?>`,A=!0;continue}let S=o;""!==S&&(S+=t.indentBy);const v=o+`<${p}${st(d[":@"],t)}`,T=it(d[p],t,C,S);-1!==t.unpairedTags.indexOf(p)?t.suppressUnpairedNode?i+=v+">":i+=v+"/>":T&&0!==T.length||!t.suppressEmptyNode?T&&T.endsWith(">")?i+=v+`>${T}${o}`:(i+=v+">",T&&""!==o&&(T.includes("/>")||T.includes("`):i+=v+"/>",A=!0}return i}function nt(e){const t=Object.keys(e);for(let n=0;n0&&t.processEntities)for(let n=0;n","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function lt(e){this.options=Object.assign({},te,e),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=$(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=dt),this.processTextOrObjNode=ut,this.options.format?(this.indentate=ht,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function ut(e,t,n,o){const i=this.j2x(e,n+1,o.concat(t));return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,i.attrStr,n):this.buildObjectNode(i.val,t,i.attrStr,n)}function ht(e){return this.options.indentBy.repeat(e)}function dt(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}lt.prototype.build=function(e){return this.options.preserveOrder?et(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)},lt.prototype.j2x=function(e,t,n){let o="",i="";const A=n.join(".");for(let c in e)if(Object.prototype.hasOwnProperty.call(e,c))if(void 0===e[c])this.isAttribute(c)&&(i+="");else if(null===e[c])this.isAttribute(c)||c===this.options.cdataPropName?i+="":"?"===c[0]?i+=this.indentate(t)+"<"+c+"?"+this.tagEndChar:i+=this.indentate(t)+"<"+c+"/"+this.tagEndChar;else if(e[c]instanceof Date)i+=this.buildTextValNode(e[c],c,"",t);else if("object"!=typeof e[c]){const n=this.isAttribute(c);if(n&&!this.ignoreAttributesFn(n,A))o+=this.buildAttrPairStr(n,""+e[c]);else if(!n)if(c===this.options.textNodeName){let t=this.options.tagValueProcessor(c,""+e[c]);i+=this.replaceEntitiesValue(t)}else i+=this.buildTextValNode(e[c],c,"",t)}else if(Array.isArray(e[c])){const o=e[c].length;let A="",d="";for(let p=0;p"+e+i}},lt.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(o)+`\x3c!--${e}--\x3e`+this.newLine;if("?"===t[0])return this.indentate(o)+"<"+t+n+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),""===i?this.indentate(o)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(o)+"<"+t+n+">"+i+"0&&this.options.processEntities)for(let t=0;t{e.exports=JSON.parse('{"name":"@actions/cache","version":"5.0.2","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.0","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.1","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1","semver":"^6.3.1"},"devDependencies":{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')}};var n={};function __nccwpck_require__(e){var o=n[e];if(o!==undefined){return o.exports}var i=n[e]={exports:{}};var A=true;try{t[e].call(i.exports,i,i.exports,__nccwpck_require__);A=false}finally{if(A)delete n[e]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var o={};var i=__nccwpck_require__(37484);var A=__nccwpck_require__(33472);var c=__nccwpck_require__(94994);var d=__nccwpck_require__(5116);var p=__nccwpck_require__(95236);var C=__nccwpck_require__(16928);var S=__nccwpck_require__(70857);var v=__nccwpck_require__(54844);const T={version:i.getInput("version",{required:true}).replace(/^[vV]/,"")};async function runAction(){let e;if(T.version.toLowerCase()==="latest"){i.debug("Requesting latest Rain version...");e=await getLatestVersion();i.debug(`Latest version: ${e}`)}else{e=T.version}i.startGroup("Install Rain");await doInstall(e);i.endGroup();i.startGroup("Installation check");await doCheck();i.endGroup()}async function doInstall(e){const t=C.join(S.tmpdir(),`rain-${e}`);const n=`rain-cache-${e}-${process.platform}-${process.arch}`;i.info(`Version to install: ${e} (target directory: ${t})`);let o=undefined;try{o=await d.restoreCache([t],n)}catch(e){i.warning(e)}if(o){i.info(`Rain restored from cache`)}else{const o=getDistUrl(process.platform,process.arch,e);const p=await A.downloadTool(o);const v=C.join(S.tmpdir(),`rain.tmp`);await A.extractZip(p,v);const T=getDistSubdir(process.platform,process.arch,e);const _=process.platform==="win32"?"rain.exe":"rain";await c.mkdirP(t);await c.mv(C.join(v,T,_),C.join(t,_));await c.rmRF(p);try{await d.saveCache([t],n)}catch(e){i.warning(e)}}i.addPath(t)}async function doCheck(){const e=await c.which("rain",true);if(e===""){throw new Error("rain binary file not found in $PATH")}await p.exec("rain",["--version"],{silent:true});i.setOutput("rain-bin",e);i.info(`Rain installed: ${e}`)}async function getLatestVersion(){const e=await new v.HttpClient("allixsenos/install-rain",undefined,{allowRedirects:false}).get("https://github.com/aws-cloudformation/rain/releases/latest");if(e.message.statusCode!==302){throw new Error(`Failed to fetch latest version: ${e.message.statusCode} ${e.message.statusMessage}`)}const t=e.message.headers.location.replace(/^https?:\/\//,"");const n=t.split("/");if(n.length<6){throw new Error(`Invalid redirect URL: ${t}`)}const o=n[5];return o.replace(/^[vV]/,"")}function getDistSubdir(e,t,n){const o=e==="win32"?"windows":e;let i;switch(t){case"x64":i="amd64";break;case"x32":i="i386";break;case"arm64":i="arm64";break;case"arm":i="arm";break;default:i=t}return`rain-v${n}_${o}-${i}`}function getDistUrl(e,t,n){const o=`https://github.com/aws-cloudformation/rain/releases/download/v${n}`;switch(e){case"linux":{switch(t){case"x64":return`${o}/rain-v${n}_linux-amd64.zip`;case"arm64":return`${o}/rain-v${n}_linux-arm64.zip`;case"arm":return`${o}/rain-v${n}_linux-arm.zip`;case"x32":return`${o}/rain-v${n}_linux-i386.zip`}throw new Error(`Unsupported linux architecture (${t})`)}case"darwin":{switch(t){case"x64":return`${o}/rain-v${n}_darwin-amd64.zip`;case"arm64":return`${o}/rain-v${n}_darwin-arm64.zip`}throw new Error(`Unsupported macOS architecture (${t})`)}case"win32":{switch(t){case"x64":return`${o}/rain-v${n}_windows-amd64.zip`;case"x32":return`${o}/rain-v${n}_windows-i386.zip`}throw new Error(`Unsupported Windows architecture (${t})`)}}throw new Error("Unsupported OS (platform)")}(async()=>{await runAction()})().catch((e=>{i.setFailed(e.message)})); \ No newline at end of file