From 2d1d88ad2eb54a28e4a2876732c59b57625a70e9 Mon Sep 17 00:00:00 2001 From: Charles Lechasseur Date: Fri, 3 Jan 2025 01:13:34 -0500 Subject: [PATCH] chore: update dist --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 3519c648..f56b9b90 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,3 +1,3 @@ (()=>{var e={5116:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.saveCache=t.restoreCache=t.isFeatureAvailable=t.ReserveCacheError=t.ValidationError=void 0;const a=o(r(7484));const A=o(r(6928));const c=o(r(680));const l=o(r(5552));const u=r(5321);class ValidationError extends Error{constructor(e){super(e);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}t.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(e){super(e);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}t.ReserveCacheError=ReserveCacheError;function checkPaths(e){if(!e||e.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(e){if(e.length>512){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(){return!!process.env["ACTIONS_CACHE_URL"]}t.isFeatureAvailable=isFeatureAvailable;function restoreCache(e,t,r,s,n=false){return i(this,void 0,void 0,(function*(){checkPaths(e);r=r||[];const o=[t,...r];a.debug("Resolved Keys:");a.debug(JSON.stringify(o));if(o.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of o){checkKey(e)}const i=yield c.getCompressionMethod();let d="";try{const t=yield l.getCacheEntry(o,e,{compressionMethod:i,enableCrossOsArchive:n});if(!(t===null||t===void 0?void 0:t.archiveLocation)){return undefined}if(s===null||s===void 0?void 0:s.lookupOnly){a.info("Lookup only - skipping download");return t.cacheKey}d=A.join(yield c.createTempDirectory(),c.getCacheFileName(i));a.debug(`Archive Path: ${d}`);yield l.downloadCache(t.archiveLocation,d,s);if(a.isDebug()){yield(0,u.listTar)(d,i)}const r=c.getArchiveFileSizeInBytes(d);a.info(`Cache Size: ~${Math.round(r/(1024*1024))} MB (${r} B)`);yield(0,u.extractTar)(d,i);a.info("Cache restored successfully");return t.cacheKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{a.warning(`Failed to restore: ${e.message}`)}}finally{try{yield c.unlinkFile(d)}catch(e){a.debug(`Failed to delete archive: ${e}`)}}return undefined}))}t.restoreCache=restoreCache;function saveCache(e,t,r,s=false){var n,o,d,p,g;return i(this,void 0,void 0,(function*(){checkPaths(e);checkKey(t);const i=yield c.getCompressionMethod();let m=-1;const h=yield c.resolvePaths(e);a.debug("Cache Paths:");a.debug(`${JSON.stringify(h)}`);if(h.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 E=yield c.createTempDirectory();const C=A.join(E,c.getCacheFileName(i));a.debug(`Archive Path: ${C}`);try{yield(0,u.createTar)(E,h,i);if(a.isDebug()){yield(0,u.listTar)(C,i)}const A=10*1024*1024*1024;const y=c.getArchiveFileSizeInBytes(C);a.debug(`File Size: ${y}`);if(y>A&&!c.isGhes()){throw new Error(`Cache size of ~${Math.round(y/(1024*1024))} MB (${y} B) is over the 10GB limit, not saving cache.`)}a.debug("Reserving Cache");const I=yield l.reserveCache(t,e,{compressionMethod:i,enableCrossOsArchive:s,cacheSize:y});if((n=I===null||I===void 0?void 0:I.result)===null||n===void 0?void 0:n.cacheId){m=(o=I===null||I===void 0?void 0:I.result)===null||o===void 0?void 0:o.cacheId}else if((I===null||I===void 0?void 0:I.statusCode)===400){throw new Error((p=(d=I===null||I===void 0?void 0:I.error)===null||d===void 0?void 0:d.message)!==null&&p!==void 0?p:`Cache size of ~${Math.round(y/(1024*1024))} MB (${y} 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: ${(g=I===null||I===void 0?void 0:I.error)===null||g===void 0?void 0:g.message}`)}a.debug(`Saving Cache (ID: ${m})`);yield l.saveCache(m,C,r)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){a.info(`Failed to save: ${t.message}`)}else{a.warning(`Failed to save: ${t.message}`)}}finally{try{yield c.unlinkFile(C)}catch(e){a.debug(`Failed to delete archive: ${e}`)}}return m}))}t.saveCache=saveCache},5552:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.saveCache=t.reserveCache=t.downloadCache=t.getCacheEntry=t.getCacheVersion=void 0;const a=o(r(7484));const A=r(4844);const c=r(4552);const l=o(r(6982));const u=o(r(9896));const d=r(7016);const p=o(r(680));const g=r(5067);const m=r(8356);const h=r(2846);const E="1.0";function getCacheApiUrl(e){const t=process.env["ACTIONS_CACHE_URL"]||"";if(!t){throw new Error("Cache Service Url not found, unable to restore cache.")}const r=`${t}_apis/artifactcache/${e}`;a.debug(`Resource Url: ${r}`);return r}function createAcceptHeader(e,t){return`${e};api-version=${t}`}function getRequestOptions(){const e={headers:{Accept:createAcceptHeader("application/json","6.0-preview.1")}};return e}function createHttpClient(){const e=process.env["ACTIONS_RUNTIME_TOKEN"]||"";const t=new c.BearerCredentialHandler(e);return new A.HttpClient("actions/cache",[t],getRequestOptions())}function getCacheVersion(e,t,r=false){const s=e.slice();if(t){s.push(t)}if(process.platform==="win32"&&!r){s.push("windows-only")}s.push(E);return l.createHash("sha256").update(s.join("|")).digest("hex")}t.getCacheVersion=getCacheVersion;function getCacheEntry(e,t,r){return i(this,void 0,void 0,(function*(){const s=createHttpClient();const n=getCacheVersion(t,r===null||r===void 0?void 0:r.compressionMethod,r===null||r===void 0?void 0:r.enableCrossOsArchive);const o=`cache?keys=${encodeURIComponent(e.join(","))}&version=${n}`;const A=yield(0,h.retryTypedResponse)("getCacheEntry",(()=>i(this,void 0,void 0,(function*(){return s.getJson(getCacheApiUrl(o))}))));if(A.statusCode===204){if(a.isDebug()){yield printCachesListForDiagnostics(e[0],s,n)}return null}if(!(0,h.isSuccessStatusCode)(A.statusCode)){throw new Error(`Cache service responded with ${A.statusCode}`)}const c=A.result;const l=c===null||c===void 0?void 0:c.archiveLocation;if(!l){throw new Error("Cache not found.")}a.setSecret(l);a.debug(`Cache Result:`);a.debug(JSON.stringify(c));return c}))}t.getCacheEntry=getCacheEntry;function printCachesListForDiagnostics(e,t,r){return i(this,void 0,void 0,(function*(){const s=`caches?key=${encodeURIComponent(e)}`;const n=yield(0,h.retryTypedResponse)("listCache",(()=>i(this,void 0,void 0,(function*(){return t.getJson(getCacheApiUrl(s))}))));if(n.statusCode===200){const t=n.result;const s=t===null||t===void 0?void 0:t.totalCount;if(s&&s>0){a.debug(`No matching cache found for cache key '${e}', version '${r} 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)||[]){a.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,r){return i(this,void 0,void 0,(function*(){const s=new d.URL(e);const n=(0,m.getDownloadOptions)(r);if(s.hostname.endsWith(".blob.core.windows.net")){if(n.useAzureSdk){yield(0,g.downloadCacheStorageSDK)(e,t,n)}else if(n.concurrentBlobDownloads){yield(0,g.downloadCacheHttpClientConcurrent)(e,t,n)}else{yield(0,g.downloadCacheHttpClient)(e,t)}}else{yield(0,g.downloadCacheHttpClient)(e,t)}}))}t.downloadCache=downloadCache;function reserveCache(e,t,r){return i(this,void 0,void 0,(function*(){const s=createHttpClient();const n=getCacheVersion(t,r===null||r===void 0?void 0:r.compressionMethod,r===null||r===void 0?void 0:r.enableCrossOsArchive);const o={key:e,version:n,cacheSize:r===null||r===void 0?void 0:r.cacheSize};const a=yield(0,h.retryTypedResponse)("reserveCache",(()=>i(this,void 0,void 0,(function*(){return s.postJson(getCacheApiUrl("caches"),o)}))));return a}))}t.reserveCache=reserveCache;function getContentRange(e,t){return`bytes ${e}-${t}/*`}function uploadChunk(e,t,r,s,n){return i(this,void 0,void 0,(function*(){a.debug(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${getContentRange(s,n)}`);const o={"Content-Type":"application/octet-stream","Content-Range":getContentRange(s,n)};const A=yield(0,h.retryHttpClientResponse)(`uploadChunk (start: ${s}, end: ${n})`,(()=>i(this,void 0,void 0,(function*(){return e.sendStream("PATCH",t,r(),o)}))));if(!(0,h.isSuccessStatusCode)(A.message.statusCode)){throw new Error(`Cache service responded with ${A.message.statusCode} during upload chunk.`)}}))}function uploadFile(e,t,r,s){return i(this,void 0,void 0,(function*(){const n=p.getArchiveFileSizeInBytes(r);const o=getCacheApiUrl(`caches/${t.toString()}`);const A=u.openSync(r,"r");const c=(0,m.getUploadOptions)(s);const l=p.assertDefined("uploadConcurrency",c.uploadConcurrency);const d=p.assertDefined("uploadChunkSize",c.uploadChunkSize);const g=[...new Array(l).keys()];a.debug("Awaiting all uploads");let h=0;try{yield Promise.all(g.map((()=>i(this,void 0,void 0,(function*(){while(hu.createReadStream(r,{fd:A,start:s,end:i,autoClose:false}).on("error",(e=>{throw new Error(`Cache upload failed because file read failed with ${e.message}`)}))),s,i)}})))))}finally{u.closeSync(A)}return}))}function commitCache(e,t,r){return i(this,void 0,void 0,(function*(){const s={size:r};return yield(0,h.retryTypedResponse)("commitCache",(()=>i(this,void 0,void 0,(function*(){return e.postJson(getCacheApiUrl(`caches/${t.toString()}`),s)}))))}))}function saveCache(e,t,r){return i(this,void 0,void 0,(function*(){const s=createHttpClient();a.debug("Upload cache");yield uploadFile(s,e,t,r);a.debug("Commiting cache");const n=p.getArchiveFileSizeInBytes(t);a.info(`Cache Size: ~${Math.round(n/(1024*1024))} MB (${n} B)`);const o=yield commitCache(s,e,n);if(!(0,h.isSuccessStatusCode)(o.statusCode)){throw new Error(`Cache service responded with ${o.statusCode} during commit cache.`)}a.info("Cache saved successfully")}))}t.saveCache=saveCache},680:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var a=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(s,n){r=e[t](r),settle(s,n,r.done,r.value)}))}}function settle(e,t,r,s){Promise.resolve(s).then((function(t){e({value:t,done:r})}),t)}};Object.defineProperty(t,"__esModule",{value:true});t.isGhes=t.assertDefined=t.getGnuTarPathOnWindows=t.getCacheFileName=t.getCompressionMethod=t.unlinkFile=t.resolvePaths=t.getArchiveFileSizeInBytes=t.createTempDirectory=void 0;const A=o(r(7484));const c=o(r(5236));const l=o(r(7206));const u=o(r(4994));const d=o(r(6982));const p=o(r(9896));const g=o(r(6928));const m=o(r(3272));const h=o(r(9023));const E=r(8287);function createTempDirectory(){return i(this,void 0,void 0,(function*(){const e=process.platform==="win32";let t=process.env["RUNNER_TEMP"]||"";if(!t){let r;if(e){r=process.env["USERPROFILE"]||"C:\\"}else{if(process.platform==="darwin"){r="/Users"}else{r="/home"}}t=g.join(r,"actions","temp")}const r=g.join(t,d.randomUUID());yield u.mkdirP(r);return r}))}t.createTempDirectory=createTempDirectory;function getArchiveFileSizeInBytes(e){return p.statSync(e).size}t.getArchiveFileSizeInBytes=getArchiveFileSizeInBytes;function resolvePaths(e){var t,r,s,n;var o;return i(this,void 0,void 0,(function*(){const i=[];const c=(o=process.env["GITHUB_WORKSPACE"])!==null&&o!==void 0?o:process.cwd();const u=yield l.create(e.join("\n"),{implicitDescendants:false});try{for(var d=true,p=a(u.globGenerator()),m;m=yield p.next(),t=m.done,!t;d=true){n=m.value;d=false;const e=n;const t=g.relative(c,e).replace(new RegExp(`\\${g.sep}`,"g"),"/");A.debug(`Matched: ${t}`);if(t===""){i.push(".")}else{i.push(`${t}`)}}}catch(e){r={error:e}}finally{try{if(!d&&!t&&(s=p.return))yield s.call(p)}finally{if(r)throw r.error}}return i}))}t.resolvePaths=resolvePaths;function unlinkFile(e){return i(this,void 0,void 0,(function*(){return h.promisify(p.unlink)(e)}))}t.unlinkFile=unlinkFile;function getVersion(e,t=[]){return i(this,void 0,void 0,(function*(){let r="";t.push("--version");A.debug(`Checking ${e} ${t.join(" ")}`);try{yield c.exec(`${e}`,t,{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>r+=e.toString(),stderr:e=>r+=e.toString()}})}catch(e){A.debug(e.message)}r=r.trim();A.debug(r);return r}))}function getCompressionMethod(){return i(this,void 0,void 0,(function*(){const e=yield getVersion("zstd",["--quiet"]);const t=m.clean(e);A.debug(`zstd version: ${t}`);if(e===""){return E.CompressionMethod.Gzip}else{return E.CompressionMethod.ZstdWithoutLong}}))}t.getCompressionMethod=getCompressionMethod;function getCacheFileName(e){return e===E.CompressionMethod.Gzip?E.CacheFilename.Gzip:E.CacheFilename.Zstd}t.getCacheFileName=getCacheFileName;function getGnuTarPathOnWindows(){return i(this,void 0,void 0,(function*(){if(p.existsSync(E.GnuTarPathOnWindows)){return E.GnuTarPathOnWindows}const e=yield getVersion("tar");return e.toLowerCase().includes("gnu tar")?u.which("tar"):""}))}t.getGnuTarPathOnWindows=getGnuTarPathOnWindows;function assertDefined(e,t){if(t===undefined){throw Error(`Expected ${e} but value was undefiend`)}return t}t.assertDefined=assertDefined;function isGhes(){const e=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const t=e.hostname.trimEnd().toUpperCase();const r=t==="GITHUB.COM";const s=t.endsWith(".GHE.COM")||t.endsWith(".GHE.LOCALHOST");return!r&&!s}t.isGhes=isGhes},8287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ManifestFilename=t.TarFilename=t.SystemTarPathOnWindows=t.GnuTarPathOnWindows=t.SocketTimeout=t.DefaultRetryDelay=t.DefaultRetryAttempts=t.ArchiveToolType=t.CompressionMethod=t.CacheFilename=void 0;var r;(function(e){e["Gzip"]="cache.tgz";e["Zstd"]="cache.tzst"})(r||(t.CacheFilename=r={}));var s;(function(e){e["Gzip"]="gzip";e["ZstdWithoutLong"]="zstd-without-long";e["Zstd"]="zstd"})(s||(t.CompressionMethod=s={}));var n;(function(e){e["GNU"]="gnu";e["BSD"]="bsd"})(n||(t.ArchiveToolType=n={}));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"},5067:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.downloadCacheStorageSDK=t.downloadCacheHttpClientConcurrent=t.downloadCacheHttpClient=t.DownloadProgress=void 0;const a=o(r(7484));const A=r(4844);const c=r(1012);const l=o(r(181));const u=o(r(9896));const d=o(r(2203));const p=o(r(9023));const g=o(r(680));const m=r(8287);const h=r(2846);const E=r(8110);function pipeResponseToStream(e,t){return i(this,void 0,void 0,(function*(){const r=p.promisify(d.pipeline);yield r(e.message,t)}))}class DownloadProgress{constructor(e){this.contentLength=e;this.segmentIndex=0;this.segmentSize=0;this.segmentOffset=0;this.receivedBytes=0;this.displayedComplete=false;this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize;this.segmentIndex=this.segmentIndex+1;this.segmentSize=e;this.receivedBytes=0;a.debug(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const e=this.segmentOffset+this.receivedBytes;const t=(100*(e/this.contentLength)).toFixed(1);const r=Date.now()-this.startTime;const s=(e/(1024*1024)/(r/1e3)).toFixed(1);a.info(`Received ${e} of ${this.contentLength} (${t}%), ${s} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return e=>{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 i(this,void 0,void 0,(function*(){const r=u.createWriteStream(t);const s=new A.HttpClient("actions/cache");const n=yield(0,h.retryHttpClientResponse)("downloadCache",(()=>i(this,void 0,void 0,(function*(){return s.get(e)}))));n.message.socket.setTimeout(m.SocketTimeout,(()=>{n.message.destroy();a.debug(`Aborting download, socket timed out after ${m.SocketTimeout} ms`)}));yield pipeResponseToStream(n,r);const o=n.message.headers["content-length"];if(o){const e=parseInt(o);const r=g.getArchiveFileSizeInBytes(t);if(r!==e){throw new Error(`Incomplete download. Expected file size: ${e}, actual file size: ${r}`)}}else{a.debug("Unable to validate download, no Content-Length header")}}))}t.downloadCacheHttpClient=downloadCacheHttpClient;function downloadCacheHttpClientConcurrent(e,t,r){var s;return i(this,void 0,void 0,(function*(){const n=yield u.promises.open(t,"w");const o=new A.HttpClient("actions/cache",undefined,{socketTimeout:r.timeoutInMs,keepAlive:true});try{const t=yield(0,h.retryHttpClientResponse)("downloadCacheMetadata",(()=>i(this,void 0,void 0,(function*(){return yield o.request("HEAD",e,null,{})}))));const a=t.message.headers["content-length"];if(a===undefined||a===null){throw new Error("Content-Length not found on blob response")}const A=parseInt(a);if(Number.isNaN(A)){throw new Error(`Could not interpret Content-Length: ${A}`)}const c=[];const l=4*1024*1024;for(let t=0;ti(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(o,e,t,r)}))})}c.reverse();let u=0;let d=0;const p=new DownloadProgress(A);p.startDisplayTimer();const g=p.onProgress();const m=[];let E;const waitAndWrite=()=>i(this,void 0,void 0,(function*(){const e=yield Promise.race(Object.values(m));yield n.write(e.buffer,0,e.count,e.offset);u--;delete m[e.offset];d+=e.count;g({loadedBytes:d})}));while(E=c.pop()){m[E.offset]=E.promiseGetter();u++;if(u>=((s=r.downloadConcurrency)!==null&&s!==void 0?s:10)){yield waitAndWrite()}}while(u>0){yield waitAndWrite()}}finally{o.dispose();yield n.close()}}))}t.downloadCacheHttpClientConcurrent=downloadCacheHttpClientConcurrent;function downloadSegmentRetry(e,t,r,s){return i(this,void 0,void 0,(function*(){const n=5;let o=0;while(true){try{const n=3e4;const o=yield promiseWithTimeout(n,downloadSegment(e,t,r,s));if(typeof o==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return o}catch(e){if(o>=n){throw e}o++}}}))}function downloadSegment(e,t,r,s){return i(this,void 0,void 0,(function*(){const n=yield(0,h.retryHttpClientResponse)("downloadCachePart",(()=>i(this,void 0,void 0,(function*(){return yield e.get(t,{Range:`bytes=${r}-${r+s-1}`})}))));if(!n.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:r,count:s,buffer:yield n.readBodyBuffer()}}))}function downloadCacheStorageSDK(e,t,r){var s;return i(this,void 0,void 0,(function*(){const n=new c.BlockBlobClient(e,undefined,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}});const o=yield n.getProperties();const i=(s=o.contentLength)!==null&&s!==void 0?s:-1;if(i<0){a.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(e,t)}else{const e=Math.min(134217728,l.constants.MAX_LENGTH);const s=new DownloadProgress(i);const o=u.openSync(t,"w");try{s.startDisplayTimer();const t=new E.AbortController;const a=t.signal;while(!s.isDone()){const A=s.segmentOffset+s.segmentSize;const c=Math.min(e,i-A);s.nextSegment(c);const l=yield promiseWithTimeout(r.segmentTimeoutInMs||36e5,n.downloadToBuffer(A,c,{abortSignal:a,concurrency:r.downloadConcurrency,onProgress:s.onProgress()}));if(l==="timeout"){t.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(l)){u.writeFileSync(o,l)}}}finally{s.stopDisplayTimer();u.closeSync(o)}}}))}t.downloadCacheStorageSDK=downloadCacheStorageSDK;const promiseWithTimeout=(e,t)=>i(void 0,void 0,void 0,(function*(){let r;const s=new Promise((t=>{r=setTimeout((()=>t("timeout")),e)}));return Promise.race([t,s]).then((e=>{clearTimeout(r);return e}))}))},2846:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.retryHttpClientResponse=t.retryTypedResponse=t.retry=t.isRetryableStatusCode=t.isServerErrorStatusCode=t.isSuccessStatusCode=void 0;const a=o(r(7484));const A=r(4844);const c=r(8287);function isSuccessStatusCode(e){if(!e){return false}return e>=200&&e<300}t.isSuccessStatusCode=isSuccessStatusCode;function isServerErrorStatusCode(e){if(!e){return true}return e>=500}t.isServerErrorStatusCode=isServerErrorStatusCode;function isRetryableStatusCode(e){if(!e){return false}const t=[A.HttpCodes.BadGateway,A.HttpCodes.ServiceUnavailable,A.HttpCodes.GatewayTimeout];return t.includes(e)}t.isRetryableStatusCode=isRetryableStatusCode;function sleep(e){return i(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}function retry(e,t,r,s=c.DefaultRetryAttempts,n=c.DefaultRetryDelay,o=undefined){return i(this,void 0,void 0,(function*(){let i="";let A=1;while(A<=s){let c=undefined;let l=undefined;let u=false;try{c=yield t()}catch(e){if(o){c=o(e)}u=true;i=e.message}if(c){l=r(c);if(!isServerErrorStatusCode(l)){return c}}if(l){u=isRetryableStatusCode(l);i=`Cache service responded with ${l}`}a.debug(`${e} - Attempt ${A} of ${s} failed with error: ${i}`);if(!u){a.debug(`${e} - Error is not retryable`);break}yield sleep(n);A++}throw Error(`${e} failed: ${i}`)}))}t.retry=retry;function retryTypedResponse(e,t,r=c.DefaultRetryAttempts,s=c.DefaultRetryDelay){return i(this,void 0,void 0,(function*(){return yield retry(e,t,(e=>e.statusCode),r,s,(e=>{if(e instanceof A.HttpClientError){return{statusCode:e.statusCode,result:null,headers:{},error:e}}else{return undefined}}))}))}t.retryTypedResponse=retryTypedResponse;function retryHttpClientResponse(e,t,r=c.DefaultRetryAttempts,s=c.DefaultRetryDelay){return i(this,void 0,void 0,(function*(){return yield retry(e,t,(e=>e.message.statusCode),r,s)}))}t.retryHttpClientResponse=retryHttpClientResponse},5321:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.createTar=t.extractTar=t.listTar=void 0;const a=r(5236);const A=o(r(4994));const c=r(9896);const l=o(r(6928));const u=o(r(680));const d=r(8287);const p=process.platform==="win32";function getTarPath(){return i(this,void 0,void 0,(function*(){switch(process.platform){case"win32":{const e=yield u.getGnuTarPathOnWindows();const t=d.SystemTarPathOnWindows;if(e){return{path:e,type:d.ArchiveToolType.GNU}}else if((0,c.existsSync)(t)){return{path:t,type:d.ArchiveToolType.BSD}}break}case"darwin":{const e=yield A.which("gtar",false);if(e){return{path:e,type:d.ArchiveToolType.GNU}}else{return{path:yield A.which("tar",true),type:d.ArchiveToolType.BSD}}}default:break}return{path:yield A.which("tar",true),type:d.ArchiveToolType.GNU}}))}function getTarArgs(e,t,r,s=""){return i(this,void 0,void 0,(function*(){const n=[`"${e.path}"`];const o=u.getCacheFileName(t);const i="cache.tar";const a=getWorkingDirectory();const A=e.type===d.ArchiveToolType.BSD&&t!==d.CompressionMethod.Gzip&&p;switch(r){case"create":n.push("--posix","-cf",A?i:o.replace(new RegExp(`\\${l.sep}`,"g"),"/"),"--exclude",A?i:o.replace(new RegExp(`\\${l.sep}`,"g"),"/"),"-P","-C",a.replace(new RegExp(`\\${l.sep}`,"g"),"/"),"--files-from",d.ManifestFilename);break;case"extract":n.push("-xf",A?i:s.replace(new RegExp(`\\${l.sep}`,"g"),"/"),"-P","-C",a.replace(new RegExp(`\\${l.sep}`,"g"),"/"));break;case"list":n.push("-tf",A?i:s.replace(new RegExp(`\\${l.sep}`,"g"),"/"),"-P");break}if(e.type===d.ArchiveToolType.GNU){switch(process.platform){case"win32":n.push("--force-local");break;case"darwin":n.push("--delay-directory-restore");break}}return n}))}function getCommands(e,t,r=""){return i(this,void 0,void 0,(function*(){let s;const n=yield getTarPath();const o=yield getTarArgs(n,e,t,r);const i=t!=="create"?yield getDecompressionProgram(n,e,r):yield getCompressionProgram(n,e);const a=n.type===d.ArchiveToolType.BSD&&e!==d.CompressionMethod.Gzip&&p;if(a&&t!=="create"){s=[[...i].join(" "),[...o].join(" ")]}else{s=[[...o].join(" "),[...i].join(" ")]}if(a){return s}return[s.join(" ")]}))}function getWorkingDirectory(){var e;return(e=process.env["GITHUB_WORKSPACE"])!==null&&e!==void 0?e:process.cwd()}function getDecompressionProgram(e,t,r){return i(this,void 0,void 0,(function*(){const s=e.type===d.ArchiveToolType.BSD&&t!==d.CompressionMethod.Gzip&&p;switch(t){case d.CompressionMethod.Zstd:return s?["zstd -d --long=30 --force -o",d.TarFilename,r.replace(new RegExp(`\\${l.sep}`,"g"),"/")]:["--use-compress-program",p?'"zstd -d --long=30"':"unzstd --long=30"];case d.CompressionMethod.ZstdWithoutLong:return s?["zstd -d --force -o",d.TarFilename,r.replace(new RegExp(`\\${l.sep}`,"g"),"/")]:["--use-compress-program",p?'"zstd -d"':"unzstd"];default:return["-z"]}}))}function getCompressionProgram(e,t){return i(this,void 0,void 0,(function*(){const r=u.getCacheFileName(t);const s=e.type===d.ArchiveToolType.BSD&&t!==d.CompressionMethod.Gzip&&p;switch(t){case d.CompressionMethod.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${l.sep}`,"g"),"/"),d.TarFilename]:["--use-compress-program",p?'"zstd -T0 --long=30"':"zstdmt --long=30"];case d.CompressionMethod.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${l.sep}`,"g"),"/"),d.TarFilename]:["--use-compress-program",p?'"zstd -T0"':"zstdmt"];default:return["-z"]}}))}function execCommands(e,t){return i(this,void 0,void 0,(function*(){for(const r of e){try{yield(0,a.exec)(r,undefined,{cwd:t,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(e){throw new Error(`${r.split(" ")[0]} failed with error: ${e===null||e===void 0?void 0:e.message}`)}}}))}function listTar(e,t){return i(this,void 0,void 0,(function*(){const r=yield getCommands(t,"list",e);yield execCommands(r)}))}t.listTar=listTar;function extractTar(e,t){return i(this,void 0,void 0,(function*(){const r=getWorkingDirectory();yield A.mkdirP(r);const s=yield getCommands(t,"extract",e);yield execCommands(s)}))}t.extractTar=extractTar;function createTar(e,t,r){return i(this,void 0,void 0,(function*(){(0,c.writeFileSync)(l.join(e,d.ManifestFilename),t.join("\n"));const s=yield getCommands(r,"create");yield execCommands(s,e)}))}t.createTar=createTar},8356:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getDownloadOptions=t.getUploadOptions=void 0;const i=o(r(7484));function getUploadOptions(e){const t={uploadConcurrency:4,uploadChunkSize:32*1024*1024};if(e){if(typeof e.uploadConcurrency==="number"){t.uploadConcurrency=e.uploadConcurrency}if(typeof e.uploadChunkSize==="number"){t.uploadChunkSize=e.uploadChunkSize}}i.debug(`Upload concurrency: ${t.uploadConcurrency}`);i.debug(`Upload chunk size: ${t.uploadChunkSize}`);return t}t.getUploadOptions=getUploadOptions;function getDownloadOptions(e){const t={useAzureSdk:false,concurrentBlobDownloads:true,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:false};if(e){if(typeof e.useAzureSdk==="boolean"){t.useAzureSdk=e.useAzureSdk}if(typeof e.concurrentBlobDownloads==="boolean"){t.concurrentBlobDownloads=e.concurrentBlobDownloads}if(typeof e.downloadConcurrency==="number"){t.downloadConcurrency=e.downloadConcurrency}if(typeof e.timeoutInMs==="number"){t.timeoutInMs=e.timeoutInMs}if(typeof e.segmentTimeoutInMs==="number"){t.segmentTimeoutInMs=e.segmentTimeoutInMs}if(typeof e.lookupOnly==="boolean"){t.lookupOnly=e.lookupOnly}}const r=process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"];if(r&&!isNaN(Number(r))&&isFinite(Number(r))){t.segmentTimeoutInMs=Number(r)*60*1e3}i.debug(`Use Azure SDK: ${t.useAzureSdk}`);i.debug(`Download concurrency: ${t.downloadConcurrency}`);i.debug(`Request timeout (ms): ${t.timeoutInMs}`);i.debug(`Cache segment download timeout mins env var: ${process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"]}`);i.debug(`Segment download timeout (ms): ${t.segmentTimeoutInMs}`);i.debug(`Lookup only: ${t.lookupOnly}`);return t}t.getDownloadOptions=getDownloadOptions},3272:(e,t)=>{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var s=256;var n=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var i=s-6;var a=t.re=[];var A=t.safeRe=[];var c=t.src=[];var l=t.tokens={};var u=0;function tok(e){l[e]=u++}var d="[a-zA-Z0-9-]";var p=[["\\s",1],["\\d",s],[d,i]];function makeSafeRe(e){for(var t=0;t)?=?)";tok("XRANGEIDENTIFIERLOOSE");c[l.XRANGEIDENTIFIERLOOSE]=c[l.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");c[l.XRANGEIDENTIFIER]=c[l.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");c[l.XRANGEPLAIN]="[v=\\s]*("+c[l.XRANGEIDENTIFIER]+")"+"(?:\\.("+c[l.XRANGEIDENTIFIER]+")"+"(?:\\.("+c[l.XRANGEIDENTIFIER]+")"+"(?:"+c[l.PRERELEASE]+")?"+c[l.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");c[l.XRANGEPLAINLOOSE]="[v=\\s]*("+c[l.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+c[l.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+c[l.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+c[l.PRERELEASELOOSE]+")?"+c[l.BUILD]+"?"+")?)?";tok("XRANGE");c[l.XRANGE]="^"+c[l.GTLT]+"\\s*"+c[l.XRANGEPLAIN]+"$";tok("XRANGELOOSE");c[l.XRANGELOOSE]="^"+c[l.GTLT]+"\\s*"+c[l.XRANGEPLAINLOOSE]+"$";tok("COERCE");c[l.COERCE]="(^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");a[l.COERCERTL]=new RegExp(c[l.COERCE],"g");A[l.COERCERTL]=new RegExp(makeSafeRe(c[l.COERCE]),"g");tok("LONETILDE");c[l.LONETILDE]="(?:~>?)";tok("TILDETRIM");c[l.TILDETRIM]="(\\s*)"+c[l.LONETILDE]+"\\s+";a[l.TILDETRIM]=new RegExp(c[l.TILDETRIM],"g");A[l.TILDETRIM]=new RegExp(makeSafeRe(c[l.TILDETRIM]),"g");var g="$1~";tok("TILDE");c[l.TILDE]="^"+c[l.LONETILDE]+c[l.XRANGEPLAIN]+"$";tok("TILDELOOSE");c[l.TILDELOOSE]="^"+c[l.LONETILDE]+c[l.XRANGEPLAINLOOSE]+"$";tok("LONECARET");c[l.LONECARET]="(?:\\^)";tok("CARETTRIM");c[l.CARETTRIM]="(\\s*)"+c[l.LONECARET]+"\\s+";a[l.CARETTRIM]=new RegExp(c[l.CARETTRIM],"g");A[l.CARETTRIM]=new RegExp(makeSafeRe(c[l.CARETTRIM]),"g");var m="$1^";tok("CARET");c[l.CARET]="^"+c[l.LONECARET]+c[l.XRANGEPLAIN]+"$";tok("CARETLOOSE");c[l.CARETLOOSE]="^"+c[l.LONECARET]+c[l.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");c[l.COMPARATORLOOSE]="^"+c[l.GTLT]+"\\s*("+c[l.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");c[l.COMPARATOR]="^"+c[l.GTLT]+"\\s*("+c[l.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");c[l.COMPARATORTRIM]="(\\s*)"+c[l.GTLT]+"\\s*("+c[l.LOOSEPLAIN]+"|"+c[l.XRANGEPLAIN]+")";a[l.COMPARATORTRIM]=new RegExp(c[l.COMPARATORTRIM],"g");A[l.COMPARATORTRIM]=new RegExp(makeSafeRe(c[l.COMPARATORTRIM]),"g");var h="$1$2$3";tok("HYPHENRANGE");c[l.HYPHENRANGE]="^\\s*("+c[l.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+c[l.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");c[l.HYPHENRANGELOOSE]="^\\s*("+c[l.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+c[l.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");c[l.STAR]="(<|>)?=?\\s*\\*";for(var E=0;Es){return null}var r=t.loose?A[l.LOOSE]:A[l.FULL];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.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>s){throw new TypeError("version is longer than "+s+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?A[l.LOOSE]:A[l.FULL]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>n||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>n||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>n||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-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,r,s){if(typeof r==="string"){s=r;r=undefined}try{return new SemVer(e,r).inc(t,s).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var s=parse(t);var n="";if(r.prerelease.length||s.prerelease.length){n="pre";var o="prerelease"}for(var i in r){if(i==="major"||i==="minor"||i==="patch"){if(r[i]!==s[i]){return n+i}}}return o}}t.compareIdentifiers=compareIdentifiers;var C=/^[0-9]+$/;function compareIdentifiers(e,t){var r=C.test(e);var s=C.test(t);if(r&&s){e=+e;t=+t}return e===t?0:r&&!s?-1:s&&!r?1:e0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,s){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,s);case"!=":return neq(e,r,s);case">":return gt(e,r,s);case">=":return gte(e,r,s);case"<":return lt(e,r,s);case"<=":return lte(e,r,s);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(" ");r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===y){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var y={};Comparator.prototype.parse=function(e){var t=this.options.loose?A[l.COMPARATORLOOSE]:A[l.COMPARATOR];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=y}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===y||e===y){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 r;if(this.operator===""){if(this.value===""){return true}r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){if(e.value===""){return true}r=new Range(this.value,t);return satisfies(e.semver,r,t)}var s=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var i=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var a=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var A=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return s||n||o&&i||a||A};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 s=t?A[l.HYPHENRANGELOOSE]:A[l.HYPHENRANGE];e=e.replace(s,hyphenReplace);r("hyphen replace",e);e=e.replace(A[l.COMPARATORTRIM],h);r("comparator trim",e,A[l.COMPARATORTRIM]);e=e.replace(A[l.TILDETRIM],g);e=e.replace(A[l.CARETTRIM],m);e=e.split(/\s+/).join(" ");var n=t?A[l.COMPARATORLOOSE]:A[l.COMPARATOR];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(n)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return isSatisfiable(r,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var r=true;var s=e.slice();var n=s.pop();while(r&&s.length){r=s.every((function(e){return n.intersects(e,t)}));n=s.pop()}return r}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){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("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 s=t.loose?A[l.TILDELOOSE]:A[l.TILDE];return e.replace(s,(function(t,s,n,o,i){r("tilde",e,t,s,n,o,i);var a;if(isX(s)){a=""}else if(isX(n)){a=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){a=">="+s+"."+n+".0 <"+s+"."+(+n+1)+".0"}else if(i){r("replaceTilde pr",i);a=">="+s+"."+n+"."+o+"-"+i+" <"+s+"."+(+n+1)+".0"}else{a=">="+s+"."+n+"."+o+" <"+s+"."+(+n+1)+".0"}r("tilde return",a);return a}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var s=t.loose?A[l.CARETLOOSE]:A[l.CARET];return e.replace(s,(function(t,s,n,o,i){r("caret",e,t,s,n,o,i);var a;if(isX(s)){a=""}else if(isX(n)){a=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){if(s==="0"){a=">="+s+"."+n+".0 <"+s+"."+(+n+1)+".0"}else{a=">="+s+"."+n+".0 <"+(+s+1)+".0.0"}}else if(i){r("replaceCaret pr",i);if(s==="0"){if(n==="0"){a=">="+s+"."+n+"."+o+"-"+i+" <"+s+"."+n+"."+(+o+1)}else{a=">="+s+"."+n+"."+o+"-"+i+" <"+s+"."+(+n+1)+".0"}}else{a=">="+s+"."+n+"."+o+"-"+i+" <"+(+s+1)+".0.0"}}else{r("no pr");if(s==="0"){if(n==="0"){a=">="+s+"."+n+"."+o+" <"+s+"."+n+"."+(+o+1)}else{a=">="+s+"."+n+"."+o+" <"+s+"."+(+n+1)+".0"}}else{a=">="+s+"."+n+"."+o+" <"+(+s+1)+".0.0"}}r("caret return",a);return a}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var s=t.loose?A[l.XRANGELOOSE]:A[l.XRANGE];return e.replace(s,(function(s,n,o,i,a,A){r("xRange",e,s,n,o,i,a,A);var c=isX(o);var l=c||isX(i);var u=l||isX(a);var d=u;if(n==="="&&d){n=""}A=t.includePrerelease?"-0":"";if(c){if(n===">"||n==="<"){s="<0.0.0-0"}else{s="*"}}else if(n&&d){if(l){i=0}a=0;if(n===">"){n=">=";if(l){o=+o+1;i=0;a=0}else{i=+i+1;a=0}}else if(n==="<="){n="<";if(l){o=+o+1}else{i=+i+1}}s=n+o+"."+i+"."+a+A}else if(l){s=">="+o+".0.0"+A+" <"+(+o+1)+".0.0"+A}else if(u){s=">="+o+"."+i+".0"+A+" <"+o+"."+(+i+1)+".0"+A}r("xRange return",s);return s}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(A[l.STAR],"")}function hyphenReplace(e,t,r,s,n,o,i,a,A,c,l,u,d){if(isX(r)){t=""}else if(isX(s)){t=">="+r+".0.0"}else if(isX(n)){t=">="+r+"."+s+".0"}else{t=">="+t}if(isX(A)){a=""}else if(isX(c)){a="<"+(+A+1)+".0.0"}else if(isX(l)){a="<"+A+"."+(+c+1)+".0"}else if(u){a="<="+A+"."+c+"."+l+"-"+u}else{a="<="+a}return(t+" "+a).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 o=e[n].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var s=null;var n=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||n.compare(e)===-1){s=e;n=new SemVer(s,r)}}}));return s}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var s=null;var n=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||n.compare(e)===1){s=e;n=new SemVer(s,r)}}}));return s}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var s=0;s":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}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,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,s){e=new SemVer(e,s);t=new Range(t,s);var n,o,i,a,A;switch(r){case">":n=gt;o=lte;i=lt;a=">";A=">=";break;case"<":n=lt;o=gte;i=gt;a="<";A="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,s)){return false}for(var c=0;c=0.0.0")}u=u||e;d=d||e;if(n(e.semver,u.semver,s)){u=e}else if(i(e.semver,d.semver,s)){d=e}}));if(u.operator===a||u.operator===A){return false}if((!d.operator||d.operator===a)&&o(e,d.semver)){return false}else if(d.operator===A&&i(e,d.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);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 r=null;if(!t.rtl){r=e.match(A[l.COERCE])}else{var s;while((s=A[l.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||s.index+s[0].length!==r.index+r[0].length){r=s}A[l.COERCERTL].lastIndex=s.index+s[1].length+s[2].length}A[l.COERCERTL].lastIndex=-1}if(r===null){return null}return parse(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}},4914:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const i=o(r(857));const a=r(302);function issueCommand(e,t,r){const s=new Command(e,t,r);process.stdout.write(s.toString()+i.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const A="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=A+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const s=this.properties[r];if(s){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(s)}`}}}}e+=`${A}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,a.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,a.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},7484:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.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 a=r(4914);const A=r(4753);const c=r(302);const l=o(r(857));const u=o(r(6928));const d=r(5306);var p;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(p||(t.ExitCode=p={}));function exportVariable(e,t){const r=(0,c.toCommandValue)(t);process.env[e]=r;const s=process.env["GITHUB_ENV"]||"";if(s){return(0,A.issueFileCommand)("ENV",(0,A.prepareKeyValueMessage)(e,t))}(0,a.issueCommand)("set-env",{name:e},r)}t.exportVariable=exportVariable;function setSecret(e){(0,a.issueCommand)("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){(0,A.issueFileCommand)("PATH",e)}else{(0,a.issueCommand)("add-path",{},e)}process.env["PATH"]=`${e}${u.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const s=["false","False","FALSE"];const n=getInput(e,t);if(r.includes(n))return true;if(s.includes(n))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 r=process.env["GITHUB_OUTPUT"]||"";if(r){return(0,A.issueFileCommand)("OUTPUT",(0,A.prepareKeyValueMessage)(e,t))}process.stdout.write(l.EOL);(0,a.issueCommand)("set-output",{name:e},(0,c.toCommandValue)(t))}t.setOutput=setOutput;function setCommandEcho(e){(0,a.issue)("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=p.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){(0,a.issueCommand)("debug",{},e)}t.debug=debug;function error(e,t={}){(0,a.issueCommand)("error",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){(0,a.issueCommand)("warning",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){(0,a.issueCommand)("notice",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+l.EOL)}t.info=info;function startGroup(e){(0,a.issue)("group",e)}t.startGroup=startGroup;function endGroup(){(0,a.issue)("endgroup")}t.endGroup=endGroup;function group(e,t){return i(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}t.group=group;function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return(0,A.issueFileCommand)("STATE",(0,A.prepareKeyValueMessage)(e,t))}(0,a.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 i(this,void 0,void 0,(function*(){return yield d.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var g=r(1847);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return g.summary}});var m=r(1847);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return m.markdownSummary}});var h=r(1976);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return h.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return h.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return h.toPlatformPath}});t.platform=o(r(8968))},4753:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const i=o(r(6982));const a=o(r(9896));const A=o(r(857));const c=r(302);function issueFileCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!a.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}a.appendFileSync(r,`${(0,c.toCommandValue)(t)}${A.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const r=`ghadelimiter_${i.randomUUID()}`;const s=(0,c.toCommandValue)(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(s.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${A.EOL}${s}${A.EOL}${r}`}t.prepareKeyValueMessage=prepareKeyValueMessage},5306:function(e,t,r){"use strict";var s=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const n=r(4844);const o=r(4552);const i=r(7484);class OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(OidcClient.getRequestToken())],r)}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 s(this,void 0,void 0,(function*(){const r=OidcClient.createHttpClient();const s=yield r.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 n=(t=s.result)===null||t===void 0?void 0:t.value;if(!n){throw new Error("Response json body do not have ID Token field")}return n}))}static getIDToken(e){return s(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}(0,i.debug)(`ID token url is ${t}`);const r=yield OidcClient.getCall(t);(0,i.setSecret)(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},1976:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const i=o(r(6928));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,i.sep)}t.toPlatformPath=toPlatformPath},8968:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var a=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 A=a(r(857));const c=o(r(5236));const getWindowsInfo=()=>i(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=()=>i(void 0,void 0,void 0,(function*(){var e,t,r,s;const{stdout:n}=yield c.getExecOutput("sw_vers",undefined,{silent:true});const o=(t=(e=n.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const i=(s=(r=n.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&s!==void 0?s:"";return{name:i,version:o}}));const getLinuxInfo=()=>i(void 0,void 0,void 0,(function*(){const{stdout:e}=yield c.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,r]=e.trim().split("\n");return{name:t,version:r}}));t.platform=A.default.platform();t.arch=A.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return i(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},1847:function(e,t,r){"use strict";var s=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.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 n=r(857);const o=r(9896);const{access:i,appendFile:a,writeFile:A}=o.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 s(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 i(e,o.constants.R_OK|o.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,r={}){const s=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${s}>`}return`<${e}${s}>${t}`}write(e){return s(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const s=t?A:a;yield s(r,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return s(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(n.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const s=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(s).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const s=e.map((e=>this.wrap("li",e))).join("");const n=this.wrap(r,s);return this.addRaw(n).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:r,colspan:s,rowspan:n}=e;const o=t?"th":"td";const i=Object.assign(Object.assign({},s&&{colspan:s}),n&&{rowspan:n});return this.wrap(o,r,i)})).join("");return this.wrap("tr",t)})).join("");const r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:s,height:n}=r||{};const o=Object.assign(Object.assign({},s&&{width:s}),n&&{height:n});const i=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(i).addEOL()}addHeading(e,t){const r=`h${t}`;const s=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const n=this.wrap(s,e);return this.addRaw(n).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 r=Object.assign({},t&&{cite:t});const s=this.wrap("blockquote",e,r);return this.addRaw(s).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}}const c=new Summary;t.markdownSummary=c;t.summary=c},302:(e,t)=>{"use strict";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},5236:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const a=r(3193);const A=o(r(6665));function exec(e,t,r){return i(this,void 0,void 0,(function*(){const s=A.argStringToArray(e);if(s.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const n=s[0];t=s.slice(1).concat(t||[]);const o=new A.ToolRunner(n,t,r);return o.exec()}))}t.exec=exec;function getExecOutput(e,t,r){var s,n;return i(this,void 0,void 0,(function*(){let o="";let i="";const A=new a.StringDecoder("utf8");const c=new a.StringDecoder("utf8");const l=(s=r===null||r===void 0?void 0:r.listeners)===null||s===void 0?void 0:s.stdout;const u=(n=r===null||r===void 0?void 0:r.listeners)===null||n===void 0?void 0:n.stderr;const stdErrListener=e=>{i+=c.write(e);if(u){u(e)}};const stdOutListener=e=>{o+=A.write(e);if(l){l(e)}};const d=Object.assign(Object.assign({},r===null||r===void 0?void 0:r.listeners),{stdout:stdOutListener,stderr:stdErrListener});const p=yield exec(e,t,Object.assign(Object.assign({},r),{listeners:d}));o+=A.end();i+=c.end();return{exitCode:p,stdout:o,stderr:i}}))}t.getExecOutput=getExecOutput},6665:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const a=o(r(857));const A=o(r(4434));const c=o(r(5317));const l=o(r(6928));const u=o(r(4994));const d=o(r(5207));const p=r(3557);const g=process.platform==="win32";class ToolRunner extends A.EventEmitter{constructor(e,t,r){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=r||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const r=this._getSpawnFileName();const s=this._getSpawnArgs(e);let n=t?"":"[command]";if(g){if(this._isCmdFile()){n+=r;for(const e of s){n+=` ${e}`}}else if(e.windowsVerbatimArguments){n+=`"${r}"`;for(const e of s){n+=` ${e}`}}else{n+=this._windowsQuoteCmdArg(r);for(const e of s){n+=` ${this._windowsQuoteCmdArg(e)}`}}}else{n+=r;for(const e of s){n+=` ${e}`}}return n}_processLineBuffer(e,t,r){try{let s=t+e.toString();let n=s.indexOf(a.EOL);while(n>-1){const e=s.substring(0,n);r(e);s=s.substring(n+a.EOL.length);n=s.indexOf(a.EOL)}return s}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(g){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(g){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args){t+=" ";t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r)}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 r=false;for(const s of e){if(t.some((e=>e===s))){r=true;break}}if(!r){return e}let s='"';let n=true;for(let t=e.length;t>0;t--){s+=e[t-1];if(n&&e[t-1]==="\\"){s+="\\"}else if(e[t-1]==='"'){n=true;s+='"'}else{n=false}}s+='"';return s.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 r=true;for(let s=e.length;s>0;s--){t+=e[s-1];if(r&&e[s-1]==="\\"){t+="\\"}else if(e[s-1]==='"'){r=true;t+="\\"}else{r=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 r={};r.cwd=e.cwd;r.env=e.env;r["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){r.argv0=`"${t}"`}return r}exec(){return i(this,void 0,void 0,(function*(){if(!d.isRooted(this.toolPath)&&(this.toolPath.includes("/")||g&&this.toolPath.includes("\\"))){this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield u.which(this.toolPath,true);return new Promise(((e,t)=>i(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 r=this._cloneExecOptions(this.options);if(!r.silent&&r.outStream){r.outStream.write(this._getCommandString(r)+a.EOL)}const s=new ExecState(r,this.toolPath);s.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield d.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const n=this._getSpawnFileName();const o=c.spawn(n,this._getSpawnArgs(r),this._getSpawnOptions(this.options,n));let i="";if(o.stdout){o.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!r.silent&&r.outStream){r.outStream.write(e)}i=this._processLineBuffer(e,i,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let A="";if(o.stderr){o.stderr.on("data",(e=>{s.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!r.silent&&r.errStream&&r.outStream){const t=r.failOnStdErr?r.errStream:r.outStream;t.write(e)}A=this._processLineBuffer(e,A,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}o.on("error",(e=>{s.processError=e.message;s.processExited=true;s.processClosed=true;s.CheckComplete()}));o.on("exit",(e=>{s.processExitCode=e;s.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);s.CheckComplete()}));o.on("close",(e=>{s.processExitCode=e;s.processExited=true;s.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);s.CheckComplete()}));s.on("done",((r,s)=>{if(i.length>0){this.emit("stdline",i)}if(A.length>0){this.emit("errline",A)}o.removeAllListeners();if(r){t(r)}else{e(s)}}));if(this.options.input){if(!o.stdin){throw new Error("child process missing stdin")}o.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let r=false;let s=false;let n="";function append(e){if(s&&e!=='"'){n+="\\"}n+=e;s=false}for(let o=0;o0){t.push(n);n=""}continue}append(i)}if(n.length>0){t.push(n.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends A.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=p.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()}}},1648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Context=void 0;const s=r(9896);const n=r(857);class Context{constructor(){var e,t,r;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,s.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,s.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const e=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${e} does not exist${n.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:`https://api.github.com`;this.serverUrl=(t=process.env.GITHUB_SERVER_URL)!==null&&t!==void 0?t:`https://github.com`;this.graphqlUrl=(r=process.env.GITHUB_GRAPHQL_URL)!==null&&r!==void 0?r:`https://api.github.com/graphql`}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,t]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:t}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}t.Context=Context},3228:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokit=t.context=void 0;const i=o(r(1648));const a=r(8006);t.context=new i.Context;function getOctokit(e,t,...r){const s=a.GitHub.plugin(...r);return new s((0,a.getOctokitOptions)(e,t))}t.getOctokit=getOctokit},5156:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getApiBaseUrl=t.getProxyFetch=t.getProxyAgentDispatcher=t.getProxyAgent=t.getAuthString=void 0;const a=o(r(4844));const A=r(6752);function getAuthString(e,t){if(!e&&!t.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&t.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof t.auth==="string"?t.auth:`token ${e}`}t.getAuthString=getAuthString;function getProxyAgent(e){const t=new a.HttpClient;return t.getAgent(e)}t.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(e){const t=new a.HttpClient;return t.getAgentDispatcher(e)}t.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(e){const t=getProxyAgentDispatcher(e);const proxyFetch=(e,r)=>i(this,void 0,void 0,(function*(){return(0,A.fetch)(e,Object.assign(Object.assign({},r),{dispatcher:t}))}));return proxyFetch}t.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}t.getApiBaseUrl=getApiBaseUrl},8006:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokitOptions=t.GitHub=t.defaults=t.context=void 0;const i=o(r(1648));const a=o(r(5156));const A=r(1897);const c=r(4935);const l=r(8082);t.context=new i.Context;const u=a.getApiBaseUrl();t.defaults={baseUrl:u,request:{agent:a.getProxyAgent(u),fetch:a.getProxyFetch(u)}};t.GitHub=A.Octokit.plugin(c.restEndpointMethods,l.paginateRest).defaults(t.defaults);function getOctokitOptions(e,t){const r=Object.assign({},t||{});const s=a.getAuthString(e,r);if(s){r.auth=s}return r}t.getOctokitOptions=getOctokitOptions},7206:function(e,t,r){"use strict";var s=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.create=void 0;const n=r(103);function create(e,t){return s(this,void 0,void 0,(function*(){return yield n.DefaultGlobber.create(e,t)}))}t.create=create},8164:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOptions=void 0;const i=o(r(7484));function getOptions(e){const t={followSymbolicLinks:true,implicitDescendants:true,omitBrokenSymbolicLinks:true};if(e){if(typeof e.followSymbolicLinks==="boolean"){t.followSymbolicLinks=e.followSymbolicLinks;i.debug(`followSymbolicLinks '${t.followSymbolicLinks}'`)}if(typeof e.implicitDescendants==="boolean"){t.implicitDescendants=e.implicitDescendants;i.debug(`implicitDescendants '${t.implicitDescendants}'`)}if(typeof e.omitBrokenSymbolicLinks==="boolean"){t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks;i.debug(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)}}return t}t.getOptions=getOptions},103:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var a=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(s,n){r=e[t](r),settle(s,n,r.done,r.value)}))}}function settle(e,t,r,s){Promise.resolve(s).then((function(t){e({value:t,done:r})}),t)}};var A=this&&this.__await||function(e){return this instanceof A?(this.v=e,this):new A(e)};var c=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=r.apply(e,t||[]),n,o=[];return n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n;function verb(e){if(s[e])n[e]=function(t){return new Promise((function(r,s){o.push([e,t,r,s])>1||resume(e,t)}))}}function resume(e,t){try{step(s[e](t))}catch(e){settle(o[0][3],e)}}function step(e){e.value instanceof A?Promise.resolve(e.value.v).then(fulfill,reject):settle(o[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),o.shift(),o.length)resume(o[0][0],o[0][1])}};Object.defineProperty(t,"__esModule",{value:true});t.DefaultGlobber=void 0;const l=o(r(7484));const u=o(r(9896));const d=o(r(8164));const p=o(r(6928));const g=o(r(8891));const m=r(2644);const h=r(5370);const E=r(9890);const C=process.platform==="win32";class DefaultGlobber{constructor(e){this.patterns=[];this.searchPaths=[];this.options=d.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,t;return i(this,void 0,void 0,(function*(){const r=[];try{for(var s=a(this.globGenerator()),n;n=yield s.next(),!n.done;){const e=n.value;r.push(e)}}catch(t){e={error:t}}finally{try{if(n&&!n.done&&(t=s.return))yield t.call(s)}finally{if(e)throw e.error}}return r}))}globGenerator(){return c(this,arguments,(function*globGenerator_1(){const e=d.getOptions(this.options);const t=[];for(const r of this.patterns){t.push(r);if(e.implicitDescendants&&(r.trailingSeparator||r.segments[r.segments.length-1]!=="**")){t.push(new h.Pattern(r.negate,true,r.segments.concat("**")))}}const r=[];for(const e of g.getSearchPaths(t)){l.debug(`Search path '${e}'`);try{yield A(u.promises.lstat(e))}catch(e){if(e.code==="ENOENT"){continue}throw e}r.unshift(new E.SearchState(e,1))}const s=[];while(r.length){const n=r.pop();const o=g.match(t,n.path);const i=!!o||g.partialMatch(t,n.path);if(!o&&!i){continue}const a=yield A(DefaultGlobber.stat(n,e,s));if(!a){continue}if(a.isDirectory()){if(o&m.MatchKind.Directory){yield yield A(n.path)}else if(!i){continue}const e=n.level+1;const t=(yield A(u.promises.readdir(n.path))).map((t=>new E.SearchState(p.join(n.path,t),e)));r.push(...t.reverse())}else if(o&m.MatchKind.File){yield yield A(n.path)}}}))}static create(e,t){return i(this,void 0,void 0,(function*(){const r=new DefaultGlobber(t);if(C){e=e.replace(/\r\n/g,"\n");e=e.replace(/\r/g,"\n")}const s=e.split("\n").map((e=>e.trim()));for(const e of s){if(!e||e.startsWith("#")){continue}else{r.patterns.push(new h.Pattern(e))}}r.searchPaths.push(...g.getSearchPaths(r.patterns));return r}))}static stat(e,t,r){return i(this,void 0,void 0,(function*(){let s;if(t.followSymbolicLinks){try{s=yield u.promises.stat(e.path)}catch(r){if(r.code==="ENOENT"){if(t.omitBrokenSymbolicLinks){l.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 r}}else{s=yield u.promises.lstat(e.path)}if(s.isDirectory()&&t.followSymbolicLinks){const t=yield u.promises.realpath(e.path);while(r.length>=e.level){r.pop()}if(r.some((e=>e===t))){l.debug(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return undefined}r.push(t)}return s}))}}t.DefaultGlobber=DefaultGlobber},2644:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MatchKind=void 0;var r;(function(e){e[e["None"]=0]="None";e[e["Directory"]=1]="Directory";e[e["File"]=2]="File";e[e["All"]=3]="All"})(r=t.MatchKind||(t.MatchKind={}))},4138:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=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 a=o(r(6928));const A=i(r(2613));const c=process.platform==="win32";function dirname(e){e=safeTrimTrailingSeparator(e);if(c&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e)){return e}let t=a.dirname(e);if(c&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)){t=safeTrimTrailingSeparator(t)}return t}t.dirname=dirname;function ensureAbsoluteRoot(e,t){A.default(e,`ensureAbsoluteRoot parameter 'root' must not be empty`);A.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();A.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();A.default(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);return`${e[0]}:\\${t.substr(1)}`}}A.default(hasAbsoluteRoot(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(e.endsWith("/")||c&&e.endsWith("\\")){}else{e+=a.sep}return e+t}t.ensureAbsoluteRoot=ensureAbsoluteRoot;function hasAbsoluteRoot(e){A.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){A.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(a.sep)){return e}if(e===a.sep){return e}if(c&&/^[A-Z]:\\$/i.test(e)){return e}return e.substr(0,e.length-1)}t.safeTrimTrailingSeparator=safeTrimTrailingSeparator},6617:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Path=void 0;const a=o(r(6928));const A=o(r(4138));const c=i(r(2613));const l=process.platform==="win32";class Path{constructor(e){this.segments=[];if(typeof e==="string"){c.default(e,`Parameter 'itemPath' must not be empty`);e=A.safeTrimTrailingSeparator(e);if(!A.hasRoot(e)){this.segments=e.split(a.sep)}else{let t=e;let r=A.dirname(t);while(r!==t){const e=a.basename(t);this.segments.unshift(e);t=r;r=A.dirname(t)}this.segments.unshift(t)}}else{c.default(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;t!e.negate));const t={};for(const r of e){const e=A?r.searchPath.toUpperCase():r.searchPath;t[e]="candidate"}const r=[];for(const s of e){const e=A?s.searchPath.toUpperCase():s.searchPath;if(t[e]==="included"){continue}let n=false;let o=e;let a=i.dirname(o);while(a!==o){if(t[a]){n=true;break}o=a;a=i.dirname(o)}if(!n){r.push(s.searchPath);t[e]="included"}}return r}t.getSearchPaths=getSearchPaths;function match(e,t){let r=a.MatchKind.None;for(const s of e){if(s.negate){r&=~s.match(t)}else{r|=s.match(t)}}return r}t.match=match;function partialMatch(e,t){return e.some((e=>!e.negate&&e.partialMatch(t)))}t.partialMatch=partialMatch},5370:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Pattern=void 0;const a=o(r(857));const A=o(r(6928));const c=o(r(4138));const l=i(r(2613));const u=r(3772);const d=r(2644);const p=r(6617);const g=process.platform==="win32";class Pattern{constructor(e,t=false,r,s){this.negate=false;let n;if(typeof e==="string"){n=e.trim()}else{r=r||[];l.default(r.length,`Parameter 'segments' must not empty`);const t=Pattern.getLiteral(r[0]);l.default(t&&c.hasAbsoluteRoot(t),`Parameter 'segments' first element must be a root path`);n=new p.Path(r).toString().trim();if(e){n=`!${n}`}}while(n.startsWith("!")){this.negate=!this.negate;n=n.substr(1).trim()}n=Pattern.fixupPattern(n,s);this.segments=new p.Path(n).segments;this.trailingSeparator=c.normalizeSeparators(n).endsWith(A.sep);n=c.safeTrimTrailingSeparator(n);let o=false;const i=this.segments.map((e=>Pattern.getLiteral(e))).filter((e=>!o&&!(o=e==="")));this.searchPath=new p.Path(i).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(i[0]),g?"i":"");this.isImplicitPattern=t;const a={dot:true,nobrace:true,nocase:g,nocomment:true,noext:true,nonegate:true};n=g?n.replace(/\\/g,"/"):n;this.minimatch=new u.Minimatch(n,a)}match(e){if(this.segments[this.segments.length-1]==="**"){e=c.normalizeSeparators(e);if(!e.endsWith(A.sep)&&this.isImplicitPattern===false){e=`${e}${A.sep}`}}else{e=c.safeTrimTrailingSeparator(e)}if(this.minimatch.match(e)){return this.trailingSeparator?d.MatchKind.Directory:d.MatchKind.All}return d.MatchKind.None}partialMatch(e){e=c.safeTrimTrailingSeparator(e);if(c.dirname(e)===e){return this.rootRegExp.test(e)}return this.minimatch.matchOne(e.split(g?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(e){return(g?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,t){l.default(e,"pattern cannot be empty");const r=new p.Path(e).segments.map((e=>Pattern.getLiteral(e)));l.default(r.every(((e,t)=>(e!=="."||t===0)&&e!=="..")),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`);l.default(!c.hasRoot(e)||r[0],`Invalid pattern '${e}'. Root segment must not contain globs.`);e=c.normalizeSeparators(e);if(e==="."||e.startsWith(`.${A.sep}`)){e=Pattern.globEscape(process.cwd())+e.substr(1)}else if(e==="~"||e.startsWith(`~${A.sep}`)){t=t||a.homedir();l.default(t,"Unable to determine HOME directory");l.default(c.hasAbsoluteRoot(t),`Expected HOME directory to be a rooted path. Actual '${t}'`);e=Pattern.globEscape(t)+e.substr(1)}else if(g&&(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(g&&(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 r=0;r=0){if(s.length>1){return""}if(s){t+=s;r=n;continue}}}t+=s}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}}t.Pattern=Pattern},9890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SearchState=void 0;class SearchState{constructor(e,t){this.path=e;this.level=t}}t.SearchState=SearchState},4552:function(e,t){"use strict";var r=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.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 r(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 r(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 r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},4844:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.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 a=o(r(8611));const A=o(r(5692));const c=o(r(4988));const l=o(r(770));const u=r(6752);var d;(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"})(d||(t.HttpCodes=d={}));var p;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(p||(t.Headers=p={}));var g;(function(e){e["ApplicationJson"]="application/json"})(g||(t.MediaTypes=g={}));function getProxyUrl(e){const t=c.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const m=[d.MovedPermanently,d.ResourceMoved,d.SeeOther,d.TemporaryRedirect,d.PermanentRedirect];const h=[d.BadGateway,d.ServiceUnavailable,d.GatewayTimeout];const E=["OPTIONS","GET","DELETE","HEAD"];const C=10;const y=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 i(this,void 0,void 0,(function*(){return new Promise((e=>i(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 i(this,void 0,void 0,(function*(){return new Promise((e=>i(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,r){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=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return i(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return i(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return i(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return i(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,s){return i(this,void 0,void 0,(function*(){return this.request(e,t,r,s)}))}getJson(e,t={}){return i(this,void 0,void 0,(function*(){t[p.Accept]=this._getExistingOrDefaultHeader(t,p.Accept,g.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const s=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,g.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,g.ApplicationJson);const n=yield this.post(e,s,r);return this._processResponse(n,this.requestOptions)}))}putJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const s=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,g.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,g.ApplicationJson);const n=yield this.put(e,s,r);return this._processResponse(n,this.requestOptions)}))}patchJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const s=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,g.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,g.ApplicationJson);const n=yield this.patch(e,s,r);return this._processResponse(n,this.requestOptions)}))}request(e,t,r,s){return i(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const n=new URL(t);let o=this._prepareRequest(e,n,s);const i=this._allowRetries&&E.includes(e)?this._maxRetries+1:1;let a=0;let A;do{A=yield this.requestRaw(o,r);if(A&&A.message&&A.message.statusCode===d.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(A)){e=t;break}}if(e){return e.handleAuthentication(this,o,r)}else{return A}}let t=this._maxRedirects;while(A.message.statusCode&&m.includes(A.message.statusCode)&&this._allowRedirects&&t>0){const i=A.message.headers["location"];if(!i){break}const a=new URL(i);if(n.protocol==="https:"&&n.protocol!==a.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 A.readBody();if(a.hostname!==n.hostname){for(const e in s){if(e.toLowerCase()==="authorization"){delete s[e]}}}o=this._prepareRequest(e,a,s);A=yield this.requestRaw(o,r);t--}if(!A.message.statusCode||!h.includes(A.message.statusCode)){return A}a+=1;if(a{function callbackForResult(e,t){if(e){s(e)}else if(!t){s(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let s=false;function handleResult(e,t){if(!s){s=true;r(e,t)}}const n=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let o;n.on("socket",(e=>{o=e}));n.setTimeout(this._socketTimeout||3*6e4,(()=>{if(o){o.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));n.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){n.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){n.end()}));t.pipe(n)}else{n.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=c.getProxyUrl(t);const s=r&&r.hostname;if(!s){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const s={};s.parsedUrl=t;const n=s.parsedUrl.protocol==="https:";s.httpModule=n?A:a;const o=n?443:80;s.options={};s.options.host=s.parsedUrl.hostname;s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):o;s.options.path=(s.parsedUrl.pathname||"")+(s.parsedUrl.search||"");s.options.method=e;s.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){s.options.headers["user-agent"]=this.userAgent}s.options.agent=this._getAgent(s.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(s.options)}}return s}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let s;if(this.requestOptions&&this.requestOptions.headers){s=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||s||r}_getAgent(e){let t;const r=c.getProxyUrl(e);const s=r&&r.hostname;if(this._keepAlive&&s){t=this._proxyAgent}if(!s){t=this._agent}if(t){return t}const n=e.protocol==="https:";let o=100;if(this.requestOptions){o=this.requestOptions.maxSockets||a.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let s;const i=r.protocol==="https:";if(n){s=i?l.httpsOverHttps:l.httpsOverHttp}else{s=i?l.httpOverHttps:l.httpOverHttp}t=s(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:o};t=n?new A.Agent(e):new a.Agent(e);this._agent=t}if(n&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const s=e.protocol==="https:";r=new u.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=r;if(s&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){e=Math.min(C,e);const t=y*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,s)=>i(this,void 0,void 0,(function*(){const n=e.message.statusCode||0;const o={statusCode:n,result:null,headers:{}};if(n===d.NotFound){r(o)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let i;let a;try{a=yield e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){i=JSON.parse(a,dateTimeDeserializer)}else{i=JSON.parse(a)}o.result=i}o.headers=e.message.headers}catch(e){}if(n>299){let e;if(i&&i.message){e=i.message}else if(a&&a.length>0){e=a}else{e=`Failed request: (${n})`}const t=new HttpClientError(e,n);t.result=o.result;s(t)}else{r(o)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})},4988:(e,t)=>{"use strict";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 r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new DecodedURL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DecodedURL(`http://${r}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let s;if(e.port){s=Number(e.port)}else if(e.protocol==="http:"){s=80}else if(e.protocol==="https:"){s=443}const n=[e.hostname.toUpperCase()];if(typeof s==="number"){n.push(`${n[0]}:${s}`)}for(const e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||n.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}}},5207:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var a;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 A=o(r(9896));const c=o(r(6928));a=A.promises,t.chmod=a.chmod,t.copyFile=a.copyFile,t.lstat=a.lstat,t.mkdir=a.mkdir,t.open=a.open,t.readdir=a.readdir,t.readlink=a.readlink,t.rename=a.rename,t.rm=a.rm,t.rmdir=a.rmdir,t.stat=a.stat,t.symlink=a.symlink,t.unlink=a.unlink;t.IS_WINDOWS=process.platform==="win32";t.UV_FS_O_EXLOCK=268435456;t.READONLY=A.constants.O_RDONLY;function exists(e){return i(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,r=false){return i(this,void 0,void 0,(function*(){const s=r?yield t.stat(e):yield t.lstat(e);return s.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,r){return i(this,void 0,void 0,(function*(){let s=undefined;try{s=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(s&&s.isFile()){if(t.IS_WINDOWS){const t=c.extname(e).toUpperCase();if(r.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(s)){return e}}}const n=e;for(const o of r){e=n+o;s=undefined;try{s=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(s&&s.isFile()){if(t.IS_WINDOWS){try{const r=c.dirname(e);const s=c.basename(e).toUpperCase();for(const n of yield t.readdir(r)){if(s===n.toUpperCase()){e=c.join(r,n);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(s)){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},4994:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.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 a=r(2613);const A=o(r(6928));const c=o(r(5207));function cp(e,t,r={}){return i(this,void 0,void 0,(function*(){const{force:s,recursive:n,copySourceDirectory:o}=readCopyOptions(r);const i=(yield c.exists(t))?yield c.stat(t):null;if(i&&i.isFile()&&!s){return}const a=i&&i.isDirectory()&&o?A.join(t,A.basename(e)):t;if(!(yield c.exists(e))){throw new Error(`no such file or directory: ${e}`)}const l=yield c.stat(e);if(l.isDirectory()){if(!n){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,a,0,s)}}else{if(A.relative(e,a)===""){throw new Error(`'${a}' and '${e}' are the same file`)}yield copyFile(e,a,s)}}))}t.cp=cp;function mv(e,t,r={}){return i(this,void 0,void 0,(function*(){if(yield c.exists(t)){let s=true;if(yield c.isDirectory(t)){t=A.join(t,A.basename(e));s=yield c.exists(t)}if(s){if(r.force==null||r.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(A.dirname(t));yield c.rename(e,t)}))}t.mv=mv;function rmRF(e){return i(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 i(this,void 0,void 0,(function*(){a.ok(e,"a path argument must be provided");yield c.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return i(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 r=yield findInPath(e);if(r&&r.length>0){return r[0]}return""}))}t.which=which;function findInPath(e){return i(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(A.delimiter)){if(e){t.push(e)}}}if(c.isRooted(e)){const r=yield c.tryGetExecutablePath(e,t);if(r){return[r]}return[]}if(e.includes(A.sep)){return[]}const r=[];if(process.env.PATH){for(const e of process.env.PATH.split(A.delimiter)){if(e){r.push(e)}}}const s=[];for(const n of r){const r=yield c.tryGetExecutablePath(A.join(n,e),t);if(r){s.push(r)}}return s}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const r=Boolean(e.recursive);const s=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:r,copySourceDirectory:s}}function cpDirRecursive(e,t,r,s){return i(this,void 0,void 0,(function*(){if(r>=255)return;r++;yield mkdirP(t);const n=yield c.readdir(e);for(const o of n){const n=`${e}/${o}`;const i=`${t}/${o}`;const a=yield c.lstat(n);if(a.isDirectory()){yield cpDirRecursive(n,i,r,s)}else{yield copyFile(n,i,s)}}yield c.chmod(t,(yield c.stat(e)).mode)}))}function copyFile(e,t,r){return i(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 r=yield c.readlink(e);yield c.symlink(r,t,c.IS_WINDOWS?"junction":null)}else if(!(yield c.exists(t))||r){yield c.copyFile(e,t)}}))}},8036:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t._readLinuxVersionFile=t._getOsVersion=t._findMatch=void 0;const a=o(r(6193));const A=r(7484);const c=r(857);const l=r(5317);const u=r(9896);function _findMatch(t,r,s,n){return i(this,void 0,void 0,(function*(){const o=c.platform();let i;let l;let u;for(const i of s){const s=i.version;A.debug(`check ${s} satisfies ${t}`);if(a.satisfies(s,t)&&(!r||i.stable===r)){u=i.files.find((t=>{A.debug(`${t.arch}===${n} && ${t.platform}===${o}`);let r=t.arch===n&&t.platform===o;if(r&&t.platform_version){const s=e.exports._getOsVersion();if(s===t.platform_version){r=true}else{r=a.satisfies(s,t.platform_version)}}return r}));if(u){A.debug(`matched ${i.version}`);l=i;break}}}if(l&&u){i=Object.assign({},l);i.files=[u]}return i}))}t._findMatch=_findMatch;function _getOsVersion(){const t=c.platform();let r="";if(t==="darwin"){r=l.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")){r=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return r}t._getOsVersion=_getOsVersion;function _readLinuxVersionFile(){const e="/etc/lsb-release";const t="/etc/os-release";let r="";if(u.existsSync(e)){r=u.readFileSync(e).toString()}else if(u.existsSync(t)){r=u.readFileSync(t).toString()}return r}t._readLinuxVersionFile=_readLinuxVersionFile},7380:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.RetryHelper=void 0;const a=o(r(7484));class RetryHelper{constructor(e,t,r){if(e<1){throw new Error("max attempts should be greater than or equal to 1")}this.maxAttempts=e;this.minSeconds=Math.floor(t);this.maxSeconds=Math.floor(r);if(this.minSeconds>this.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(e,t){return i(this,void 0,void 0,(function*(){let r=1;while(rsetTimeout(t,e*1e3)))}))}}t.RetryHelper=RetryHelper},3472:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.evaluateVersions=t.isExplicitVersion=t.findFromManifest=t.getManifestFromRepo=t.findAllVersions=t.find=t.cacheFile=t.cacheDir=t.extractZip=t.extractXar=t.extractTar=t.extract7z=t.downloadTool=t.HTTPError=void 0;const A=o(r(7484));const c=o(r(4994));const l=o(r(9896));const u=o(r(8036));const d=o(r(857));const p=o(r(6928));const g=o(r(4844));const m=o(r(6193));const h=o(r(2203));const E=o(r(9023));const C=r(2613);const y=a(r(9021));const I=r(5236);const B=r(7380);class HTTPError extends Error{constructor(e){super(`Unexpected HTTP response: ${e}`);this.httpStatusCode=e;Object.setPrototypeOf(this,new.target.prototype)}}t.HTTPError=HTTPError;const Q=process.platform==="win32";const b=process.platform==="darwin";const S="actions/tool-cache";function downloadTool(e,t,r,s){return i(this,void 0,void 0,(function*(){t=t||p.join(_getTempDirectory(),y.default());yield c.mkdirP(p.dirname(t));A.debug(`Downloading ${e}`);A.debug(`Destination ${t}`);const n=3;const o=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10);const a=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);const l=new B.RetryHelper(n,o,a);return yield l.execute((()=>i(this,void 0,void 0,(function*(){return yield downloadToolAttempt(e,t||"",r,s)}))),(e=>{if(e instanceof HTTPError&&e.httpStatusCode){if(e.httpStatusCode<500&&e.httpStatusCode!==408&&e.httpStatusCode!==429){return false}}return true}))}))}t.downloadTool=downloadTool;function downloadToolAttempt(e,t,r,s){return i(this,void 0,void 0,(function*(){if(l.existsSync(t)){throw new Error(`Destination file path ${t} already exists`)}const n=new g.HttpClient(S,[],{allowRetries:false});if(r){A.debug("set auth");if(s===undefined){s={}}s.authorization=r}const o=yield n.get(e,s);if(o.message.statusCode!==200){const t=new HTTPError(o.message.statusCode);A.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`);throw t}const i=E.promisify(h.pipeline);const a=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>o.message));const u=a();let d=false;try{yield i(u,l.createWriteStream(t));A.debug("download complete");d=true;return t}finally{if(!d){A.debug("download failed");try{yield c.rmRF(t)}catch(e){A.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}function extract7z(e,t,r){return i(this,void 0,void 0,(function*(){C.ok(Q,"extract7z() not supported on current OS");C.ok(e,'parameter "file" is required');t=yield _createExtractFolder(t);const s=process.cwd();process.chdir(t);if(r){try{const t=A.isDebug()?"-bb1":"-bb0";const s=["x",t,"-bd","-sccUTF-8",e];const n={silent:true};yield I.exec(`"${r}"`,s,n)}finally{process.chdir(s)}}else{const r=p.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const n=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const o=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const i=`& '${r}' -Source '${n}' -Target '${o}'`;const a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];const A={silent:true};try{const e=yield c.which("powershell",true);yield I.exec(`"${e}"`,a,A)}finally{process.chdir(s)}}return t}))}t.extract7z=extract7z;function extractTar(e,t,r="xz"){return i(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);A.debug("Checking tar --version");let s="";yield I.exec("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>s+=e.toString(),stderr:e=>s+=e.toString()}});A.debug(s.trim());const n=s.toUpperCase().includes("GNU TAR");let o;if(r instanceof Array){o=r}else{o=[r]}if(A.isDebug()&&!r.includes("v")){o.push("-v")}let i=t;let a=e;if(Q&&n){o.push("--force-local");i=t.replace(/\\/g,"/");a=e.replace(/\\/g,"/")}if(n){o.push("--warning=no-unknown-keyword");o.push("--overwrite")}o.push("-C",i,"-f",a);yield I.exec(`tar`,o);return t}))}t.extractTar=extractTar;function extractXar(e,t,r=[]){return i(this,void 0,void 0,(function*(){C.ok(b,"extractXar() not supported on current OS");C.ok(e,'parameter "file" is required');t=yield _createExtractFolder(t);let s;if(r instanceof Array){s=r}else{s=[r]}s.push("-x","-C",t,"-f",e);if(A.isDebug()){s.push("-v")}const n=yield c.which("xar",true);yield I.exec(`"${n}"`,_unique(s));return t}))}t.extractXar=extractXar;function extractZip(e,t){return i(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);if(Q){yield extractZipWin(e,t)}else{yield extractZipNix(e,t)}return t}))}t.extractZip=extractZip;function extractZipWin(e,t){return i(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const s=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const n=yield c.which("pwsh",false);if(n){const e=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${s}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${s}' -Force } else { throw $_ } } ;`].join(" ");const t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];A.debug(`Using pwsh at path: ${n}`);yield I.exec(`"${n}"`,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 '${r}' -DestinationPath '${s}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${s}', $true) }`].join(" ");const t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];const n=yield c.which("powershell",true);A.debug(`Using powershell at path: ${n}`);yield I.exec(`"${n}"`,t)}}))}function extractZipNix(e,t){return i(this,void 0,void 0,(function*(){const r=yield c.which("unzip",true);const s=[e];if(!A.isDebug()){s.unshift("-q")}s.unshift("-o");yield I.exec(`"${r}"`,s,{cwd:t})}))}function cacheDir(e,t,r,s){return i(this,void 0,void 0,(function*(){r=m.clean(r)||r;s=s||d.arch();A.debug(`Caching tool ${t} ${r} ${s}`);A.debug(`source dir: ${e}`);if(!l.statSync(e).isDirectory()){throw new Error("sourceDir is not a directory")}const n=yield _createToolPath(t,r,s);for(const t of l.readdirSync(e)){const r=p.join(e,t);yield c.cp(r,n,{recursive:true})}_completeToolPath(t,r,s);return n}))}t.cacheDir=cacheDir;function cacheFile(e,t,r,s,n){return i(this,void 0,void 0,(function*(){s=m.clean(s)||s;n=n||d.arch();A.debug(`Caching tool ${r} ${s} ${n}`);A.debug(`source file: ${e}`);if(!l.statSync(e).isFile()){throw new Error("sourceFile is not a file")}const o=yield _createToolPath(r,s,n);const i=p.join(o,t);A.debug(`destination file ${i}`);yield c.cp(e,i);_completeToolPath(r,s,n);return o}))}t.cacheFile=cacheFile;function find(e,t,r){if(!e){throw new Error("toolName parameter is required")}if(!t){throw new Error("versionSpec parameter is required")}r=r||d.arch();if(!isExplicitVersion(t)){const s=findAllVersions(e,r);const n=evaluateVersions(s,t);t=n}let s="";if(t){t=m.clean(t)||"";const n=p.join(_getCacheDirectory(),e,t,r);A.debug(`checking cache: ${n}`);if(l.existsSync(n)&&l.existsSync(`${n}.complete`)){A.debug(`Found tool in cache ${e} ${t} ${r}`);s=n}else{A.debug("not found")}}return s}t.find=find;function findAllVersions(e,t){const r=[];t=t||d.arch();const s=p.join(_getCacheDirectory(),e);if(l.existsSync(s)){const e=l.readdirSync(s);for(const n of e){if(isExplicitVersion(n)){const e=p.join(s,n,t||"");if(l.existsSync(e)&&l.existsSync(`${e}.complete`)){r.push(n)}}}}return r}t.findAllVersions=findAllVersions;function getManifestFromRepo(e,t,r,s="master"){return i(this,void 0,void 0,(function*(){let n=[];const o=`https://api.github.com/repos/${e}/${t}/git/trees/${s}`;const i=new g.HttpClient("tool-cache");const a={};if(r){A.debug("set auth");a.authorization=r}const c=yield i.getJson(o,a);if(!c.result){return n}let l="";for(const e of c.result.tree){if(e.path==="versions-manifest.json"){l=e.url;break}}a["accept"]="application/vnd.github.VERSION.raw";let u=yield(yield i.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{n=JSON.parse(u)}catch(e){A.debug("Invalid json")}}return n}))}t.getManifestFromRepo=getManifestFromRepo;function findFromManifest(e,t,r,s=d.arch()){return i(this,void 0,void 0,(function*(){const n=yield u._findMatch(e,t,r,s);return n}))}t.findFromManifest=findFromManifest;function _createExtractFolder(e){return i(this,void 0,void 0,(function*(){if(!e){e=p.join(_getTempDirectory(),y.default())}yield c.mkdirP(e);return e}))}function _createToolPath(e,t,r){return i(this,void 0,void 0,(function*(){const s=p.join(_getCacheDirectory(),e,m.clean(t)||t,r||"");A.debug(`destination ${s}`);const n=`${s}.complete`;yield c.rmRF(s);yield c.rmRF(n);yield c.mkdirP(s);return s}))}function _completeToolPath(e,t,r){const s=p.join(_getCacheDirectory(),e,m.clean(t)||t,r||"");const n=`${s}.complete`;l.writeFileSync(n,"");A.debug("finished caching tool")}function isExplicitVersion(e){const t=m.clean(e)||"";A.debug(`isExplicit: ${t}`);const r=m.valid(t)!=null;A.debug(`explicit? ${r}`);return r}t.isExplicitVersion=isExplicitVersion;function evaluateVersions(e,t){let r="";A.debug(`evaluating ${e.length} versions`);e=e.sort(((e,t)=>{if(m.gt(e,t)){return 1}return-1}));for(let s=e.length-1;s>=0;s--){const n=e[s];const o=m.satisfies(n,t);if(o){r=n;break}}if(r){A.debug(`matched: ${r}`)}else{A.debug("match not found")}return r}t.evaluateVersions=evaluateVersions;function _getCacheDirectory(){const e=process.env["RUNNER_TOOL_CACHE"]||"";C.ok(e,"Expected RUNNER_TOOL_CACHE to be defined");return e}function _getTempDirectory(){const e=process.env["RUNNER_TEMP"]||"";C.ok(e,"Expected RUNNER_TEMP to be defined");return e}function _getGlobal(e,t){const r=global[e];return r!==undefined?r:t}function _unique(e){return Array.from(new Set(e))}},6193:(e,t)=>{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var s=256;var n=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var i=s-6;var a=t.re=[];var A=t.safeRe=[];var c=t.src=[];var l=t.tokens={};var u=0;function tok(e){l[e]=u++}var d="[a-zA-Z0-9-]";var p=[["\\s",1],["\\d",s],[d,i]];function makeSafeRe(e){for(var t=0;t)?=?)";tok("XRANGEIDENTIFIERLOOSE");c[l.XRANGEIDENTIFIERLOOSE]=c[l.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");c[l.XRANGEIDENTIFIER]=c[l.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");c[l.XRANGEPLAIN]="[v=\\s]*("+c[l.XRANGEIDENTIFIER]+")"+"(?:\\.("+c[l.XRANGEIDENTIFIER]+")"+"(?:\\.("+c[l.XRANGEIDENTIFIER]+")"+"(?:"+c[l.PRERELEASE]+")?"+c[l.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");c[l.XRANGEPLAINLOOSE]="[v=\\s]*("+c[l.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+c[l.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+c[l.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+c[l.PRERELEASELOOSE]+")?"+c[l.BUILD]+"?"+")?)?";tok("XRANGE");c[l.XRANGE]="^"+c[l.GTLT]+"\\s*"+c[l.XRANGEPLAIN]+"$";tok("XRANGELOOSE");c[l.XRANGELOOSE]="^"+c[l.GTLT]+"\\s*"+c[l.XRANGEPLAINLOOSE]+"$";tok("COERCE");c[l.COERCE]="(^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");a[l.COERCERTL]=new RegExp(c[l.COERCE],"g");A[l.COERCERTL]=new RegExp(makeSafeRe(c[l.COERCE]),"g");tok("LONETILDE");c[l.LONETILDE]="(?:~>?)";tok("TILDETRIM");c[l.TILDETRIM]="(\\s*)"+c[l.LONETILDE]+"\\s+";a[l.TILDETRIM]=new RegExp(c[l.TILDETRIM],"g");A[l.TILDETRIM]=new RegExp(makeSafeRe(c[l.TILDETRIM]),"g");var g="$1~";tok("TILDE");c[l.TILDE]="^"+c[l.LONETILDE]+c[l.XRANGEPLAIN]+"$";tok("TILDELOOSE");c[l.TILDELOOSE]="^"+c[l.LONETILDE]+c[l.XRANGEPLAINLOOSE]+"$";tok("LONECARET");c[l.LONECARET]="(?:\\^)";tok("CARETTRIM");c[l.CARETTRIM]="(\\s*)"+c[l.LONECARET]+"\\s+";a[l.CARETTRIM]=new RegExp(c[l.CARETTRIM],"g");A[l.CARETTRIM]=new RegExp(makeSafeRe(c[l.CARETTRIM]),"g");var m="$1^";tok("CARET");c[l.CARET]="^"+c[l.LONECARET]+c[l.XRANGEPLAIN]+"$";tok("CARETLOOSE");c[l.CARETLOOSE]="^"+c[l.LONECARET]+c[l.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");c[l.COMPARATORLOOSE]="^"+c[l.GTLT]+"\\s*("+c[l.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");c[l.COMPARATOR]="^"+c[l.GTLT]+"\\s*("+c[l.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");c[l.COMPARATORTRIM]="(\\s*)"+c[l.GTLT]+"\\s*("+c[l.LOOSEPLAIN]+"|"+c[l.XRANGEPLAIN]+")";a[l.COMPARATORTRIM]=new RegExp(c[l.COMPARATORTRIM],"g");A[l.COMPARATORTRIM]=new RegExp(makeSafeRe(c[l.COMPARATORTRIM]),"g");var h="$1$2$3";tok("HYPHENRANGE");c[l.HYPHENRANGE]="^\\s*("+c[l.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+c[l.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");c[l.HYPHENRANGELOOSE]="^\\s*("+c[l.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+c[l.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");c[l.STAR]="(<|>)?=?\\s*\\*";for(var E=0;Es){return null}var r=t.loose?A[l.LOOSE]:A[l.FULL];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.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>s){throw new TypeError("version is longer than "+s+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?A[l.LOOSE]:A[l.FULL]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>n||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>n||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>n||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-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,r,s){if(typeof r==="string"){s=r;r=undefined}try{return new SemVer(e,r).inc(t,s).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var s=parse(t);var n="";if(r.prerelease.length||s.prerelease.length){n="pre";var o="prerelease"}for(var i in r){if(i==="major"||i==="minor"||i==="patch"){if(r[i]!==s[i]){return n+i}}}return o}}t.compareIdentifiers=compareIdentifiers;var C=/^[0-9]+$/;function compareIdentifiers(e,t){var r=C.test(e);var s=C.test(t);if(r&&s){e=+e;t=+t}return e===t?0:r&&!s?-1:s&&!r?1:e0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,s){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,s);case"!=":return neq(e,r,s);case">":return gt(e,r,s);case">=":return gte(e,r,s);case"<":return lt(e,r,s);case"<=":return lte(e,r,s);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(" ");r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===y){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var y={};Comparator.prototype.parse=function(e){var t=this.options.loose?A[l.COMPARATORLOOSE]:A[l.COMPARATOR];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=y}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===y||e===y){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 r;if(this.operator===""){if(this.value===""){return true}r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){if(e.value===""){return true}r=new Range(this.value,t);return satisfies(e.semver,r,t)}var s=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var i=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var a=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var A=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return s||n||o&&i||a||A};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 s=t?A[l.HYPHENRANGELOOSE]:A[l.HYPHENRANGE];e=e.replace(s,hyphenReplace);r("hyphen replace",e);e=e.replace(A[l.COMPARATORTRIM],h);r("comparator trim",e,A[l.COMPARATORTRIM]);e=e.replace(A[l.TILDETRIM],g);e=e.replace(A[l.CARETTRIM],m);e=e.split(/\s+/).join(" ");var n=t?A[l.COMPARATORLOOSE]:A[l.COMPARATOR];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(n)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return isSatisfiable(r,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var r=true;var s=e.slice();var n=s.pop();while(r&&s.length){r=s.every((function(e){return n.intersects(e,t)}));n=s.pop()}return r}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){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("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 s=t.loose?A[l.TILDELOOSE]:A[l.TILDE];return e.replace(s,(function(t,s,n,o,i){r("tilde",e,t,s,n,o,i);var a;if(isX(s)){a=""}else if(isX(n)){a=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){a=">="+s+"."+n+".0 <"+s+"."+(+n+1)+".0"}else if(i){r("replaceTilde pr",i);a=">="+s+"."+n+"."+o+"-"+i+" <"+s+"."+(+n+1)+".0"}else{a=">="+s+"."+n+"."+o+" <"+s+"."+(+n+1)+".0"}r("tilde return",a);return a}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var s=t.loose?A[l.CARETLOOSE]:A[l.CARET];return e.replace(s,(function(t,s,n,o,i){r("caret",e,t,s,n,o,i);var a;if(isX(s)){a=""}else if(isX(n)){a=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){if(s==="0"){a=">="+s+"."+n+".0 <"+s+"."+(+n+1)+".0"}else{a=">="+s+"."+n+".0 <"+(+s+1)+".0.0"}}else if(i){r("replaceCaret pr",i);if(s==="0"){if(n==="0"){a=">="+s+"."+n+"."+o+"-"+i+" <"+s+"."+n+"."+(+o+1)}else{a=">="+s+"."+n+"."+o+"-"+i+" <"+s+"."+(+n+1)+".0"}}else{a=">="+s+"."+n+"."+o+"-"+i+" <"+(+s+1)+".0.0"}}else{r("no pr");if(s==="0"){if(n==="0"){a=">="+s+"."+n+"."+o+" <"+s+"."+n+"."+(+o+1)}else{a=">="+s+"."+n+"."+o+" <"+s+"."+(+n+1)+".0"}}else{a=">="+s+"."+n+"."+o+" <"+(+s+1)+".0.0"}}r("caret return",a);return a}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var s=t.loose?A[l.XRANGELOOSE]:A[l.XRANGE];return e.replace(s,(function(s,n,o,i,a,A){r("xRange",e,s,n,o,i,a,A);var c=isX(o);var l=c||isX(i);var u=l||isX(a);var d=u;if(n==="="&&d){n=""}A=t.includePrerelease?"-0":"";if(c){if(n===">"||n==="<"){s="<0.0.0-0"}else{s="*"}}else if(n&&d){if(l){i=0}a=0;if(n===">"){n=">=";if(l){o=+o+1;i=0;a=0}else{i=+i+1;a=0}}else if(n==="<="){n="<";if(l){o=+o+1}else{i=+i+1}}s=n+o+"."+i+"."+a+A}else if(l){s=">="+o+".0.0"+A+" <"+(+o+1)+".0.0"+A}else if(u){s=">="+o+"."+i+".0"+A+" <"+o+"."+(+i+1)+".0"+A}r("xRange return",s);return s}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(A[l.STAR],"")}function hyphenReplace(e,t,r,s,n,o,i,a,A,c,l,u,d){if(isX(r)){t=""}else if(isX(s)){t=">="+r+".0.0"}else if(isX(n)){t=">="+r+"."+s+".0"}else{t=">="+t}if(isX(A)){a=""}else if(isX(c)){a="<"+(+A+1)+".0.0"}else if(isX(l)){a="<"+A+"."+(+c+1)+".0"}else if(u){a="<="+A+"."+c+"."+l+"-"+u}else{a="<="+a}return(t+" "+a).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 o=e[n].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var s=null;var n=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||n.compare(e)===-1){s=e;n=new SemVer(s,r)}}}));return s}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var s=null;var n=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||n.compare(e)===1){s=e;n=new SemVer(s,r)}}}));return s}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var s=0;s":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}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,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,s){e=new SemVer(e,s);t=new Range(t,s);var n,o,i,a,A;switch(r){case">":n=gt;o=lte;i=lt;a=">";A=">=";break;case"<":n=lt;o=gte;i=gt;a="<";A="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,s)){return false}for(var c=0;c=0.0.0")}u=u||e;d=d||e;if(n(e.semver,u.semver,s)){u=e}else if(i(e.semver,d.semver,s)){d=e}}));if(u.operator===a||u.operator===A){return false}if((!d.operator||d.operator===a)&&o(e,d.semver)){return false}else if(d.operator===A&&i(e,d.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);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 r=null;if(!t.rtl){r=e.match(A[l.COERCE])}else{var s;while((s=A[l.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||s.index+s[0].length!==r.index+r[0].length){r=s}A[l.COERCERTL].lastIndex=s.index+s[1].length+s[2].length}A[l.COERCERTL].lastIndex=-1}if(r===null){return null}return parse(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}},8110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=new WeakMap;const s=new WeakMap;class AbortSignal{constructor(){this.onabort=null;r.set(this,[]);s.set(this,false)}get aborted(){if(!s.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return s.get(this)}static get none(){return new AbortSignal}addEventListener(e,t){if(!r.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const s=r.get(this);s.push(t)}removeEventListener(e,t){if(!r.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const s=r.get(this);const n=s.indexOf(t);if(n>-1){s.splice(n,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=r.get(e);if(t){t.slice().forEach((t=>{t.call(e,{type:"abort"})}))}s.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 r=setTimeout(abortSignal,e,t);if(typeof r.unref==="function"){r.unref()}return t}}t.AbortController=AbortController;t.AbortError=AbortError;t.AbortSignal=AbortSignal},1012:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(778);var n=r(1860);var o=r(417);var i=r(7779);var a=r(1584);var A=r(160);var c=r(8756);var l=r(6515);var u=r(4517);var d=r(6982);var p=r(623);var g=r(2203);var m=r(1754);var h=r(4434);var E=r(9896);var C=r(9023);var y=r(181);function _interopNamespaceDefault(e){var t=Object.create(null);if(e){Object.keys(e).forEach((function(r){if(r!=="default"){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:true,get:function(){return e[r]}})}}))}t.default=e;return Object.freeze(t)}var I=_interopNamespaceDefault(a);var B=_interopNamespaceDefault(A);var Q=_interopNamespaceDefault(E);var b=_interopNamespaceDefault(C);const S=l.createClientLogger("storage-blob");class BaseRequestPolicy{constructor(e,t){this._nextPolicy=e;this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}const R="12.25.0";const w="2024-11-04";const N=256*1024*1024;const v=4e3*1024*1024;const x=5e4;const D=8*1024*1024;const T=4*1024*1024;const P=5;const k=100*1e3;const O="https://storage.azure.com/.default";const L={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const F={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};const M={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"};const U="";const _="*";const H=1*1024*1024;const G=256;const q=4*H;const z="\r\n";const V="HTTP/1.1";const j="AES256";const Y=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const J=["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"];const W=["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"];const $="BlobUsesCustomerSpecifiedEncryption";const X="BlobDoesNotUseCustomerSpecifiedEncryption";const K=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function escapeURLPath(e){const t=new URL(e);let r=t.pathname;r=r||"/";r=escape(r);t.pathname=r;return t.toString()}function getProxyUriFromDevConnString(e){let t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){const r=e.split(";");for(const e of r){if(e.trim().startsWith("DevelopmentStorageProxyUri=")){t=e.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function getValueInConnString(e,t){const r=e.split(";");for(const e of r){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=Y}let r=getValueInConnString(e,"BlobEndpoint");r=r.endsWith("/")?r.slice(0,-1):r;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){let s="";let n="";let o=Buffer.from("accountKey","base64");let i="";n=getValueInConnString(e,"AccountName");o=Buffer.from(getValueInConnString(e,"AccountKey"),"base64");if(!r){s=getValueInConnString(e,"DefaultEndpointsProtocol");const t=s.toLowerCase();if(t!=="https"&&t!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}i=getValueInConnString(e,"EndpointSuffix");if(!i){throw new Error("Invalid EndpointSuffix in the provided Connection String")}r=`${s}://${n}.blob.${i}`}if(!n){throw new Error("Invalid AccountName in the provided Connection String")}else if(o.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:r,accountName:n,accountKey:o,proxyUri:t}}else{let t=getValueInConnString(e,"SharedAccessSignature");let s=getValueInConnString(e,"AccountName");if(!s){s=getAccountNameFromUrl(r)}if(!r){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:r,accountName:s,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 r=new URL(e);let s=r.pathname;s=s?s.endsWith("/")?`${s}${t}`:`${s}/${t}`:t;r.pathname=s;return r.toString()}function setURLParameter(e,t,r){const s=new URL(e);const n=encodeURIComponent(t);const o=r?encodeURIComponent(r):undefined;const i=s.search===""?"?":s.search;const a=[];for(const e of i.slice(1).split("&")){if(e){const[t]=e.split("=",2);if(t!==n){a.push(e)}}}if(o){a.push(`${n}=${o}`)}s.search=a.length?`?${a.join("&")}`:"";return s.toString()}function getURLParameter(e,t){var r;const s=new URL(e);return(r=s.searchParams.get(t))!==null&&r!==void 0?r:undefined}function setURLHost(e,t){const r=new URL(e);r.hostname=t;return r.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 r=t.pathname;if(!r){throw new RangeError("Invalid url without valid path.")}let s=t.search||"";s=s.trim();if(s!==""){s=s.startsWith("?")?s:`?${s}`}return`${r}${s}`}function getURLQueries(e){let t=new URL(e).search;if(!t){return{}}t=t.trim();t=t.startsWith("?")?t.substring(1):t;let r=t.split("&");r=r.filter((e=>{const t=e.indexOf("=");const r=e.lastIndexOf("=");return t>0&&t===r&&rn){e=e.slice(0,n)}const o=e+padStart(t.toString(),r-e.length,"0");return base64encode(o)}async function delay(e,t,r){return new Promise(((s,n)=>{let o;const abortHandler=()=>{if(o!==undefined){clearTimeout(o)}n(r)};const resolveHandler=()=>{if(t!==undefined){t.removeEventListener("abort",abortHandler)}s()};o=setTimeout(resolveHandler,e);if(t!==undefined){t.addEventListener("abort",abortHandler)}}))}function padStart(e,t,r=" "){if(String.prototype.padStart){return e.padStart(t,r)}r=r||" ";if(e.length>t){return e}else{t=t-e.length;if(t>r.length){r+=r.repeat(t/r.length)}return r.slice(0,t)+e}}function iEqual(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function getAccountNameFromUrl(e){const t=new URL(e);let r;try{if(t.hostname.split(".")[1]==="blob"){r=t.hostname.split(".")[0]}else if(isIpEndpointStyle(t)){r=t.pathname.split("/")[1]}else{r=""}return r}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)&&K.includes(e.port)}function toBlobTagsString(e){if(e===undefined){return undefined}const t=[];for(const r in e){if(Object.prototype.hasOwnProperty.call(e,r)){const s=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(s)}`)}}return t.join("&")}function toBlobTags(e){if(e===undefined){return undefined}const t={blobTagSet:[]};for(const r in e){if(Object.prototype.hasOwnProperty.call(e,r)){const s=e[r];t.blobTagSet.push({key:r,value:s})}}return t}function toTags(e){if(e===undefined){return undefined}const t={};for(const r of e.blobTagSet){t[r.key]=r.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 r in e){const s=r.split("_");const n="or-";if(s[0].startsWith(n)){s[0]=s[0].substring(n.length)}const o={ruleId:s[1],replicationStatus:e[r]};const i=t.findIndex((e=>e.policyId===s[0]));if(i>-1){t[i].rules.push(o)}else{t.push({policyId:s[0],rules:[o]})}}return t}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 Object.assign(Object.assign({},e),{segment:{blobItems:e.segment.blobItems.map((e=>{const t=Object.assign(Object.assign({},e),{name:BlobNameToString(e.name)});return t}))}})}function ConvertInternalResponseOfListBlobHierarchy(e){var t;return Object.assign(Object.assign({},e),{segment:{blobPrefixes:(t=e.segment.blobPrefixes)===null||t===void 0?void 0:t.map((e=>{const t=Object.assign(Object.assign({},e),{name:BlobNameToString(e.name)});return t})),blobItems:e.segment.blobItems.map((e=>{const t=Object.assign(Object.assign({},e),{name:BlobNameToString(e.name)});return t}))}})}function*ExtractPageRangeInfoItems(e){let t=[];let r=[];if(e.pageRange)t=e.pageRange;if(e.clearRange)r=e.clearRange;let s=0;let n=0;while(s=1?Math.floor(r.maxTries):Z.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:Z.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:Z.maxRetryDelayInMs):Z.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:Z.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:Z.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,false,1)}async attemptSendRequest(e,t,r){const s=e.clone();const n=t||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||r%2===1;if(!n){s.url=setURLHost(s.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){s.url=setURLParameter(s.url,L.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let o;try{S.info(`RetryPolicy: =====> Try=${r} ${n?"Primary":"Secondary"}`);o=await this._nextPolicy.sendRequest(s);if(!this.shouldRetry(n,r,o)){return o}t=t||!n&&o.status===404}catch(e){S.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);if(!this.shouldRetry(n,r,o,e)){throw e}}await this.delay(n,r,e.abortSignal);return this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,s){if(t>=this.retryOptions.maxTries){S.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const n=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(s){for(const e of n){if(s.name.toUpperCase().includes(e)||s.message.toUpperCase().includes(e)||s.code&&s.code.toString().toUpperCase()===e){S.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}}if(r||s){const t=r?r.status:s?s.statusCode:0;if(!e&&t===404){S.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){S.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if((s===null||s===void 0?void 0:s.code)==="PARSE_ERROR"&&(s===null||s===void 0?void 0:s.message.startsWith(`Error "Error: Unclosed root tag`))){S.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(e,r,s){let n=0;if(e){switch(this.retryOptions.retryPolicyType){case t.StorageRetryPolicyType.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case t.StorageRetryPolicyType.FIXED:n=this.retryOptions.retryDelayInMs;break}}else{n=Math.random()*1e3}S.info(`RetryPolicy: Delay for ${n}ms`);return delay(n,s,ee)}}class StorageRetryPolicyFactory{constructor(e){this.retryOptions=e}create(e,t){return new StorageRetryPolicy(e,t,this.retryOptions)}}class CredentialPolicy extends BaseRequestPolicy{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}const te=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 re=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 se=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 r=[te,re,se];let s=0;let n=0;let o=0;while(so}const i=n0){e.headers.set(M.CONTENT_LENGTH,Buffer.byteLength(e.body))}const t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,M.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,M.CONTENT_ENCODING),this.getHeaderValueToSign(e,M.CONTENT_LENGTH),this.getHeaderValueToSign(e,M.CONTENT_MD5),this.getHeaderValueToSign(e,M.CONTENT_TYPE),this.getHeaderValueToSign(e,M.DATE),this.getHeaderValueToSign(e,M.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,M.IF_MATCH),this.getHeaderValueToSign(e,M.IF_NONE_MATCH),this.getHeaderValueToSign(e,M.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,M.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e);const r=this.factory.computeHMACSHA256(t);e.headers.set(M.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${r}`);return e}getHeaderValueToSign(e,t){const r=e.headers.get(t);if(!r){return""}if(t===M.CONTENT_LENGTH&&r==="0"){return""}return r}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter((e=>e.name.toLowerCase().startsWith(M.PREFIX_FOR_STORAGE)));t.sort(((e,t)=>compareHeader(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,r)=>{if(t>0&&e.name.toLowerCase()===r[t-1].name.toLowerCase()){return false}return true}));let r="";t.forEach((e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return r}getCanonicalizedResourceString(e){const t=getURLPath(e.url)||"/";let r="";r+=`/${this.factory.accountName}${t}`;const s=getURLQueries(e.url);const n={};if(s){const e=[];for(const t in s){if(Object.prototype.hasOwnProperty.call(s,t)){const r=t.toLowerCase();n[r]=s[t];e.push(r)}}e.sort();for(const t of e){r+=`\n${t}:${decodeURIComponent(n[t])}`}}return r}}class Credential{create(e,t){throw new Error("Method should be implemented in children classes.")}}class StorageSharedKeyCredential extends Credential{constructor(e,t){super();this.accountName=e;this.accountKey=Buffer.from(t,"base64")}create(e,t){return new StorageSharedKeyCredentialPolicy(e,t,this)}computeHMACSHA256(e){return d.createHmac("sha256",this.accountKey).update(e,"utf8").digest("base64")}}class AnonymousCredentialPolicy extends CredentialPolicy{constructor(e,t){super(e,t)}}class AnonymousCredential extends Credential{create(e,t){return new AnonymousCredentialPolicy(e,t)}}let ne;function getCachedDefaultHttpClient(){if(!ne){ne=s.createDefaultHttpClient()}return ne}const oe="storageBrowserPolicy";function storageBrowserPolicy(){return{name:oe,async sendRequest(e,t){if(i.isNode){return t(e)}if(e.method==="GET"||e.method==="HEAD"){e.url=setURLParameter(e.url,L.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.delete(M.COOKIE);e.headers.delete(M.CONTENT_LENGTH);return t(e)}}}const ie="storageRetryPolicy";var ae;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(ae||(ae={}));const Ae={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:ae.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const ce=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const le=new u.AbortError("The operation was aborted.");function storageRetryPolicy(e={}){var t,r,n,o,a,A;const c=(t=e.retryPolicyType)!==null&&t!==void 0?t:Ae.retryPolicyType;const l=(r=e.maxTries)!==null&&r!==void 0?r:Ae.maxTries;const u=(n=e.retryDelayInMs)!==null&&n!==void 0?n:Ae.retryDelayInMs;const d=(o=e.maxRetryDelayInMs)!==null&&o!==void 0?o:Ae.maxRetryDelayInMs;const p=(a=e.secondaryHost)!==null&&a!==void 0?a:Ae.secondaryHost;const g=(A=e.tryTimeoutInMs)!==null&&A!==void 0?A:Ae.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:e,attempt:t,response:r,error:s}){var n,o;if(t>=l){S.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${l}, no further try.`);return false}if(s){for(const e of ce){if(s.name.toUpperCase().includes(e)||s.message.toUpperCase().includes(e)||s.code&&s.code.toString().toUpperCase()===e){S.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}if((s===null||s===void 0?void 0:s.code)==="PARSE_ERROR"&&(s===null||s===void 0?void 0:s.message.startsWith(`Error "Error: Unclosed root tag`))){S.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(r||s){const t=(o=(n=r===null||r===void 0?void 0:r.status)!==null&&n!==void 0?n:s===null||s===void 0?void 0:s.statusCode)!==null&&o!==void 0?o:0;if(!e&&t===404){S.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){S.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}return false}function calculateDelay(e,t){let r=0;if(e){switch(c){case ae.EXPONENTIAL:r=Math.min((Math.pow(2,t-1)-1)*u,d);break;case ae.FIXED:r=u;break}}else{r=Math.random()*1e3}S.info(`RetryPolicy: Delay for ${r}ms`);return r}return{name:ie,async sendRequest(e,t){if(g){e.url=setURLParameter(e.url,L.Parameters.TIMEOUT,String(Math.floor(g/1e3)))}const r=e.url;const n=p?setURLHost(e.url,p):undefined;let o=false;let a=1;let A=true;let c;let l;while(A){const u=o||!n||!["GET","HEAD","OPTIONS"].includes(e.method)||a%2===1;e.url=u?r:n;c=undefined;l=undefined;try{S.info(`RetryPolicy: =====> Try=${a} ${u?"Primary":"Secondary"}`);c=await t(e);o=o||!u&&c.status===404}catch(e){if(s.isRestError(e)){S.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);l=e}else{S.error(`RetryPolicy: Caught error, message: ${i.getErrorMessage(e)}`);throw e}}A=shouldRetry({isPrimaryRetry:u,attempt:a,response:c,error:l});if(A){await delay(calculateDelay(u,a),e.abortSignal,le)}a++}if(c){return c}throw l!==null&&l!==void 0?l:new s.RestError("RetryPolicy failed without known error.")}}}const ue="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(e){function signRequest(t){t.headers.set(M.X_MS_DATE,(new Date).toUTCString());if(t.body&&(typeof t.body==="string"||Buffer.isBuffer(t.body))&&t.body.length>0){t.headers.set(M.CONTENT_LENGTH,Buffer.byteLength(t.body))}const r=[t.method.toUpperCase(),getHeaderValueToSign(t,M.CONTENT_LANGUAGE),getHeaderValueToSign(t,M.CONTENT_ENCODING),getHeaderValueToSign(t,M.CONTENT_LENGTH),getHeaderValueToSign(t,M.CONTENT_MD5),getHeaderValueToSign(t,M.CONTENT_TYPE),getHeaderValueToSign(t,M.DATE),getHeaderValueToSign(t,M.IF_MODIFIED_SINCE),getHeaderValueToSign(t,M.IF_MATCH),getHeaderValueToSign(t,M.IF_NONE_MATCH),getHeaderValueToSign(t,M.IF_UNMODIFIED_SINCE),getHeaderValueToSign(t,M.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(t)+getCanonicalizedResourceString(t);const s=d.createHmac("sha256",e.accountKey).update(r,"utf8").digest("base64");t.headers.set(M.AUTHORIZATION,`SharedKey ${e.accountName}:${s}`)}function getHeaderValueToSign(e,t){const r=e.headers.get(t);if(!r){return""}if(t===M.CONTENT_LENGTH&&r==="0"){return""}return r}function getCanonicalizedHeadersString(e){let t=[];for(const[r,s]of e.headers){if(r.toLowerCase().startsWith(M.PREFIX_FOR_STORAGE)){t.push({name:r,value:s})}}t.sort(((e,t)=>compareHeader(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,r)=>{if(t>0&&e.name.toLowerCase()===r[t-1].name.toLowerCase()){return false}return true}));let r="";t.forEach((e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return r}function getCanonicalizedResourceString(t){const r=getURLPath(t.url)||"/";let s="";s+=`/${e.accountName}${r}`;const n=getURLQueries(t.url);const o={};if(n){const e=[];for(const t in n){if(Object.prototype.hasOwnProperty.call(n,t)){const r=t.toLowerCase();o[r]=n[t];e.push(r)}}e.sort();for(const t of e){s+=`\n${t}:${decodeURIComponent(o[t])}`}}return s}return{name:ue,async sendRequest(e,t){signRequest(e);return t(e)}}}class StorageBrowserPolicy extends BaseRequestPolicy{constructor(e,t){super(e,t)}async sendRequest(e){if(i.isNode){return this._nextPolicy.sendRequest(e)}if(e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD"){e.url=setURLParameter(e.url,L.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.remove(M.COOKIE);e.headers.remove(M.CONTENT_LENGTH);return this._nextPolicy.sendRequest(e)}}class StorageBrowserPolicyFactory{create(e,t){return new StorageBrowserPolicy(e,t)}}const de="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(e){if(e.body&&(typeof e.body==="string"||Buffer.isBuffer(e.body))&&e.body.length>0){e.headers.set(M.CONTENT_LENGTH,Buffer.byteLength(e.body))}}return{name:de,async sendRequest(e,t){correctContentLength(e);return t(e)}}}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{constructor(e,t={}){this.factories=e;this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function newPipeline(e,t={}){if(!e){e=new AnonymousCredential}const r=new Pipeline([],t);r._credential=e;return r}function processDownlevelPipeline(e){const t=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(e.factories.length){const r=e.factories.filter((e=>!t.some((t=>t(e)))));if(r.length){const e=r.some((e=>isInjectorPolicyFactory(e)));return{wrappedPolicies:a.createRequestPolicyFactoryPolicy(r),afterRetry:e}}}return undefined}function getCoreClientOptions(e){var t;const r=e.options,{httpClient:i}=r,l=n.__rest(r,["httpClient"]);let u=e._coreHttpClient;if(!u){u=i?a.convertHttpClient(i):getCachedDefaultHttpClient();e._coreHttpClient=u}let d=e._corePipeline;if(!d){const r=`azsdk-js-azure-storage-blob/${R}`;const n=l.userAgentOptions&&l.userAgentOptions.userAgentPrefix?`${l.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;d=A.createClientPipeline(Object.assign(Object.assign({},l),{loggingOptions:{additionalAllowedHeaderNames:J,additionalAllowedQueryParameters:W,logger:S.info},userAgentOptions:{userAgentPrefix:n},serializationOptions:{stringifyXML:c.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:c.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}));d.removePolicy({phase:"Retry"});d.removePolicy({name:s.decompressResponsePolicyName});d.addPolicy(storageCorrectContentLengthPolicy());d.addPolicy(storageRetryPolicy(l.retryOptions),{phase:"Retry"});d.addPolicy(storageBrowserPolicy());const i=processDownlevelPipeline(e);if(i){d.addPolicy(i.wrappedPolicies,i.afterRetry?{afterPhase:"Retry"}:undefined)}const a=getCredentialFromPipeline(e);if(o.isTokenCredential(a)){d.addPolicy(s.bearerTokenAuthenticationPolicy({credential:a,scopes:(t=l.audience)!==null&&t!==void 0?t:O,challengeCallbacks:{authorizeRequestOnChallenge:A.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(a instanceof StorageSharedKeyCredential){d.addPolicy(storageSharedKeyCredentialPolicy({accountName:a.accountName,accountKey:a.accountKey}),{phase:"Sign"})}e._corePipeline=d}return Object.assign(Object.assign({},l),{allowInsecureConnection:true,httpClient:u,pipeline:d})}function getCredentialFromPipeline(e){if(e._credential){return e._credential}let t=new AnonymousCredential;for(const r of e.factories){if(o.isTokenCredential(r.credential)){t=r.credential}else if(isStorageSharedKeyCredential(r)){return r}}return t}function isStorageSharedKeyCredential(e){if(e instanceof StorageSharedKeyCredential){return true}return e.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(e){if(e instanceof AnonymousCredential){return true}return e.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(e){return o.isTokenCredential(e.credential)}function isStorageBrowserPolicyFactory(e){if(e instanceof StorageBrowserPolicyFactory){return true}return e.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(e){if(e instanceof 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 r={sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})};const s={log(e,t){},shouldLog(e){return false}};const n=e.create(r,s);const o=n.constructor.name;return t.some((e=>o.startsWith(e)))}const pe={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"}}}}};const ge={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"}}}}};const me={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"}}}}};const he={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"}}}}};const fe={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"}}}}};const Ee={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"}}}}};const Ce={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};const ye={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};const Ie={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"}}}}};const Be={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"}}}}};const Qe={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"}}}}}}};const be={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"}}}}};const Se={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"}}}}};const Re={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"}}}}};const we={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"}}}}};const Ne={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"}}}}};const ve={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"}}}}}}};const xe={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"}}}}};const De={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"}}}}};const Te={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"}}}}};const Pe={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"}}}}};const ke={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"}}}}}}};const Oe={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"}}}}};const Le={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"}}}}};const Fe={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"}}}}};const Me={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"}}}}};const Ue={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"}}}}}}};const _e={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};const He={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"}}}}}}};const Ge={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"}}}}}}};const qe={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"}}}}};const ze={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"}}}}};const Ve={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"}}}}};const je={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"}}}}};const Ye={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"}}}}};const Je={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};const We={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"}}}}}}};const $e={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"}}}}};const Xe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};const Ke={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"}}}}}}};const Ze={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"}}}}};const et={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"}}}}};const tt={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rt={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"}}}}};const st={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const nt={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"}}}}};const ot={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const it={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"}}}}};const at={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const At={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"}}}}};const ct={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ut={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"}}}}};const dt={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pt={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"}}}}};const mt={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ht={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"}}}}};const ft={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Et={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"}}}}};const Ct={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yt={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"}}}}};const It={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Bt={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"}}}}};const Qt={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const bt={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"}}}}};const St={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rt={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"}}}}};const wt={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Nt={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"}}}}};const vt={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xt={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"}}}}};const Dt={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tt={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"}}}}};const Pt={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kt={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"}}}}};const Ot={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lt={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"}}}}};const Ft={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Mt={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"}}}}};const Ut={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _t={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"}}}}};const Ht={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gt={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"}}}}};const qt={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zt={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"}}}}};const Vt={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const jt={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"}}}}};const Yt={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Jt={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"}}}}};const Wt={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $t={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"}}}}};const Xt={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kt={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"}}}}};const Zt={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const er={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"}}}}};const tr={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rr={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"}}}}};const sr={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const nr={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"}}}}};const or={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ir={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"}}}}};const ar={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ar={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"}}}}};const cr={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const lr={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"}}}}};const ur={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const dr={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"]}}}}};const pr={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gr={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"}}}}};const mr={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hr={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"}}}}};const fr={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Er={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"}}}}};const Cr={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yr={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"}}}}};const Ir={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Br={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"}}}}};const Qr={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const br={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"}}}}};const Sr={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rr={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"}}}}};const wr={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Nr={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"}}}}};const vr={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xr={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"}}}}};const Dr={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tr={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"}}}}};const Pr={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kr={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"}}}}};const Or={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lr={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"}}}}};const Fr={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Mr={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"}}}}};const Ur={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _r={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"}}}}};const Hr={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gr={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"}}}}};const qr={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zr={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"}}}}};const Vr={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const jr={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"}}}}};const Yr={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Jr={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"}}}}};const Wr={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $r={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"}}}}};const Xr={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kr={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"}}}}};const Zr={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const es={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"}}}}};const ts={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rs={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"}}}}};const ss={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ns={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"}}}}};const os={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const is={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"}}}}};const as={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const As={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"}}}}};const cs={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ls={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"}}}}};const us={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ds={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"}}}}};const ps={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gs={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"}}}}};const ms={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hs={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"}}}}};const fs={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Es={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"}}}}};const Cs={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ys={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"}}}}};const Is={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Bs={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"}}}}};const Qs={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const bs={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"}}}}};const Ss={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rs={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"}}}}};const ws={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ns={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"}}}}};const vs={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xs={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"}}}}};const Ds={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ts=Object.freeze({__proto__:null,AccessPolicy:Te,AppendBlobAppendBlockExceptionHeaders:ms,AppendBlobAppendBlockFromUrlExceptionHeaders:fs,AppendBlobAppendBlockFromUrlHeaders:hs,AppendBlobAppendBlockHeaders:gs,AppendBlobCreateExceptionHeaders:ps,AppendBlobCreateHeaders:ds,AppendBlobSealExceptionHeaders:Cs,AppendBlobSealHeaders:Es,ArrowConfiguration:Ke,ArrowField:Ze,BlobAbortCopyFromURLExceptionHeaders:Fr,BlobAbortCopyFromURLHeaders:Lr,BlobAcquireLeaseExceptionHeaders:Ir,BlobAcquireLeaseHeaders:yr,BlobBreakLeaseExceptionHeaders:vr,BlobBreakLeaseHeaders:Nr,BlobChangeLeaseExceptionHeaders:wr,BlobChangeLeaseHeaders:Rr,BlobCopyFromURLExceptionHeaders:Or,BlobCopyFromURLHeaders:kr,BlobCreateSnapshotExceptionHeaders:Dr,BlobCreateSnapshotHeaders:xr,BlobDeleteExceptionHeaders:or,BlobDeleteHeaders:nr,BlobDeleteImmutabilityPolicyExceptionHeaders:mr,BlobDeleteImmutabilityPolicyHeaders:gr,BlobDownloadExceptionHeaders:tr,BlobDownloadHeaders:er,BlobFlatListSegment:ke,BlobGetAccountInfoExceptionHeaders:Hr,BlobGetAccountInfoHeaders:_r,BlobGetPropertiesExceptionHeaders:sr,BlobGetPropertiesHeaders:rr,BlobGetTagsExceptionHeaders:Vr,BlobGetTagsHeaders:zr,BlobHierarchyListSegment:Ue,BlobItemInternal:Oe,BlobName:Le,BlobPrefix:_e,BlobPropertiesInternal:Fe,BlobQueryExceptionHeaders:qr,BlobQueryHeaders:Gr,BlobReleaseLeaseExceptionHeaders:Qr,BlobReleaseLeaseHeaders:Br,BlobRenewLeaseExceptionHeaders:Sr,BlobRenewLeaseHeaders:br,BlobServiceProperties:pe,BlobServiceStatistics:ye,BlobSetExpiryExceptionHeaders:cr,BlobSetExpiryHeaders:Ar,BlobSetHttpHeadersExceptionHeaders:ur,BlobSetHttpHeadersHeaders:lr,BlobSetImmutabilityPolicyExceptionHeaders:pr,BlobSetImmutabilityPolicyHeaders:dr,BlobSetLegalHoldExceptionHeaders:fr,BlobSetLegalHoldHeaders:hr,BlobSetMetadataExceptionHeaders:Cr,BlobSetMetadataHeaders:Er,BlobSetTagsExceptionHeaders:Yr,BlobSetTagsHeaders:jr,BlobSetTierExceptionHeaders:Ur,BlobSetTierHeaders:Mr,BlobStartCopyFromURLExceptionHeaders:Pr,BlobStartCopyFromURLHeaders:Tr,BlobTag:xe,BlobTags:ve,BlobUndeleteExceptionHeaders:ar,BlobUndeleteHeaders:ir,Block:qe,BlockBlobCommitBlockListExceptionHeaders:vs,BlockBlobCommitBlockListHeaders:Ns,BlockBlobGetBlockListExceptionHeaders:Ds,BlockBlobGetBlockListHeaders:xs,BlockBlobPutBlobFromUrlExceptionHeaders:Qs,BlockBlobPutBlobFromUrlHeaders:Bs,BlockBlobStageBlockExceptionHeaders:Ss,BlockBlobStageBlockFromURLExceptionHeaders:ws,BlockBlobStageBlockFromURLHeaders:Rs,BlockBlobStageBlockHeaders:bs,BlockBlobUploadExceptionHeaders:Is,BlockBlobUploadHeaders:ys,BlockList:Ge,BlockLookupList:He,ClearRange:je,ContainerAcquireLeaseExceptionHeaders:Ut,ContainerAcquireLeaseHeaders:Mt,ContainerBreakLeaseExceptionHeaders:Vt,ContainerBreakLeaseHeaders:zt,ContainerChangeLeaseExceptionHeaders:Yt,ContainerChangeLeaseHeaders:jt,ContainerCreateExceptionHeaders:Ct,ContainerCreateHeaders:Et,ContainerDeleteExceptionHeaders:Qt,ContainerDeleteHeaders:Bt,ContainerFilterBlobsExceptionHeaders:Ft,ContainerFilterBlobsHeaders:Lt,ContainerGetAccessPolicyExceptionHeaders:wt,ContainerGetAccessPolicyHeaders:Rt,ContainerGetAccountInfoExceptionHeaders:Zt,ContainerGetAccountInfoHeaders:Kt,ContainerGetPropertiesExceptionHeaders:It,ContainerGetPropertiesHeaders:yt,ContainerItem:Qe,ContainerListBlobFlatSegmentExceptionHeaders:Wt,ContainerListBlobFlatSegmentHeaders:Jt,ContainerListBlobHierarchySegmentExceptionHeaders:Xt,ContainerListBlobHierarchySegmentHeaders:$t,ContainerProperties:be,ContainerReleaseLeaseExceptionHeaders:Ht,ContainerReleaseLeaseHeaders:_t,ContainerRenameExceptionHeaders:Pt,ContainerRenameHeaders:Tt,ContainerRenewLeaseExceptionHeaders:qt,ContainerRenewLeaseHeaders:Gt,ContainerRestoreExceptionHeaders:Dt,ContainerRestoreHeaders:xt,ContainerSetAccessPolicyExceptionHeaders:vt,ContainerSetAccessPolicyHeaders:Nt,ContainerSetMetadataExceptionHeaders:St,ContainerSetMetadataHeaders:bt,ContainerSubmitBatchExceptionHeaders:Ot,ContainerSubmitBatchHeaders:kt,CorsRule:fe,DelimitedTextConfiguration:$e,FilterBlobItem:Ne,FilterBlobSegment:we,GeoReplication:Ie,JsonTextConfiguration:Xe,KeyInfo:Se,ListBlobsFlatSegmentResponse:Pe,ListBlobsHierarchySegmentResponse:Me,ListContainersSegmentResponse:Be,Logging:ge,Metrics:he,PageBlobClearPagesExceptionHeaders:Zr,PageBlobClearPagesHeaders:Kr,PageBlobCopyIncrementalExceptionHeaders:us,PageBlobCopyIncrementalHeaders:ls,PageBlobCreateExceptionHeaders:Wr,PageBlobCreateHeaders:Jr,PageBlobGetPageRangesDiffExceptionHeaders:os,PageBlobGetPageRangesDiffHeaders:ns,PageBlobGetPageRangesExceptionHeaders:ss,PageBlobGetPageRangesHeaders:rs,PageBlobResizeExceptionHeaders:as,PageBlobResizeHeaders:is,PageBlobUpdateSequenceNumberExceptionHeaders:cs,PageBlobUpdateSequenceNumberHeaders:As,PageBlobUploadPagesExceptionHeaders:Xr,PageBlobUploadPagesFromURLExceptionHeaders:ts,PageBlobUploadPagesFromURLHeaders:es,PageBlobUploadPagesHeaders:$r,PageList:ze,PageRange:Ve,QueryFormat:We,QueryRequest:Ye,QuerySerialization:Je,RetentionPolicy:me,ServiceFilterBlobsExceptionHeaders:ft,ServiceFilterBlobsHeaders:ht,ServiceGetAccountInfoExceptionHeaders:dt,ServiceGetAccountInfoHeaders:ut,ServiceGetPropertiesExceptionHeaders:st,ServiceGetPropertiesHeaders:rt,ServiceGetStatisticsExceptionHeaders:ot,ServiceGetStatisticsHeaders:nt,ServiceGetUserDelegationKeyExceptionHeaders:ct,ServiceGetUserDelegationKeyHeaders:At,ServiceListContainersSegmentExceptionHeaders:at,ServiceListContainersSegmentHeaders:it,ServiceSetPropertiesExceptionHeaders:tt,ServiceSetPropertiesHeaders:et,ServiceSubmitBatchExceptionHeaders:mt,ServiceSubmitBatchHeaders:pt,SignedIdentifier:De,StaticWebsite:Ee,StorageError:Ce,UserDelegationKey:Re});const Ps={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const ks={parameterPath:"blobServiceProperties",mapper:pe};const Os={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Ls={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};const Fs={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Ms={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Us={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};const _s={parameterPath:"version",mapper:{defaultValue:"2024-11-04",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};const Hs={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};const Gs={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const qs={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};const zs={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Vs={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};const js={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};const Ys={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};const Js={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};const Ws={parameterPath:"keyInfo",mapper:Se};const $s={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Xs={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Ks={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const Zs={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};const en={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};const tn={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};const rn={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};const sn={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};const nn={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};const on={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};const an={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};const An={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};const cn={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};const ln={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};const un={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};const dn={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};const pn={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};const gn={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};const mn={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};const hn={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};const fn={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};const En={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};const Cn={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};const yn={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};const In={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};const Bn={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Qn={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const bn={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};const Sn={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const Rn={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const wn={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};const Nn={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const vn={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const xn={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};const Dn={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Tn={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const Pn={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"};const kn={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};const On={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};const Ln={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};const Fn={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};const Mn={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};const Un={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};const _n={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};const Hn={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};const Gn={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};const qn={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};const zn={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};const Vn={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};const jn={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};const Yn={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};const Jn={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Wn={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};const $n={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};const Xn={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};const Kn={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};const Zn={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};const eo={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};const to={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};const ro={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};const so={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};const no={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};const oo={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};const io={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ao={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const Ao={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};const co={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};const lo={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"]}}};const uo={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};const po={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};const go={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const mo={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};const ho={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};const fo={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};const Eo={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const Co={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};const yo={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};const Io={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const Bo={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};const Qo={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};const bo={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};const So={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};const Ro={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const wo={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};const No={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};const vo={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};const xo={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"]}}};const Do={parameterPath:["options","queryRequest"],mapper:Ye};const To={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Po={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ko={parameterPath:["options","tags"],mapper:ve};const Oo={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};const Lo={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};const Fo={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Mo={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};const Uo={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};const _o={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Ho={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const Go={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const qo={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};const zo={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const Vo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};const jo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};const Yo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};const Jo={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const Wo={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const $o={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};const Xo={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};const Ko={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};const Zo={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ei={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};const ti={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};const ri={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};const si={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ni={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const oi={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ii={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};const ai={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};const Ai={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};const ci={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};const li={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const ui={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};const di={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};const pi={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};const gi={parameterPath:"blocks",mapper:He};const mi={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const hi={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};class ServiceImpl{constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},Ei)}getProperties(e){return this.client.sendOperationRequest({options:e},Ci)}getStatistics(e){return this.client.sendOperationRequest({options:e},yi)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Ii)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},Bi)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Qi)}submitBatch(e,t,r,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:s},bi)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Si)}}const fi=B.createSerializer(Ts,true);const Ei={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:et},default:{bodyMapper:Ce,headersMapper:tt}},requestBody:ks,queryParameters:[Fs,Ms,Us],urlParameters:[Ls],headerParameters:[Ps,Os,_s,Hs],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:fi};const Ci={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:pe,headersMapper:rt},default:{bodyMapper:Ce,headersMapper:st}},queryParameters:[Fs,Ms,Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:fi};const yi={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:ye,headersMapper:nt},default:{bodyMapper:Ce,headersMapper:ot}},queryParameters:[Fs,Us,qs],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:fi};const Ii={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Be,headersMapper:it},default:{bodyMapper:Ce,headersMapper:at}},queryParameters:[Us,zs,Vs,js,Ys,Js],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:fi};const Bi={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Re,headersMapper:At},default:{bodyMapper:Ce,headersMapper:ct}},requestBody:Ws,queryParameters:[Fs,Us,$s],urlParameters:[Ls],headerParameters:[Ps,Os,_s,Hs],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:fi};const Qi={path:"/",httpMethod:"GET",responses:{200:{headersMapper:ut},default:{bodyMapper:Ce,headersMapper:dt}},queryParameters:[Ms,Us,Xs],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:fi};const bi={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:pt},default:{bodyMapper:Ce,headersMapper:mt}},requestBody:Ks,queryParameters:[Us,Zs],urlParameters:[Ls],headerParameters:[Os,_s,Hs,en,tn],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:fi};const Si={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:we,headersMapper:ht},default:{bodyMapper:Ce,headersMapper:ft}},queryParameters:[Us,js,Ys,rn,sn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:fi};class ContainerImpl{constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},wi)}getProperties(e){return this.client.sendOperationRequest({options:e},Ni)}delete(e){return this.client.sendOperationRequest({options:e},vi)}setMetadata(e){return this.client.sendOperationRequest({options:e},xi)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},Di)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Ti)}restore(e){return this.client.sendOperationRequest({options:e},Pi)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},ki)}submitBatch(e,t,r,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:s},Oi)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Li)}acquireLease(e){return this.client.sendOperationRequest({options:e},Fi)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Mi)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Ui)}breakLease(e){return this.client.sendOperationRequest({options:e},_i)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},Hi)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Gi)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},qi)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},zi)}}const Ri=B.createSerializer(Ts,true);const wi={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Et},default:{bodyMapper:Ce,headersMapper:Ct}},queryParameters:[Us,nn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,on,an,An,cn],isXML:true,serializer:Ri};const Ni={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:yt},default:{bodyMapper:Ce,headersMapper:It}},queryParameters:[Us,nn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln],isXML:true,serializer:Ri};const vi={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:Bt},default:{bodyMapper:Ce,headersMapper:Qt}},queryParameters:[Us,nn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn],isXML:true,serializer:Ri};const xi={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:bt},default:{bodyMapper:Ce,headersMapper:St}},queryParameters:[Us,nn,pn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,on,ln,un],isXML:true,serializer:Ri};const Di={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:Rt},default:{bodyMapper:Ce,headersMapper:wt}},queryParameters:[Us,nn,gn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln],isXML:true,serializer:Ri};const Ti={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Nt},default:{bodyMapper:Ce,headersMapper:vt}},requestBody:mn,queryParameters:[Us,nn,gn],urlParameters:[Ls],headerParameters:[Ps,Os,_s,Hs,an,ln,un,dn],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ri};const Pi={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:xt},default:{bodyMapper:Ce,headersMapper:Dt}},queryParameters:[Us,nn,hn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,fn,En],isXML:true,serializer:Ri};const ki={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Tt},default:{bodyMapper:Ce,headersMapper:Pt}},queryParameters:[Us,nn,Cn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,yn,In],isXML:true,serializer:Ri};const Oi={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:kt},default:{bodyMapper:Ce,headersMapper:Ot}},requestBody:Ks,queryParameters:[Us,Zs,nn],urlParameters:[Ls],headerParameters:[Os,_s,Hs,en,tn],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ri};const Li={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:we,headersMapper:Lt},default:{bodyMapper:Ce,headersMapper:Ft}},queryParameters:[Us,js,Ys,rn,sn,nn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:Ri};const Fi={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Mt},default:{bodyMapper:Ce,headersMapper:Ut}},queryParameters:[Us,nn,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,Qn,bn,Sn],isXML:true,serializer:Ri};const Mi={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:_t},default:{bodyMapper:Ce,headersMapper:Ht}},queryParameters:[Us,nn,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,Rn,wn],isXML:true,serializer:Ri};const Ui={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Gt},default:{bodyMapper:Ce,headersMapper:qt}},queryParameters:[Us,nn,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,wn,Nn],isXML:true,serializer:Ri};const _i={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:zt},default:{bodyMapper:Ce,headersMapper:Vt}},queryParameters:[Us,nn,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,vn,xn],isXML:true,serializer:Ri};const Hi={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:jt},default:{bodyMapper:Ce,headersMapper:Yt}},queryParameters:[Us,nn,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,wn,Dn,Tn],isXML:true,serializer:Ri};const Gi={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Pe,headersMapper:Jt},default:{bodyMapper:Ce,headersMapper:Wt}},queryParameters:[Us,zs,Vs,js,Ys,nn,Pn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:Ri};const qi={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Me,headersMapper:$t},default:{bodyMapper:Ce,headersMapper:Xt}},queryParameters:[Us,zs,Vs,js,Ys,nn,Pn,kn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:Ri};const zi={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Kt},default:{bodyMapper:Ce,headersMapper:Zt}},queryParameters:[Ms,Us,Xs],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:Ri};class BlobImpl{constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},ji)}getProperties(e){return this.client.sendOperationRequest({options:e},Yi)}delete(e){return this.client.sendOperationRequest({options:e},Ji)}undelete(e){return this.client.sendOperationRequest({options:e},Wi)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},$i)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Xi)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Ki)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Zi)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},ea)}setMetadata(e){return this.client.sendOperationRequest({options:e},ta)}acquireLease(e){return this.client.sendOperationRequest({options:e},ra)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},sa)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},na)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},oa)}breakLease(e){return this.client.sendOperationRequest({options:e},ia)}createSnapshot(e){return this.client.sendOperationRequest({options:e},aa)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Aa)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},ca)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},la)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},ua)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},da)}query(e){return this.client.sendOperationRequest({options:e},pa)}getTags(e){return this.client.sendOperationRequest({options:e},ga)}setTags(e){return this.client.sendOperationRequest({options:e},ma)}}const Vi=B.createSerializer(Ts,true);const ji={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:er},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:er},default:{bodyMapper:Ce,headersMapper:tr}},queryParameters:[Us,On,Ln],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,Fn,Mn,Un,_n,Hn,Gn,qn,zn,Vn],isXML:true,serializer:Vi};const Yi={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:rr},default:{bodyMapper:Ce,headersMapper:sr}},queryParameters:[Us,On,Ln],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,_n,Hn,Gn,qn,zn,Vn],isXML:true,serializer:Vi};const Ji={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:nr},default:{bodyMapper:Ce,headersMapper:or}},queryParameters:[Us,On,Ln,Yn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,qn,zn,Vn,jn],isXML:true,serializer:Vi};const Wi={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ir},default:{bodyMapper:Ce,headersMapper:ar}},queryParameters:[Us,hn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:Vi};const $i={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ar},default:{bodyMapper:Ce,headersMapper:cr}},queryParameters:[Us,Jn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,Wn,$n],isXML:true,serializer:Vi};const Xi={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:lr},default:{bodyMapper:Ce,headersMapper:ur}},queryParameters:[Ms,Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,qn,zn,Vn,Xn,Kn,Zn,eo,to,ro],isXML:true,serializer:Vi};const Ki={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:dr},default:{bodyMapper:Ce,headersMapper:pr}},queryParameters:[Us,so],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,dn,no,oo],isXML:true,serializer:Vi};const Zi={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:gr},default:{bodyMapper:Ce,headersMapper:mr}},queryParameters:[Us,so],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:Vi};const ea={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hr},default:{bodyMapper:Ce,headersMapper:fr}},queryParameters:[Us,io],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ao],isXML:true,serializer:Vi};const ta={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Er},default:{bodyMapper:Ce,headersMapper:Cr}},queryParameters:[Us,pn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,on,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Ao],isXML:true,serializer:Vi};const ra={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:yr},default:{bodyMapper:Ce,headersMapper:Ir}},queryParameters:[Us,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,Qn,bn,Sn,qn,zn,Vn],isXML:true,serializer:Vi};const sa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Br},default:{bodyMapper:Ce,headersMapper:Qr}},queryParameters:[Us,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,Rn,wn,qn,zn,Vn],isXML:true,serializer:Vi};const na={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:br},default:{bodyMapper:Ce,headersMapper:Sr}},queryParameters:[Us,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,wn,Nn,qn,zn,Vn],isXML:true,serializer:Vi};const oa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Rr},default:{bodyMapper:Ce,headersMapper:wr}},queryParameters:[Us,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,wn,Dn,Tn,qn,zn,Vn],isXML:true,serializer:Vi};const ia={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Nr},default:{bodyMapper:Ce,headersMapper:vr}},queryParameters:[Us,Bn],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,vn,xn,qn,zn,Vn],isXML:true,serializer:Vi};const aa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xr},default:{bodyMapper:Ce,headersMapper:Dr}},queryParameters:[Us,co],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,on,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Ao],isXML:true,serializer:Vi};const Aa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Tr},default:{bodyMapper:Ce,headersMapper:Pr}},queryParameters:[Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,on,ln,un,dn,qn,zn,Vn,no,oo,lo,uo,po,go,mo,ho,fo,Eo,Co,yo,Io],isXML:true,serializer:Vi};const ca={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:kr},default:{bodyMapper:Ce,headersMapper:Or}},queryParameters:[Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,on,ln,un,dn,qn,zn,Vn,no,oo,Ao,lo,po,go,mo,ho,Eo,Co,Io,Bo,Qo,bo,So],isXML:true,serializer:Vi};const la={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Lr},default:{bodyMapper:Ce,headersMapper:Fr}},queryParameters:[Us,Ro,No],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,wo],isXML:true,serializer:Vi};const ua={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Mr},202:{headersMapper:Mr},default:{bodyMapper:Ce,headersMapper:Ur}},queryParameters:[Us,On,Ln,vo],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,Vn,uo,xo],isXML:true,serializer:Vi};const da={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:_r},default:{bodyMapper:Ce,headersMapper:Hr}},queryParameters:[Ms,Us,Xs],urlParameters:[Ls],headerParameters:[_s,Hs,Gs],isXML:true,serializer:Vi};const pa={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Gr},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Gr},default:{bodyMapper:Ce,headersMapper:qr}},requestBody:Do,queryParameters:[Us,On,To],urlParameters:[Ls],headerParameters:[Ps,Os,_s,Hs,ln,un,dn,_n,Hn,Gn,qn,zn,Vn],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Vi};const ga={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ve,headersMapper:zr},default:{bodyMapper:Ce,headersMapper:Vr}},queryParameters:[Us,On,Ln,Po],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,Vn],isXML:true,serializer:Vi};const ma={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:jr},default:{bodyMapper:Ce,headersMapper:Yr}},requestBody:ko,queryParameters:[Us,Ln,Po],urlParameters:[Ls],headerParameters:[Ps,Os,_s,Hs,ln,Vn,Oo,Lo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Vi};class PageBlobImpl{constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},fa)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Ea)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Ca)}uploadPagesFromURL(e,t,r,s,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:s,options:n},ya)}getPageRanges(e){return this.client.sendOperationRequest({options:e},Ia)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Ba)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Qa)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},ba)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Sa)}}const ha=B.createSerializer(Ts,true);const fa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Jr},default:{bodyMapper:Ce,headersMapper:Wr}},queryParameters:[Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,en,on,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Xn,Kn,Zn,eo,to,ro,no,oo,Ao,lo,Co,Io,Fo,Mo,Uo],isXML:true,serializer:ha};const Ea={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$r},default:{bodyMapper:Ce,headersMapper:Xr}},requestBody:Ho,queryParameters:[Us,qo],urlParameters:[Ls],headerParameters:[_s,Hs,en,ln,un,dn,Fn,_n,Hn,Gn,qn,zn,Vn,Ao,Oo,Lo,_o,Go,zo,Vo,jo,Yo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ha};const Ca={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Kr},default:{bodyMapper:Ce,headersMapper:Zr}},queryParameters:[Us,qo],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,en,ln,un,dn,Fn,_n,Hn,Gn,qn,zn,Vn,Ao,Vo,jo,Yo,Jo],isXML:true,serializer:ha};const ya={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:es},default:{bodyMapper:Ce,headersMapper:ts}},queryParameters:[Us,qo],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,en,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Ao,po,go,mo,ho,Qo,bo,zo,Vo,jo,Yo,Wo,$o,Xo,Ko],isXML:true,serializer:ha};const Ia={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ze,headersMapper:rs},default:{bodyMapper:Ce,headersMapper:ss}},queryParameters:[Us,js,Ys,On,Zo],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,Fn,qn,zn,Vn],isXML:true,serializer:ha};const Ba={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ze,headersMapper:ns},default:{bodyMapper:Ce,headersMapper:os}},queryParameters:[Us,js,Ys,On,Zo,ei],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,Fn,qn,zn,Vn,ti],isXML:true,serializer:ha};const Qa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:is},default:{bodyMapper:Ce,headersMapper:as}},queryParameters:[Ms,Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Ao,Mo],isXML:true,serializer:ha};const ba={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:As},default:{bodyMapper:Ce,headersMapper:cs}},queryParameters:[Ms,Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,qn,zn,Vn,Uo,ri],isXML:true,serializer:ha};const Sa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ls},default:{bodyMapper:Ce,headersMapper:us}},queryParameters:[Us,si],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,un,dn,qn,zn,Vn,Eo],isXML:true,serializer:ha};class AppendBlobImpl{constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},wa)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Na)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},va)}seal(e){return this.client.sendOperationRequest({options:e},xa)}}const Ra=B.createSerializer(Ts,true);const wa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ds},default:{bodyMapper:Ce,headersMapper:ps}},queryParameters:[Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,en,on,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Xn,Kn,Zn,eo,to,ro,no,oo,Ao,Co,Io,ni],isXML:true,serializer:Ra};const Na={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:gs},default:{bodyMapper:Ce,headersMapper:ms}},requestBody:Ho,queryParameters:[Us,oi],urlParameters:[Ls],headerParameters:[_s,Hs,en,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Ao,Oo,Lo,_o,Go,ii,ai],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ra};const va={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:hs},default:{bodyMapper:Ce,headersMapper:fs}},queryParameters:[Us,oi],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,en,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Ao,po,go,mo,ho,Qo,bo,Oo,Wo,Xo,ii,ai,Ai],isXML:true,serializer:Ra};const xa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Es},default:{bodyMapper:Ce,headersMapper:Cs}},queryParameters:[Us,ci],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,un,dn,qn,zn,ai],isXML:true,serializer:Ra};class BlockBlobImpl{constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Ta)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},Pa)}stageBlock(e,t,r,s){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:s},ka)}stageBlockFromURL(e,t,r,s){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:s},Oa)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},La)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},Fa)}}const Da=B.createSerializer(Ts,true);const Ta={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ys},default:{bodyMapper:Ce,headersMapper:Is}},requestBody:Ho,queryParameters:[Us],urlParameters:[Ls],headerParameters:[_s,Hs,en,on,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Xn,Kn,Zn,eo,to,ro,no,oo,Ao,lo,Co,Io,Oo,Lo,_o,Go,li],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Da};const Pa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bs},default:{bodyMapper:Ce,headersMapper:Qs}},queryParameters:[Us],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,en,on,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Xn,Kn,Zn,eo,to,ro,Ao,lo,po,go,mo,ho,fo,Eo,Co,Qo,bo,So,Oo,li,ui],isXML:true,serializer:Da};const ka={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bs},default:{bodyMapper:Ce,headersMapper:Ss}},requestBody:Ho,queryParameters:[Us,di,pi],urlParameters:[Ls],headerParameters:[_s,Hs,en,ln,_n,Hn,Gn,Ao,Oo,Lo,_o,Go],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Da};const Oa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Rs},default:{bodyMapper:Ce,headersMapper:ws}},queryParameters:[Us,di,pi],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,en,ln,_n,Hn,Gn,Ao,po,go,mo,ho,Qo,bo,Wo,Xo,Ai],isXML:true,serializer:Da};const La={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ns},default:{bodyMapper:Ce,headersMapper:vs}},requestBody:gi,queryParameters:[Us,mi],urlParameters:[Ls],headerParameters:[Ps,Os,_s,Hs,on,ln,un,dn,_n,Hn,Gn,qn,zn,Vn,Xn,Kn,Zn,eo,to,ro,no,oo,Ao,lo,Co,Io,Oo,Lo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Da};const Fa={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ge,headersMapper:xs},default:{bodyMapper:Ce,headersMapper:Ds}},queryParameters:[Us,On,mi,hi],urlParameters:[Ls],headerParameters:[_s,Hs,Gs,ln,Vn],isXML:true,serializer:Da};let Ma=class StorageClient extends I.ExtendedServiceClient{constructor(e,t){var r,s;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.25.0`;const i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${o}`:`${o}`;const a=Object.assign(Object.assign(Object.assign({},n),t),{userAgentOptions:{userAgentPrefix:i},endpoint:(s=(r=t.endpoint)!==null&&r!==void 0?r:t.baseUri)!==null&&s!==void 0?s:"{url}"});super(a);this.url=e;this.version=t.version||"2024-11-04";this.service=new ServiceImpl(this);this.container=new ContainerImpl(this);this.blob=new BlobImpl(this);this.pageBlob=new PageBlobImpl(this);this.appendBlob=new AppendBlobImpl(this);this.blockBlob=new BlockBlobImpl(this)}};class StorageContextClient extends Ma{async sendOperationRequest(e,t){const r=Object.assign({},t);if(r.path==="/{containerName}"||r.path==="/{containerName}/{blob}"){r.path=""}return super.sendOperationRequest(e,r)}}class StorageClient{constructor(e,t){this.url=escapeURLPath(e);this.accountName=getAccountNameFromUrl(e);this.pipeline=t;this.storageClientContext=new StorageContextClient(this.url,getCoreClientOptions(t));this.isHttps=iEqual(getURLScheme(this.url)||"","https");this.credential=getCredentialFromPipeline(t);const r=this.storageClientContext;r.requestContentType=undefined}}const Ua=p.createTracingClient({packageName:"@azure/storage-blob",packageVersion:R,namespace:"Microsoft.Storage"});class BlobSASPermissions{constructor(){this.read=false;this.add=false;this.create=false;this.write=false;this.delete=false;this.deleteVersion=false;this.tag=false;this.move=false;this.execute=false;this.setImmutabilityPolicy=false;this.permanentDelete=false}static parse(e){const t=new BlobSASPermissions;for(const r of e){switch(r){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: ${r}`)}}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}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("")}}class ContainerSASPermissions{constructor(){this.read=false;this.add=false;this.create=false;this.write=false;this.delete=false;this.deleteVersion=false;this.list=false;this.tag=false;this.move=false;this.execute=false;this.setImmutabilityPolicy=false;this.permanentDelete=false;this.filterByTags=false}static parse(e){const t=new ContainerSASPermissions;for(const r of e){switch(r){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 ${r}`)}}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}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("")}}class UserDelegationKeyCredential{constructor(e,t){this.accountName=e;this.userDelegationKey=t;this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return d.createHmac("sha256",this.key).update(e,"utf8").digest("base64")}}function ipRangeToString(e){return e.end?`${e.start}-${e.end}`:e.start}t.SASProtocol=void 0;(function(e){e["Https"]="https";e["HttpsAndHttp"]="https,http"})(t.SASProtocol||(t.SASProtocol={}));class SASQueryParameters{get ipRange(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return undefined}constructor(e,t,r,s,n,o,i,a,A,c,l,u,d,p,g,m,h,E,C,y){this.version=e;this.signature=t;if(r!==undefined&&typeof r!=="string"){this.permissions=r.permissions;this.services=r.services;this.resourceTypes=r.resourceTypes;this.protocol=r.protocol;this.startsOn=r.startsOn;this.expiresOn=r.expiresOn;this.ipRangeInner=r.ipRange;this.identifier=r.identifier;this.encryptionScope=r.encryptionScope;this.resource=r.resource;this.cacheControl=r.cacheControl;this.contentDisposition=r.contentDisposition;this.contentEncoding=r.contentEncoding;this.contentLanguage=r.contentLanguage;this.contentType=r.contentType;if(r.userDelegationKey){this.signedOid=r.userDelegationKey.signedObjectId;this.signedTenantId=r.userDelegationKey.signedTenantId;this.signedStartsOn=r.userDelegationKey.signedStartsOn;this.signedExpiresOn=r.userDelegationKey.signedExpiresOn;this.signedService=r.userDelegationKey.signedService;this.signedVersion=r.userDelegationKey.signedVersion;this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId;this.correlationId=r.correlationId}}else{this.services=s;this.resourceTypes=n;this.expiresOn=a;this.permissions=r;this.protocol=o;this.startsOn=i;this.ipRangeInner=A;this.encryptionScope=y;this.identifier=c;this.resource=l;this.cacheControl=u;this.contentDisposition=d;this.contentEncoding=p;this.contentLanguage=g;this.contentType=m;if(h){this.signedOid=h.signedObjectId;this.signedTenantId=h.signedTenantId;this.signedStartsOn=h.signedStartsOn;this.signedExpiresOn=h.signedExpiresOn;this.signedService=h.signedService;this.signedVersion=h.signedVersion;this.preauthorizedAgentObjectId=E;this.correlationId=C}}}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 r of e){switch(r){case"sv":this.tryAppendQueryParameter(t,r,this.version);break;case"ss":this.tryAppendQueryParameter(t,r,this.services);break;case"srt":this.tryAppendQueryParameter(t,r,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(t,r,this.protocol);break;case"st":this.tryAppendQueryParameter(t,r,this.startsOn?truncatedISO8061Date(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(t,r,this.expiresOn?truncatedISO8061Date(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(t,r,this.ipRange?ipRangeToString(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(t,r,this.identifier);break;case"ses":this.tryAppendQueryParameter(t,r,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(t,r,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(t,r,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(t,r,this.signedStartsOn?truncatedISO8061Date(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(t,r,this.signedExpiresOn?truncatedISO8061Date(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(t,r,this.signedService);break;case"skv":this.tryAppendQueryParameter(t,r,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(t,r,this.resource);break;case"sp":this.tryAppendQueryParameter(t,r,this.permissions);break;case"sig":this.tryAppendQueryParameter(t,r,this.signature);break;case"rscc":this.tryAppendQueryParameter(t,r,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(t,r,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(t,r,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(t,r,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(t,r,this.contentType);break;case"saoid":this.tryAppendQueryParameter(t,r,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(t,r,this.correlationId);break}}return t.join("&")}tryAppendQueryParameter(e,t,r){if(!r){return}t=encodeURIComponent(t);r=encodeURIComponent(r);if(t.length>0&&r.length>0){e.push(`${t}=${r}`)}}}function generateBlobSASQueryParameters(e,t,r){return generateBlobSASQueryParametersInternal(e,t,r).sasQueryParameters}function generateBlobSASQueryParametersInternal(e,t,r){const s=e.version?e.version:w;const n=t instanceof StorageSharedKeyCredential?t:undefined;let o;if(n===undefined&&r!==undefined){o=new UserDelegationKeyCredential(r,t)}if(n===undefined&&o===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(s>="2020-12-06"){if(n!==undefined){return generateBlobSASQueryParameters20201206(e,n)}else{return generateBlobSASQueryParametersUDK20201206(e,o)}}if(s>="2018-11-09"){if(n!==undefined){return generateBlobSASQueryParameters20181109(e,n)}else{if(s>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(e,o)}else{return generateBlobSASQueryParametersUDK20181109(e,o)}}}if(s>="2015-04-05"){if(n!==undefined){return generateBlobSASQueryParameters20150405(e,n)}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 r="c";if(e.blobName){r="b"}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const n=[s?s:"",e.startsOn?truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?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 o=t.computeHMACSHA256(n);return{sasQueryParameters:new SASQueryParameters(e.version,o,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:n}}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 r="c";let s=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";s=e.versionId}}let n;if(e.permissions){if(e.blobName){n=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{n=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[n?n:"",e.startsOn?truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:o}}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 r="c";let s=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";s=e.versionId}}let n;if(e.permissions){if(e.blobName){n=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{n=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[n?n:"",e.startsOn?truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,s,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 i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,e.encryptionScope),stringToSign:o}}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 r="c";let s=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";s=e.versionId}}let n;if(e.permissions){if(e.blobName){n=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{n=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[n?n:"",e.startsOn?truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:o}}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 r="c";let s=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";s=e.versionId}}let n;if(e.permissions){if(e.blobName){n=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{n=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[n?n:"",e.startsOn?truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId),stringToSign:o}}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 r="c";let s=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";s=e.versionId}}let n;if(e.permissions){if(e.blobName){n=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{n=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[n?n:"",e.startsOn?truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope),stringToSign:o}}function getCanonicalName(e,t,r){const s=[`/blob/${e}/${t}`];if(r){s.push(`/${r}`)}return s.join("")}function SASSignatureValuesSanityCheckAndAutofill(e){const t=e.version?e.version:w;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}class BlobLeaseClient{get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){const r=e.storageClientContext;this._url=e.url;if(e.name===undefined){this._isContainer=true;this._containerOrBlobOperation=r.container}else{this._isContainer=false;this._containerOrBlobOperation=r.blob}if(!t){t=i.randomUUID()}this._leaseId=t}async acquireLease(e,t={}){var r,s,n,o,i;if(this._isContainer&&(((r=t.conditions)===null||r===void 0?void 0:r.ifMatch)&&((s=t.conditions)===null||s===void 0?void 0:s.ifMatch)!==U||((n=t.conditions)===null||n===void 0?void 0:n.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==U||((i=t.conditions)===null||i===void 0?void 0:i.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 Ua.withSpan("BlobLeaseClient-acquireLease",t,(async r=>{var s;return assertResponse(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions}))}))}async changeLease(e,t={}){var r,s,n,o,i;if(this._isContainer&&(((r=t.conditions)===null||r===void 0?void 0:r.ifMatch)&&((s=t.conditions)===null||s===void 0?void 0:s.ifMatch)!==U||((n=t.conditions)===null||n===void 0?void 0:n.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==U||((i=t.conditions)===null||i===void 0?void 0:i.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 Ua.withSpan("BlobLeaseClient-changeLease",t,(async r=>{var s;const n=assertResponse(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),tracingOptions:r.tracingOptions}));this._leaseId=e;return n}))}async releaseLease(e={}){var t,r,s,n,o;if(this._isContainer&&(((t=e.conditions)===null||t===void 0?void 0:t.ifMatch)&&((r=e.conditions)===null||r===void 0?void 0:r.ifMatch)!==U||((s=e.conditions)===null||s===void 0?void 0:s.ifNoneMatch)&&((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)!==U||((o=e.conditions)===null||o===void 0?void 0:o.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 Ua.withSpan("BlobLeaseClient-releaseLease",e,(async t=>{var r;return assertResponse(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(r=e.conditions)===null||r===void 0?void 0:r.tagConditions}),tracingOptions:t.tracingOptions}))}))}async renewLease(e={}){var t,r,s,n,o;if(this._isContainer&&(((t=e.conditions)===null||t===void 0?void 0:t.ifMatch)&&((r=e.conditions)===null||r===void 0?void 0:r.ifMatch)!==U||((s=e.conditions)===null||s===void 0?void 0:s.ifNoneMatch)&&((n=e.conditions)===null||n===void 0?void 0:n.ifNoneMatch)!==U||((o=e.conditions)===null||o===void 0?void 0:o.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 Ua.withSpan("BlobLeaseClient-renewLease",e,(async t=>{var r;return this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(r=e.conditions)===null||r===void 0?void 0:r.tagConditions}),tracingOptions:t.tracingOptions})}))}async breakLease(e,t={}){var r,s,n,o,i;if(this._isContainer&&(((r=t.conditions)===null||r===void 0?void 0:r.ifMatch)&&((s=t.conditions)===null||s===void 0?void 0:s.ifMatch)!==U||((n=t.conditions)===null||n===void 0?void 0:n.ifNoneMatch)&&((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==U||((i=t.conditions)===null||i===void 0?void 0:i.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 Ua.withSpan("BlobLeaseClient-breakLease",t,(async r=>{var s;const n={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),tracingOptions:r.tracingOptions};return assertResponse(await this._containerOrBlobOperation.breakLease(n))}))}}class RetriableReadableStream extends g.Readable{constructor(e,t,r,s,n={}){super({highWaterMark:n.highWaterMark});this.retries=0;this.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()}};this.sourceAbortedHandler=()=>{const e=new u.AbortError("The operation was aborted.");this.destroy(e)};this.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}`))}};this.getter=t;this.source=e;this.start=r;this.offset=r;this.end=r+s-1;this.maxRetryRequests=n.maxRetryRequests&&n.maxRetryRequests>=0?n.maxRetryRequests:0;this.onProgress=n.onProgress;this.options=n;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)}_destroy(e,t){this.removeSourceEventHandlers();this.source.destroy();t(e===null?undefined:e)}}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 i.isNode?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}constructor(e,t,r,s,n={}){this.originalResponse=e;this.blobDownloadStream=new RetriableReadableStream(this.originalResponse.readableStreamBody,t,r,s,n)}}const _a=16;const Ha=new Uint8Array([79,98,106,1]);const Ga="avro.codec";const qa="avro.schema";class AvroParser{static async readFixedBytes(e,t,r={}){const s=await e.read(t,{abortSignal:r.abortSignal});if(s.length!==t){throw new Error("Hit stream end.")}return s}static async readByte(e,t={}){const r=await AvroParser.readFixedBytes(e,1,t);return r[0]}static async readZigZagLong(e,t={}){let r=0;let s=0;let n,o,i;do{n=await AvroParser.readByte(e,t);o=n&128;r|=(n&127)<Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return s}return r>>1^-(r&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 r=await AvroParser.readByte(e,t);if(r===1){return true}else if(r===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(e,t={}){const r=await AvroParser.readFixedBytes(e,4,t);const s=new DataView(r.buffer,r.byteOffset,r.byteLength);return s.getFloat32(0,true)}static async readDouble(e,t={}){const r=await AvroParser.readFixedBytes(e,8,t);const s=new DataView(r.buffer,r.byteOffset,r.byteLength);return s.getFloat64(0,true)}static async readBytes(e,t={}){const r=await AvroParser.readLong(e,t);if(r<0){throw new Error("Bytes size was negative.")}return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){const r=await AvroParser.readBytes(e,t);const s=new TextDecoder;return s.decode(r)}static async readMapPair(e,t,r={}){const s=await AvroParser.readString(e,r);const n=await t(e,r);return{key:s,value:n}}static async readMap(e,t,r={}){const readPairMethod=(e,r={})=>AvroParser.readMapPair(e,t,r);const s=await AvroParser.readArray(e,readPairMethod,r);const n={};for(const e of s){n[e.key]=e.value}return n}static async readArray(e,t,r={}){const s=[];for(let n=await AvroParser.readLong(e,r);n!==0;n=await AvroParser.readLong(e,r)){if(n<0){await AvroParser.readLong(e,r);n=-n}while(n--){const n=await t(e,r);s.push(n)}}return s}}var za;(function(e){e["RECORD"]="record";e["ENUM"]="enum";e["ARRAY"]="array";e["MAP"]="map";e["UNION"]="union";e["FIXED"]="fixed"})(za||(za={}));var Va;(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"})(Va||(Va={}));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 Va.NULL:case Va.BOOLEAN:case Va.INT:case Va.LONG:case Va.FLOAT:case Va.DOUBLE:case Va.BYTES:case Va.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(e){}switch(t){case za.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 r={};if(!e.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`)}for(const t of e.fields){r[t.name]=AvroType.fromSchema(t.type)}return new AvroRecordType(r,e.name);case za.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 za.MAP:if(!e.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`)}return new AvroMapType(AvroType.fromSchema(e.values));case za.ARRAY:case za.FIXED:default:throw new Error(`Unexpected Avro type ${t} in ${e}`)}}}class AvroPrimitiveType extends AvroType{constructor(e){super();this._primitive=e}read(e,t={}){switch(this._primitive){case Va.NULL:return AvroParser.readNull();case Va.BOOLEAN:return AvroParser.readBoolean(e,t);case Va.INT:return AvroParser.readInt(e,t);case Va.LONG:return AvroParser.readLong(e,t);case Va.FLOAT:return AvroParser.readFloat(e,t);case Va.DOUBLE:return AvroParser.readDouble(e,t);case Va.BYTES:return AvroParser.readBytes(e,t);case Va.STRING:return AvroParser.readString(e,t);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{constructor(e){super();this._symbols=e}async read(e,t={}){const r=await AvroParser.readInt(e,t);return this._symbols[r]}}class AvroUnionType extends AvroType{constructor(e){super();this._types=e}async read(e,t={}){const r=await AvroParser.readInt(e,t);return this._types[r].read(e,t)}}class AvroMapType extends AvroType{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{constructor(e,t){super();this._fields=e;this._name=t}async read(e,t={}){const r={};r["$schema"]=this._name;for(const s in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,s)){r[s]=await this._fields[s].read(e,t)}}return r}}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 r=0;r0){for(let t=0;t0}parseObjects(){return n.__asyncGenerator(this,arguments,(function*parseObjects_1(e={}){if(!this._initialized){yield n.__await(this.initialize(e))}while(this.hasNext()){const t=yield n.__await(this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}));this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const t=yield n.__await(AvroParser.readFixedBytes(this._dataStream,_a,{abortSignal:e.abortSignal}));this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!arraysEqual(this._syncMarker,t)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=yield n.__await(AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}))}catch(e){this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){yield n.__await(AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}))}}yield yield n.__await(t)}}))}}class AvroReadable{}const ja=new u.AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends AvroReadable{toUint8Array(e){if(typeof e==="string"){return Buffer.from(e)}return e}constructor(e){super();this._readable=e;this._position=0}get position(){return this._position}async read(e,t={}){var r;if((r=t.abortSignal)===null||r===void 0?void 0:r.aborted){throw ja}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 s=this._readable.read(e);if(s){this._position+=s.length;return this.toUint8Array(s)}else{return new Promise(((r,s)=>{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();r(this.toUint8Array(t))}};const rejectCallback=()=>{cleanUp();s()};const abortHandler=()=>{cleanUp();s(ja)};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)}}))}}}class BlobQuickQueryStream extends g.Readable{constructor(e,t={}){super();this.avroPaused=true;this.source=e;this.onProgress=t.onProgress;this.onError=t.onError;this.avroReader=new AvroReader(new 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 r=t.$schema;if(typeof r!=="string"){throw Error("Missing schema in avro record.")}switch(r){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 r=t.name;if(typeof r!=="string"){throw Error("Invalid name in avro error record.")}const s=t.description;if(typeof s!=="string"){throw Error("Invalid description in avro error record.")}const n=t.position;if(typeof n!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:n,name:r,isFatal:e,description:s})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}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 i.isNode?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}constructor(e,t={}){this.originalResponse=e;this.blobDownloadStream=new BlobQuickQueryStream(this.originalResponse.readableStreamBody,t)}}t.BlockBlobTier=void 0;(function(e){e["Hot"]="Hot";e["Cool"]="Cool";e["Cold"]="Cold";e["Archive"]="Archive"})(t.BlockBlobTier||(t.BlockBlobTier={}));t.PremiumPageBlobTier=void 0;(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"})(t.PremiumPageBlobTier||(t.PremiumPageBlobTier={}));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=j}}t.StorageBlobAudience=void 0;(function(e){e["StorageOAuthScopes"]="https://storage.azure.com/.default";e["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(t.StorageBlobAudience||(t.StorageBlobAudience={}));function getBlobServiceAccountAudience(e){return`https://${e}.blob.core.windows.net/.default`}function rangeResponseFromModel(e){const t=(e._response.parsedBody.pageRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));const r=(e._response.parsedBody.clearRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));return Object.assign(Object.assign({},e),{pageRange:t,clearRange:r,_response:Object.assign(Object.assign({},e._response),{parsedBody:{pageRange:t,clearRange:r}})})}class BlobBeginCopyFromUrlPoller extends m.Poller{constructor(e){const{blobClient:t,copySource:r,intervalInMs:s=15e3,onProgress:n,resumeFrom:o,startCopyFromURLOptions:i}=e;let a;if(o){a=JSON.parse(o).state}const A=makeBlobBeginCopyFromURLPollOperation(Object.assign(Object.assign({},a),{blobClient:t,copySource:r,startCopyFromURLOptions:i}));super(A);if(typeof n==="function"){this.onProgress(n)}this.intervalInMs=s}delay(){return i.delay(this.intervalInMs)}}const Ya=async function cancel(e={}){const t=this.state;const{copyId:r}=t;if(t.isCompleted){return makeBlobBeginCopyFromURLPollOperation(t)}if(!r){t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)}await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal});t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)};const Ja=async function update(e={}){const t=this.state;const{blobClient:r,copySource:s,startCopyFromURLOptions:n}=t;if(!t.isStarted){t.isStarted=true;const e=await r.startCopyFromURL(s,n);t.copyId=e.copyId;if(e.copyStatus==="success"){t.result=e;t.isCompleted=true}}else if(!t.isCompleted){try{const r=await t.blobClient.getProperties({abortSignal:e.abortSignal});const{copyStatus:s,copyProgress:n}=r;const o=t.copyProgress;if(n){t.copyProgress=n}if(s==="pending"&&n!==o&&typeof e.fireProgress==="function"){e.fireProgress(t)}else if(s==="success"){t.result=r;t.isCompleted=true}else if(s==="failed"){t.error=new Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`);t.isCompleted=true}}catch(e){t.error=e;t.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(t)};const Wa=function toString(){return JSON.stringify({state:this.state},((e,t)=>{if(e==="blobClient"){return undefined}return t}))};function makeBlobBeginCopyFromURLPollOperation(e){return{state:Object.assign({},e),cancel:Ya,toString:Wa,update:Ja}}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}-`}var $a;(function(e){e[e["Good"]=0]="Good";e[e["Error"]=1]="Error"})($a||($a={}));class Batch{constructor(e=5){this.actives=0;this.completed=0;this.offset=0;this.operations=[];this.state=$a.Good;if(e<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=e;this.emitter=new h.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=$a.Error;t(e)}))}))}nextOperation(){if(this.offset=this.operations.length){this.emitter.emit("finish");return}while(this.actives=this.byteLength){this.push(null)}if(!e){e=this.readableHighWaterMark}const t=[];let r=0;while(re-r){const s=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,s));this.pushedBytesLength+=e-r;this.byteOffsetInCurrentBuffer=s;r=e;break}else{const e=this.byteOffsetInCurrentBuffer+o;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e));if(o===n){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=e}this.pushedBytesLength+=o;r+=o}}if(t.length>1){this.push(Buffer.concat(t))}else if(t.length===1){this.push(t[0])}}}const Xa=y.constants.MAX_LENGTH;class PooledBuffer{get size(){return this._size}constructor(e,t,r){this.buffers=[];this.capacity=e;this._size=0;const s=Math.ceil(e/Xa);for(let t=0;t0){e[0]=e[0].slice(o)}}getReadableStream(){return new BuffersStream(this.buffers,this.size)}}class BufferScheduler{constructor(e,t,r,s,n,o){this.emitter=new h.EventEmitter;this.offset=0;this.isStreamEnd=false;this.isError=false;this.executingOutgoingHandlers=0;this.numBuffers=0;this.unresolvedDataArray=[];this.unresolvedLength=0;this.incoming=[];this.outgoing=[];if(t<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${t}`)}if(r<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${r}`)}if(n<=0){throw new RangeError(`concurrency must be larger than 0, current is ${n}`)}this.bufferSize=t;this.maxBuffers=r;this.readable=e;this.outgoingHandler=s;this.concurrency=n;this.encoding=o}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.unresolvedLengthr.getReadableStream()),r.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 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()}}}async function streamToBuffer(e,t,r,s,n){let o=0;const i=s-r;return new Promise(((s,a)=>{const A=setTimeout((()=>a(new Error(`The operation cannot be completed in timeout.`))),k);e.on("readable",(()=>{if(o>=i){clearTimeout(A);s();return}let a=e.read();if(!a){return}if(typeof a==="string"){a=Buffer.from(a,n)}const c=o+a.length>i?i-o:a.length;t.fill(a.slice(0,c),r+o,r+o+c);o+=c}));e.on("end",(()=>{clearTimeout(A);if(o{clearTimeout(A);a(e)}))}))}async function streamToBuffer2(e,t,r){let s=0;const n=t.length;return new Promise(((o,i)=>{e.on("readable",(()=>{let o=e.read();if(!o){return}if(typeof o==="string"){o=Buffer.from(o,r)}if(s+o.length>n){i(new Error(`Stream exceeds buffer size. Buffer size: ${n}`));return}t.fill(o,s,s+o.length);s+=o.length}));e.on("end",(()=>{o(s)}));e.on("error",i)}))}async function readStreamToLocalFile(e,t){return new Promise(((r,s)=>{const n=Q.createWriteStream(t);e.on("error",(e=>{s(e)}));n.on("error",(e=>{s(e)}));n.on("close",r);e.pipe(n)}))}const Ka=b.promisify(Q.stat);const Za=Q.createReadStream;class BlobClient extends StorageClient{get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,n){n=n||{};let a;let A;if(isPipelineLike(t)){A=e;a=t}else if(i.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||o.isTokenCredential(t)){A=e;n=r;a=newPipeline(t,n)}else if(!t&&typeof t!=="string"){A=e;if(r&&typeof r!=="string"){n=r}a=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const o=t;const c=r;const l=extractConnectionStringParts(e);if(l.kind==="AccountConnString"){if(i.isNode){const e=new StorageSharedKeyCredential(l.accountName,l.accountKey);A=appendToURLPath(appendToURLPath(l.url,encodeURIComponent(o)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=s.getDefaultProxySettings(l.proxyUri)}a=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(l.kind==="SASConnString"){A=appendToURLPath(appendToURLPath(l.url,encodeURIComponent(o)),encodeURIComponent(c))+"?"+l.accountSas;a=newPipeline(new 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 and blobName parameters")}super(A,a);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=getURLParameter(this.url,L.Parameters.SNAPSHOT);this._versionId=getURLParameter(this.url,L.Parameters.VERSIONID)}withSnapshot(e){return new BlobClient(setURLParameter(this.url,L.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}withVersion(e){return new BlobClient(setURLParameter(this.url,L.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,r={}){r.conditions=r.conditions||{};r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Ua.withSpan("BlobClient-download",r,(async s=>{var n;const o=assertResponse(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(n=r.conditions)===null||n===void 0?void 0:n.tagConditions}),requestOptions:{onDownloadProgress:i.isNode?undefined:r.onProgress},range:e===0&&!t?undefined:rangeToString({offset:e,count:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));const a=Object.assign(Object.assign({},o),{_response:o._response,objectReplicationDestinationPolicyId:o.objectReplicationPolicyId,objectReplicationSourceProperties:parseObjectReplicationRecord(o.objectReplicationRules)});if(!i.isNode){return a}if(r.maxRetryRequests===undefined||r.maxRetryRequests<0){r.maxRetryRequests=P}if(o.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(!o.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}return new BlobDownloadResponse(a,(async t=>{var s;const n={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||o.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:(s=r.conditions)===null||s===void 0?void 0:s.tagConditions},range:rangeToString({count:e+o.contentLength-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey};return(await this.blobContext.download(Object.assign({abortSignal:r.abortSignal},n))).readableStreamBody}),e,o.contentLength,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})}))}async exists(e={}){return Ua.withSpan("BlobClient-exists",e,(async t=>{try{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===$||e.details.errorCode===X)){return true}throw e}}))}async getProperties(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Ua.withSpan("BlobClient-getProperties",e,(async t=>{var r;const s=assertResponse(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(r=e.conditions)===null||r===void 0?void 0:r.tagConditions}),cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return Object.assign(Object.assign({},s),{_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:parseObjectReplicationRecord(s.objectReplicationRules)})}))}async delete(e={}){e.conditions=e.conditions||{};return Ua.withSpan("BlobClient-delete",e,(async t=>{var r;return assertResponse(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(r=e.conditions)===null||r===void 0?void 0:r.tagConditions}),tracingOptions:t.tracingOptions}))}))}async deleteIfExists(e={}){return Ua.withSpan("BlobClient-deleteIfExists",e,(async e=>{var t,r;try{const t=assertResponse(await this.delete(e));return Object.assign(Object.assign({succeeded:true},t),{_response:t._response})}catch(e){if(((t=e.details)===null||t===void 0?void 0:t.errorCode)==="BlobNotFound"){return Object.assign(Object.assign({succeeded:false},(r=e.response)===null||r===void 0?void 0:r.parsedHeaders),{_response:e.response})}throw e}}))}async undelete(e={}){return Ua.withSpan("BlobClient-undelete",e,(async t=>assertResponse(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setHTTPHeaders(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ua.withSpan("BlobClient-setHTTPHeaders",t,(async r=>{var s;return assertResponse(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),tracingOptions:r.tracingOptions}))}))}async setMetadata(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ua.withSpan("BlobClient-setMetadata",t,(async r=>{var s;return assertResponse(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions}))}))}async setTags(e,t={}){return Ua.withSpan("BlobClient-setTags",t,(async r=>{var s;return assertResponse(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),tracingOptions:r.tracingOptions,tags:toBlobTags(e)}))}))}async getTags(e={}){return Ua.withSpan("BlobClient-getTags",e,(async t=>{var r;const s=assertResponse(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(r=e.conditions)===null||r===void 0?void 0:r.tagConditions}),tracingOptions:t.tracingOptions}));const n=Object.assign(Object.assign({},s),{_response:s._response,tags:toTags({blobTagSet:s.blobTagSet})||{}});return n}))}getBlobLeaseClient(e){return new BlobLeaseClient(this,e)}async createSnapshot(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Ua.withSpan("BlobClient-createSnapshot",e,(async t=>{var r;return assertResponse(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(r=e.conditions)===null||r===void 0?void 0:r.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions}))}))}async beginCopyFromURL(e,t={}){const r={abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)};const s=new BlobBeginCopyFromUrlPoller({blobClient:r,copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});await s.poll();return s}async abortCopyFromURL(e,t={}){return Ua.withSpan("BlobClient-abortCopyFromURL",t,(async r=>assertResponse(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions}))))}async syncCopyFromURL(e,t={}){t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return Ua.withSpan("BlobClient-syncCopyFromURL",t,(async r=>{var s,n,o,i,a,A,c;return assertResponse(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(n=t.sourceConditions)===null||n===void 0?void 0:n.ifMatch,sourceIfModifiedSince:(o=t.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(i=t.sourceConditions)===null||i===void 0?void 0:i.ifNoneMatch,sourceIfUnmodifiedSince:(a=t.sourceConditions)===null||a===void 0?void 0:a.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:httpAuthorizationToString(t.sourceAuthorization),tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),immutabilityPolicyExpiry:(A=t.immutabilityPolicy)===null||A===void 0?void 0:A.expiriesOn,immutabilityPolicyMode:(c=t.immutabilityPolicy)===null||c===void 0?void 0:c.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,tracingOptions:r.tracingOptions}))}))}async setAccessTier(e,t={}){return Ua.withSpan("BlobClient-setAccessTier",t,(async r=>{var s;return assertResponse(await this.blobContext.setTier(toAccessTier(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions}))}))}async downloadToBuffer(e,t,r,s={}){var n;let o;let i=0;let a=0;let A=s;if(e instanceof Buffer){o=e;i=t||0;a=typeof r==="number"?r:0}else{i=typeof e==="number"?e:0;a=typeof t==="number"?t:0;A=r||{}}let c=(n=A.blockSize)!==null&&n!==void 0?n:0;if(c<0){throw new RangeError("blockSize option must be >= 0")}if(c===0){c=T}if(i<0){throw new RangeError("offset option must be >= 0")}if(a&&a<=0){throw new RangeError("count option must be greater than 0")}if(!A.conditions){A.conditions={}}return Ua.withSpan("BlobClient-downloadToBuffer",A,(async e=>{if(!a){const t=await this.getProperties(Object.assign(Object.assign({},A),{tracingOptions:e.tracingOptions}));a=t.contentLength-i;if(a<0){throw new RangeError(`offset ${i} shouldn't be larger than blob size ${t.contentLength}`)}}if(!o){try{o=Buffer.alloc(a)}catch(e){throw new Error(`Unable to allocate the buffer of size: ${a}(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(o.length{let r=i+a;if(s+c{const o=await this.download(t,r,Object.assign(Object.assign({},s),{tracingOptions:n.tracingOptions}));if(o.readableStreamBody){await readStreamToLocalFile(o.readableStreamBody,e)}o.blobDownloadStream=undefined;return o}))}getBlobAndContainerNamesFromUrl(){let e;let t;try{const r=new URL(this.url);if(r.host.split(".")[1]==="blob"){const s=r.pathname.match("/([^/]*)(/(.*))?");e=s[1];t=s[3]}else if(isIpEndpointStyle(r)){const s=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=s[2];t=s[4]}else{const s=r.pathname.match("/([^/]*)(/(.*))?");e=s[1];t=s[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 Ua.withSpan("BlobClient-startCopyFromURL",t,(async r=>{var s,n,o;t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return assertResponse(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:(n=t.immutabilityPolicy)===null||n===void 0?void 0:n.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))}))}generateSasUrl(e){return new Promise((t=>{if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const r=generateBlobSASQueryParameters(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),this.credential).toString();t(appendToURLQuery(this.url,r))}))}generateSasStringToSign(e){if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return generateBlobSASQueryParametersInternal(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),this.credential).stringToSign}async deleteImmutabilityPolicy(e={}){return Ua.withSpan("BlobClient-deleteImmutabilityPolicy",e,(async e=>assertResponse(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions}))))}async setImmutabilityPolicy(e,t={}){return Ua.withSpan("BlobClient-setImmutabilityPolicy",t,(async t=>assertResponse(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions}))))}async setLegalHold(e,t={}){return Ua.withSpan("BlobClient-setLegalHold",t,(async t=>assertResponse(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return Ua.withSpan("BlobClient-getAccountInfo",e,(async t=>assertResponse(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}}class AppendBlobClient extends BlobClient{constructor(e,t,r,n){let a;let A;n=n||{};if(isPipelineLike(t)){A=e;a=t}else if(i.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||o.isTokenCredential(t)){A=e;n=r;a=newPipeline(t,n)}else if(!t&&typeof t!=="string"){A=e;a=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const o=t;const c=r;const l=extractConnectionStringParts(e);if(l.kind==="AccountConnString"){if(i.isNode){const e=new StorageSharedKeyCredential(l.accountName,l.accountKey);A=appendToURLPath(appendToURLPath(l.url,encodeURIComponent(o)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=s.getDefaultProxySettings(l.proxyUri)}a=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(l.kind==="SASConnString"){A=appendToURLPath(appendToURLPath(l.url,encodeURIComponent(o)),encodeURIComponent(c))+"?"+l.accountSas;a=newPipeline(new 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 and blobName parameters")}super(A,a);this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new AppendBlobClient(setURLParameter(this.url,L.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async create(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Ua.withSpan("AppendBlobClient-create",e,(async t=>{var r,s,n;return assertResponse(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(r=e.conditions)===null||r===void 0?void 0:r.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:(s=e.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(n=e.immutabilityPolicy)===null||n===void 0?void 0:n.policyMode,legalHold:e.legalHold,blobTagsString:toBlobTagsString(e.tags),tracingOptions:t.tracingOptions}))}))}async createIfNotExists(e={}){const t={ifNoneMatch:_};return Ua.withSpan("AppendBlobClient-createIfNotExists",e,(async e=>{var r,s;try{const r=assertResponse(await this.create(Object.assign(Object.assign({},e),{conditions:t})));return Object.assign(Object.assign({succeeded:true},r),{_response:r._response})}catch(e){if(((r=e.details)===null||r===void 0?void 0:r.errorCode)==="BlobAlreadyExists"){return Object.assign(Object.assign({succeeded:false},(s=e.response)===null||s===void 0?void 0:s.parsedHeaders),{_response:e.response})}throw e}}))}async seal(e={}){e.conditions=e.conditions||{};return Ua.withSpan("AppendBlobClient-seal",e,(async t=>{var r;return assertResponse(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(r=e.conditions)===null||r===void 0?void 0:r.tagConditions}),tracingOptions:t.tracingOptions}))}))}async appendBlock(e,t,r={}){r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Ua.withSpan("AppendBlobClient-appendBlock",r,(async s=>{var n;return assertResponse(await this.appendBlobContext.appendBlock(t,e,{abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(n=r.conditions)===null||n===void 0?void 0:n.tagConditions}),requestOptions:{onUploadProgress:r.onProgress},transactionalContentMD5:r.transactionalContentMD5,transactionalContentCrc64:r.transactionalContentCrc64,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions}))}))}async appendBlockFromURL(e,t,r,s={}){s.conditions=s.conditions||{};s.sourceConditions=s.sourceConditions||{};ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return Ua.withSpan("AppendBlobClient-appendBlockFromURL",s,(async n=>{var o,i,a,A,c;return assertResponse(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:s.abortSignal,sourceRange:rangeToString({offset:t,count:r}),sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,appendPositionAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(o=s.conditions)===null||o===void 0?void 0:o.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(i=s.sourceConditions)===null||i===void 0?void 0:i.ifMatch,sourceIfModifiedSince:(a=s.sourceConditions)===null||a===void 0?void 0:a.ifModifiedSince,sourceIfNoneMatch:(A=s.sourceConditions)===null||A===void 0?void 0:A.ifNoneMatch,sourceIfUnmodifiedSince:(c=s.sourceConditions)===null||c===void 0?void 0:c.ifUnmodifiedSince},copySourceAuthorization:httpAuthorizationToString(s.sourceAuthorization),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions}))}))}}class BlockBlobClient extends BlobClient{constructor(e,t,r,n){let a;let A;n=n||{};if(isPipelineLike(t)){A=e;a=t}else if(i.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||o.isTokenCredential(t)){A=e;n=r;a=newPipeline(t,n)}else if(!t&&typeof t!=="string"){A=e;if(r&&typeof r!=="string"){n=r}a=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const o=t;const c=r;const l=extractConnectionStringParts(e);if(l.kind==="AccountConnString"){if(i.isNode){const e=new StorageSharedKeyCredential(l.accountName,l.accountKey);A=appendToURLPath(appendToURLPath(l.url,encodeURIComponent(o)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=s.getDefaultProxySettings(l.proxyUri)}a=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(l.kind==="SASConnString"){A=appendToURLPath(appendToURLPath(l.url,encodeURIComponent(o)),encodeURIComponent(c))+"?"+l.accountSas;a=newPipeline(new 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 and blobName parameters")}super(A,a);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new BlockBlobClient(setURLParameter(this.url,L.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async query(e,t={}){ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);if(!i.isNode){throw new Error("This operation currently is only supported in Node.js.")}return Ua.withSpan("BlockBlobClient-query",t,(async r=>{var s;const n=assertResponse(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:toQuerySerialization(t.inputTextConfiguration),outputSerialization:toQuerySerialization(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions}));return new BlobQueryResponse(n,{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError})}))}async upload(e,t,r={}){r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Ua.withSpan("BlockBlobClient-upload",r,(async s=>{var n,o,i;return assertResponse(await this.blockBlobContext.upload(t,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(n=r.conditions)===null||n===void 0?void 0:n.tagConditions}),requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:(o=r.immutabilityPolicy)===null||o===void 0?void 0:o.expiriesOn,immutabilityPolicyMode:(i=r.immutabilityPolicy)===null||i===void 0?void 0:i.policyMode,legalHold:r.legalHold,tier:toAccessTier(r.tier),blobTagsString:toBlobTagsString(r.tags),tracingOptions:s.tracingOptions}))}))}async syncUploadFromURL(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ua.withSpan("BlockBlobClient-syncUploadFromURL",t,(async r=>{var s,n,o,i,a,A;return assertResponse(await this.blockBlobContext.putBlobFromUrl(0,e,Object.assign(Object.assign({},t),{blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(n=t.sourceConditions)===null||n===void 0?void 0:n.ifMatch,sourceIfModifiedSince:(o=t.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(i=t.sourceConditions)===null||i===void 0?void 0:i.ifNoneMatch,sourceIfUnmodifiedSince:(a=t.sourceConditions)===null||a===void 0?void 0:a.ifUnmodifiedSince,sourceIfTags:(A=t.sourceConditions)===null||A===void 0?void 0:A.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:httpAuthorizationToString(t.sourceAuthorization),tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),copySourceTags:t.copySourceTags,tracingOptions:r.tracingOptions})))}))}async stageBlock(e,t,r,s={}){ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return Ua.withSpan("BlockBlobClient-stageBlock",s,(async n=>assertResponse(await this.blockBlobContext.stageBlock(e,r,t,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions}))))}async stageBlockFromURL(e,t,r=0,s,n={}){ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return Ua.withSpan("BlockBlobClient-stageBlockFromURL",n,(async o=>assertResponse(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:r===0&&!s?undefined:rangeToString({offset:r,count:s}),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:httpAuthorizationToString(n.sourceAuthorization),tracingOptions:o.tracingOptions}))))}async commitBlockList(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ua.withSpan("BlockBlobClient-commitBlockList",t,(async r=>{var s,n,o;return assertResponse(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:(n=t.immutabilityPolicy)===null||n===void 0?void 0:n.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),tracingOptions:r.tracingOptions}))}))}async getBlockList(e,t={}){return Ua.withSpan("BlockBlobClient-getBlockList",t,(async r=>{var s;const n=assertResponse(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),tracingOptions:r.tracingOptions}));if(!n.committedBlocks){n.committedBlocks=[]}if(!n.uncommittedBlocks){n.uncommittedBlocks=[]}return n}))}async uploadData(e,t={}){return Ua.withSpan("BlockBlobClient-uploadData",t,(async t=>{if(i.isNode){let r;if(e instanceof Buffer){r=e}else if(e instanceof ArrayBuffer){r=Buffer.from(e)}else{e=e;r=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.byteLength,t)}else{const r=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.size,t)}}))}async uploadBrowserData(e,t={}){return Ua.withSpan("BlockBlobClient-uploadBrowserData",t,(async t=>{const r=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.size,t)}))}async uploadSeekableInternal(e,t,r={}){var s,n;let o=(s=r.blockSize)!==null&&s!==void 0?s:0;if(o<0||o>v){throw new RangeError(`blockSize option must be >= 0 and <= ${v}`)}const a=(n=r.maxSingleShotSize)!==null&&n!==void 0?n:N;if(a<0||a>N){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${N}`)}if(o===0){if(t>v*x){throw new RangeError(`${t} is too larger to upload to a block blob.`)}if(t>a){o=Math.ceil(t/x);if(o{if(t<=a){return assertResponse(await this.upload(e(0,t),t,s))}const n=Math.floor((t-1)/o)+1;if(n>x){throw new RangeError(`The buffer's size is too big or the BlockSize is too small;`+`the number of blocks must be <= ${x}`)}const A=[];const c=i.randomUUID();let l=0;const u=new Batch(r.concurrency);for(let i=0;i{const a=generateBlockID(c,i);const u=o*i;const d=i===n-1?t:u+o;const p=d-u;A.push(a);await this.stageBlock(a,e(u,p),p,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions});l+=p;if(r.onProgress){r.onProgress({loadedBytes:l})}}))}await u.do();return this.commitBlockList(A,s)}))}async uploadFile(e,t={}){return Ua.withSpan("BlockBlobClient-uploadFile",t,(async r=>{const s=(await Ka(e)).size;return this.uploadSeekableInternal(((t,r)=>()=>Za(e,{autoClose:true,end:r?t+r-1:Infinity,start:t})),s,Object.assign(Object.assign({},t),{tracingOptions:r.tracingOptions}))}))}async uploadStream(e,t=D,r=5,s={}){if(!s.blobHTTPHeaders){s.blobHTTPHeaders={}}if(!s.conditions){s.conditions={}}return Ua.withSpan("BlockBlobClient-uploadStream",s,(async n=>{let o=0;const a=i.randomUUID();let A=0;const c=[];const l=new BufferScheduler(e,t,r,(async(e,t)=>{const r=generateBlockID(a,o);c.push(r);o++;await this.stageBlock(r,e,t,{customerProvidedKey:s.customerProvidedKey,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions});A+=t;if(s.onProgress){s.onProgress({loadedBytes:A})}}),Math.ceil(r/4*3));await l.do();return assertResponse(await this.commitBlockList(c,Object.assign(Object.assign({},s),{tracingOptions:n.tracingOptions})))}))}}class PageBlobClient extends BlobClient{constructor(e,t,r,n){let a;let A;n=n||{};if(isPipelineLike(t)){A=e;a=t}else if(i.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||o.isTokenCredential(t)){A=e;n=r;a=newPipeline(t,n)}else if(!t&&typeof t!=="string"){A=e;a=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const o=t;const c=r;const l=extractConnectionStringParts(e);if(l.kind==="AccountConnString"){if(i.isNode){const e=new StorageSharedKeyCredential(l.accountName,l.accountKey);A=appendToURLPath(appendToURLPath(l.url,encodeURIComponent(o)),encodeURIComponent(c));if(!n.proxyOptions){n.proxyOptions=s.getDefaultProxySettings(l.proxyUri)}a=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(l.kind==="SASConnString"){A=appendToURLPath(appendToURLPath(l.url,encodeURIComponent(o)),encodeURIComponent(c))+"?"+l.accountSas;a=newPipeline(new 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 and blobName parameters")}super(A,a);this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new PageBlobClient(setURLParameter(this.url,L.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async create(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ua.withSpan("PageBlobClient-create",t,(async r=>{var s,n,o;return assertResponse(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:(n=t.immutabilityPolicy)===null||n===void 0?void 0:n.expiriesOn,immutabilityPolicyMode:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:t.legalHold,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),tracingOptions:r.tracingOptions}))}))}async createIfNotExists(e,t={}){return Ua.withSpan("PageBlobClient-createIfNotExists",t,(async r=>{var s,n;try{const s={ifNoneMatch:_};const n=assertResponse(await this.create(e,Object.assign(Object.assign({},t),{conditions:s,tracingOptions:r.tracingOptions})));return Object.assign(Object.assign({succeeded:true},n),{_response:n._response})}catch(e){if(((s=e.details)===null||s===void 0?void 0:s.errorCode)==="BlobAlreadyExists"){return Object.assign(Object.assign({succeeded:false},(n=e.response)===null||n===void 0?void 0:n.parsedHeaders),{_response:e.response})}throw e}}))}async uploadPages(e,t,r,s={}){s.conditions=s.conditions||{};ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return Ua.withSpan("PageBlobClient-uploadPages",s,(async n=>{var o;return assertResponse(await this.pageBlobContext.uploadPages(r,e,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(o=s.conditions)===null||o===void 0?void 0:o.tagConditions}),requestOptions:{onUploadProgress:s.onProgress},range:rangeToString({offset:t,count:r}),sequenceNumberAccessConditions:s.conditions,transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions}))}))}async uploadPagesFromURL(e,t,r,s,n={}){n.conditions=n.conditions||{};n.sourceConditions=n.sourceConditions||{};ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return Ua.withSpan("PageBlobClient-uploadPagesFromURL",n,(async o=>{var i,a,A,c,l;return assertResponse(await this.pageBlobContext.uploadPagesFromURL(e,rangeToString({offset:t,count:s}),0,rangeToString({offset:r,count:s}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(i=n.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(a=n.sourceConditions)===null||a===void 0?void 0:a.ifMatch,sourceIfModifiedSince:(A=n.sourceConditions)===null||A===void 0?void 0:A.ifModifiedSince,sourceIfNoneMatch:(c=n.sourceConditions)===null||c===void 0?void 0:c.ifNoneMatch,sourceIfUnmodifiedSince:(l=n.sourceConditions)===null||l===void 0?void 0:l.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:httpAuthorizationToString(n.sourceAuthorization),tracingOptions:o.tracingOptions}))}))}async clearPages(e=0,t,r={}){r.conditions=r.conditions||{};return Ua.withSpan("PageBlobClient-clearPages",r,(async s=>{var n;return assertResponse(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(n=r.conditions)===null||n===void 0?void 0:n.tagConditions}),range:rangeToString({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions}))}))}async getPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};return Ua.withSpan("PageBlobClient-getPageRanges",r,(async s=>{var n;const o=assertResponse(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(n=r.conditions)===null||n===void 0?void 0:n.tagConditions}),range:rangeToString({offset:e,count:t}),tracingOptions:s.tracingOptions}));return rangeResponseFromModel(o)}))}async listPageRangesSegment(e=0,t,r,s={}){return Ua.withSpan("PageBlobClient-getPageRangesSegment",s,(async n=>{var o;return assertResponse(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(o=s.conditions)===null||o===void 0?void 0:o.tagConditions}),range:rangeToString({offset:e,count:t}),marker:r,maxPageSize:s.maxPageSize,tracingOptions:n.tracingOptions}))}))}listPageRangeItemSegments(){return n.__asyncGenerator(this,arguments,(function*listPageRangeItemSegments_1(e=0,t,r,s={}){let o;if(!!r||r===undefined){do{o=yield n.__await(this.listPageRangesSegment(e,t,r,s));r=o.continuationToken;yield yield n.__await(yield n.__await(o))}while(r)}}))}listPageRangeItems(){return n.__asyncGenerator(this,arguments,(function*listPageRangeItems_1(e=0,t,r={}){var s,o,i,a;let A;try{for(var c=true,l=n.__asyncValues(this.listPageRangeItemSegments(e,t,A,r)),u;u=yield n.__await(l.next()),s=u.done,!s;c=true){a=u.value;c=false;const e=a;yield n.__await(yield*n.__asyncDelegator(n.__asyncValues(ExtractPageRangeInfoItems(e))))}}catch(e){o={error:e}}finally{try{if(!c&&!s&&(i=l.return))yield n.__await(i.call(l))}finally{if(o)throw o.error}}}))}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};const s=this.listPageRangeItems(e,t,r);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeItemSegments(e,t,s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},r))}}async getPageRangesDiff(e,t,r,s={}){s.conditions=s.conditions||{};return Ua.withSpan("PageBlobClient-getPageRangesDiff",s,(async n=>{var o;const i=assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(o=s.conditions)===null||o===void 0?void 0:o.tagConditions}),prevsnapshot:r,range:rangeToString({offset:e,count:t}),tracingOptions:n.tracingOptions}));return rangeResponseFromModel(i)}))}async listPageRangesDiffSegment(e,t,r,s,n={}){return Ua.withSpan("PageBlobClient-getPageRangesDiffSegment",n,(async o=>{var i;return assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:n===null||n===void 0?void 0:n.abortSignal,leaseAccessConditions:n===null||n===void 0?void 0:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n===null||n===void 0?void 0:n.conditions),{ifTags:(i=n===null||n===void 0?void 0:n.conditions)===null||i===void 0?void 0:i.tagConditions}),prevsnapshot:r,range:rangeToString({offset:e,count:t}),marker:s,maxPageSize:n===null||n===void 0?void 0:n.maxPageSize,tracingOptions:o.tracingOptions}))}))}listPageRangeDiffItemSegments(e,t,r,s,o){return n.__asyncGenerator(this,arguments,(function*listPageRangeDiffItemSegments_1(){let i;if(!!s||s===undefined){do{i=yield n.__await(this.listPageRangesDiffSegment(e,t,r,s,o));s=i.continuationToken;yield yield n.__await(yield n.__await(i))}while(s)}}))}listPageRangeDiffItems(e,t,r,s){return n.__asyncGenerator(this,arguments,(function*listPageRangeDiffItems_1(){var o,i,a,A;let c;try{for(var l=true,u=n.__asyncValues(this.listPageRangeDiffItemSegments(e,t,r,c,s)),d;d=yield n.__await(u.next()),o=d.done,!o;l=true){A=d.value;l=false;const e=A;yield n.__await(yield*n.__asyncDelegator(n.__asyncValues(ExtractPageRangeInfoItems(e))))}}catch(e){i={error:e}}finally{try{if(!l&&!o&&(a=u.return))yield n.__await(a.call(u))}finally{if(i)throw i.error}}}))}listPageRangesDiff(e,t,r,s={}){s.conditions=s.conditions||{};const n=this.listPageRangeDiffItems(e,t,r,Object.assign({},s));return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,Object.assign({maxPageSize:n.maxPageSize},s))}}async getPageRangesDiffForManagedDisks(e,t,r,s={}){s.conditions=s.conditions||{};return Ua.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",s,(async n=>{var o;const i=assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(o=s.conditions)===null||o===void 0?void 0:o.tagConditions}),prevSnapshotUrl:r,range:rangeToString({offset:e,count:t}),tracingOptions:n.tracingOptions}));return rangeResponseFromModel(i)}))}async resize(e,t={}){t.conditions=t.conditions||{};return Ua.withSpan("PageBlobClient-resize",t,(async r=>{var s;return assertResponse(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions}))}))}async updateSequenceNumber(e,t,r={}){r.conditions=r.conditions||{};return Ua.withSpan("PageBlobClient-updateSequenceNumber",r,(async s=>{var n;return assertResponse(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(n=r.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:s.tracingOptions}))}))}async startCopyIncremental(e,t={}){return Ua.withSpan("PageBlobClient-startCopyIncremental",t,(async r=>{var s;return assertResponse(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(s=t.conditions)===null||s===void 0?void 0:s.tagConditions}),tracingOptions:r.tracingOptions}))}))}}async function getBodyAsText(e){let t=Buffer.alloc(q);const r=await streamToBuffer2(e.readableStreamBody,t);t=t.slice(0,r);return t.toString()}function utf8ByteLength(e){return Buffer.byteLength(e)}const eA=": ";const tA=" ";const rA=-1;class BatchResponseParser{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}${z}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==F.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const e=await getBodyAsText(this.batchResponse);const t=e.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const r=t.length;if(r!==this.subRequests.size&&r!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const n=new Array(r);let o=0;let i=0;for(let e=0;e=0&&p{if(this.keys[e]===undefined||this.keys[e]===sA.UNLOCKED){this.keys[e]=sA.LOCKED;t()}else{this.onUnlockEvent(e,(()=>{this.keys[e]=sA.LOCKED;t()}))}}))}static async unlock(e){return new Promise((t=>{if(this.keys[e]===sA.LOCKED){this.emitUnlockEvent(e)}delete this.keys[e];t()}))}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)}))}}}Mutex.keys={};Mutex.listeners={};class BlobBatch{constructor(){this.batch="batch";this.batchRequest=new InnerBatchRequest}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,t){await Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e);await t();this.batchRequest.postAddSubRequest(e)}finally{await 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,r){let s;let n;if(typeof e==="string"&&(i.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||o.isTokenCredential(t))){s=e;n=t}else if(e instanceof BlobClient){s=e.url;n=e.credential;r=t}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!r){r={}}return Ua.withSpan("BatchDeleteRequest-addSubRequest",r,(async e=>{this.setBatchType("delete");await this.addSubRequestInternal({url:s,credential:n},(async()=>{await new BlobClient(s,this.batchRequest.createPipeline(n)).delete(e)}))}))}async setBlobAccessTier(e,t,r,s){let n;let a;let A;if(typeof e==="string"&&(i.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||o.isTokenCredential(t))){n=e;a=t;A=r}else if(e instanceof BlobClient){n=e.url;a=e.credential;A=t;s=r}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!s){s={}}return Ua.withSpan("BatchSetTierRequest-addSubRequest",s,(async e=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:n,credential:a},(async()=>{await new BlobClient(n,this.batchRequest.createPipeline(a)).setAccessTier(A,e)}))}))}}class InnerBatchRequest{constructor(){this.operationCount=0;this.body="";const e=i.randomUUID();this.boundary=`batch_${e}`;this.subRequestPrefix=`--${this.boundary}${z}${M.CONTENT_TYPE}: application/http${z}${M.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(e){const t=s.createEmptyPipeline();t.addPolicy(A.serializationPolicy({stringifyXML:c.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});t.addPolicy(batchHeaderFilterPolicy());t.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if(o.isTokenCredential(e)){t.addPolicy(s.bearerTokenAuthenticationPolicy({credential:e,scopes:O,challengeCallbacks:{authorizeRequestOnChallenge:A.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(e instanceof StorageSharedKeyCredential){t.addPolicy(storageSharedKeyCredentialPolicy({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"})}const r=new Pipeline([]);r._credential=e;r._corePipeline=t;return r}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${M.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${getURLPathAndQuery(e.url)} ${V}${z}`].join(z);for(const[t,r]of e.headers){this.body+=`${t}: ${r}${z}`}this.body+=z}preAddSubRequest(e){if(this.operationCount>=G){throw new RangeError(`Cannot exceed ${G} sub requests in a single batch`)}const t=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}${z}`}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:s.createHttpHeaders()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(e,t){let r="";for(const[t]of e.headers){if(iEqual(t,M.X_MS_VERSION)){r=t}}if(r!==""){e.headers.delete(r)}return t(e)}}}class BlobBatchClient{constructor(e,t,r){let s;if(isPipelineLike(t)){s=t}else if(!t){s=newPipeline(new AnonymousCredential,r)}else{s=newPipeline(t,r)}const n=new StorageContextClient(e,getCoreClientOptions(s));const o=getURLPath(e);if(o&&o!=="/"){this.serviceOrContainerContext=n.container}else{this.serviceOrContainerContext=n.service}}createBatch(){return new BlobBatch}async deleteBlobs(e,t,r){const s=new BlobBatch;for(const n of e){if(typeof n==="string"){await s.deleteBlob(n,t,r)}else{await s.deleteBlob(n,t)}}return this.submitBatch(s)}async setBlobsAccessTier(e,t,r,s){const n=new BlobBatch;for(const o of e){if(typeof o==="string"){await n.setBlobAccessTier(o,t,r,s)}else{await n.setBlobAccessTier(o,t,r)}}return this.submitBatch(n)}async submitBatch(e,t={}){if(!e||e.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return Ua.withSpan("BlobBatchClient-submitBatch",t,(async t=>{const r=e.getHttpRequestBody();const s=assertResponse(await this.serviceOrContainerContext.submitBatch(utf8ByteLength(r),e.getMultiPartContentType(),r,Object.assign({},t)));const n=new BatchResponseParser(s,e.getSubRequests());const o=await n.parseBatchResponse();const i={_response:s._response,contentType:s.contentType,errorCode:s.errorCode,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,subResponses:o.subResponses,subResponsesSucceededCount:o.subResponsesSucceededCount,subResponsesFailedCount:o.subResponsesFailedCount};return i}))}}class ContainerClient extends StorageClient{get containerName(){return this._containerName}constructor(e,t,r){let n;let a;r=r||{};if(isPipelineLike(t)){a=e;n=t}else if(i.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||o.isTokenCredential(t)){a=e;n=newPipeline(t,r)}else if(!t&&typeof t!=="string"){a=e;n=newPipeline(new AnonymousCredential,r)}else if(t&&typeof t==="string"){const o=t;const A=extractConnectionStringParts(e);if(A.kind==="AccountConnString"){if(i.isNode){const e=new StorageSharedKeyCredential(A.accountName,A.accountKey);a=appendToURLPath(A.url,encodeURIComponent(o));if(!r.proxyOptions){r.proxyOptions=s.getDefaultProxySettings(A.proxyUri)}n=newPipeline(e,r)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(A.kind==="SASConnString"){a=appendToURLPath(A.url,encodeURIComponent(o))+"?"+A.accountSas;n=newPipeline(new AnonymousCredential,r)}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(a,n);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container}async create(e={}){return Ua.withSpan("ContainerClient-create",e,(async e=>assertResponse(await this.containerContext.create(e))))}async createIfNotExists(e={}){return Ua.withSpan("ContainerClient-createIfNotExists",e,(async e=>{var t,r;try{const t=await this.create(e);return Object.assign(Object.assign({succeeded:true},t),{_response:t._response})}catch(e){if(((t=e.details)===null||t===void 0?void 0:t.errorCode)==="ContainerAlreadyExists"){return Object.assign(Object.assign({succeeded:false},(r=e.response)===null||r===void 0?void 0:r.parsedHeaders),{_response:e.response})}else{throw e}}}))}async exists(e={}){return Ua.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 BlobClient(appendToURLPath(this.url,EscapePath(e)),this.pipeline)}getAppendBlobClient(e){return new AppendBlobClient(appendToURLPath(this.url,EscapePath(e)),this.pipeline)}getBlockBlobClient(e){return new BlockBlobClient(appendToURLPath(this.url,EscapePath(e)),this.pipeline)}getPageBlobClient(e){return new PageBlobClient(appendToURLPath(this.url,EscapePath(e)),this.pipeline)}async getProperties(e={}){if(!e.conditions){e.conditions={}}return Ua.withSpan("ContainerClient-getProperties",e,(async t=>assertResponse(await this.containerContext.getProperties(Object.assign(Object.assign({abortSignal:e.abortSignal},e.conditions),{tracingOptions:t.tracingOptions})))))}async delete(e={}){if(!e.conditions){e.conditions={}}return Ua.withSpan("ContainerClient-delete",e,(async t=>assertResponse(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}))))}async deleteIfExists(e={}){return Ua.withSpan("ContainerClient-deleteIfExists",e,(async e=>{var t,r;try{const t=await this.delete(e);return Object.assign(Object.assign({succeeded:true},t),{_response:t._response})}catch(e){if(((t=e.details)===null||t===void 0?void 0:t.errorCode)==="ContainerNotFound"){return Object.assign(Object.assign({succeeded:false},(r=e.response)===null||r===void 0?void 0:r.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 Ua.withSpan("ContainerClient-setMetadata",t,(async r=>assertResponse(await this.containerContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions}))))}async getAccessPolicy(e={}){if(!e.conditions){e.conditions={}}return Ua.withSpan("ContainerClient-getAccessPolicy",e,(async t=>{const r=assertResponse(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));const s={_response:r._response,blobPublicAccess:r.blobPublicAccess,date:r.date,etag:r.etag,errorCode:r.errorCode,lastModified:r.lastModified,requestId:r.requestId,clientRequestId:r.clientRequestId,signedIdentifiers:[],version:r.version};for(const e of r){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)}}s.signedIdentifiers.push({accessPolicy:t,id:e.id})}return s}))}async setAccessPolicy(e,t,r={}){r.conditions=r.conditions||{};return Ua.withSpan("ContainerClient-setAccessPolicy",r,(async s=>{const n=[];for(const e of t||[]){n.push({accessPolicy:{expiresOn:e.accessPolicy.expiresOn?truncatedISO8061Date(e.accessPolicy.expiresOn):"",permissions:e.accessPolicy.permissions,startsOn:e.accessPolicy.startsOn?truncatedISO8061Date(e.accessPolicy.startsOn):""},id:e.id})}return assertResponse(await this.containerContext.setAccessPolicy({abortSignal:r.abortSignal,access:e,containerAcl:n,leaseAccessConditions:r.conditions,modifiedAccessConditions:r.conditions,tracingOptions:s.tracingOptions}))}))}getBlobLeaseClient(e){return new BlobLeaseClient(this,e)}async uploadBlockBlob(e,t,r,s={}){return Ua.withSpan("ContainerClient-uploadBlockBlob",s,(async s=>{const n=this.getBlockBlobClient(e);const o=await n.upload(t,r,s);return{blockBlobClient:n,response:o}}))}async deleteBlob(e,t={}){return Ua.withSpan("ContainerClient-deleteBlob",t,(async r=>{let s=this.getBlobClient(e);if(t.versionId){s=s.withVersion(t.versionId)}return s.delete(r)}))}async listBlobFlatSegment(e,t={}){return Ua.withSpan("ContainerClient-listBlobFlatSegment",t,(async r=>{const s=assertResponse(await this.containerContext.listBlobFlatSegment(Object.assign(Object.assign({marker:e},t),{tracingOptions:r.tracingOptions})));const n=Object.assign(Object.assign({},s),{_response:Object.assign(Object.assign({},s._response),{parsedBody:ConvertInternalResponseOfListBlobFlat(s._response.parsedBody)}),segment:Object.assign(Object.assign({},s.segment),{blobItems:s.segment.blobItems.map((e=>{const t=Object.assign(Object.assign({},e),{name:BlobNameToString(e.name),tags:toTags(e.blobTags),objectReplicationSourceProperties:parseObjectReplicationRecord(e.objectReplicationMetadata)});return t}))})});return n}))}async listBlobHierarchySegment(e,t,r={}){return Ua.withSpan("ContainerClient-listBlobHierarchySegment",r,(async s=>{var n;const o=assertResponse(await this.containerContext.listBlobHierarchySegment(e,Object.assign(Object.assign({marker:t},r),{tracingOptions:s.tracingOptions})));const i=Object.assign(Object.assign({},o),{_response:Object.assign(Object.assign({},o._response),{parsedBody:ConvertInternalResponseOfListBlobHierarchy(o._response.parsedBody)}),segment:Object.assign(Object.assign({},o.segment),{blobItems:o.segment.blobItems.map((e=>{const t=Object.assign(Object.assign({},e),{name:BlobNameToString(e.name),tags:toTags(e.blobTags),objectReplicationSourceProperties:parseObjectReplicationRecord(e.objectReplicationMetadata)});return t})),blobPrefixes:(n=o.segment.blobPrefixes)===null||n===void 0?void 0:n.map((e=>{const t=Object.assign(Object.assign({},e),{name:BlobNameToString(e.name)});return t}))})});return i}))}listSegments(e){return n.__asyncGenerator(this,arguments,(function*listSegments_1(e,t={}){let r;if(!!e||e===undefined){do{r=yield n.__await(this.listBlobFlatSegment(e,t));e=r.continuationToken;yield yield n.__await(yield n.__await(r))}while(e)}}))}listItems(){return n.__asyncGenerator(this,arguments,(function*listItems_1(e={}){var t,r,s,o;let i;try{for(var a=true,A=n.__asyncValues(this.listSegments(i,e)),c;c=yield n.__await(A.next()),t=c.done,!t;a=true){o=c.value;a=false;const e=o;yield n.__await(yield*n.__asyncDelegator(n.__asyncValues(e.segment.blobItems)))}}catch(e){r={error:e}}finally{try{if(!a&&!t&&(s=A.return))yield n.__await(s.call(A))}finally{if(r)throw r.error}}}))}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 r=Object.assign(Object.assign({},e),t.length>0?{include:t}:{});const s=this.listItems(r);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,Object.assign({maxPageSize:e.maxPageSize},r))}}listHierarchySegments(e,t){return n.__asyncGenerator(this,arguments,(function*listHierarchySegments_1(e,t,r={}){let s;if(!!t||t===undefined){do{s=yield n.__await(this.listBlobHierarchySegment(e,t,r));t=s.continuationToken;yield yield n.__await(yield n.__await(s))}while(t)}}))}listItemsByHierarchy(e){return n.__asyncGenerator(this,arguments,(function*listItemsByHierarchy_1(e,t={}){var r,s,o,i;let a;try{for(var A=true,c=n.__asyncValues(this.listHierarchySegments(e,a,t)),l;l=yield n.__await(c.next()),r=l.done,!r;A=true){i=l.value;A=false;const e=i;const t=e.segment;if(t.blobPrefixes){for(const e of t.blobPrefixes){yield yield n.__await(Object.assign({kind:"prefix"},e))}}for(const e of t.blobItems){yield yield n.__await(Object.assign({kind:"blob"},e))}}}catch(e){s={error:e}}finally{try{if(!A&&!r&&(o=c.return))yield n.__await(o.call(c))}finally{if(s)throw s.error}}}))}listBlobsByHierarchy(e,t={}){if(e===""){throw new RangeError("delimiter should contain one or more characters")}const r=[];if(t.includeCopy){r.push("copy")}if(t.includeDeleted){r.push("deleted")}if(t.includeMetadata){r.push("metadata")}if(t.includeSnapshots){r.push("snapshots")}if(t.includeVersions){r.push("versions")}if(t.includeUncommitedBlobs){r.push("uncommittedblobs")}if(t.includeTags){r.push("tags")}if(t.includeDeletedWithVersions){r.push("deletedwithversions")}if(t.includeImmutabilityPolicy){r.push("immutabilitypolicy")}if(t.includeLegalHold){r.push("legalhold")}if(t.prefix===""){t.prefix=undefined}const s=Object.assign(Object.assign({},t),r.length>0?{include:r}:{});const n=this.listItemsByHierarchy(e,s);return{async next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.listHierarchySegments(e,t.continuationToken,Object.assign({maxPageSize:t.maxPageSize},s))}}async findBlobsByTagsSegment(e,t,r={}){return Ua.withSpan("ContainerClient-findBlobsByTagsSegment",r,(async s=>{const n=assertResponse(await this.containerContext.filterBlobs({abortSignal:r.abortSignal,where:e,marker:t,maxPageSize:r.maxPageSize,tracingOptions:s.tracingOptions}));const o=Object.assign(Object.assign({},n),{_response:n._response,blobs:n.blobs.map((e=>{var t;let r="";if(((t=e.tags)===null||t===void 0?void 0:t.blobTagSet.length)===1){r=e.tags.blobTagSet[0].value}return Object.assign(Object.assign({},e),{tags:toTags(e.tags),tagValue:r})}))});return o}))}findBlobsByTagsSegments(e,t){return n.__asyncGenerator(this,arguments,(function*findBlobsByTagsSegments_1(e,t,r={}){let s;if(!!t||t===undefined){do{s=yield n.__await(this.findBlobsByTagsSegment(e,t,r));s.blobs=s.blobs||[];t=s.continuationToken;yield yield n.__await(s)}while(t)}}))}findBlobsByTagsItems(e){return n.__asyncGenerator(this,arguments,(function*findBlobsByTagsItems_1(e,t={}){var r,s,o,i;let a;try{for(var A=true,c=n.__asyncValues(this.findBlobsByTagsSegments(e,a,t)),l;l=yield n.__await(c.next()),r=l.done,!r;A=true){i=l.value;A=false;const e=i;yield n.__await(yield*n.__asyncDelegator(n.__asyncValues(e.blobs)))}}catch(e){s={error:e}}finally{try{if(!A&&!r&&(o=c.return))yield n.__await(o.call(c))}finally{if(s)throw s.error}}}))}findBlobsByTags(e,t={}){const r=Object.assign({},t);const s=this.findBlobsByTagsItems(e,r);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,Object.assign({maxPageSize:t.maxPageSize},r))}}async getAccountInfo(e={}){return Ua.withSpan("ContainerClient-getAccountInfo",e,(async t=>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(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 StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const r=generateBlobSASQueryParameters(Object.assign({containerName:this._containerName},e),this.credential).toString();t(appendToURLQuery(this.url,r))}))}generateSasStringToSign(e){if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return generateBlobSASQueryParametersInternal(Object.assign({containerName:this._containerName},e),this.credential).stringToSign}getBlobBatchClient(){return new BlobBatchClient(this.url,this.pipeline)}}class AccountSASPermissions{constructor(){this.read=false;this.write=false;this.delete=false;this.deleteVersion=false;this.list=false;this.add=false;this.create=false;this.update=false;this.process=false;this.tag=false;this.filter=false;this.setImmutabilityPolicy=false;this.permanentDelete=false}static parse(e){const t=new AccountSASPermissions;for(const r of e){switch(r){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: ${r}`)}}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}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("")}}class AccountSASResourceTypes{constructor(){this.service=false;this.container=false;this.object=false}static parse(e){const t=new AccountSASResourceTypes;for(const r of e){switch(r){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: ${r}`)}}return t}toString(){const e=[];if(this.service){e.push("s")}if(this.container){e.push("c")}if(this.object){e.push("o")}return e.join("")}}class AccountSASServices{constructor(){this.blob=false;this.file=false;this.queue=false;this.table=false}static parse(e){const t=new AccountSASServices;for(const r of e){switch(r){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: ${r}`)}}return t}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("")}}function generateAccountSASQueryParameters(e,t){return generateAccountSASQueryParametersInternal(e,t).sasQueryParameters}function generateAccountSASQueryParametersInternal(e,t){const r=e.version?e.version:w;if(e.permissions&&e.permissions.setImmutabilityPolicy&&r<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&r<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&r<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(e.permissions&&e.permissions.tag&&r<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(e.permissions&&e.permissions.filter&&r<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(e.encryptionScope&&r<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const s=AccountSASPermissions.parse(e.permissions.toString());const n=AccountSASServices.parse(e.services).toString();const o=AccountSASResourceTypes.parse(e.resourceTypes).toString();let i;if(r>="2020-12-06"){i=[t.accountName,s,n,o,e.startsOn?truncatedISO8061Date(e.startsOn,false):"",truncatedISO8061Date(e.expiresOn,false),e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",r,e.encryptionScope?e.encryptionScope:"",""].join("\n")}else{i=[t.accountName,s,n,o,e.startsOn?truncatedISO8061Date(e.startsOn,false):"",truncatedISO8061Date(e.expiresOn,false),e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",r,""].join("\n")}const a=t.computeHMACSHA256(i);return{sasQueryParameters:new SASQueryParameters(r,a,s.toString(),n,o,e.protocol,e.startsOn,e.expiresOn,e.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,e.encryptionScope),stringToSign:i}}class BlobServiceClient extends StorageClient{static fromConnectionString(e,t){t=t||{};const r=extractConnectionStringParts(e);if(r.kind==="AccountConnString"){if(i.isNode){const e=new StorageSharedKeyCredential(r.accountName,r.accountKey);if(!t.proxyOptions){t.proxyOptions=s.getDefaultProxySettings(r.proxyUri)}const n=newPipeline(e,t);return new BlobServiceClient(r.url,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(r.kind==="SASConnString"){const e=newPipeline(new AnonymousCredential,t);return new BlobServiceClient(r.url+"?"+r.accountSas,e)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(e,t,r){let s;if(isPipelineLike(t)){s=t}else if(i.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||o.isTokenCredential(t)){s=newPipeline(t,r)}else{s=newPipeline(new AnonymousCredential,r)}super(e,s);this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new ContainerClient(appendToURLPath(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,t={}){return Ua.withSpan("BlobServiceClient-createContainer",t,(async t=>{const r=this.getContainerClient(e);const s=await r.create(t);return{containerClient:r,containerCreateResponse:s}}))}async deleteContainer(e,t={}){return Ua.withSpan("BlobServiceClient-deleteContainer",t,(async t=>{const r=this.getContainerClient(e);return r.delete(t)}))}async undeleteContainer(e,t,r={}){return Ua.withSpan("BlobServiceClient-undeleteContainer",r,(async s=>{const n=this.getContainerClient(r.destinationContainerName||e);const o=n["storageClientContext"].container;const i=assertResponse(await o.restore({deletedContainerName:e,deletedContainerVersion:t,tracingOptions:s.tracingOptions}));return{containerClient:n,containerUndeleteResponse:i}}))}async renameContainer(e,t,r={}){return Ua.withSpan("BlobServiceClient-renameContainer",r,(async s=>{var n;const o=this.getContainerClient(t);const i=o["storageClientContext"].container;const a=assertResponse(await i.rename(e,Object.assign(Object.assign({},s),{sourceLeaseId:(n=r.sourceCondition)===null||n===void 0?void 0:n.leaseId})));return{containerClient:o,containerRenameResponse:a}}))}async getProperties(e={}){return Ua.withSpan("BlobServiceClient-getProperties",e,(async t=>assertResponse(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setProperties(e,t={}){return Ua.withSpan("BlobServiceClient-setProperties",t,(async r=>assertResponse(await this.serviceContext.setProperties(e,{abortSignal:t.abortSignal,tracingOptions:r.tracingOptions}))))}async getStatistics(e={}){return Ua.withSpan("BlobServiceClient-getStatistics",e,(async t=>assertResponse(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return Ua.withSpan("BlobServiceClient-getAccountInfo",e,(async t=>assertResponse(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async listContainersSegment(e,t={}){return Ua.withSpan("BlobServiceClient-listContainersSegment",t,(async r=>assertResponse(await this.serviceContext.listContainersSegment(Object.assign(Object.assign({abortSignal:t.abortSignal,marker:e},t),{include:typeof t.include==="string"?[t.include]:t.include,tracingOptions:r.tracingOptions})))))}async findBlobsByTagsSegment(e,t,r={}){return Ua.withSpan("BlobServiceClient-findBlobsByTagsSegment",r,(async s=>{const n=assertResponse(await this.serviceContext.filterBlobs({abortSignal:r.abortSignal,where:e,marker:t,maxPageSize:r.maxPageSize,tracingOptions:s.tracingOptions}));const o=Object.assign(Object.assign({},n),{_response:n._response,blobs:n.blobs.map((e=>{var t;let r="";if(((t=e.tags)===null||t===void 0?void 0:t.blobTagSet.length)===1){r=e.tags.blobTagSet[0].value}return Object.assign(Object.assign({},e),{tags:toTags(e.tags),tagValue:r})}))});return o}))}findBlobsByTagsSegments(e,t){return n.__asyncGenerator(this,arguments,(function*findBlobsByTagsSegments_1(e,t,r={}){let s;if(!!t||t===undefined){do{s=yield n.__await(this.findBlobsByTagsSegment(e,t,r));s.blobs=s.blobs||[];t=s.continuationToken;yield yield n.__await(s)}while(t)}}))}findBlobsByTagsItems(e){return n.__asyncGenerator(this,arguments,(function*findBlobsByTagsItems_1(e,t={}){var r,s,o,i;let a;try{for(var A=true,c=n.__asyncValues(this.findBlobsByTagsSegments(e,a,t)),l;l=yield n.__await(c.next()),r=l.done,!r;A=true){i=l.value;A=false;const e=i;yield n.__await(yield*n.__asyncDelegator(n.__asyncValues(e.blobs)))}}catch(e){s={error:e}}finally{try{if(!A&&!r&&(o=c.return))yield n.__await(o.call(c))}finally{if(s)throw s.error}}}))}findBlobsByTags(e,t={}){const r=Object.assign({},t);const s=this.findBlobsByTagsItems(e,r);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,Object.assign({maxPageSize:t.maxPageSize},r))}}listSegments(e){return n.__asyncGenerator(this,arguments,(function*listSegments_1(e,t={}){let r;if(!!e||e===undefined){do{r=yield n.__await(this.listContainersSegment(e,t));r.containerItems=r.containerItems||[];e=r.continuationToken;yield yield n.__await(yield n.__await(r))}while(e)}}))}listItems(){return n.__asyncGenerator(this,arguments,(function*listItems_1(e={}){var t,r,s,o;let i;try{for(var a=true,A=n.__asyncValues(this.listSegments(i,e)),c;c=yield n.__await(A.next()),t=c.done,!t;a=true){o=c.value;a=false;const e=o;yield n.__await(yield*n.__asyncDelegator(n.__asyncValues(e.containerItems)))}}catch(e){r={error:e}}finally{try{if(!a&&!t&&(s=A.return))yield n.__await(s.call(A))}finally{if(r)throw r.error}}}))}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 r=Object.assign(Object.assign({},e),t.length>0?{include:t}:{});const s=this.listItems(r);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,Object.assign({maxPageSize:e.maxPageSize},r))}}async getUserDelegationKey(e,t,r={}){return Ua.withSpan("BlobServiceClient-getUserDelegationKey",r,(async s=>{const n=assertResponse(await this.serviceContext.getUserDelegationKey({startsOn:truncatedISO8061Date(e,false),expiresOn:truncatedISO8061Date(t,false)},{abortSignal:r.abortSignal,tracingOptions:s.tracingOptions}));const o={signedObjectId:n.signedObjectId,signedTenantId:n.signedTenantId,signedStartsOn:new Date(n.signedStartsOn),signedExpiresOn:new Date(n.signedExpiresOn),signedService:n.signedService,signedVersion:n.signedVersion,value:n.value};const i=Object.assign({_response:n._response,requestId:n.requestId,clientRequestId:n.clientRequestId,version:n.version,date:n.date,errorCode:n.errorCode},o);return i}))}getBlobBatchClient(){return new BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,t=AccountSASPermissions.parse("r"),r="sco",s={}){if(!(this.credential instanceof 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 n=generateAccountSASQueryParameters(Object.assign({permissions:t,expiresOn:e,resourceTypes:r,services:AccountSASServices.parse("b").toString()},s),this.credential).toString();return appendToURLQuery(this.url,n)}generateSasStringToSign(e,t=AccountSASPermissions.parse("r"),r="sco",s={}){if(!(this.credential instanceof 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 generateAccountSASQueryParametersInternal(Object.assign({permissions:t,expiresOn:e,resourceTypes:r,services:AccountSASServices.parse("b").toString()},s),this.credential).stringToSign}}t.KnownEncryptionAlgorithmType=void 0;(function(e){e["AES256"]="AES256"})(t.KnownEncryptionAlgorithmType||(t.KnownEncryptionAlgorithmType={}));Object.defineProperty(t,"RestError",{enumerable:true,get:function(){return s.RestError}});t.AccountSASPermissions=AccountSASPermissions;t.AccountSASResourceTypes=AccountSASResourceTypes;t.AccountSASServices=AccountSASServices;t.AnonymousCredential=AnonymousCredential;t.AnonymousCredentialPolicy=AnonymousCredentialPolicy;t.AppendBlobClient=AppendBlobClient;t.BaseRequestPolicy=BaseRequestPolicy;t.BlobBatch=BlobBatch;t.BlobBatchClient=BlobBatchClient;t.BlobClient=BlobClient;t.BlobLeaseClient=BlobLeaseClient;t.BlobSASPermissions=BlobSASPermissions;t.BlobServiceClient=BlobServiceClient;t.BlockBlobClient=BlockBlobClient;t.ContainerClient=ContainerClient;t.ContainerSASPermissions=ContainerSASPermissions;t.Credential=Credential;t.CredentialPolicy=CredentialPolicy;t.PageBlobClient=PageBlobClient;t.Pipeline=Pipeline;t.SASQueryParameters=SASQueryParameters;t.StorageBrowserPolicy=StorageBrowserPolicy;t.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory;t.StorageOAuthScopes=O;t.StorageRetryPolicy=StorageRetryPolicy;t.StorageRetryPolicyFactory=StorageRetryPolicyFactory;t.StorageSharedKeyCredential=StorageSharedKeyCredential;t.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy;t.generateAccountSASQueryParameters=generateAccountSASQueryParameters;t.generateBlobSASQueryParameters=generateBlobSASQueryParameters;t.getBlobServiceAccountAudience=getBlobServiceAccountAudience;t.isPipelineLike=isPipelineLike;t.logger=S;t.newPipeline=newPipeline},4309:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.escapeData=escapeData;t.escapeProperty=escapeProperty;t.annotate=annotate;const i=o(r(857));function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function escapeData(e){return toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}const a="::";function render(e,t,r){let s=a+e;if(r&&Object.keys(r).length>0){s+=" ";let e=true;for(const[t,n]of Object.entries(r)){if(n){if(e){e=false}else{s+=","}s+=`${t}=${escapeProperty(n)}`}}}s+=`${a}${escapeData(t)}`;return s}function annotate(e){let t;switch(e.annotation_level){case"notice":case"warning":t="warning";break;case"failure":t="error";break}const r=render(t,e.message,{file:e.path,line:e.start_line,col:e.start_column});process.stdout.write(r+i.EOL)}},1074:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.CheckReporter=void 0;const i=o(r(3228));class CheckReporter{constructor(e,t){this.client=e;this.checkName=t;this.checkId=undefined}async startCheck(e){const{owner:t,repo:r}=i.context.repo;const s=await this.client.checks.create({owner:t,repo:r,name:this.checkName,head_sha:i.context.sha,status:e?e:"in_progress"});this.checkId=s.data.id;return this.checkId}async finishCheck(e,t){const{owner:r,repo:s}=i.context.repo;await this.client.checks.update({owner:r,repo:s,name:this.checkName,check_run_id:this.checkId,status:"completed",conclusion:e,completed_at:(new Date).toISOString(),output:t});return}async cancelCheck(){const{owner:e,repo:t}=i.context.repo;await this.client.checks.update({owner:e,repo:t,name:this.checkName,check_run_id:this.checkId,status:"completed",conclusion:"cancelled",completed_at:(new Date).toISOString(),output:{title:this.checkName,summary:"Unhandled error",text:"Check was cancelled due to unhandled error. Check the Action logs for details."}});return}}t.CheckReporter=CheckReporter},5234:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.Cargo=void 0;t.resolveVersion=resolveVersion;const i=o(r(4994));const a=o(r(7484));const A=o(r(5236));const c=o(r(5116));const l=o(r(4844));const u=o(r(6928));async function resolveVersion(e){const t=`https://crates.io/api/v1/crates/${e}`;const r=new l.HttpClient("@clechasseur/rs-actions-core (https://github.com/clechasseur/rs-actions-core)");const s=await r.getJson(t);if(s.result==null){throw new Error("Unable to fetch latest crate version")}return s.result.crate.newest_version}class Cargo{constructor(e){this.path=e}static async get(){try{const e=await i.which("cargo",true);return new Cargo(e)}catch(e){a.error("cargo is not installed by default for some virtual environments, see https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions");a.error("To install it, use this action: https://github.com/dtolnay/rust-toolchain");throw e}}async installCached(e,t,r,s){if(t=="latest"){t=await resolveVersion(e)}if(r){s=s!==null&&s!==void 0?s:[];const n=[u.join(u.dirname(this.path),e)];const o=`${e}-${t!==null&&t!==void 0?t:""}-${r}`;const i=s.map((r=>`${e}-${t!==null&&t!==void 0?t:""}-${r}`));const A=await c.restoreCache(n,o,i);if(A){a.info(`Using cached \`${e}\` with version \`${t!==null&&t!==void 0?t:""}\``);return e}else{const r=await this.install(e,t);try{a.info(`Caching \`${e}\` with key ${o}`);await c.saveCache(n,o)}catch(e){if(e.name===c.ValidationError.name){throw e}else if(e.name===c.ReserveCacheError.name){a.info(e.message)}else{a.info("[warning]"+e.message)}}return r}}else{return await this.install(e,t)}}async install(e,t){const r=["install"];if(t&&t!="latest"){r.push("--version");r.push(t)}r.push(e);try{a.startGroup(`Installing "${e} = ${t!==null&&t!==void 0?t:"latest"}"`);await this.call(r)}finally{a.endGroup()}return e}async findOrInstall(e,t){try{return await i.which(e,true)}catch(t){a.info(`${e} is not installed, installing it now`)}return await this.installCached(e,t)}async call(e,t){return await A.exec(this.path,e,t)}}t.Cargo=Cargo},9650:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.Cross=void 0;const i=o(r(857));const a=o(r(4994));const A=o(r(7484));const c=o(r(5236));const l=r(5234);class Cross{constructor(e){this.path=e}static async getOrInstall(){try{return await Cross.get()}catch(e){A.debug(e.message);return await Cross.install()}}static async get(){const e=await a.which("cross",true);return new Cross(e)}static async install(e){const t=await l.Cargo.get();const r=process.cwd();process.chdir(i.tmpdir());try{const r=await t.installCached("cross",e);return new Cross(r)}finally{process.chdir(r);A.endGroup()}}async call(e,t){return await c.exec(this.path,e,t)}}t.Cross=Cross},3823:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.RustUp=void 0;const i=r(9896);const a=o(r(6928));const A=o(r(932));const c=o(r(2088));const l=o(r(4994));const u=o(r(7484));const d=o(r(5236));const p=o(r(3472));const g="1.20.1";const m="1.20.1";class RustUp{constructor(e){this.path=e}static async getOrInstall(){try{return await RustUp.get()}catch(e){u.debug(`Unable to find "rustup" executable, installing it now. Reason: ${e.message}`);return await RustUp.install()}}static async get(){const e=await l.which("rustup",true);return new RustUp(e)}static async install(){const e=["--default-toolchain","none","-y"];switch(A.platform){case"darwin":case"linux":{const t=await p.downloadTool("https://sh.rustup.rs");u.debug(`Executing chmod 755 on the ${t}`);await i.promises.chmod(t,493);await d.exec(t,e);break}case"win32":{const t=await p.downloadTool("https://win.rustup.rs");await d.exec(t,e);break}default:throw new Error(`Unknown platform ${A.platform}, can't install rustup`)}u.addPath(a.join(A.env.HOME,".cargo","bin"));return new RustUp("rustup")}async installToolchain(e,t){const r=["toolchain","install",e];if(t){if(t.components&&t.components.length>0){for(const e of t.components){r.push("--component");r.push(e)}}if(t.noSelfUpdate){r.push("--no-self-update")}if(t.allowDowngrade){r.push("--allow-downgrade")}if(t.force){r.push("--force")}}await this.call(r);if(t){if(t.default){await this.call(["default",e])}if(t.override){await this.call(["override","set",e])}}return 0}async addTarget(e,t){const r=["target","add"];if(t){r.push("--toolchain");r.push(t)}r.push(e);return await this.call(r)}async activeToolchain(){const e=await this.callStdout(["show","active-toolchain"]);if(e){return e.split(" ",2)[0]}else{throw new Error("Unable to determine active toolchain")}}async supportProfiles(){const e=await this.version();const t=c.gte(e,g);if(t){u.info(`Installed rustup ${e} support profiles`)}else{u.info(`Installed rustup ${e} does not support profiles, expected at least ${g}`)}return t}async supportComponents(){const e=await this.version();const t=c.gte(e,m);if(t){u.info(`Installed rustup ${e} support components`)}else{u.info(`Installed rustup ${e} does not support components, expected at least ${g}`)}return t}async setProfile(e){return await this.call(["set","profile",e])}async version(){const e=await this.callStdout(["-V"]);return e.split(" ")[1]}async which(e){const t=await this.callStdout(["which",e]);if(t){return t}else{throw new Error(`Unable to find the ${e}`)}}async selfUpdate(){return await this.call(["self","update"])}async call(e,t){return await d.exec(this.path,e,t)}async callStdout(e,t){let r="";const s={...t};s.listeners={...t===null||t===void 0?void 0:t.listeners,stdout:e=>{r+=e.toString()}};await this.call(e,s);return r}}t.RustUp=RustUp},4252:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.annotations=t.checks=t.input=void 0;o(r(5234),t);o(r(9650),t);o(r(3823),t);const a=i(r(3099));t.input=a;const A=i(r(1074));t.checks=A;const c=i(r(4309));t.annotations=c},3099:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getInput=getInput;t.getInputBool=getInputBool;t.getInputList=getInputList;t.getInputAsArray=getInputAsArray;const i=o(r(7484));function getInput(e,t){const r=e.replace(/-/g,"_");const s=i.getInput(r,t);if(s.length>0){return s}return i.getInput(e,t)}function getInputBool(e,t){const r=getInput(e,t);if(r&&(r==="true"||r==="1")){return true}else{return false}}function getInputList(e,t){const r=getInput(e,t);return r.split(",").map((e=>e.trim())).filter((e=>e.length>0))}function getInputAsArray(e,t){return getInput(e,t).split("\n").map((e=>e.trim())).filter((e=>e!==""))}},7864:e=>{"use strict";var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var s in r)t(e,s,{get:r[s],enumerable:true})};var __copyProps=(e,o,i,a)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let A of s(o))if(!n.call(e,A)&&A!==i)t(e,A,{get:()=>o[A],enumerable:!(a=r(o,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var o={};__export(o,{createTokenAuth:()=>c});e.exports=__toCommonJS(o);var i=/^v1\./;var a=/^ghs_/;var A=/^ghu_/;async function auth(e){const t=e.split(/\./).length===3;const r=i.test(e)||a.test(e);const s=A.test(e);const n=t?"app":r?"installation":s?"user-to-server":"oauth";return{type:"token",token:e,tokenType:n}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,s){const n=t.endpoint.merge(r,s);n.headers.authorization=withAuthorizationPrefix(e);return t(n)}var c=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};0&&0},1897:(e,t,r)=>{"use strict";var s=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!i.call(e,A)&&A!==r)s(e,A,{get:()=>t[A],enumerable:!(a=n(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var a={};__export(a,{Octokit:()=>E});e.exports=__toCommonJS(a);var A=r(3843);var c=r(2732);var l=r(8636);var u=r(7);var d=r(7864);var p="5.2.0";var noop=()=>{};var g=console.warn.bind(console);var m=console.error.bind(console);var h=`octokit-core.js/${p} ${(0,A.getUserAgent)()}`;var E=class{static{this.VERSION=p}static defaults(e){const t=class extends(this){constructor(...t){const r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static{this.plugins=[]}static plugin(...e){const t=this.plugins;const r=class extends(this){static{this.plugins=t.concat(e.filter((e=>!t.includes(e))))}};return r}constructor(e={}){const t=new c.Collection;const r={baseUrl:l.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};r.headers["user-agent"]=e.userAgent?`${e.userAgent} ${h}`:h;if(e.baseUrl){r.baseUrl=e.baseUrl}if(e.previews){r.mediaType.previews=e.previews}if(e.timeZone){r.headers["time-zone"]=e.timeZone}this.request=l.request.defaults(r);this.graphql=(0,u.withCustomRequest)(this.request).defaults(r);this.log=Object.assign({debug:noop,info:noop,warn:g,error:m},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const r=(0,d.createTokenAuth)(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const{authStrategy:r,...s}=e;const n=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:s},e.auth));t.wrap("request",n.hook);this.auth=n}const s=this.constructor;for(let t=0;t{"use strict";var s=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!i.call(e,A)&&A!==r)s(e,A,{get:()=>t[A],enumerable:!(a=n(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var a={};__export(a,{endpoint:()=>p});e.exports=__toCommonJS(a);var A=r(3843);var c="9.0.5";var l=`octokit-endpoint.js/${c} ${(0,A.getUserAgent)()}`;var u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":l},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];return t}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((s=>{if(isPlainObject(t[s])){if(!(s in e))Object.assign(r,{[s]:t[s]});else r[s]=mergeDeep(e[s],t[s])}else{Object.assign(r,{[s]:t[s]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,s]=t.split(" ");r=Object.assign(s?{method:e,url:s}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const s=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){s.mediaType.previews=e.mediaType.previews.filter((e=>!s.mediaType.previews.includes(e))).concat(s.mediaType.previews)}s.mediaType.previews=(s.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return s}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const s=Object.keys(t);if(s.length===0){return e}return e+r+s.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var d=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(d);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const r={__proto__:null};for(const s of Object.keys(e)){if(t.indexOf(s)===-1){r[s]=e[s]}}return r}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,t,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,s){var n=e[r],o=[];if(isDefined(n)&&n!==""){if(typeof n==="string"||typeof n==="number"||typeof n==="boolean"){n=n.toString();if(s&&s!=="*"){n=n.substring(0,parseInt(s,10))}o.push(encodeValue(t,n,isKeyOperator(t)?r:""))}else{if(s==="*"){if(Array.isArray(n)){n.filter(isDefined).forEach((function(e){o.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(n).forEach((function(e){if(isDefined(n[e])){o.push(encodeValue(t,n[e],e))}}))}}else{const e=[];if(Array.isArray(n)){n.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(n).forEach((function(r){if(isDefined(n[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,n[r].toString()))}}))}if(isKeyOperator(t)){o.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(t===";"){if(isDefined(n)){o.push(encodeUnreserved(r))}}else if(n===""&&(t==="&"||t==="?")){o.push(encodeUnreserved(r)+"=")}else if(n===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,s,n){if(s){let e="";const n=[];if(r.indexOf(s.charAt(0))!==-1){e=s.charAt(0);s=s.substr(1)}s.split(/,/g).forEach((function(r){var s=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);n.push(getValues(t,e,s[1],s[2]||s[3]))}));if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(n.length!==0?e:"")+n.join(o)}else{return n.join(",")}}else{return encodeReserved(n)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let s=Object.assign({},e.headers);let n;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const i=extractUrlVariableNames(r);r=parseUrl(r).expand(o);if(!/^http/.test(r)){r=e.baseUrl+r}const a=Object.keys(e).filter((e=>i.includes(e))).concat("baseUrl");const A=omit(o,a);const c=/application\/octet-stream/i.test(s.accept);if(!c){if(e.mediaType.format){s.accept=s.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=s.accept.match(/[\w-]+(?=-preview)/g)||[];s.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,A)}else{if("data"in A){n=A.data}else{if(Object.keys(A).length){n=A}}}if(!s["content-type"]&&typeof n!=="undefined"){s["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof n==="undefined"){n=""}return Object.assign({method:t,url:r,headers:s},typeof n!=="undefined"?{body:n}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const s=endpointWithDefaults.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}var p=withDefaults(null,u);0&&0},7:(e,t,r)=>{"use strict";var s=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!i.call(e,A)&&A!==r)s(e,A,{get:()=>t[A],enumerable:!(a=n(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var a={};__export(a,{GraphqlResponseError:()=>p,graphql:()=>E,withCustomRequest:()=>withCustomRequest});e.exports=__toCommonJS(a);var A=r(8636);var c=r(3843);var l="7.1.0";var u=r(8636);var d=r(8636);function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var p=class extends Error{constructor(e,t,r){super(_buildMessageForResponseErrors(r));this.request=e;this.headers=t;this.response=r;this.name="GraphqlResponseError";this.errors=r.errors;this.data=r.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var g=["method","baseUrl","url","headers","request","query","mediaType"];var m=["query","method","url"];var h=/\/api\/v3\/?$/;function graphql(e,t,r){if(r){if(typeof t==="string"&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in r){if(!m.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const s=typeof t==="string"?Object.assign({query:t},r):t;const n=Object.keys(s).reduce(((e,t)=>{if(g.includes(t)){e[t]=s[t];return e}if(!e.variables){e.variables={}}e.variables[t]=s[t];return e}),{});const o=s.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(h.test(o)){n.url=o.replace(h,"/api/graphql")}return e(n).then((e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new p(n,t,e.data)}return e.data.data}))}function withDefaults(e,t){const r=e.defaults(t);const newApi=(e,t)=>graphql(r,e,t);return Object.assign(newApi,{defaults:withDefaults.bind(null,r),endpoint:r.endpoint})}var E=withDefaults(A.request,{headers:{"user-agent":`octokit-graphql.js/${l} ${(0,c.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}0&&0},8082:e=>{"use strict";var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var s in r)t(e,s,{get:r[s],enumerable:true})};var __copyProps=(e,o,i,a)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let A of s(o))if(!n.call(e,A)&&A!==i)t(e,A,{get:()=>o[A],enumerable:!(a=r(o,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var o={};__export(o,{composePaginateRest:()=>a,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>A});e.exports=__toCommonJS(o);var i="9.2.1";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const r=e.data.incomplete_results;const s=e.data.repository_selection;const n=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const o=Object.keys(e.data)[0];const i=e.data[o];e.data=i;if(typeof r!=="undefined"){e.data.incomplete_results=r}if(typeof s!=="undefined"){e.data.repository_selection=s}e.data.total_count=n;return e}function iterator(e,t,r){const s=typeof t==="function"?t.endpoint(r):e.request.endpoint(t,r);const n=typeof t==="function"?t:e.request;const o=s.method;const i=s.headers;let a=s.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:true};try{const e=await n({method:o,url:a,headers:i});const t=normalizePaginatedListResponse(e);a=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}}catch(e){if(e.status!==409)throw e;a="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,t,r,s){if(typeof r==="function"){s=r;r=void 0}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),s)}function gather(e,t,r,s){return r.next().then((n=>{if(n.done){return t}let o=false;function done(){o=true}t=t.concat(s?s(n.value,done):n.value.data);if(o){return t}return gather(e,t,r,s)}))}var a=Object.assign(paginate,{iterator:iterator});var A=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return A.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=i;0&&0},4935:e=>{"use strict";var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var s in r)t(e,s,{get:r[s],enumerable:true})};var __copyProps=(e,o,i,a)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let A of s(o))if(!n.call(e,A)&&A!==i)t(e,A,{get:()=>o[A],enumerable:!(a=r(o,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var o={};__export(o,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});e.exports=__toCommonJS(o);var i="10.4.1";var a={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var A=a;var c=new Map;for(const[e,t]of Object.entries(A)){for(const[r,s]of Object.entries(t)){const[t,n,o]=s;const[i,a]=t.split(/ /);const A=Object.assign({method:i,url:a},n);if(!c.has(e)){c.set(e,new Map)}c.get(e).set(r,{scope:e,methodName:r,endpointDefaults:A,decorations:o})}}var l={has({scope:e},t){return c.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,r){Object.defineProperty(e.cache,t,r);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...c.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},s){if(r[s]){return r[s]}const n=c.get(t).get(s);if(!n){return void 0}const{endpointDefaults:o,decorations:i}=n;if(i){r[s]=decorate(e,t,s,o,i)}else{r[s]=e.request.defaults(o)}return r[s]}};function endpointsToMethods(e){const t={};for(const r of c.keys()){t[r]=new Proxy({octokit:e,scope:r,cache:{}},l)}return t}function decorate(e,t,r,s,n){const o=e.request.defaults(s);function withDecorations(...s){let i=o.endpoint.merge(...s);if(n.mapToData){i=Object.assign({},i,{data:i[n.mapToData],[n.mapToData]:void 0});return o(i)}if(n.renamed){const[s,o]=n.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${s}.${o}()`)}if(n.deprecated){e.log.warn(n.deprecated)}if(n.renamedParameters){const i=o.endpoint.merge(...s);for(const[s,o]of Object.entries(n.renamedParameters)){if(s in i){e.log.warn(`"${s}" parameter is deprecated for "octokit.${t}.${r}()". Use "${o}" instead`);if(!(o in i)){i[o]=i[s]}delete i[s]}}return o(i)}return o(...s)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=i;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=i;0&&0},3708:(e,t,r)=>{"use strict";var s=Object.create;var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,s)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)n(e,a,{get:()=>t[a],enumerable:!(s=o(t,a))||s.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?s(a(e)):{},__copyProps(t||!e||!e.__esModule?n(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var c={};__export(c,{RequestError:()=>g});e.exports=__toCommonJS(c);var l=r(4150);var u=__toESM(r(5560));var d=(0,u.default)((e=>console.warn(e)));var p=(0,u.default)((e=>console.warn(e)));var g=class extends Error{constructor(e,t,r){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;let s;if("headers"in r&&typeof r.headers!=="undefined"){s=r.headers}if("response"in r){this.response=r.response;s=r.response.headers}const n=Object.assign({},r.request);if(r.request.headers.authorization){n.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}n.url=n.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=n;Object.defineProperty(this,"code",{get(){d(new l.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});Object.defineProperty(this,"headers",{get(){p(new l.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return s||{}}})}};0&&0},8636:(e,t,r)=>{"use strict";var s=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!i.call(e,A)&&A!==r)s(e,A,{get:()=>t[A],enumerable:!(a=n(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var a={};__export(a,{request:()=>d});e.exports=__toCommonJS(a);var A=r(4471);var c=r(3843);var l="8.4.0";function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}var u=r(3708);function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){var t,r,s,n;const o=e.request&&e.request.log?e.request.log:console;const i=((t=e.request)==null?void 0:t.parseSuccessResponseBody)!==false;if(isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let a={};let A;let c;let{fetch:l}=globalThis;if((r=e.request)==null?void 0:r.fetch){l=e.request.fetch}if(!l){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return l(e.url,{method:e.method,body:e.body,redirect:(s=e.request)==null?void 0:s.redirect,headers:e.headers,signal:(n=e.request)==null?void 0:n.signal,...e.body&&{duplex:"half"}}).then((async t=>{c=t.url;A=t.status;for(const e of t.headers){a[e[0]]=e[1]}if("deprecation"in a){const t=a.link&&a.link.match(/<([^>]+)>; rel="deprecation"/);const r=t&&t.pop();o.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${a.sunset}${r?`. See ${r}`:""}`)}if(A===204||A===205){return}if(e.method==="HEAD"){if(A<400){return}throw new u.RequestError(t.statusText,A,{response:{url:c,status:A,headers:a,data:void 0},request:e})}if(A===304){throw new u.RequestError("Not modified",A,{response:{url:c,status:A,headers:a,data:await getResponseData(t)},request:e})}if(A>=400){const r=await getResponseData(t);const s=new u.RequestError(toErrorMessage(r),A,{response:{url:c,status:A,headers:a,data:r},request:e});throw s}return i?await getResponseData(t):t.body})).then((e=>({status:A,url:c,headers:a,data:e}))).catch((t=>{if(t instanceof u.RequestError)throw t;else if(t.name==="AbortError")throw t;let r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}throw new u.RequestError(r,500,{request:e})}))}async function getResponseData(e){const t=e.headers.get("content-type");if(/application\/json/.test(t)){return e.json().catch((()=>e.text())).catch((()=>""))}if(!t||/^text\/|charset=utf-8$/.test(t)){return e.text()}return getBufferResponse(e)}function toErrorMessage(e){if(typeof e==="string")return e;let t;if("documentation_url"in e){t=` - ${e.documentation_url}`}else{t=""}if("message"in e){if(Array.isArray(e.errors)){return`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}${t}`}return`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const s=r.merge(e,t);if(!s.request||!s.request.hook){return fetchWrapper(r.parse(s))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:withDefaults.bind(null,r)});return s.request.hook(request2,s)};return Object.assign(newApi,{endpoint:r,defaults:withDefaults.bind(null,r)})}var d=withDefaults(A.endpoint,{headers:{"user-agent":`octokit-request.js/${l} ${(0,c.getUserAgent)()}`}});0&&0},5183:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const i=o(r(8611));const a=o(r(5692));async function toBuffer(e){let t=0;const r=[];for await(const s of e){t+=s.length;r.push(s)}return Buffer.concat(r,t)}t.toBuffer=toBuffer;async function json(e){const t=await toBuffer(e);const r=t.toString("utf8");try{return JSON.parse(r)}catch(e){const t=e;t.message+=` (input: ${r})`;throw t}}t.json=json;function req(e,t={}){const r=typeof e==="string"?e:e.href;const s=(r.startsWith("https:")?a:i).request(e,t);const n=new Promise(((e,t)=>{s.once("response",e).once("error",t).end()}));s.then=n.then.bind(n);return s}t.req=req},8894:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const a=o(r(9278));const A=o(r(8611));const c=r(5692);i(r(5183),t);const l=Symbol("AgentBaseInternalState");class Agent extends A.Agent{constructor(e){super(e);this[l]={}}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 a.Socket({writable:false});this.sockets[e].push(t);this.totalSocketCount++;return t}decrementSockets(e,t){if(!this.sockets[e]||t===null){return}const r=this.sockets[e];const s=r.indexOf(t);if(s!==-1){r.splice(s,1);this.totalSocketCount--;if(r.length===0){delete this.sockets[e]}}}getName(e){const t=typeof e.secureEndpoint==="boolean"?e.secureEndpoint:this.isSecureEndpoint(e);if(t){return c.Agent.prototype.getName.call(this,e)}return super.getName(e)}createSocket(e,t,r){const s={...t,secureEndpoint:this.isSecureEndpoint(t)};const n=this.getName(s);const o=this.incrementSockets(n);Promise.resolve().then((()=>this.connect(e,s))).then((i=>{this.decrementSockets(n,o);if(i instanceof A.Agent){return i.addRequest(e,s)}this[l].currentSocket=i;super.createSocket(e,t,r)}),(e=>{this.decrementSockets(n,o);r(e)}))}createConnection(){const e=this[l].currentSocket;this[l].currentSocket=undefined;if(!e){throw new Error("No socket was returned in the `connect()` function")}return e}get defaultPort(){return this[l].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){if(this[l]){this[l].defaultPort=e}}get protocol(){return this[l].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){if(this[l]){this[l].protocol=e}}}t.Agent=Agent},9380:e=>{"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var s=range(e,t,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+e.length,s[1]),post:r.slice(s[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var s,n,o,i,a;var A=r.indexOf(e);var c=r.indexOf(t,A+1);var l=A;if(A>=0&&c>0){if(e===t){return[A,c]}s=[];o=r.length;while(l>=0&&!a){if(l==A){s.push(l);A=r.indexOf(e,l+1)}else if(s.length==1){a=[s.pop(),c]}else{n=s.pop();if(n=0?A:c}if(s.length){a=[o,i]}}return a}},2732:(e,t,r)=>{var s=r(1063);var n=r(2027);var o=r(9934);var i=Function.bind;var a=i.bind(i);function bindApi(e,t,r){var s=a(o,null).apply(null,r?[t,r]:[t]);e.api={remove:s};e.remove=s;["before","error","after","wrap"].forEach((function(s){var o=r?[t,s,r]:[t,s];e[s]=e.api[s]=a(n,null).apply(null,o)}))}function HookSingular(){var e="h";var t={registry:{}};var r=s.bind(null,t,e);bindApi(r,t,e);return r}function HookCollection(){var e={registry:{}};var t=s.bind(null,e);bindApi(t,e);return t}var A=false;function Hook(){if(!A){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');A=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},2027:e=>{e.exports=addHook;function addHook(e,t,r,s){var n=s;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){s=function(e,t){return Promise.resolve().then(n.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){s=function(e,t){var r;return Promise.resolve().then(e.bind(null,t)).then((function(e){r=e;return n(r,t)})).then((function(){return r}))}}if(t==="error"){s=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch((function(e){return n(e,t)}))}}e.registry[r].push({hook:s,orig:n})}},1063:e=>{e.exports=register;function register(e,t,r,s){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!s){s={}}if(Array.isArray(t)){return t.reverse().reduce((function(t,r){return register.bind(null,e,r,t,s)}),r)()}return Promise.resolve().then((function(){if(!e.registry[t]){return r(s)}return e.registry[t].reduce((function(e,t){return t.hook.bind(null,e,s)}),r)()}))}},9934:e=>{e.exports=removeHook;function removeHook(e,t,r){if(!e.registry[t]){return}var s=e.registry[t].map((function(e){return e.orig})).indexOf(r);if(s===-1){return}e.registry[t].splice(s,1)}},4691:(e,t,r)=>{var s=r(7087);var n=r(9380);e.exports=expandTop;var o="\0SLASH"+Math.random()+"\0";var i="\0OPEN"+Math.random()+"\0";var a="\0CLOSE"+Math.random()+"\0";var A="\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(o).split("\\{").join(i).split("\\}").join(a).split("\\,").join(A).split("\\.").join(c)}function unescapeBraces(e){return e.split(o).join("\\").split(i).join("{").split(a).join("}").split(A).join(",").split(c).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=n("{","}",e);if(!r)return e.split(",");var s=r.pre;var o=r.body;var i=r.post;var a=s.split(",");a[a.length-1]+="{"+o+"}";var A=parseCommaParts(i);if(i.length){a[a.length-1]+=A.shift();a.push.apply(a,A)}t.push.apply(t,a);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 r=[];var o=n("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body);var A=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body);var c=i||A;var l=o.body.indexOf(",")>=0;if(!c&&!l){if(o.post.match(/,.*\}/)){e=o.pre+"{"+o.body+a+o.post;return expand(e)}return[e]}var u;if(c){u=o.body.split(/\.\./)}else{u=parseCommaParts(o.body);if(u.length===1){u=expand(u[0],false).map(embrace);if(u.length===1){var d=o.post.length?expand(o.post,false):[""];return d.map((function(e){return o.pre+u[0]+e}))}}}var p=o.pre;var d=o.post.length?expand(o.post,false):[""];var g;if(c){var m=numeric(u[0]);var h=numeric(u[1]);var E=Math.max(u[0].length,u[1].length);var C=u.length==3?Math.abs(numeric(u[2])):1;var y=lte;var I=h0){var R=new Array(S+1).join("0");if(Q<0)b="-"+R+b.slice(1);else b=R+b}}}g.push(b)}}else{g=s(u,(function(e){return expand(e,false)}))}for(var w=0;w{e.exports=function(e,r){var s=[];for(var n=0;n{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 r="color: "+this.color;t.splice(1,0,r,"color: inherit");let s=0;let n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}s++;if(e==="%c"){n=s}}));t.splice(n,0,r)}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")}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=r(897)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},897:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(744);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 r=0;r{if(t==="%%"){return"%"}o++;const n=createDebug.formatters[s];if(typeof n==="function"){const s=e[o];t=n.call(r,s);e.splice(o,1);o--}return t}));createDebug.formatArgs.call(r,e);const i=r.log||createDebug.log;i.apply(r,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(r!==null){return r}if(s!==createDebug.namespaces){s=createDebug.namespaces;n=createDebug.enabled(e)}return n},set:e=>{r=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const s=r.length;for(t=0;t"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(6110)}else{e.exports=r(5108)}},5108:(e,t,r)=>{const s=r(2018);const n=r(9023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=n.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=r(1450);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 r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let s=process.env[t];if(/^(yes|on|true|enabled)$/i.test(s)){s=true}else if(/^(no|off|false|disabled)$/i.test(s)){s=false}else if(s==="null"){s=null}else{s=Number(s)}e[r]=s;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):s.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:s}=this;if(s){const s=this.color;const n="[3"+(s<8?s:"8;5;"+s);const o=` ${n};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(n+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(n.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 r=Object.keys(t.inspectOpts);for(let s=0;se.trim())).join(" ")};o.O=function(e){this.inspectOpts.colors=this.useColors;return n.inspect(e,this.inspectOpts)}},4150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}t.Deprecation=Deprecation},9741:(e,t,r)=>{"use strict";const s=r(9433);const n=r(9844);const o=r(659);e.exports={XMLParser:n,XMLValidator:s,XMLBuilder:o}},812:e=>{function getIgnoreAttributesFn(e){if(typeof e==="function"){return e}if(Array.isArray(e)){return t=>{for(const r of e){if(typeof r==="string"&&t===r){return true}if(r instanceof RegExp&&r.test(t)){return true}}}}return()=>false}e.exports=getIgnoreAttributesFn},7019:(e,t)=>{"use strict";const r=":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";const s=r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";const n="["+r+"]["+s+"]*";const o=new RegExp("^"+n+"$");const getAllMatches=function(e,t){const r=[];let s=t.exec(e);while(s){const n=[];n.startIndex=t.lastIndex-s[0].length;const o=s.length;for(let e=0;e{"use strict";const s=r(7019);const n={allowBooleanAttributes:false,unpairedTags:[]};t.validate=function(e,t){t=Object.assign({},n,t);const r=[];let s=false;let o=false;if(e[0]==="\ufeff"){e=e.substr(1)}for(let n=0;n"&&e[n]!==" "&&e[n]!=="\t"&&e[n]!=="\n"&&e[n]!=="\r";n++){A+=e[n]}A=A.trim();if(A[A.length-1]==="/"){A=A.substring(0,A.length-1);n--}if(!validateTagName(A)){let t;if(A.trim().length===0){t="Invalid space after '<'."}else{t="Tag '"+A+"' is an invalid name."}return getErrorObject("InvalidTag",t,getLineNumberForPosition(e,n))}const c=readAttributeStr(e,n);if(c===false){return getErrorObject("InvalidAttr","Attributes for '"+A+"' have open quote.",getLineNumberForPosition(e,n))}let l=c.value;n=c.index;if(l[l.length-1]==="/"){const r=n-l.length;l=l.substring(0,l.length-1);const o=validateAttributeString(l,t);if(o===true){s=true}else{return getErrorObject(o.err.code,o.err.msg,getLineNumberForPosition(e,r+o.err.line))}}else if(a){if(!c.tagClosed){return getErrorObject("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",getLineNumberForPosition(e,n))}else if(l.trim().length>0){return getErrorObject("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",getLineNumberForPosition(e,i))}else if(r.length===0){return getErrorObject("InvalidTag","Closing tag '"+A+"' has not been opened.",getLineNumberForPosition(e,i))}else{const t=r.pop();if(A!==t.tagName){let r=getLineNumberForPosition(e,t.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",getLineNumberForPosition(e,i))}if(r.length==0){o=true}}}else{const a=validateAttributeString(l,t);if(a!==true){return getErrorObject(a.err.code,a.err.msg,getLineNumberForPosition(e,n-l.length+a.err.line))}if(o===true){return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(e,n))}else if(t.unpairedTags.indexOf(A)!==-1){}else{r.push({tagName:A,tagStartPos:i})}s=true}for(n++;n0){return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(r.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}return true};function isWhiteSpace(e){return e===" "||e==="\t"||e==="\n"||e==="\r"}function readPI(e,t){const r=t;for(;t5&&s==="xml"){return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(e,t))}else if(e[t]=="?"&&e[t+1]==">"){t++;break}else{continue}}}return t}function readCommentAndCDATA(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t"){t+=2;break}}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let r=1;for(t+=8;t"){r--;if(r===0){break}}}}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t"){t+=2;break}}}return t}const o='"';const i="'";function readAttributeStr(e,t){let r="";let s="";let n=false;for(;t"){if(s===""){n=true;break}}r+=e[t]}if(s!==""){return false}return{value:r,index:t,tagClosed:n}}const a=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function validateAttributeString(e,t){const r=s.getAllMatches(e,a);const n={};for(let e=0;e{"use strict";const s=r(3997);const n=r(812);const o={attributeNamePrefix:"@_",attributesGroupName:false,textNodeName:"#text",ignoreAttributes:true,cdataPropName:false,format:false,indentBy:" ",suppressEmptyNode:false,suppressUnpairedNode:true,suppressBooleanAttributes:true,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:false,commentPropName:false,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:true,stopNodes:[],oneListGroup:false};function Builder(e){this.options=Object.assign({},o,e);if(this.options.ignoreAttributes===true||this.options.attributesGroupName){this.isAttribute=function(){return false}}else{this.ignoreAttributesFn=n(this.options.ignoreAttributes);this.attrPrefixLen=this.options.attributeNamePrefix.length;this.isAttribute=isAttribute}this.processTextOrObjNode=processTextOrObjNode;if(this.options.format){this.indentate=indentate;this.tagEndChar=">\n";this.newLine="\n"}else{this.indentate=function(){return""};this.tagEndChar=">";this.newLine=""}}Builder.prototype.build=function(e){if(this.options.preserveOrder){return s(e,this.options)}else{if(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1){e={[this.options.arrayNodeName]:e}}return this.j2x(e,0,[]).val}};Builder.prototype.j2x=function(e,t,r){let s="";let n="";const o=r.join(".");for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;if(typeof e[i]==="undefined"){if(this.isAttribute(i)){n+=""}}else if(e[i]===null){if(this.isAttribute(i)){n+=""}else if(i[0]==="?"){n+=this.indentate(t)+"<"+i+"?"+this.tagEndChar}else{n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar}}else if(e[i]instanceof Date){n+=this.buildTextValNode(e[i],i,"",t)}else if(typeof e[i]!=="object"){const r=this.isAttribute(i);if(r&&!this.ignoreAttributesFn(r,o)){s+=this.buildAttrPairStr(r,""+e[i])}else if(!r){if(i===this.options.textNodeName){let t=this.options.tagValueProcessor(i,""+e[i]);n+=this.replaceEntitiesValue(t)}else{n+=this.buildTextValNode(e[i],i,"",t)}}}else if(Array.isArray(e[i])){const s=e[i].length;let o="";let a="";for(let A=0;A"+e+n}else if(this.options.commentPropName!==false&&t===this.options.commentPropName&&o.length===0){return this.indentate(s)+`\x3c!--${e}--\x3e`+this.newLine}else{return this.indentate(s)+"<"+t+r+o+this.tagEndChar+e+this.indentate(s)+n}}};Builder.prototype.closeTag=function(e){let t="";if(this.options.unpairedTags.indexOf(e)!==-1){if(!this.options.suppressUnpairedNode)t="/"}else if(this.options.suppressEmptyNode){t="/"}else{t=`>`+this.newLine}else if(this.options.commentPropName!==false&&t===this.options.commentPropName){return this.indentate(s)+`\x3c!--${e}--\x3e`+this.newLine}else if(t[0]==="?"){return this.indentate(s)+"<"+t+r+"?"+this.tagEndChar}else{let n=this.options.tagValueProcessor(t,e);n=this.replaceEntitiesValue(n);if(n===""){return this.indentate(s)+"<"+t+r+this.closeTag(t)+this.tagEndChar}else{return this.indentate(s)+"<"+t+r+">"+n+"0&&this.options.processEntities){for(let t=0;t{const t="\n";function toXml(e,r){let s="";if(r.format&&r.indentBy.length>0){s=t}return arrToStr(e,r,"",s)}function arrToStr(e,t,r,s){let n="";let o=false;for(let i=0;i`;o=false;continue}else if(A===t.commentPropName){n+=s+`\x3c!--${a[A][0][t.textNodeName]}--\x3e`;o=true;continue}else if(A[0]==="?"){const e=attr_to_str(a[":@"],t);const r=A==="?xml"?"":s;let i=a[A][0][t.textNodeName];i=i.length!==0?" "+i:"";n+=r+`<${A}${i}${e}?>`;o=true;continue}let l=s;if(l!==""){l+=t.indentBy}const u=attr_to_str(a[":@"],t);const d=s+`<${A}${u}`;const p=arrToStr(a[A],t,c,l);if(t.unpairedTags.indexOf(A)!==-1){if(t.suppressUnpairedNode)n+=d+">";else n+=d+"/>"}else if((!p||p.length===0)&&t.suppressEmptyNode){n+=d+"/>"}else if(p&&p.endsWith(">")){n+=d+`>${p}${s}`}else{n+=d+">";if(p&&s!==""&&(p.includes("/>")||p.includes("`}o=true}return n}function propName(e){const t=Object.keys(e);for(let r=0;r0&&t.processEntities){for(let r=0;r{const s=r(7019);function readDocType(e,t){const r={};if(e[t+3]==="O"&&e[t+4]==="C"&&e[t+5]==="T"&&e[t+6]==="Y"&&e[t+7]==="P"&&e[t+8]==="E"){t=t+9;let s=1;let n=false,o=false;let i="";for(;t"){if(o){if(e[t-1]==="-"&&e[t-2]==="-"){o=false;s--}}else{s--}if(s===0){break}}else if(e[t]==="["){n=true}else{i+=e[t]}}if(s!==0){throw new Error(`Unclosed DOCTYPE`)}}else{throw new Error(`Invalid Tag instead of DOCTYPE`)}return{entities:r,i:t}}function readEntityExp(e,t){let r="";for(;t{const r={preserveOrder:false,attributeNamePrefix:"@_",attributesGroupName:false,textNodeName:"#text",ignoreAttributes:true,removeNSPrefix:false,allowBooleanAttributes:false,parseTagValue:true,parseAttributeValue:false,trimValues:true,cdataPropName:false,numberParseOptions:{hex:true,leadingZeros:true,eNotation:true},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:false,isArray:()=>false,commentPropName:false,unpairedTags:[],processEntities:true,htmlEntities:false,ignoreDeclaration:false,ignorePiTags:false,transformTagName:false,transformAttributeName:false,updateTag:function(e,t,r){return e}};const buildOptions=function(e){return Object.assign({},r,e)};t.buildOptions=buildOptions;t.defaultOptions=r},3017:(e,t,r)=>{"use strict";const s=r(7019);const n=r(9307);const o=r(151);const i=r(6496);const a=r(812);class OrderedObjParser{constructor(e){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.fromCharCode(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,16))}};this.addExternalEntities=addExternalEntities;this.parseXml=parseXml;this.parseTextData=parseTextData;this.resolveNameSpace=resolveNameSpace;this.buildAttributesMap=buildAttributesMap;this.isItStopNode=isItStopNode;this.replaceEntitiesValue=replaceEntitiesValue;this.readStopNodeData=readStopNodeData;this.saveTextToParentTag=saveTextToParentTag;this.addChild=addChild;this.ignoreAttributesFn=a(this.options.ignoreAttributes)}}function addExternalEntities(e){const t=Object.keys(e);for(let r=0;r0){if(!i)e=this.replaceEntitiesValue(e);const s=this.options.tagValueProcessor(t,e,r,n,o);if(s===null||s===undefined){return e}else if(typeof s!==typeof e||s!==e){return s}else if(this.options.trimValues){return parseValue(e,this.options.parseTagValue,this.options.numberParseOptions)}else{const t=e.trim();if(t===e){return parseValue(e,this.options.parseTagValue,this.options.numberParseOptions)}else{return e}}}}}function resolveNameSpace(e){if(this.options.removeNSPrefix){const t=e.split(":");const r=e.charAt(0)==="/"?"/":"";if(t[0]==="xmlns"){return""}if(t.length===2){e=r+t[1]}}return e}const A=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function buildAttributesMap(e,t,r){if(this.options.ignoreAttributes!==true&&typeof e==="string"){const r=s.getAllMatches(e,A);const n=r.length;const o={};for(let e=0;e",a,"Closing Tag is not closed.");let n=e.substring(a+2,t).trim();if(this.options.removeNSPrefix){const e=n.indexOf(":");if(e!==-1){n=n.substr(e+1)}}if(this.options.transformTagName){n=this.options.transformTagName(n)}if(r){s=this.saveTextToParentTag(s,r,i)}const o=i.substring(i.lastIndexOf(".")+1);if(n&&this.options.unpairedTags.indexOf(n)!==-1){throw new Error(`Unpaired tag can not be used as closing tag: `)}let A=0;if(o&&this.options.unpairedTags.indexOf(o)!==-1){A=i.lastIndexOf(".",i.lastIndexOf(".")-1);this.tagsNodeStack.pop()}else{A=i.lastIndexOf(".")}i=i.substring(0,A);r=this.tagsNodeStack.pop();s="";a=t}else if(e[a+1]==="?"){let t=readTagExp(e,a,false,"?>");if(!t)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,i);if(this.options.ignoreDeclaration&&t.tagName==="?xml"||this.options.ignorePiTags){}else{const e=new n(t.tagName);e.add(this.options.textNodeName,"");if(t.tagName!==t.tagExp&&t.attrExpPresent){e[":@"]=this.buildAttributesMap(t.tagExp,i,t.tagName)}this.addChild(r,e,i)}a=t.closeIndex+1}else if(e.substr(a+1,3)==="!--"){const t=findClosingIndex(e,"--\x3e",a+4,"Comment is not closed.");if(this.options.commentPropName){const n=e.substring(a+4,t-2);s=this.saveTextToParentTag(s,r,i);r.add(this.options.commentPropName,[{[this.options.textNodeName]:n}])}a=t}else if(e.substr(a+1,2)==="!D"){const t=o(e,a);this.docTypeEntities=t.entities;a=t.i}else if(e.substr(a+1,2)==="!["){const t=findClosingIndex(e,"]]>",a,"CDATA is not closed.")-2;const n=e.substring(a+9,t);s=this.saveTextToParentTag(s,r,i);let o=this.parseTextData(n,r.tagname,i,true,false,true,true);if(o==undefined)o="";if(this.options.cdataPropName){r.add(this.options.cdataPropName,[{[this.options.textNodeName]:n}])}else{r.add(this.options.textNodeName,o)}a=t+2}else{let o=readTagExp(e,a,this.options.removeNSPrefix);let A=o.tagName;const c=o.rawTagName;let l=o.tagExp;let u=o.attrExpPresent;let d=o.closeIndex;if(this.options.transformTagName){A=this.options.transformTagName(A)}if(r&&s){if(r.tagname!=="!xml"){s=this.saveTextToParentTag(s,r,i,false)}}const p=r;if(p&&this.options.unpairedTags.indexOf(p.tagname)!==-1){r=this.tagsNodeStack.pop();i=i.substring(0,i.lastIndexOf("."))}if(A!==t.tagname){i+=i?"."+A:A}if(this.isItStopNode(this.options.stopNodes,i,A)){let t="";if(l.length>0&&l.lastIndexOf("/")===l.length-1){if(A[A.length-1]==="/"){A=A.substr(0,A.length-1);i=i.substr(0,i.length-1);l=A}else{l=l.substr(0,l.length-1)}a=o.closeIndex}else if(this.options.unpairedTags.indexOf(A)!==-1){a=o.closeIndex}else{const r=this.readStopNodeData(e,c,d+1);if(!r)throw new Error(`Unexpected end of ${c}`);a=r.i;t=r.tagContent}const s=new n(A);if(A!==l&&u){s[":@"]=this.buildAttributesMap(l,i,A)}if(t){t=this.parseTextData(t,A,i,true,u,true,true)}i=i.substr(0,i.lastIndexOf("."));s.add(this.options.textNodeName,t);this.addChild(r,s,i)}else{if(l.length>0&&l.lastIndexOf("/")===l.length-1){if(A[A.length-1]==="/"){A=A.substr(0,A.length-1);i=i.substr(0,i.length-1);l=A}else{l=l.substr(0,l.length-1)}if(this.options.transformTagName){A=this.options.transformTagName(A)}const e=new n(A);if(A!==l&&u){e[":@"]=this.buildAttributesMap(l,i,A)}this.addChild(r,e,i);i=i.substr(0,i.lastIndexOf("."))}else{const e=new n(A);this.tagsNodeStack.push(r);if(A!==l&&u){e[":@"]=this.buildAttributesMap(l,i,A)}this.addChild(r,e,i);r=e}s="";a=d}}}else{s+=e[a]}}return t.child};function addChild(e,t,r){const s=this.options.updateTag(t.tagname,r,t[":@"]);if(s===false){}else if(typeof s==="string"){t.tagname=s;e.addChild(t)}else{e.addChild(t)}}const replaceEntitiesValue=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const r=this.docTypeEntities[t];e=e.replace(r.regx,r.val)}for(let t in this.lastEntities){const r=this.lastEntities[t];e=e.replace(r.regex,r.val)}if(this.options.htmlEntities){for(let t in this.htmlEntities){const r=this.htmlEntities[t];e=e.replace(r.regex,r.val)}}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function saveTextToParentTag(e,t,r,s){if(e){if(s===undefined)s=Object.keys(t.child).length===0;e=this.parseTextData(e,t.tagname,r,false,t[":@"]?Object.keys(t[":@"]).length!==0:false,s);if(e!==undefined&&e!=="")t.add(this.options.textNodeName,e);e=""}return e}function isItStopNode(e,t,r){const s="*."+r;for(const r in e){const n=e[r];if(s===n||t===n)return true}return false}function tagExpWithClosingIndex(e,t,r=">"){let s;let n="";for(let o=t;o",r,`${t} is not closed`);let i=e.substring(r+2,o).trim();if(i===t){n--;if(n===0){return{tagContent:e.substring(s,r),i:o}}}r=o}else if(e[r+1]==="?"){const t=findClosingIndex(e,"?>",r+1,"StopNode is not closed.");r=t}else if(e.substr(r+1,3)==="!--"){const t=findClosingIndex(e,"--\x3e",r+3,"StopNode is not closed.");r=t}else if(e.substr(r+1,2)==="!["){const t=findClosingIndex(e,"]]>",r,"StopNode is not closed.")-2;r=t}else{const s=readTagExp(e,r,">");if(s){const e=s&&s.tagName;if(e===t&&s.tagExp[s.tagExp.length-1]!=="/"){n++}r=s.closeIndex}}}}}function parseValue(e,t,r){if(t&&typeof e==="string"){const t=e.trim();if(t==="true")return true;else if(t==="false")return false;else return i(e,r)}else{if(s.isExist(e)){return e}else{return""}}}e.exports=OrderedObjParser},9844:(e,t,r)=>{const{buildOptions:s}=r(4769);const n=r(3017);const{prettify:o}=r(7594);const i=r(9433);class XMLParser{constructor(e){this.externalEntities={};this.options=s(e)}parse(e,t){if(typeof e==="string"){}else if(e.toString){e=e.toString()}else{throw new Error("XML data is accepted in String or Bytes[] form.")}if(t){if(t===true)t={};const r=i.validate(e,t);if(r!==true){throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}}const r=new n(this.options);r.addExternalEntities(this.externalEntities);const s=r.parseXml(e);if(this.options.preserveOrder||s===undefined)return s;else return o(s,this.options)}addEntity(e,t){if(t.indexOf("&")!==-1){throw new Error("Entity value can't have '&'")}else if(e.indexOf("&")!==-1||e.indexOf(";")!==-1){throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '")}else if(t==="&"){throw new Error("An entity with value '&' is not permitted")}else{this.externalEntities[e]=t}}}e.exports=XMLParser},7594:(e,t)=>{"use strict";function prettify(e,t){return compress(e,t)}function compress(e,t,r){let s;const n={};for(let o=0;o0)n[t.textNodeName]=s}else if(s!==undefined)n[t.textNodeName]=s;return n}function propName(e){const t=Object.keys(e);for(let e=0;e{"use strict";class XmlNode{constructor(e){this.tagname=e;this.child=[];this[":@"]={}}add(e,t){if(e==="__proto__")e="#__proto__";this.child.push({[e]:t})}addChild(e){if(e.tagname==="__proto__")e.tagname="#__proto__";if(e[":@"]&&Object.keys(e[":@"]).length>0){this.child.push({[e.tagname]:e.child,[":@"]:e[":@"]})}else{this.child.push({[e.tagname]:e.child})}}}e.exports=XmlNode},3813:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const s=t.indexOf(r+e);const n=t.indexOf("--");return s!==-1&&(n===-1||s0){p("Patching connection write() output buffer with updated header");r=e.outputData[0].data;s=r.indexOf("\r\n\r\n")+4;e.outputData[0].data=e._header+r.substring(s);p("Output buffer: %o",e.outputData[0].data)}let n;if(this.proxy.protocol==="https:"){p("Creating `tls.Socket`: %o",this.connectOpts);n=A.connect(this.connectOpts)}else{p("Creating `net.Socket`: %o",this.connectOpts);n=a.connect(this.connectOpts)}await(0,l.once)(n,"connect");return n}}HttpProxyAgent.protocols=["http","https"];t.HttpProxyAgent=HttpProxyAgent;function omit(e,...t){const r={};let s;for(s in e){if(!t.includes(s)){r[s]=e[s]}}return r}},3669:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,s,n)}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))s(t,e,r);n(t,e);return t};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpsProxyAgent=void 0;const a=o(r(9278));const A=o(r(4756));const c=i(r(2613));const l=i(r(2830));const u=r(8894);const d=r(7016);const p=r(7943);const g=(0,l.default)("https-proxy-agent");class HttpsProxyAgent extends u.Agent{constructor(e,t){super(t);this.options={path:undefined};this.proxy=typeof e==="string"?new d.URL(e):e;this.proxyHeaders=t?.headers??{};g("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const s=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:r,port:s}}async connect(e,t){const{proxy:r}=this;if(!t.host){throw new TypeError('No "host" provided')}let s;if(r.protocol==="https:"){g("Creating `tls.Socket`: %o",this.connectOpts);const e=this.connectOpts.servername||this.connectOpts.host;s=A.connect({...this.connectOpts,servername:e})}else{g("Creating `net.Socket`: %o",this.connectOpts);s=a.connect(this.connectOpts)}const n=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const o=a.isIPv6(t.host)?`[${t.host}]`:t.host;let i=`CONNECT ${o}:${t.port} HTTP/1.1\r\n`;if(r.username||r.password){const e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}n.Host=`${o}:${t.port}`;if(!n["Proxy-Connection"]){n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const e of Object.keys(n)){i+=`${e}: ${n[e]}\r\n`}const l=(0,p.parseProxyResponse)(s);s.write(`${i}\r\n`);const{connect:u,buffered:d}=await l;e.emit("proxyConnect",u);this.emit("proxyConnect",u,e);if(u.statusCode===200){e.once("socket",resume);if(t.secureEndpoint){g("Upgrading socket connection to TLS");const e=t.servername||t.host;return A.connect({...omit(t,"host","path","port"),socket:s,servername:e})}return s}s.destroy();const m=new a.Socket({writable:false});m.readable=true;e.once("socket",(e=>{g("Replaying proxy buffer for failed request");(0,c.default)(e.listenerCount("data")>0);e.push(d);e.push(null)}));return m}}HttpsProxyAgent.protocols=["http","https"];t.HttpsProxyAgent=HttpsProxyAgent;function resume(e){e.resume()}function omit(e,...t){const r={};let s;for(s in e){if(!t.includes(s)){r[s]=e[s]}}return r}},7943:function(e,t,r){"use strict";var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.parseProxyResponse=void 0;const n=s(r(2830));const o=(0,n.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,r)=>{let s=0;const n=[];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();o("onend");r(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(e){cleanup();o("onerror %o",e);r(e)}function ondata(i){n.push(i);s+=i.length;const a=Buffer.concat(n,s);const A=a.indexOf("\r\n\r\n");if(A===-1){o("have not received end of HTTP headers yet...");read();return}const c=a.slice(0,A).toString("ascii").split("\r\n");const l=c.shift();if(!l){e.destroy();return r(new Error("No header received from proxy CONNECT response"))}const u=l.split(" ");const d=+u[1];const p=u.slice(2).join(" ");const g={};for(const t of c){if(!t)continue;const s=t.indexOf(":");if(s===-1){e.destroy();return r(new Error(`Invalid header from proxy CONNECT response: "${t}"`))}const n=t.slice(0,s).toLowerCase();const o=t.slice(s+1).trimStart();const i=g[n];if(typeof i==="string"){g[n]=[i,o]}else if(Array.isArray(i)){i.push(o)}else{g[n]=o}}o("got proxy server response: %o %o",l,g);cleanup();t({connect:{statusCode:d,statusText:p,headers:g},buffered:a})}e.on("error",onerror);e.on("end",onend);read()}))}t.parseProxyResponse=parseProxyResponse},3772:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var s=function(){try{return r(6928)}catch(e){}}()||{sep:"/"};minimatch.sep=s.sep;var n=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var o=r(4691);var i={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var a="[^/]";var A=a+"*?";var c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var u=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var d=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,s,n){return minimatch(r,e,t)}}function ext(e,t){t=t||{};var r={};Object.keys(e).forEach((function(t){r[t]=e[t]}));Object.keys(t).forEach((function(e){r[e]=t[e]}));return r}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var r=function minimatch(r,s,n){return t(r,s,ext(e,n))};r.Minimatch=function Minimatch(r,s){return new t.Minimatch(r,ext(e,s))};r.Minimatch.defaults=function defaults(r){return t.defaults(ext(e,r)).Minimatch};r.filter=function filter(r,s){return t.filter(r,ext(e,s))};r.defaults=function defaults(r){return t.defaults(ext(e,r))};r.makeRe=function makeRe(r,s){return t.makeRe(r,ext(e,s))};r.braceExpand=function braceExpand(r,s){return t.braceExpand(r,ext(e,s))};r.match=function(r,s,n){return t.match(r,s,ext(e,n))};return r};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){assertValidPattern(t);if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,r).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&&s.sep!=="/"){e=e.split(s.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 r=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(d)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var s=0;if(r.nonegate)return;for(var n=0,o=e.length;np){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var g={};function parse(e,t){assertValidPattern(e);var r=this.options;if(e==="**"){if(!r.noglobstar)return n;else e="*"}if(e==="")return"";var s="";var o=!!r.nocase;var c=false;var l=[];var d=[];var p;var m=false;var h=-1;var E=-1;var C=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var y=this;function clearStateChar(){if(p){switch(p){case"*":s+=A;o=true;break;case"?":s+=a;o=true;break;default:s+="\\"+p;break}y.debug("clearStateChar %j %j",p,s);p=false}}for(var I=0,B=e.length,Q;I-1;x--){var D=d[x];var T=s.slice(0,D.reStart);var P=s.slice(D.reStart,D.reEnd-8);var k=s.slice(D.reEnd-8,D.reEnd);var O=s.slice(D.reEnd);k+=O;var L=T.split("(").length-1;var F=O;for(I=0;I=0;i--){o=e[i];if(o)break}for(i=0;i>> no match, partial?",e,u,t,d);if(u===a)return true}return false}var g;if(typeof c==="string"){g=l===c;this.debug("string match",c,l,g)}else{g=l.match(c);this.debug("pattern match",c,l,g)}if(!g)return false}if(o===a&&i===A){return true}else if(o===a){return r}else if(i===A){return o===a-1&&e[o]===""}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},744:e=>{var t=1e3;var r=t*60;var s=r*60;var n=s*24;var o=n*7;var i=n*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="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 a=/^(-?(?:\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(!a){return}var A=parseFloat(a[1]);var c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return A*i;case"weeks":case"week":case"w":return A*o;case"days":case"day":case"d":return A*n;case"hours":case"hour":case"hrs":case"hr":case"h":return A*s;case"minutes":case"minute":case"mins":case"min":case"m":return A*r;case"seconds":case"second":case"secs":case"sec":case"s":return A*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return A;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=n){return Math.round(e/n)+"d"}if(o>=s){return Math.round(e/s)+"h"}if(o>=r){return Math.round(e/r)+"m"}if(o>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=n){return plural(e,o,n,"day")}if(o>=s){return plural(e,o,s,"hour")}if(o>=r){return plural(e,o,r,"minute")}if(o>=t){return plural(e,o,t,"second")}return e+" ms"}function plural(e,t,r,s){var n=t>=r*1.5;return Math.round(e/r)+" "+s+(n?"s":"")}},5560:(e,t,r)=>{var s=r(8264);e.exports=s(once);e.exports.strict=s(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},9379:(e,t,r)=>{const s=Symbol("SemVer ANY");class Comparator{static get ANY(){return s}constructor(e,t){t=n(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");A("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===s){this.value=""}else{this.value=this.operator+this.semver.version}A("comp",this)}parse(e){const t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=s}else{this.semver=new c(r[2],this.options.loose)}}toString(){return this.value}test(e){A("Comparator.test",e,this.options.loose);if(this.semver===s||e===s){return true}if(typeof e==="string"){try{e=new c(e,this.options)}catch(e){return false}}return a(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new l(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new l(this.value,t).test(e.semver)}t=n(t);if(t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(a(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(a(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const n=r(356);const{safeRe:o,t:i}=r(5471);const a=r(8646);const A=r(1159);const c=r(7163);const l=r(6782)},6782:(e,t,r)=>{const s=/\s+/g;class Range{constructor(e,t){t=i(t);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 a){this.raw=e.value;this.set=[[e]];this.formatted=undefined;return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e.trim().replace(s," ");this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let e=0;e0){this.formatted+="||"}const t=this.set[e];for(let e=0;e0){this.formatted+=" "}this.formatted+=t[e].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=(this.options.includePrerelease&&m)|(this.options.loose&&h);const r=t+":"+e;const s=o.get(r);if(s){return s}const n=this.options.loose;const i=n?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(i,hyphenReplace(this.options.includePrerelease));A("hyphen replace",e);e=e.replace(l[u.COMPARATORTRIM],d);A("comparator trim",e);e=e.replace(l[u.TILDETRIM],p);A("tilde trim",e);e=e.replace(l[u.CARETTRIM],g);A("caret trim",e);let c=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(n){c=c.filter((e=>{A("loose invalid filter",e,this.options);return!!e.match(l[u.COMPARATORLOOSE])}))}A("range list",c);const E=new Map;const C=c.map((e=>new a(e,this.options)));for(const e of C){if(isNullSet(e)){return[e]}E.set(e.value,e)}if(E.size>1&&E.has("")){E.delete("")}const y=[...E.values()];o.set(r,y);return y}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new c(e,this.options)}catch(e){return false}}for(let t=0;te.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const s=e.slice();let n=s.pop();while(r&&s.length){r=s.every((e=>n.intersects(e,t)));n=s.pop()}return r};const parseComparator=(e,t)=>{A("comp",e,t);e=replaceCarets(e,t);A("caret",e);e=replaceTildes(e,t);A("tildes",e);e=replaceXRanges(e,t);A("xrange",e);e=replaceStars(e,t);A("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(r,((t,r,s,n,o)=>{A("tilde",e,t,r,s,n,o);let i;if(isX(r)){i=""}else if(isX(s)){i=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(n)){i=`>=${r}.${s}.0 <${r}.${+s+1}.0-0`}else if(o){A("replaceTilde pr",o);i=`>=${r}.${s}.${n}-${o} <${r}.${+s+1}.0-0`}else{i=`>=${r}.${s}.${n} <${r}.${+s+1}.0-0`}A("tilde return",i);return i}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{A("caret",e,t);const r=t.loose?l[u.CARETLOOSE]:l[u.CARET];const s=t.includePrerelease?"-0":"";return e.replace(r,((t,r,n,o,i)=>{A("caret",e,t,r,n,o,i);let a;if(isX(r)){a=""}else if(isX(n)){a=`>=${r}.0.0${s} <${+r+1}.0.0-0`}else if(isX(o)){if(r==="0"){a=`>=${r}.${n}.0${s} <${r}.${+n+1}.0-0`}else{a=`>=${r}.${n}.0${s} <${+r+1}.0.0-0`}}else if(i){A("replaceCaret pr",i);if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${o}-${i} <${r}.${n}.${+o+1}-0`}else{a=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${o}-${i} <${+r+1}.0.0-0`}}else{A("no pr");if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${o}${s} <${r}.${n}.${+o+1}-0`}else{a=`>=${r}.${n}.${o}${s} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${o} <${+r+1}.0.0-0`}}A("caret return",a);return a}))};const replaceXRanges=(e,t)=>{A("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(r,((r,s,n,o,i,a)=>{A("xRange",e,r,s,n,o,i,a);const c=isX(n);const l=c||isX(o);const u=l||isX(i);const d=u;if(s==="="&&d){s=""}a=t.includePrerelease?"-0":"";if(c){if(s===">"||s==="<"){r="<0.0.0-0"}else{r="*"}}else if(s&&d){if(l){o=0}i=0;if(s===">"){s=">=";if(l){n=+n+1;o=0;i=0}else{o=+o+1;i=0}}else if(s==="<="){s="<";if(l){n=+n+1}else{o=+o+1}}if(s==="<"){a="-0"}r=`${s+n}.${o}.${i}${a}`}else if(l){r=`>=${n}.0.0${a} <${+n+1}.0.0-0`}else if(u){r=`>=${n}.${o}.0${a} <${n}.${+o+1}.0-0`}A("xRange return",r);return r}))};const replaceStars=(e,t)=>{A("replaceStars",e,t);return e.trim().replace(l[u.STAR],"")};const replaceGTE0=(e,t)=>{A("replaceGTE0",e,t);return e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")};const hyphenReplace=e=>(t,r,s,n,o,i,a,A,c,l,u,d)=>{if(isX(s)){r=""}else if(isX(n)){r=`>=${s}.0.0${e?"-0":""}`}else if(isX(o)){r=`>=${s}.${n}.0${e?"-0":""}`}else if(i){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(c)){A=""}else if(isX(l)){A=`<${+c+1}.0.0-0`}else if(isX(u)){A=`<${c}.${+l+1}.0-0`}else if(d){A=`<=${c}.${l}.${u}-${d}`}else if(e){A=`<${c}.${l}.${+u+1}-0`}else{A=`<=${A}`}return`${r} ${A}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r0){const s=e[r].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}},7163:(e,t,r)=>{const s=r(1159);const{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=r(5101);const{safeRe:i,t:a}=r(5471);const A=r(356);const{compareIdentifiers:c}=r(3348);class SemVer{constructor(e,t){t=A(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`)}if(e.length>n){throw new TypeError(`version is longer than ${n} characters`)}s("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>o||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>o||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>o||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0){if(typeof this.prerelease[s]==="number"){this.prerelease[s]++;s=-2}}if(s===-1){if(t===this.prerelease.join(".")&&r===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(e)}}if(t){let s=[t,e];if(r===false){s=[t]}if(c(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=s}}else{this.prerelease=s}}break}default:throw new Error(`invalid increment argument: ${e}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}e.exports=SemVer},1799:(e,t,r)=>{const s=r(6353);const clean=(e,t)=>{const r=s(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},8646:(e,t,r)=>{const s=r(5082);const n=r(4974);const o=r(6599);const i=r(1236);const a=r(3872);const A=r(6717);const cmp=(e,t,r,c)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return s(e,r,c);case"!=":return n(e,r,c);case">":return o(e,r,c);case">=":return i(e,r,c);case"<":return a(e,r,c);case"<=":return A(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},5385:(e,t,r)=>{const s=r(7163);const n=r(6353);const{safeRe:o,t:i}=r(5471);const coerce=(e,t)=>{if(e instanceof s){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(t.includePrerelease?o[i.COERCEFULL]:o[i.COERCE])}else{const s=t.includePrerelease?o[i.COERCERTLFULL]:o[i.COERCERTL];let n;while((n=s.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||n.index+n[0].length!==r.index+r[0].length){r=n}s.lastIndex=n.index+n[1].length+n[2].length}s.lastIndex=-1}if(r===null){return null}const a=r[2];const A=r[3]||"0";const c=r[4]||"0";const l=t.includePrerelease&&r[5]?`-${r[5]}`:"";const u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return n(`${a}.${A}.${c}${l}${u}`,t)};e.exports=coerce},7648:(e,t,r)=>{const s=r(7163);const compareBuild=(e,t,r)=>{const n=new s(e,r);const o=new s(t,r);return n.compare(o)||n.compareBuild(o)};e.exports=compareBuild},6874:(e,t,r)=>{const s=r(8469);const compareLoose=(e,t)=>s(e,t,true);e.exports=compareLoose},8469:(e,t,r)=>{const s=r(7163);const compare=(e,t,r)=>new s(e,r).compare(new s(t,r));e.exports=compare},711:(e,t,r)=>{const s=r(6353);const diff=(e,t)=>{const r=s(e,null,true);const n=s(t,null,true);const o=r.compare(n);if(o===0){return null}const i=o>0;const a=i?r:n;const A=i?n:r;const c=!!a.prerelease.length;const l=!!A.prerelease.length;if(l&&!c){if(!A.patch&&!A.minor){return"major"}if(a.patch){return"patch"}if(a.minor){return"minor"}return"major"}const u=c?"pre":"";if(r.major!==n.major){return u+"major"}if(r.minor!==n.minor){return u+"minor"}if(r.patch!==n.patch){return u+"patch"}return"prerelease"};e.exports=diff},5082:(e,t,r)=>{const s=r(8469);const eq=(e,t,r)=>s(e,t,r)===0;e.exports=eq},6599:(e,t,r)=>{const s=r(8469);const gt=(e,t,r)=>s(e,t,r)>0;e.exports=gt},1236:(e,t,r)=>{const s=r(8469);const gte=(e,t,r)=>s(e,t,r)>=0;e.exports=gte},2338:(e,t,r)=>{const s=r(7163);const inc=(e,t,r,n,o)=>{if(typeof r==="string"){o=n;n=r;r=undefined}try{return new s(e instanceof s?e.version:e,r).inc(t,n,o).version}catch(e){return null}};e.exports=inc},3872:(e,t,r)=>{const s=r(8469);const lt=(e,t,r)=>s(e,t,r)<0;e.exports=lt},6717:(e,t,r)=>{const s=r(8469);const lte=(e,t,r)=>s(e,t,r)<=0;e.exports=lte},8511:(e,t,r)=>{const s=r(7163);const major=(e,t)=>new s(e,t).major;e.exports=major},2603:(e,t,r)=>{const s=r(7163);const minor=(e,t)=>new s(e,t).minor;e.exports=minor},4974:(e,t,r)=>{const s=r(8469);const neq=(e,t,r)=>s(e,t,r)!==0;e.exports=neq},6353:(e,t,r)=>{const s=r(7163);const parse=(e,t,r=false)=>{if(e instanceof s){return e}try{return new s(e,t)}catch(e){if(!r){return null}throw e}};e.exports=parse},6375:(e,t,r)=>{const s=r(7163);const patch=(e,t)=>new s(e,t).patch;e.exports=patch},5714:(e,t,r)=>{const s=r(6353);const prerelease=(e,t)=>{const r=s(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},2173:(e,t,r)=>{const s=r(8469);const rcompare=(e,t,r)=>s(t,e,r);e.exports=rcompare},7192:(e,t,r)=>{const s=r(7648);const rsort=(e,t)=>e.sort(((e,r)=>s(r,e,t)));e.exports=rsort},8011:(e,t,r)=>{const s=r(6782);const satisfies=(e,t,r)=>{try{t=new s(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},9872:(e,t,r)=>{const s=r(7648);const sort=(e,t)=>e.sort(((e,r)=>s(e,r,t)));e.exports=sort},8780:(e,t,r)=>{const s=r(6353);const valid=(e,t)=>{const r=s(e,t);return r?r.version:null};e.exports=valid},2088:(e,t,r)=>{const s=r(5471);const n=r(5101);const o=r(7163);const i=r(3348);const a=r(6353);const A=r(8780);const c=r(1799);const l=r(2338);const u=r(711);const d=r(8511);const p=r(2603);const g=r(6375);const m=r(5714);const h=r(8469);const E=r(2173);const C=r(6874);const y=r(7648);const I=r(9872);const B=r(7192);const Q=r(6599);const b=r(3872);const S=r(5082);const R=r(4974);const w=r(1236);const N=r(6717);const v=r(8646);const x=r(5385);const D=r(9379);const T=r(6782);const P=r(8011);const k=r(4750);const O=r(5574);const L=r(8595);const F=r(1866);const M=r(4737);const U=r(280);const _=r(2276);const H=r(5213);const G=r(3465);const q=r(2028);const z=r(1489);e.exports={parse:a,valid:A,clean:c,inc:l,diff:u,major:d,minor:p,patch:g,prerelease:m,compare:h,rcompare:E,compareLoose:C,compareBuild:y,sort:I,rsort:B,gt:Q,lt:b,eq:S,neq:R,gte:w,lte:N,cmp:v,coerce:x,Comparator:D,Range:T,satisfies:P,toComparators:k,maxSatisfying:O,minSatisfying:L,minVersion:F,validRange:M,outside:U,gtr:_,ltr:H,intersects:G,simplifyRange:q,subset:z,SemVer:o,re:s.re,src:s.src,tokens:s.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers}},5101:e=>{const t="2.0.0";const r=256;const s=Number.MAX_SAFE_INTEGER||9007199254740991;const n=16;const o=r-6;const i=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:s,RELEASE_TYPES:i,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},1159:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},3348:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{const s=t.test(e);const n=t.test(r);if(s&&n){e=+e;r=+r}return e===r?0:s&&!n?-1:n&&!s?1:ecompareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},1383:e=>{class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(e){const t=this.map.get(e);if(t===undefined){return undefined}else{this.map.delete(e);this.map.set(e,t);return t}}delete(e){return this.map.delete(e)}set(e,t){const r=this.delete(e);if(!r&&t!==undefined){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}e.exports=LRUCache},356:e=>{const t=Object.freeze({loose:true});const r=Object.freeze({});const parseOptions=e=>{if(!e){return r}if(typeof e!=="object"){return t}return e};e.exports=parseOptions},5471:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=r(5101);const i=r(1159);t=e.exports={};const a=t.re=[];const A=t.safeRe=[];const c=t.src=[];const l=t.t={};let u=0;const d="[a-zA-Z0-9-]";const p=[["\\s",1],["\\d",o],[d,n]];const makeSafeRegex=e=>{for(const[t,r]of p){e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`)}return e};const createToken=(e,t,r)=>{const s=makeSafeRegex(t);const n=u++;i(e,n,t);l[e]=n;c[n]=t;a[n]=new RegExp(t,r?"g":undefined);A[n]=new RegExp(s,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`);createToken("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.`+`(${c[l.NUMERICIDENTIFIER]})\\.`+`(${c[l.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.`+`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.`+`(${c[l.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${d}+`);createToken("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`);createToken("FULL",`^${c[l.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`);createToken("LOOSE",`^${c[l.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})`+`(?:\\.(${c[l.XRANGEIDENTIFIER]})`+`(?:\\.(${c[l.XRANGEIDENTIFIER]})`+`(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})`+`(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${s}})`+`(?:\\.(\\d{1,${s}}))?`+`(?:\\.(\\d{1,${s}}))?`);createToken("COERCE",`${c[l.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",c[l.COERCEPLAIN]+`(?:${c[l.PRERELEASE]})?`+`(?:${c[l.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",c[l.COERCE],true);createToken("COERCERTLFULL",c[l.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${c[l.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${c[l.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},2276:(e,t,r)=>{const s=r(280);const gtr=(e,t,r)=>s(e,t,">",r);e.exports=gtr},3465:(e,t,r)=>{const s=r(6782);const intersects=(e,t,r)=>{e=new s(e,r);t=new s(t,r);return e.intersects(t,r)};e.exports=intersects},5213:(e,t,r)=>{const s=r(280);const ltr=(e,t,r)=>s(e,t,"<",r);e.exports=ltr},5574:(e,t,r)=>{const s=r(7163);const n=r(6782);const maxSatisfying=(e,t,r)=>{let o=null;let i=null;let a=null;try{a=new n(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!o||i.compare(e)===-1){o=e;i=new s(o,r)}}}));return o};e.exports=maxSatisfying},8595:(e,t,r)=>{const s=r(7163);const n=r(6782);const minSatisfying=(e,t,r)=>{let o=null;let i=null;let a=null;try{a=new n(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!o||i.compare(e)===1){o=e;i=new s(o,r)}}}));return o};e.exports=minSatisfying},1866:(e,t,r)=>{const s=r(7163);const n=r(6782);const o=r(6599);const minVersion=(e,t)=>{e=new n(e,t);let r=new s("0.0.0");if(e.test(r)){return r}r=new s("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t{const t=new s(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||o(t,i)){i=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(i&&(!r||o(r,i))){r=i}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},280:(e,t,r)=>{const s=r(7163);const n=r(9379);const{ANY:o}=n;const i=r(6782);const a=r(8011);const A=r(6599);const c=r(3872);const l=r(6717);const u=r(1236);const outside=(e,t,r,d)=>{e=new s(e,d);t=new i(t,d);let p,g,m,h,E;switch(r){case">":p=A;g=l;m=c;h=">";E=">=";break;case"<":p=c;g=u;m=A;h="<";E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d)){return false}for(let r=0;r{if(e.semver===o){e=new n(">=0.0.0")}i=i||e;a=a||e;if(p(e.semver,i.semver,d)){i=e}else if(m(e.semver,a.semver,d)){a=e}}));if(i.operator===h||i.operator===E){return false}if((!a.operator||a.operator===h)&&g(e,a.semver)){return false}else if(a.operator===E&&m(e,a.semver)){return false}}return true};e.exports=outside},2028:(e,t,r)=>{const s=r(8011);const n=r(8469);e.exports=(e,t,r)=>{const o=[];let i=null;let a=null;const A=e.sort(((e,t)=>n(e,t,r)));for(const e of A){const n=s(e,t,r);if(n){a=e;if(!i){i=e}}else{if(a){o.push([i,a])}a=null;i=null}}if(i){o.push([i,null])}const c=[];for(const[e,t]of o){if(e===t){c.push(e)}else if(!t&&e===A[0]){c.push("*")}else if(!t){c.push(`>=${e}`)}else if(e===A[0]){c.push(`<=${t}`)}else{c.push(`${e} - ${t}`)}}const l=c.join(" || ");const u=typeof t.raw==="string"?t.raw:String(t);return l.length{const s=r(6782);const n=r(9379);const{ANY:o}=n;const i=r(8011);const a=r(8469);const subset=(e,t,r={})=>{if(e===t){return true}e=new s(e,r);t=new s(t,r);let n=false;e:for(const s of e.set){for(const e of t.set){const t=simpleSubset(s,e,r);n=n||t!==null;if(t){continue e}}if(n){return false}}return true};const A=[new n(">=0.0.0-0")];const c=[new n(">=0.0.0")];const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===o){if(t.length===1&&t[0].semver===o){return true}else if(r.includePrerelease){e=A}else{e=c}}if(t.length===1&&t[0].semver===o){if(r.includePrerelease){return true}else{t=c}}const s=new Set;let n,l;for(const t of e){if(t.operator===">"||t.operator===">="){n=higherGT(n,t,r)}else if(t.operator==="<"||t.operator==="<="){l=lowerLT(l,t,r)}else{s.add(t.semver)}}if(s.size>1){return null}let u;if(n&&l){u=a(n.semver,l.semver,r);if(u>0){return null}else if(u===0&&(n.operator!==">="||l.operator!=="<=")){return null}}for(const e of s){if(n&&!i(e,String(n),r)){return null}if(l&&!i(e,String(l),r)){return null}for(const s of t){if(!i(e,String(s),r)){return false}}return true}let d,p;let g,m;let h=l&&!r.includePrerelease&&l.semver.prerelease.length?l.semver:false;let E=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:false;if(h&&h.prerelease.length===1&&l.operator==="<"&&h.prerelease[0]===0){h=false}for(const e of t){m=m||e.operator===">"||e.operator===">=";g=g||e.operator==="<"||e.operator==="<=";if(n){if(E){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch){E=false}}if(e.operator===">"||e.operator===">="){d=higherGT(n,e,r);if(d===e&&d!==n){return false}}else if(n.operator===">="&&!i(n.semver,String(e),r)){return false}}if(l){if(h){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===h.major&&e.semver.minor===h.minor&&e.semver.patch===h.patch){h=false}}if(e.operator==="<"||e.operator==="<="){p=lowerLT(l,e,r);if(p===e&&p!==l){return false}}else if(l.operator==="<="&&!i(l.semver,String(e),r)){return false}}if(!e.operator&&(l||n)&&u!==0){return false}}if(n&&g&&!l&&u!==0){return false}if(l&&m&&!n&&u!==0){return false}if(E||h){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const s=a(e.semver,t.semver,r);return s>0?e:s<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const s=a(e.semver,t.semver,r);return s<0?e:s>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},4750:(e,t,r)=>{const s=r(6782);const toComparators=(e,t)=>new s(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},4737:(e,t,r)=>{const s=r(6782);const validRange=(e,t)=>{try{return new s(e,t).range||"*"}catch(e){return null}};e.exports=validRange},6496:e=>{const t=/^[-+]?0x[a-fA-F0-9]+$/;const r=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;if(!Number.parseInt&&window.parseInt){Number.parseInt=window.parseInt}if(!Number.parseFloat&&window.parseFloat){Number.parseFloat=window.parseFloat}const s={hex:true,leadingZeros:true,decimalPoint:".",eNotation:true};function toNumber(e,n={}){n=Object.assign({},s,n);if(!e||typeof e!=="string")return e;let o=e.trim();if(n.skipLike!==undefined&&n.skipLike.test(o))return e;else if(n.hex&&t.test(o)){return Number.parseInt(o,16)}else{const t=r.exec(o);if(t){const r=t[1];const s=t[2];let i=trimZeros(t[3]);const a=t[4]||t[6];if(!n.leadingZeros&&s.length>0&&r&&o[2]!==".")return e;else if(!n.leadingZeros&&s.length>0&&!r&&o[1]!==".")return e;else{const t=Number(o);const A=""+t;if(A.search(/[eE]/)!==-1){if(n.eNotation)return t;else return e}else if(a){if(n.eNotation)return t;else return e}else if(o.indexOf(".")!==-1){if(A==="0"&&i==="")return t;else if(A===i)return t;else if(r&&A==="-"+i)return t;else return e}if(s){if(i===A)return t;else if(r+i===A)return t;else return e}if(o===A)return t;else if(o===r+A)return t;return e}}else{return e}}}function trimZeros(e){if(e&&e.indexOf(".")!==-1){e=e.replace(/0+$/,"");if(e===".")e="0";else if(e[0]===".")e="0"+e;else if(e[e.length-1]===".")e=e.substr(0,e.length-1);return e}return e}e.exports=toNumber},1450:(e,t,r)=>{"use strict";const s=r(857);const n=r(2018);const o=r(3813);const{env:i}=process;let a;if(o("no-color")||o("no-colors")||o("color=false")||o("color=never")){a=0}else if(o("color")||o("colors")||o("color=true")||o("color=always")){a=1}if("FORCE_COLOR"in i){if(i.FORCE_COLOR==="true"){a=1}else if(i.FORCE_COLOR==="false"){a=0}else{a=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.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(a===0){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(e&&!t&&a===undefined){return 0}const r=a||0;if(i.TERM==="dumb"){return r}if(process.platform==="win32"){const e=s.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}return r}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,n.isatty(1))),stderr:translateLevel(supportsColor(true,n.isatty(2)))}},1860:e=>{var t;var r;var s;var n;var o;var i;var a;var A;var c;var l;var u;var d;var p;var g;var m;var h;var E;var C;var y;var I;var B;var Q;var b;var S;var R;var w;var N;var v;var x;var D;var T;var P;(function(t){var r=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(r,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(r,createExporter(e.exports)))}else{t(createExporter(r))}function createExporter(e,t){if(e!==r){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(r,s){return e[r]=t?t(r,s):s}}})((function(e){var k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");k(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};r=Object.assign||function(e){for(var t,r=1,s=arguments.length;r=0;a--)if(i=e[a])o=(n<3?i(o):n>3?i(t,r,o):i(t,r))||o;return n>3&&o&&Object.defineProperty(t,r,o),o};o=function(e,t){return function(r,s){t(r,s,e)}};i=function(e,t,r,s,n,o){function accept(e){if(e!==void 0&&typeof e!=="function")throw new TypeError("Function expected");return e}var i=s.kind,a=i==="getter"?"get":i==="setter"?"set":"value";var A=!t&&e?s["static"]?e:e.prototype:null;var c=t||(A?Object.getOwnPropertyDescriptor(A,s.name):{});var l,u=false;for(var d=r.length-1;d>=0;d--){var p={};for(var g in s)p[g]=g==="access"?{}:s[g];for(var g in s.access)p.access[g]=s.access[g];p.addInitializer=function(e){if(u)throw new TypeError("Cannot add initializers after decoration has completed");o.push(accept(e||null))};var m=(0,r[d])(i==="accessor"?{get:c.get,set:c.set}:c[a],p);if(i==="accessor"){if(m===void 0)continue;if(m===null||typeof m!=="object")throw new TypeError("Object expected");if(l=accept(m.get))c.get=l;if(l=accept(m.set))c.set=l;if(l=accept(m.init))n.unshift(l)}else if(l=accept(m)){if(i==="field")n.unshift(l);else c[a]=l}}if(A)Object.defineProperty(A,s.name,c);u=true};a=function(e,t,r){var s=arguments.length>2;for(var n=0;n0&&o[o.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]=e.length)e=void 0;return{value:e&&e[s++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};m=function(e,t){var r=typeof Symbol==="function"&&e[Symbol.iterator];if(!r)return e;var s=r.call(e),n,o=[],i;try{while((t===void 0||t-- >0)&&!(n=s.next()).done)o.push(n.value)}catch(e){i={error:e}}finally{try{if(n&&!n.done&&(r=s["return"]))r.call(s)}finally{if(i)throw i.error}}return o};h=function(){for(var e=[],t=0;t1||resume(e,t)}))};if(t)n[e]=t(n[e])}}function resume(e,t){try{step(s[e](t))}catch(e){settle(o[0][3],e)}}function step(e){e.value instanceof y?Promise.resolve(e.value.v).then(fulfill,reject):settle(o[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),o.shift(),o.length)resume(o[0][0],o[0][1])}};B=function(e){var t,r;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(s,n){t[s]=e[s]?function(t){return(r=!r)?{value:y(e[s](t)),done:false}:n?n(t):t}:n}};Q=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof g==="function"?g(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(s,n){r=e[t](r),settle(s,n,r.done,r.value)}))}}function settle(e,t,r,s){Promise.resolve(s).then((function(t){e({value:t,done:r})}),t)}};b=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var O=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 r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[t.length]=r;return t};return ownKeys(e)};S=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ownKeys(e),s=0;s{e.exports=r(218)},218:(e,t,r)=>{"use strict";var s=r(9278);var n=r(4756);var o=r(8611);var i=r(5692);var a=r(4434);var A=r(2613);var c=r(9023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=i.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||o.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,r,s,n){var o=toOptions(r,s,n);for(var i=0,a=t.requests.length;i=this.maxSockets){n.requests.push(o);return}n.createSocket(o,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){n.emit("free",t,o)}function onCloseOrRemove(e){n.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var s={};r.sockets.push(s);var n=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){n.localAddress=e.localAddress}if(n.proxyAuth){n.headers=n.headers||{};n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")}l("making CONNECT request");var o=r.request(n);o.useChunkedEncodingByDefault=false;o.once("response",onResponse);o.once("upgrade",onUpgrade);o.once("connect",onConnect);o.once("error",onError);o.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick((function(){onConnect(e,t,r)}))}function onConnect(n,i,a){o.removeAllListeners();i.removeAllListeners();if(n.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",n.statusCode);i.destroy();var A=new Error("tunneling socket could not be established, "+"statusCode="+n.statusCode);A.code="ECONNRESET";e.request.emit("error",A);r.removeSocket(s);return}if(a.length>0){l("got illegal response body from proxy");i.destroy();var A=new Error("got illegal response body from proxy");A.code="ECONNRESET";e.request.emit("error",A);r.removeSocket(s);return}l("tunneling connection has established");r.sockets[r.sockets.indexOf(s)]=i;return t(i)}function onError(t){o.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var n=new Error("tunneling socket could not be established, "+"cause="+t.message);n.code="ECONNRESET";e.request.emit("error",n);r.removeSocket(s)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,(function(e){r.request.onSocket(e)}))}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,(function(s){var o=e.request.getHeader("host");var i=mergeOptions({},r.options,{socket:s,servername:o?o.replace(/:.*$/,""):e.host});var a=n.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a;t(a)}))}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t{"use strict";const s=r(6197);const n=r(992);const o=r(8707);const i=r(5076);const a=r(1093);const A=r(9965);const c=r(3440);const{InvalidArgumentError:l}=o;const u=r(6615);const d=r(9136);const p=r(7365);const g=r(7501);const m=r(4004);const h=r(2429);const E=r(2720);const C=r(3573);const{getGlobalDispatcher:y,setGlobalDispatcher:I}=r(2581);const B=r(8840);const Q=r(8299);const b=r(4415);let S;try{r(6982);S=true}catch{S=false}Object.assign(n.prototype,u);e.exports.Dispatcher=n;e.exports.Client=s;e.exports.Pool=i;e.exports.BalancedPool=a;e.exports.Agent=A;e.exports.ProxyAgent=E;e.exports.RetryHandler=C;e.exports.DecoratorHandler=B;e.exports.RedirectHandler=Q;e.exports.createRedirectInterceptor=b;e.exports.buildConnector=d;e.exports.errors=o;function makeDispatcher(e){return(t,r,s)=>{if(typeof r==="function"){s=r;r=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new l("invalid url")}if(r!=null&&typeof r!=="object"){throw new l("invalid opts")}if(r&&r.path!=null){if(typeof r.path!=="string"){throw new l("invalid opts.path")}let e=r.path;if(!r.path.startsWith("/")){e=`/${e}`}t=new URL(c.parseOrigin(t).origin+e)}else{if(!r){r=typeof t==="object"?t:{}}t=c.parseURL(t)}const{agent:n,dispatcher:o=y()}=r;if(n){throw new l("unsupported opts.agent. Did you mean opts.client?")}return e.call(o,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}e.exports.setGlobalDispatcher=I;e.exports.getGlobalDispatcher=y;if(c.nodeMajor>16||c.nodeMajor===16&&c.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=r(2315).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=r(6349).Headers;e.exports.Response=r(8676).Response;e.exports.Request=r(5194).Request;e.exports.FormData=r(3073).FormData;e.exports.File=r(3041).File;e.exports.FileReader=r(2160).FileReader;const{setGlobalOrigin:s,getGlobalOrigin:n}=r(5628);e.exports.setGlobalOrigin=s;e.exports.getGlobalOrigin=n;const{CacheStorage:o}=r(4738);const{kConstruct:i}=r(296);e.exports.caches=new o(i)}if(c.nodeMajor>=16){const{deleteCookie:t,getCookies:s,getSetCookies:n,setCookie:o}=r(3168);e.exports.deleteCookie=t;e.exports.getCookies=s;e.exports.getSetCookies=n;e.exports.setCookie=o;const{parseMIMEType:i,serializeAMimeType:a}=r(4322);e.exports.parseMIMEType=i;e.exports.serializeAMimeType=a}if(c.nodeMajor>=18&&S){const{WebSocket:t}=r(5171);e.exports.WebSocket=t}e.exports.request=makeDispatcher(u.request);e.exports.stream=makeDispatcher(u.stream);e.exports.pipeline=makeDispatcher(u.pipeline);e.exports.connect=makeDispatcher(u.connect);e.exports.upgrade=makeDispatcher(u.upgrade);e.exports.MockClient=p;e.exports.MockPool=m;e.exports.MockAgent=g;e.exports.mockErrors=h},9965:(e,t,r)=>{"use strict";const{InvalidArgumentError:s}=r(8707);const{kClients:n,kRunning:o,kClose:i,kDestroy:a,kDispatch:A,kInterceptors:c}=r(6443);const l=r(1);const u=r(5076);const d=r(6197);const p=r(3440);const g=r(4415);const{WeakRef:m,FinalizationRegistry:h}=r(3194)();const E=Symbol("onConnect");const C=Symbol("onDisconnect");const y=Symbol("onConnectionError");const I=Symbol("maxRedirections");const B=Symbol("onDrain");const Q=Symbol("factory");const b=Symbol("finalizer");const S=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new d(e,t):new u(e,t)}class Agent extends l{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:r,...o}={}){super();if(typeof e!=="function"){throw new s("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new s("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new s("maxRedirections must be a positive number")}if(r&&typeof r!=="function"){r={...r}}this[c]=o.interceptors&&o.interceptors.Agent&&Array.isArray(o.interceptors.Agent)?o.interceptors.Agent:[g({maxRedirections:t})];this[S]={...p.deepClone(o),connect:r};this[S].interceptors=o.interceptors?{...o.interceptors}:undefined;this[I]=t;this[Q]=e;this[n]=new Map;this[b]=new h((e=>{const t=this[n].get(e);if(t!==undefined&&t.deref()===undefined){this[n].delete(e)}}));const i=this;this[B]=(e,t)=>{i.emit("drain",e,[i,...t])};this[E]=(e,t)=>{i.emit("connect",e,[i,...t])};this[C]=(e,t,r)=>{i.emit("disconnect",e,[i,...t],r)};this[y]=(e,t,r)=>{i.emit("connectionError",e,[i,...t],r)}}get[o](){let e=0;for(const t of this[n].values()){const r=t.deref();if(r){e+=r[o]}}return e}[A](e,t){let r;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){r=String(e.origin)}else{throw new s("opts.origin must be a non-empty string or URL.")}const o=this[n].get(r);let i=o?o.deref():null;if(!i){i=this[Q](e.origin,this[S]).on("drain",this[B]).on("connect",this[E]).on("disconnect",this[C]).on("connectionError",this[y]);this[n].set(r,new m(i));this[b].register(i,r)}return i.dispatch(e,t)}async[i](){const e=[];for(const t of this[n].values()){const r=t.deref();if(r){e.push(r.close())}}await Promise.all(e)}async[a](e){const t=[];for(const r of this[n].values()){const s=r.deref();if(s){t.push(s.destroy(e))}}await Promise.all(t)}}e.exports=Agent},158:(e,t,r)=>{const{addAbortListener:s}=r(3440);const{RequestAbortedError:n}=r(8707);const o=Symbol("kListener");const i=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new n)}}function addSignal(e,t){e[i]=null;e[o]=null;if(!t){return}if(t.aborted){abort(e);return}e[i]=t;e[o]=()=>{abort(e)};s(e[i],e[o])}function removeSignal(e){if(!e[i]){return}if("removeEventListener"in e[i]){e[i].removeEventListener("abort",e[o])}else{e[i].removeListener("abort",e[o])}e[i]=null;e[o]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},4660:(e,t,r)=>{"use strict";const{AsyncResource:s}=r(290);const{InvalidArgumentError:n,RequestAbortedError:o,SocketError:i}=r(8707);const a=r(3440);const{addSignal:A,removeSignal:c}=r(158);class ConnectHandler extends s{constructor(e,t){if(!e||typeof e!=="object"){throw new n("invalid opts")}if(typeof t!=="function"){throw new n("invalid callback")}const{signal:r,opaque:s,responseHeaders:o}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=s||null;this.responseHeaders=o||null;this.callback=t;this.abort=null;A(this,r)}onConnect(e,t){if(!this.callback){throw new o}this.abort=e;this.context=t}onHeaders(){throw new i("bad connect",null)}onUpgrade(e,t,r){const{callback:s,opaque:n,context:o}=this;c(this);this.callback=null;let i=t;if(i!=null){i=this.responseHeaders==="raw"?a.parseRawHeaders(t):a.parseHeaders(t)}this.runInAsyncScope(s,null,null,{statusCode:e,headers:i,socket:r,opaque:n,context:o})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,r)=>{connect.call(this,e,((e,s)=>e?r(e):t(s)))}))}try{const r=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=connect},6862:(e,t,r)=>{"use strict";const{Readable:s,Duplex:n,PassThrough:o}=r(2203);const{InvalidArgumentError:i,InvalidReturnValueError:a,RequestAbortedError:A}=r(8707);const c=r(3440);const{AsyncResource:l}=r(290);const{addSignal:u,removeSignal:d}=r(158);const p=r(2613);const g=Symbol("resume");class PipelineRequest extends s{constructor(){super({autoDestroy:true});this[g]=null}_read(){const{[g]:e}=this;if(e){this[g]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends s{constructor(e){super({autoDestroy:true});this[g]=e}_read(){this[g]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new A}t(e)}}class PipelineHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid handler")}const{signal:r,method:s,opaque:o,onInfo:a,responseHeaders:l}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new i("invalid method")}if(a&&typeof a!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=o||null;this.responseHeaders=l||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=a||null;this.req=(new PipelineRequest).on("error",c.nop);this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,r)=>{const{req:s}=this;if(s.push(e,t)||s._readableState.destroyed){r()}else{s[g]=r}},destroy:(e,t)=>{const{body:r,req:s,res:n,ret:o,abort:i}=this;if(!e&&!o._readableState.endEmitted){e=new A}if(i&&e){i()}c.destroy(r,e);c.destroy(s,e);c.destroy(n,e);d(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;u(this,r)}onConnect(e,t){const{ret:r,res:s}=this;p(!s,"pipeline cannot be retried");if(r.destroyed){throw new A}this.abort=e;this.context=t}onHeaders(e,t,r){const{opaque:s,handler:n,context:o}=this;if(e<200){if(this.onInfo){const r=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:r})}return}this.res=new PipelineResponse(r);let i;try{this.handler=null;const r=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);i=this.runInAsyncScope(n,null,{statusCode:e,headers:r,opaque:s,body:this.res,context:o})}catch(e){this.res.on("error",c.nop);throw e}if(!i||typeof i.on!=="function"){throw new a("expected Readable")}i.on("data",(e=>{const{ret:t,body:r}=this;if(!t.push(e)&&r.pause){r.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 A)}}));this.body=i}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 r=new PipelineHandler(e,t);this.dispatch({...e,body:r.req},r);return r.ret}catch(e){return(new o).destroy(e)}}e.exports=pipeline},4043:(e,t,r)=>{"use strict";const s=r(9927);const{InvalidArgumentError:n,RequestAbortedError:o}=r(8707);const i=r(3440);const{getResolveErrorBodyCallback:a}=r(7655);const{AsyncResource:A}=r(290);const{addSignal:c,removeSignal:l}=r(158);class RequestHandler extends A{constructor(e,t){if(!e||typeof e!=="object"){throw new n("invalid opts")}const{signal:r,method:s,opaque:o,body:a,onInfo:A,responseHeaders:l,throwOnError:u,highWaterMark:d}=e;try{if(typeof t!=="function"){throw new n("invalid callback")}if(d&&(typeof d!=="number"||d<0)){throw new n("invalid highWaterMark")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new n("invalid method")}if(A&&typeof A!=="function"){throw new n("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(i.isStream(a)){i.destroy(a.on("error",i.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=o||null;this.callback=t;this.res=null;this.abort=null;this.body=a;this.trailers={};this.context=null;this.onInfo=A||null;this.throwOnError=u;this.highWaterMark=d;if(i.isStream(a)){a.on("error",(e=>{this.onError(e)}))}c(this,r)}onConnect(e,t){if(!this.callback){throw new o}this.abort=e;this.context=t}onHeaders(e,t,r,n){const{callback:o,opaque:A,abort:c,context:l,responseHeaders:u,highWaterMark:d}=this;const p=u==="raw"?i.parseRawHeaders(t):i.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:p})}return}const g=u==="raw"?i.parseHeaders(t):p;const m=g["content-type"];const h=new s({resume:r,abort:c,contentType:m,highWaterMark:d});this.callback=null;this.res=h;if(o!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(a,null,{callback:o,body:h,contentType:m,statusCode:e,statusMessage:n,headers:p})}else{this.runInAsyncScope(o,null,null,{statusCode:e,headers:p,trailers:this.trailers,opaque:A,body:h,context:l})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;l(this);i.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:r,body:s,opaque:n}=this;l(this);if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}if(t){this.res=null;queueMicrotask((()=>{i.destroy(t,e)}))}if(s){this.body=null;i.destroy(s,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,r)=>{request.call(this,e,((e,s)=>e?r(e):t(s)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(r){if(typeof t!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,t,r)=>{"use strict";const{finished:s,PassThrough:n}=r(2203);const{InvalidArgumentError:o,InvalidReturnValueError:i,RequestAbortedError:a}=r(8707);const A=r(3440);const{getResolveErrorBodyCallback:c}=r(7655);const{AsyncResource:l}=r(290);const{addSignal:u,removeSignal:d}=r(158);class StreamHandler extends l{constructor(e,t,r){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:s,method:n,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:d}=e;try{if(typeof r!=="function"){throw new o("invalid callback")}if(typeof t!=="function"){throw new o("invalid factory")}if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new o("invalid method")}if(c&&typeof c!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(A.isStream(a)){A.destroy(a.on("error",A.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=i||null;this.factory=t;this.callback=r;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=a;this.onInfo=c||null;this.throwOnError=d||false;if(A.isStream(a)){a.on("error",(e=>{this.onError(e)}))}u(this,s)}onConnect(e,t){if(!this.callback){throw new a}this.abort=e;this.context=t}onHeaders(e,t,r,o){const{factory:a,opaque:l,context:u,callback:d,responseHeaders:p}=this;const g=p==="raw"?A.parseRawHeaders(t):A.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:g})}return}this.factory=null;let m;if(this.throwOnError&&e>=400){const r=p==="raw"?A.parseHeaders(t):g;const s=r["content-type"];m=new n;this.callback=null;this.runInAsyncScope(c,null,{callback:d,body:m,contentType:s,statusCode:e,statusMessage:o,headers:g})}else{if(a===null){return}m=this.runInAsyncScope(a,null,{statusCode:e,headers:g,opaque:l,context:u});if(!m||typeof m.write!=="function"||typeof m.end!=="function"||typeof m.on!=="function"){throw new i("expected Writable")}s(m,{readable:false},(e=>{const{callback:t,res:r,opaque:s,trailers:n,abort:o}=this;this.res=null;if(e||!r.readable){A.destroy(r,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:s,trailers:n});if(e){o()}}))}m.on("drain",r);this.res=m;const h=m.writableNeedDrain!==undefined?m.writableNeedDrain:m._writableState&&m._writableState.needDrain;return h!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;d(this);if(!t){return}this.trailers=A.parseHeaders(e);t.end()}onError(e){const{res:t,callback:r,opaque:s,body:n}=this;d(this);this.factory=null;if(t){this.res=null;A.destroy(t,e)}else if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}if(n){this.body=null;A.destroy(n,e)}}}function stream(e,t,r){if(r===undefined){return new Promise(((r,s)=>{stream.call(this,e,t,((e,t)=>e?s(e):r(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,r))}catch(t){if(typeof r!=="function"){throw t}const s=e&&e.opaque;queueMicrotask((()=>r(t,{opaque:s})))}}e.exports=stream},1882:(e,t,r)=>{"use strict";const{InvalidArgumentError:s,RequestAbortedError:n,SocketError:o}=r(8707);const{AsyncResource:i}=r(290);const a=r(3440);const{addSignal:A,removeSignal:c}=r(158);const l=r(2613);class UpgradeHandler extends i{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}if(typeof t!=="function"){throw new s("invalid callback")}const{signal:r,opaque:n,responseHeaders:o}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=o||null;this.opaque=n||null;this.callback=t;this.abort=null;this.context=null;A(this,r)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=null}onHeaders(){throw new o("bad upgrade",null)}onUpgrade(e,t,r){const{callback:s,opaque:n,context:o}=this;l.strictEqual(e,101);c(this);this.callback=null;const i=this.responseHeaders==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);this.runInAsyncScope(s,null,null,{headers:i,socket:r,opaque:n,context:o})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,r)=>{upgrade.call(this,e,((e,s)=>e?r(e):t(s)))}))}try{const r=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=upgrade},6615:(e,t,r)=>{"use strict";e.exports.request=r(4043);e.exports.stream=r(3560);e.exports.pipeline=r(6862);e.exports.upgrade=r(1882);e.exports.connect=r(4660)},9927:(e,t,r)=>{"use strict";const s=r(2613);const{Readable:n}=r(2203);const{RequestAbortedError:o,NotSupportedError:i,InvalidArgumentError:a}=r(8707);const A=r(3440);const{ReadableStreamFrom:c,toUSVString:l}=r(3440);let u;const d=Symbol("kConsume");const p=Symbol("kReading");const g=Symbol("kBody");const m=Symbol("abort");const h=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends n{constructor({resume:e,abort:t,contentType:r="",highWaterMark:s=64*1024}){super({autoDestroy:true,read:e,highWaterMark:s});this._readableState.dataEmitted=false;this[m]=t;this[d]=null;this[g]=null;this[h]=r;this[p]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new o}if(e){this[m]()}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[p]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const r=super.off(e,...t);if(e==="data"||e==="readable"){this[p]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return r}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[d]&&e!==null&&this.readableLength===0){consumePush(this[d],e);return this[p]?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 i}get bodyUsed(){return A.isDisturbed(this)}get body(){if(!this[g]){this[g]=c(this);if(this[d]){this[g].getReader();s(this[g].locked)}}return this[g]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const r=e&&e.signal;if(r){try{if(typeof r!=="object"||!("aborted"in r)){throw new a("signal must be an AbortSignal")}A.throwIfAborted(r)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,s)=>{const n=r?A.addAbortListener(r,(()=>{this.destroy()})):noop;this.on("close",(function(){n();if(r&&r.aborted){s(r.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[g]&&e[g].locked===true||e[d]}function isUnusable(e){return A.isDisturbed(e)||isLocked(e)}async function consume(e,t){if(isUnusable(e)){throw new TypeError("unusable")}s(!e[d]);return new Promise(((r,s)=>{e[d]={type:t,stream:e,resolve:r,reject:s,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[d],e)})).on("close",(function(){if(this[d].body!==null){consumeFinish(this[d],new o)}}));process.nextTick(consumeStart,e[d])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const r of t.buffer){consumePush(e,r)}if(t.endEmitted){consumeEnd(this[d])}else{e.stream.on("end",(function(){consumeEnd(this[d])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:t,body:s,resolve:n,stream:o,length:i}=e;try{if(t==="text"){n(l(Buffer.concat(s)))}else if(t==="json"){n(JSON.parse(Buffer.concat(s)))}else if(t==="arrayBuffer"){const e=new Uint8Array(i);let t=0;for(const r of s){e.set(r,t);t+=r.byteLength}n(e.buffer)}else if(t==="blob"){if(!u){u=r(181).Blob}n(new u(s,{type:o[h]}))}consumeFinish(e)}catch(e){o.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}},7655:(e,t,r)=>{const s=r(2613);const{ResponseStatusCodeError:n}=r(8707);const{toUSVString:o}=r(3440);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:r,statusCode:i,statusMessage:a,headers:A}){s(t);let c=[];let l=0;for await(const e of t){c.push(e);l+=e.length;if(l>128*1024){c=null;break}}if(i===204||!r||!c){process.nextTick(e,new n(`Response status code ${i}${a?`: ${a}`:""}`,i,A));return}try{if(r.startsWith("application/json")){const t=JSON.parse(o(Buffer.concat(c)));process.nextTick(e,new n(`Response status code ${i}${a?`: ${a}`:""}`,i,A,t));return}if(r.startsWith("text/")){const t=o(Buffer.concat(c));process.nextTick(e,new n(`Response status code ${i}${a?`: ${a}`:""}`,i,A,t));return}}catch(e){}process.nextTick(e,new n(`Response status code ${i}${a?`: ${a}`:""}`,i,A))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},1093:(e,t,r)=>{"use strict";const{BalancedPoolMissingUpstreamError:s,InvalidArgumentError:n}=r(8707);const{PoolBase:o,kClients:i,kNeedDrain:a,kAddClient:A,kRemoveClient:c,kGetDispatcher:l}=r(8640);const u=r(5076);const{kUrl:d,kInterceptors:p}=r(6443);const{parseOrigin:g}=r(3440);const m=Symbol("factory");const h=Symbol("options");const E=Symbol("kGreatestCommonDivisor");const C=Symbol("kCurrentWeight");const y=Symbol("kIndex");const I=Symbol("kWeight");const B=Symbol("kMaxWeightPerServer");const Q=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(t===0)return e;return getGreatestCommonDivisor(t,e%t)}function defaultFactory(e,t){return new u(e,t)}class BalancedPool extends o{constructor(e=[],{factory:t=defaultFactory,...r}={}){super();this[h]=r;this[y]=-1;this[C]=0;this[B]=this[h].maxWeightPerServer||100;this[Q]=this[h].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new n("factory must be a function.")}this[p]=r.interceptors&&r.interceptors.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[];this[m]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=g(e).origin;if(this[i].find((e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const r=this[m](t,Object.assign({},this[h]));this[A](r);r.on("connect",(()=>{r[I]=Math.min(this[B],r[I]+this[Q])}));r.on("connectionError",(()=>{r[I]=Math.max(1,r[I]-this[Q]);this._updateBalancedPoolStats()}));r.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){r[I]=Math.max(1,r[I]-this[Q]);this._updateBalancedPoolStats()}}));for(const e of this[i]){e[I]=this[B]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[E]=this[i].map((e=>e[I])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=g(e).origin;const r=this[i].find((e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true));if(r){this[c](r)}return this}get upstreams(){return this[i].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[d].origin))}[l](){if(this[i].length===0){throw new s}const e=this[i].find((e=>!e[a]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[i].map((e=>e[a])).reduce(((e,t)=>e&&t),true);if(t){return}let r=0;let n=this[i].findIndex((e=>!e[a]));while(r++this[i][n][I]&&!e[a]){n=this[y]}if(this[y]===0){this[C]=this[C]-this[E];if(this[C]<=0){this[C]=this[B]}}if(e[I]>=this[C]&&!e[a]){return e}}this[C]=this[i][n][I];this[y]=n;return this[i][n]}}e.exports=BalancedPool},479:(e,t,r)=>{"use strict";const{kConstruct:s}=r(296);const{urlEquals:n,fieldValues:o}=r(3993);const{kEnumerableProperty:i,isDisturbed:a}=r(3440);const{kHeadersList:A}=r(6443);const{webidl:c}=r(4222);const{Response:l,cloneResponse:u}=r(8676);const{Request:d}=r(5194);const{kState:p,kHeaders:g,kGuard:m,kRealm:h}=r(9710);const{fetching:E}=r(2315);const{urlIsHttpHttpsScheme:C,createDeferredPromise:y,readAllBytes:I}=r(5523);const B=r(2613);const{getGlobalDispatcher:Q}=r(2581);class Cache{#e;constructor(){if(arguments[0]!==s){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 r=await this.matchAll(e,t);if(r.length===0){return}return r[0]}async matchAll(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let r=null;if(e!==undefined){if(e instanceof d){r=e[p];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new d(e)[p]}}const s=[];if(e===undefined){for(const e of this.#e){s.push(e[1])}}else{const e=this.#t(r,t);for(const t of e){s.push(t[1])}}const n=[];for(const e of s){const t=new l(e.body?.source??null);const r=t[p].body;t[p]=e;t[p].body=r;t[g][A]=e.headersList;t[g][m]="immutable";n.push(t)}return Object.freeze(n)}async add(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=c.converters.RequestInfo(e);const t=[e];const r=this.addAll(t);return await r}async addAll(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=c.converters["sequence"](e);const t=[];const r=[];for(const t of e){if(typeof t==="string"){continue}const e=t[p];if(!C(e.url)||e.method!=="GET"){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const s=[];for(const n of e){const e=new d(n)[p];if(!C(e.url)){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";r.push(e);const i=y();s.push(E({request:e,dispatcher:Q(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){i.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=o(e.headersList.get("vary"));for(const e of t){if(e==="*"){i.reject(c.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of s){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){i.reject(new DOMException("aborted","AbortError"));return}i.resolve(e)}}));t.push(i.promise)}const n=Promise.all(t);const i=await n;const a=[];let A=0;for(const e of i){const t={type:"put",request:r[A],response:e};a.push(t);A++}const l=y();let u=null;try{this.#r(a)}catch(e){u=e}queueMicrotask((()=>{if(u===null){l.resolve(undefined)}else{l.reject(u)}}));return l.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 r=null;if(e instanceof d){r=e[p]}else{r=new d(e)[p]}if(!C(r.url)||r.method!=="GET"){throw c.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const s=t[p];if(s.status===206){throw c.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(s.headersList.contains("vary")){const e=o(s.headersList.get("vary"));for(const t of e){if(t==="*"){throw c.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(s.body&&(a(s.body.stream)||s.body.stream.locked)){throw c.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const n=u(s);const i=y();if(s.body!=null){const e=s.body.stream;const t=e.getReader();I(t).then(i.resolve,i.reject)}else{i.resolve(undefined)}const A=[];const l={type:"put",request:r,response:n};A.push(l);const g=await i.promise;if(n.body!=null){n.body.source=g}const m=y();let h=null;try{this.#r(A)}catch(e){h=e}queueMicrotask((()=>{if(h===null){m.resolve()}else{m.reject(h)}}));return m.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 r=null;if(e instanceof d){r=e[p];if(r.method!=="GET"&&!t.ignoreMethod){return false}}else{B(typeof e==="string");r=new d(e)[p]}const s=[];const n={type:"delete",request:r,options:t};s.push(n);const o=y();let i=null;let a;try{a=this.#r(s)}catch(e){i=e}queueMicrotask((()=>{if(i===null){o.resolve(!!a?.length)}else{o.reject(i)}}));return o.promise}async keys(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let r=null;if(e!==undefined){if(e instanceof d){r=e[p];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new d(e)[p]}}const s=y();const n=[];if(e===undefined){for(const e of this.#e){n.push(e[0])}}else{const e=this.#t(r,t);for(const t of e){n.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of n){const r=new d("https://a");r[p]=t;r[g][A]=t.headersList;r[g][m]="immutable";r[h]=t.client;e.push(r)}s.resolve(Object.freeze(e))}));return s.promise}#r(e){const t=this.#e;const r=[...t];const s=[];const n=[];try{for(const r of e){if(r.type!=="delete"&&r.type!=="put"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(r.type==="delete"&&r.response!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(r.request,r.options,s).length){throw new DOMException("???","InvalidStateError")}let e;if(r.type==="delete"){e=this.#t(r.request,r.options);if(e.length===0){return[]}for(const r of e){const e=t.indexOf(r);B(e!==-1);t.splice(e,1)}}else if(r.type==="put"){if(r.response==null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const n=r.request;if(!C(n.url)){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(n.method!=="GET"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(r.options!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(r.request);for(const r of e){const e=t.indexOf(r);B(e!==-1);t.splice(e,1)}t.push([r.request,r.response]);s.push([r.request,r.response])}n.push([r.request,r.response])}return n}catch(e){this.#e.length=0;this.#e=r;throw e}}#t(e,t,r){const s=[];const n=r??this.#e;for(const r of n){const[n,o]=r;if(this.#s(e,n,o,t)){s.push(r)}}return s}#s(e,t,r=null,s){const i=new URL(e.url);const a=new URL(t.url);if(s?.ignoreSearch){a.search="";i.search=""}if(!n(i,a,true)){return false}if(r==null||s?.ignoreVary||!r.headersList.contains("vary")){return true}const A=o(r.headersList.get("vary"));for(const r of A){if(r==="*"){return false}const s=t.headersList.get(r);const n=e.headersList.get(r);if(s!==n){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:i,matchAll:i,add:i,addAll:i,put:i,delete:i,keys:i});const b=[{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(b);c.converters.MultiCacheQueryOptions=c.dictionaryConverter([...b,{key:"cacheName",converter:c.converters.DOMString}]);c.converters.Response=c.interfaceConverter(l);c.converters["sequence"]=c.sequenceConverter(c.converters.RequestInfo);e.exports={Cache:Cache}},4738:(e,t,r)=>{"use strict";const{kConstruct:s}=r(296);const{Cache:n}=r(479);const{webidl:o}=r(4222);const{kEnumerableProperty:i}=r(3440);class CacheStorage{#n=new Map;constructor(){if(arguments[0]!==s){o.illegalConstructor()}}async match(e,t={}){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=o.converters.RequestInfo(e);t=o.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#n.has(t.cacheName)){const r=this.#n.get(t.cacheName);const o=new n(s,r);return await o.match(e,t)}}else{for(const r of this.#n.values()){const o=new n(s,r);const i=await o.match(e,t);if(i!==undefined){return i}}}}async has(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=o.converters.DOMString(e);return this.#n.has(e)}async open(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=o.converters.DOMString(e);if(this.#n.has(e)){const t=this.#n.get(e);return new n(s,t)}const t=[];this.#n.set(e,t);return new n(s,t)}async delete(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=o.converters.DOMString(e);return this.#n.delete(e)}async keys(){o.brandCheck(this,CacheStorage);const e=this.#n.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:i,has:i,open:i,delete:i,keys:i});e.exports={CacheStorage:CacheStorage}},296:(e,t,r)=>{"use strict";e.exports={kConstruct:r(6443).kConstruct}},3993:(e,t,r)=>{"use strict";const s=r(2613);const{URLSerializer:n}=r(4322);const{isValidHeaderName:o}=r(5523);function urlEquals(e,t,r=false){const s=n(e,r);const o=n(t,r);return s===o}function fieldValues(e){s(e!==null);const t=[];for(let r of e.split(",")){r=r.trim();if(!r.length){continue}else if(!o(r)){continue}t.push(r)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},6197:(e,t,r)=>{"use strict";const s=r(2613);const n=r(9278);const o=r(8611);const{pipeline:i}=r(2203);const a=r(3440);const A=r(8804);const c=r(4655);const l=r(1);const{RequestContentLengthMismatchError:u,ResponseContentLengthMismatchError:d,InvalidArgumentError:p,RequestAbortedError:g,HeadersTimeoutError:m,HeadersOverflowError:h,SocketError:E,InformationalError:C,BodyTimeoutError:y,HTTPParserError:I,ResponseExceededMaxSizeError:B,ClientDestroyedError:Q}=r(8707);const b=r(9136);const{kUrl:S,kReset:R,kServerName:w,kClient:N,kBusy:v,kParser:x,kConnect:D,kBlocking:T,kResuming:P,kRunning:k,kPending:O,kSize:L,kWriting:F,kQueue:M,kConnected:U,kConnecting:_,kNeedDrain:H,kNoRef:G,kKeepAliveDefaultTimeout:q,kHostHeader:z,kPendingIdx:V,kRunningIdx:j,kError:Y,kPipelining:J,kSocket:W,kKeepAliveTimeoutValue:$,kMaxHeadersSize:X,kKeepAliveMaxTimeout:K,kKeepAliveTimeoutThreshold:Z,kHeadersTimeout:ee,kBodyTimeout:te,kStrictContentLength:re,kConnector:se,kMaxRedirections:ne,kMaxRequests:oe,kCounter:ie,kClose:ae,kDestroy:Ae,kDispatch:ce,kInterceptors:le,kLocalAddress:ue,kMaxResponseSize:de,kHTTPConnVersion:pe,kHost:ge,kHTTP2Session:me,kHTTP2SessionState:he,kHTTP2BuildRequest:fe,kHTTP2CopyHeaders:Ee,kHTTP1BuildRequest:Ce}=r(6443);let ye;try{ye=r(5675)}catch{ye={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Ie,HTTP2_HEADER_METHOD:Be,HTTP2_HEADER_PATH:Qe,HTTP2_HEADER_SCHEME:be,HTTP2_HEADER_CONTENT_LENGTH:Se,HTTP2_HEADER_EXPECT:Re,HTTP2_HEADER_STATUS:we}}=ye;let Ne=false;const ve=Buffer[Symbol.species];const xe=Symbol("kClosedResolve");const De={};try{const e=r(1637);De.sendHeaders=e.channel("undici:client:sendHeaders");De.beforeConnect=e.channel("undici:client:beforeConnect");De.connectError=e.channel("undici:client:connectError");De.connected=e.channel("undici:client:connected")}catch{De.sendHeaders={hasSubscribers:false};De.beforeConnect={hasSubscribers:false};De.connectError={hasSubscribers:false};De.connected={hasSubscribers:false}}class Client extends l{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:s,socketTimeout:i,requestTimeout:A,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:d,keepAliveTimeout:g,maxKeepAliveTimeout:m,keepAliveMaxTimeout:h,keepAliveTimeoutThreshold:E,socketPath:C,pipelining:y,tls:I,strictContentLength:B,maxCachedSessions:Q,maxRedirections:R,connect:N,maxRequestsPerClient:v,localAddress:x,maxResponseSize:D,autoSelectFamily:T,autoSelectFamilyAttemptTimeout:k,allowH2:O,maxConcurrentStreams:L}={}){super();if(d!==undefined){throw new p("unsupported keepAlive, use pipelining=0 instead")}if(i!==undefined){throw new p("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(A!==undefined){throw new p("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(u!==undefined){throw new p("unsupported idleTimeout, use keepAliveTimeout instead")}if(m!==undefined){throw new p("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(r!=null&&!Number.isFinite(r)){throw new p("invalid maxHeaderSize")}if(C!=null&&typeof C!=="string"){throw new p("invalid socketPath")}if(c!=null&&(!Number.isFinite(c)||c<0)){throw new p("invalid connectTimeout")}if(g!=null&&(!Number.isFinite(g)||g<=0)){throw new p("invalid keepAliveTimeout")}if(h!=null&&(!Number.isFinite(h)||h<=0)){throw new p("invalid keepAliveMaxTimeout")}if(E!=null&&!Number.isFinite(E)){throw new p("invalid keepAliveTimeoutThreshold")}if(s!=null&&(!Number.isInteger(s)||s<0)){throw new p("headersTimeout must be a positive integer or zero")}if(l!=null&&(!Number.isInteger(l)||l<0)){throw new p("bodyTimeout must be a positive integer or zero")}if(N!=null&&typeof N!=="function"&&typeof N!=="object"){throw new p("connect must be a function or an object")}if(R!=null&&(!Number.isInteger(R)||R<0)){throw new p("maxRedirections must be a positive number")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new p("maxRequestsPerClient must be a positive number")}if(x!=null&&(typeof x!=="string"||n.isIP(x)===0)){throw new p("localAddress must be valid string IP address")}if(D!=null&&(!Number.isInteger(D)||D<-1)){throw new p("maxResponseSize must be a positive number")}if(k!=null&&(!Number.isInteger(k)||k<-1)){throw new p("autoSelectFamilyAttemptTimeout must be a positive number")}if(O!=null&&typeof O!=="boolean"){throw new p("allowH2 must be a valid boolean value")}if(L!=null&&(typeof L!=="number"||L<1)){throw new p("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof N!=="function"){N=b({...I,maxCachedSessions:Q,allowH2:O,socketPath:C,timeout:c,...a.nodeHasAutoSelectFamily&&T?{autoSelectFamily:T,autoSelectFamilyAttemptTimeout:k}:undefined,...N})}this[le]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[Pe({maxRedirections:R})];this[S]=a.parseOrigin(e);this[se]=N;this[W]=null;this[J]=y!=null?y:1;this[X]=r||o.maxHeaderSize;this[q]=g==null?4e3:g;this[K]=h==null?6e5:h;this[Z]=E==null?1e3:E;this[$]=this[q];this[w]=null;this[ue]=x!=null?x:null;this[P]=0;this[H]=0;this[z]=`host: ${this[S].hostname}${this[S].port?`:${this[S].port}`:""}\r\n`;this[te]=l!=null?l:3e5;this[ee]=s!=null?s:3e5;this[re]=B==null?true:B;this[ne]=R;this[oe]=v;this[xe]=null;this[de]=D>-1?D:-1;this[pe]="h1";this[me]=null;this[he]=!O?null:{openStreams:0,maxConcurrentStreams:L!=null?L:100};this[ge]=`${this[S].hostname}${this[S].port?`:${this[S].port}`:""}`;this[M]=[];this[j]=0;this[V]=0}get pipelining(){return this[J]}set pipelining(e){this[J]=e;resume(this,true)}get[O](){return this[M].length-this[V]}get[k](){return this[V]-this[j]}get[L](){return this[M].length-this[j]}get[U](){return!!this[W]&&!this[_]&&!this[W].destroyed}get[v](){const e=this[W];return e&&(e[R]||e[F]||e[T])||this[L]>=(this[J]||1)||this[O]>0}[D](e){connect(this);this.once("connect",e)}[ce](e,t){const r=e.origin||this[S].origin;const s=this[pe]==="h2"?c[fe](r,e,t):c[Ce](r,e,t);this[M].push(s);if(this[P]){}else if(a.bodyLength(s.body)==null&&a.isIterable(s.body)){this[P]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[P]&&this[H]!==2&&this[v]){this[H]=2}return this[H]<2}async[ae](){return new Promise((e=>{if(!this[L]){e(null)}else{this[xe]=e}}))}async[Ae](e){return new Promise((t=>{const r=this[M].splice(this[V]);for(let t=0;t{if(this[xe]){this[xe]();this[xe]=null}t()};if(this[me]!=null){a.destroy(this[me],e);this[me]=null;this[he]=null}if(!this[W]){queueMicrotask(callback)}else{a.destroy(this[W].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){s(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[W][Y]=e;onError(this[N],e)}function onHttp2FrameError(e,t,r){const s=new C(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(r===0){this[W][Y]=s;onError(this[N],s)}}function onHttp2SessionEnd(){a.destroy(this,new E("other side closed"));a.destroy(this[W],new E("other side closed"))}function onHTTP2GoAway(e){const t=this[N];const r=new C(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[W]=null;t[me]=null;if(t.destroyed){s(this[O]===0);const e=t[M].splice(t[j]);for(let t=0;t0){const e=t[M][t[j]];t[M][t[j]++]=null;errorRequest(t,e,r)}t[V]=t[j];s(t[k]===0);t.emit("disconnect",t[S],[t],r);resume(t)}const Te=r(2824);const Pe=r(4415);const ke=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?r(3870):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(r(3434),"base64"))}catch(s){t=await WebAssembly.compile(Buffer.from(e||r(3870),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{s.strictEqual(Fe.ptr,e);const n=t-_e+Me.byteOffset;return Fe.onStatus(new ve(Me.buffer,n,r))||0},wasm_on_message_begin:e=>{s.strictEqual(Fe.ptr,e);return Fe.onMessageBegin()||0},wasm_on_header_field:(e,t,r)=>{s.strictEqual(Fe.ptr,e);const n=t-_e+Me.byteOffset;return Fe.onHeaderField(new ve(Me.buffer,n,r))||0},wasm_on_header_value:(e,t,r)=>{s.strictEqual(Fe.ptr,e);const n=t-_e+Me.byteOffset;return Fe.onHeaderValue(new ve(Me.buffer,n,r))||0},wasm_on_headers_complete:(e,t,r,n)=>{s.strictEqual(Fe.ptr,e);return Fe.onHeadersComplete(t,Boolean(r),Boolean(n))||0},wasm_on_body:(e,t,r)=>{s.strictEqual(Fe.ptr,e);const n=t-_e+Me.byteOffset;return Fe.onBody(new ve(Me.buffer,n,r))||0},wasm_on_message_complete:e=>{s.strictEqual(Fe.ptr,e);return Fe.onMessageComplete()||0}}})}let Oe=null;let Le=lazyllhttp();Le.catch();let Fe=null;let Me=null;let Ue=0;let _e=null;const He=1;const Ge=2;const qe=3;class Parser{constructor(e,t,{exports:r}){s(Number.isFinite(e[X])&&e[X]>0);this.llhttp=r;this.ptr=this.llhttp.llhttp_alloc(Te.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[X];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[de]}setTimeout(e,t){this.timeoutType=t;if(e!==this.timeoutValue){A.clearTimeout(this.timeout);if(e){this.timeout=A.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}s(this.ptr!=null);s(Fe==null);this.llhttp.llhttp_resume(this.ptr);s(this.timeoutType===Ge);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||ke);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){s(this.ptr!=null);s(Fe==null);s(!this.paused);const{socket:t,llhttp:r}=this;if(e.length>Ue){if(_e){r.free(_e)}Ue=Math.ceil(e.length/4096)*4096;_e=r.malloc(Ue)}new Uint8Array(r.memory.buffer,_e,Ue).set(e);try{let s;try{Me=e;Fe=this;s=r.llhttp_execute(this.ptr,_e,e.length)}catch(e){throw e}finally{Fe=null;Me=null}const n=r.llhttp_get_error_pos(this.ptr)-_e;if(s===Te.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(n))}else if(s===Te.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(n))}else if(s!==Te.ERROR.OK){const t=r.llhttp_get_error_reason(this.ptr);let o="";if(t){const e=new Uint8Array(r.memory.buffer,t).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,t,e).toString()+")"}throw new I(o,Te.ERROR[s],e.slice(n))}}catch(e){a.destroy(t,e)}}destroy(){s(this.ptr!=null);s(Fe==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;A.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 r=t[M][t[j]];if(!r){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 r=this.headers[t-2];if(r.length===10&&r.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(r.length===10&&r.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(r.length===14&&r.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){a.destroy(this.socket,new h)}}onUpgrade(e){const{upgrade:t,client:r,socket:n,headers:o,statusCode:i}=this;s(t);const A=r[M][r[j]];s(A);s(!n.destroyed);s(n===r[W]);s(!this.paused);s(A.upgrade||A.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;s(this.headers.length%2===0);this.headers=[];this.headersSize=0;n.unshift(e);n[x].destroy();n[x]=null;n[N]=null;n[Y]=null;n.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);r[W]=null;r[M][r[j]++]=null;r.emit("disconnect",r[S],[r],new C("upgrade"));try{A.onUpgrade(i,o,n)}catch(e){a.destroy(n,e)}resume(r)}onHeadersComplete(e,t,r){const{client:n,socket:o,headers:i,statusText:A}=this;if(o.destroyed){return-1}const c=n[M][n[j]];if(!c){return-1}s(!this.upgrade);s(this.statusCode<200);if(e===100){a.destroy(o,new E("bad response",a.getSocketInfo(o)));return-1}if(t&&!c.upgrade){a.destroy(o,new E("bad upgrade",a.getSocketInfo(o)));return-1}s.strictEqual(this.timeoutType,He);this.statusCode=e;this.shouldKeepAlive=r||c.method==="HEAD"&&!o[R]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=c.bodyTimeout!=null?c.bodyTimeout:n[te];this.setTimeout(e,Ge)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(c.method==="CONNECT"){s(n[k]===1);this.upgrade=true;return 2}if(t){s(n[k]===1);this.upgrade=true;return 2}s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&n[J]){const e=this.keepAlive?a.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-n[Z],n[K]);if(t<=0){o[R]=true}else{n[$]=t}}else{n[$]=n[q]}}else{o[R]=true}const l=c.onHeaders(e,i,this.resume,A)===false;if(c.aborted){return-1}if(c.method==="HEAD"){return 1}if(e<200){return 1}if(o[T]){o[T]=false;resume(n)}return l?Te.ERROR.PAUSED:0}onBody(e){const{client:t,socket:r,statusCode:n,maxResponseSize:o}=this;if(r.destroyed){return-1}const i=t[M][t[j]];s(i);s.strictEqual(this.timeoutType,Ge);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}s(n>=200);if(o>-1&&this.bytesRead+e.length>o){a.destroy(r,new B);return-1}this.bytesRead+=e.length;if(i.onData(e)===false){return Te.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:r,upgrade:n,headers:o,contentLength:i,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c)){return-1}if(n){return}const l=e[M][e[j]];s(l);s(r>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(r<200){return}if(l.method!=="HEAD"&&i&&A!==parseInt(i,10)){a.destroy(t,new d);return-1}l.onComplete(o);e[M][e[j]++]=null;if(t[F]){s.strictEqual(e[k],0);a.destroy(t,new C("reset"));return Te.ERROR.PAUSED}else if(!c){a.destroy(t,new C("reset"));return Te.ERROR.PAUSED}else if(t[R]&&e[k]===0){a.destroy(t,new C("reset"));return Te.ERROR.PAUSED}else if(e[J]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:r,client:n}=e;if(r===He){if(!t[F]||t.writableNeedDrain||n[k]>1){s(!e.paused,"cannot be paused while waiting for headers");a.destroy(t,new m)}}else if(r===Ge){if(!e.paused){a.destroy(t,new y)}}else if(r===qe){s(n[k]===0&&n[$]);a.destroy(t,new C("socket idle timeout"))}}function onSocketReadable(){const{[x]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[N]:t,[x]:r}=this;s(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[pe]!=="h2"){if(e.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}}this[Y]=e;onError(this[N],e)}function onError(e,t){if(e[k]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){s(e[V]===e[j]);const r=e[M].splice(e[j]);for(let s=0;s0&&r.code!=="UND_ERR_INFO"){const t=e[M][e[j]];e[M][e[j]++]=null;errorRequest(e,t,r)}e[V]=e[j];s(e[k]===0);e.emit("disconnect",e[S],[e],r);resume(e)}async function connect(e){s(!e[_]);s(!e[W]);let{host:t,hostname:r,protocol:o,port:i}=e[S];if(r[0]==="["){const e=r.indexOf("]");s(e!==-1);const t=r.substring(1,e);s(n.isIP(t));r=t}e[_]=true;if(De.beforeConnect.hasSubscribers){De.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[w],localAddress:e[ue]},connector:e[se]})}try{const n=await new Promise(((s,n)=>{e[se]({host:t,hostname:r,protocol:o,port:i,servername:e[w],localAddress:e[ue]},((e,t)=>{if(e){n(e)}else{s(t)}}))}));if(e.destroyed){a.destroy(n.on("error",(()=>{})),new Q);return}e[_]=false;s(n);const A=n.alpnProtocol==="h2";if(A){if(!Ne){Ne=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=ye.connect(e[S],{createConnection:()=>n,peerMaxConcurrentStreams:e[he].maxConcurrentStreams});e[pe]="h2";t[N]=e;t[W]=n;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[me]=t;n[me]=t}else{if(!Oe){Oe=await Le;Le=null}n[G]=false;n[F]=false;n[R]=false;n[T]=false;n[x]=new Parser(e,n,Oe)}n[ie]=0;n[oe]=e[oe];n[N]=e;n[Y]=null;n.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[W]=n;if(De.connected.hasSubscribers){De.connected.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[w],localAddress:e[ue]},connector:e[se],socket:n})}e.emit("connect",e[S],[e])}catch(n){if(e.destroyed){return}e[_]=false;if(De.connectError.hasSubscribers){De.connectError.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[w],localAddress:e[ue]},connector:e[se],error:n})}if(n.code==="ERR_TLS_CERT_ALTNAME_INVALID"){s(e[k]===0);while(e[O]>0&&e[M][e[V]].servername===e[w]){const t=e[M][e[V]++];errorRequest(e,t,n)}}else{onError(e,n)}e.emit("connectionError",e[S],[e],n)}resume(e)}function emitDrain(e){e[H]=0;e.emit("drain",e[S],[e])}function resume(e,t){if(e[P]===2){return}e[P]=2;_resume(e,t);e[P]=0;if(e[j]>256){e[M].splice(0,e[j]);e[V]-=e[j];e[j]=0}}function _resume(e,t){while(true){if(e.destroyed){s(e[O]===0);return}if(e[xe]&&!e[L]){e[xe]();e[xe]=null;return}const r=e[W];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(e[L]===0){if(!r[G]&&r.unref){r.unref();r[G]=true}}else if(r[G]&&r.ref){r.ref();r[G]=false}if(e[L]===0){if(r[x].timeoutType!==qe){r[x].setTimeout(e[$],qe)}}else if(e[k]>0&&r[x].statusCode<200){if(r[x].timeoutType!==He){const t=e[M][e[j]];const s=t.headersTimeout!=null?t.headersTimeout:e[ee];r[x].setTimeout(s,He)}}}if(e[v]){e[H]=2}else if(e[H]===2){if(t){e[H]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[O]===0){return}if(e[k]>=(e[J]||1)){return}const n=e[M][e[V]];if(e[S].protocol==="https:"&&e[w]!==n.servername){if(e[k]>0){return}e[w]=n.servername;if(r&&r.servername!==n.servername){a.destroy(r,new C("servername changed"));return}}if(e[_]){return}if(!r&&!e[me]){connect(e);return}if(r.destroyed||r[F]||r[R]||r[T]){return}if(e[k]>0&&!n.idempotent){return}if(e[k]>0&&(n.upgrade||n.method==="CONNECT")){return}if(e[k]>0&&a.bodyLength(n.body)!==0&&(a.isStream(n.body)||a.isAsyncIterable(n.body))){return}if(!n.aborted&&write(e,n)){e[V]++}else{e[M].splice(e[V],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[pe]==="h2"){writeH2(e,e[me],t);return}const{body:r,method:n,path:o,host:i,upgrade:A,headers:c,blocking:l,reset:d}=t;const p=n==="PUT"||n==="POST"||n==="PATCH";if(r&&typeof r.read==="function"){r.read(0)}const m=a.bodyLength(r);let h=m;if(h===null){h=t.contentLength}if(h===0&&!p){h=null}if(shouldSendContentLength(n)&&h>0&&t.contentLength!==null&&t.contentLength!==h){if(e[re]){errorRequest(e,t,new u);return false}process.emitWarning(new u)}const E=e[W];try{t.onConnect((r=>{if(t.aborted||t.completed){return}errorRequest(e,t,r||new g);a.destroy(E,new C("aborted"))}))}catch(r){errorRequest(e,t,r)}if(t.aborted){return false}if(n==="HEAD"){E[R]=true}if(A||n==="CONNECT"){E[R]=true}if(d!=null){E[R]=d}if(e[oe]&&E[ie]++>=e[oe]){E[R]=true}if(l){E[T]=true}let y=`${n} ${o} HTTP/1.1\r\n`;if(typeof i==="string"){y+=`host: ${i}\r\n`}else{y+=e[z]}if(A){y+=`connection: upgrade\r\nupgrade: ${A}\r\n`}else if(e[J]&&!E[R]){y+="connection: keep-alive\r\n"}else{y+="connection: close\r\n"}if(c){y+=c}if(De.sendHeaders.hasSubscribers){De.sendHeaders.publish({request:t,headers:y,socket:E})}if(!r||m===0){if(h===0){E.write(`${y}content-length: 0\r\n\r\n`,"latin1")}else{s(h===null,"no body must not have content length");E.write(`${y}\r\n`,"latin1")}t.onRequestSent()}else if(a.isBuffer(r)){s(h===r.byteLength,"buffer body must have content length");E.cork();E.write(`${y}content-length: ${h}\r\n\r\n`,"latin1");E.write(r);E.uncork();t.onBodySent(r);t.onRequestSent();if(!p){E[R]=true}}else if(a.isBlobLike(r)){if(typeof r.stream==="function"){writeIterable({body:r.stream(),client:e,request:t,socket:E,contentLength:h,header:y,expectsPayload:p})}else{writeBlob({body:r,client:e,request:t,socket:E,contentLength:h,header:y,expectsPayload:p})}}else if(a.isStream(r)){writeStream({body:r,client:e,request:t,socket:E,contentLength:h,header:y,expectsPayload:p})}else if(a.isIterable(r)){writeIterable({body:r,client:e,request:t,socket:E,contentLength:h,header:y,expectsPayload:p})}else{s(false)}return true}function writeH2(e,t,r){const{body:n,method:o,path:i,host:A,upgrade:l,expectContinue:d,signal:p,headers:m}=r;let h;if(typeof m==="string")h=c[Ee](m.trim());else h=m;if(l){errorRequest(e,r,new Error("Upgrade not supported for H2"));return false}try{r.onConnect((t=>{if(r.aborted||r.completed){return}errorRequest(e,r,t||new g)}))}catch(t){errorRequest(e,r,t)}if(r.aborted){return false}let E;const y=e[he];h[Ie]=A||e[ge];h[Be]=o;if(o==="CONNECT"){t.ref();E=t.request(h,{endStream:false,signal:p});if(E.id&&!E.pending){r.onUpgrade(null,null,E);++y.openStreams}else{E.once("ready",(()=>{r.onUpgrade(null,null,E);++y.openStreams}))}E.once("close",(()=>{y.openStreams-=1;if(y.openStreams===0)t.unref()}));return true}h[Qe]=i;h[be]="https";const I=o==="PUT"||o==="POST"||o==="PATCH";if(n&&typeof n.read==="function"){n.read(0)}let B=a.bodyLength(n);if(B==null){B=r.contentLength}if(B===0||!I){B=null}if(shouldSendContentLength(o)&&B>0&&r.contentLength!=null&&r.contentLength!==B){if(e[re]){errorRequest(e,r,new u);return false}process.emitWarning(new u)}if(B!=null){s(n,"no body must not have content length");h[Se]=`${B}`}t.ref();const Q=o==="GET"||o==="HEAD";if(d){h[Re]="100-continue";E=t.request(h,{endStream:Q,signal:p});E.once("continue",writeBodyH2)}else{E=t.request(h,{endStream:Q,signal:p});writeBodyH2()}++y.openStreams;E.once("response",(e=>{const{[we]:t,...s}=e;if(r.onHeaders(Number(t),s,E.resume.bind(E),"")===false){E.pause()}}));E.once("end",(()=>{r.onComplete([])}));E.on("data",(e=>{if(r.onData(e)===false){E.pause()}}));E.once("close",(()=>{y.openStreams-=1;if(y.openStreams===0){t.unref()}}));E.once("error",(function(t){if(e[me]&&!e[me].destroyed&&!this.closed&&!this.destroyed){y.streams-=1;a.destroy(E,t)}}));E.once("frameError",((t,s)=>{const n=new C(`HTTP/2: "frameError" received - type ${t}, code ${s}`);errorRequest(e,r,n);if(e[me]&&!e[me].destroyed&&!this.closed&&!this.destroyed){y.streams-=1;a.destroy(E,n)}}));return true;function writeBodyH2(){if(!n){r.onRequestSent()}else if(a.isBuffer(n)){s(B===n.byteLength,"buffer body must have content length");E.cork();E.write(n);E.uncork();E.end();r.onBodySent(n);r.onRequestSent()}else if(a.isBlobLike(n)){if(typeof n.stream==="function"){writeIterable({client:e,request:r,contentLength:B,h2stream:E,expectsPayload:I,body:n.stream(),socket:e[W],header:""})}else{writeBlob({body:n,client:e,request:r,contentLength:B,expectsPayload:I,h2stream:E,header:"",socket:e[W]})}}else if(a.isStream(n)){writeStream({body:n,client:e,request:r,contentLength:B,expectsPayload:I,socket:e[W],h2stream:E,header:""})}else if(a.isIterable(n)){writeIterable({body:n,client:e,request:r,contentLength:B,expectsPayload:I,header:"",h2stream:E,socket:e[W]})}else{s(false)}}}function writeStream({h2stream:e,body:t,client:r,request:n,socket:o,contentLength:A,header:c,expectsPayload:l}){s(A!==0||r[k]===0,"stream body cannot be pipelined");if(r[pe]==="h2"){const p=i(t,e,(r=>{if(r){a.destroy(t,r);a.destroy(e,r)}else{n.onRequestSent()}}));p.on("data",onPipeData);p.once("end",(()=>{p.removeListener("data",onPipeData);a.destroy(p)}));function onPipeData(e){n.onBodySent(e)}return}let u=false;const d=new AsyncWriter({socket:o,request:n,contentLength:A,client:r,expectsPayload:l,header:c});const onData=function(e){if(u){return}try{if(!d.write(e)&&this.pause){this.pause()}}catch(e){a.destroy(this,e)}};const onDrain=function(){if(u){return}if(t.resume){t.resume()}};const onAbort=function(){if(u){return}const e=new g;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(u){return}u=true;s(o.destroyed||o[F]&&r[k]<=1);o.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{d.end()}catch(t){e=t}}d.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){a.destroy(t,e)}else{a.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(t.resume){t.resume()}o.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:r,request:n,socket:o,contentLength:i,header:A,expectsPayload:c}){s(i===t.size,"blob body must have content length");const l=r[pe]==="h2";try{if(i!=null&&i!==t.size){throw new u}const s=Buffer.from(await t.arrayBuffer());if(l){e.cork();e.write(s);e.uncork()}else{o.cork();o.write(`${A}content-length: ${i}\r\n\r\n`,"latin1");o.write(s);o.uncork()}n.onBodySent(s);n.onRequestSent();if(!c){o[R]=true}resume(r)}catch(t){a.destroy(l?e:o,t)}}async function writeIterable({h2stream:e,body:t,client:r,request:n,socket:o,contentLength:i,header:a,expectsPayload:A}){s(i!==0||r[k]===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)=>{s(c===null);if(o[Y]){t(o[Y])}else{c=e}}));if(r[pe]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const r of t){if(o[Y]){throw o[Y]}const t=e.write(r);n.onBodySent(r);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{n.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}o.on("close",onDrain).on("drain",onDrain);const l=new AsyncWriter({socket:o,request:n,contentLength:i,client:r,expectsPayload:A,header:a});try{for await(const e of t){if(o[Y]){throw o[Y]}if(!l.write(e)){await waitForDrain()}}l.end()}catch(e){l.destroy(e)}finally{o.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:r,client:s,expectsPayload:n,header:o}){this.socket=e;this.request=t;this.contentLength=r;this.client=s;this.bytesWritten=0;this.expectsPayload=n;this.header=o;e[F]=true}write(e){const{socket:t,request:r,contentLength:s,client:n,bytesWritten:o,expectsPayload:i,header:a}=this;if(t[Y]){throw t[Y]}if(t.destroyed){return false}const A=Buffer.byteLength(e);if(!A){return true}if(s!==null&&o+A>s){if(n[re]){throw new u}process.emitWarning(new u)}t.cork();if(o===0){if(!i){t[R]=true}if(s===null){t.write(`${a}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${a}content-length: ${s}\r\n\r\n`,"latin1")}}if(s===null){t.write(`\r\n${A.toString(16)}\r\n`,"latin1")}this.bytesWritten+=A;const c=t.write(e);t.uncork();r.onBodySent(e);if(!c){if(t[x].timeout&&t[x].timeoutType===He){if(t[x].timeout.refresh){t[x].timeout.refresh()}}}return c}end(){const{socket:e,contentLength:t,client:r,bytesWritten:s,expectsPayload:n,header:o,request:i}=this;i.onRequestSent();e[F]=false;if(e[Y]){throw e[Y]}if(e.destroyed){return}if(s===0){if(n){e.write(`${o}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${o}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&s!==t){if(r[re]){throw new u}else{process.emitWarning(new u)}}if(e[x].timeout&&e[x].timeoutType===He){if(e[x].timeout.refresh){e[x].timeout.refresh()}}resume(r)}destroy(e){const{socket:t,client:r}=this;t[F]=false;if(e){s(r[k]<=1,"pipeline should only contain this request");a.destroy(t,e)}}}function errorRequest(e,t,r){try{t.onError(r);s(t.aborted)}catch(r){e.emit("error",r)}}e.exports=Client},3194:(e,t,r)=>{"use strict";const{kConnected:s,kSize:n}=r(6443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[s]===0&&this.value[n]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[s]===0&&e[n]===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}}},9237:e=>{"use strict";const t=1024;const r=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:r}},3168:(e,t,r)=>{"use strict";const{parseSetCookie:s}=r(8915);const{stringify:n,getHeadersList:o}=r(3834);const{webidl:i}=r(4222);const{Headers:a}=r(6349);function getCookies(e){i.argumentLengthCheck(arguments,1,{header:"getCookies"});i.brandCheck(e,a,{strict:false});const t=e.get("cookie");const r={};if(!t){return r}for(const e of t.split(";")){const[t,...s]=e.split("=");r[t.trim()]=s.join("=")}return r}function deleteCookie(e,t,r){i.argumentLengthCheck(arguments,2,{header:"deleteCookie"});i.brandCheck(e,a,{strict:false});t=i.converters.DOMString(t);r=i.converters.DeleteCookieAttributes(r);setCookie(e,{name:t,value:"",expires:new Date(0),...r})}function getSetCookies(e){i.argumentLengthCheck(arguments,1,{header:"getSetCookies"});i.brandCheck(e,a,{strict:false});const t=o(e).cookies;if(!t){return[]}return t.map((e=>s(Array.isArray(e)?e[1]:e)))}function setCookie(e,t){i.argumentLengthCheck(arguments,2,{header:"setCookie"});i.brandCheck(e,a,{strict:false});t=i.converters.Cookie(t);const r=n(t);if(r){e.append("Set-Cookie",n(t))}}i.converters.DeleteCookieAttributes=i.dictionaryConverter([{converter:i.nullableConverter(i.converters.DOMString),key:"path",defaultValue:null},{converter:i.nullableConverter(i.converters.DOMString),key:"domain",defaultValue:null}]);i.converters.Cookie=i.dictionaryConverter([{converter:i.converters.DOMString,key:"name"},{converter:i.converters.DOMString,key:"value"},{converter:i.nullableConverter((e=>{if(typeof e==="number"){return i.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:i.nullableConverter(i.converters["long long"]),key:"maxAge",defaultValue:null},{converter:i.nullableConverter(i.converters.DOMString),key:"domain",defaultValue:null},{converter:i.nullableConverter(i.converters.DOMString),key:"path",defaultValue:null},{converter:i.nullableConverter(i.converters.boolean),key:"secure",defaultValue:null},{converter:i.nullableConverter(i.converters.boolean),key:"httpOnly",defaultValue:null},{converter:i.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:i.sequenceConverter(i.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(e,t,r)=>{"use strict";const{maxNameValuePairSize:s,maxAttributeValueSize:n}=r(9237);const{isCTLExcludingHtab:o}=r(3834);const{collectASequenceOfCodePointsFast:i}=r(4322);const a=r(2613);function parseSetCookie(e){if(o(e)){return null}let t="";let r="";let n="";let a="";if(e.includes(";")){const s={position:0};t=i(";",e,s);r=e.slice(s.position)}else{t=e}if(!t.includes("=")){a=t}else{const e={position:0};n=i("=",t,e);a=t.slice(e.position+1)}n=n.trim();a=a.trim();if(n.length+a.length>s){return null}return{name:n,value:a,...parseUnparsedAttributes(r)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}a(e[0]===";");e=e.slice(1);let r="";if(e.includes(";")){r=i(";",e,{position:0});e=e.slice(r.length)}else{r=e;e=""}let s="";let o="";if(r.includes("=")){const e={position:0};s=i("=",r,e);o=r.slice(e.position+1)}else{s=r}s=s.trim();o=o.trim();if(o.length>n){return parseUnparsedAttributes(e,t)}const A=s.toLowerCase();if(A==="expires"){const e=new Date(o);t.expires=e}else if(A==="max-age"){const r=o.charCodeAt(0);if((r<48||r>57)&&o[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(o)){return parseUnparsedAttributes(e,t)}const s=Number(o);t.maxAge=s}else if(A==="domain"){let e=o;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(A==="path"){let e="";if(o.length===0||o[0]!=="/"){e="/"}else{e=o}t.path=e}else if(A==="secure"){t.secure=true}else if(A==="httponly"){t.httpOnly=true}else if(A==="samesite"){let e="Default";const r=o.toLowerCase();if(r.includes("none")){e="None"}if(r.includes("strict")){e="Strict"}if(r.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${s}=${o}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:(e,t,r)=>{"use strict";const s=r(2613);const{kHeadersList:n}=r(6443);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 r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const s=t[e.getUTCDay()];const n=e.getUTCDate().toString().padStart(2,"0");const o=r[e.getUTCMonth()];const i=e.getUTCFullYear();const a=e.getUTCHours().toString().padStart(2,"0");const A=e.getUTCMinutes().toString().padStart(2,"0");const c=e.getUTCSeconds().toString().padStart(2,"0");return`${s}, ${n} ${o} ${i} ${a}:${A}:${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 r of e.unparsed){if(!r.includes("=")){throw new Error("Invalid unparsed")}const[e,...s]=r.split("=");t.push(`${e.trim()}=${s.join("=")}`)}return t.join("; ")}let o;function getHeadersList(e){if(e[n]){return e[n]}if(!o){o=Object.getOwnPropertySymbols(e).find((e=>e.description==="headers list"));s(o,"Headers cannot be parsed")}const t=e[o];s(t);return t}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},9136:(e,t,r)=>{"use strict";const s=r(9278);const n=r(2613);const o=r(3440);const{InvalidArgumentError:i,ConnectTimeoutError:a}=r(8707);let A;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:a,timeout:l,...u}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new i("maxCachedSessions must be a positive integer or zero")}const d={path:a,...u};const p=new c(t==null?100:t);l=l==null?1e4:l;e=e!=null?e:false;return function connect({hostname:t,host:i,protocol:a,port:c,servername:u,localAddress:g,httpSocket:m},h){let E;if(a==="https:"){if(!A){A=r(4756)}u=u||d.servername||o.getServerName(i)||null;const s=u||t;const a=p.get(s)||null;n(s);E=A.connect({highWaterMark:16384,...d,servername:u,session:a,localAddress:g,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:m,port:c||443,host:t});E.on("session",(function(e){p.set(s,e)}))}else{n(!m,"httpSocket can only be sent on TLS update");E=s.connect({highWaterMark:64*1024,...d,localAddress:g,port:c||80,host:t})}if(d.keepAlive==null||d.keepAlive){const e=d.keepAliveInitialDelay===undefined?6e4:d.keepAliveInitialDelay;E.setKeepAlive(true,e)}const C=setupTimeout((()=>onConnectTimeout(E)),l);E.setNoDelay(true).once(a==="https:"?"secureConnect":"connect",(function(){C();if(h){const e=h;h=null;e(null,this)}})).on("error",(function(e){C();if(h){const t=h;h=null;t(e)}}));return E}}function setupTimeout(e,t){if(!t){return()=>{}}let r=null;let s=null;const n=setTimeout((()=>{r=setImmediate((()=>{if(process.platform==="win32"){s=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(n);clearImmediate(r);clearImmediate(s)}}function onConnectTimeout(e){o.destroy(e,new a)}e.exports=buildConnector},735:e=>{"use strict";const t={};const r=["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{"use strict";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,r,s){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=s;this.status=t;this.statusCode=t;this.headers=r}}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,r){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=r?r.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:r,data:s}){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=s;this.headers=r}}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}},4655:(e,t,r)=>{"use strict";const{InvalidArgumentError:s,NotSupportedError:n}=r(8707);const o=r(2613);const{kHTTP2BuildRequest:i,kHTTP2CopyHeaders:a,kHTTP1BuildRequest:A}=r(6443);const c=r(3440);const l=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const u=/[^\t\x20-\x7e\x80-\xff]/;const d=/[^\u0021-\u00ff]/;const p=Symbol("handler");const g={};let m;try{const e=r(1637);g.create=e.channel("undici:request:create");g.bodySent=e.channel("undici:request:bodySent");g.headers=e.channel("undici:request:headers");g.trailers=e.channel("undici:request:trailers");g.error=e.channel("undici:request:error")}catch{g.create={hasSubscribers:false};g.bodySent={hasSubscribers:false};g.headers={hasSubscribers:false};g.trailers={hasSubscribers:false};g.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:n,body:o,headers:i,query:a,idempotent:A,blocking:u,upgrade:h,headersTimeout:E,bodyTimeout:C,reset:y,throwOnError:I,expectContinue:B},Q){if(typeof t!=="string"){throw new s("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&n!=="CONNECT"){throw new s("path must be an absolute URL or start with a slash")}else if(d.exec(t)!==null){throw new s("invalid request path")}if(typeof n!=="string"){throw new s("method must be a string")}else if(l.exec(n)===null){throw new s("invalid request method")}if(h&&typeof h!=="string"){throw new s("upgrade must be a string")}if(E!=null&&(!Number.isFinite(E)||E<0)){throw new s("invalid headersTimeout")}if(C!=null&&(!Number.isFinite(C)||C<0)){throw new s("invalid bodyTimeout")}if(y!=null&&typeof y!=="boolean"){throw new s("invalid reset")}if(B!=null&&typeof B!=="boolean"){throw new s("invalid expectContinue")}this.headersTimeout=E;this.bodyTimeout=C;this.throwOnError=I===true;this.method=n;this.abort=null;if(o==null){this.body=null}else if(c.isStream(o)){this.body=o;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(o)){this.body=o.byteLength?o:null}else if(ArrayBuffer.isView(o)){this.body=o.buffer.byteLength?Buffer.from(o.buffer,o.byteOffset,o.byteLength):null}else if(o instanceof ArrayBuffer){this.body=o.byteLength?Buffer.from(o):null}else if(typeof o==="string"){this.body=o.length?Buffer.from(o):null}else if(c.isFormDataLike(o)||c.isIterable(o)||c.isBlobLike(o)){this.body=o}else{throw new s("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=h||null;this.path=a?c.buildURL(t,a):t;this.origin=e;this.idempotent=A==null?n==="HEAD"||n==="GET":A;this.blocking=u==null?false:u;this.reset=y==null?null:y;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=B!=null?B:false;if(Array.isArray(i)){if(i.length%2!==0){throw new s("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,r)=>{"use strict";const s=r(2613);const{kDestroyed:n,kBodyUsed:o}=r(6443);const{IncomingMessage:i}=r(8611);const a=r(2203);const A=r(9278);const{InvalidArgumentError:c}=r(8707);const{Blob:l}=r(181);const u=r(9023);const{stringify:d}=r(3480);const{headerNameLowerCasedRecord:p}=r(735);const[g,m]=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 l&&e instanceof l||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 r=d(t);if(r){e+="?"+r}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 r=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let s=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r.endsWith("/")){r=r.substring(0,r.length-1)}if(s&&!s.startsWith("/")){s=`/${s}`}e=new URL(r+s)}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("]");s(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}s.strictEqual(typeof e,"string");const t=getHostname(e);if(A.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[n])}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===i){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[n]=true}}const h=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(h);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return p[e]||e.toLowerCase()}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let r=0;re.toString("utf8")))}else{t[s]=e[r+1].toString("utf8")}}else{if(!Array.isArray(n)){n=[n];t[s]=n}n.push(e[r+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 r=false;let s=-1;for(let n=0;n{e.close()}))}else{const t=Buffer.isBuffer(s)?s:Buffer.from(s);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 C=!!String.prototype.toWellFormed;function toUSVString(e){if(C){return`${e}`.toWellFormed()}else if(u.toUSVString){return u.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 y=Object.create(null);y.enumerable=true;e.exports={kEnumerableProperty:y,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:g,nodeMinor:m,nodeHasAutoSelectFamily:g>18||g===18&&m>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},1:(e,t,r)=>{"use strict";const s=r(992);const{ClientDestroyedError:n,ClientClosedError:o,InvalidArgumentError:i}=r(8707);const{kDestroy:a,kClose:A,kDispatch:c,kInterceptors:l}=r(6443);const u=Symbol("destroyed");const d=Symbol("closed");const p=Symbol("onDestroyed");const g=Symbol("onClosed");const m=Symbol("Intercepted Dispatch");class DispatcherBase extends s{constructor(){super();this[u]=false;this[p]=null;this[d]=false;this[g]=[]}get destroyed(){return this[u]}get closed(){return this[d]}get interceptors(){return this[l]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[l][t];if(typeof e!=="function"){throw new i("interceptor must be an function")}}}this[l]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((r,s)=>r?t(r):e(s)))}))}if(typeof e!=="function"){throw new i("invalid callback")}if(this[u]){queueMicrotask((()=>e(new n,null)));return}if(this[d]){if(this[g]){this[g].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[d]=true;this[g].push(e);const onClosed=()=>{const e=this[g];this[g]=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,r)=>{this.destroy(e,((e,s)=>e?r(e):t(s)))}))}if(typeof t!=="function"){throw new i("invalid callback")}if(this[u]){if(this[p]){this[p].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new n}this[u]=true;this[p]=this[p]||[];this[p].push(t);const onDestroyed=()=>{const e=this[p];this[p]=null;for(let t=0;t{queueMicrotask(onDestroyed)}))}[m](e,t){if(!this[l]||this[l].length===0){this[m]=this[c];return this[c](e,t)}let r=this[c].bind(this);for(let e=this[l].length-1;e>=0;e--){r=this[l][e](r)}this[m]=r;return r(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new i("handler must be an object")}try{if(!e||typeof e!=="object"){throw new i("opts must be an object.")}if(this[u]||this[p]){throw new n}if(this[d]){throw new o}return this[m](e,t)}catch(e){if(typeof t.onError!=="function"){throw new i("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},992:(e,t,r)=>{"use strict";const s=r(4434);class Dispatcher extends s{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},8923:(e,t,r)=>{"use strict";const s=r(9581);const n=r(3440);const{ReadableStreamFrom:o,isBlobLike:i,isReadableStreamLike:a,readableStreamClose:A,createDeferredPromise:c,fullyReadBody:l}=r(5523);const{FormData:u}=r(3073);const{kState:d}=r(9710);const{webidl:p}=r(4222);const{DOMException:g,structuredClone:m}=r(7326);const{Blob:h,File:E}=r(181);const{kBodyUsed:C}=r(6443);const y=r(2613);const{isErrored:I}=r(3440);const{isUint8Array:B,isArrayBuffer:Q}=r(8253);const{File:b}=r(3041);const{parseMIMEType:S,serializeAMimeType:R}=r(4322);let w=globalThis.ReadableStream;const N=E??b;const v=new TextEncoder;const x=new TextDecoder;function extractBody(e,t=false){if(!w){w=r(3774).ReadableStream}let s=null;if(e instanceof w){s=e}else if(i(e)){s=e.stream()}else{s=new w({async pull(e){e.enqueue(typeof l==="string"?v.encode(l):l);queueMicrotask((()=>A(e)))},start(){},type:undefined})}y(a(s));let c=null;let l=null;let u=null;let d=null;if(typeof e==="string"){l=e;d="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){l=e.toString();d="application/x-www-form-urlencoded;charset=UTF-8"}else if(Q(e)){l=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(n.isFormDataLike(e)){const t=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const r=`--${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 s=[];const n=new Uint8Array([13,10]);u=0;let o=false;for(const[t,i]of e){if(typeof i==="string"){const e=v.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(i)}\r\n`);s.push(e);u+=e.byteLength}else{const e=v.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(i.name?`; filename="${escape(i.name)}"`:"")+"\r\n"+`Content-Type: ${i.type||"application/octet-stream"}\r\n\r\n`);s.push(e,i,n);if(typeof i.size==="number"){u+=e.byteLength+i.size+n.byteLength}else{o=true}}}const i=v.encode(`--${t}--`);s.push(i);u+=i.byteLength;if(o){u=null}l=e;c=async function*(){for(const e of s){if(e.stream){yield*e.stream()}else{yield e}}};d="multipart/form-data; boundary="+t}else if(i(e)){l=e;u=e.size;if(e.type){d=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(n.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}s=e instanceof w?e:o(e)}if(typeof l==="string"||n.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){let t;s=new w({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:n}=await t.next();if(n){queueMicrotask((()=>{e.close()}))}else{if(!I(s)){e.enqueue(new Uint8Array(r))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const p={stream:s,source:l,length:u};return[p,d]}function safelyExtractBody(e,t=false){if(!w){w=r(3774).ReadableStream}if(e instanceof w){y(!n.isDisturbed(e),"The body has already been consumed.");y(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,r]=e.stream.tee();const s=m(r,{transfer:[r]});const[,n]=s.tee();e.stream=t;return{stream:n,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(B(e)){yield e}else{const t=e.stream;if(n.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[C]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new g("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=R(t)}return new h([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(){p.brandCheck(this,e);throwIfAborted(this[d]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,r]of this.headers)e[t.toLowerCase()]=r;const t=new u;let r;try{r=new s({headers:e,preservePath:true})}catch(e){throw new g(`${e}`,"AbortError")}r.on("field",((e,r)=>{t.append(e,r)}));r.on("file",((e,r,s,n,o)=>{const i=[];if(n==="base64"||n.toLowerCase()==="base64"){let n="";r.on("data",(e=>{n+=e.toString().replace(/[\r\n]/gm,"");const t=n.length-n.length%4;i.push(Buffer.from(n.slice(0,t),"base64"));n=n.slice(t)}));r.on("end",(()=>{i.push(Buffer.from(n,"base64"));t.append(e,new N(i,s,{type:o}))}))}else{r.on("data",(e=>{i.push(e)}));r.on("end",(()=>{t.append(e,new N(i,s,{type:o}))}))}}));const n=new Promise(((e,t)=>{r.on("finish",e);r.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[d].body))r.write(e);r.end();await n;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const r=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[d].body)){if(!B(e)){throw new TypeError("Expected Uint8Array chunk")}t+=r.decode(e,{stream:true})}t+=r.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new u;for(const[r,s]of e){t.append(r,s)}return t}else{await Promise.resolve();throwIfAborted(this[d]);throw p.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,r){p.brandCheck(e,r);throwIfAborted(e[d]);if(bodyUnusable(e[d].body)){throw new TypeError("Body is unusable")}const s=c();const errorSteps=e=>s.reject(e);const successSteps=e=>{try{s.resolve(t(e))}catch(e){errorSteps(e)}};if(e[d].body==null){successSteps(new Uint8Array);return s.promise}await l(e[d].body,successSteps,errorSteps);return s.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||n.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=x.decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:t}=e[d];const r=t.get("content-type");if(r===null){return"failure"}return S(r)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},7326:(e,t,r)=>{"use strict";const{MessageChannel:s,receiveMessageOnPort:n}=r(8167);const o=["GET","HEAD","POST"];const i=new Set(o);const a=[101,204,205,304];const A=[301,302,303,307,308];const c=new Set(A);const l=["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 u=new Set(l);const d=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const p=new Set(d);const g=["follow","manual","error"];const m=["GET","HEAD","OPTIONS","TRACE"];const h=new Set(m);const E=["navigate","same-origin","no-cors","cors"];const C=["omit","same-origin","include"];const y=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const I=["content-encoding","content-language","content-location","content-type","content-length"];const B=["half"];const Q=["CONNECT","TRACE","TRACK"];const b=new Set(Q);const S=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const R=new Set(S);const w=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let N;const v=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!N){N=new s}N.port1.unref();N.port2.unref();N.port1.postMessage(e,t?.transfer);return n(N.port2).message};e.exports={DOMException:w,structuredClone:v,subresource:S,forbiddenMethods:Q,requestBodyHeader:I,referrerPolicy:d,requestRedirect:g,requestMode:E,requestCredentials:C,requestCache:y,redirectStatus:A,corsSafeListedMethods:o,nullBodyStatus:a,safeMethods:m,badPorts:l,requestDuplex:B,subresourceSet:R,badPortsSet:u,redirectStatusSet:c,corsSafeListedMethodsSet:i,safeMethodsSet:h,forbiddenMethodsSet:b,referrerPolicySet:p}},4322:(e,t,r)=>{const s=r(2613);const{atob:n}=r(181);const{isomorphicDecode:o}=r(5523);const i=new TextEncoder;const a=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const A=/(\u000A|\u000D|\u0009|\u0020)/;const c=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){s(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let n=collectASequenceOfCodePointsFast(",",t,r);const i=n.length;n=removeASCIIWhitespace(n,true,true);if(r.position>=t.length){return"failure"}r.position++;const a=t.slice(i+1);let A=stringPercentDecode(a);if(/;(\u0020){0,}base64$/i.test(n)){const e=o(A);A=forgivingBase64(e);if(A==="failure"){return"failure"}n=n.slice(0,-6);n=n.replace(/(\u0020)+$/,"");n=n.slice(0,-1)}if(n.startsWith(";")){n="text/plain"+n}let c=parseMIMEType(n);if(c==="failure"){c=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:c,body:A}}function URLSerializer(e,t=false){if(!t){return e.href}const r=e.href;const s=e.hash.length;return s===0?r:r.substring(0,r.length-s)}function collectASequenceOfCodePoints(e,t,r){let s="";while(r.positione.length){return"failure"}t.position++;let s=collectASequenceOfCodePointsFast(";",e,t);s=removeHTTPWhitespace(s,false,true);if(s.length===0||!a.test(s)){return"failure"}const n=r.toLowerCase();const o=s.toLowerCase();const i={type:n,subtype:o,parameters:new Map,essence:`${n}/${o}`};while(t.positionA.test(e)),e,t);let r=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);r=r.toLowerCase();if(t.positione.length){break}let s=null;if(e[t.position]==='"'){s=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{s=collectASequenceOfCodePointsFast(";",e,t);s=removeHTTPWhitespace(s,false,true);if(s.length===0){continue}}if(r.length!==0&&a.test(r)&&(s.length===0||c.test(s))&&!i.parameters.has(r)){i.parameters.set(r,s)}}return i}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=n(e);const r=new Uint8Array(t.length);for(let e=0;ee!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const r=e[t.position];t.position++;if(r==="\\"){if(t.position>=e.length){o+="\\";break}o+=e[t.position];t.position++}else{s(r==='"');break}}if(r){return o}return e.slice(n,t.position)}function serializeAMimeType(e){s(e!=="failure");const{parameters:t,essence:r}=e;let n=r;for(let[e,r]of t.entries()){n+=";";n+=e;n+="=";if(!a.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}n+=r}return n}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,r=true){let s=0;let n=e.length-1;if(t){for(;s0&&isHTTPWhiteSpace(e[n]);n--);}return e.slice(s,n+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,r=true){let s=0;let n=e.length-1;if(t){for(;s0&&isASCIIWhitespace(e[n]);n--);}return e.slice(s,n+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},3041:(e,t,r)=>{"use strict";const{Blob:s,File:n}=r(181);const{types:o}=r(9023);const{kState:i}=r(9710);const{isBlobLike:a}=r(5523);const{webidl:A}=r(4222);const{parseMIMEType:c,serializeAMimeType:l}=r(4322);const{kEnumerableProperty:u}=r(3440);const d=new TextEncoder;class File extends s{constructor(e,t,r={}){A.argumentLengthCheck(arguments,2,{header:"File constructor"});e=A.converters["sequence"](e);t=A.converters.USVString(t);r=A.converters.FilePropertyBag(r);const s=t;let n=r.type;let o;e:{if(n){n=c(n);if(n==="failure"){n="";break e}n=l(n).toLowerCase()}o=r.lastModified}super(processBlobParts(e,r),{type:n});this[i]={name:s,lastModified:o,type:n}}get name(){A.brandCheck(this,File);return this[i].name}get lastModified(){A.brandCheck(this,File);return this[i].lastModified}get type(){A.brandCheck(this,File);return this[i].type}}class FileLike{constructor(e,t,r={}){const s=t;const n=r.type;const o=r.lastModified??Date.now();this[i]={blobLike:e,name:s,type:n,lastModified:o}}stream(...e){A.brandCheck(this,FileLike);return this[i].blobLike.stream(...e)}arrayBuffer(...e){A.brandCheck(this,FileLike);return this[i].blobLike.arrayBuffer(...e)}slice(...e){A.brandCheck(this,FileLike);return this[i].blobLike.slice(...e)}text(...e){A.brandCheck(this,FileLike);return this[i].blobLike.text(...e)}get size(){A.brandCheck(this,FileLike);return this[i].blobLike.size}get type(){A.brandCheck(this,FileLike);return this[i].blobLike.type}get name(){A.brandCheck(this,FileLike);return this[i].name}get lastModified(){A.brandCheck(this,FileLike);return this[i].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:u,lastModified:u});A.converters.Blob=A.interfaceConverter(s);A.converters.BlobPart=function(e,t){if(A.util.Type(e)==="Object"){if(a(e)){return A.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||o.isAnyArrayBuffer(e)){return A.converters.BufferSource(e,t)}}return A.converters.USVString(e,t)};A.converters["sequence"]=A.sequenceConverter(A.converters.BlobPart);A.converters.FilePropertyBag=A.dictionaryConverter([{key:"lastModified",converter:A.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:A.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>{e=A.converters.DOMString(e);e=e.toLowerCase();if(e!=="native"){e="transparent"}return e},defaultValue:"transparent"}]);function processBlobParts(e,t){const r=[];for(const s of e){if(typeof s==="string"){let e=s;if(t.endings==="native"){e=convertLineEndingsNative(e)}r.push(d.encode(e))}else if(o.isAnyArrayBuffer(s)||o.isTypedArray(s)){if(!s.buffer){r.push(new Uint8Array(s))}else{r.push(new Uint8Array(s.buffer,s.byteOffset,s.byteLength))}}else if(a(s)){r.push(s)}}return r}function convertLineEndingsNative(e){let t="\n";if(process.platform==="win32"){t="\r\n"}return e.replace(/\r?\n/g,t)}function isFileLike(e){return n&&e instanceof n||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},3073:(e,t,r)=>{"use strict";const{isBlobLike:s,toUSVString:n,makeIterator:o}=r(5523);const{kState:i}=r(9710);const{File:a,FileLike:A,isFileLike:c}=r(3041);const{webidl:l}=r(4222);const{Blob:u,File:d}=r(181);const p=d??a;class FormData{constructor(e){if(e!==undefined){throw l.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[i]=[]}append(e,t,r=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!s(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=s(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);r=arguments.length===3?l.converters.USVString(r):undefined;const n=makeEntry(e,t,r);this[i].push(n)}delete(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=l.converters.USVString(e);this[i]=this[i].filter((t=>t.name!==e))}get(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=l.converters.USVString(e);const t=this[i].findIndex((t=>t.name===e));if(t===-1){return null}return this[i][t].value}getAll(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=l.converters.USVString(e);return this[i].filter((t=>t.name===e)).map((e=>e.value))}has(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=l.converters.USVString(e);return this[i].findIndex((t=>t.name===e))!==-1}set(e,t,r=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!s(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=s(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);r=arguments.length===3?n(r):undefined;const o=makeEntry(e,t,r);const a=this[i].findIndex((t=>t.name===e));if(a!==-1){this[i]=[...this[i].slice(0,a),o,...this[i].slice(a+1).filter((t=>t.name!==e))]}else{this[i].push(o)}}entries(){l.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){l.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","key")}values(){l.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){l.brandCheck(this,FormData);l.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[r,s]of this){e.apply(t,[s,r,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,r){e=Buffer.from(e).toString("utf8");if(typeof t==="string"){t=Buffer.from(t).toString("utf8")}else{if(!c(t)){t=t instanceof u?new p([t],"blob",{type:t.type}):new A(t,"blob",{type:t.type})}if(r!==undefined){const e={type:t.type,lastModified:t.lastModified};t=d&&t instanceof d||t instanceof a?new p([t],r,e):new A(t,r,e)}}return{name:e,value:t}}e.exports={FormData:FormData}},5628:e=>{"use strict";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 r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${r.protocol}`)}Object.defineProperty(globalThis,t,{value:r,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},6349:(e,t,r)=>{"use strict";const{kHeadersList:s,kConstruct:n}=r(6443);const{kGuard:o}=r(9710);const{kEnumerableProperty:i}=r(3440);const{makeIterator:a,isValidHeaderName:A,isValidHeaderValue:c}=r(5523);const{webidl:l}=r(4222);const u=r(2613);const d=Symbol("headers map");const p=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let r=e.length;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(r-1)))--r;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&r===e.length?e:e.substring(t,r)}function fill(e,t){if(Array.isArray(t)){for(let r=0;r>","record"]})}}function appendHeader(e,t,r){r=headerValueNormalize(r);if(!A(t)){throw l.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!c(r)){throw l.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}if(e[o]==="immutable"){throw new TypeError("immutable")}else if(e[o]==="request-no-cors"){}return e[s].append(t,r)}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[d]=new Map(e[d]);this[p]=e[p];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[d]=new Map(e);this[p]=null}}contains(e){e=e.toLowerCase();return this[d].has(e)}clear(){this[d].clear();this[p]=null;this.cookies=null}append(e,t){this[p]=null;const r=e.toLowerCase();const s=this[d].get(r);if(s){const e=r==="cookie"?"; ":", ";this[d].set(r,{name:s.name,value:`${s.value}${e}${t}`})}else{this[d].set(r,{name:e,value:t})}if(r==="set-cookie"){this.cookies??=[];this.cookies.push(t)}}set(e,t){this[p]=null;const r=e.toLowerCase();if(r==="set-cookie"){this.cookies=[t]}this[d].set(r,{name:e,value:t})}delete(e){this[p]=null;e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[d].delete(e)}get(e){const t=this[d].get(e.toLowerCase());return t===undefined?null:t.value}*[Symbol.iterator](){for(const[e,{value:t}]of this[d]){yield[e,t]}}get entries(){const e={};if(this[d].size){for(const{name:t,value:r}of this[d].values()){e[t]=r}}return e}}class Headers{constructor(e=undefined){if(e===n){return}this[s]=new HeadersList;this[o]="none";if(e!==undefined){e=l.converters.HeadersInit(e);fill(this,e)}}append(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}if(!this[s].contains(e)){return}this[s].delete(e)}get(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[s].get(e)}has(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[s].contains(e)}set(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);t=headerValueNormalize(t);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!c(t)){throw l.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}this[s].set(e,t)}getSetCookie(){l.brandCheck(this,Headers);const e=this[s].cookies;if(e){return[...e]}return[]}get[p](){if(this[s][p]){return this[s][p]}const e=[];const t=[...this[s]].sort(((e,t)=>e[0]e),"Headers","key")}return a((()=>[...this[p].values()]),"Headers","key")}values(){l.brandCheck(this,Headers);if(this[o]==="immutable"){const e=this[p];return a((()=>e),"Headers","value")}return a((()=>[...this[p].values()]),"Headers","value")}entries(){l.brandCheck(this,Headers);if(this[o]==="immutable"){const e=this[p];return a((()=>e),"Headers","key+value")}return a((()=>[...this[p].values()]),"Headers","key+value")}forEach(e,t=globalThis){l.brandCheck(this,Headers);l.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[r,s]of this){e.apply(t,[s,r,this])}}[Symbol.for("nodejs.util.inspect.custom")](){l.brandCheck(this,Headers);return this[s]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:i,delete:i,get:i,has:i,set:i,getSetCookie:i,keys:i,values:i,entries:i,forEach:i,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});l.converters.HeadersInit=function(e){if(l.util.Type(e)==="Object"){if(e[Symbol.iterator]){return l.converters["sequence>"](e)}return l.converters["record"](e)}throw l.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},2315:(e,t,r)=>{"use strict";const{Response:s,makeNetworkError:n,makeAppropriateNetworkError:o,filterResponse:i,makeResponse:a}=r(8676);const{Headers:A}=r(6349);const{Request:c,makeRequest:l}=r(5194);const u=r(3106);const{bytesMatch:d,makePolicyContainer:p,clonePolicyContainer:g,requestBadPort:m,TAOCheck:h,appendRequestOriginHeader:E,responseLocationURL:C,requestCurrentURL:y,setRequestReferrerPolicyOnRedirect:I,tryUpgradeRequestToAPotentiallyTrustworthyURL:B,createOpaqueTimingInfo:Q,appendFetchMetadata:b,corsCheck:S,crossOriginResourcePolicyCheck:R,determineRequestsReferrer:w,coarsenedSharedCurrentTime:N,createDeferredPromise:v,isBlobLike:x,sameOrigin:D,isCancelled:T,isAborted:P,isErrorLike:k,fullyReadBody:O,readableStreamClose:L,isomorphicEncode:F,urlIsLocal:M,urlIsHttpHttpsScheme:U,urlHasHttpsScheme:_}=r(5523);const{kState:H,kHeaders:G,kGuard:q,kRealm:z}=r(9710);const V=r(2613);const{safelyExtractBody:j}=r(8923);const{redirectStatusSet:Y,nullBodyStatus:J,safeMethodsSet:W,requestBodyHeader:$,subresourceSet:X,DOMException:K}=r(7326);const{kHeadersList:Z}=r(6443);const ee=r(4434);const{Readable:te,pipeline:re}=r(2203);const{addAbortListener:se,isErrored:ne,isReadable:oe,nodeMajor:ie,nodeMinor:ae}=r(3440);const{dataURLProcessor:Ae,serializeAMimeType:ce}=r(4322);const{TransformStream:le}=r(3774);const{getGlobalDispatcher:ue}=r(2581);const{webidl:de}=r(4222);const{STATUS_CODES:pe}=r(8611);const ge=["GET","HEAD"];let me;let he=globalThis.ReadableStream;class Fetch extends ee{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 K("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,t={}){de.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const r=v();let n;try{n=new c(e,t)}catch(e){r.reject(e);return r.promise}const o=n[H];if(n.signal.aborted){abortFetch(r,o,null,n.signal.reason);return r.promise}const i=o.client.globalObject;if(i?.constructor?.name==="ServiceWorkerGlobalScope"){o.serviceWorkers="none"}let a=null;const A=null;let l=false;let u=null;se(n.signal,(()=>{l=true;V(u!=null);u.abort(n.signal.reason);abortFetch(r,o,a,n.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(l){return Promise.resolve()}if(e.aborted){abortFetch(r,o,a,u.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){r.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}a=new s;a[H]=e;a[z]=A;a[G][Z]=e.headersList;a[G][q]="immutable";a[G][z]=A;r.resolve(a)};u=fetching({request:o,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??ue()});return r.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const r=e.urlList[0];let s=e.timingInfo;let n=e.cacheState;if(!U(r)){return}if(s===null){return}if(!e.timingAllowPassed){s=Q({startTime:s.startTime});n=""}s.endTime=N();e.timingInfo=s;markResourceTiming(s,r,t,globalThis,n)}function markResourceTiming(e,t,r,s,n){if(ie>18||ie===18&&ae>=2){performance.markResourceTiming(e,t.href,r,s,n)}}function abortFetch(e,t,r,s){if(!s){s=new K("The operation was aborted.","AbortError")}e.reject(s);if(t.body!=null&&oe(t.body?.stream)){t.body.stream.cancel(s).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(r==null){return}const n=r[H];if(n.body!=null&&oe(n.body?.stream)){n.body.stream.cancel(s).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:o,useParallelQueue:i=false,dispatcher:a}){let A=null;let c=false;if(e.client!=null){A=e.client.globalObject;c=e.client.crossOriginIsolatedCapability}const l=N(c);const u=Q({startTime:l});const d={controller:new Fetch(a),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:o,processResponseEndOfBody:n,taskDestination:A,crossOriginIsolatedCapability:c};V(!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=g(e.client.policyContainer)}else{e.policyContainer=p()}}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(X.has(e.destination)){}mainFetch(d).catch((e=>{d.controller.terminate(e)}));return d.controller}async function mainFetch(e,t=false){const r=e.request;let s=null;if(r.localURLsOnly&&!M(y(r))){s=n("local URLs only")}B(r);if(m(r)==="blocked"){s=n("bad port")}if(r.referrerPolicy===""){r.referrerPolicy=r.policyContainer.referrerPolicy}if(r.referrer!=="no-referrer"){r.referrer=w(r)}if(s===null){s=await(async()=>{const t=y(r);if(D(t,r.url)&&r.responseTainting==="basic"||t.protocol==="data:"||(r.mode==="navigate"||r.mode==="websocket")){r.responseTainting="basic";return await schemeFetch(e)}if(r.mode==="same-origin"){return n('request mode cannot be "same-origin"')}if(r.mode==="no-cors"){if(r.redirect!=="follow"){return n('redirect mode cannot be "follow" for "no-cors" request')}r.responseTainting="opaque";return await schemeFetch(e)}if(!U(y(r))){return n("URL scheme must be a HTTP(S) scheme")}r.responseTainting="cors";return await httpFetch(e)})()}if(t){return s}if(s.status!==0&&!s.internalResponse){if(r.responseTainting==="cors"){}if(r.responseTainting==="basic"){s=i(s,"basic")}else if(r.responseTainting==="cors"){s=i(s,"cors")}else if(r.responseTainting==="opaque"){s=i(s,"opaque")}else{V(false)}}let o=s.status===0?s:s.internalResponse;if(o.urlList.length===0){o.urlList.push(...r.urlList)}if(!r.timingAllowFailed){s.timingAllowPassed=true}if(s.type==="opaque"&&o.status===206&&o.rangeRequested&&!r.headers.contains("range")){s=o=n()}if(s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||J.includes(o.status))){o.body=null;e.controller.dump=true}if(r.integrity){const processBodyError=t=>fetchFinale(e,n(t));if(r.responseTainting==="opaque"||s.body==null){processBodyError(s.error);return}const processBody=t=>{if(!d(t,r.integrity)){processBodyError("integrity mismatch");return}s.body=j(t)[0];fetchFinale(e,s)};await O(s.body,processBody,processBodyError)}else{fetchFinale(e,s)}}function schemeFetch(e){if(T(e)&&e.request.redirectCount===0){return Promise.resolve(o(e))}const{request:t}=e;const{protocol:s}=y(t);switch(s){case"about:":{return Promise.resolve(n("about scheme is not supported"))}case"blob:":{if(!me){me=r(181).resolveObjectURL}const e=y(t);if(e.search.length!==0){return Promise.resolve(n("NetworkError when attempting to fetch resource."))}const s=me(e.toString());if(t.method!=="GET"||!x(s)){return Promise.resolve(n("invalid method"))}const o=j(s);const i=o[0];const A=F(`${i.length}`);const c=o[1]??"";const l=a({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:A}],["content-type",{name:"Content-Type",value:c}]]});l.body=i;return Promise.resolve(l)}case"data:":{const e=y(t);const r=Ae(e);if(r==="failure"){return Promise.resolve(n("failed to fetch the data URL"))}const s=ce(r.mimeType);return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:j(r.body)[0]}))}case"file:":{return Promise.resolve(n("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>n(e)))}default:{return Promise.resolve(n("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=Q({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 le({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=r=>e.processResponseConsumeBody(t,r);const processBodyError=r=>e.processResponseConsumeBody(t,r);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return O(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let r=null;let s=null;const o=e.timingInfo;if(t.serviceWorkers==="all"){}if(r===null){if(t.redirect==="follow"){t.serviceWorkers="none"}s=r=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&S(t,r)==="failure"){return n("cors failure")}if(h(t,r)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||r.type==="opaque")&&R(t.origin,t.client,t.destination,s)==="blocked"){return n("blocked")}if(Y.has(s.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){r=n("unexpected redirect")}else if(t.redirect==="manual"){r=s}else if(t.redirect==="follow"){r=await httpRedirectFetch(e,r)}else{V(false)}}r.timingInfo=o;return r}function httpRedirectFetch(e,t){const r=e.request;const s=t.internalResponse?t.internalResponse:t;let o;try{o=C(s,y(r).hash);if(o==null){return t}}catch(e){return Promise.resolve(n(e))}if(!U(o)){return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"))}if(r.redirectCount===20){return Promise.resolve(n("redirect count exceeded"))}r.redirectCount+=1;if(r.mode==="cors"&&(o.username||o.password)&&!D(r,o)){return Promise.resolve(n('cross origin not allowed for request mode "cors"'))}if(r.responseTainting==="cors"&&(o.username||o.password)){return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'))}if(s.status!==303&&r.body!=null&&r.body.source==null){return Promise.resolve(n())}if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!ge.includes(r.method)){r.method="GET";r.body=null;for(const e of $){r.headersList.delete(e)}}if(!D(y(r),o)){r.headersList.delete("authorization");r.headersList.delete("proxy-authorization",true);r.headersList.delete("cookie");r.headersList.delete("host")}if(r.body!=null){V(r.body.source!=null);r.body=j(r.body.source)[0]}const i=e.timingInfo;i.redirectEndTime=i.postRedirectStartTime=N(e.crossOriginIsolatedCapability);if(i.redirectStartTime===0){i.redirectStartTime=i.startTime}r.urlList.push(o);I(r,s);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,r=false){const s=e.request;let i=null;let a=null;let A=null;const c=null;const u=false;if(s.window==="no-window"&&s.redirect==="error"){i=e;a=s}else{a=l(s);i={...e};i.request=a}const d=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic";const p=a.body?a.body.length:null;let g=null;if(a.body==null&&["POST","PUT"].includes(a.method)){g="0"}if(p!=null){g=F(`${p}`)}if(g!=null){a.headersList.append("content-length",g)}if(p!=null&&a.keepalive){}if(a.referrer instanceof URL){a.headersList.append("referer",F(a.referrer.href))}E(a);b(a);if(!a.headersList.contains("user-agent")){a.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(a.cache==="default"&&(a.headersList.contains("if-modified-since")||a.headersList.contains("if-none-match")||a.headersList.contains("if-unmodified-since")||a.headersList.contains("if-match")||a.headersList.contains("if-range"))){a.cache="no-store"}if(a.cache==="no-cache"&&!a.preventNoCacheCacheControlHeaderModification&&!a.headersList.contains("cache-control")){a.headersList.append("cache-control","max-age=0")}if(a.cache==="no-store"||a.cache==="reload"){if(!a.headersList.contains("pragma")){a.headersList.append("pragma","no-cache")}if(!a.headersList.contains("cache-control")){a.headersList.append("cache-control","no-cache")}}if(a.headersList.contains("range")){a.headersList.append("accept-encoding","identity")}if(!a.headersList.contains("accept-encoding")){if(_(y(a))){a.headersList.append("accept-encoding","br, gzip, deflate")}else{a.headersList.append("accept-encoding","gzip, deflate")}}a.headersList.delete("host");if(d){}if(c==null){a.cache="no-store"}if(a.mode!=="no-store"&&a.mode!=="reload"){}if(A==null){if(a.mode==="only-if-cached"){return n("only if cached")}const e=await httpNetworkFetch(i,d,r);if(!W.has(a.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(A==null){A=e}}A.urlList=[...a.urlList];if(a.headersList.contains("range")){A.rangeRequested=true}A.requestIncludesCredentials=d;if(A.status===407){if(s.window==="no-window"){return n()}if(T(e)){return o(e)}return n("proxy authentication required")}if(A.status===421&&!r&&(s.body==null||s.body.source!=null)){if(T(e)){return o(e)}e.controller.connection.destroy();A=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return A}async function httpNetworkFetch(e,t=false,s=false){V(!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 K("The operation was aborted.","AbortError"))}}};const i=e.request;let c=null;const l=e.timingInfo;const d=null;if(d==null){i.cache="no-store"}const p=s?"yes":"no";if(i.mode==="websocket"){}else{}let g=null;if(i.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(i.body!=null){const processBodyChunk=async function*(t){if(T(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(T(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(T(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};g=async function*(){try{for await(const e of i.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:r,statusText:s,headersList:n,socket:o}=await dispatch({body:g});if(o){c=a({status:r,statusText:s,headersList:n,socket:o})}else{const o=t[Symbol.asyncIterator]();e.controller.next=()=>o.next();c=a({status:r,statusText:s,headersList:n})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return o(e,t)}return n(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!he){he=r(3774).ReadableStream}const m=new he({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:m};e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let r;try{const{done:r,value:s}=await e.controller.next();if(P(e)){break}t=r?undefined:s}catch(s){if(e.controller.ended&&!l.encodedBodySize){t=undefined}else{t=s;r=true}}if(t===undefined){L(e.controller.controller);finalizeResponse(e,c);return}l.decodedBodySize+=t?.byteLength??0;if(r){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(ne(m)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(P(e)){c.aborted=true;if(oe(m)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(oe(m)){e.controller.controller.error(new TypeError("terminated",{cause:k(t)?t:undefined}))}}e.controller.connection.destroy()}return c;async function dispatch({body:t}){const r=y(i);const s=e.controller.dispatcher;return new Promise(((n,o)=>s.dispatch({path:r.pathname+r.search,origin:r.origin,method:i.method,body:e.controller.dispatcher.isMockActive?i.body&&(i.body.source||i.body.stream):t,headers:i.headersList.entries,maxRedirections:0,upgrade:i.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:r}=e.controller;if(r.destroyed){t(new K("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=r.abort=t}},onHeaders(e,t,r,s){if(e<200){return}let o=[];let a="";const c=new A;if(Array.isArray(t)){for(let e=0;ee.trim()))}else if(r.toLowerCase()==="location"){a=s}c[Z].append(r,s)}}else{const e=Object.keys(t);for(const r of e){const e=t[r];if(r.toLowerCase()==="content-encoding"){o=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(r.toLowerCase()==="location"){a=e}c[Z].append(r,e)}}this.body=new te({read:r});const l=[];const d=i.redirect==="follow"&&a&&Y.has(e);if(i.method!=="HEAD"&&i.method!=="CONNECT"&&!J.includes(e)&&!d){for(const e of o){if(e==="x-gzip"||e==="gzip"){l.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){l.push(u.createInflate())}else if(e==="br"){l.push(u.createBrotliDecompress())}else{l.length=0;break}}}n({status:e,statusText:s,headersList:c[Z],body:l.length?re(this.body,...l,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const r=t;l.encodedBodySize+=r.byteLength;return this.body.push(r)},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);o(t)},onUpgrade(e,t,r){if(e!==101){return}const s=new A;for(let e=0;e{"use strict";const{extractBody:s,mixinBody:n,cloneBody:o}=r(8923);const{Headers:i,fill:a,HeadersList:A}=r(6349);const{FinalizationRegistry:c}=r(3194)();const l=r(3440);const{isValidHTTPToken:u,sameOrigin:d,normalizeMethod:p,makePolicyContainer:g,normalizeMethodRecord:m}=r(5523);const{forbiddenMethodsSet:h,corsSafeListedMethodsSet:E,referrerPolicy:C,requestRedirect:y,requestMode:I,requestCredentials:B,requestCache:Q,requestDuplex:b}=r(7326);const{kEnumerableProperty:S}=l;const{kHeaders:R,kSignal:w,kState:N,kGuard:v,kRealm:x}=r(9710);const{webidl:D}=r(4222);const{getGlobalOrigin:T}=r(5628);const{URLSerializer:P}=r(4322);const{kHeadersList:k,kConstruct:O}=r(6443);const L=r(2613);const{getMaxListeners:F,setMaxListeners:M,getEventListeners:U,defaultMaxListeners:_}=r(4434);let H=globalThis.TransformStream;const G=Symbol("abortController");const q=new c((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===O){return}D.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=D.converters.RequestInfo(e);t=D.converters.RequestInit(t);this[x]={settingsObject:{baseUrl:T(),get origin(){return this.baseUrl?.origin},policyContainer:g()}};let n=null;let o=null;const c=this[x].settingsObject.baseUrl;let C=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)}n=makeRequest({urlList:[t]});o="cors"}else{L(e instanceof Request);n=e[N];C=e[w]}const y=this[x].settingsObject.origin;let I="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&d(n.window,y)){I=n.window}if(t.window!=null){throw new TypeError(`'window' option '${I}' must be null`)}if("window"in t){I="no-window"}n=makeRequest({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:this[x].settingsObject,window:I,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});const B=Object.keys(t).length!==0;if(B){if(n.mode==="navigate"){n.mode="same-origin"}n.reloadNavigation=false;n.historyNavigation=false;n.origin="client";n.referrer="client";n.referrerPolicy="";n.url=n.urlList[n.urlList.length-1];n.urlList=[n.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){n.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"||y&&!d(t,this[x].settingsObject.baseUrl)){n.referrer="client"}else{n.referrer=t}}}if(t.referrerPolicy!==undefined){n.referrerPolicy=t.referrerPolicy}let Q;if(t.mode!==undefined){Q=t.mode}else{Q=o}if(Q==="navigate"){throw D.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(Q!=null){n.mode=Q}if(t.credentials!==undefined){n.credentials=t.credentials}if(t.cache!==undefined){n.cache=t.cache}if(n.cache==="only-if-cached"&&n.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){n.redirect=t.redirect}if(t.integrity!=null){n.integrity=String(t.integrity)}if(t.keepalive!==undefined){n.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!u(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(h.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=m[e]??p(e);n.method=e}if(t.signal!==undefined){C=t.signal}this[N]=n;const b=new AbortController;this[w]=b.signal;this[w][x]=this[x];if(C!=null){if(!C||typeof C.aborted!=="boolean"||typeof C.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(C.aborted){b.abort(C.reason)}else{this[G]=b;const e=new WeakRef(b);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof F==="function"&&F(C)===_){M(100,C)}else if(U(C,"abort").length>=_){M(100,C)}}catch{}l.addAbortListener(C,abort);q.register(b,{signal:C,abort:abort})}}this[R]=new i(O);this[R][k]=n.headersList;this[R][v]="request";this[R][x]=this[x];if(Q==="no-cors"){if(!E.has(n.method)){throw new TypeError(`'${n.method} is unsupported in no-cors mode.`)}this[R][v]="request-no-cors"}if(B){const e=this[R][k];const r=t.headers!==undefined?t.headers:new A(e);e.clear();if(r instanceof A){for(const[t,s]of r){e.append(t,s)}e.cookies=r.cookies}else{a(this[R],r)}}const S=e instanceof Request?e[N].body:null;if((t.body!=null||S!=null)&&(n.method==="GET"||n.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let P=null;if(t.body!=null){const[e,r]=s(t.body,n.keepalive);P=e;if(r&&!this[R][k].contains("content-type")){this[R].append("content-type",r)}}const z=P??S;if(z!=null&&z.source==null){if(P!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(n.mode!=="same-origin"&&n.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}n.useCORSPreflightFlag=true}let V=z;if(P==null&&S!=null){if(l.isDisturbed(S.stream)||S.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!H){H=r(3774).TransformStream}const e=new H;S.stream.pipeThrough(e);V={source:S.source,length:S.length,stream:e.readable}}this[N].body=V}get method(){D.brandCheck(this,Request);return this[N].method}get url(){D.brandCheck(this,Request);return P(this[N].url)}get headers(){D.brandCheck(this,Request);return this[R]}get destination(){D.brandCheck(this,Request);return this[N].destination}get referrer(){D.brandCheck(this,Request);if(this[N].referrer==="no-referrer"){return""}if(this[N].referrer==="client"){return"about:client"}return this[N].referrer.toString()}get referrerPolicy(){D.brandCheck(this,Request);return this[N].referrerPolicy}get mode(){D.brandCheck(this,Request);return this[N].mode}get credentials(){return this[N].credentials}get cache(){D.brandCheck(this,Request);return this[N].cache}get redirect(){D.brandCheck(this,Request);return this[N].redirect}get integrity(){D.brandCheck(this,Request);return this[N].integrity}get keepalive(){D.brandCheck(this,Request);return this[N].keepalive}get isReloadNavigation(){D.brandCheck(this,Request);return this[N].reloadNavigation}get isHistoryNavigation(){D.brandCheck(this,Request);return this[N].historyNavigation}get signal(){D.brandCheck(this,Request);return this[w]}get body(){D.brandCheck(this,Request);return this[N].body?this[N].body.stream:null}get bodyUsed(){D.brandCheck(this,Request);return!!this[N].body&&l.isDisturbed(this[N].body.stream)}get duplex(){D.brandCheck(this,Request);return"half"}clone(){D.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[N]);const t=new Request(O);t[N]=e;t[x]=this[x];t[R]=new i(O);t[R][k]=e.headersList;t[R][v]=this[R][v];t[R][x]=this[R][x];const r=new AbortController;if(this.signal.aborted){r.abort(this.signal.reason)}else{l.addAbortListener(this.signal,(()=>{r.abort(this.signal.reason)}))}t[w]=r.signal;return t}}n(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 A(e.headersList):new A};t.url=t.urlList[0];return t}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=o(e.body)}return t}Object.defineProperties(Request.prototype,{method:S,url:S,headers:S,redirect:S,clone:S,signal:S,duplex:S,destination:S,body:S,bodyUsed:S,isHistoryNavigation:S,isReloadNavigation:S,keepalive:S,integrity:S,cache:S,credentials:S,attribute:S,referrerPolicy:S,referrer:S,mode:S,[Symbol.toStringTag]:{value:"Request",configurable:true}});D.converters.Request=D.interfaceConverter(Request);D.converters.RequestInfo=function(e){if(typeof e==="string"){return D.converters.USVString(e)}if(e instanceof Request){return D.converters.Request(e)}return D.converters.USVString(e)};D.converters.AbortSignal=D.interfaceConverter(AbortSignal);D.converters.RequestInit=D.dictionaryConverter([{key:"method",converter:D.converters.ByteString},{key:"headers",converter:D.converters.HeadersInit},{key:"body",converter:D.nullableConverter(D.converters.BodyInit)},{key:"referrer",converter:D.converters.USVString},{key:"referrerPolicy",converter:D.converters.DOMString,allowedValues:C},{key:"mode",converter:D.converters.DOMString,allowedValues:I},{key:"credentials",converter:D.converters.DOMString,allowedValues:B},{key:"cache",converter:D.converters.DOMString,allowedValues:Q},{key:"redirect",converter:D.converters.DOMString,allowedValues:y},{key:"integrity",converter:D.converters.DOMString},{key:"keepalive",converter:D.converters.boolean},{key:"signal",converter:D.nullableConverter((e=>D.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:D.converters.any},{key:"duplex",converter:D.converters.DOMString,allowedValues:b}]);e.exports={Request:Request,makeRequest:makeRequest}},8676:(e,t,r)=>{"use strict";const{Headers:s,HeadersList:n,fill:o}=r(6349);const{extractBody:i,cloneBody:a,mixinBody:A}=r(8923);const c=r(3440);const{kEnumerableProperty:l}=c;const{isValidReasonPhrase:u,isCancelled:d,isAborted:p,isBlobLike:g,serializeJavascriptValueToJSONString:m,isErrorLike:h,isomorphicEncode:E}=r(5523);const{redirectStatusSet:C,nullBodyStatus:y,DOMException:I}=r(7326);const{kState:B,kHeaders:Q,kGuard:b,kRealm:S}=r(9710);const{webidl:R}=r(4222);const{FormData:w}=r(3073);const{getGlobalOrigin:N}=r(5628);const{URLSerializer:v}=r(4322);const{kHeadersList:x,kConstruct:D}=r(6443);const T=r(2613);const{types:P}=r(9023);const k=globalThis.ReadableStream||r(3774).ReadableStream;const O=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[B]=makeNetworkError();t[S]=e;t[Q][x]=t[B].headersList;t[Q][b]="immutable";t[Q][S]=e;return t}static json(e,t={}){R.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=R.converters.ResponseInit(t)}const r=O.encode(m(e));const s=i(r);const n={settingsObject:{}};const o=new Response;o[S]=n;o[Q][b]="response";o[Q][S]=n;initializeResponse(o,t,{body:s[0],type:"application/json"});return o}static redirect(e,t=302){const r={settingsObject:{}};R.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=R.converters.USVString(e);t=R.converters["unsigned short"](t);let s;try{s=new URL(e,N())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!C.has(t)){throw new RangeError("Invalid status code "+t)}const n=new Response;n[S]=r;n[Q][b]="immutable";n[Q][S]=r;n[B].status=t;const o=E(v(s));n[B].headersList.append("location",o);return n}constructor(e=null,t={}){if(e!==null){e=R.converters.BodyInit(e)}t=R.converters.ResponseInit(t);this[S]={settingsObject:{}};this[B]=makeResponse({});this[Q]=new s(D);this[Q][b]="response";this[Q][x]=this[B].headersList;this[Q][S]=this[S];let r=null;if(e!=null){const[t,s]=i(e);r={body:t,type:s}}initializeResponse(this,t,r)}get type(){R.brandCheck(this,Response);return this[B].type}get url(){R.brandCheck(this,Response);const e=this[B].urlList;const t=e[e.length-1]??null;if(t===null){return""}return v(t,true)}get redirected(){R.brandCheck(this,Response);return this[B].urlList.length>1}get status(){R.brandCheck(this,Response);return this[B].status}get ok(){R.brandCheck(this,Response);return this[B].status>=200&&this[B].status<=299}get statusText(){R.brandCheck(this,Response);return this[B].statusText}get headers(){R.brandCheck(this,Response);return this[Q]}get body(){R.brandCheck(this,Response);return this[B].body?this[B].body.stream:null}get bodyUsed(){R.brandCheck(this,Response);return!!this[B].body&&c.isDisturbed(this[B].body.stream)}clone(){R.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw R.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[B]);const t=new Response;t[B]=e;t[S]=this[S];t[Q][x]=e.headersList;t[Q][b]=this[Q][b];t[Q][S]=this[Q][S];return t}}A(Response);Object.defineProperties(Response.prototype,{type:l,url:l,status:l,ok:l,redirected:l,statusText:l,headers:l,clone:l,body:l,bodyUsed:l,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:l,redirect:l,error:l});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=a(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 n(e.headersList):new n,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=h(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,r){return r in t?t[r]:e[r]},set(e,r,s){T(!(r in t));e[r]=s;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{T(false)}}function makeAppropriateNetworkError(e,t=null){T(d(e));return p(e)?makeNetworkError(Object.assign(new I("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new I("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,r){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(!u(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[B].status=t.status}if("statusText"in t&&t.statusText!=null){e[B].statusText=t.statusText}if("headers"in t&&t.headers!=null){o(e[Q],t.headers)}if(r){if(y.includes(e.status)){throw R.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[B].body=r.body;if(r.type!=null&&!e[B].headersList.contains("Content-Type")){e[B].headersList.append("content-type",r.type)}}}R.converters.ReadableStream=R.interfaceConverter(k);R.converters.FormData=R.interfaceConverter(w);R.converters.URLSearchParams=R.interfaceConverter(URLSearchParams);R.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return R.converters.USVString(e)}if(g(e)){return R.converters.Blob(e,{strict:false})}if(P.isArrayBuffer(e)||P.isTypedArray(e)||P.isDataView(e)){return R.converters.BufferSource(e)}if(c.isFormDataLike(e)){return R.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return R.converters.URLSearchParams(e)}return R.converters.DOMString(e)};R.converters.BodyInit=function(e){if(e instanceof k){return R.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return R.converters.XMLHttpRequestBodyInit(e)};R.converters.ResponseInit=R.dictionaryConverter([{key:"status",converter:R.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:R.converters.ByteString,defaultValue:""},{key:"headers",converter:R.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},9710:e=>{"use strict";e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},5523:(e,t,r)=>{"use strict";const{redirectStatusSet:s,referrerPolicySet:n,badPortsSet:o}=r(7326);const{getGlobalOrigin:i}=r(5628);const{performance:a}=r(2987);const{isBlobLike:A,toUSVString:c,ReadableStreamFrom:l}=r(3440);const u=r(2613);const{isUint8Array:d}=r(8253);let p=[];let g;try{g=r(6982);const e=["sha256","sha384","sha512"];p=g.getHashes().filter((t=>e.includes(t)))}catch{}function responseURL(e){const t=e.urlList;const r=t.length;return r===0?null:t[r-1].toString()}function responseLocationURL(e,t){if(!s.has(e.status)){return null}let r=e.headersList.get("location");if(r!==null&&isValidHeaderValue(r)){r=new URL(r,responseURL(e))}if(r&&!r.hash){r.hash=t}return r}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&o.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&&r<=126||r>=128&&r<=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=s.length;e!==0;e--){const t=s[e-1].trim();if(n.has(t)){o=t;break}}}if(o!==""){e.referrerPolicy=o}}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 a.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;u(t);let r=null;if(e.referrer==="client"){const e=i();if(!e||e.origin==="null"){return"no-referrer"}r=new URL(e)}else if(e.referrer instanceof URL){r=e.referrer}let s=stripURLForReferrer(r);const n=stripURLForReferrer(r,true);if(s.toString().length>4096){s=n}const o=sameOrigin(e,s);const a=isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return n!=null?n:stripURLForReferrer(r,true);case"unsafe-url":return s;case"same-origin":return o?n:"no-referrer";case"origin-when-cross-origin":return o?s:n;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(s,t)){return s}if(isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return n}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":n}}function stripURLForReferrer(e,t){u(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(g===undefined){return true}const r=parseMetadata(t);if(r==="no metadata"){return true}if(r.length===0){return true}const s=getStrongestMetadata(r);const n=filterMetadataListByAlgorithm(r,s);for(const t of n){const r=t.algo;const s=t.hash;let n=g.createHash(r).update(e).digest("base64");if(n[n.length-1]==="="){if(n[n.length-2]==="="){n=n.slice(0,-2)}else{n=n.slice(0,-1)}}if(compareBase64Mixed(n,s)){return true}}return false}const m=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let r=true;for(const s of e.split(" ")){r=false;const e=m.exec(s);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const n=e.groups.algo.toLowerCase();if(p.includes(n)){t.push(e.groups)}}if(r===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let r=1;r{e=r;t=s}));return{promise:r,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 h={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(h,null);function normalizeMethod(e){return h[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}u(typeof t==="string");return t}const E=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,r){const s={index:0,kind:r,target:e};const n={next(){if(Object.getPrototypeOf(this)!==n){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:r,target:o}=s;const i=o();const a=i.length;if(e>=a){return{value:undefined,done:true}}const A=i[e];s.index=e+1;return iteratorResult(A,r)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(n,E);return Object.setPrototypeOf({},n)}function iteratorResult(e,t){let r;switch(t){case"key":{r=e[0];break}case"value":{r=e[1];break}case"key+value":{r=e;break}}return{value:r,done:false}}async function fullyReadBody(e,t,r){const s=t;const n=r;let o;try{o=e.stream.getReader()}catch(e){n(e);return}try{const e=await readAllBytes(o);s(e)}catch(e){n(e)}}let C=globalThis.ReadableStream;function isReadableStreamLike(e){if(!C){C=r(3774).ReadableStream}return e instanceof C||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const y=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:l,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:A,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:I,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:h,parseMetadata:parseMetadata}},4222:(e,t,r)=>{"use strict";const{types:s}=r(9023);const{hasOwn:n,toUSVString:o}=r(5523);const i={};i.converters={};i.util={};i.errors={};i.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};i.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const r=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return i.errors.exception({header:e.prefix,message:r})};i.errors.invalidArgument=function(e){return i.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};i.brandCheck=function(e,t,r=undefined){if(r?.strict!==false&&!(e instanceof t)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}};i.argumentLengthCheck=function({length:e},t,r){if(en){throw i.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${n}, got ${a}.`})}return a}if(!Number.isNaN(a)&&s.clamp===true){a=Math.min(Math.max(a,o),n);if(Math.floor(a)%2===0){a=Math.floor(a)}else{a=Math.ceil(a)}return a}if(Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY){return 0}a=i.util.IntegerPart(a);a=a%Math.pow(2,t);if(r==="signed"&&a>=Math.pow(2,t)-1){return a-Math.pow(2,t)}return a};i.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};i.sequenceConverter=function(e){return t=>{if(i.util.Type(t)!=="Object"){throw i.errors.exception({header:"Sequence",message:`Value of type ${i.util.Type(t)} is not an Object.`})}const r=t?.[Symbol.iterator]?.();const s=[];if(r===undefined||typeof r.next!=="function"){throw i.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:t,value:n}=r.next();if(t){break}s.push(e(n))}return s}};i.recordConverter=function(e,t){return r=>{if(i.util.Type(r)!=="Object"){throw i.errors.exception({header:"Record",message:`Value of type ${i.util.Type(r)} is not an Object.`})}const n={};if(!s.isProxy(r)){const s=Object.keys(r);for(const o of s){const s=e(o);const i=t(r[o]);n[s]=i}return n}const o=Reflect.ownKeys(r);for(const s of o){const o=Reflect.getOwnPropertyDescriptor(r,s);if(o?.enumerable){const o=e(s);const i=t(r[s]);n[o]=i}}return n}};i.interfaceConverter=function(e){return(t,r={})=>{if(r.strict!==false&&!(t instanceof e)){throw i.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`})}return t}};i.dictionaryConverter=function(e){return t=>{const r=i.util.Type(t);const s={};if(r==="Null"||r==="Undefined"){return s}else if(r!=="Object"){throw i.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const r of e){const{key:e,defaultValue:o,required:a,converter:A}=r;if(a===true){if(!n(t,e)){throw i.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let c=t[e];const l=n(r,"defaultValue");if(l&&c!==null){c=c??o}if(a||l||c!==undefined){c=A(c);if(r.allowedValues&&!r.allowedValues.includes(c)){throw i.errors.exception({header:"Dictionary",message:`${c} is not an accepted type. Expected one of ${r.allowedValues.join(", ")}.`})}s[e]=c}}return s}};i.nullableConverter=function(e){return t=>{if(t===null){return t}return e(t)}};i.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)};i.converters.ByteString=function(e){const t=i.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};i.converters.USVString=o;i.converters.boolean=function(e){const t=Boolean(e);return t};i.converters.any=function(e){return e};i.converters["long long"]=function(e){const t=i.util.ConvertToInt(e,64,"signed");return t};i.converters["unsigned long long"]=function(e){const t=i.util.ConvertToInt(e,64,"unsigned");return t};i.converters["unsigned long"]=function(e){const t=i.util.ConvertToInt(e,32,"unsigned");return t};i.converters["unsigned short"]=function(e,t){const r=i.util.ConvertToInt(e,16,"unsigned",t);return r};i.converters.ArrayBuffer=function(e,t={}){if(i.util.Type(e)!=="Object"||!s.isAnyArrayBuffer(e)){throw i.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&s.isSharedArrayBuffer(e)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.TypedArray=function(e,t,r={}){if(i.util.Type(e)!=="Object"||!s.isTypedArray(e)||e.constructor.name!==t.name){throw i.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(r.allowShared===false&&s.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.DataView=function(e,t={}){if(i.util.Type(e)!=="Object"||!s.isDataView(e)){throw i.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&s.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.BufferSource=function(e,t={}){if(s.isAnyArrayBuffer(e)){return i.converters.ArrayBuffer(e,t)}if(s.isTypedArray(e)){return i.converters.TypedArray(e,e.constructor)}if(s.isDataView(e)){return i.converters.DataView(e,t)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};i.converters["sequence"]=i.sequenceConverter(i.converters.ByteString);i.converters["sequence>"]=i.sequenceConverter(i.converters["sequence"]);i.converters["record"]=i.recordConverter(i.converters.ByteString,i.converters.ByteString);e.exports={webidl:i}},396:e=>{"use strict";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}},2160:(e,t,r)=>{"use strict";const{staticPropertyDescriptors:s,readOperation:n,fireAProgressEvent:o}=r(165);const{kState:i,kError:a,kResult:A,kEvents:c,kAborted:l}=r(6812);const{webidl:u}=r(4222);const{kEnumerableProperty:d}=r(3440);class FileReader extends EventTarget{constructor(){super();this[i]="empty";this[A]=null;this[a]=null;this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=u.converters.Blob(e,{strict:false});n(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=u.converters.Blob(e,{strict:false});n(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t)}n(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=u.converters.Blob(e,{strict:false});n(this,e,"DataURL")}abort(){if(this[i]==="empty"||this[i]==="done"){this[A]=null;return}if(this[i]==="loading"){this[i]="done";this[A]=null}this[l]=true;o("abort",this);if(this[i]!=="loading"){o("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[i]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[A]}get error(){u.brandCheck(this,FileReader);return this[a]}get onloadend(){u.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){u.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(){u.brandCheck(this,FileReader);return this[c].error}set onerror(e){u.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(){u.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){u.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(){u.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){u.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(){u.brandCheck(this,FileReader);return this[c].load}set onload(e){u.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(){u.brandCheck(this,FileReader);return this[c].abort}set onabort(e){u.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:s,LOADING:s,DONE:s,readAsArrayBuffer:d,readAsBinaryString:d,readAsText:d,readAsDataURL:d,abort:d,readyState:d,result:d,error:d,onloadstart:d,onprogress:d,onload:d,onabort:d,onerror:d,onloadend:d,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:s,LOADING:s,DONE:s});e.exports={FileReader:FileReader}},5976:(e,t,r)=>{"use strict";const{webidl:s}=r(4222);const n=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=s.converters.DOMString(e);t=s.converters.ProgressEventInit(t??{});super(e,t);this[n]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){s.brandCheck(this,ProgressEvent);return this[n].lengthComputable}get loaded(){s.brandCheck(this,ProgressEvent);return this[n].loaded}get total(){s.brandCheck(this,ProgressEvent);return this[n].total}}s.converters.ProgressEventInit=s.dictionaryConverter([{key:"lengthComputable",converter:s.converters.boolean,defaultValue:false},{key:"loaded",converter:s.converters["unsigned long long"],defaultValue:0},{key:"total",converter:s.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},6812:e=>{"use strict";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")}},165:(e,t,r)=>{"use strict";const{kState:s,kError:n,kResult:o,kAborted:i,kLastProgressEventFired:a}=r(6812);const{ProgressEvent:A}=r(5976);const{getEncoding:c}=r(396);const{DOMException:l}=r(7326);const{serializeAMimeType:u,parseMIMEType:d}=r(4322);const{types:p}=r(9023);const{StringDecoder:g}=r(3193);const{btoa:m}=r(181);const h={enumerable:true,writable:false,configurable:false};function readOperation(e,t,r,A){if(e[s]==="loading"){throw new l("Invalid state","InvalidStateError")}e[s]="loading";e[o]=null;e[n]=null;const c=t.stream();const u=c.getReader();const d=[];let g=u.read();let m=true;(async()=>{while(!e[i]){try{const{done:c,value:l}=await g;if(m&&!e[i]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}m=false;if(!c&&p.isUint8Array(l)){d.push(l);if((e[a]===undefined||Date.now()-e[a]>=50)&&!e[i]){e[a]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}g=u.read()}else if(c){queueMicrotask((()=>{e[s]="done";try{const s=packageData(d,r,t.type,A);if(e[i]){return}e[o]=s;fireAProgressEvent("load",e)}catch(t){e[n]=t;fireAProgressEvent("error",e)}if(e[s]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[i]){return}queueMicrotask((()=>{e[s]="done";e[n]=t;fireAProgressEvent("error",e);if(e[s]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const r=new A(e,{bubbles:false,cancelable:false});t.dispatchEvent(r)}function packageData(e,t,r,s){switch(t){case"DataURL":{let t="data:";const s=d(r||"application/octet-stream");if(s!=="failure"){t+=u(s)}t+=";base64,";const n=new g("latin1");for(const r of e){t+=m(n.write(r))}t+=m(n.end());return t}case"Text":{let t="failure";if(s){t=c(s)}if(t==="failure"&&r){const e=d(r);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 r=new g("latin1");for(const s of e){t+=r.write(s)}t+=r.end();return t}}}function decode(e,t){const r=combineByteSequences(e);const s=BOMSniffing(r);let n=0;if(s!==null){t=s;n=s==="UTF-8"?3:2}const o=r.slice(n);return new TextDecoder(t).decode(o)}function BOMSniffing(e){const[t,r,s]=e;if(t===239&&r===187&&s===191){return"UTF-8"}else if(t===254&&r===255){return"UTF-16BE"}else if(t===255&&r===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let r=0;return e.reduce(((e,t)=>{e.set(t,r);r+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:h,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},2581:(e,t,r)=>{"use strict";const s=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:n}=r(8707);const o=r(9965);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new o)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new n("Argument agent must implement Agent")}Object.defineProperty(globalThis,s,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[s]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},8840:e=>{"use strict";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)}}},8299:(e,t,r)=>{"use strict";const s=r(3440);const{kBodyUsed:n}=r(6443);const o=r(2613);const{InvalidArgumentError:i}=r(8707);const a=r(4434);const A=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[n]=false}async*[Symbol.asyncIterator](){o(!this[n],"disturbed");this[n]=true;yield*this[c]}}class RedirectHandler{constructor(e,t,r,A){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new i("maxRedirections must be a positive number")}s.validateHandler(A,r.method,r.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...r,maxRedirections:0};this.maxRedirections=t;this.handler=A;this.history=[];if(s.isStream(this.opts.body)){if(s.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){o(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[n]=false;a.prototype.on.call(this.opts.body,"data",(function(){this[n]=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)&&s.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,r){this.handler.onUpgrade(e,t,r)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,n){this.location=this.history.length>=this.maxRedirections||s.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,r,n)}const{origin:o,pathname:i,search:a}=s.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const A=a?`${i}${a}`:i;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==o);this.opts.path=A;this.opts.origin=o;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(A.indexOf(e)===-1){return null}for(let e=0;e{const s=r(2613);const{kRetryHandlerDefaultRetry:n}=r(6443);const{RequestRetryError:o}=r(8707);const{isDisturbed:i,parseHeaders:a,parseRangeHeader:A}=r(3440);function calculateRetryAfterHeader(e){const t=Date.now();const r=new Date(e).getTime()-t;return r}class RetryHandler{constructor(e,t){const{retryOptions:r,...s}=e;const{retry:o,maxRetries:i,maxTimeout:a,minTimeout:A,timeoutFactor:c,methods:l,errorCodes:u,retryAfter:d,statusCodes:p}=r??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=s;this.abort=null;this.aborted=false;this.retryOpts={retry:o??RetryHandler[n],retryAfter:d??true,maxTimeout:a??30*1e3,timeout:A??500,timeoutFactor:c??2,maxRetries:i??5,methods:l??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[500,502,503,504,429],errorCodes:u??["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,r){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,r)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[n](e,{state:t,opts:r},s){const{statusCode:n,code:o,headers:i}=e;const{method:a,retryOptions:A}=r;const{maxRetries:c,timeout:l,maxTimeout:u,timeoutFactor:d,statusCodes:p,errorCodes:g,methods:m}=A;let{counter:h,currentTimeout:E}=t;E=E!=null&&E>0?E:l;if(o&&o!=="UND_ERR_REQ_RETRY"&&o!=="UND_ERR_SOCKET"&&!g.includes(o)){s(e);return}if(Array.isArray(m)&&!m.includes(a)){s(e);return}if(n!=null&&Array.isArray(p)&&!p.includes(n)){s(e);return}if(h>c){s(e);return}let C=i!=null&&i["retry-after"];if(C){C=Number(C);C=isNaN(C)?calculateRetryAfterHeader(C):C*1e3}const y=C>0?Math.min(C,u):Math.min(E*d**h,u);t.currentTimeout=y;setTimeout((()=>s(null)),y)}onHeaders(e,t,r,n){const i=a(t);this.retryCount+=1;if(e>=300){this.abort(new o("Request failed",e,{headers:i,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const t=A(i["content-range"]);if(!t){this.abort(new o("Content-Range mismatch",e,{headers:i,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==i.etag){this.abort(new o("ETag mismatch",e,{headers:i,count:this.retryCount}));return false}const{start:n,size:a,end:c=a}=t;s(this.start===n,"content-range mismatch");s(this.end==null||this.end===c,"content-range mismatch");this.resume=r;return true}if(this.end==null){if(e===206){const o=A(i["content-range"]);if(o==null){return this.handler.onHeaders(e,t,r,n)}const{start:a,size:c,end:l=c}=o;s(a!=null&&Number.isFinite(a)&&this.start!==a,"content-range mismatch");s(Number.isFinite(a));s(l!=null&&Number.isFinite(l)&&this.end!==l,"invalid content-length");this.start=a;this.end=l}if(this.end==null){const e=i["content-length"];this.end=e!=null?Number(e):null}s(Number.isFinite(this.start));s(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=r;this.etag=i.etag!=null?i.etag:null;return this.handler.onHeaders(e,t,r,n)}const c=new o("Request failed",e,{headers:i,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||i(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||i(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},4415:(e,t,r)=>{"use strict";const s=r(8299);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(r,n){const{maxRedirections:o=e}=r;if(!o){return t(r,n)}const i=new s(t,o,r,n);r={...r,maxRedirections:0};return t(r,i)}}e.exports=createRedirectInterceptor},2824:(e,t,r)=>{"use strict";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 s=r(172);var n;(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"})(n=t.ERROR||(t.ERROR={}));var o;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(o=t.TYPE||(t.TYPE={}));var i;(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"})(i=t.FLAGS||(t.FLAGS={}));var a;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(a=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var A;(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"})(A=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[A.DELETE,A.GET,A.HEAD,A.POST,A.PUT,A.CONNECT,A.OPTIONS,A.TRACE,A.COPY,A.LOCK,A.MKCOL,A.MOVE,A.PROPFIND,A.PROPPATCH,A.SEARCH,A.UNLOCK,A.BIND,A.REBIND,A.UNBIND,A.ACL,A.REPORT,A.MKACTIVITY,A.CHECKOUT,A.MERGE,A["M-SEARCH"],A.NOTIFY,A.SUBSCRIBE,A.UNSUBSCRIBE,A.PATCH,A.PURGE,A.MKCALENDAR,A.LINK,A.UNLINK,A.PRI,A.SOURCE];t.METHODS_ICE=[A.SOURCE];t.METHODS_RTSP=[A.OPTIONS,A.DESCRIBE,A.ANNOUNCE,A.SETUP,A.PLAY,A.PAUSE,A.TEARDOWN,A.GET_PARAMETER,A.SET_PARAMETER,A.REDIRECT,A.RECORD,A.FLUSH,A.GET,A.POST];t.METHOD_MAP=s.enumToMap(A);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 l;(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"})(l=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:l.CONNECTION,"content-length":l.CONTENT_LENGTH,"proxy-connection":l.CONNECTION,"transfer-encoding":l.TRANSFER_ENCODING,upgrade:l.UPGRADE}},3870:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2M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yABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAdABLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVG2wFHSElKzwHO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RAMGgtBqwEhEAwZC0GsASEQDBgLQa0BIRAMFwtBrgEhEAwWC0EBIRAMFQtBrwEhEAwUC0GwASEQDBMLQbEBIRAMEgtBswEhEAwRC0GyASEQDBALQbQBIRAMDwtBtQEhEAwOC0G2ASEQDA0LQbcBIRAMDAtBuAEhEAwLC0G5ASEQDAoLQboBIRAMCQtBuwEhEAwIC0HGASEQDAcLQbwBIRAMBgtBvQEhEAwFC0G+ASEQDAQLQb8BIRAMAwtBwAEhEAwCC0HCASEQDAELQcEBIRALA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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ADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgwMnwELIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgxBACEQDJ4BCyAAQQA2AhwgACAUNgIUIABB/pGAgAA2AhAgAEEHNgIMQQAhEAydAQsgAEEANgIcIAAgATYCFCAAQY6bgIAANgIQIABBBjYCDEEAIRAMnAELIBBBFUYNVyAAQQA2AhwgACABNgIUIABBzI6AgAA2AhAgAEE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ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB4f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BDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASACRg0AIABBi4CAgAA2AgggACABNgIEIAEhAUEHIRAMxAMLQRkhEAzcAwsgAUEBaiEBDAILAkAgASIUIAJHDQBBGiEQDNsDCyAUIQECQCAULQAAQXNqDhTdAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAgDuAgtBACEQIABBADYCHCAAQa+LgIAANgIQIABBAjYCDCAAIBRBAWo2AhQM2gMLAkAgAS0AACIQQTtGDQAgEEENRw3oASABQQFqIQEM5QILIAFBAWohAQtBIiEQDL8DCwJAIAEiECACRw0AQRwhEAzYAwtCACERIBAhASAQLQAAQV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QDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAynAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAymAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMRgsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAylAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHS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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},172:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((r=>{const s=e[r];if(typeof s==="number"){t[r]=s}}));return t}t.enumToMap=enumToMap},7501:(e,t,r)=>{"use strict";const{kClients:s}=r(6443);const n=r(9965);const{kAgent:o,kMockAgentSet:i,kMockAgentGet:a,kDispatches:A,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:d,kFactory:p}=r(1117);const g=r(7365);const m=r(4004);const{matchValue:h,buildMockOptions:E}=r(3397);const{InvalidArgumentError:C,UndiciError:y}=r(8707);const I=r(992);const B=r(1529);const Q=r(6142);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends I{constructor(e){super(e);this[l]=true;this[c]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new C("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new n(e);this[o]=t;this[s]=t[s];this[d]=E(e)}get(e){let t=this[a](e);if(!t){t=this[p](e);this[i](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[o].dispatch(e,t)}async close(){await this[o].close();this[s].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[l])){this[l].push(e)}else{this[l]=[e]}}else if(typeof e==="undefined"){this[l]=true}else{throw new C("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[l]=false}get isMockActive(){return this[c]}[i](e,t){this[s].set(e,new FakeWeakRef(t))}[p](e){const t=Object.assign({agent:this},this[d]);return this[d]&&this[d].connections===1?new g(e,t):new m(e,t)}[a](e){const t=this[s].get(e);if(t){return t.deref()}if(typeof e!=="string"){const t=this[p]("http://localhost:9999");this[i](e,t);return t}for(const[t,r]of Array.from(this[s])){const s=r.deref();if(s&&typeof t!=="string"&&h(t,e)){const t=this[p](e);this[i](e,t);t[A]=s[A];return t}}}[u](){return this[l]}pendingInterceptors(){const e=this[s];return Array.from(e.entries()).flatMap((([e,t])=>t.deref()[A].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Q}={}){const t=this.pendingInterceptors();if(t.length===0){return}const r=new B("interceptor","interceptors").pluralize(t.length);throw new y(`\n${r.count} ${r.noun} ${r.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},7365:(e,t,r)=>{"use strict";const{promisify:s}=r(9023);const n=r(6197);const{buildMockDispatch:o}=r(3397);const{kDispatches:i,kMockAgent:a,kClose:A,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=r(1117);const{MockInterceptor:p}=r(1511);const g=r(6443);const{InvalidArgumentError:m}=r(8707);class MockClient extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new m("Argument opts.agent must implement Agent")}this[a]=t.agent;this[l]=e;this[i]=[];this[d]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[A]}get[g.kConnected](){return this[d]}intercept(e){return new p(e,this[i])}async[A](){await s(this[c])();this[d]=0;this[a][g.kClients].delete(this[l])}}e.exports=MockClient},2429:(e,t,r)=>{"use strict";const{UndiciError:s}=r(8707);class MockNotMatchedError extends s{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}},1511:(e,t,r)=>{"use strict";const{getResponseData:s,buildKey:n,addMockDispatch:o}=r(3397);const{kDispatches:i,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=r(1117);const{InvalidArgumentError:d}=r(8707);const{buildURL:p}=r(3440);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new d("opts must be an object")}if(typeof e.path==="undefined"){throw new d("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=p(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[a]=n(e);this[i]=t;this[A]={};this[c]={};this[l]=false}createMockScopeDispatchData(e,t,r={}){const n=s(t);const o=this[l]?{"content-length":n.length}:{};const i={...this[A],...o,...r.headers};const a={...this[c],...r.trailers};return{statusCode:e,data:t,headers:i,trailers:a}}validateReplyParameters(e,t,r){if(typeof e==="undefined"){throw new d("statusCode must be defined")}if(typeof t==="undefined"){throw new d("data must be defined")}if(typeof r!=="object"){throw new d("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const r=e(t);if(typeof r!=="object"){throw new d("reply options callback must return an object")}const{statusCode:s,data:n="",responseOptions:o={}}=r;this.validateReplyParameters(s,n,o);return{...this.createMockScopeDispatchData(s,n,o)}};const t=o(this[i],this[a],wrappedDefaultsCallback);return new MockScope(t)}const[t,r="",s={}]=[...arguments];this.validateReplyParameters(t,r,s);const n=this.createMockScopeDispatchData(t,r,s);const A=o(this[i],this[a],n);return new MockScope(A)}replyWithError(e){if(typeof e==="undefined"){throw new d("error must be defined")}const t=o(this[i],this[a],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new d("headers must be defined")}this[A]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new d("trailers must be defined")}this[c]=e;return this}replyContentLength(){this[l]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},4004:(e,t,r)=>{"use strict";const{promisify:s}=r(9023);const n=r(5076);const{buildMockDispatch:o}=r(3397);const{kDispatches:i,kMockAgent:a,kClose:A,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=r(1117);const{MockInterceptor:p}=r(1511);const g=r(6443);const{InvalidArgumentError:m}=r(8707);class MockPool extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new m("Argument opts.agent must implement Agent")}this[a]=t.agent;this[l]=e;this[i]=[];this[d]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[A]}get[g.kConnected](){return this[d]}intercept(e){return new p(e,this[i])}async[A](){await s(this[c])();this[d]=0;this[a][g.kClients].delete(this[l])}}e.exports=MockPool},1117:e=>{"use strict";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")}},3397:(e,t,r)=>{"use strict";const{MockNotMatchedError:s}=r(2429);const{kDispatches:n,kMockAgent:o,kOriginalDispatch:i,kOrigin:a,kGetNetConnect:A}=r(1117);const{buildURL:c,nop:l}=r(3440);const{STATUS_CODES:u}=r(8611);const{types:{isPromise:d}}=r(9023);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 r=0;r!e)).filter((({path:e})=>matchValue(safeUrl(e),n)));if(o.length===0){throw new s(`Mock dispatch not matched for path '${n}'`)}o=o.filter((({method:e})=>matchValue(e,t.method)));if(o.length===0){throw new s(`Mock dispatch not matched for method '${t.method}'`)}o=o.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(o.length===0){throw new s(`Mock dispatch not matched for body '${t.body}'`)}o=o.filter((e=>matchHeaders(e,t.headers)));if(o.length===0){throw new s(`Mock dispatch not matched for headers '${typeof t.headers==="object"?JSON.stringify(t.headers):t.headers}'`)}return o[0]}function addMockDispatch(e,t,r){const s={timesInvoked:0,times:1,persist:false,consumed:false};const n=typeof r==="function"?{callback:r}:{...r};const o={...s,...t,pending:true,data:{error:null,...n}};e.push(o);return o}function deleteMockDispatch(e,t){const r=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(r!==-1){e.splice(r,1)}}function buildKey(e){const{path:t,method:r,body:s,headers:n,query:o}=e;return{path:t,method:r,body:s,headers:n,query:o}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[t,r])=>[...e,Buffer.from(`${t}`),Array.isArray(r)?r.map((e=>Buffer.from(`${e}`))):Buffer.from(`${r}`)]),[])}function getStatusText(e){return u[e]||"unknown"}async function getResponse(e){const t=[];for await(const r of e){t.push(r)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const r=buildKey(e);const s=getMockDispatch(this[n],r);s.timesInvoked++;if(s.data.callback){s.data={...s.data,...s.data.callback(e)}}const{data:{statusCode:o,data:i,headers:a,trailers:A,error:c},delay:u,persist:p}=s;const{timesInvoked:g,times:m}=s;s.consumed=!p&&g>=m;s.pending=g0){setTimeout((()=>{handleReply(this[n])}),u)}else{handleReply(this[n])}function handleReply(s,n=i){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const u=typeof n==="function"?n({...e,headers:c}):n;if(d(u)){u.then((e=>handleReply(s,e)));return}const p=getResponseData(u);const g=generateKeyValues(a);const m=generateKeyValues(A);t.abort=l;t.onHeaders(o,g,resume,getStatusText(o));t.onData(Buffer.from(p));t.onComplete(m);deleteMockDispatch(s,r)}function resume(){}return true}function buildMockDispatch(){const e=this[o];const t=this[a];const r=this[i];return function dispatch(n,o){if(e.isMockActive){try{mockDispatch.call(this,n,o)}catch(i){if(i instanceof s){const a=e[A]();if(a===false){throw new s(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(a,t)){r.call(this,n,o)}else{throw new s(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw i}}}else{r.call(this,n,o)}}}function checkNetConnect(e,t){const r=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,r.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...r}=e;return r}}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}},6142:(e,t,r)=>{"use strict";const{Transform:s}=r(2203);const{Console:n}=r(4236);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new s({transform(e,t,r){r(null,e)}});this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:r},persist:s,times:n,timesInvoked:o,origin:i})=>({Method:e,Origin:i,Path:t,"Status code":r,Persistent:s?"✅":"❌",Invocations:o,Remaining:s?Infinity:n-o})));this.logger.table(t);return this.transform.read().toString()}}},1529:e=>{"use strict";const t={pronoun:"it",is:"is",was:"was",this:"this"};const r={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const s=e===1;const n=s?t:r;const o=s?this.singular:this.plural;return{...n,count:e,noun:o}}}},4869:e=>{"use strict";const t=2048;const r=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&r)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&r}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&r;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}}},8640:(e,t,r)=>{"use strict";const s=r(1);const n=r(4869);const{kConnected:o,kSize:i,kRunning:a,kPending:A,kQueued:c,kBusy:l,kFree:u,kUrl:d,kClose:p,kDestroy:g,kDispatch:m}=r(6443);const h=r(4622);const E=Symbol("clients");const C=Symbol("needDrain");const y=Symbol("queue");const I=Symbol("closed resolve");const B=Symbol("onDrain");const Q=Symbol("onConnect");const b=Symbol("onDisconnect");const S=Symbol("onConnectionError");const R=Symbol("get dispatcher");const w=Symbol("add client");const N=Symbol("remove client");const v=Symbol("stats");class PoolBase extends s{constructor(){super();this[y]=new n;this[E]=[];this[c]=0;const e=this;this[B]=function onDrain(t,r){const s=e[y];let n=false;while(!n){const t=s.shift();if(!t){break}e[c]--;n=!this.dispatch(t.opts,t.handler)}this[C]=n;if(!this[C]&&e[C]){e[C]=false;e.emit("drain",t,[e,...r])}if(e[I]&&s.isEmpty()){Promise.all(e[E].map((e=>e.close()))).then(e[I])}};this[Q]=(t,r)=>{e.emit("connect",t,[e,...r])};this[b]=(t,r,s)=>{e.emit("disconnect",t,[e,...r],s)};this[S]=(t,r,s)=>{e.emit("connectionError",t,[e,...r],s)};this[v]=new h(this)}get[l](){return this[C]}get[o](){return this[E].filter((e=>e[o])).length}get[u](){return this[E].filter((e=>e[o]&&!e[C])).length}get[A](){let e=this[c];for(const{[A]:t}of this[E]){e+=t}return e}get[a](){let e=0;for(const{[a]:t}of this[E]){e+=t}return e}get[i](){let e=this[c];for(const{[i]:t}of this[E]){e+=t}return e}get stats(){return this[v]}async[p](){if(this[y].isEmpty()){return Promise.all(this[E].map((e=>e.close())))}else{return new Promise((e=>{this[I]=e}))}}async[g](e){while(true){const t=this[y].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[E].map((t=>t.destroy(e))))}[m](e,t){const r=this[R]();if(!r){this[C]=true;this[y].push({opts:e,handler:t});this[c]++}else if(!r.dispatch(e,t)){r[C]=true;this[C]=!this[R]()}return!this[C]}[w](e){e.on("drain",this[B]).on("connect",this[Q]).on("disconnect",this[b]).on("connectionError",this[S]);this[E].push(e);if(this[C]){process.nextTick((()=>{if(this[C]){this[B](e[d],[this,e])}}))}return this}[N](e){e.close((()=>{const t=this[E].indexOf(e);if(t!==-1){this[E].splice(t,1)}}));this[C]=this[E].some((e=>!e[C]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:E,kNeedDrain:C,kAddClient:w,kRemoveClient:N,kGetDispatcher:R}},4622:(e,t,r)=>{const{kFree:s,kConnected:n,kPending:o,kQueued:i,kRunning:a,kSize:A}=r(6443);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][n]}get free(){return this[c][s]}get pending(){return this[c][o]}get queued(){return this[c][i]}get running(){return this[c][a]}get size(){return this[c][A]}}e.exports=PoolStats},5076:(e,t,r)=>{"use strict";const{PoolBase:s,kClients:n,kNeedDrain:o,kAddClient:i,kGetDispatcher:a}=r(8640);const A=r(6197);const{InvalidArgumentError:c}=r(8707);const l=r(3440);const{kUrl:u,kInterceptors:d}=r(6443);const p=r(9136);const g=Symbol("options");const m=Symbol("connections");const h=Symbol("factory");function defaultFactory(e,t){return new A(e,t)}class Pool extends s{constructor(e,{connections:t,factory:r=defaultFactory,connect:s,connectTimeout:n,tls:o,maxCachedSessions:i,socketPath:a,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:E,allowH2:C,...y}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new c("invalid connections")}if(typeof r!=="function"){throw new c("factory must be a function.")}if(s!=null&&typeof s!=="function"&&typeof s!=="object"){throw new c("connect must be a function or an object")}if(typeof s!=="function"){s=p({...o,maxCachedSessions:i,allowH2:C,socketPath:a,timeout:n,...l.nodeHasAutoSelectFamily&&A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:E}:undefined,...s})}this[d]=y.interceptors&&y.interceptors.Pool&&Array.isArray(y.interceptors.Pool)?y.interceptors.Pool:[];this[m]=t||null;this[u]=l.parseOrigin(e);this[g]={...l.deepClone(y),connect:s,allowH2:C};this[g].interceptors=y.interceptors?{...y.interceptors}:undefined;this[h]=r}[a](){let e=this[n].find((e=>!e[o]));if(e){return e}if(!this[m]||this[n].length{"use strict";const{kProxy:s,kClose:n,kDestroy:o,kInterceptors:i}=r(6443);const{URL:a}=r(7016);const A=r(9965);const c=r(5076);const l=r(1);const{InvalidArgumentError:u,RequestAbortedError:d}=r(8707);const p=r(9136);const g=Symbol("proxy agent");const m=Symbol("proxy client");const h=Symbol("proxy headers");const E=Symbol("request tls settings");const C=Symbol("proxy tls settings");const y=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 u("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 l{constructor(e){super(e);this[s]=buildProxyOptions(e);this[g]=new A(e);this[i]=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 u("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new u("Proxy opts.clientFactory must be a function.")}this[E]=e.requestTls;this[C]=e.proxyTls;this[h]=e.headers||{};const r=new a(e.uri);const{origin:n,port:o,host:c,username:l,password:I}=r;if(e.auth&&e.token){throw new u("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[h]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[h]["proxy-authorization"]=e.token}else if(l&&I){this[h]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(I)}`).toString("base64")}`}const B=p({...e.proxyTls});this[y]=p({...e.requestTls});this[m]=t(r,{connect:B});this[g]=new A({...e,connect:async(e,t)=>{let r=e.host;if(!e.port){r+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:s,statusCode:i}=await this[m].connect({origin:n,port:o,path:r,signal:e.signal,headers:{...this[h],host:c}});if(i!==200){s.on("error",(()=>{})).destroy();t(new d(`Proxy response (${i}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,s);return}let a;if(this[E]){a=this[E].servername}else{a=e.servername}this[y]({...e,servername:a,httpSocket:s},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:r}=new a(e.origin);const s=buildHeaders(e.headers);throwIfProxyAuthIsSent(s);return this[g].dispatch({...e,headers:{...s,host:r}},t)}async[n](){await this[g].close();await this[m].close()}async[o](){await this[g].destroy();await this[m].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let r=0;re.toLowerCase()==="proxy-authorization"));if(t){throw new u("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},8804:e=>{"use strict";let t=Date.now();let r;const s=[];function onTimeout(){t=Date.now();let e=s.length;let r=0;while(r0&&t>=n.state){n.state=-1;n.callback(n.opaque)}if(n.state===-1){n.state=-2;if(r!==e-1){s[r]=s.pop()}else{s.pop()}e-=1}else{r+=1}}if(s.length>0){refreshTimeout()}}function refreshTimeout(){if(r&&r.refresh){r.refresh()}else{clearTimeout(r);r=setTimeout(onTimeout,1e3);if(r.unref){r.unref()}}}class Timeout{constructor(e,t,r){this.callback=e;this.delay=t;this.opaque=r;this.state=-2;this.refresh()}refresh(){if(this.state===-2){s.push(this);if(!r||s.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,t,r){return t<1e3?setTimeout(e,t,r):new Timeout(e,t,r)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},8550:(e,t,r)=>{"use strict";const s=r(1637);const{uid:n,states:o}=r(5913);const{kReadyState:i,kSentClose:a,kByteParser:A,kReceivedClose:c}=r(2933);const{fireEvent:l,failWebsocketConnection:u}=r(3574);const{CloseEvent:d}=r(6255);const{makeRequest:p}=r(5194);const{fetching:g}=r(2315);const{Headers:m}=r(6349);const{getGlobalDispatcher:h}=r(2581);const{kHeadersList:E}=r(6443);const C={};C.open=s.channel("undici:websocket:open");C.close=s.channel("undici:websocket:close");C.socketError=s.channel("undici:websocket:socket_error");let y;try{y=r(6982)}catch{}function establishWebSocketConnection(e,t,r,s,o){const i=e;i.protocol=e.protocol==="ws:"?"http:":"https:";const a=p({urlList:[i],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){const e=new m(o.headers)[E];a.headersList=e}const A=y.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",A);a.headersList.append("sec-websocket-version","13");for(const e of t){a.headersList.append("sec-websocket-protocol",e)}const c="";const l=g({request:a,useParallelQueue:true,dispatcher:o.dispatcher??h(),processResponse(e){if(e.type==="error"||e.status!==101){u(r,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){u(r,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){u(r,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){u(r,'Server did not set Connection header to "upgrade".');return}const o=e.headersList.get("Sec-WebSocket-Accept");const i=y.createHash("sha1").update(A+n).digest("base64");if(o!==i){u(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const l=e.headersList.get("Sec-WebSocket-Extensions");if(l!==null&&l!==c){u(r,"Received different permessage-deflate than the one set.");return}const d=e.headersList.get("Sec-WebSocket-Protocol");if(d!==null&&d!==a.headersList.get("Sec-WebSocket-Protocol")){u(r,"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(C.open.hasSubscribers){C.open.publish({address:e.socket.address(),protocol:d,extensions:l})}s(e)}});return l}function onSocketData(e){if(!this.ws[A].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[a]&&e[c];let r=1005;let s="";const n=e[A].closingInfo;if(n){r=n.code??1005;s=n.reason}else if(!e[a]){r=1006}e[i]=o.CLOSED;l("close",e,d,{wasClean:t,code:r,reason:s});if(C.close.hasSubscribers){C.close.publish({websocket:e,code:r,reason:s})}}function onSocketError(e){const{ws:t}=this;t[i]=o.CLOSING;if(C.socketError.hasSubscribers){C.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},5913:e=>{"use strict";const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const r={enumerable:true,writable:false,configurable:false};const s={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const n={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const o=2**16-1;const i={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const a=Buffer.allocUnsafe(0);e.exports={uid:t,staticPropertyDescriptors:r,states:s,opcodes:n,maxUnsigned16Bit:o,parserStates:i,emptyBuffer:a}},6255:(e,t,r)=>{"use strict";const{webidl:s}=r(4222);const{kEnumerableProperty:n}=r(3440);const{MessagePort:o}=r(8167);class MessageEvent extends Event{#o;constructor(e,t={}){s.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=s.converters.DOMString(e);t=s.converters.MessageEventInit(t);super(e,t);this.#o=t}get data(){s.brandCheck(this,MessageEvent);return this.#o.data}get origin(){s.brandCheck(this,MessageEvent);return this.#o.origin}get lastEventId(){s.brandCheck(this,MessageEvent);return this.#o.lastEventId}get source(){s.brandCheck(this,MessageEvent);return this.#o.source}get ports(){s.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#o.ports)){Object.freeze(this.#o.ports)}return this.#o.ports}initMessageEvent(e,t=false,r=false,n=null,o="",i="",a=null,A=[]){s.brandCheck(this,MessageEvent);s.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:r,data:n,origin:o,lastEventId:i,source:a,ports:A})}}class CloseEvent extends Event{#o;constructor(e,t={}){s.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=s.converters.DOMString(e);t=s.converters.CloseEventInit(t);super(e,t);this.#o=t}get wasClean(){s.brandCheck(this,CloseEvent);return this.#o.wasClean}get code(){s.brandCheck(this,CloseEvent);return this.#o.code}get reason(){s.brandCheck(this,CloseEvent);return this.#o.reason}}class ErrorEvent extends Event{#o;constructor(e,t){s.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=s.converters.DOMString(e);t=s.converters.ErrorEventInit(t??{});this.#o=t}get message(){s.brandCheck(this,ErrorEvent);return this.#o.message}get filename(){s.brandCheck(this,ErrorEvent);return this.#o.filename}get lineno(){s.brandCheck(this,ErrorEvent);return this.#o.lineno}get colno(){s.brandCheck(this,ErrorEvent);return this.#o.colno}get error(){s.brandCheck(this,ErrorEvent);return this.#o.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:n,code:n,wasClean:n});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:n,filename:n,lineno:n,colno:n,error:n});s.converters.MessagePort=s.interfaceConverter(o);s.converters["sequence"]=s.sequenceConverter(s.converters.MessagePort);const i=[{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}];s.converters.MessageEventInit=s.dictionaryConverter([...i,{key:"data",converter:s.converters.any,defaultValue:null},{key:"origin",converter:s.converters.USVString,defaultValue:""},{key:"lastEventId",converter:s.converters.DOMString,defaultValue:""},{key:"source",converter:s.nullableConverter(s.converters.MessagePort),defaultValue:null},{key:"ports",converter:s.converters["sequence"],get defaultValue(){return[]}}]);s.converters.CloseEventInit=s.dictionaryConverter([...i,{key:"wasClean",converter:s.converters.boolean,defaultValue:false},{key:"code",converter:s.converters["unsigned short"],defaultValue:0},{key:"reason",converter:s.converters.USVString,defaultValue:""}]);s.converters.ErrorEventInit=s.dictionaryConverter([...i,{key:"message",converter:s.converters.DOMString,defaultValue:""},{key:"filename",converter:s.converters.USVString,defaultValue:""},{key:"lineno",converter:s.converters["unsigned long"],defaultValue:0},{key:"colno",converter:s.converters["unsigned long"],defaultValue:0},{key:"error",converter:s.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},1237:(e,t,r)=>{"use strict";const{maxUnsigned16Bit:s}=r(5913);let n;try{n=r(6982)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=n.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let r=t;let n=6;if(t>s){n+=8;r=127}else if(t>125){n+=2;r=126}const o=Buffer.allocUnsafe(t+n);o[0]=o[1]=0;o[0]|=128;o[0]=(o[0]&240)+e; -/*! ws. MIT License. Einar Otto Stangvik */o[n-4]=this.maskKey[0];o[n-3]=this.maskKey[1];o[n-2]=this.maskKey[2];o[n-1]=this.maskKey[3];o[1]=r;if(r===126){o.writeUInt16BE(t,2)}else if(r===127){o[2]=o[3]=0;o.writeUIntBE(t,4,6)}o[1]|=128;for(let e=0;e{"use strict";const{Writable:s}=r(2203);const n=r(1637);const{parserStates:o,opcodes:i,states:a,emptyBuffer:A}=r(5913);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:d}=r(2933);const{isValidStatusCode:p,failWebsocketConnection:g,websocketMessageReceived:m}=r(3574);const{WebsocketFrameSend:h}=r(1237);const E={};E.ping=n.channel("undici:websocket:ping");E.pong=n.channel("undici:websocket:pong");class ByteParser extends s{#i=[];#a=0;#A=o.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#i.push(e);this.#a+=e.length;this.run(r)}run(e){while(true){if(this.#A===o.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!==i.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==i.BINARY&&this.#c.opcode!==i.TEXT){g(this.ws,"Invalid frame type was fragmented.");return}const r=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#A=o.READ_DATA}else if(r===126){this.#A=o.PAYLOADLENGTH_16}else if(r===127){this.#A=o.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){g(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===i.PING||this.#c.opcode===i.PONG||this.#c.opcode===i.CLOSE)&&r>125){g(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===i.CLOSE){if(r===1){g(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new h(e);this.ws[u].socket.write(t.createFrame(i.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=a.CLOSING;this.ws[d]=true;this.end();return}else if(this.#c.opcode===i.PING){const t=this.consume(r);if(!this.ws[d]){const e=new h(t);this.ws[u].socket.write(e.createFrame(i.PONG));if(E.ping.hasSubscribers){E.ping.publish({payload:t})}}this.#A=o.INFO;if(this.#a>0){continue}else{e();return}}else if(this.#c.opcode===i.PONG){const t=this.consume(r);if(E.pong.hasSubscribers){E.pong.publish({payload:t})}if(this.#a>0){continue}else{e();return}}}else if(this.#A===o.PAYLOADLENGTH_16){if(this.#a<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#A=o.READ_DATA}else if(this.#A===o.PAYLOADLENGTH_64){if(this.#a<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){g(this.ws,"Received payload length > 2^31 bytes.");return}const s=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+s;this.#A=o.READ_DATA}else if(this.#A===o.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===i.CONTINUATION){const e=Buffer.concat(this.#l);m(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#A=o.INFO}}if(this.#a>0){continue}else{e();break}}}consume(e){if(e>this.#a){return null}else if(e===0){return A}if(this.#i[0].length===e){this.#a-=this.#i[0].length;return this.#i.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const s=this.#i[0];const{length:n}=s;if(n+r===e){t.set(this.#i.shift(),r);break}else if(n+r>e){t.set(s.subarray(0,e-r),r);this.#i[0]=s.subarray(e-r);break}else{t.set(this.#i.shift(),r);r+=s.length}}this.#a-=e;return t}parseCloseBody(e,t){let r;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!p(r)){return null}return{code:r}}let s=t.subarray(2);if(s[0]===239&&s[1]===187&&s[2]===191){s=s.subarray(3)}if(r!==undefined&&!p(r)){return null}try{s=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{return null}return{code:r,reason:s}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},2933:e=>{"use strict";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,r)=>{"use strict";const{kReadyState:s,kController:n,kResponse:o,kBinaryType:i,kWebSocketURL:a}=r(2933);const{states:A,opcodes:c}=r(5913);const{MessageEvent:l,ErrorEvent:u}=r(6255);function isEstablished(e){return e[s]===A.OPEN}function isClosing(e){return e[s]===A.CLOSING}function isClosed(e){return e[s]===A.CLOSED}function fireEvent(e,t,r=Event,s){const n=new r(e,s);t.dispatchEvent(n)}function websocketMessageReceived(e,t,r){if(e[s]!==A.OPEN){return}let n;if(t===c.TEXT){try{n=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[i]==="blob"){n=new Blob([r])}else{n=new Uint8Array(r).buffer}}fireEvent("message",e,l,{origin:e[a].origin,data:n})}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{[n]:r,[o]:s}=e;r.abort();if(s?.socket&&!s.socket.destroyed){s.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},5171:(e,t,r)=>{"use strict";const{webidl:s}=r(4222);const{DOMException:n}=r(7326);const{URLSerializer:o}=r(4322);const{getGlobalOrigin:i}=r(5628);const{staticPropertyDescriptors:a,states:A,opcodes:c,emptyBuffer:l}=r(5913);const{kWebSocketURL:u,kReadyState:d,kController:p,kBinaryType:g,kResponse:m,kSentClose:h,kByteParser:E}=r(2933);const{isEstablished:C,isClosing:y,isValidSubprotocol:I,failWebsocketConnection:B,fireEvent:Q}=r(3574);const{establishWebSocketConnection:b}=r(8550);const{WebsocketFrameSend:S}=r(1237);const{ByteParser:R}=r(3171);const{kEnumerableProperty:w,isBlobLike:N}=r(3440);const{getGlobalDispatcher:v}=r(2581);const{types:x}=r(9023);let D=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#d=0;#p="";#g="";constructor(e,t=[]){super();s.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!D){D=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=s.converters["DOMString or sequence or WebSocketInit"](t);e=s.converters.USVString(e);t=r.protocols;const o=i();let a;try{a=new URL(e,o)}catch(e){throw new n(e,"SyntaxError")}if(a.protocol==="http:"){a.protocol="ws:"}else if(a.protocol==="https:"){a.protocol="wss:"}if(a.protocol!=="ws:"&&a.protocol!=="wss:"){throw new n(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new n("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>I(e)))){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(a.href);this[p]=b(a,t,this,(e=>this.#m(e)),r);this[d]=WebSocket.CONNECTING;this[g]="blob"}close(e=undefined,t=undefined){s.brandCheck(this,WebSocket);if(e!==undefined){e=s.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=s.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new n("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new n(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[d]===WebSocket.CLOSING||this[d]===WebSocket.CLOSED){}else if(!C(this)){B(this,"Connection was closed before it was established.");this[d]=WebSocket.CLOSING}else if(!y(this)){const s=new S;if(e!==undefined&&t===undefined){s.frameData=Buffer.allocUnsafe(2);s.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){s.frameData=Buffer.allocUnsafe(2+r);s.frameData.writeUInt16BE(e,0);s.frameData.write(t,2,"utf-8")}else{s.frameData=l}const n=this[m].socket;n.write(s.createFrame(c.CLOSE),(e=>{if(!e){this[h]=true}}));this[d]=A.CLOSING}else{this[d]=WebSocket.CLOSING}}send(e){s.brandCheck(this,WebSocket);s.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=s.converters.WebSocketSendData(e);if(this[d]===WebSocket.CONNECTING){throw new n("Sent before connected.","InvalidStateError")}if(!C(this)||y(this)){return}const t=this[m].socket;if(typeof e==="string"){const r=Buffer.from(e);const s=new S(r);const n=s.createFrame(c.TEXT);this.#d+=r.byteLength;t.write(n,(()=>{this.#d-=r.byteLength}))}else if(x.isArrayBuffer(e)){const r=Buffer.from(e);const s=new S(r);const n=s.createFrame(c.BINARY);this.#d+=r.byteLength;t.write(n,(()=>{this.#d-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const s=new S(r);const n=s.createFrame(c.BINARY);this.#d+=r.byteLength;t.write(n,(()=>{this.#d-=r.byteLength}))}else if(N(e)){const r=new S;e.arrayBuffer().then((e=>{const s=Buffer.from(e);r.frameData=s;const n=r.createFrame(c.BINARY);this.#d+=s.byteLength;t.write(n,(()=>{this.#d-=s.byteLength}))}))}}get readyState(){s.brandCheck(this,WebSocket);return this[d]}get bufferedAmount(){s.brandCheck(this,WebSocket);return this.#d}get url(){s.brandCheck(this,WebSocket);return o(this[u])}get extensions(){s.brandCheck(this,WebSocket);return this.#g}get protocol(){s.brandCheck(this,WebSocket);return this.#p}get onopen(){s.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){s.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(){s.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){s.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(){s.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){s.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(){s.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){s.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(){s.brandCheck(this,WebSocket);return this[g]}set binaryType(e){s.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#m(e){this[m]=e;const t=new R(this);t.on("drain",(function onParserDrain(){this.ws[m].socket.resume()}));e.socket.ws=this;this[E]=t;this[d]=A.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#g=r}const s=e.headersList.get("sec-websocket-protocol");if(s!==null){this.#p=s}Q("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=A.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=A.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=A.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=A.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:w,readyState:w,bufferedAmount:w,onopen:w,onerror:w,onclose:w,close:w,onmessage:w,binaryType:w,send:w,extensions:w,protocol:w,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a});s.converters["sequence"]=s.sequenceConverter(s.converters.DOMString);s.converters["DOMString or sequence"]=function(e){if(s.util.Type(e)==="Object"&&Symbol.iterator in e){return s.converters["sequence"](e)}return s.converters.DOMString(e)};s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return v()}},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]);s.converters["DOMString or sequence or WebSocketInit"]=function(e){if(s.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return s.converters.WebSocketInit(e)}return{protocols:s.converters["DOMString or sequence"](e)}};s.converters.WebSocketSendData=function(e){if(s.util.Type(e)==="Object"){if(N(e)){return s.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||x.isAnyArrayBuffer(e)){return s.converters.BufferSource(e)}}return s.converters.USVString(e)};e.exports={WebSocket:WebSocket}},3843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},8682:e=>{var t=[];for(var r=0;r<256;++r){t[r]=(r+256).toString(16).substr(1)}function bytesToUuid(e,r){var s=r||0;var n=t;return[n[e[s++]],n[e[s++]],n[e[s++]],n[e[s++]],"-",n[e[s++]],n[e[s++]],"-",n[e[s++]],n[e[s++]],"-",n[e[s++]],n[e[s++]],"-",n[e[s++]],n[e[s++]],n[e[s++]],n[e[s++]],n[e[s++]],n[e[s++]]].join("")}e.exports=bytesToUuid},1694:(e,t,r)=>{var s=r(6982);e.exports=function nodeRNG(){return s.randomBytes(16)}},9021:(e,t,r)=>{var s=r(1694);var n=r(8682);function v4(e,t,r){var o=t&&r||0;if(typeof e=="string"){t=e==="binary"?new Array(16):null;e=null}e=e||{};var i=e.random||(e.rng||s)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;if(t){for(var a=0;a<16;++a){t[o+a]=i[a]}}return t||n(i)}e.exports=v4},8264:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{"use strict";e.exports=require("assert")},290:e=>{"use strict";e.exports=require("async_hooks")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},4236:e=>{"use strict";e.exports=require("console")},6982:e=>{"use strict";e.exports=require("crypto")},1637:e=>{"use strict";e.exports=require("diagnostics_channel")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5675:e=>{"use strict";e.exports=require("http2")},5692:e=>{"use strict";e.exports=require("https")},9278:e=>{"use strict";e.exports=require("net")},8474:e=>{"use strict";e.exports=require("node:events")},7067:e=>{"use strict";e.exports=require("node:http")},4708:e=>{"use strict";e.exports=require("node:https")},8161:e=>{"use strict";e.exports=require("node:os")},1708:e=>{"use strict";e.exports=require("node:process")},7075:e=>{"use strict";e.exports=require("node:stream")},7975:e=>{"use strict";e.exports=require("node:util")},8522:e=>{"use strict";e.exports=require("node:zlib")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},2987:e=>{"use strict";e.exports=require("perf_hooks")},932:e=>{"use strict";e.exports=require("process")},3480:e=>{"use strict";e.exports=require("querystring")},2203:e=>{"use strict";e.exports=require("stream")},3774:e=>{"use strict";e.exports=require("stream/web")},3193:e=>{"use strict";e.exports=require("string_decoder")},3557:e=>{"use strict";e.exports=require("timers")},4756:e=>{"use strict";e.exports=require("tls")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},8253:e=>{"use strict";e.exports=require("util/types")},8167:e=>{"use strict";e.exports=require("worker_threads")},3106:e=>{"use strict";e.exports=require("zlib")},198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureKeyCredential=void 0;class AzureKeyCredential{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},1295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureNamedKeyCredential=void 0;t.isNamedKeyCredential=isNamedKeyCredential;const s=r(7779);class AzureNamedKeyCredential{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,s.isObjectWithProperties)(e,["name","key"])&&typeof e.key==="string"&&typeof e.name==="string"}},6608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureSASCredential=void 0;t.isSASCredential=isSASCredential;const s=r(7779);class AzureSASCredential{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,s.isObjectWithProperties)(e,["signature"])&&typeof e.signature==="string"}},417:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTokenCredential=t.isSASCredential=t.AzureSASCredential=t.isNamedKeyCredential=t.AzureNamedKeyCredential=t.isKeyCredential=t.AzureKeyCredential=void 0;var s=r(198);Object.defineProperty(t,"AzureKeyCredential",{enumerable:true,get:function(){return s.AzureKeyCredential}});var n=r(9155);Object.defineProperty(t,"isKeyCredential",{enumerable:true,get:function(){return n.isKeyCredential}});var o=r(1295);Object.defineProperty(t,"AzureNamedKeyCredential",{enumerable:true,get:function(){return o.AzureNamedKeyCredential}});Object.defineProperty(t,"isNamedKeyCredential",{enumerable:true,get:function(){return o.isNamedKeyCredential}});var i=r(6608);Object.defineProperty(t,"AzureSASCredential",{enumerable:true,get:function(){return i.AzureSASCredential}});Object.defineProperty(t,"isSASCredential",{enumerable:true,get:function(){return i.isSASCredential}});var a=r(6881);Object.defineProperty(t,"isTokenCredential",{enumerable:true,get:function(){return a.isTokenCredential}})},9155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyCredential=isKeyCredential;const s=r(7779);function isKeyCredential(e){return(0,s.isObjectWithProperties)(e,["key"])&&typeof e.key==="string"}},6881:(e,t)=>{"use strict";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)}},7698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.authorizeRequestOnClaimChallenge=t.parseCAEChallenge=void 0;const s=r(9994);const n=r(741);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 r=t.map((e=>(([e,t])=>({[e]:t}))(e.trim().split('="'))));return r.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})}))}t.parseCAEChallenge=parseCAEChallenge;async function authorizeRequestOnClaimChallenge(e){const{scopes:t,response:r}=e;const o=e.logger||s.logger;const i=r.headers.get("WWW-Authenticate");if(!i){o.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const a=parseCAEChallenge(i)||[];const A=a.find((e=>e.claims));if(!A){o.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(A.scope?[A.scope]:t,{claims:(0,n.decodeStringToString)(A.claims)});if(!c){return false}e.request.headers.set("Authorization",`Bearer ${c.token}`);return true}t.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge},7454:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.authorizeRequestOnTenantChallenge=void 0;const r={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 s=getChallenge(e.response);if(s){const n=parseChallenge(s);const o=buildScopes(e,n);const i=extractTenantId(n);if(!i){return false}const a=await e.getAccessToken(o,Object.assign(Object.assign({},t),{tenantId:i}));if(!a){return false}e.request.headers.set(r.HeaderConstants.AUTHORIZATION,`Bearer ${a.token}`);return true}return false};t.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(e){const t=new URL(e.authorization_uri);const r=t.pathname.split("/");const s=r[1];if(s&&isUuid(s)){return s}return undefined}function buildScopes(e,t){if(!t.resource_id){return e.scopes}const s=new URL(t.resource_id);s.pathname=r.DefaultScope;let n=s.toString();if(n==="https://disk.azure.com/.default"){n="https://disk.azure.com//.default"}return[n]}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 r=`${t.trim()} `.split(" ").filter((e=>e));const s=r.map((e=>(([e,t])=>({[e]:t}))(e.trim().split("="))));return s.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})}function requestToOptions(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}},741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decodeStringToString=t.decodeString=t.encodeByteArray=t.encodeString=void 0;function encodeString(e){return Buffer.from(e).toString("base64")}t.encodeString=encodeString;function encodeByteArray(e){const t=e instanceof Buffer?e:Buffer.from(e.buffer);return t.toString("base64")}t.encodeByteArray=encodeByteArray;function decodeString(e){return Buffer.from(e,"base64")}t.decodeString=decodeString;function decodeStringToString(e){return Buffer.from(e,"base64").toString()}t.decodeStringToString=decodeStringToString},111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deserializationPolicy=t.deserializationPolicyName=void 0;const s=r(6058);const n=r(778);const o=r(1530);const i=r(9688);const a=["application/json","text/json"];const A=["application/xml","application/atom+xml"];t.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(e={}){var r,n,o,i,c,l,u;const d=(n=(r=e.expectedContentTypes)===null||r===void 0?void 0:r.json)!==null&&n!==void 0?n:a;const p=(i=(o=e.expectedContentTypes)===null||o===void 0?void 0:o.xml)!==null&&i!==void 0?i:A;const g=e.parseXML;const m=e.serializerOptions;const h={xml:{rootName:(c=m===null||m===void 0?void 0:m.xml.rootName)!==null&&c!==void 0?c:"",includeRoot:(l=m===null||m===void 0?void 0:m.xml.includeRoot)!==null&&l!==void 0?l:false,xmlCharKey:(u=m===null||m===void 0?void 0:m.xml.xmlCharKey)!==null&&u!==void 0?u:s.XML_CHARKEY}};return{name:t.deserializationPolicyName,async sendRequest(e,t){const r=await t(e);return deserializeResponseBody(d,p,r,h,g)}}}t.deserializationPolicy=deserializationPolicy;function getOperationResponseMap(e){let t;const r=e.request;const s=(0,i.getOperationRequestInfo)(r);const n=s===null||s===void 0?void 0:s.operationSpec;if(n){if(!(s===null||s===void 0?void 0:s.operationResponseGetter)){t=n.responses[e.status]}else{t=s===null||s===void 0?void 0:s.operationResponseGetter(n,e)}}return t}function shouldDeserializeResponse(e){const t=e.request;const r=(0,i.getOperationRequestInfo)(t);const s=r===null||r===void 0?void 0:r.shouldDeserialize;let n;if(s===undefined){n=true}else if(typeof s==="boolean"){n=s}else{n=s(e)}return n}async function deserializeResponseBody(e,t,r,s,a){const A=await parse(e,t,r,s,a);if(!shouldDeserializeResponse(A)){return A}const c=(0,i.getOperationRequestInfo)(A.request);const l=c===null||c===void 0?void 0:c.operationSpec;if(!l||!l.responses){return A}const u=getOperationResponseMap(A);const{error:d,shouldReturnResponse:p}=handleErrorResponse(A,l,u,s);if(d){throw d}else if(p){return A}if(u){if(u.bodyMapper){let e=A.parsedBody;if(l.isXML&&u.bodyMapper.type.name===o.MapperTypeNames.Sequence){e=typeof e==="object"?e[u.bodyMapper.xmlElementName]:[]}try{A.parsedBody=l.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",s)}catch(e){const t=new n.RestError(`Error ${e} occurred in deserializing the responseBody - ${A.bodyAsText}`,{statusCode:A.status,request:A.request,response:A});throw t}}else if(l.httpMethod==="HEAD"){A.parsedBody=r.status>=200&&r.status<300}if(u.headersMapper){A.parsedHeaders=l.serializer.deserialize(u.headersMapper,A.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return A}function isOperationSpecEmpty(e){const t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]==="default"}function handleErrorResponse(e,t,r,s){var i;const a=200<=e.status&&e.status<300;const A=isOperationSpecEmpty(t)?a:!!r;if(A){if(r){if(!r.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const c=r!==null&&r!==void 0?r:t.responses.default;const l=((i=e.request.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(e.status))?`Unexpected status code: ${e.status}`:e.bodyAsText;const u=new n.RestError(l,{statusCode:e.status,request:e.request,response:e});if(!c){throw u}const d=c.bodyMapper;const p=c.headersMapper;try{if(e.parsedBody){const r=e.parsedBody;let n;if(d){let e=r;if(t.isXML&&d.type.name===o.MapperTypeNames.Sequence){e=[];const t=d.xmlElementName;if(typeof r==="object"&&t){e=r[t]}}n=t.serializer.deserialize(d,e,"error.response.parsedBody",s)}const i=r.error||n||r;u.code=i.code;if(i.message){u.message=i.message}if(d){u.response.parsedBody=n}}if(e.headers&&p){u.response.parsedHeaders=t.serializer.deserialize(p,e.headers.toJSON(),"operationRes.parsedHeaders")}}catch(t){u.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:u,shouldReturnResponse:false}}async function parse(e,t,r,s,o){var i;if(!((i=r.request.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(r.status))&&r.bodyAsText){const i=r.bodyAsText;const a=r.headers.get("Content-Type")||"";const A=!a?[]:a.split(";").map((e=>e.toLowerCase()));try{if(A.length===0||A.some((t=>e.indexOf(t)!==-1))){r.parsedBody=JSON.parse(i);return r}else if(A.some((e=>t.indexOf(e)!==-1))){if(!o){throw new Error("Parsing XML not supported.")}const e=await o(i,s.xml);r.parsedBody=e;return r}}catch(e){const t=`Error "${e}" occurred while parsing the response body - ${r.bodyAsText}.`;const s=e.code||n.RestError.PARSE_ERROR;const o=new n.RestError(t,{code:s,statusCode:r.status,request:r.request,response:r});throw o}}return r}},6323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getCachedDefaultHttpClient=void 0;const s=r(778);let n;function getCachedDefaultHttpClient(){if(!n){n=(0,s.createDefaultHttpClient)()}return n}t.getCachedDefaultHttpClient=getCachedDefaultHttpClient},160:(e,t,r)=>{"use strict";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 s=r(1530);Object.defineProperty(t,"createSerializer",{enumerable:true,get:function(){return s.createSerializer}});Object.defineProperty(t,"MapperTypeNames",{enumerable:true,get:function(){return s.MapperTypeNames}});var n=r(9544);Object.defineProperty(t,"ServiceClient",{enumerable:true,get:function(){return n.ServiceClient}});var o=r(1755);Object.defineProperty(t,"createClientPipeline",{enumerable:true,get:function(){return o.createClientPipeline}});var i=r(6058);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}});var a=r(111);Object.defineProperty(t,"deserializationPolicy",{enumerable:true,get:function(){return a.deserializationPolicy}});Object.defineProperty(t,"deserializationPolicyName",{enumerable:true,get:function(){return a.deserializationPolicyName}});var A=r(6234);Object.defineProperty(t,"serializationPolicy",{enumerable:true,get:function(){return A.serializationPolicy}});Object.defineProperty(t,"serializationPolicyName",{enumerable:true,get:function(){return A.serializationPolicyName}});var c=r(7698);Object.defineProperty(t,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return c.authorizeRequestOnClaimChallenge}});var l=r(7454);Object.defineProperty(t,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return l.authorizeRequestOnTenantChallenge}})},2066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPathStringFromParameter=t.getStreamingResponseStatusCodes=void 0;const s=r(1530);function getStreamingResponseStatusCodes(e){const t=new Set;for(const r in e.responses){const n=e.responses[r];if(n.bodyMapper&&n.bodyMapper.type.name===s.MapperTypeNames.Stream){t.add(Number(r))}}return t}t.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;function getPathStringFromParameter(e){const{parameterPath:t,mapper:r}=e;let s;if(typeof t==="string"){s=t}else if(Array.isArray(t)){s=t.join(".")}else{s=r.serializedName}return s}t.getPathStringFromParameter=getPathStringFromParameter},6058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=void 0;t.XML_ATTRKEY="$";t.XML_CHARKEY="_"},9994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const s=r(6515);t.logger=(0,s.createClientLogger)("core-client")},9688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOperationRequestInfo=t.getOperationArgumentValueFromParameter=void 0;const s=r(3345);function getOperationArgumentValueFromParameter(e,t,r){let s=t.parameterPath;const n=t.mapper;let o;if(typeof s==="string"){s=[s]}if(Array.isArray(s)){if(s.length>0){if(n.isConstant){o=n.defaultValue}else{let t=getPropertyFromParameterPath(e,s);if(!t.propertyFound&&r){t=getPropertyFromParameterPath(r,s)}let i=false;if(!t.propertyFound){i=n.required||s[0]==="options"&&s.length===2}o=i?n.defaultValue:t.propertyValue}}}else{if(n.required){o={}}for(const t in s){const i=n.type.modelProperties[t];const a=s[t];const A=getOperationArgumentValueFromParameter(e,{parameterPath:a,mapper:i},r);if(A!==undefined){if(!o){o={}}o[t]=A}}}return o}t.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;function getPropertyFromParameterPath(e,t){const r={propertyFound:false};let s=0;for(;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClientPipeline=void 0;const s=r(111);const n=r(778);const o=r(6234);function createClientPipeline(e={}){const t=(0,n.createPipelineFromOptions)(e!==null&&e!==void 0?e:{});if(e.credentialOptions){t.addPolicy((0,n.bearerTokenAuthenticationPolicy)({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes}))}t.addPolicy((0,o.serializationPolicy)(e.serializationOptions),{phase:"Serialize"});t.addPolicy((0,s.deserializationPolicy)(e.deserializationOptions),{phase:"Deserialize"});return t}t.createClientPipeline=createClientPipeline},6234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.serializeRequestBody=t.serializeHeaders=t.serializationPolicy=t.serializationPolicyName=void 0;const s=r(6058);const n=r(9688);const o=r(1530);const i=r(2066);t.serializationPolicyName="serializationPolicy";function serializationPolicy(e={}){const r=e.stringifyXML;return{name:t.serializationPolicyName,async sendRequest(e,t){const s=(0,n.getOperationRequestInfo)(e);const o=s===null||s===void 0?void 0:s.operationSpec;const i=s===null||s===void 0?void 0:s.operationArguments;if(o&&i){serializeHeaders(e,i,o);serializeRequestBody(e,i,o,r)}return t(e)}}}t.serializationPolicy=serializationPolicy;function serializeHeaders(e,t,r){var s,o;if(r.headerParameters){for(const s of r.headerParameters){let o=(0,n.getOperationArgumentValueFromParameter)(t,s);if(o!==null&&o!==undefined||s.mapper.required){o=r.serializer.serialize(s.mapper,o,(0,i.getPathStringFromParameter)(s));const t=s.mapper.headerCollectionPrefix;if(t){for(const r of Object.keys(o)){e.headers.set(t+r,o[r])}}else{e.headers.set(s.mapper.serializedName||(0,i.getPathStringFromParameter)(s),o)}}}}const a=(o=(s=t.options)===null||s===void 0?void 0:s.requestOptions)===null||o===void 0?void 0:o.customHeaders;if(a){for(const t of Object.keys(a)){e.headers.set(t,a[t])}}}t.serializeHeaders=serializeHeaders;function serializeRequestBody(e,t,r,a=function(){throw new Error("XML serialization unsupported!")}){var A,c,l,u,d;const p=(A=t.options)===null||A===void 0?void 0:A.serializerOptions;const g={xml:{rootName:(c=p===null||p===void 0?void 0:p.xml.rootName)!==null&&c!==void 0?c:"",includeRoot:(l=p===null||p===void 0?void 0:p.xml.includeRoot)!==null&&l!==void 0?l:false,xmlCharKey:(u=p===null||p===void 0?void 0:p.xml.xmlCharKey)!==null&&u!==void 0?u:s.XML_CHARKEY}};const m=g.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=(0,n.getOperationArgumentValueFromParameter)(t,r.requestBody);const s=r.requestBody.mapper;const{required:A,serializedName:c,xmlName:l,xmlElementName:u,xmlNamespace:p,xmlNamespacePrefix:h,nullable:E}=s;const C=s.type.name;try{if(e.body!==undefined&&e.body!==null||E&&e.body===null||A){const t=(0,i.getPathStringFromParameter)(r.requestBody);e.body=r.serializer.serialize(s,e.body,t,g);const n=C===o.MapperTypeNames.Stream;if(r.isXML){const t=h?`xmlns:${h}`:"xmlns";const r=getXmlValueWithNamespace(p,t,C,e.body,g);if(C===o.MapperTypeNames.Sequence){e.body=a(prepareXMLRootList(r,u||l||c,t,p),{rootName:l||c,xmlCharKey:m})}else if(!n){e.body=a(r,{rootName:l||c,xmlCharKey:m})}}else if(C===o.MapperTypeNames.String&&(((d=r.contentType)===null||d===void 0?void 0:d.match("text/plain"))||r.mediaType==="text")){return}else if(!n){e.body=JSON.stringify(e.body)}}}catch(e){throw new Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(c,undefined," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){e.formData={};for(const s of r.formDataParameters){const o=(0,n.getOperationArgumentValueFromParameter)(t,s);if(o!==undefined&&o!==null){const t=s.mapper.serializedName||(0,i.getPathStringFromParameter)(s);e.formData[t]=r.serializer.serialize(s.mapper,o,(0,i.getPathStringFromParameter)(s),g)}}}}t.serializeRequestBody=serializeRequestBody;function getXmlValueWithNamespace(e,t,r,n,o){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){const r={};r[o.xml.xmlCharKey]=n;r[s.XML_ATTRKEY]={[t]:e};return r}return n}function prepareXMLRootList(e,t,r,n){if(!Array.isArray(e)){e=[e]}if(!r||!n){return{[t]:e}}const o={[t]:e};o[s.XML_ATTRKEY]={[r]:n};return o}},1530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MapperTypeNames=t.createSerializer=void 0;const s=r(1860);const n=s.__importStar(r(741));const o=r(6058);const i=r(1193);class SerializerImpl{constructor(e={},t=false){this.modelMappers=e;this.isXML=t}validateConstraints(e,t,r){const failValidation=(e,s)=>{throw new Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${s}.`)};if(e.constraints&&t!==undefined&&t!==null){const{ExclusiveMaximum:r,ExclusiveMinimum:s,InclusiveMaximum:n,InclusiveMinimum:o,MaxItems:i,MaxLength:a,MinItems:A,MinLength:c,MultipleOf:l,Pattern:u,UniqueItems:d}=e.constraints;if(r!==undefined&&t>=r){failValidation("ExclusiveMaximum",r)}if(s!==undefined&&t<=s){failValidation("ExclusiveMinimum",s)}if(n!==undefined&&t>n){failValidation("InclusiveMaximum",n)}if(o!==undefined&&ti){failValidation("MaxItems",i)}if(a!==undefined&&t.length>a){failValidation("MaxLength",a)}if(A!==undefined&&t.lengthr.indexOf(e)!==t))){failValidation("UniqueItems",d)}}}serialize(e,t,r,s={xml:{}}){var n,i,a;const A={xml:{rootName:(n=s.xml.rootName)!==null&&n!==void 0?n:"",includeRoot:(i=s.xml.includeRoot)!==null&&i!==void 0?i:false,xmlCharKey:(a=s.xml.xmlCharKey)!==null&&a!==void 0?a:o.XML_CHARKEY}};let c={};const l=e.type.name;if(!r){r=e.serializedName}if(l.match(/^Sequence$/i)!==null){c=[]}if(e.isConstant){t=e.defaultValue}const{required:u,nullable:d}=e;if(u&&d&&t===undefined){throw new Error(`${r} cannot be undefined.`)}if(u&&!d&&(t===undefined||t===null)){throw new Error(`${r} cannot be null or undefined.`)}if(!u&&d===false&&t===null){throw new Error(`${r} cannot be null.`)}if(t===undefined||t===null){c=t}else{if(l.match(/^any$/i)!==null){c=t}else if(l.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){c=serializeBasicTypes(l,r,t)}else if(l.match(/^Enum$/i)!==null){const s=e;c=serializeEnumType(r,s.type.allowedValues,t)}else if(l.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){c=serializeDateTypes(l,t,r)}else if(l.match(/^ByteArray$/i)!==null){c=serializeByteArrayType(r,t)}else if(l.match(/^Base64Url$/i)!==null){c=serializeBase64UrlType(r,t)}else if(l.match(/^Sequence$/i)!==null){c=serializeSequenceType(this,e,t,r,Boolean(this.isXML),A)}else if(l.match(/^Dictionary$/i)!==null){c=serializeDictionaryType(this,e,t,r,Boolean(this.isXML),A)}else if(l.match(/^Composite$/i)!==null){c=serializeCompositeType(this,e,t,r,Boolean(this.isXML),A)}}return c}deserialize(e,t,r,s={xml:{}}){var i,a,A,c;const l={xml:{rootName:(i=s.xml.rootName)!==null&&i!==void 0?i:"",includeRoot:(a=s.xml.includeRoot)!==null&&a!==void 0?a:false,xmlCharKey:(A=s.xml.xmlCharKey)!==null&&A!==void 0?A:o.XML_CHARKEY},ignoreUnknownProperties:(c=s.ignoreUnknownProperties)!==null&&c!==void 0?c: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 u;const d=e.type.name;if(!r){r=e.serializedName}if(d.match(/^Composite$/i)!==null){u=deserializeCompositeType(this,e,t,r,l)}else{if(this.isXML){const e=l.xml.xmlCharKey;if(t[o.XML_ATTRKEY]!==undefined&&t[e]!==undefined){t=t[e]}}if(d.match(/^Number$/i)!==null){u=parseFloat(t);if(isNaN(u)){u=t}}else if(d.match(/^Boolean$/i)!==null){if(t==="true"){u=true}else if(t==="false"){u=false}else{u=t}}else if(d.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){u=t}else if(d.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){u=new Date(t)}else if(d.match(/^UnixTime$/i)!==null){u=unixTimeToDate(t)}else if(d.match(/^ByteArray$/i)!==null){u=n.decodeString(t)}else if(d.match(/^Base64Url$/i)!==null){u=base64UrlToByteArray(t)}else if(d.match(/^Sequence$/i)!==null){u=deserializeSequenceType(this,e,t,r,l)}else if(d.match(/^Dictionary$/i)!==null){u=deserializeDictionaryType(this,e,t,r,l)}}if(e.isConstant){u=e.defaultValue}return u}}function createSerializer(e={},t=false){return new SerializerImpl(e,t)}t.createSerializer=createSerializer;function trimEnd(e,t){let r=e.length;while(r-1>=0&&e[r-1]===t){--r}return e.substr(0,r)}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=n.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 n.decodeString(e)}function splitSerializeName(e){const t=[];let r="";if(e){const s=e.split(".");for(const e of s){if(e.charAt(e.length-1)==="\\"){r+=e.substr(0,e.length-1)+"."}else{r+=e;t.push(r);r=""}}}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,r){if(r!==null&&r!==undefined){if(e.match(/^Number$/i)!==null){if(typeof r!=="number"){throw new Error(`${t} with value ${r} must be of type number.`)}}else if(e.match(/^String$/i)!==null){if(typeof r.valueOf()!=="string"){throw new Error(`${t} with value "${r}" must be of type string.`)}}else if(e.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()==="string"&&(0,i.isValidUuid)(r))){throw new Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}}else if(e.match(/^Boolean$/i)!==null){if(typeof r!=="boolean"){throw new Error(`${t} with value ${r} must be of type boolean.`)}}else if(e.match(/^Stream$/i)!==null){const e=typeof r;if(e!=="string"&&typeof r.pipe!=="function"&&typeof r.tee!=="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob==="function"||typeof Blob==="object")&&r instanceof Blob)&&e!=="function"){throw new Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return r}function serializeEnumType(e,t,r){if(!t){throw new Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`)}const s=t.some((e=>{if(typeof e.valueOf()==="string"){return e.toLowerCase()===r.toLowerCase()}return e===r}));if(!s){throw new Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`)}return r}function serializeByteArrayType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=n.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,r){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(`${r} 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(`${r} 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(`${r} 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(`${r} 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,i.isDuration)(t)){throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}}}return t}function serializeSequenceType(e,t,r,s,n,i){var a;if(!Array.isArray(r)){throw new Error(`${s} must be of type Array.`)}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 ${s}.`)}if(A.type.name==="Composite"&&A.type.className){A=(a=e.modelMappers[A.type.className])!==null&&a!==void 0?a:A}const c=[];for(let t=0;te!==n));if(o){a[n]=e.serialize(c,r[n],s+'["'+n+'"]',i)}}}return a}return r}function getXmlObjectValue(e,t,r,s){if(!r||!e.xmlNamespace){return t}const n=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";const i={[n]:e.xmlNamespace};if(["Composite"].includes(e.type.name)){if(t[o.XML_ATTRKEY]){return t}else{const e=Object.assign({},t);e[o.XML_ATTRKEY]=i;return e}}const a={};a[s.xml.xmlCharKey]=t;a[o.XML_ATTRKEY]=i;return a}function isSpecialXmlProperty(e,t){return[o.XML_ATTRKEY,t.xml.xmlCharKey].includes(e)}function deserializeCompositeType(e,t,r,s,n){var i,a;const A=(i=n.xml.xmlCharKey)!==null&&i!==void 0?i:o.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,r,"serializedName")}const c=resolveModelProperties(e,t,s);let l={};const u=[];for(const i of Object.keys(c)){const d=c[i];const p=splitSerializeName(c[i].serializedName);u.push(p[0]);const{serializedName:g,xmlName:m,xmlElementName:h}=d;let E=s;if(g!==""&&g!==undefined){E=s+"."+g}const C=d.headerCollectionPrefix;if(C){const t={};for(const s of Object.keys(r)){if(s.startsWith(C)){t[s.substring(C.length)]=e.deserialize(d.type.value,r[s],E,n)}u.push(s)}l[i]=t}else if(e.isXML){if(d.xmlIsAttribute&&r[o.XML_ATTRKEY]){l[i]=e.deserialize(d,r[o.XML_ATTRKEY][m],E,n)}else if(d.xmlIsMsText){if(r[A]!==undefined){l[i]=r[A]}else if(typeof r==="string"){l[i]=r}}else{const t=h||m||g;if(d.xmlIsWrapped){const t=r[m];const s=(a=t===null||t===void 0?void 0:t[h])!==null&&a!==void 0?a:[];l[i]=e.deserialize(d,s,E,n);u.push(m)}else{const s=r[t];l[i]=e.deserialize(d,s,E,n);u.push(t)}}}else{let s;let o=r;let a=0;for(const e of p){if(!o)break;a++;o=o[e]}if(o===null&&a{for(const t in c){const r=splitSerializeName(c[t].serializedName);if(r[0]===e){return false}}return true};for(const t in r){if(isAdditionalProperty(t)){l[t]=e.deserialize(d,r[t],s+'["'+t+'"]',n)}}}else if(r&&!n.ignoreUnknownProperties){for(const e of Object.keys(r)){if(l[e]===undefined&&!u.includes(e)&&!isSpecialXmlProperty(e,n)){l[e]=r[e]}}}return l}function deserializeDictionaryType(e,t,r,s,n){const o=t.type.value;if(!o||typeof o!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${s}`)}if(r){const t={};for(const i of Object.keys(r)){t[i]=e.deserialize(o,r[i],s,n)}return t}return r}function deserializeSequenceType(e,t,r,s,n){var o;let i=t.type.element;if(!i||typeof i!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${s}`)}if(r){if(!Array.isArray(r)){r=[r]}if(i.type.name==="Composite"&&i.type.className){i=(o=e.modelMappers[i.type.className])!==null&&o!==void 0?o:i}const t=[];for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ServiceClient=void 0;const s=r(778);const n=r(1755);const o=r(1193);const i=r(6323);const a=r(9688);const A=r(1752);const c=r(2066);const l=r(9994);class ServiceClient{constructor(e={}){var t,r;this._requestContentType=e.requestContentType;this._endpoint=(t=e.endpoint)!==null&&t!==void 0?t:e.baseUri;if(e.baseUri){l.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=e.allowInsecureConnection;this._httpClient=e.httpClient||(0,i.getCachedDefaultHttpClient)();this.pipeline=e.pipeline||createDefaultPipeline(e);if((r=e.additionalPolicies)===null||r===void 0?void 0:r.length){for(const{policy:t,position:r}of e.additionalPolicies){const e=r==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(t,{afterPhase:e})}}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){const r=t.baseUrl||this._endpoint;if(!r){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 n=(0,A.getRequestUrl)(r,t,e,this);const i=(0,s.createPipelineRequest)({url:n});i.method=t.httpMethod;const l=(0,a.getOperationRequestInfo)(i);l.operationSpec=t;l.operationArguments=e;const u=t.contentType||this._requestContentType;if(u&&t.requestBody){i.headers.set("Content-Type",u)}const d=e.options;if(d){const e=d.requestOptions;if(e){if(e.timeout){i.timeout=e.timeout}if(e.onUploadProgress){i.onUploadProgress=e.onUploadProgress}if(e.onDownloadProgress){i.onDownloadProgress=e.onDownloadProgress}if(e.shouldDeserialize!==undefined){l.shouldDeserialize=e.shouldDeserialize}if(e.allowInsecureConnection){i.allowInsecureConnection=true}}if(d.abortSignal){i.abortSignal=d.abortSignal}if(d.tracingOptions){i.tracingOptions=d.tracingOptions}}if(this._allowInsecureConnection){i.allowInsecureConnection=true}if(i.streamResponseStatusCodes===undefined){i.streamResponseStatusCodes=(0,c.getStreamingResponseStatusCodes)(t)}try{const e=await this.sendRequest(i);const r=(0,o.flattenResponse)(e,t.responses[e.status]);if(d===null||d===void 0?void 0:d.onResponse){d.onResponse(e,r)}return r}catch(e){if(typeof e==="object"&&(e===null||e===void 0?void 0:e.response)){const r=e.response;const s=(0,o.flattenResponse)(r,t.responses[e.statusCode]||t.responses["default"]);e.details=s;if(d===null||d===void 0?void 0:d.onResponse){d.onResponse(r,s,e)}}throw e}}}t.ServiceClient=ServiceClient;function createDefaultPipeline(e){const t=getCredentialScopes(e);const r=e.credential&&t?{credentialScopes:t,credential:e.credential}:undefined;return(0,n.createClientPipeline)(Object.assign(Object.assign({},e),{credentialOptions:r}))}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}},3345:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.state=void 0;t.state={operationRequestMap:new WeakMap}},1752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.appendQueryParams=t.getRequestUrl=void 0;const s=r(9688);const n=r(2066);const o={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(e,t,r,s){const n=calculateUrlReplacements(t,r,s);let o=false;let i=replaceAll(e,n);if(t.path){let e=replaceAll(t.path,n);if(t.path==="/{nextLink}"&&e.startsWith("/")){e=e.substring(1)}if(isAbsoluteUrl(e)){i=e;o=true}else{i=appendPath(i,e)}}const{queryParams:a,sequenceParams:A}=calculateQueryParameters(t,r,s);i=appendQueryParams(i,a,A,o);return i}t.getRequestUrl=getRequestUrl;function replaceAll(e,t){let r=e;for(const[e,s]of t){r=r.split(e).join(s)}return r}function calculateUrlReplacements(e,t,r){var o;const i=new Map;if((o=e.urlParameters)===null||o===void 0?void 0:o.length){for(const o of e.urlParameters){let a=(0,s.getOperationArgumentValueFromParameter)(t,o,r);const A=(0,n.getPathStringFromParameter)(o);a=e.serializer.serialize(o.mapper,a,A);if(!o.skipEncoding){a=encodeURIComponent(a)}i.set(`{${o.mapper.serializedName||A}}`,a)}}return i}function isAbsoluteUrl(e){return e.includes("://")}function appendPath(e,t){if(!t){return e}const r=new URL(e);let s=r.pathname;if(!s.endsWith("/")){s=`${s}/`}if(t.startsWith("/")){t=t.substring(1)}const n=t.indexOf("?");if(n!==-1){const e=t.substring(0,n);const o=t.substring(n+1);s=s+e;if(o){r.search=r.search?`${r.search}&${o}`:o}}else{s=s+t}r.pathname=s;return r.toString()}function calculateQueryParameters(e,t,r){var i;const a=new Map;const A=new Set;if((i=e.queryParameters)===null||i===void 0?void 0:i.length){for(const i of e.queryParameters){if(i.mapper.type.name==="Sequence"&&i.mapper.serializedName){A.add(i.mapper.serializedName)}let c=(0,s.getOperationArgumentValueFromParameter)(t,i,r);if(c!==undefined&&c!==null||i.mapper.required){c=e.serializer.serialize(i.mapper,c,(0,n.getPathStringFromParameter)(i));const t=i.collectionFormat?o[i.collectionFormat]:"";if(Array.isArray(c)){c=c.map((e=>{if(e===null||e===undefined){return""}return e}))}if(i.collectionFormat==="Multi"&&c.length===0){continue}else if(Array.isArray(c)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")){c=c.join(t)}if(!i.skipEncoding){if(Array.isArray(c)){c=c.map((e=>encodeURIComponent(e)))}else{c=encodeURIComponent(c)}}if(Array.isArray(c)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")){c=c.join(t)}a.set(i.mapper.serializedName||(0,n.getPathStringFromParameter)(i),c)}}}return{queryParams:a,sequenceParams:A}}function simpleParseQueryParams(e){const t=new Map;if(!e||e[0]!=="?"){return t}e=e.slice(1);const r=e.split("&");for(const e of r){const[r,s]=e.split("=",2);const n=t.get(r);if(n){if(Array.isArray(n)){n.push(s)}else{t.set(r,[n,s])}}else{t.set(r,s)}}return t}function appendQueryParams(e,t,r,s=false){if(t.size===0){return e}const n=new URL(e);const o=simpleParseQueryParams(n.search);for(const[e,n]of t){const t=o.get(e);if(Array.isArray(t)){if(Array.isArray(n)){t.push(...n);const r=new Set(t);o.set(e,Array.from(r))}else{t.push(n)}}else if(t){if(Array.isArray(n)){n.unshift(t)}else if(r.has(e)){o.set(e,[t,n])}if(!s){o.set(e,n)}}else{o.set(e,n)}}const i=[];for(const[e,t]of o){if(typeof t==="string"){i.push(`${e}=${t}`)}else if(Array.isArray(t)){for(const r of t){i.push(`${e}=${r}`)}}else{i.push(`${e}=${t}`)}}n.search=i.length?`?${i.join("&")}`:"";return n.toString()}t.appendQueryParams=appendQueryParams},1193:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.flattenResponse=t.isValidUuid=t.isDuration=t.isPrimitiveBody=void 0;function isPrimitiveBody(e,t){return t!=="Composite"&&t!=="Dictionary"&&(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||(t===null||t===void 0?void 0:t.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i))!==null||e===undefined||e===null)}t.isPrimitiveBody=isPrimitiveBody;const r=/^(-|\+)?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 r.test(e)}t.isDuration=isDuration;const s=/^[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 s.test(e)}t.isValidUuid=isValidUuid;function handleNullableResponseAndWrappableBody(e){const t=Object.assign(Object.assign({},e.headers),e.body);if(e.hasNullableType&&Object.getOwnPropertyNames(t).length===0){return e.shouldWrapBody?{body:null}:null}else{return e.shouldWrapBody?Object.assign(Object.assign({},e.headers),{body:e.body}):t}}function flattenResponse(e,t){var r,s;const n=e.parsedHeaders;if(e.request.method==="HEAD"){return Object.assign(Object.assign({},n),{body:e.parsedBody})}const o=t&&t.bodyMapper;const i=Boolean(o===null||o===void 0?void 0:o.nullable);const a=o===null||o===void 0?void 0:o.type.name;if(a==="Stream"){return Object.assign(Object.assign({},n),{blobBody:e.blobBody,readableStreamBody:e.readableStreamBody})}const A=a==="Composite"&&o.type.modelProperties||{};const c=Object.keys(A).some((e=>A[e].serializedName===""));if(a==="Sequence"||c){const t=(r=e.parsedBody)!==null&&r!==void 0?r:[];for(const r of Object.keys(A)){if(A[r].serializedName){t[r]=(s=e.parsedBody)===null||s===void 0?void 0:s[r]}}if(n){for(const e of Object.keys(n)){t[e]=n[e]}}return i&&!e.parsedBody&&!n&&Object.getOwnPropertyNames(A).length===0?null:t}return handleNullableResponseAndWrappableBody({body:e.parsedBody,headers:n,hasNullableType:i,shouldWrapBody:isPrimitiveBody(e.parsedBody,a)})}t.flattenResponse=flattenResponse},5492:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtendedServiceClient=void 0;const s=r(2639);const n=r(778);const o=r(160);const i=r(8153);class ExtendedServiceClient extends o.ServiceClient{constructor(e){var t,r;super(e);if(((t=e.keepAliveOptions)===null||t===void 0?void 0:t.enable)===false&&!(0,s.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,s.createDisableKeepAlivePolicy)())}if(((r=e.redirectOptions)===null||r===void 0?void 0:r.handleRedirects)===false){this.pipeline.removePolicy({name:n.redirectPolicyName})}}async sendOperationRequest(e,t){var r;const s=(r=e===null||e===void 0?void 0:e.options)===null||r===void 0?void 0:r.onResponse;let n;function onResponse(e,t,r){n=e;if(s){s(e,t,r)}}e.options=Object.assign(Object.assign({},e.options),{onResponse:onResponse});const o=await super.sendOperationRequest(e,t);if(n){Object.defineProperty(o,"_response",{value:(0,i.toCompatResponse)(n)})}return o}}t.ExtendedServiceClient=ExtendedServiceClient},2078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.convertHttpClient=void 0;const s=r(8153);const n=r(3850);function convertHttpClient(e){return{sendRequest:async t=>{const r=await e.sendRequest((0,n.toWebResourceLike)(t,{createProxy:true}));return(0,s.toPipelineResponse)(r)}}}t.convertHttpClient=convertHttpClient},1584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toHttpHeadersLike=t.convertHttpClient=t.disableKeepAlivePolicyName=t.HttpPipelineLogLevel=t.createRequestPolicyFactoryPolicy=t.requestPolicyFactoryPolicyName=t.ExtendedServiceClient=void 0;var s=r(5492);Object.defineProperty(t,"ExtendedServiceClient",{enumerable:true,get:function(){return s.ExtendedServiceClient}});var n=r(3466);Object.defineProperty(t,"requestPolicyFactoryPolicyName",{enumerable:true,get:function(){return n.requestPolicyFactoryPolicyName}});Object.defineProperty(t,"createRequestPolicyFactoryPolicy",{enumerable:true,get:function(){return n.createRequestPolicyFactoryPolicy}});Object.defineProperty(t,"HttpPipelineLogLevel",{enumerable:true,get:function(){return n.HttpPipelineLogLevel}});var o=r(2639);Object.defineProperty(t,"disableKeepAlivePolicyName",{enumerable:true,get:function(){return o.disableKeepAlivePolicyName}});var i=r(2078);Object.defineProperty(t,"convertHttpClient",{enumerable:true,get:function(){return i.convertHttpClient}});var a=r(3850);Object.defineProperty(t,"toHttpHeadersLike",{enumerable:true,get:function(){return a.toHttpHeadersLike}})},2639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pipelineContainsDisableKeepAlivePolicy=t.createDisableKeepAlivePolicy=t.disableKeepAlivePolicyName=void 0;t.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:t.disableKeepAlivePolicyName,async sendRequest(e,t){e.disableKeepAlive=true;return t(e)}}}t.createDisableKeepAlivePolicy=createDisableKeepAlivePolicy;function pipelineContainsDisableKeepAlivePolicy(e){return e.getOrderedPolicies().some((e=>e.name===t.disableKeepAlivePolicyName))}t.pipelineContainsDisableKeepAlivePolicy=pipelineContainsDisableKeepAlivePolicy},3466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRequestPolicyFactoryPolicy=t.requestPolicyFactoryPolicyName=t.HttpPipelineLogLevel=void 0;const s=r(3850);const n=r(8153);var o;(function(e){e[e["ERROR"]=1]="ERROR";e[e["INFO"]=3]="INFO";e[e["OFF"]=0]="OFF";e[e["WARNING"]=2]="WARNING"})(o||(t.HttpPipelineLogLevel=o={}));const i={log(e,t){},shouldLog(e){return false}};t.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(e){const r=e.slice().reverse();return{name:t.requestPolicyFactoryPolicyName,async sendRequest(e,t){let o={async sendRequest(e){const r=await t((0,s.toPipelineRequest)(e));return(0,n.toCompatResponse)(r,{createProxy:true})}};for(const e of r){o=e.create(o,i)}const a=(0,s.toWebResourceLike)(e,{createProxy:true});const A=await o.sendRequest(a);return(0,n.toPipelineResponse)(A)}}}t.createRequestPolicyFactoryPolicy=createRequestPolicyFactoryPolicy},8153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toPipelineResponse=t.toCompatResponse=void 0;const s=r(778);const n=r(3850);const o=Symbol("Original FullOperationResponse");function toCompatResponse(e,t){let r=(0,n.toWebResourceLike)(e.request);let s=(0,n.toHttpHeadersLike)(e.headers);if(t===null||t===void 0?void 0:t.createProxy){return new Proxy(e,{get(t,n,i){if(n==="headers"){return s}else if(n==="request"){return r}else if(n===o){return e}return Reflect.get(t,n,i)},set(e,t,n,o){if(t==="headers"){s=n}else if(t==="request"){r=n}return Reflect.set(e,t,n,o)}})}else{return Object.assign(Object.assign({},e),{request:r,headers:s})}}t.toCompatResponse=toCompatResponse;function toPipelineResponse(e){const t=e;const r=t[o];const i=(0,s.createHttpHeaders)(e.headers.toJson({preserveCase:true}));if(r){r.headers=i;return r}else{return Object.assign(Object.assign({},e),{headers:i,request:(0,n.toPipelineRequest)(e.request)})}}t.toPipelineResponse=toPipelineResponse},3850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HttpHeaders=t.toHttpHeadersLike=t.toWebResourceLike=t.toPipelineRequest=void 0;const s=r(778);const n=Symbol("Original PipelineRequest");const o=Symbol.for("@azure/core-client original request");function toPipelineRequest(e,t={}){const r=e;const i=r[n];const a=(0,s.createHttpHeaders)(e.headers.toJson({preserveCase:true}));if(i){i.headers=a;return i}else{const r=(0,s.createPipelineRequest)({url:e.url,method:e.method,headers:a,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});if(t.originalRequest){r[o]=t.originalRequest}return r}}t.toPipelineRequest=toPipelineRequest;function toWebResourceLike(e,t){var r;const s=(r=t===null||t===void 0?void 0:t.originalRequest)!==null&&r!==void 0?r: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,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===null||t===void 0?void 0:t.createProxy){return new Proxy(o,{get(t,r,i){if(r===n){return e}else if(r==="clone"){return()=>toWebResourceLike(toPipelineRequest(o,{originalRequest:s}),{createProxy:true,originalRequest:s})}return Reflect.get(t,r,i)},set(t,r,s,n){if(r==="keepAlive"){e.disableKeepAlive=!s}const o=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes"];if(typeof r==="string"&&o.includes(r)){e[r]=s}return Reflect.set(t,r,s,n)}})}else{return o}}t.toWebResourceLike=toWebResourceLike;function toHttpHeadersLike(e){return new HttpHeaders(e.toJSON({preserveCase:true}))}t.toHttpHeadersLike=toHttpHeadersLike;function getHeaderKey(e){return e.toLowerCase()}class HttpHeaders{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 r=0;r{"use strict";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 s=r(736);const n=r(480);function getOperationLocationPollingUrl(e){const{azureAsyncOperation:t,operationLocation:r}=e;return r!==null&&r!==void 0?r: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:r,requestMethod:s,requestPath:n,resourceLocationConfig:o}=e;switch(s){case"PUT":{return n}case"DELETE":{return undefined}case"PATCH":{return(t=getDefault())!==null&&t!==void 0?t:n}default:{return getDefault()}}function getDefault(){switch(o){case"azure-async-operation":{return undefined}case"original-uri":{return n}case"location":default:{return r}}}}function inferLroMode(e){const{rawResponse:t,requestMethod:r,requestPath:s,resourceLocationConfig:n}=e;const o=getOperationLocationHeader(t);const i=getAzureAsyncOperationHeader(t);const a=getOperationLocationPollingUrl({operationLocation:o,azureAsyncOperation:i});const A=getLocationHeader(t);const c=r===null||r===void 0?void 0:r.toLocaleUpperCase();if(a!==undefined){return{mode:"OperationLocation",operationLocation:a,resourceLocation:findResourceLocation({requestMethod:c,location:A,requestPath:s,resourceLocationConfig:n})}}else if(A!==undefined){return{mode:"ResourceLocation",operationLocation:A}}else if(c==="PUT"&&s){return{mode:"Body",operationLocation:s}}else{return undefined}}t.inferLroMode=inferLroMode;function transformStatus(e){const{status:t,statusCode:r}=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(r);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:{n.logger.verbose(`LRO: unrecognized operation status: ${t}`);return t}}}function getStatus(e){var t;const{status:r}=(t=e.body)!==null&&t!==void 0?t:{};return transformStatus({status:r,statusCode:e.statusCode})}function getProvisioningState(e){var t,r;const{properties:s,provisioningState:n}=(t=e.body)!==null&&t!==void 0?t:{};const o=(r=s===null||s===void 0?void 0:s.provisioningState)!==null&&r!==void 0?r:n;return transformStatus({status:o,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){n.logger.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!t.code||!t.message){n.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 r=e.getTime();if(t{const e=await o.sendInitialRequest();const t=inferLroMode({rawResponse:e.rawResponse,requestPath:o.requestPath,requestMethod:o.requestMethod,resourceLocationConfig:r});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:n?({flatResponse:e},t)=>n(e,t):({flatResponse:e})=>e,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:i})}t.initHttpOperation=initHttpOperation;function getOperationLocation({rawResponse:e},t){var r;const s=(r=t.config.metadata)===null||r===void 0?void 0:r["mode"];switch(s){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 r;const s=(r=t.config.metadata)===null||r===void 0?void 0:r["mode"];switch(s){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: ${s}`)}}t.getOperationStatus=getOperationStatus;function accessBodyProperty({flatResponse:e,rawResponse:t},r){var s,n;return(s=e===null||e===void 0?void 0:e[r])!==null&&s!==void 0?s:(n=t.body)===null||n===void 0?void 0:n[r]}function getResourceLocation(e,t){const r=accessBodyProperty(e,"resourceLocation");if(r&&typeof r==="string"){t.config.resourceLocation=r}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:r,options:n,processResult:o,updateState:i,setDelay:a,state:A,setErrorAsResult:c}=e;return(0,s.pollOperation)({state:A,stateProxy:r,setDelay:a,processResult:o?({flatResponse:e},t)=>o(e,t):({flatResponse:e})=>e,getError:getErrorFromResponse,updateState:i,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:n,poll:async(e,r)=>t.sendPollRequest(e,r),setErrorAsResult:c})}t.pollHttpOperation=pollHttpOperation},7421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createHttpPoller=void 0;const s=r(3878);const n=r(8835);async function createHttpPoller(e,t){const{resourceLocationConfig:r,intervalInMs:o,processResult:i,restoreFrom:a,updateState:A,withOperationLocation:c,resolveOnUnsuccessful:l=false}=t||{};return(0,n.buildCreatePoller)({getStatusFromInitialResponse:s.getStatusFromInitialResponse,getStatusFromPollResponse:s.getOperationStatus,isOperationError:s.isOperationError,getOperationLocation:s.getOperationLocation,getResourceLocation:s.getResourceLocation,getPollingInterval:s.parseRetryAfter,getError:s.getErrorFromResponse,resolveOnUnsuccessful:l})({init:async()=>{const t=await e.sendInitialRequest();const n=(0,s.inferLroMode)({rawResponse:t.rawResponse,requestPath:e.requestPath,requestMethod:e.requestMethod,resourceLocationConfig:r});return Object.assign({response:t,operationLocation:n===null||n===void 0?void 0:n.operationLocation,resourceLocation:n===null||n===void 0?void 0:n.resourceLocation},(n===null||n===void 0?void 0:n.mode)?{metadata:{mode:n.mode}}:{})},poll:e.sendPollRequest},{intervalInMs:o,withOperationLocation:c,restoreFrom:a,updateState:A,processResult:i?({flatResponse:e},t)=>i(e,t):({flatResponse:e})=>e})}t.createHttpPoller=createHttpPoller},1754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createHttpPoller=void 0;const s=r(1860);var n=r(7421);Object.defineProperty(t,"createHttpPoller",{enumerable:true,get:function(){return n.createHttpPoller}});s.__exportStar(r(5454),t);s.__exportStar(r(6272),t);s.__exportStar(r(2670),t)},5454:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LroEngine=void 0;var s=r(1607);Object.defineProperty(t,"LroEngine",{enumerable:true,get:function(){return s.LroEngine}})},1607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LroEngine=void 0;const s=r(4267);const n=r(5044);const o=r(6272);const i=r(736);class LroEngine extends o.Poller{constructor(e,t){const{intervalInMs:r=n.POLL_INTERVAL_IN_MS,resumeFrom:o,resolveOnUnsuccessful:a=false,isDone:A,lroResourceLocationConfig:c,processResult:l,updateState:u}=t||{};const d=o?(0,i.deserializeState)(o):{};const p=new s.GenericPollOperation(d,e,!a,c,l,u,A);super(p);this.resolveOnUnsuccessful=a;this.config={intervalInMs:r};p.setPollerConfig(this.config)}delay(){return new Promise((e=>setTimeout((()=>e()),this.config.intervalInMs)))}}t.LroEngine=LroEngine},4267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GenericPollOperation=void 0;const s=r(3878);const n=r(480);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,r,s,n,o,i){this.state=e;this.lro=t;this.setErrorAsResult=r;this.lroResourceLocationConfig=s;this.processResult=n;this.updateState=o;this.isDone=i}setPollerConfig(e){this.pollerConfig=e}async update(e){var t;const r=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await(0,s.initHttpOperation)({lro:this.lro,stateProxy:r,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const n=this.updateState;const o=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await(0,s.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:r,processResult:this.processResult,updateState:n?(e,{rawResponse:t})=>n(e,t):undefined,isDone:o?({flatResponse:e},t)=>o(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(){n.logger.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}t.GenericPollOperation=GenericPollOperation},2670:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},6272:(e,t)=>{"use strict";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},480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const s=r(6515);t.logger=(0,s.createClientLogger)("core-lro")},5044:(e,t)=>{"use strict";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"]},736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pollOperation=t.initOperation=t.deserializeState=void 0;const s=r(480);const n=r(5044);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:r,isOperationError:s}=e;return e=>{if(s(e)){r.setError(t,e);r.setFailed(t)}throw e}}function appendReadableErrorMessage(e,t){let r=e;if(r.slice(-1)!=="."){r=r+"."}return r+" "+t}function simplifyError(e){let t=e.message;let r=e.code;let s=e;while(s.innererror){s=s.innererror;r=s.code;t=appendReadableErrorMessage(t,s.message)}return{code:r,message:t}}function processOperationStatus(e){const{state:t,stateProxy:r,status:n,isDone:o,processResult:i,getError:a,response:A,setErrorAsResult:c}=e;switch(n){case"succeeded":{r.setSucceeded(t);break}case"failed":{const e=a===null||a===void 0?void 0:a(A);let n="";if(e){const{code:t,message:r}=simplifyError(e);n=`. ${t}. ${r}`}const o=`The long-running operation has failed${n}`;r.setError(t,new Error(o));r.setFailed(t);s.logger.warning(o);break}case"canceled":{r.setCanceled(t);break}}if((o===null||o===void 0?void 0:o(A,t))||o===undefined&&["succeeded","canceled"].concat(c?[]:["failed"]).includes(n)){r.setResult(t,buildResult({response:A,state:t,processResult:i}))}}function buildResult(e){const{processResult:t,response:r,state:s}=e;return t?t(r,s):r}async function initOperation(e){const{init:t,stateProxy:r,processResult:n,getOperationStatus:o,withOperationLocation:i,setErrorAsResult:a}=e;const{operationLocation:A,resourceLocation:c,metadata:l,response:u}=await t();if(A)i===null||i===void 0?void 0:i(A,false);const d={metadata:l,operationLocation:A,resourceLocation:c};s.logger.verbose(`LRO: Operation description:`,d);const p=r.initState(d);const g=o({response:u,state:p,operationLocation:A});processOperationStatus({state:p,status:g,stateProxy:r,response:u,setErrorAsResult:a,processResult:n});return p}t.initOperation=initOperation;async function pollOperationHelper(e){const{poll:t,state:r,stateProxy:o,operationLocation:i,getOperationStatus:a,getResourceLocation:A,isOperationError:c,options:l}=e;const u=await t(i,l).catch(setStateError({state:r,stateProxy:o,isOperationError:c}));const d=a(u,r);s.logger.verbose(`LRO: Status:\n\tPolling from: ${r.config.operationLocation}\n\tOperation status: ${d}\n\tPolling status: ${n.terminalStates.includes(d)?"Stopped":"Running"}`);if(d==="succeeded"){const e=A(u,r);if(e!==undefined){return{response:await t(e).catch(setStateError({state:r,stateProxy:o,isOperationError:c})),status:d}}}return{response:u,status:d}}async function pollOperation(e){const{poll:t,state:r,stateProxy:s,options:o,getOperationStatus:i,getResourceLocation:a,getOperationLocation:A,isOperationError:c,withOperationLocation:l,getPollingInterval:u,processResult:d,getError:p,updateState:g,setDelay:m,isDone:h,setErrorAsResult:E}=e;const{operationLocation:C}=r.config;if(C!==undefined){const{response:e,status:y}=await pollOperationHelper({poll:t,getOperationStatus:i,state:r,stateProxy:s,operationLocation:C,getResourceLocation:a,isOperationError:c,options:o});processOperationStatus({status:y,response:e,state:r,stateProxy:s,isDone:h,processResult:d,getError:p,setErrorAsResult:E});if(!n.terminalStates.includes(y)){const t=u===null||u===void 0?void 0:u(e);if(t)m(t);const s=A===null||A===void 0?void 0:A(e,r);if(s!==undefined){const e=C!==s;r.config.operationLocation=s;l===null||l===void 0?void 0:l(s,e)}else l===null||l===void 0?void 0:l(C,false)}g===null||g===void 0?void 0:g(r,e)}}t.pollOperation=pollOperation},8835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildCreatePoller=void 0;const s=r(736);const n=r(5044);const o=r(7779);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:r,getStatusFromPollResponse:i,isOperationError:a,getResourceLocation:A,getPollingInterval:c,getError:l,resolveOnUnsuccessful:u}=e;return async({init:e,poll:d},p)=>{const{processResult:g,updateState:m,withOperationLocation:h,intervalInMs:E=n.POLL_INTERVAL_IN_MS,restoreFrom:C}=p||{};const y=createStateProxy();const I=h?(()=>{let e=false;return(t,r)=>{if(r)h(t);else if(!e)h(t);e=true}})():undefined;const B=C?(0,s.deserializeState)(C):await(0,s.initOperation)({init:e,stateProxy:y,processResult:g,getOperationStatus:r,withOperationLocation:I,setErrorAsResult:!u});let Q;const b=new AbortController;const S=new Map;const handleProgressEvents=async()=>S.forEach((e=>e(B)));const R="Operation was canceled";let w=E;const N={getOperationState:()=>B,getResult:()=>B.result,isDone:()=>["succeeded","failed","canceled"].includes(B.status),isStopped:()=>Q===undefined,stopPolling:()=>{b.abort()},toString:()=>JSON.stringify({state:B}),onProgress:e=>{const t=Symbol();S.set(t,e);return()=>S.delete(t)},pollUntilDone:e=>Q!==null&&Q!==void 0?Q:Q=(async()=>{const{abortSignal:t}=e||{};function abortListener(){b.abort()}const r=b.signal;if(t===null||t===void 0?void 0:t.aborted){b.abort()}else if(!r.aborted){t===null||t===void 0?void 0:t.addEventListener("abort",abortListener,{once:true})}try{if(!N.isDone()){await N.poll({abortSignal:r});while(!N.isDone()){await(0,o.delay)(w,{abortSignal:r});await N.poll({abortSignal:r})}}}finally{t===null||t===void 0?void 0:t.removeEventListener("abort",abortListener)}if(u){return N.getResult()}else{switch(B.status){case"succeeded":return N.getResult();case"canceled":throw new Error(R);case"failed":throw B.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{Q=undefined})),async poll(e){if(u){if(N.isDone())return}else{switch(B.status){case"succeeded":return;case"canceled":throw new Error(R);case"failed":throw B.error}}await(0,s.pollOperation)({poll:d,state:B,stateProxy:y,getOperationLocation:t,isOperationError:a,withOperationLocation:I,getPollingInterval:c,getOperationStatus:i,getResourceLocation:A,processResult:g,getError:l,updateState:m,options:e,setDelay:e=>{w=e},setErrorAsResult:!u});await handleProgressEvents();if(!u){switch(B.status){case"canceled":throw new Error(R);case"failed":throw B.error}}}};return N}}t.buildCreatePoller=buildCreatePoller},6427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_RETRY_POLICY_COUNT=t.SDK_VERSION=void 0;t.SDK_VERSION="1.18.0";t.DEFAULT_RETRY_POLICY_COUNT=3},862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPipelineFromOptions=createPipelineFromOptions;const s=r(3253);const n=r(9590);const o=r(4087);const i=r(2799);const a=r(5807);const A=r(9295);const c=r(8170);const l=r(5497);const u=r(7779);const d=r(2815);const p=r(5686);const g=r(5798);const m=r(3237);function createPipelineFromOptions(e){var t;const r=(0,n.createEmptyPipeline)();if(u.isNodeLike){if(e.tlsOptions){r.addPolicy((0,g.tlsPolicy)(e.tlsOptions))}r.addPolicy((0,d.proxyPolicy)(e.proxyOptions));r.addPolicy((0,A.decompressResponsePolicy)())}r.addPolicy((0,l.formDataPolicy)(),{beforePolicies:[a.multipartPolicyName]});r.addPolicy((0,i.userAgentPolicy)(e.userAgentOptions));r.addPolicy((0,p.setClientRequestIdPolicy)((t=e.telemetryOptions)===null||t===void 0?void 0:t.clientRequestIdHeaderName));r.addPolicy((0,a.multipartPolicy)(),{afterPhase:"Deserialize"});r.addPolicy((0,c.defaultRetryPolicy)(e.retryOptions),{phase:"Retry"});r.addPolicy((0,m.tracingPolicy)(Object.assign(Object.assign({},e.userAgentOptions),e.loggingOptions)),{afterPhase:"Retry"});if(u.isNodeLike){r.addPolicy((0,o.redirectPolicy)(e.redirectOptions),{afterPhase:"Retry"})}r.addPolicy((0,s.logPolicy)(e.loggingOptions),{afterPhase:"Sign"});return r}},7960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDefaultHttpClient=createDefaultHttpClient;const s=r(195);function createDefaultHttpClient(){return(0,s.createNodeHttpClient)()}},192:(e,t)=>{"use strict";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{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){var t;return(t=this._headersMap.get(normalizeName(e)))===null||t===void 0?void 0:t.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,r]of this._headersMap){t[e]=r.value}}return t}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(e){return new HttpHeadersImpl(e)}},778:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createFileFromStream=t.createFile=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 s=r(9590);Object.defineProperty(t,"createEmptyPipeline",{enumerable:true,get:function(){return s.createEmptyPipeline}});var n=r(862);Object.defineProperty(t,"createPipelineFromOptions",{enumerable:true,get:function(){return n.createPipelineFromOptions}});var o=r(7960);Object.defineProperty(t,"createDefaultHttpClient",{enumerable:true,get:function(){return o.createDefaultHttpClient}});var i=r(192);Object.defineProperty(t,"createHttpHeaders",{enumerable:true,get:function(){return i.createHttpHeaders}});var a=r(5709);Object.defineProperty(t,"createPipelineRequest",{enumerable:true,get:function(){return a.createPipelineRequest}});var A=r(8666);Object.defineProperty(t,"RestError",{enumerable:true,get:function(){return A.RestError}});Object.defineProperty(t,"isRestError",{enumerable:true,get:function(){return A.isRestError}});var c=r(9295);Object.defineProperty(t,"decompressResponsePolicy",{enumerable:true,get:function(){return c.decompressResponsePolicy}});Object.defineProperty(t,"decompressResponsePolicyName",{enumerable:true,get:function(){return c.decompressResponsePolicyName}});var l=r(6708);Object.defineProperty(t,"exponentialRetryPolicy",{enumerable:true,get:function(){return l.exponentialRetryPolicy}});Object.defineProperty(t,"exponentialRetryPolicyName",{enumerable:true,get:function(){return l.exponentialRetryPolicyName}});var u=r(5686);Object.defineProperty(t,"setClientRequestIdPolicy",{enumerable:true,get:function(){return u.setClientRequestIdPolicy}});Object.defineProperty(t,"setClientRequestIdPolicyName",{enumerable:true,get:function(){return u.setClientRequestIdPolicyName}});var d=r(3253);Object.defineProperty(t,"logPolicy",{enumerable:true,get:function(){return d.logPolicy}});Object.defineProperty(t,"logPolicyName",{enumerable:true,get:function(){return d.logPolicyName}});var p=r(5807);Object.defineProperty(t,"multipartPolicy",{enumerable:true,get:function(){return p.multipartPolicy}});Object.defineProperty(t,"multipartPolicyName",{enumerable:true,get:function(){return p.multipartPolicyName}});var g=r(2815);Object.defineProperty(t,"proxyPolicy",{enumerable:true,get:function(){return g.proxyPolicy}});Object.defineProperty(t,"proxyPolicyName",{enumerable:true,get:function(){return g.proxyPolicyName}});Object.defineProperty(t,"getDefaultProxySettings",{enumerable:true,get:function(){return g.getDefaultProxySettings}});var m=r(4087);Object.defineProperty(t,"redirectPolicy",{enumerable:true,get:function(){return m.redirectPolicy}});Object.defineProperty(t,"redirectPolicyName",{enumerable:true,get:function(){return m.redirectPolicyName}});var h=r(6518);Object.defineProperty(t,"systemErrorRetryPolicy",{enumerable:true,get:function(){return h.systemErrorRetryPolicy}});Object.defineProperty(t,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return h.systemErrorRetryPolicyName}});var E=r(7540);Object.defineProperty(t,"throttlingRetryPolicy",{enumerable:true,get:function(){return E.throttlingRetryPolicy}});Object.defineProperty(t,"throttlingRetryPolicyName",{enumerable:true,get:function(){return E.throttlingRetryPolicyName}});var C=r(6085);Object.defineProperty(t,"retryPolicy",{enumerable:true,get:function(){return C.retryPolicy}});var y=r(3237);Object.defineProperty(t,"tracingPolicy",{enumerable:true,get:function(){return y.tracingPolicy}});Object.defineProperty(t,"tracingPolicyName",{enumerable:true,get:function(){return y.tracingPolicyName}});var I=r(8170);Object.defineProperty(t,"defaultRetryPolicy",{enumerable:true,get:function(){return I.defaultRetryPolicy}});var B=r(2799);Object.defineProperty(t,"userAgentPolicy",{enumerable:true,get:function(){return B.userAgentPolicy}});Object.defineProperty(t,"userAgentPolicyName",{enumerable:true,get:function(){return B.userAgentPolicyName}});var Q=r(5798);Object.defineProperty(t,"tlsPolicy",{enumerable:true,get:function(){return Q.tlsPolicy}});Object.defineProperty(t,"tlsPolicyName",{enumerable:true,get:function(){return Q.tlsPolicyName}});var b=r(5497);Object.defineProperty(t,"formDataPolicy",{enumerable:true,get:function(){return b.formDataPolicy}});Object.defineProperty(t,"formDataPolicyName",{enumerable:true,get:function(){return b.formDataPolicyName}});var S=r(6925);Object.defineProperty(t,"bearerTokenAuthenticationPolicy",{enumerable:true,get:function(){return S.bearerTokenAuthenticationPolicy}});Object.defineProperty(t,"bearerTokenAuthenticationPolicyName",{enumerable:true,get:function(){return S.bearerTokenAuthenticationPolicyName}});var R=r(6827);Object.defineProperty(t,"ndJsonPolicy",{enumerable:true,get:function(){return R.ndJsonPolicy}});Object.defineProperty(t,"ndJsonPolicyName",{enumerable:true,get:function(){return R.ndJsonPolicyName}});var w=r(2262);Object.defineProperty(t,"auxiliaryAuthenticationHeaderPolicy",{enumerable:true,get:function(){return w.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(t,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:true,get:function(){return w.auxiliaryAuthenticationHeaderPolicyName}});var N=r(7073);Object.defineProperty(t,"createFile",{enumerable:true,get:function(){return N.createFile}});Object.defineProperty(t,"createFileFromStream",{enumerable:true,get:function(){return N.createFileFromStream}})},544:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const s=r(6515);t.logger=(0,s.createClientLogger)("core-rest-pipeline")},195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getBodyLength=getBodyLength;t.createNodeHttpClient=createNodeHttpClient;const s=r(1860);const n=s.__importStar(r(7067));const o=s.__importStar(r(4708));const i=s.__importStar(r(8522));const a=r(7075);const A=r(3287);const c=r(192);const l=r(8666);const u=r(544);const d={};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 a.Transform{_transform(e,t,r){this.push(e);this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes});r()}catch(e){r(e)}}constructor(e){super();this.loadedBytes=0;this.progressCallback=e}}class NodeHttpClient{constructor(){this.cachedHttpsAgents=new WeakMap}async sendRequest(e){var t,r,s;const n=new AbortController;let o;if(e.abortSignal){if(e.abortSignal.aborted){throw new A.AbortError("The operation was aborted.")}o=e=>{if(e.type==="abort"){n.abort()}};e.abortSignal.addEventListener("abort",o)}if(e.timeout>0){setTimeout((()=>{n.abort()}),e.timeout)}const i=e.headers.get("Accept-Encoding");const a=(i===null||i===void 0?void 0:i.includes("gzip"))||(i===null||i===void 0?void 0: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 l;try{if(c&&e.onUploadProgress){const t=e.onUploadProgress;const r=new ReportTransform(t);r.on("error",(e=>{u.logger.error("Error in upload progress",e)}));if(isReadableStream(c)){c.pipe(r)}else{r.end(c)}c=r}const o=await this.makeRequest(e,n,c);const i=getResponseHeaders(o);const A=(t=o.statusCode)!==null&&t!==void 0?t:0;const d={status:A,headers:i,request:e};if(e.method==="HEAD"){o.resume();return d}l=a?getDecodedResponseStream(o,i):o;const p=e.onDownloadProgress;if(p){const e=new ReportTransform(p);e.on("error",(e=>{u.logger.error("Error in download progress",e)}));l.pipe(e);l=e}if(((r=e.streamResponseStatusCodes)===null||r===void 0?void 0:r.has(Number.POSITIVE_INFINITY))||((s=e.streamResponseStatusCodes)===null||s===void 0?void 0:s.has(d.status))){d.readableStreamBody=l}else{d.bodyAsText=await streamToText(l)}return d}finally{if(e.abortSignal&&o){let t=Promise.resolve();if(isReadableStream(c)){t=isStreamComplete(c)}let r=Promise.resolve();if(isReadableStream(l)){r=isStreamComplete(l)}Promise.all([t,r]).then((()=>{var t;if(o){(t=e.abortSignal)===null||t===void 0?void 0:t.removeEventListener("abort",o)}})).catch((e=>{u.logger.warning("Error when cleaning up abortListener on httpRequest",e)}))}}}makeRequest(e,t,r){var s;const i=new URL(e.url);const a=i.protocol!=="https:";if(a&&!e.allowInsecureConnection){throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`)}const c=(s=e.agent)!==null&&s!==void 0?s:this.getOrCreateAgent(e,a);const d={agent:c,hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:true})};return new Promise(((s,i)=>{const c=a?n.request(d,s):o.request(d,s);c.once("error",(t=>{var r;i(new l.RestError(t.message,{code:(r=t.code)!==null&&r!==void 0?r:l.RestError.REQUEST_SEND_ERROR,request:e}))}));t.signal.addEventListener("abort",(()=>{const e=new A.AbortError("The operation was aborted.");c.destroy(e);i(e)}));if(r&&isReadableStream(r)){r.pipe(c)}else if(r){if(typeof r==="string"||Buffer.isBuffer(r)){c.end(r)}else if(isArrayBuffer(r)){c.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer):Buffer.from(r))}else{u.logger.error("Unrecognized body type",r);i(new l.RestError("Unrecognized body type"))}}else{c.end()}}))}getOrCreateAgent(e,t){var r;const s=e.disableKeepAlive;if(t){if(s){return n.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new n.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(s&&!e.tlsSettings){return o.globalAgent}const t=(r=e.tlsSettings)!==null&&r!==void 0?r:d;let n=this.cachedHttpsAgents.get(t);if(n&&n.options.keepAlive===!s){return n}u.logger.info("No cached TLS Agent exist, creating a new Agent");n=new o.Agent(Object.assign({keepAlive:!s},t));this.cachedHttpsAgents.set(t,n);return n}}}function getResponseHeaders(e){const t=(0,c.createHttpHeaders)();for(const r of Object.keys(e.headers)){const s=e.headers[r];if(Array.isArray(s)){if(s.length>0){t.set(r,s[0])}}else if(s){t.set(r,s)}}return t}function getDecodedResponseStream(e,t){const r=t.get("Content-Encoding");if(r==="gzip"){const t=i.createGunzip();e.pipe(t);return t}else if(r==="deflate"){const t=i.createInflate();e.pipe(t);return t}return e}function streamToText(e){return new Promise(((t,r)=>{const s=[];e.on("data",(e=>{if(Buffer.isBuffer(e)){s.push(e)}else{s.push(Buffer.from(e))}}));e.on("end",(()=>{t(Buffer.concat(s).toString("utf8"))}));e.on("error",(e=>{if(e&&(e===null||e===void 0?void 0:e.name)==="AbortError"){r(e)}else{r(new l.RestError(`Error reading response as text: ${e.message}`,{code:l.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}},9590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createEmptyPipeline=createEmptyPipeline;const r=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{constructor(e){var t;this._policies=[];this._policies=(t=e===null||e===void 0?void 0:e.slice(0))!==null&&t!==void 0?t:[];this._orderedPolicies=undefined}addPolicy(e,t={}){if(t.phase&&t.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(t.phase&&!r.has(t.phase)){throw new Error(`Invalid phase name: ${t.phase}`)}if(t.afterPhase&&!r.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((r=>{if(e.name&&r.policy.name===e.name||e.phase&&r.options.phase===e.phase){t.push(r.policy);return false}else{return true}}));this._orderedPolicies=undefined;return t}sendRequest(e,t){const r=this.getOrderedPolicies();const s=r.reduceRight(((e,t)=>r=>t.sendRequest(r,e)),(t=>e.sendRequest(t)));return s(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 r=createPhase("Serialize");const s=createPhase("None");const n=createPhase("Deserialize");const o=createPhase("Retry");const i=createPhase("Sign");const a=[r,s,n,o,i];function getPhase(e){if(e==="Retry"){return o}else if(e==="Serialize"){return r}else if(e==="Deserialize"){return n}else if(e==="Sign"){return i}else{return s}}for(const e of this._policies){const r=e.policy;const s=e.options;const n=r.name;if(t.has(n)){throw new Error("Duplicate policy names not allowed in pipeline")}const o={policy:r,dependsOn:new Set,dependants:new Set};if(s.afterPhase){o.afterPhase=getPhase(s.afterPhase);o.afterPhase.hasAfterPolicies=true}t.set(n,o);const i=getPhase(s.phase);i.policies.add(o)}for(const e of this._policies){const{policy:r,options:s}=e;const n=r.name;const o=t.get(n);if(!o){throw new Error(`Missing node for policy ${n}`)}if(s.afterPolicies){for(const e of s.afterPolicies){const r=t.get(e);if(r){o.dependsOn.add(r);r.dependants.add(o)}}}if(s.beforePolicies){for(const e of s.beforePolicies){const r=t.get(e);if(r){r.dependsOn.add(o);o.dependants.add(r)}}}}function walkPhase(r){r.hasRun=true;for(const s of r.policies){if(s.afterPhase&&(!s.afterPhase.hasRun||s.afterPhase.policies.size)){continue}if(s.dependsOn.size===0){e.push(s.policy);for(const e of s.dependants){e.dependsOn.delete(s)}t.delete(s.policy.name);r.policies.delete(s)}}}function walkPhases(){for(const e of a){walkPhase(e);if(e.policies.size>0&&e!==s){if(!s.hasRun){walkPhase(s)}return}if(e.hasAfterPolicies){walkPhase(s)}}}let A=0;while(t.size>0){A++;const t=e.length;walkPhases();if(e.length<=t&&A>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return e}}function createEmptyPipeline(){return HttpPipeline.create()}},5709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPipelineRequest=createPipelineRequest;const s=r(192);const n=r(7779);class PipelineRequestImpl{constructor(e){var t,r,o,i,a,A,c;this.url=e.url;this.body=e.body;this.headers=(t=e.headers)!==null&&t!==void 0?t:(0,s.createHttpHeaders)();this.method=(r=e.method)!==null&&r!==void 0?r:"GET";this.timeout=(o=e.timeout)!==null&&o!==void 0?o:0;this.multipartBody=e.multipartBody;this.formData=e.formData;this.disableKeepAlive=(i=e.disableKeepAlive)!==null&&i!==void 0?i:false;this.proxySettings=e.proxySettings;this.streamResponseStatusCodes=e.streamResponseStatusCodes;this.withCredentials=(a=e.withCredentials)!==null&&a!==void 0?a:false;this.abortSignal=e.abortSignal;this.tracingOptions=e.tracingOptions;this.onUploadProgress=e.onUploadProgress;this.onDownloadProgress=e.onDownloadProgress;this.requestId=e.requestId||(0,n.randomUUID)();this.allowInsecureConnection=(A=e.allowInsecureConnection)!==null&&A!==void 0?A:false;this.enableBrowserStreams=(c=e.enableBrowserStreams)!==null&&c!==void 0?c:false}}function createPipelineRequest(e){return new PipelineRequestImpl(e)}},2262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.auxiliaryAuthenticationHeaderPolicyName=void 0;t.auxiliaryAuthenticationHeaderPolicy=auxiliaryAuthenticationHeaderPolicy;const s=r(9202);const n=r(544);t.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";const o="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(e){var t,r;const{scopes:s,getAccessToken:n,request:o}=e;const i={abortSignal:o.abortSignal,tracingOptions:o.tracingOptions};return(r=(t=await n(s,i))===null||t===void 0?void 0:t.token)!==null&&r!==void 0?r:""}function auxiliaryAuthenticationHeaderPolicy(e){const{credentials:r,scopes:i}=e;const a=e.logger||n.logger;const A=new WeakMap;return{name:t.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(e,n){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(!r||r.length===0){a.info(`${t.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`);return n(e)}const c=[];for(const t of r){let r=A.get(t);if(!r){r=(0,s.createTokenCycler)(t);A.set(t,r)}c.push(sendAuthorizeRequest({scopes:Array.isArray(i)?i:[i],request:e,getAccessToken:r,logger:a}))}const l=(await Promise.all(c)).filter((e=>Boolean(e)));if(l.length===0){a.warning(`None of the auxiliary tokens are valid. ${o} header will not be set.`);return n(e)}e.headers.set(o,l.map((e=>`Bearer ${e}`)).join(", "));return n(e)}}}},6925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.bearerTokenAuthenticationPolicyName=void 0;t.bearerTokenAuthenticationPolicy=bearerTokenAuthenticationPolicy;t.parseChallenges=parseChallenges;const s=r(9202);const n=r(544);const o=r(8666);t.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function trySendRequest(e,t){try{return[await t(e),undefined]}catch(e){if((0,o.isRestError)(e)&&e.response){return[e.response,e]}else{throw e}}}async function defaultAuthorizeRequest(e){const{scopes:t,getAccessToken:r,request:s}=e;const n={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions,enableCae:true};const o=await r(t,n);if(o){e.request.headers.set("Authorization",`Bearer ${o.token}`)}}function isChallengeResponse(e){return e.status===401&&e.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(e,t){var r;const{scopes:s}=e;const n=await e.getAccessToken(s,{enableCae:true,claims:t});if(!n){return false}e.request.headers.set("Authorization",`${(r=n.tokenType)!==null&&r!==void 0?r:"Bearer"} ${n.token}`);return true}function bearerTokenAuthenticationPolicy(e){var r;const{credential:o,scopes:i,challengeCallbacks:a}=e;const A=e.logger||n.logger;const c={authorizeRequest:(r=a===null||a===void 0?void 0:a.authorizeRequest)!==null&&r!==void 0?r:defaultAuthorizeRequest,authorizeRequestOnChallenge:a===null||a===void 0?void 0:a.authorizeRequestOnChallenge};const l=o?(0,s.createTokenCycler)(o):()=>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 c.authorizeRequest({scopes:Array.isArray(i)?i:[i],request:e,getAccessToken:l,logger:A});let r;let s;let n;[r,s]=await trySendRequest(e,t);if(isChallengeResponse(r)){let o=getCaeChallengeClaims(r.headers.get("WWW-Authenticate"));if(o){let a;try{a=atob(o)}catch(e){A.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${o}`);return r}n=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(i)?i:[i],response:r,request:e,getAccessToken:l,logger:A},a);if(n){[r,s]=await trySendRequest(e,t)}}else if(c.authorizeRequestOnChallenge){n=await c.authorizeRequestOnChallenge({scopes:Array.isArray(i)?i:[i],request:e,response:r,getAccessToken:l,logger:A});if(n){[r,s]=await trySendRequest(e,t)}if(isChallengeResponse(r)){o=getCaeChallengeClaims(r.headers.get("WWW-Authenticate"));if(o){let a;try{a=atob(o)}catch(e){A.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${o}`);return r}n=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(i)?i:[i],response:r,request:e,getAccessToken:l,logger:A},a);if(n){[r,s]=await trySendRequest(e,t)}}}}}if(s){throw s}else{return r}}}}function parseChallenges(e){const t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const r=/(\w+)="([^"]*)"/g;const s=[];let n;while((n=t.exec(e))!==null){const e=n[1];const t=n[2];const o={};let i;while((i=r.exec(t))!==null){o[i[1]]=i[2]}s.push({scheme:e,params:o})}return s}function getCaeChallengeClaims(e){var t;if(!e){return}const r=parseChallenges(e);return(t=r.find((e=>e.scheme==="Bearer"&&e.params.claims&&e.params.error==="insufficient_claims")))===null||t===void 0?void 0:t.params.claims}},9295:(e,t)=>{"use strict";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)}}}},8170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRetryPolicyName=void 0;t.defaultRetryPolicy=defaultRetryPolicy;const s=r(2);const n=r(7084);const o=r(6085);const i=r(6427);t.defaultRetryPolicyName="defaultRetryPolicy";function defaultRetryPolicy(e={}){var r;return{name:t.defaultRetryPolicyName,sendRequest:(0,o.retryPolicy)([(0,n.throttlingRetryStrategy)(),(0,s.exponentialRetryStrategy)(e)],{maxRetries:(r=e.maxRetries)!==null&&r!==void 0?r:i.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},6708:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryPolicyName=void 0;t.exponentialRetryPolicy=exponentialRetryPolicy;const s=r(2);const n=r(6085);const o=r(6427);t.exponentialRetryPolicyName="exponentialRetryPolicy";function exponentialRetryPolicy(e={}){var t;return(0,n.retryPolicy)([(0,s.exponentialRetryStrategy)(Object.assign(Object.assign({},e),{ignoreSystemErrors:true}))],{maxRetries:(t=e.maxRetries)!==null&&t!==void 0?t:o.DEFAULT_RETRY_POLICY_COUNT})}},5497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.formDataPolicyName=void 0;t.formDataPolicy=formDataPolicy;const s=r(7779);const n=r(192);t.formDataPolicyName="formDataPolicy";function formDataToFormDataMap(e){var t;const r={};for(const[s,n]of e.entries()){(t=r[s])!==null&&t!==void 0?t:r[s]=[];r[s].push(n)}return r}function formDataPolicy(){return{name:t.formDataPolicyName,async sendRequest(e,t){if(s.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[r,s]of Object.entries(e)){if(Array.isArray(s)){for(const e of s){t.append(r,e.toString())}}else{t.append(r,s.toString())}}return t.toString()}async function prepareFormData(e,t){const r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data")){return}t.headers.set("Content-Type",r!==null&&r!==void 0?r:"multipart/form-data");const o=[];for(const[t,r]of Object.entries(e)){for(const e of Array.isArray(r)?r:[r]){if(typeof e==="string"){o.push({headers:(0,n.createHttpHeaders)({"Content-Disposition":`form-data; name="${t}"`}),body:(0,s.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 r=e.name||"blob";const s=(0,n.createHttpHeaders)();s.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`);s.set("Content-Type",e.type||"application/octet-stream");o.push({headers:s,body:e})}}}t.multipartBody={parts:o}}},3253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logPolicyName=void 0;t.logPolicy=logPolicy;const s=r(544);const n=r(5204);t.logPolicyName="logPolicy";function logPolicy(e={}){var r;const o=(r=e.logger)!==null&&r!==void 0?r:s.logger.info;const i=new n.Sanitizer({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:t.logPolicyName,async sendRequest(e,t){if(!o.enabled){return t(e)}o(`Request: ${i.sanitize(e)}`);const r=await t(e);o(`Response status code: ${r.status}`);o(`Headers: ${i.sanitize(r.headers)}`);return r}}}},5807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.multipartPolicyName=void 0;t.multipartPolicy=multipartPolicy;const s=r(7779);const n=r(2471);const o=r(2621);function generateBoundary(){return`----AzSDKFormBoundary${(0,s.randomUUID)()}`}function encodeHeaders(e){let t="";for(const[r,s]of e){t+=`${r}: ${s}\r\n`}return t}function getLength(e){if(e instanceof Uint8Array){return e.byteLength}else if((0,o.isBlob)(e)){return e.size===-1?undefined:e.size}else{return undefined}}function getTotalLength(e){let t=0;for(const r of e){const e=getLength(r);if(e===undefined){return undefined}else{t+=e}}return t}async function buildRequestBody(e,t,r){const o=[(0,s.stringToUint8Array)(`--${r}`,"utf-8"),...t.flatMap((e=>[(0,s.stringToUint8Array)("\r\n","utf-8"),(0,s.stringToUint8Array)(encodeHeaders(e.headers),"utf-8"),(0,s.stringToUint8Array)("\r\n","utf-8"),e.body,(0,s.stringToUint8Array)(`\r\n--${r}`,"utf-8")])),(0,s.stringToUint8Array)("--\r\n\r\n","utf-8")];const i=getTotalLength(o);if(i){e.headers.set("Content-Length",i)}e.body=await(0,n.concat)(o)}t.multipartPolicyName="multipartPolicy";const i=70;const a=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(e){if(e.length>i){throw new Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`)}if(Array.from(e).some((e=>!a.has(e)))){throw new Error(`Multipart boundary "${e}" contains invalid characters`)}}function multipartPolicy(){return{name:t.multipartPolicyName,async sendRequest(e,t){var r;if(!e.multipartBody){return t(e)}if(e.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let s=e.multipartBody.boundary;const n=(r=e.headers.get("Content-Type"))!==null&&r!==void 0?r:"multipart/mixed";const o=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!o){throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`)}const[,i,a]=o;if(a&&s&&a!==s){throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${s} in the request body`)}s!==null&&s!==void 0?s:s=a;if(s){assertValidBoundary(s)}else{s=generateBoundary()}e.headers.set("Content-Type",`${i}; boundary=${s}`);await buildRequestBody(e,e.multipartBody.parts,s);e.multipartBody=undefined;return t(e)}}}},6827:(e,t)=>{"use strict";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)}}}},2815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.globalNoProxyList=t.proxyPolicyName=void 0;t.loadNoProxy=loadNoProxy;t.getDefaultProxySettings=getDefaultProxySettings;t.proxyPolicy=proxyPolicy;const s=r(3669);const n=r(1970);const o=r(544);const i="HTTPS_PROXY";const a="HTTP_PROXY";const A="ALL_PROXY";const c="NO_PROXY";t.proxyPolicyName="proxyPolicy";t.globalNoProxyList=[];let l=false;const u=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(i);const t=getEnvironmentValue(A);const r=getEnvironmentValue(a);return e||t||r}function isBypassed(e,t,r){if(t.length===0){return false}const s=new URL(e).hostname;if(r===null||r===void 0?void 0:r.has(s)){return r.get(s)}let n=false;for(const e of t){if(e[0]==="."){if(s.endsWith(e)){n=true}else{if(s.length===e.length-1&&s===e.slice(1)){n=true}}}else{if(s===e){n=true}}}r===null||r===void 0?void 0:r.set(s,n);return n}function loadNoProxy(){const e=getEnvironmentValue(c);l=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 r=t.protocol?t.protocol+"//":"";return{host:r+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(t){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,r){if(e.agent){return}const i=new URL(e.url);const a=i.protocol!=="https:";if(e.tlsSettings){o.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const A=e.headers.toJSON();if(a){if(!t.httpProxyAgent){t.httpProxyAgent=new n.HttpProxyAgent(r,{headers:A})}e.agent=t.httpProxyAgent}else{if(!t.httpsProxyAgent){t.httpsProxyAgent=new s.HttpsProxyAgent(r,{headers:A})}e.agent=t.httpsProxyAgent}}function proxyPolicy(e,r){if(!l){t.globalNoProxyList.push(...loadNoProxy())}const s=e?getUrlFromProxySettings(e):getDefaultProxySettingsInternal();const n={};return{name:t.proxyPolicyName,async sendRequest(e,o){var i;if(!e.proxySettings&&s&&!isBypassed(e.url,(i=r===null||r===void 0?void 0:r.customNoProxyList)!==null&&i!==void 0?i:t.globalNoProxyList,(r===null||r===void 0?void 0:r.customNoProxyList)?undefined:u)){setProxyAgentOnRequest(e,n,s)}else if(e.proxySettings){setProxyAgentOnRequest(e,n,getUrlFromProxySettings(e.proxySettings))}return o(e)}}}},4087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.redirectPolicyName=void 0;t.redirectPolicy=redirectPolicy;t.redirectPolicyName="redirectPolicy";const r=["GET","HEAD"];function redirectPolicy(e={}){const{maxRetries:r=20}=e;return{name:t.redirectPolicyName,async sendRequest(e,t){const s=await t(e);return handleRedirect(t,s,r)}}}async function handleRedirect(e,t,s,n=0){const{request:o,status:i,headers:a}=t;const A=a.get("location");if(A&&(i===300||i===301&&r.includes(o.method)||i===302&&r.includes(o.method)||i===303&&o.method==="POST"||i===307)&&n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.retryPolicy=retryPolicy;const s=r(3034);const n=r(6515);const o=r(3287);const i=r(6427);const a=(0,n.createClientLogger)("core-rest-pipeline retryPolicy");const A="retryPolicy";function retryPolicy(e,t={maxRetries:i.DEFAULT_RETRY_POLICY_COUNT}){const r=t.logger||a;return{name:A,async sendRequest(n,A){var c,l;let u;let d;let p=-1;e:while(true){p+=1;u=undefined;d=undefined;try{r.info(`Retry ${p}: Attempting to send request`,n.requestId);u=await A(n);r.info(`Retry ${p}: Received a response from request`,n.requestId)}catch(e){r.error(`Retry ${p}: Received an error from request`,n.requestId);d=e;if(!e||d.name!=="RestError"){throw e}u=d.response}if((c=n.abortSignal)===null||c===void 0?void 0:c.aborted){r.error(`Retry ${p}: Request aborted.`);const e=new o.AbortError;throw e}if(p>=((l=t.maxRetries)!==null&&l!==void 0?l:i.DEFAULT_RETRY_POLICY_COUNT)){r.info(`Retry ${p}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(d){throw d}else if(u){return u}else{throw new Error("Maximum retries reached with no response or error to throw")}}r.info(`Retry ${p}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||a;e.info(`Retry ${p}: Processing retry strategy ${t.name}.`);const r=t.retry({retryCount:p,response:u,responseError:d});if(r.skipStrategy){e.info(`Retry ${p}: Skipped.`);continue t}const{errorToThrow:o,retryAfterInMs:i,redirectTo:A}=r;if(o){e.error(`Retry ${p}: Retry strategy ${t.name} throws error:`,o);throw o}if(i||i===0){e.info(`Retry ${p}: Retry strategy ${t.name} retries after ${i}`);await(0,s.delay)(i,undefined,{abortSignal:n.abortSignal});continue e}if(A){e.info(`Retry ${p}: Retry strategy ${t.name} redirects to ${A}`);n.url=A;continue e}}if(d){r.info(`None of the retry strategies could work with the received error. Throwing it.`);throw d}if(u){r.info(`None of the retry strategies could work with the received response. Returning it.`);return u}}}}}},5686:(e,t)=>{"use strict";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,r){if(!t.headers.has(e)){t.headers.set(e,t.requestId)}return r(t)}}}},6518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.systemErrorRetryPolicyName=void 0;t.systemErrorRetryPolicy=systemErrorRetryPolicy;const s=r(2);const n=r(6085);const o=r(6427);t.systemErrorRetryPolicyName="systemErrorRetryPolicy";function systemErrorRetryPolicy(e={}){var r;return{name:t.systemErrorRetryPolicyName,sendRequest:(0,n.retryPolicy)([(0,s.exponentialRetryStrategy)(Object.assign(Object.assign({},e),{ignoreHttpStatusCodes:true}))],{maxRetries:(r=e.maxRetries)!==null&&r!==void 0?r:o.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},7540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.throttlingRetryPolicyName=void 0;t.throttlingRetryPolicy=throttlingRetryPolicy;const s=r(7084);const n=r(6085);const o=r(6427);t.throttlingRetryPolicyName="throttlingRetryPolicy";function throttlingRetryPolicy(e={}){var r;return{name:t.throttlingRetryPolicyName,sendRequest:(0,n.retryPolicy)([(0,s.throttlingRetryStrategy)()],{maxRetries:(r=e.maxRetries)!==null&&r!==void 0?r:o.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},5798:(e,t)=>{"use strict";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,r)=>{if(!t.tlsSettings){t.tlsSettings=e}return r(t)}}}},3237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.tracingPolicyName=void 0;t.tracingPolicy=tracingPolicy;const s=r(623);const n=r(6427);const o=r(8431);const i=r(544);const a=r(7779);const A=r(8666);const c=r(5204);t.tracingPolicyName="tracingPolicy";function tracingPolicy(e={}){const r=(0,o.getUserAgentValue)(e.userAgentPrefix);const s=new c.Sanitizer({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});const n=tryCreateTracingClient();return{name:t.tracingPolicyName,async sendRequest(e,t){var o;if(!n){return t(e)}const i=await r;const a={"http.url":s.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":i,requestId:e.requestId};if(i){a["http.user_agent"]=i}const{span:A,tracingContext:c}=(o=tryCreateSpan(n,e,a))!==null&&o!==void 0?o:{};if(!A||!c){return t(e)}try{const r=await n.withContext(c,t,e);tryProcessResponse(A,r);return r}catch(e){tryProcessError(A,e);throw e}}}}function tryCreateTracingClient(){try{return(0,s.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:n.SDK_VERSION})}catch(e){i.logger.warning(`Error when creating the TracingClient: ${(0,a.getErrorMessage)(e)}`);return undefined}}function tryCreateSpan(e,t,r){try{const{span:s,updatedOptions:n}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!s.isRecording()){s.end();return undefined}const o=e.createRequestHeaders(n.tracingOptions.tracingContext);for(const[e,r]of Object.entries(o)){t.headers.set(e,r)}return{span:s,tracingContext:n.tracingOptions.tracingContext}}catch(e){i.logger.warning(`Skipping creating a tracing span due to an error: ${(0,a.getErrorMessage)(e)}`);return undefined}}function tryProcessError(e,t){try{e.setStatus({status:"error",error:(0,a.isError)(t)?t:undefined});if((0,A.isRestError)(t)&&t.statusCode){e.setAttribute("http.status_code",t.statusCode)}e.end()}catch(e){i.logger.warning(`Skipping tracing span processing due to an error: ${(0,a.getErrorMessage)(e)}`)}}function tryProcessResponse(e,t){try{e.setAttribute("http.status_code",t.status);const r=t.headers.get("x-ms-request-id");if(r){e.setAttribute("serviceRequestId",r)}e.setStatus({status:"success"});e.end()}catch(e){i.logger.warning(`Skipping tracing span processing due to an error: ${(0,a.getErrorMessage)(e)}`)}}},2799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.userAgentPolicyName=void 0;t.userAgentPolicy=userAgentPolicy;const s=r(8431);const n=(0,s.getUserAgentHeaderName)();t.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(e={}){const r=(0,s.getUserAgentValue)(e.userAgentPrefix);return{name:t.userAgentPolicyName,async sendRequest(e,t){if(!e.headers.has(n)){e.headers.set(n,await r)}return t(e)}}}},8666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RestError=void 0;t.isRestError=isRestError;const s=r(7779);const n=r(995);const o=r(5204);const i=new o.Sanitizer;class RestError extends Error{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});Object.setPrototypeOf(this,RestError.prototype)}[n.custom](){return`RestError: ${this.message} \n ${i.sanitize(Object.assign(Object.assign({},this),{request:this.request,response:this.response}))}`}}t.RestError=RestError;RestError.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";RestError.PARSE_ERROR="PARSE_ERROR";function isRestError(e){if(e instanceof RestError){return true}return(0,s.isError)(e)&&e.name==="RestError"}},2:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryStrategy=exponentialRetryStrategy;t.isExponentialRetryResponse=isExponentialRetryResponse;t.isSystemError=isSystemError;const s=r(7779);const n=r(7084);const o=1e3;const i=1e3*64;function exponentialRetryStrategy(e={}){var t,r;const a=(t=e.retryDelayInMs)!==null&&t!==void 0?t:o;const A=(r=e.maxRetryDelayInMs)!==null&&r!==void 0?r:i;return{name:"exponentialRetryStrategy",retry({retryCount:t,response:r,responseError:o}){const i=isSystemError(o);const c=i&&e.ignoreSystemErrors;const l=isExponentialRetryResponse(r);const u=l&&e.ignoreHttpStatusCodes;const d=r&&((0,n.isThrottlingRetryResponse)(r)||!l);if(d||u||c){return{skipStrategy:true}}if(o&&!i&&!l){return{errorToThrow:o}}return(0,s.calculateRetryDelay)(t,{retryDelayInMs:a,maxRetryDelayInMs:A})}}}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"}},7084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isThrottlingRetryResponse=isThrottlingRetryResponse;t.throttlingRetryStrategy=throttlingRetryStrategy;const s=r(3034);const n="Retry-After";const o=["retry-after-ms","x-ms-retry-after-ms",n];function getRetryAfterInMs(e){if(!(e&&[429,503].includes(e.status)))return undefined;try{for(const t of o){const r=(0,s.parseHeaderValueAsNumber)(e,t);if(r===0||r){const e=t===n?1e3:1;return r*e}}const t=e.headers.get(n);if(!t)return;const r=Date.parse(t);const i=r-Date.now();return Number.isFinite(i)?Math.max(0,i):undefined}catch(e){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}}}}},2471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.concat=concat;const s=r(1860);const n=r(7075);const o=r(2621);const i=r(7073);function streamAsyncIterator(){return s.__asyncGenerator(this,arguments,(function*streamAsyncIterator_1(){const e=this.getReader();try{while(true){const{done:t,value:r}=yield s.__await(e.read());if(t){return yield s.__await(void 0)}yield yield s.__await(r)}}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 n.Readable.fromWeb(e)}else{return e}}function toStream(e){if(e instanceof Uint8Array){return n.Readable.from(Buffer.from(e))}else if((0,o.isBlob)(e)){return toStream((0,i.getRawContent)(e))}else{return ensureNodeStream(e)}}async function concat(e){return function(){const t=e.map((e=>typeof e==="function"?e():e)).map(toStream);return n.Readable.from(function(){return s.__asyncGenerator(this,arguments,(function*(){var e,r,n,o;for(const c of t){try{for(var i=true,a=(r=void 0,s.__asyncValues(c)),A;A=yield s.__await(a.next()),e=A.done,!e;i=true){o=A.value;i=false;const e=o;yield yield s.__await(e)}}catch(e){r={error:e}}finally{try{if(!i&&!e&&(n=a.return))yield s.__await(n.call(a))}finally{if(r)throw r.error}}}}))}())}}},7073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRawContent=getRawContent;t.createFileFromStream=createFileFromStream;t.createFile=createFile;const s=r(7779);const n=r(2621);const o={arrayBuffer:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}};const i=Symbol("rawContent");function hasRawContent(e){return typeof e[i]==="function"}function getRawContent(e){if(hasRawContent(e)){return e[i]()}else{return e.stream()}}function createFileFromStream(e,t,r={}){var s,a,A,c;return Object.assign(Object.assign({},o),{type:(s=r.type)!==null&&s!==void 0?s:"",lastModified:(a=r.lastModified)!==null&&a!==void 0?a:(new Date).getTime(),webkitRelativePath:(A=r.webkitRelativePath)!==null&&A!==void 0?A:"",size:(c=r.size)!==null&&c!==void 0?c:-1,name:t,stream:()=>{const t=e();if((0,n.isNodeReadableStream)(t)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return t},[i]:e})}function createFile(e,t,r={}){var n,a,A;if(s.isNodeLike){return Object.assign(Object.assign({},o),{type:(n=r.type)!==null&&n!==void 0?n:"",lastModified:(a=r.lastModified)!==null&&a!==void 0?a:(new Date).getTime(),webkitRelativePath:(A=r.webkitRelativePath)!==null&&A!==void 0?A:"",size:e.byteLength,name:t,arrayBuffer:async()=>e.buffer,stream:()=>new Blob([e]).stream(),[i]:()=>e})}else{return new File([e],t,r)}}},3034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.delay=delay;t.parseHeaderValueAsNumber=parseHeaderValueAsNumber;const s=r(3287);const n="The operation was aborted.";function delay(e,t,r){return new Promise(((o,i)=>{let a=undefined;let A=undefined;const rejectOnAbort=()=>i(new s.AbortError((r===null||r===void 0?void 0:r.abortErrorMsg)?r===null||r===void 0?void 0:r.abortErrorMsg:n));const removeListeners=()=>{if((r===null||r===void 0?void 0:r.abortSignal)&&A){r.abortSignal.removeEventListener("abort",A)}};A=()=>{if(a){clearTimeout(a)}removeListeners();return rejectOnAbort()};if((r===null||r===void 0?void 0:r.abortSignal)&&r.abortSignal.aborted){return rejectOnAbort()}a=setTimeout((()=>{removeListeners();o(t)}),e);if(r===null||r===void 0?void 0:r.abortSignal){r.abortSignal.addEventListener("abort",A)}}))}function parseHeaderValueAsNumber(e,t){const r=e.headers.get(t);if(!r)return;const s=Number(r);if(Number.isNaN(s))return;return s}},995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.custom=void 0;const s=r(7975);t.custom=s.inspect.custom},5204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Sanitizer=void 0;const s=r(7779);const n="REDACTED";const o=["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 i=["api-version"];class Sanitizer{constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=o.concat(e);t=i.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,r)=>{if(r instanceof Error){return Object.assign(Object.assign({},r),{name:r.name,message:r.message})}if(e==="headers"){return this.sanitizeHeaders(r)}else if(e==="url"){return this.sanitizeUrl(r)}else if(e==="query"){return this.sanitizeQuery(r)}else if(e==="body"){return undefined}else if(e==="response"){return undefined}else if(e==="operationSpec"){return undefined}else if(Array.isArray(r)||(0,s.isObject)(r)){if(t.has(r)){return"[Circular]"}t.add(r)}return r}),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,n)}}return t.toString()}sanitizeHeaders(e){const t={};for(const r of Object.keys(e)){if(this.allowedHeaderNames.has(r.toLowerCase())){t[r]=e[r]}else{t[r]=n}}return t}sanitizeQuery(e){if(typeof e!=="object"||e===null){return e}const t={};for(const r of Object.keys(e)){if(this.allowedQueryParameters.has(r.toLowerCase())){t[r]=e[r]}else{t[r]=n}}return t}}t.Sanitizer=Sanitizer},9202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_CYCLER_OPTIONS=void 0;t.createTokenCycler=createTokenCycler;const s=r(3034);t.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(e,t,r){async function tryGetAccessToken(){if(Date.now()e.getToken(t,r);s=beginRefresh(tryGetAccessToken,i.retryIntervalInMs,(A=n===null||n===void 0?void 0:n.expiresOnTimestamp)!==null&&A!==void 0?A:Date.now()).then((e=>{s=null;n=e;o=r.tenantId;return n})).catch((e=>{s=null;n=null;o=undefined;throw e}))}return s}return async(e,t)=>{const r=Boolean(t.claims);const s=o!==t.tenantId;if(r){n=null}const i=s||r||a.mustRefresh;if(i){return refresh(e,t)}if(a.shouldRefresh){refresh(e,t)}return n}}},2621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isNodeReadableStream=isNodeReadableStream;t.isWebReadableStream=isWebReadableStream;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 isReadableStream(e){return isNodeReadableStream(e)||isWebReadableStream(e)}function isBlob(e){return typeof e.stream==="function"}},8431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentHeaderName=getUserAgentHeaderName;t.getUserAgentValue=getUserAgentValue;const s=r(1848);const n=r(6427);function getUserAgentString(e){const t=[];for(const[r,s]of e){const e=s?`${r}/${s}`:r;t.push(e)}return t.join(" ")}function getUserAgentHeaderName(){return(0,s.getHeaderName)()}async function getUserAgentValue(e){const t=new Map;t.set("core-rest-pipeline",n.SDK_VERSION);await(0,s.setPlatformSpecificData)(t);const r=getUserAgentString(t);const o=e?`${e} ${r}`:r;return o}},1848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHeaderName=getHeaderName;t.setPlatformSpecificData=setPlatformSpecificData;const s=r(1860);const n=s.__importStar(r(8161));const o=s.__importStar(r(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(e){if(o&&o.versions){const t=o.versions;if(t.bun){e.set("Bun",t.bun)}else if(t.deno){e.set("Deno",t.deno)}else if(t.node){e.set("Node",t.node)}}e.set("OS",`(${n.arch()}-${n.type()}-${n.release()})`)}},5455:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},3287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var s=r(5455);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return s.AbortError}})},623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createTracingClient=t.useInstrumenter=void 0;var s=r(8729);Object.defineProperty(t,"useInstrumenter",{enumerable:true,get:function(){return s.useInstrumenter}});var n=r(3438);Object.defineProperty(t,"createTracingClient",{enumerable:true,get:function(){return n.createTracingClient}})},8729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDefaultTracingSpan=createDefaultTracingSpan;t.createDefaultInstrumenter=createDefaultInstrumenter;t.useInstrumenter=useInstrumenter;t.getInstrumenter=getInstrumenter;const s=r(9186);const n=r(8914);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(e,t)=>({span:createDefaultTracingSpan(),tracingContext:(0,s.createTracingContext)({parentContext:t.tracingContext})}),withContext(e,t,...r){return t(...r)}}}function useInstrumenter(e){n.state.instrumenterImplementation=e}function getInstrumenter(){if(!n.state.instrumenterImplementation){n.state.instrumenterImplementation=createDefaultInstrumenter()}return n.state.instrumenterImplementation}},8914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.state=void 0;t.state={instrumenterImplementation:undefined}},3438:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createTracingClient=createTracingClient;const s=r(8729);const n=r(9186);function createTracingClient(e){const{namespace:t,packageName:r,packageVersion:o}=e;function startSpan(e,i,a){var A;const c=(0,s.getInstrumenter)().startSpan(e,Object.assign(Object.assign({},a),{packageName:r,packageVersion:o,tracingContext:(A=i===null||i===void 0?void 0:i.tracingOptions)===null||A===void 0?void 0:A.tracingContext}));let l=c.tracingContext;const u=c.span;if(!l.getValue(n.knownContextKeys.namespace)){l=l.setValue(n.knownContextKeys.namespace,t)}u.setAttribute("az.namespace",l.getValue(n.knownContextKeys.namespace));const d=Object.assign({},i,{tracingOptions:Object.assign(Object.assign({},i===null||i===void 0?void 0:i.tracingOptions),{tracingContext:l})});return{span:u,updatedOptions:d}}async function withSpan(e,t,r,s){const{span:n,updatedOptions:o}=startSpan(e,t,s);try{const e=await withContext(o.tracingOptions.tracingContext,(()=>Promise.resolve(r(o,n))));n.setStatus({status:"success"});return e}catch(e){n.setStatus({status:"error",error:e});throw e}finally{n.end()}}function withContext(e,t,...r){return(0,s.getInstrumenter)().withContext(e,t,...r)}function parseTraceparentHeader(e){return(0,s.getInstrumenter)().parseTraceparentHeader(e)}function createRequestHeaders(e){return(0,s.getInstrumenter)().createRequestHeaders(e)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},9186:(e,t)=>{"use strict";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 r=new TracingContextImpl(e.parentContext);if(e.span){r=r.setValue(t.knownContextKeys.span,e.span)}if(e.namespace){r=r.setValue(t.knownContextKeys.namespace,e.namespace)}return r}class TracingContextImpl{constructor(e){this._contextMap=e instanceof TracingContextImpl?new Map(e._contextMap):new Map}setValue(e,t){const r=new TracingContextImpl(this);r._contextMap.set(e,t);return r}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new TracingContextImpl(this);t._contextMap.delete(e);return t}}t.TracingContextImpl=TracingContextImpl},5209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(e,t){var r,s;const n=new AbortController;function abortHandler(){n.abort()}(r=t===null||t===void 0?void 0:t.abortSignal)===null||r===void 0?void 0:r.addEventListener("abort",abortHandler);try{return await Promise.race(e.map((e=>e({abortSignal:n.signal}))))}finally{n.abort();(s=t===null||t===void 0?void 0:t.abortSignal)===null||s===void 0?void 0:s.removeEventListener("abort",abortHandler)}}},2741:(e,t)=>{"use strict";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)}},8162:(e,t)=>{"use strict";var r,s,n,o;Object.defineProperty(t,"__esModule",{value:true});t.isReactNative=t.isNodeRuntime=t.isNode=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===null||self===void 0?void 0:self.importScripts)==="function"&&(((r=self.constructor)===null||r===void 0?void 0:r.name)==="DedicatedWorkerGlobalScope"||((s=self.constructor)===null||s===void 0?void 0:s.name)==="ServiceWorkerGlobalScope"||((n=self.constructor)===null||n===void 0?void 0:n.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((o=globalThis.process.versions)===null||o===void 0?void 0:o.node);t.isNode=t.isNodeLike;t.isNodeRuntime=t.isNodeLike&&!t.isBun&&!t.isDeno;t.isReactNative=typeof navigator!=="undefined"&&(navigator===null||navigator===void 0?void 0:navigator.product)==="ReactNative"},3128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createAbortablePromise=createAbortablePromise;const s=r(6492);function createAbortablePromise(e,t){const{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:o}=t!==null&&t!==void 0?t:{};return new Promise(((t,i)=>{function rejectOnAbort(){i(new s.AbortError(o!==null&&o!==void 0?o:"The operation was aborted."))}function removeListeners(){n===null||n===void 0?void 0:n.removeEventListener("abort",onAbort)}function onAbort(){r===null||r===void 0?void 0:r();removeListeners();rejectOnAbort()}if(n===null||n===void 0?void 0:n.aborted){return rejectOnAbort()}try{e((e=>{removeListeners();t(e)}),(e=>{removeListeners();i(e)}))}catch(e){i(e)}n===null||n===void 0?void 0:n.addEventListener("abort",onAbort)}))}},636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.delay=delay;t.calculateRetryDelay=calculateRetryDelay;const s=r(3128);const n=r(4196);const o="The delay was aborted.";function delay(e,t){let r;const{abortSignal:n,abortErrorMsg:i}=t!==null&&t!==void 0?t:{};return(0,s.createAbortablePromise)((t=>{r=setTimeout(t,e)}),{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i!==null&&i!==void 0?i:o})}function calculateRetryDelay(e,t){const r=t.retryDelayInMs*Math.pow(2,e);const s=Math.min(t.maxRetryDelayInMs,r);const o=s/2+(0,n.getRandomIntegerInclusive)(0,s/2);return{retryAfterInMs:o}}},9945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isError=isError;t.getErrorMessage=getErrorMessage;const s=r(7756);function isError(e){if((0,s.isObject)(e)){const t=typeof e.name==="string";const r=typeof e.message==="string";return t&&r}return false}function getErrorMessage(e){if(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}`}}},7779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stringToUint8Array=t.uint8ArrayToString=t.isWebWorker=t.isReactNative=t.isDeno=t.isNodeRuntime=t.isNodeLike=t.isNode=t.isBun=t.isBrowser=t.randomUUID=t.objectHasProperty=t.isObjectWithProperties=t.isDefined=t.computeSha256Hmac=t.computeSha256Hash=t.getErrorMessage=t.isError=t.isObject=t.getRandomIntegerInclusive=t.createAbortablePromise=t.cancelablePromiseRace=t.calculateRetryDelay=t.delay=void 0;var s=r(636);Object.defineProperty(t,"delay",{enumerable:true,get:function(){return s.delay}});Object.defineProperty(t,"calculateRetryDelay",{enumerable:true,get:function(){return s.calculateRetryDelay}});var n=r(5209);Object.defineProperty(t,"cancelablePromiseRace",{enumerable:true,get:function(){return n.cancelablePromiseRace}});var o=r(3128);Object.defineProperty(t,"createAbortablePromise",{enumerable:true,get:function(){return o.createAbortablePromise}});var i=r(4196);Object.defineProperty(t,"getRandomIntegerInclusive",{enumerable:true,get:function(){return i.getRandomIntegerInclusive}});var a=r(7756);Object.defineProperty(t,"isObject",{enumerable:true,get:function(){return a.isObject}});var A=r(9945);Object.defineProperty(t,"isError",{enumerable:true,get:function(){return A.isError}});Object.defineProperty(t,"getErrorMessage",{enumerable:true,get:function(){return A.getErrorMessage}});var c=r(9732);Object.defineProperty(t,"computeSha256Hash",{enumerable:true,get:function(){return c.computeSha256Hash}});Object.defineProperty(t,"computeSha256Hmac",{enumerable:true,get:function(){return c.computeSha256Hmac}});var l=r(6277);Object.defineProperty(t,"isDefined",{enumerable:true,get:function(){return l.isDefined}});Object.defineProperty(t,"isObjectWithProperties",{enumerable:true,get:function(){return l.isObjectWithProperties}});Object.defineProperty(t,"objectHasProperty",{enumerable:true,get:function(){return l.objectHasProperty}});var u=r(8795);Object.defineProperty(t,"randomUUID",{enumerable:true,get:function(){return u.randomUUID}});var d=r(8162);Object.defineProperty(t,"isBrowser",{enumerable:true,get:function(){return d.isBrowser}});Object.defineProperty(t,"isBun",{enumerable:true,get:function(){return d.isBun}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return d.isNode}});Object.defineProperty(t,"isNodeLike",{enumerable:true,get:function(){return d.isNodeLike}});Object.defineProperty(t,"isNodeRuntime",{enumerable:true,get:function(){return d.isNodeRuntime}});Object.defineProperty(t,"isDeno",{enumerable:true,get:function(){return d.isDeno}});Object.defineProperty(t,"isReactNative",{enumerable:true,get:function(){return d.isReactNative}});Object.defineProperty(t,"isWebWorker",{enumerable:true,get:function(){return d.isWebWorker}});var p=r(2741);Object.defineProperty(t,"uint8ArrayToString",{enumerable:true,get:function(){return p.uint8ArrayToString}});Object.defineProperty(t,"stringToUint8Array",{enumerable:true,get:function(){return p.stringToUint8Array}})},7756:(e,t)=>{"use strict";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)}},4196:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRandomIntegerInclusive=getRandomIntegerInclusive;function getRandomIntegerInclusive(e,t){e=Math.ceil(e);t=Math.floor(t);const r=Math.floor(Math.random()*(t-e+1));return r+e}},9732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.computeSha256Hmac=computeSha256Hmac;t.computeSha256Hash=computeSha256Hash;const s=r(6982);async function computeSha256Hmac(e,t,r){const n=Buffer.from(e,"base64");return(0,s.createHmac)("sha256",n).update(t).digest(r)}async function computeSha256Hash(e,t){return(0,s.createHash)("sha256").update(e).digest(t)}},6277:(e,t)=>{"use strict";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 r of t){if(!objectHasProperty(e,r)){return false}}return true}function objectHasProperty(e,t){return isDefined(e)&&typeof e==="object"&&t in e}},8795:(e,t,r)=>{"use strict";var s;Object.defineProperty(t,"__esModule",{value:true});t.randomUUID=randomUUID;const n=r(6982);const o=typeof((s=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||s===void 0?void 0:s.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):n.randomUUID;function randomUUID(){return o()}},1658:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},6492:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var s=r(1658);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return s.AbortError}})},8756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=t.parseXML=t.stringifyXML=void 0;var s=r(8133);Object.defineProperty(t,"stringifyXML",{enumerable:true,get:function(){return s.stringifyXML}});Object.defineProperty(t,"parseXML",{enumerable:true,get:function(){return s.parseXML}});var n=r(3406);Object.defineProperty(t,"XML_ATTRKEY",{enumerable:true,get:function(){return n.XML_ATTRKEY}});Object.defineProperty(t,"XML_CHARKEY",{enumerable:true,get:function(){return n.XML_CHARKEY}})},3406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=void 0;t.XML_ATTRKEY="$";t.XML_CHARKEY="_"},8133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stringifyXML=stringifyXML;t.parseXML=parseXML;const s=r(9741);const n=r(3406);function getCommonOptions(e){var t;return{attributesGroupName:n.XML_ATTRKEY,textNodeName:(t=e.xmlCharKey)!==null&&t!==void 0?t:n.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(e={}){var t,r;return Object.assign(Object.assign({},getCommonOptions(e)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(t=e.rootName)!==null&&t!==void 0?t:"root",cdataPropName:(r=e.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}function getParserOptions(e={}){return Object.assign(Object.assign({},getCommonOptions(e)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:true})}function stringifyXML(e,t={}){const r=getSerializerOptions(t);const n=new s.XMLBuilder(r);const o={[r.rootNodeName]:e};const i=n.build(o);return`${i}`.replace(/\n/g,"")}async function parseXML(e,t={}){if(!e){throw new Error("Document is empty")}const r=s.XMLValidator.validate(e);if(r!==true){throw r}const n=new s.XMLParser(getParserOptions(t));const o=n.parse(e);if(o["?xml"]){delete o["?xml"]}if(!t.includeRoot){for(const e of Object.keys(o)){const t=o[e];return typeof t==="object"?Object.assign({},t):t}}return o}},1676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=r(6757);const n=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let o;let i=[];let a=[];const A=[];if(n){enable(n)}const c=Object.assign((e=>createDebugger(e)),{enable:enable,enabled:enabled,disable:disable,log:s.log});function enable(e){o=e;i=[];a=[];const t=/\*/g;const r=e.split(",").map((e=>e.trim().replace(t,".*?")));for(const e of r){if(e.startsWith("-")){a.push(new RegExp(`^${e.substr(1)}$`))}else{i.push(new RegExp(`^${e}$`))}}for(const e of A){e.enabled=enabled(e.namespace)}}function enabled(e){if(e.endsWith("*")){return true}for(const t of a){if(t.test(e)){return false}}for(const t of i){if(t.test(e)){return true}}return false}function disable(){const e=o||"";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(...r){if(!t.enabled){return}if(r.length>0){r[0]=`${e} ${r[0]}`}t.log(...r)}A.push(t);return t}function destroy(){const e=A.indexOf(this);if(e>=0){A.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},6515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureLogger=void 0;t.setLogLevel=setLogLevel;t.getLogLevel=getLogLevel;t.createClientLogger=createClientLogger;const s=r(1860);const n=s.__importDefault(r(1676));const o=new Set;const i=typeof process!=="undefined"&&process.env&&process.env.AZURE_LOG_LEVEL||undefined;let a;t.AzureLogger=(0,n.default)("azure");t.AzureLogger.log=(...e)=>{n.default.log(...e)};const A=["verbose","info","warning","error"];if(i){if(isAzureLogLevel(i)){setLogLevel(i)}else{console.error(`AZURE_LOG_LEVEL set to unknown log level '${i}'; logging is not enabled. Acceptable values: ${A.join(", ")}.`)}}function setLogLevel(e){if(e&&!isAzureLogLevel(e)){throw new Error(`Unknown log level '${e}'. Acceptable values: ${A.join(",")}`)}a=e;const t=[];for(const e of o){if(shouldEnable(e)){t.push(e.namespace)}}n.default.enable(t.join(","))}function getLogLevel(){return a}const c={verbose:400,info:300,warning:200,error:100};function createClientLogger(e){const r=t.AzureLogger.extend(e);patchLogMethod(t.AzureLogger,r);return{error:createLogger(r,"error"),warning:createLogger(r,"warning"),info:createLogger(r,"info"),verbose:createLogger(r,"verbose")}}function patchLogMethod(e,t){t.log=(...t)=>{e.log(...t)}}function createLogger(e,t){const r=Object.assign(e.extend(t),{level:t});patchLogMethod(e,r);if(shouldEnable(r)){const e=n.default.disable();n.default.enable(e+","+r.namespace)}o.add(r);return r}function shouldEnable(e){return Boolean(a&&c[e.level]<=c[a])}function isAzureLogLevel(e){return A.includes(e)}},6757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.log=log;const s=r(1860);const n=r(8161);const o=s.__importDefault(r(7975));const i=s.__importStar(r(1708));function log(e,...t){i.stderr.write(`${o.default.format(e,...t)}${n.EOL}`)}},4841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},4517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var s=r(4841);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return s.AbortError}})},7182:(e,t,r)=>{"use strict";const s=r(7075).Writable;const n=r(7975).inherits;const o=r(4136);const i=r(612);const a=r(2271);const A=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}s.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 a(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}n(Dicer,s);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{s.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser){return r()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new i(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{"use strict";const s=r(8474).EventEmitter;const n=r(7975).inherits;const o=r(2393);const i=r(4136);const a=Buffer.from("\r\n\r\n");const A=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){s.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=o(e,"maxHeaderPairs",2e3);this.maxHeaderSize=o(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new i(a);this.ss.on("info",(function(e,r,s,n){if(r&&!t.maxed){if(t.nread+n-s>=t.maxHeaderSize){n=t.maxHeaderSize-t.nread+s;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=n-s}t.buffer+=r.toString("binary",s,n)}if(e){t._finish()}}))}n(HeaderParser,s);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(A);const t=e.length;let r,s;for(var n=0;n{"use strict";const s=r(7975).inherits;const n=r(7075).Readable;function PartStream(e){n.call(this,e)}s(PartStream,n);PartStream.prototype._read=function(e){};e.exports=PartStream},4136:(e,t,r)=>{"use strict";const s=r(8474).EventEmitter;const n=r(7975).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 r=0;r=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const r=this._lookbehind_size+o;if(r>0){this.emit("info",false,this._lookbehind,0,r)}this._lookbehind.copy(this._lookbehind,0,r,this._lookbehind_size-r);this._lookbehind_size-=r;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}o+=(o>=0)*this._bufpos;if(e.indexOf(r,o)!==-1){o=e.indexOf(r,o);++this.matches;if(o>0){this.emit("info",true,e,this._bufpos,o)}else{this.emit("info",true)}return this._bufpos=o+s}else{o=t-s}while(o0){this.emit("info",false,e,this._bufpos,o{"use strict";const s=r(7075).Writable;const{inherits:n}=r(7975);const o=r(7182);const i=r(1192);const a=r(855);const A=r(8929);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,...r}=e;this.opts={autoDestroy:false,...r};s.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}n(Busboy,s);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}s.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=A(e["content-type"]);const r={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(i.detect.test(t[0])){return new i(this,r)}if(a.detect.test(t[0])){return new a(this,r)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,r){this._parser.write(e,r)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=o},1192:(e,t,r)=>{"use strict";const{Readable:s}=r(7075);const{inherits:n}=r(7975);const o=r(7182);const i=r(8929);const a=r(2747);const A=r(692);const c=r(2393);const l=/^boundary$/i;const u=/^form-data$/i;const d=/^charset$/i;const p=/^filename$/i;const g=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let r;let s;const n=this;let m;const h=t.limits;const E=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const C=t.parsedConType||[];const y=t.defCharset||"utf8";const I=t.preservePath;const B={highWaterMark:t.fileHwm};for(r=0,s=C.length;rw){n.parser.removeListener("part",onPart);n.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(k){const e=k;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(o){let c;let l;let m;let h;let C;let w;let N=0;if(o["content-type"]){m=i(o["content-type"][0]);if(m[0]){c=m[0].toLowerCase();for(r=0,s=m.length;rb){const s=b-N+e.length;if(s>0){r.push(e.slice(0,s))}r.truncated=true;r.bytesRead=b;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){n._pause=true}r.bytesRead=N};O=function(){P=undefined;r.push(null)}}else{if(D===R){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++D;++T;let r="";let s=false;k=t;v=function(e){if((N+=e.length)>Q){const n=Q-(N-e.length);r+=e.toString("binary",0,n);s=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};O=function(){k=undefined;if(r.length){r=a(r,"binary",h)}e.emit("field",l,r,false,s,C,c);--T;checkFinished()}}t._readableState.sync=false;t.on("data",v);t.on("end",O)})).on("error",(function(e){if(P){P.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){O=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const r=this.parser.write(e);if(r&&!this._pause){t()}else{this._needDrain=!r;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){s.call(this,e);this.bytesRead=0;this.truncated=false}n(FileStream,s);FileStream.prototype._read=function(e){};e.exports=Multipart},855:(e,t,r)=>{"use strict";const s=r(1496);const n=r(2747);const o=r(2393);const i=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const n=t.parsedConType;this.boy=e;this.fieldSizeLimit=o(r,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=o(r,"fieldNameSize",100);this.fieldsLimit=o(r,"fields",Infinity);let a;for(var A=0,c=n.length;Ai){this._key+=this.decoder.write(e.toString("binary",i,r))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();i=r+1}else if(s!==undefined){++this._fields;let r;const o=this._keyTrunc;if(s>i){r=this._key+=this.decoder.write(e.toString("binary",i,s))}else{r=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(r.length){this.boy.emit("field",n(r,"binary",this.charset),"",o,false)}i=s+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(o>i){this._key+=this.decoder.write(e.toString("binary",i,o))}i=o;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(ii){this._val+=this.decoder.write(e.toString("binary",i,s))}this.boy.emit("field",n(this._key,"binary",this.charset),n(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();i=s+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(o>i){this._val+=this.decoder.write(e.toString("binary",i,o))}i=o;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(i0){this.boy.emit("field",n(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",n(this._key,"binary",this.charset),n(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},1496:e=>{"use strict";const t=/\+/g;const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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 s="";let n=0;let o=0;const i=e.length;for(;no){s+=e.substring(o,n);o=n}this.buffer="";++o}}if(o{"use strict";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}},2747:function(e){"use strict";const t=new TextDecoder("utf-8");const r=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return s.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return s.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return s.utf16le;case"base64":return s.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return s.other.bind(e)}}}const s={utf8:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.utf8Slice(0,e.length)},latin1:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.ucs2Slice(0,e.length)},base64:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.base64Slice(0,e.length)},other:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}if(r.has(this.toString())){try{return r.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},2393:e=>{"use strict";e.exports=function getLimit(e,t,r){if(!e||e[t]===undefined||e[t]===null){return r}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},8929:(e,t,r)=>{"use strict";const s=r(2747);const n=/%[a-fA-F0-9][a-fA-F0-9]/g;const o={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return o[e]}const i=0;const a=1;const A=2;const c=3;function parseParams(e){const t=[];let r=i;let o="";let l=false;let u=false;let d=0;let p="";const g=e.length;for(var m=0;m{"use strict";t.__esModule=true;t.parseArgsStringToArgv=void 0;function parseArgsStringToArgv(e,t,r){var s=/([^\s'"]([^\s'"]*(['"])([^\3]*?)\3)+[^\s'"]*)|[^\s'"]+|(['"])([^\5]*?)\5/gi;var n=e;var o=[];if(t){o.push(t)}if(r){o.push(r)}var i;do{i=s.exec(n);if(i!==null){o.push(firstString(i[1],i[6],i[0]))}}while(i!==null);return o}t["default"]=parseArgsStringToArgv;t.parseArgsStringToArgv=parseArgsStringToArgv;function firstString(){var e=[];for(var t=0;t */o[n-4]=this.maskKey[0];o[n-3]=this.maskKey[1];o[n-2]=this.maskKey[2];o[n-1]=this.maskKey[3];o[1]=r;if(r===126){o.writeUInt16BE(t,2)}else if(r===127){o[2]=o[3]=0;o.writeUIntBE(t,4,6)}o[1]|=128;for(let e=0;e{"use strict";const{Writable:s}=r(2203);const n=r(1637);const{parserStates:o,opcodes:i,states:a,emptyBuffer:A}=r(5913);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:d}=r(2933);const{isValidStatusCode:p,failWebsocketConnection:g,websocketMessageReceived:m}=r(3574);const{WebsocketFrameSend:h}=r(1237);const E={};E.ping=n.channel("undici:websocket:ping");E.pong=n.channel("undici:websocket:pong");class ByteParser extends s{#i=[];#a=0;#A=o.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#i.push(e);this.#a+=e.length;this.run(r)}run(e){while(true){if(this.#A===o.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!==i.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==i.BINARY&&this.#c.opcode!==i.TEXT){g(this.ws,"Invalid frame type was fragmented.");return}const r=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#A=o.READ_DATA}else if(r===126){this.#A=o.PAYLOADLENGTH_16}else if(r===127){this.#A=o.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){g(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===i.PING||this.#c.opcode===i.PONG||this.#c.opcode===i.CLOSE)&&r>125){g(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===i.CLOSE){if(r===1){g(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new h(e);this.ws[u].socket.write(t.createFrame(i.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=a.CLOSING;this.ws[d]=true;this.end();return}else if(this.#c.opcode===i.PING){const t=this.consume(r);if(!this.ws[d]){const e=new h(t);this.ws[u].socket.write(e.createFrame(i.PONG));if(E.ping.hasSubscribers){E.ping.publish({payload:t})}}this.#A=o.INFO;if(this.#a>0){continue}else{e();return}}else if(this.#c.opcode===i.PONG){const t=this.consume(r);if(E.pong.hasSubscribers){E.pong.publish({payload:t})}if(this.#a>0){continue}else{e();return}}}else if(this.#A===o.PAYLOADLENGTH_16){if(this.#a<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#A=o.READ_DATA}else if(this.#A===o.PAYLOADLENGTH_64){if(this.#a<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){g(this.ws,"Received payload length > 2^31 bytes.");return}const s=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+s;this.#A=o.READ_DATA}else if(this.#A===o.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===i.CONTINUATION){const e=Buffer.concat(this.#l);m(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#A=o.INFO}}if(this.#a>0){continue}else{e();break}}}consume(e){if(e>this.#a){return null}else if(e===0){return A}if(this.#i[0].length===e){this.#a-=this.#i[0].length;return this.#i.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const s=this.#i[0];const{length:n}=s;if(n+r===e){t.set(this.#i.shift(),r);break}else if(n+r>e){t.set(s.subarray(0,e-r),r);this.#i[0]=s.subarray(e-r);break}else{t.set(this.#i.shift(),r);r+=s.length}}this.#a-=e;return t}parseCloseBody(e,t){let r;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!p(r)){return null}return{code:r}}let s=t.subarray(2);if(s[0]===239&&s[1]===187&&s[2]===191){s=s.subarray(3)}if(r!==undefined&&!p(r)){return null}try{s=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{return null}return{code:r,reason:s}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},2933:e=>{"use strict";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,r)=>{"use strict";const{kReadyState:s,kController:n,kResponse:o,kBinaryType:i,kWebSocketURL:a}=r(2933);const{states:A,opcodes:c}=r(5913);const{MessageEvent:l,ErrorEvent:u}=r(6255);function isEstablished(e){return e[s]===A.OPEN}function isClosing(e){return e[s]===A.CLOSING}function isClosed(e){return e[s]===A.CLOSED}function fireEvent(e,t,r=Event,s){const n=new r(e,s);t.dispatchEvent(n)}function websocketMessageReceived(e,t,r){if(e[s]!==A.OPEN){return}let n;if(t===c.TEXT){try{n=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[i]==="blob"){n=new Blob([r])}else{n=new Uint8Array(r).buffer}}fireEvent("message",e,l,{origin:e[a].origin,data:n})}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{[n]:r,[o]:s}=e;r.abort();if(s?.socket&&!s.socket.destroyed){s.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},5171:(e,t,r)=>{"use strict";const{webidl:s}=r(4222);const{DOMException:n}=r(7326);const{URLSerializer:o}=r(4322);const{getGlobalOrigin:i}=r(5628);const{staticPropertyDescriptors:a,states:A,opcodes:c,emptyBuffer:l}=r(5913);const{kWebSocketURL:u,kReadyState:d,kController:p,kBinaryType:g,kResponse:m,kSentClose:h,kByteParser:E}=r(2933);const{isEstablished:C,isClosing:y,isValidSubprotocol:I,failWebsocketConnection:B,fireEvent:Q}=r(3574);const{establishWebSocketConnection:b}=r(8550);const{WebsocketFrameSend:S}=r(1237);const{ByteParser:R}=r(3171);const{kEnumerableProperty:w,isBlobLike:N}=r(3440);const{getGlobalDispatcher:v}=r(2581);const{types:x}=r(9023);let D=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#d=0;#p="";#g="";constructor(e,t=[]){super();s.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!D){D=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=s.converters["DOMString or sequence or WebSocketInit"](t);e=s.converters.USVString(e);t=r.protocols;const o=i();let a;try{a=new URL(e,o)}catch(e){throw new n(e,"SyntaxError")}if(a.protocol==="http:"){a.protocol="ws:"}else if(a.protocol==="https:"){a.protocol="wss:"}if(a.protocol!=="ws:"&&a.protocol!=="wss:"){throw new n(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new n("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>I(e)))){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(a.href);this[p]=b(a,t,this,(e=>this.#m(e)),r);this[d]=WebSocket.CONNECTING;this[g]="blob"}close(e=undefined,t=undefined){s.brandCheck(this,WebSocket);if(e!==undefined){e=s.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=s.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new n("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new n(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[d]===WebSocket.CLOSING||this[d]===WebSocket.CLOSED){}else if(!C(this)){B(this,"Connection was closed before it was established.");this[d]=WebSocket.CLOSING}else if(!y(this)){const s=new S;if(e!==undefined&&t===undefined){s.frameData=Buffer.allocUnsafe(2);s.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){s.frameData=Buffer.allocUnsafe(2+r);s.frameData.writeUInt16BE(e,0);s.frameData.write(t,2,"utf-8")}else{s.frameData=l}const n=this[m].socket;n.write(s.createFrame(c.CLOSE),(e=>{if(!e){this[h]=true}}));this[d]=A.CLOSING}else{this[d]=WebSocket.CLOSING}}send(e){s.brandCheck(this,WebSocket);s.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=s.converters.WebSocketSendData(e);if(this[d]===WebSocket.CONNECTING){throw new n("Sent before connected.","InvalidStateError")}if(!C(this)||y(this)){return}const t=this[m].socket;if(typeof e==="string"){const r=Buffer.from(e);const s=new S(r);const n=s.createFrame(c.TEXT);this.#d+=r.byteLength;t.write(n,(()=>{this.#d-=r.byteLength}))}else if(x.isArrayBuffer(e)){const r=Buffer.from(e);const s=new S(r);const n=s.createFrame(c.BINARY);this.#d+=r.byteLength;t.write(n,(()=>{this.#d-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const s=new S(r);const n=s.createFrame(c.BINARY);this.#d+=r.byteLength;t.write(n,(()=>{this.#d-=r.byteLength}))}else if(N(e)){const r=new S;e.arrayBuffer().then((e=>{const s=Buffer.from(e);r.frameData=s;const n=r.createFrame(c.BINARY);this.#d+=s.byteLength;t.write(n,(()=>{this.#d-=s.byteLength}))}))}}get readyState(){s.brandCheck(this,WebSocket);return this[d]}get bufferedAmount(){s.brandCheck(this,WebSocket);return this.#d}get url(){s.brandCheck(this,WebSocket);return o(this[u])}get extensions(){s.brandCheck(this,WebSocket);return this.#g}get protocol(){s.brandCheck(this,WebSocket);return this.#p}get onopen(){s.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){s.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(){s.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){s.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(){s.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){s.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(){s.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){s.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(){s.brandCheck(this,WebSocket);return this[g]}set binaryType(e){s.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#m(e){this[m]=e;const t=new R(this);t.on("drain",(function onParserDrain(){this.ws[m].socket.resume()}));e.socket.ws=this;this[E]=t;this[d]=A.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#g=r}const s=e.headersList.get("sec-websocket-protocol");if(s!==null){this.#p=s}Q("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=A.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=A.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=A.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=A.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:w,readyState:w,bufferedAmount:w,onopen:w,onerror:w,onclose:w,close:w,onmessage:w,binaryType:w,send:w,extensions:w,protocol:w,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a});s.converters["sequence"]=s.sequenceConverter(s.converters.DOMString);s.converters["DOMString or sequence"]=function(e){if(s.util.Type(e)==="Object"&&Symbol.iterator in e){return s.converters["sequence"](e)}return s.converters.DOMString(e)};s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return v()}},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]);s.converters["DOMString or sequence or WebSocketInit"]=function(e){if(s.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return s.converters.WebSocketInit(e)}return{protocols:s.converters["DOMString or sequence"](e)}};s.converters.WebSocketSendData=function(e){if(s.util.Type(e)==="Object"){if(N(e)){return s.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||x.isAnyArrayBuffer(e)){return s.converters.BufferSource(e)}}return s.converters.USVString(e)};e.exports={WebSocket:WebSocket}},3843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},8682:e=>{var t=[];for(var r=0;r<256;++r){t[r]=(r+256).toString(16).substr(1)}function bytesToUuid(e,r){var s=r||0;var n=t;return[n[e[s++]],n[e[s++]],n[e[s++]],n[e[s++]],"-",n[e[s++]],n[e[s++]],"-",n[e[s++]],n[e[s++]],"-",n[e[s++]],n[e[s++]],"-",n[e[s++]],n[e[s++]],n[e[s++]],n[e[s++]],n[e[s++]],n[e[s++]]].join("")}e.exports=bytesToUuid},1694:(e,t,r)=>{var s=r(6982);e.exports=function nodeRNG(){return s.randomBytes(16)}},9021:(e,t,r)=>{var s=r(1694);var n=r(8682);function v4(e,t,r){var o=t&&r||0;if(typeof e=="string"){t=e==="binary"?new Array(16):null;e=null}e=e||{};var i=e.random||(e.rng||s)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;if(t){for(var a=0;a<16;++a){t[o+a]=i[a]}}return t||n(i)}e.exports=v4},8264:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{"use strict";e.exports=require("assert")},290:e=>{"use strict";e.exports=require("async_hooks")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},4236:e=>{"use strict";e.exports=require("console")},6982:e=>{"use strict";e.exports=require("crypto")},1637:e=>{"use strict";e.exports=require("diagnostics_channel")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5675:e=>{"use strict";e.exports=require("http2")},5692:e=>{"use strict";e.exports=require("https")},9278:e=>{"use strict";e.exports=require("net")},8474:e=>{"use strict";e.exports=require("node:events")},7067:e=>{"use strict";e.exports=require("node:http")},4708:e=>{"use strict";e.exports=require("node:https")},8161:e=>{"use strict";e.exports=require("node:os")},1708:e=>{"use strict";e.exports=require("node:process")},7075:e=>{"use strict";e.exports=require("node:stream")},7975:e=>{"use strict";e.exports=require("node:util")},8522:e=>{"use strict";e.exports=require("node:zlib")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},2987:e=>{"use strict";e.exports=require("perf_hooks")},932:e=>{"use strict";e.exports=require("process")},3480:e=>{"use strict";e.exports=require("querystring")},2203:e=>{"use strict";e.exports=require("stream")},3774:e=>{"use strict";e.exports=require("stream/web")},3193:e=>{"use strict";e.exports=require("string_decoder")},3557:e=>{"use strict";e.exports=require("timers")},4756:e=>{"use strict";e.exports=require("tls")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},8253:e=>{"use strict";e.exports=require("util/types")},8167:e=>{"use strict";e.exports=require("worker_threads")},3106:e=>{"use strict";e.exports=require("zlib")},198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureKeyCredential=void 0;class AzureKeyCredential{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},1295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureNamedKeyCredential=void 0;t.isNamedKeyCredential=isNamedKeyCredential;const s=r(7779);class AzureNamedKeyCredential{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,s.isObjectWithProperties)(e,["name","key"])&&typeof e.key==="string"&&typeof e.name==="string"}},6608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureSASCredential=void 0;t.isSASCredential=isSASCredential;const s=r(7779);class AzureSASCredential{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,s.isObjectWithProperties)(e,["signature"])&&typeof e.signature==="string"}},417:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isTokenCredential=t.isSASCredential=t.AzureSASCredential=t.isNamedKeyCredential=t.AzureNamedKeyCredential=t.isKeyCredential=t.AzureKeyCredential=void 0;var s=r(198);Object.defineProperty(t,"AzureKeyCredential",{enumerable:true,get:function(){return s.AzureKeyCredential}});var n=r(9155);Object.defineProperty(t,"isKeyCredential",{enumerable:true,get:function(){return n.isKeyCredential}});var o=r(1295);Object.defineProperty(t,"AzureNamedKeyCredential",{enumerable:true,get:function(){return o.AzureNamedKeyCredential}});Object.defineProperty(t,"isNamedKeyCredential",{enumerable:true,get:function(){return o.isNamedKeyCredential}});var i=r(6608);Object.defineProperty(t,"AzureSASCredential",{enumerable:true,get:function(){return i.AzureSASCredential}});Object.defineProperty(t,"isSASCredential",{enumerable:true,get:function(){return i.isSASCredential}});var a=r(6881);Object.defineProperty(t,"isTokenCredential",{enumerable:true,get:function(){return a.isTokenCredential}})},9155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyCredential=isKeyCredential;const s=r(7779);function isKeyCredential(e){return(0,s.isObjectWithProperties)(e,["key"])&&typeof e.key==="string"}},6881:(e,t)=>{"use strict";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)}},7698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.authorizeRequestOnClaimChallenge=t.parseCAEChallenge=void 0;const s=r(9994);const n=r(741);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 r=t.map((e=>(([e,t])=>({[e]:t}))(e.trim().split('="'))));return r.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})}))}t.parseCAEChallenge=parseCAEChallenge;async function authorizeRequestOnClaimChallenge(e){const{scopes:t,response:r}=e;const o=e.logger||s.logger;const i=r.headers.get("WWW-Authenticate");if(!i){o.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const a=parseCAEChallenge(i)||[];const A=a.find((e=>e.claims));if(!A){o.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(A.scope?[A.scope]:t,{claims:(0,n.decodeStringToString)(A.claims)});if(!c){return false}e.request.headers.set("Authorization",`Bearer ${c.token}`);return true}t.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge},7454:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.authorizeRequestOnTenantChallenge=void 0;const r={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 s=getChallenge(e.response);if(s){const n=parseChallenge(s);const o=buildScopes(e,n);const i=extractTenantId(n);if(!i){return false}const a=await e.getAccessToken(o,Object.assign(Object.assign({},t),{tenantId:i}));if(!a){return false}e.request.headers.set(r.HeaderConstants.AUTHORIZATION,`Bearer ${a.token}`);return true}return false};t.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(e){const t=new URL(e.authorization_uri);const r=t.pathname.split("/");const s=r[1];if(s&&isUuid(s)){return s}return undefined}function buildScopes(e,t){if(!t.resource_id){return e.scopes}const s=new URL(t.resource_id);s.pathname=r.DefaultScope;let n=s.toString();if(n==="https://disk.azure.com/.default"){n="https://disk.azure.com//.default"}return[n]}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 r=`${t.trim()} `.split(" ").filter((e=>e));const s=r.map((e=>(([e,t])=>({[e]:t}))(e.trim().split("="))));return s.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})}function requestToOptions(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}},741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decodeStringToString=t.decodeString=t.encodeByteArray=t.encodeString=void 0;function encodeString(e){return Buffer.from(e).toString("base64")}t.encodeString=encodeString;function encodeByteArray(e){const t=e instanceof Buffer?e:Buffer.from(e.buffer);return t.toString("base64")}t.encodeByteArray=encodeByteArray;function decodeString(e){return Buffer.from(e,"base64")}t.decodeString=decodeString;function decodeStringToString(e){return Buffer.from(e,"base64").toString()}t.decodeStringToString=decodeStringToString},111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deserializationPolicy=t.deserializationPolicyName=void 0;const s=r(6058);const n=r(778);const o=r(1530);const i=r(9688);const a=["application/json","text/json"];const A=["application/xml","application/atom+xml"];t.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(e={}){var r,n,o,i,c,l,u;const d=(n=(r=e.expectedContentTypes)===null||r===void 0?void 0:r.json)!==null&&n!==void 0?n:a;const p=(i=(o=e.expectedContentTypes)===null||o===void 0?void 0:o.xml)!==null&&i!==void 0?i:A;const g=e.parseXML;const m=e.serializerOptions;const h={xml:{rootName:(c=m===null||m===void 0?void 0:m.xml.rootName)!==null&&c!==void 0?c:"",includeRoot:(l=m===null||m===void 0?void 0:m.xml.includeRoot)!==null&&l!==void 0?l:false,xmlCharKey:(u=m===null||m===void 0?void 0:m.xml.xmlCharKey)!==null&&u!==void 0?u:s.XML_CHARKEY}};return{name:t.deserializationPolicyName,async sendRequest(e,t){const r=await t(e);return deserializeResponseBody(d,p,r,h,g)}}}t.deserializationPolicy=deserializationPolicy;function getOperationResponseMap(e){let t;const r=e.request;const s=(0,i.getOperationRequestInfo)(r);const n=s===null||s===void 0?void 0:s.operationSpec;if(n){if(!(s===null||s===void 0?void 0:s.operationResponseGetter)){t=n.responses[e.status]}else{t=s===null||s===void 0?void 0:s.operationResponseGetter(n,e)}}return t}function shouldDeserializeResponse(e){const t=e.request;const r=(0,i.getOperationRequestInfo)(t);const s=r===null||r===void 0?void 0:r.shouldDeserialize;let n;if(s===undefined){n=true}else if(typeof s==="boolean"){n=s}else{n=s(e)}return n}async function deserializeResponseBody(e,t,r,s,a){const A=await parse(e,t,r,s,a);if(!shouldDeserializeResponse(A)){return A}const c=(0,i.getOperationRequestInfo)(A.request);const l=c===null||c===void 0?void 0:c.operationSpec;if(!l||!l.responses){return A}const u=getOperationResponseMap(A);const{error:d,shouldReturnResponse:p}=handleErrorResponse(A,l,u,s);if(d){throw d}else if(p){return A}if(u){if(u.bodyMapper){let e=A.parsedBody;if(l.isXML&&u.bodyMapper.type.name===o.MapperTypeNames.Sequence){e=typeof e==="object"?e[u.bodyMapper.xmlElementName]:[]}try{A.parsedBody=l.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",s)}catch(e){const t=new n.RestError(`Error ${e} occurred in deserializing the responseBody - ${A.bodyAsText}`,{statusCode:A.status,request:A.request,response:A});throw t}}else if(l.httpMethod==="HEAD"){A.parsedBody=r.status>=200&&r.status<300}if(u.headersMapper){A.parsedHeaders=l.serializer.deserialize(u.headersMapper,A.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return A}function isOperationSpecEmpty(e){const t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]==="default"}function handleErrorResponse(e,t,r,s){var i;const a=200<=e.status&&e.status<300;const A=isOperationSpecEmpty(t)?a:!!r;if(A){if(r){if(!r.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const c=r!==null&&r!==void 0?r:t.responses.default;const l=((i=e.request.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(e.status))?`Unexpected status code: ${e.status}`:e.bodyAsText;const u=new n.RestError(l,{statusCode:e.status,request:e.request,response:e});if(!c){throw u}const d=c.bodyMapper;const p=c.headersMapper;try{if(e.parsedBody){const r=e.parsedBody;let n;if(d){let e=r;if(t.isXML&&d.type.name===o.MapperTypeNames.Sequence){e=[];const t=d.xmlElementName;if(typeof r==="object"&&t){e=r[t]}}n=t.serializer.deserialize(d,e,"error.response.parsedBody",s)}const i=r.error||n||r;u.code=i.code;if(i.message){u.message=i.message}if(d){u.response.parsedBody=n}}if(e.headers&&p){u.response.parsedHeaders=t.serializer.deserialize(p,e.headers.toJSON(),"operationRes.parsedHeaders")}}catch(t){u.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:u,shouldReturnResponse:false}}async function parse(e,t,r,s,o){var i;if(!((i=r.request.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(r.status))&&r.bodyAsText){const i=r.bodyAsText;const a=r.headers.get("Content-Type")||"";const A=!a?[]:a.split(";").map((e=>e.toLowerCase()));try{if(A.length===0||A.some((t=>e.indexOf(t)!==-1))){r.parsedBody=JSON.parse(i);return r}else if(A.some((e=>t.indexOf(e)!==-1))){if(!o){throw new Error("Parsing XML not supported.")}const e=await o(i,s.xml);r.parsedBody=e;return r}}catch(e){const t=`Error "${e}" occurred while parsing the response body - ${r.bodyAsText}.`;const s=e.code||n.RestError.PARSE_ERROR;const o=new n.RestError(t,{code:s,statusCode:r.status,request:r.request,response:r});throw o}}return r}},6323:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getCachedDefaultHttpClient=void 0;const s=r(778);let n;function getCachedDefaultHttpClient(){if(!n){n=(0,s.createDefaultHttpClient)()}return n}t.getCachedDefaultHttpClient=getCachedDefaultHttpClient},160:(e,t,r)=>{"use strict";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 s=r(1530);Object.defineProperty(t,"createSerializer",{enumerable:true,get:function(){return s.createSerializer}});Object.defineProperty(t,"MapperTypeNames",{enumerable:true,get:function(){return s.MapperTypeNames}});var n=r(9544);Object.defineProperty(t,"ServiceClient",{enumerable:true,get:function(){return n.ServiceClient}});var o=r(1755);Object.defineProperty(t,"createClientPipeline",{enumerable:true,get:function(){return o.createClientPipeline}});var i=r(6058);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}});var a=r(111);Object.defineProperty(t,"deserializationPolicy",{enumerable:true,get:function(){return a.deserializationPolicy}});Object.defineProperty(t,"deserializationPolicyName",{enumerable:true,get:function(){return a.deserializationPolicyName}});var A=r(6234);Object.defineProperty(t,"serializationPolicy",{enumerable:true,get:function(){return A.serializationPolicy}});Object.defineProperty(t,"serializationPolicyName",{enumerable:true,get:function(){return A.serializationPolicyName}});var c=r(7698);Object.defineProperty(t,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return c.authorizeRequestOnClaimChallenge}});var l=r(7454);Object.defineProperty(t,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return l.authorizeRequestOnTenantChallenge}})},2066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPathStringFromParameter=t.getStreamingResponseStatusCodes=void 0;const s=r(1530);function getStreamingResponseStatusCodes(e){const t=new Set;for(const r in e.responses){const n=e.responses[r];if(n.bodyMapper&&n.bodyMapper.type.name===s.MapperTypeNames.Stream){t.add(Number(r))}}return t}t.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;function getPathStringFromParameter(e){const{parameterPath:t,mapper:r}=e;let s;if(typeof t==="string"){s=t}else if(Array.isArray(t)){s=t.join(".")}else{s=r.serializedName}return s}t.getPathStringFromParameter=getPathStringFromParameter},6058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=void 0;t.XML_ATTRKEY="$";t.XML_CHARKEY="_"},9994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const s=r(6515);t.logger=(0,s.createClientLogger)("core-client")},9688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOperationRequestInfo=t.getOperationArgumentValueFromParameter=void 0;const s=r(3345);function getOperationArgumentValueFromParameter(e,t,r){let s=t.parameterPath;const n=t.mapper;let o;if(typeof s==="string"){s=[s]}if(Array.isArray(s)){if(s.length>0){if(n.isConstant){o=n.defaultValue}else{let t=getPropertyFromParameterPath(e,s);if(!t.propertyFound&&r){t=getPropertyFromParameterPath(r,s)}let i=false;if(!t.propertyFound){i=n.required||s[0]==="options"&&s.length===2}o=i?n.defaultValue:t.propertyValue}}}else{if(n.required){o={}}for(const t in s){const i=n.type.modelProperties[t];const a=s[t];const A=getOperationArgumentValueFromParameter(e,{parameterPath:a,mapper:i},r);if(A!==undefined){if(!o){o={}}o[t]=A}}}return o}t.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;function getPropertyFromParameterPath(e,t){const r={propertyFound:false};let s=0;for(;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClientPipeline=void 0;const s=r(111);const n=r(778);const o=r(6234);function createClientPipeline(e={}){const t=(0,n.createPipelineFromOptions)(e!==null&&e!==void 0?e:{});if(e.credentialOptions){t.addPolicy((0,n.bearerTokenAuthenticationPolicy)({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes}))}t.addPolicy((0,o.serializationPolicy)(e.serializationOptions),{phase:"Serialize"});t.addPolicy((0,s.deserializationPolicy)(e.deserializationOptions),{phase:"Deserialize"});return t}t.createClientPipeline=createClientPipeline},6234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.serializeRequestBody=t.serializeHeaders=t.serializationPolicy=t.serializationPolicyName=void 0;const s=r(6058);const n=r(9688);const o=r(1530);const i=r(2066);t.serializationPolicyName="serializationPolicy";function serializationPolicy(e={}){const r=e.stringifyXML;return{name:t.serializationPolicyName,async sendRequest(e,t){const s=(0,n.getOperationRequestInfo)(e);const o=s===null||s===void 0?void 0:s.operationSpec;const i=s===null||s===void 0?void 0:s.operationArguments;if(o&&i){serializeHeaders(e,i,o);serializeRequestBody(e,i,o,r)}return t(e)}}}t.serializationPolicy=serializationPolicy;function serializeHeaders(e,t,r){var s,o;if(r.headerParameters){for(const s of r.headerParameters){let o=(0,n.getOperationArgumentValueFromParameter)(t,s);if(o!==null&&o!==undefined||s.mapper.required){o=r.serializer.serialize(s.mapper,o,(0,i.getPathStringFromParameter)(s));const t=s.mapper.headerCollectionPrefix;if(t){for(const r of Object.keys(o)){e.headers.set(t+r,o[r])}}else{e.headers.set(s.mapper.serializedName||(0,i.getPathStringFromParameter)(s),o)}}}}const a=(o=(s=t.options)===null||s===void 0?void 0:s.requestOptions)===null||o===void 0?void 0:o.customHeaders;if(a){for(const t of Object.keys(a)){e.headers.set(t,a[t])}}}t.serializeHeaders=serializeHeaders;function serializeRequestBody(e,t,r,a=function(){throw new Error("XML serialization unsupported!")}){var A,c,l,u,d;const p=(A=t.options)===null||A===void 0?void 0:A.serializerOptions;const g={xml:{rootName:(c=p===null||p===void 0?void 0:p.xml.rootName)!==null&&c!==void 0?c:"",includeRoot:(l=p===null||p===void 0?void 0:p.xml.includeRoot)!==null&&l!==void 0?l:false,xmlCharKey:(u=p===null||p===void 0?void 0:p.xml.xmlCharKey)!==null&&u!==void 0?u:s.XML_CHARKEY}};const m=g.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=(0,n.getOperationArgumentValueFromParameter)(t,r.requestBody);const s=r.requestBody.mapper;const{required:A,serializedName:c,xmlName:l,xmlElementName:u,xmlNamespace:p,xmlNamespacePrefix:h,nullable:E}=s;const C=s.type.name;try{if(e.body!==undefined&&e.body!==null||E&&e.body===null||A){const t=(0,i.getPathStringFromParameter)(r.requestBody);e.body=r.serializer.serialize(s,e.body,t,g);const n=C===o.MapperTypeNames.Stream;if(r.isXML){const t=h?`xmlns:${h}`:"xmlns";const r=getXmlValueWithNamespace(p,t,C,e.body,g);if(C===o.MapperTypeNames.Sequence){e.body=a(prepareXMLRootList(r,u||l||c,t,p),{rootName:l||c,xmlCharKey:m})}else if(!n){e.body=a(r,{rootName:l||c,xmlCharKey:m})}}else if(C===o.MapperTypeNames.String&&(((d=r.contentType)===null||d===void 0?void 0:d.match("text/plain"))||r.mediaType==="text")){return}else if(!n){e.body=JSON.stringify(e.body)}}}catch(e){throw new Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(c,undefined," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){e.formData={};for(const s of r.formDataParameters){const o=(0,n.getOperationArgumentValueFromParameter)(t,s);if(o!==undefined&&o!==null){const t=s.mapper.serializedName||(0,i.getPathStringFromParameter)(s);e.formData[t]=r.serializer.serialize(s.mapper,o,(0,i.getPathStringFromParameter)(s),g)}}}}t.serializeRequestBody=serializeRequestBody;function getXmlValueWithNamespace(e,t,r,n,o){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){const r={};r[o.xml.xmlCharKey]=n;r[s.XML_ATTRKEY]={[t]:e};return r}return n}function prepareXMLRootList(e,t,r,n){if(!Array.isArray(e)){e=[e]}if(!r||!n){return{[t]:e}}const o={[t]:e};o[s.XML_ATTRKEY]={[r]:n};return o}},1530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MapperTypeNames=t.createSerializer=void 0;const s=r(1860);const n=s.__importStar(r(741));const o=r(6058);const i=r(1193);class SerializerImpl{constructor(e={},t=false){this.modelMappers=e;this.isXML=t}validateConstraints(e,t,r){const failValidation=(e,s)=>{throw new Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${s}.`)};if(e.constraints&&t!==undefined&&t!==null){const{ExclusiveMaximum:r,ExclusiveMinimum:s,InclusiveMaximum:n,InclusiveMinimum:o,MaxItems:i,MaxLength:a,MinItems:A,MinLength:c,MultipleOf:l,Pattern:u,UniqueItems:d}=e.constraints;if(r!==undefined&&t>=r){failValidation("ExclusiveMaximum",r)}if(s!==undefined&&t<=s){failValidation("ExclusiveMinimum",s)}if(n!==undefined&&t>n){failValidation("InclusiveMaximum",n)}if(o!==undefined&&ti){failValidation("MaxItems",i)}if(a!==undefined&&t.length>a){failValidation("MaxLength",a)}if(A!==undefined&&t.lengthr.indexOf(e)!==t))){failValidation("UniqueItems",d)}}}serialize(e,t,r,s={xml:{}}){var n,i,a;const A={xml:{rootName:(n=s.xml.rootName)!==null&&n!==void 0?n:"",includeRoot:(i=s.xml.includeRoot)!==null&&i!==void 0?i:false,xmlCharKey:(a=s.xml.xmlCharKey)!==null&&a!==void 0?a:o.XML_CHARKEY}};let c={};const l=e.type.name;if(!r){r=e.serializedName}if(l.match(/^Sequence$/i)!==null){c=[]}if(e.isConstant){t=e.defaultValue}const{required:u,nullable:d}=e;if(u&&d&&t===undefined){throw new Error(`${r} cannot be undefined.`)}if(u&&!d&&(t===undefined||t===null)){throw new Error(`${r} cannot be null or undefined.`)}if(!u&&d===false&&t===null){throw new Error(`${r} cannot be null.`)}if(t===undefined||t===null){c=t}else{if(l.match(/^any$/i)!==null){c=t}else if(l.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){c=serializeBasicTypes(l,r,t)}else if(l.match(/^Enum$/i)!==null){const s=e;c=serializeEnumType(r,s.type.allowedValues,t)}else if(l.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){c=serializeDateTypes(l,t,r)}else if(l.match(/^ByteArray$/i)!==null){c=serializeByteArrayType(r,t)}else if(l.match(/^Base64Url$/i)!==null){c=serializeBase64UrlType(r,t)}else if(l.match(/^Sequence$/i)!==null){c=serializeSequenceType(this,e,t,r,Boolean(this.isXML),A)}else if(l.match(/^Dictionary$/i)!==null){c=serializeDictionaryType(this,e,t,r,Boolean(this.isXML),A)}else if(l.match(/^Composite$/i)!==null){c=serializeCompositeType(this,e,t,r,Boolean(this.isXML),A)}}return c}deserialize(e,t,r,s={xml:{}}){var i,a,A,c;const l={xml:{rootName:(i=s.xml.rootName)!==null&&i!==void 0?i:"",includeRoot:(a=s.xml.includeRoot)!==null&&a!==void 0?a:false,xmlCharKey:(A=s.xml.xmlCharKey)!==null&&A!==void 0?A:o.XML_CHARKEY},ignoreUnknownProperties:(c=s.ignoreUnknownProperties)!==null&&c!==void 0?c: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 u;const d=e.type.name;if(!r){r=e.serializedName}if(d.match(/^Composite$/i)!==null){u=deserializeCompositeType(this,e,t,r,l)}else{if(this.isXML){const e=l.xml.xmlCharKey;if(t[o.XML_ATTRKEY]!==undefined&&t[e]!==undefined){t=t[e]}}if(d.match(/^Number$/i)!==null){u=parseFloat(t);if(isNaN(u)){u=t}}else if(d.match(/^Boolean$/i)!==null){if(t==="true"){u=true}else if(t==="false"){u=false}else{u=t}}else if(d.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){u=t}else if(d.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){u=new Date(t)}else if(d.match(/^UnixTime$/i)!==null){u=unixTimeToDate(t)}else if(d.match(/^ByteArray$/i)!==null){u=n.decodeString(t)}else if(d.match(/^Base64Url$/i)!==null){u=base64UrlToByteArray(t)}else if(d.match(/^Sequence$/i)!==null){u=deserializeSequenceType(this,e,t,r,l)}else if(d.match(/^Dictionary$/i)!==null){u=deserializeDictionaryType(this,e,t,r,l)}}if(e.isConstant){u=e.defaultValue}return u}}function createSerializer(e={},t=false){return new SerializerImpl(e,t)}t.createSerializer=createSerializer;function trimEnd(e,t){let r=e.length;while(r-1>=0&&e[r-1]===t){--r}return e.substr(0,r)}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=n.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 n.decodeString(e)}function splitSerializeName(e){const t=[];let r="";if(e){const s=e.split(".");for(const e of s){if(e.charAt(e.length-1)==="\\"){r+=e.substr(0,e.length-1)+"."}else{r+=e;t.push(r);r=""}}}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,r){if(r!==null&&r!==undefined){if(e.match(/^Number$/i)!==null){if(typeof r!=="number"){throw new Error(`${t} with value ${r} must be of type number.`)}}else if(e.match(/^String$/i)!==null){if(typeof r.valueOf()!=="string"){throw new Error(`${t} with value "${r}" must be of type string.`)}}else if(e.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()==="string"&&(0,i.isValidUuid)(r))){throw new Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}}else if(e.match(/^Boolean$/i)!==null){if(typeof r!=="boolean"){throw new Error(`${t} with value ${r} must be of type boolean.`)}}else if(e.match(/^Stream$/i)!==null){const e=typeof r;if(e!=="string"&&typeof r.pipe!=="function"&&typeof r.tee!=="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob==="function"||typeof Blob==="object")&&r instanceof Blob)&&e!=="function"){throw new Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return r}function serializeEnumType(e,t,r){if(!t){throw new Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`)}const s=t.some((e=>{if(typeof e.valueOf()==="string"){return e.toLowerCase()===r.toLowerCase()}return e===r}));if(!s){throw new Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`)}return r}function serializeByteArrayType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=n.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,r){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(`${r} 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(`${r} 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(`${r} 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(`${r} 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,i.isDuration)(t)){throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}}}return t}function serializeSequenceType(e,t,r,s,n,i){var a;if(!Array.isArray(r)){throw new Error(`${s} must be of type Array.`)}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 ${s}.`)}if(A.type.name==="Composite"&&A.type.className){A=(a=e.modelMappers[A.type.className])!==null&&a!==void 0?a:A}const c=[];for(let t=0;te!==n));if(o){a[n]=e.serialize(c,r[n],s+'["'+n+'"]',i)}}}return a}return r}function getXmlObjectValue(e,t,r,s){if(!r||!e.xmlNamespace){return t}const n=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";const i={[n]:e.xmlNamespace};if(["Composite"].includes(e.type.name)){if(t[o.XML_ATTRKEY]){return t}else{const e=Object.assign({},t);e[o.XML_ATTRKEY]=i;return e}}const a={};a[s.xml.xmlCharKey]=t;a[o.XML_ATTRKEY]=i;return a}function isSpecialXmlProperty(e,t){return[o.XML_ATTRKEY,t.xml.xmlCharKey].includes(e)}function deserializeCompositeType(e,t,r,s,n){var i,a;const A=(i=n.xml.xmlCharKey)!==null&&i!==void 0?i:o.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,r,"serializedName")}const c=resolveModelProperties(e,t,s);let l={};const u=[];for(const i of Object.keys(c)){const d=c[i];const p=splitSerializeName(c[i].serializedName);u.push(p[0]);const{serializedName:g,xmlName:m,xmlElementName:h}=d;let E=s;if(g!==""&&g!==undefined){E=s+"."+g}const C=d.headerCollectionPrefix;if(C){const t={};for(const s of Object.keys(r)){if(s.startsWith(C)){t[s.substring(C.length)]=e.deserialize(d.type.value,r[s],E,n)}u.push(s)}l[i]=t}else if(e.isXML){if(d.xmlIsAttribute&&r[o.XML_ATTRKEY]){l[i]=e.deserialize(d,r[o.XML_ATTRKEY][m],E,n)}else if(d.xmlIsMsText){if(r[A]!==undefined){l[i]=r[A]}else if(typeof r==="string"){l[i]=r}}else{const t=h||m||g;if(d.xmlIsWrapped){const t=r[m];const s=(a=t===null||t===void 0?void 0:t[h])!==null&&a!==void 0?a:[];l[i]=e.deserialize(d,s,E,n);u.push(m)}else{const s=r[t];l[i]=e.deserialize(d,s,E,n);u.push(t)}}}else{let s;let o=r;let a=0;for(const e of p){if(!o)break;a++;o=o[e]}if(o===null&&a{for(const t in c){const r=splitSerializeName(c[t].serializedName);if(r[0]===e){return false}}return true};for(const t in r){if(isAdditionalProperty(t)){l[t]=e.deserialize(d,r[t],s+'["'+t+'"]',n)}}}else if(r&&!n.ignoreUnknownProperties){for(const e of Object.keys(r)){if(l[e]===undefined&&!u.includes(e)&&!isSpecialXmlProperty(e,n)){l[e]=r[e]}}}return l}function deserializeDictionaryType(e,t,r,s,n){const o=t.type.value;if(!o||typeof o!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${s}`)}if(r){const t={};for(const i of Object.keys(r)){t[i]=e.deserialize(o,r[i],s,n)}return t}return r}function deserializeSequenceType(e,t,r,s,n){var o;let i=t.type.element;if(!i||typeof i!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${s}`)}if(r){if(!Array.isArray(r)){r=[r]}if(i.type.name==="Composite"&&i.type.className){i=(o=e.modelMappers[i.type.className])!==null&&o!==void 0?o:i}const t=[];for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ServiceClient=void 0;const s=r(778);const n=r(1755);const o=r(1193);const i=r(6323);const a=r(9688);const A=r(1752);const c=r(2066);const l=r(9994);class ServiceClient{constructor(e={}){var t,r;this._requestContentType=e.requestContentType;this._endpoint=(t=e.endpoint)!==null&&t!==void 0?t:e.baseUri;if(e.baseUri){l.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=e.allowInsecureConnection;this._httpClient=e.httpClient||(0,i.getCachedDefaultHttpClient)();this.pipeline=e.pipeline||createDefaultPipeline(e);if((r=e.additionalPolicies)===null||r===void 0?void 0:r.length){for(const{policy:t,position:r}of e.additionalPolicies){const e=r==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(t,{afterPhase:e})}}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){const r=t.baseUrl||this._endpoint;if(!r){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 n=(0,A.getRequestUrl)(r,t,e,this);const i=(0,s.createPipelineRequest)({url:n});i.method=t.httpMethod;const l=(0,a.getOperationRequestInfo)(i);l.operationSpec=t;l.operationArguments=e;const u=t.contentType||this._requestContentType;if(u&&t.requestBody){i.headers.set("Content-Type",u)}const d=e.options;if(d){const e=d.requestOptions;if(e){if(e.timeout){i.timeout=e.timeout}if(e.onUploadProgress){i.onUploadProgress=e.onUploadProgress}if(e.onDownloadProgress){i.onDownloadProgress=e.onDownloadProgress}if(e.shouldDeserialize!==undefined){l.shouldDeserialize=e.shouldDeserialize}if(e.allowInsecureConnection){i.allowInsecureConnection=true}}if(d.abortSignal){i.abortSignal=d.abortSignal}if(d.tracingOptions){i.tracingOptions=d.tracingOptions}}if(this._allowInsecureConnection){i.allowInsecureConnection=true}if(i.streamResponseStatusCodes===undefined){i.streamResponseStatusCodes=(0,c.getStreamingResponseStatusCodes)(t)}try{const e=await this.sendRequest(i);const r=(0,o.flattenResponse)(e,t.responses[e.status]);if(d===null||d===void 0?void 0:d.onResponse){d.onResponse(e,r)}return r}catch(e){if(typeof e==="object"&&(e===null||e===void 0?void 0:e.response)){const r=e.response;const s=(0,o.flattenResponse)(r,t.responses[e.statusCode]||t.responses["default"]);e.details=s;if(d===null||d===void 0?void 0:d.onResponse){d.onResponse(r,s,e)}}throw e}}}t.ServiceClient=ServiceClient;function createDefaultPipeline(e){const t=getCredentialScopes(e);const r=e.credential&&t?{credentialScopes:t,credential:e.credential}:undefined;return(0,n.createClientPipeline)(Object.assign(Object.assign({},e),{credentialOptions:r}))}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}},3345:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.state=void 0;t.state={operationRequestMap:new WeakMap}},1752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.appendQueryParams=t.getRequestUrl=void 0;const s=r(9688);const n=r(2066);const o={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(e,t,r,s){const n=calculateUrlReplacements(t,r,s);let o=false;let i=replaceAll(e,n);if(t.path){let e=replaceAll(t.path,n);if(t.path==="/{nextLink}"&&e.startsWith("/")){e=e.substring(1)}if(isAbsoluteUrl(e)){i=e;o=true}else{i=appendPath(i,e)}}const{queryParams:a,sequenceParams:A}=calculateQueryParameters(t,r,s);i=appendQueryParams(i,a,A,o);return i}t.getRequestUrl=getRequestUrl;function replaceAll(e,t){let r=e;for(const[e,s]of t){r=r.split(e).join(s)}return r}function calculateUrlReplacements(e,t,r){var o;const i=new Map;if((o=e.urlParameters)===null||o===void 0?void 0:o.length){for(const o of e.urlParameters){let a=(0,s.getOperationArgumentValueFromParameter)(t,o,r);const A=(0,n.getPathStringFromParameter)(o);a=e.serializer.serialize(o.mapper,a,A);if(!o.skipEncoding){a=encodeURIComponent(a)}i.set(`{${o.mapper.serializedName||A}}`,a)}}return i}function isAbsoluteUrl(e){return e.includes("://")}function appendPath(e,t){if(!t){return e}const r=new URL(e);let s=r.pathname;if(!s.endsWith("/")){s=`${s}/`}if(t.startsWith("/")){t=t.substring(1)}const n=t.indexOf("?");if(n!==-1){const e=t.substring(0,n);const o=t.substring(n+1);s=s+e;if(o){r.search=r.search?`${r.search}&${o}`:o}}else{s=s+t}r.pathname=s;return r.toString()}function calculateQueryParameters(e,t,r){var i;const a=new Map;const A=new Set;if((i=e.queryParameters)===null||i===void 0?void 0:i.length){for(const i of e.queryParameters){if(i.mapper.type.name==="Sequence"&&i.mapper.serializedName){A.add(i.mapper.serializedName)}let c=(0,s.getOperationArgumentValueFromParameter)(t,i,r);if(c!==undefined&&c!==null||i.mapper.required){c=e.serializer.serialize(i.mapper,c,(0,n.getPathStringFromParameter)(i));const t=i.collectionFormat?o[i.collectionFormat]:"";if(Array.isArray(c)){c=c.map((e=>{if(e===null||e===undefined){return""}return e}))}if(i.collectionFormat==="Multi"&&c.length===0){continue}else if(Array.isArray(c)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")){c=c.join(t)}if(!i.skipEncoding){if(Array.isArray(c)){c=c.map((e=>encodeURIComponent(e)))}else{c=encodeURIComponent(c)}}if(Array.isArray(c)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")){c=c.join(t)}a.set(i.mapper.serializedName||(0,n.getPathStringFromParameter)(i),c)}}}return{queryParams:a,sequenceParams:A}}function simpleParseQueryParams(e){const t=new Map;if(!e||e[0]!=="?"){return t}e=e.slice(1);const r=e.split("&");for(const e of r){const[r,s]=e.split("=",2);const n=t.get(r);if(n){if(Array.isArray(n)){n.push(s)}else{t.set(r,[n,s])}}else{t.set(r,s)}}return t}function appendQueryParams(e,t,r,s=false){if(t.size===0){return e}const n=new URL(e);const o=simpleParseQueryParams(n.search);for(const[e,n]of t){const t=o.get(e);if(Array.isArray(t)){if(Array.isArray(n)){t.push(...n);const r=new Set(t);o.set(e,Array.from(r))}else{t.push(n)}}else if(t){if(Array.isArray(n)){n.unshift(t)}else if(r.has(e)){o.set(e,[t,n])}if(!s){o.set(e,n)}}else{o.set(e,n)}}const i=[];for(const[e,t]of o){if(typeof t==="string"){i.push(`${e}=${t}`)}else if(Array.isArray(t)){for(const r of t){i.push(`${e}=${r}`)}}else{i.push(`${e}=${t}`)}}n.search=i.length?`?${i.join("&")}`:"";return n.toString()}t.appendQueryParams=appendQueryParams},1193:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.flattenResponse=t.isValidUuid=t.isDuration=t.isPrimitiveBody=void 0;function isPrimitiveBody(e,t){return t!=="Composite"&&t!=="Dictionary"&&(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||(t===null||t===void 0?void 0:t.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i))!==null||e===undefined||e===null)}t.isPrimitiveBody=isPrimitiveBody;const r=/^(-|\+)?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 r.test(e)}t.isDuration=isDuration;const s=/^[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 s.test(e)}t.isValidUuid=isValidUuid;function handleNullableResponseAndWrappableBody(e){const t=Object.assign(Object.assign({},e.headers),e.body);if(e.hasNullableType&&Object.getOwnPropertyNames(t).length===0){return e.shouldWrapBody?{body:null}:null}else{return e.shouldWrapBody?Object.assign(Object.assign({},e.headers),{body:e.body}):t}}function flattenResponse(e,t){var r,s;const n=e.parsedHeaders;if(e.request.method==="HEAD"){return Object.assign(Object.assign({},n),{body:e.parsedBody})}const o=t&&t.bodyMapper;const i=Boolean(o===null||o===void 0?void 0:o.nullable);const a=o===null||o===void 0?void 0:o.type.name;if(a==="Stream"){return Object.assign(Object.assign({},n),{blobBody:e.blobBody,readableStreamBody:e.readableStreamBody})}const A=a==="Composite"&&o.type.modelProperties||{};const c=Object.keys(A).some((e=>A[e].serializedName===""));if(a==="Sequence"||c){const t=(r=e.parsedBody)!==null&&r!==void 0?r:[];for(const r of Object.keys(A)){if(A[r].serializedName){t[r]=(s=e.parsedBody)===null||s===void 0?void 0:s[r]}}if(n){for(const e of Object.keys(n)){t[e]=n[e]}}return i&&!e.parsedBody&&!n&&Object.getOwnPropertyNames(A).length===0?null:t}return handleNullableResponseAndWrappableBody({body:e.parsedBody,headers:n,hasNullableType:i,shouldWrapBody:isPrimitiveBody(e.parsedBody,a)})}t.flattenResponse=flattenResponse},5492:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtendedServiceClient=void 0;const s=r(2639);const n=r(778);const o=r(160);const i=r(8153);class ExtendedServiceClient extends o.ServiceClient{constructor(e){var t,r;super(e);if(((t=e.keepAliveOptions)===null||t===void 0?void 0:t.enable)===false&&!(0,s.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,s.createDisableKeepAlivePolicy)())}if(((r=e.redirectOptions)===null||r===void 0?void 0:r.handleRedirects)===false){this.pipeline.removePolicy({name:n.redirectPolicyName})}}async sendOperationRequest(e,t){var r;const s=(r=e===null||e===void 0?void 0:e.options)===null||r===void 0?void 0:r.onResponse;let n;function onResponse(e,t,r){n=e;if(s){s(e,t,r)}}e.options=Object.assign(Object.assign({},e.options),{onResponse:onResponse});const o=await super.sendOperationRequest(e,t);if(n){Object.defineProperty(o,"_response",{value:(0,i.toCompatResponse)(n)})}return o}}t.ExtendedServiceClient=ExtendedServiceClient},2078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.convertHttpClient=void 0;const s=r(8153);const n=r(3850);function convertHttpClient(e){return{sendRequest:async t=>{const r=await e.sendRequest((0,n.toWebResourceLike)(t,{createProxy:true}));return(0,s.toPipelineResponse)(r)}}}t.convertHttpClient=convertHttpClient},1584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toHttpHeadersLike=t.convertHttpClient=t.disableKeepAlivePolicyName=t.HttpPipelineLogLevel=t.createRequestPolicyFactoryPolicy=t.requestPolicyFactoryPolicyName=t.ExtendedServiceClient=void 0;var s=r(5492);Object.defineProperty(t,"ExtendedServiceClient",{enumerable:true,get:function(){return s.ExtendedServiceClient}});var n=r(3466);Object.defineProperty(t,"requestPolicyFactoryPolicyName",{enumerable:true,get:function(){return n.requestPolicyFactoryPolicyName}});Object.defineProperty(t,"createRequestPolicyFactoryPolicy",{enumerable:true,get:function(){return n.createRequestPolicyFactoryPolicy}});Object.defineProperty(t,"HttpPipelineLogLevel",{enumerable:true,get:function(){return n.HttpPipelineLogLevel}});var o=r(2639);Object.defineProperty(t,"disableKeepAlivePolicyName",{enumerable:true,get:function(){return o.disableKeepAlivePolicyName}});var i=r(2078);Object.defineProperty(t,"convertHttpClient",{enumerable:true,get:function(){return i.convertHttpClient}});var a=r(3850);Object.defineProperty(t,"toHttpHeadersLike",{enumerable:true,get:function(){return a.toHttpHeadersLike}})},2639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pipelineContainsDisableKeepAlivePolicy=t.createDisableKeepAlivePolicy=t.disableKeepAlivePolicyName=void 0;t.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:t.disableKeepAlivePolicyName,async sendRequest(e,t){e.disableKeepAlive=true;return t(e)}}}t.createDisableKeepAlivePolicy=createDisableKeepAlivePolicy;function pipelineContainsDisableKeepAlivePolicy(e){return e.getOrderedPolicies().some((e=>e.name===t.disableKeepAlivePolicyName))}t.pipelineContainsDisableKeepAlivePolicy=pipelineContainsDisableKeepAlivePolicy},3466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRequestPolicyFactoryPolicy=t.requestPolicyFactoryPolicyName=t.HttpPipelineLogLevel=void 0;const s=r(3850);const n=r(8153);var o;(function(e){e[e["ERROR"]=1]="ERROR";e[e["INFO"]=3]="INFO";e[e["OFF"]=0]="OFF";e[e["WARNING"]=2]="WARNING"})(o||(t.HttpPipelineLogLevel=o={}));const i={log(e,t){},shouldLog(e){return false}};t.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(e){const r=e.slice().reverse();return{name:t.requestPolicyFactoryPolicyName,async sendRequest(e,t){let o={async sendRequest(e){const r=await t((0,s.toPipelineRequest)(e));return(0,n.toCompatResponse)(r,{createProxy:true})}};for(const e of r){o=e.create(o,i)}const a=(0,s.toWebResourceLike)(e,{createProxy:true});const A=await o.sendRequest(a);return(0,n.toPipelineResponse)(A)}}}t.createRequestPolicyFactoryPolicy=createRequestPolicyFactoryPolicy},8153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toPipelineResponse=t.toCompatResponse=void 0;const s=r(778);const n=r(3850);const o=Symbol("Original FullOperationResponse");function toCompatResponse(e,t){let r=(0,n.toWebResourceLike)(e.request);let s=(0,n.toHttpHeadersLike)(e.headers);if(t===null||t===void 0?void 0:t.createProxy){return new Proxy(e,{get(t,n,i){if(n==="headers"){return s}else if(n==="request"){return r}else if(n===o){return e}return Reflect.get(t,n,i)},set(e,t,n,o){if(t==="headers"){s=n}else if(t==="request"){r=n}return Reflect.set(e,t,n,o)}})}else{return Object.assign(Object.assign({},e),{request:r,headers:s})}}t.toCompatResponse=toCompatResponse;function toPipelineResponse(e){const t=e;const r=t[o];const i=(0,s.createHttpHeaders)(e.headers.toJson({preserveCase:true}));if(r){r.headers=i;return r}else{return Object.assign(Object.assign({},e),{headers:i,request:(0,n.toPipelineRequest)(e.request)})}}t.toPipelineResponse=toPipelineResponse},3850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HttpHeaders=t.toHttpHeadersLike=t.toWebResourceLike=t.toPipelineRequest=void 0;const s=r(778);const n=Symbol("Original PipelineRequest");const o=Symbol.for("@azure/core-client original request");function toPipelineRequest(e,t={}){const r=e;const i=r[n];const a=(0,s.createHttpHeaders)(e.headers.toJson({preserveCase:true}));if(i){i.headers=a;return i}else{const r=(0,s.createPipelineRequest)({url:e.url,method:e.method,headers:a,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});if(t.originalRequest){r[o]=t.originalRequest}return r}}t.toPipelineRequest=toPipelineRequest;function toWebResourceLike(e,t){var r;const s=(r=t===null||t===void 0?void 0:t.originalRequest)!==null&&r!==void 0?r: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,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===null||t===void 0?void 0:t.createProxy){return new Proxy(o,{get(t,r,i){if(r===n){return e}else if(r==="clone"){return()=>toWebResourceLike(toPipelineRequest(o,{originalRequest:s}),{createProxy:true,originalRequest:s})}return Reflect.get(t,r,i)},set(t,r,s,n){if(r==="keepAlive"){e.disableKeepAlive=!s}const o=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes"];if(typeof r==="string"&&o.includes(r)){e[r]=s}return Reflect.set(t,r,s,n)}})}else{return o}}t.toWebResourceLike=toWebResourceLike;function toHttpHeadersLike(e){return new HttpHeaders(e.toJSON({preserveCase:true}))}t.toHttpHeadersLike=toHttpHeadersLike;function getHeaderKey(e){return e.toLowerCase()}class HttpHeaders{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 r=0;r{"use strict";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 s=r(736);const n=r(480);function getOperationLocationPollingUrl(e){const{azureAsyncOperation:t,operationLocation:r}=e;return r!==null&&r!==void 0?r: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:r,requestMethod:s,requestPath:n,resourceLocationConfig:o}=e;switch(s){case"PUT":{return n}case"DELETE":{return undefined}case"PATCH":{return(t=getDefault())!==null&&t!==void 0?t:n}default:{return getDefault()}}function getDefault(){switch(o){case"azure-async-operation":{return undefined}case"original-uri":{return n}case"location":default:{return r}}}}function inferLroMode(e){const{rawResponse:t,requestMethod:r,requestPath:s,resourceLocationConfig:n}=e;const o=getOperationLocationHeader(t);const i=getAzureAsyncOperationHeader(t);const a=getOperationLocationPollingUrl({operationLocation:o,azureAsyncOperation:i});const A=getLocationHeader(t);const c=r===null||r===void 0?void 0:r.toLocaleUpperCase();if(a!==undefined){return{mode:"OperationLocation",operationLocation:a,resourceLocation:findResourceLocation({requestMethod:c,location:A,requestPath:s,resourceLocationConfig:n})}}else if(A!==undefined){return{mode:"ResourceLocation",operationLocation:A}}else if(c==="PUT"&&s){return{mode:"Body",operationLocation:s}}else{return undefined}}t.inferLroMode=inferLroMode;function transformStatus(e){const{status:t,statusCode:r}=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(r);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:{n.logger.verbose(`LRO: unrecognized operation status: ${t}`);return t}}}function getStatus(e){var t;const{status:r}=(t=e.body)!==null&&t!==void 0?t:{};return transformStatus({status:r,statusCode:e.statusCode})}function getProvisioningState(e){var t,r;const{properties:s,provisioningState:n}=(t=e.body)!==null&&t!==void 0?t:{};const o=(r=s===null||s===void 0?void 0:s.provisioningState)!==null&&r!==void 0?r:n;return transformStatus({status:o,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){n.logger.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!t.code||!t.message){n.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 r=e.getTime();if(t{const e=await o.sendInitialRequest();const t=inferLroMode({rawResponse:e.rawResponse,requestPath:o.requestPath,requestMethod:o.requestMethod,resourceLocationConfig:r});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:n?({flatResponse:e},t)=>n(e,t):({flatResponse:e})=>e,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:i})}t.initHttpOperation=initHttpOperation;function getOperationLocation({rawResponse:e},t){var r;const s=(r=t.config.metadata)===null||r===void 0?void 0:r["mode"];switch(s){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 r;const s=(r=t.config.metadata)===null||r===void 0?void 0:r["mode"];switch(s){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: ${s}`)}}t.getOperationStatus=getOperationStatus;function accessBodyProperty({flatResponse:e,rawResponse:t},r){var s,n;return(s=e===null||e===void 0?void 0:e[r])!==null&&s!==void 0?s:(n=t.body)===null||n===void 0?void 0:n[r]}function getResourceLocation(e,t){const r=accessBodyProperty(e,"resourceLocation");if(r&&typeof r==="string"){t.config.resourceLocation=r}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:r,options:n,processResult:o,updateState:i,setDelay:a,state:A,setErrorAsResult:c}=e;return(0,s.pollOperation)({state:A,stateProxy:r,setDelay:a,processResult:o?({flatResponse:e},t)=>o(e,t):({flatResponse:e})=>e,getError:getErrorFromResponse,updateState:i,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:n,poll:async(e,r)=>t.sendPollRequest(e,r),setErrorAsResult:c})}t.pollHttpOperation=pollHttpOperation},7421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createHttpPoller=void 0;const s=r(3878);const n=r(8835);async function createHttpPoller(e,t){const{resourceLocationConfig:r,intervalInMs:o,processResult:i,restoreFrom:a,updateState:A,withOperationLocation:c,resolveOnUnsuccessful:l=false}=t||{};return(0,n.buildCreatePoller)({getStatusFromInitialResponse:s.getStatusFromInitialResponse,getStatusFromPollResponse:s.getOperationStatus,isOperationError:s.isOperationError,getOperationLocation:s.getOperationLocation,getResourceLocation:s.getResourceLocation,getPollingInterval:s.parseRetryAfter,getError:s.getErrorFromResponse,resolveOnUnsuccessful:l})({init:async()=>{const t=await e.sendInitialRequest();const n=(0,s.inferLroMode)({rawResponse:t.rawResponse,requestPath:e.requestPath,requestMethod:e.requestMethod,resourceLocationConfig:r});return Object.assign({response:t,operationLocation:n===null||n===void 0?void 0:n.operationLocation,resourceLocation:n===null||n===void 0?void 0:n.resourceLocation},(n===null||n===void 0?void 0:n.mode)?{metadata:{mode:n.mode}}:{})},poll:e.sendPollRequest},{intervalInMs:o,withOperationLocation:c,restoreFrom:a,updateState:A,processResult:i?({flatResponse:e},t)=>i(e,t):({flatResponse:e})=>e})}t.createHttpPoller=createHttpPoller},1754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createHttpPoller=void 0;const s=r(1860);var n=r(7421);Object.defineProperty(t,"createHttpPoller",{enumerable:true,get:function(){return n.createHttpPoller}});s.__exportStar(r(5454),t);s.__exportStar(r(6272),t);s.__exportStar(r(2670),t)},5454:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LroEngine=void 0;var s=r(1607);Object.defineProperty(t,"LroEngine",{enumerable:true,get:function(){return s.LroEngine}})},1607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LroEngine=void 0;const s=r(4267);const n=r(5044);const o=r(6272);const i=r(736);class LroEngine extends o.Poller{constructor(e,t){const{intervalInMs:r=n.POLL_INTERVAL_IN_MS,resumeFrom:o,resolveOnUnsuccessful:a=false,isDone:A,lroResourceLocationConfig:c,processResult:l,updateState:u}=t||{};const d=o?(0,i.deserializeState)(o):{};const p=new s.GenericPollOperation(d,e,!a,c,l,u,A);super(p);this.resolveOnUnsuccessful=a;this.config={intervalInMs:r};p.setPollerConfig(this.config)}delay(){return new Promise((e=>setTimeout((()=>e()),this.config.intervalInMs)))}}t.LroEngine=LroEngine},4267:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GenericPollOperation=void 0;const s=r(3878);const n=r(480);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,r,s,n,o,i){this.state=e;this.lro=t;this.setErrorAsResult=r;this.lroResourceLocationConfig=s;this.processResult=n;this.updateState=o;this.isDone=i}setPollerConfig(e){this.pollerConfig=e}async update(e){var t;const r=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await(0,s.initHttpOperation)({lro:this.lro,stateProxy:r,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const n=this.updateState;const o=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await(0,s.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:r,processResult:this.processResult,updateState:n?(e,{rawResponse:t})=>n(e,t):undefined,isDone:o?({flatResponse:e},t)=>o(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(){n.logger.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}t.GenericPollOperation=GenericPollOperation},2670:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},6272:(e,t)=>{"use strict";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},480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const s=r(6515);t.logger=(0,s.createClientLogger)("core-lro")},5044:(e,t)=>{"use strict";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"]},736:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pollOperation=t.initOperation=t.deserializeState=void 0;const s=r(480);const n=r(5044);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:r,isOperationError:s}=e;return e=>{if(s(e)){r.setError(t,e);r.setFailed(t)}throw e}}function appendReadableErrorMessage(e,t){let r=e;if(r.slice(-1)!=="."){r=r+"."}return r+" "+t}function simplifyError(e){let t=e.message;let r=e.code;let s=e;while(s.innererror){s=s.innererror;r=s.code;t=appendReadableErrorMessage(t,s.message)}return{code:r,message:t}}function processOperationStatus(e){const{state:t,stateProxy:r,status:n,isDone:o,processResult:i,getError:a,response:A,setErrorAsResult:c}=e;switch(n){case"succeeded":{r.setSucceeded(t);break}case"failed":{const e=a===null||a===void 0?void 0:a(A);let n="";if(e){const{code:t,message:r}=simplifyError(e);n=`. ${t}. ${r}`}const o=`The long-running operation has failed${n}`;r.setError(t,new Error(o));r.setFailed(t);s.logger.warning(o);break}case"canceled":{r.setCanceled(t);break}}if((o===null||o===void 0?void 0:o(A,t))||o===undefined&&["succeeded","canceled"].concat(c?[]:["failed"]).includes(n)){r.setResult(t,buildResult({response:A,state:t,processResult:i}))}}function buildResult(e){const{processResult:t,response:r,state:s}=e;return t?t(r,s):r}async function initOperation(e){const{init:t,stateProxy:r,processResult:n,getOperationStatus:o,withOperationLocation:i,setErrorAsResult:a}=e;const{operationLocation:A,resourceLocation:c,metadata:l,response:u}=await t();if(A)i===null||i===void 0?void 0:i(A,false);const d={metadata:l,operationLocation:A,resourceLocation:c};s.logger.verbose(`LRO: Operation description:`,d);const p=r.initState(d);const g=o({response:u,state:p,operationLocation:A});processOperationStatus({state:p,status:g,stateProxy:r,response:u,setErrorAsResult:a,processResult:n});return p}t.initOperation=initOperation;async function pollOperationHelper(e){const{poll:t,state:r,stateProxy:o,operationLocation:i,getOperationStatus:a,getResourceLocation:A,isOperationError:c,options:l}=e;const u=await t(i,l).catch(setStateError({state:r,stateProxy:o,isOperationError:c}));const d=a(u,r);s.logger.verbose(`LRO: Status:\n\tPolling from: ${r.config.operationLocation}\n\tOperation status: ${d}\n\tPolling status: ${n.terminalStates.includes(d)?"Stopped":"Running"}`);if(d==="succeeded"){const e=A(u,r);if(e!==undefined){return{response:await t(e).catch(setStateError({state:r,stateProxy:o,isOperationError:c})),status:d}}}return{response:u,status:d}}async function pollOperation(e){const{poll:t,state:r,stateProxy:s,options:o,getOperationStatus:i,getResourceLocation:a,getOperationLocation:A,isOperationError:c,withOperationLocation:l,getPollingInterval:u,processResult:d,getError:p,updateState:g,setDelay:m,isDone:h,setErrorAsResult:E}=e;const{operationLocation:C}=r.config;if(C!==undefined){const{response:e,status:y}=await pollOperationHelper({poll:t,getOperationStatus:i,state:r,stateProxy:s,operationLocation:C,getResourceLocation:a,isOperationError:c,options:o});processOperationStatus({status:y,response:e,state:r,stateProxy:s,isDone:h,processResult:d,getError:p,setErrorAsResult:E});if(!n.terminalStates.includes(y)){const t=u===null||u===void 0?void 0:u(e);if(t)m(t);const s=A===null||A===void 0?void 0:A(e,r);if(s!==undefined){const e=C!==s;r.config.operationLocation=s;l===null||l===void 0?void 0:l(s,e)}else l===null||l===void 0?void 0:l(C,false)}g===null||g===void 0?void 0:g(r,e)}}t.pollOperation=pollOperation},8835:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildCreatePoller=void 0;const s=r(736);const n=r(5044);const o=r(7779);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:r,getStatusFromPollResponse:i,isOperationError:a,getResourceLocation:A,getPollingInterval:c,getError:l,resolveOnUnsuccessful:u}=e;return async({init:e,poll:d},p)=>{const{processResult:g,updateState:m,withOperationLocation:h,intervalInMs:E=n.POLL_INTERVAL_IN_MS,restoreFrom:C}=p||{};const y=createStateProxy();const I=h?(()=>{let e=false;return(t,r)=>{if(r)h(t);else if(!e)h(t);e=true}})():undefined;const B=C?(0,s.deserializeState)(C):await(0,s.initOperation)({init:e,stateProxy:y,processResult:g,getOperationStatus:r,withOperationLocation:I,setErrorAsResult:!u});let Q;const b=new AbortController;const S=new Map;const handleProgressEvents=async()=>S.forEach((e=>e(B)));const R="Operation was canceled";let w=E;const N={getOperationState:()=>B,getResult:()=>B.result,isDone:()=>["succeeded","failed","canceled"].includes(B.status),isStopped:()=>Q===undefined,stopPolling:()=>{b.abort()},toString:()=>JSON.stringify({state:B}),onProgress:e=>{const t=Symbol();S.set(t,e);return()=>S.delete(t)},pollUntilDone:e=>Q!==null&&Q!==void 0?Q:Q=(async()=>{const{abortSignal:t}=e||{};function abortListener(){b.abort()}const r=b.signal;if(t===null||t===void 0?void 0:t.aborted){b.abort()}else if(!r.aborted){t===null||t===void 0?void 0:t.addEventListener("abort",abortListener,{once:true})}try{if(!N.isDone()){await N.poll({abortSignal:r});while(!N.isDone()){await(0,o.delay)(w,{abortSignal:r});await N.poll({abortSignal:r})}}}finally{t===null||t===void 0?void 0:t.removeEventListener("abort",abortListener)}if(u){return N.getResult()}else{switch(B.status){case"succeeded":return N.getResult();case"canceled":throw new Error(R);case"failed":throw B.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{Q=undefined})),async poll(e){if(u){if(N.isDone())return}else{switch(B.status){case"succeeded":return;case"canceled":throw new Error(R);case"failed":throw B.error}}await(0,s.pollOperation)({poll:d,state:B,stateProxy:y,getOperationLocation:t,isOperationError:a,withOperationLocation:I,getPollingInterval:c,getOperationStatus:i,getResourceLocation:A,processResult:g,getError:l,updateState:m,options:e,setDelay:e=>{w=e},setErrorAsResult:!u});await handleProgressEvents();if(!u){switch(B.status){case"canceled":throw new Error(R);case"failed":throw B.error}}}};return N}}t.buildCreatePoller=buildCreatePoller},6427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_RETRY_POLICY_COUNT=t.SDK_VERSION=void 0;t.SDK_VERSION="1.18.0";t.DEFAULT_RETRY_POLICY_COUNT=3},862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPipelineFromOptions=createPipelineFromOptions;const s=r(3253);const n=r(9590);const o=r(4087);const i=r(2799);const a=r(5807);const A=r(9295);const c=r(8170);const l=r(5497);const u=r(7779);const d=r(2815);const p=r(5686);const g=r(5798);const m=r(3237);function createPipelineFromOptions(e){var t;const r=(0,n.createEmptyPipeline)();if(u.isNodeLike){if(e.tlsOptions){r.addPolicy((0,g.tlsPolicy)(e.tlsOptions))}r.addPolicy((0,d.proxyPolicy)(e.proxyOptions));r.addPolicy((0,A.decompressResponsePolicy)())}r.addPolicy((0,l.formDataPolicy)(),{beforePolicies:[a.multipartPolicyName]});r.addPolicy((0,i.userAgentPolicy)(e.userAgentOptions));r.addPolicy((0,p.setClientRequestIdPolicy)((t=e.telemetryOptions)===null||t===void 0?void 0:t.clientRequestIdHeaderName));r.addPolicy((0,a.multipartPolicy)(),{afterPhase:"Deserialize"});r.addPolicy((0,c.defaultRetryPolicy)(e.retryOptions),{phase:"Retry"});r.addPolicy((0,m.tracingPolicy)(Object.assign(Object.assign({},e.userAgentOptions),e.loggingOptions)),{afterPhase:"Retry"});if(u.isNodeLike){r.addPolicy((0,o.redirectPolicy)(e.redirectOptions),{afterPhase:"Retry"})}r.addPolicy((0,s.logPolicy)(e.loggingOptions),{afterPhase:"Sign"});return r}},7960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDefaultHttpClient=createDefaultHttpClient;const s=r(195);function createDefaultHttpClient(){return(0,s.createNodeHttpClient)()}},192:(e,t)=>{"use strict";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{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){var t;return(t=this._headersMap.get(normalizeName(e)))===null||t===void 0?void 0:t.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,r]of this._headersMap){t[e]=r.value}}return t}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(e){return new HttpHeadersImpl(e)}},778:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createFileFromStream=t.createFile=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 s=r(9590);Object.defineProperty(t,"createEmptyPipeline",{enumerable:true,get:function(){return s.createEmptyPipeline}});var n=r(862);Object.defineProperty(t,"createPipelineFromOptions",{enumerable:true,get:function(){return n.createPipelineFromOptions}});var o=r(7960);Object.defineProperty(t,"createDefaultHttpClient",{enumerable:true,get:function(){return o.createDefaultHttpClient}});var i=r(192);Object.defineProperty(t,"createHttpHeaders",{enumerable:true,get:function(){return i.createHttpHeaders}});var a=r(5709);Object.defineProperty(t,"createPipelineRequest",{enumerable:true,get:function(){return a.createPipelineRequest}});var A=r(8666);Object.defineProperty(t,"RestError",{enumerable:true,get:function(){return A.RestError}});Object.defineProperty(t,"isRestError",{enumerable:true,get:function(){return A.isRestError}});var c=r(9295);Object.defineProperty(t,"decompressResponsePolicy",{enumerable:true,get:function(){return c.decompressResponsePolicy}});Object.defineProperty(t,"decompressResponsePolicyName",{enumerable:true,get:function(){return c.decompressResponsePolicyName}});var l=r(6708);Object.defineProperty(t,"exponentialRetryPolicy",{enumerable:true,get:function(){return l.exponentialRetryPolicy}});Object.defineProperty(t,"exponentialRetryPolicyName",{enumerable:true,get:function(){return l.exponentialRetryPolicyName}});var u=r(5686);Object.defineProperty(t,"setClientRequestIdPolicy",{enumerable:true,get:function(){return u.setClientRequestIdPolicy}});Object.defineProperty(t,"setClientRequestIdPolicyName",{enumerable:true,get:function(){return u.setClientRequestIdPolicyName}});var d=r(3253);Object.defineProperty(t,"logPolicy",{enumerable:true,get:function(){return d.logPolicy}});Object.defineProperty(t,"logPolicyName",{enumerable:true,get:function(){return d.logPolicyName}});var p=r(5807);Object.defineProperty(t,"multipartPolicy",{enumerable:true,get:function(){return p.multipartPolicy}});Object.defineProperty(t,"multipartPolicyName",{enumerable:true,get:function(){return p.multipartPolicyName}});var g=r(2815);Object.defineProperty(t,"proxyPolicy",{enumerable:true,get:function(){return g.proxyPolicy}});Object.defineProperty(t,"proxyPolicyName",{enumerable:true,get:function(){return g.proxyPolicyName}});Object.defineProperty(t,"getDefaultProxySettings",{enumerable:true,get:function(){return g.getDefaultProxySettings}});var m=r(4087);Object.defineProperty(t,"redirectPolicy",{enumerable:true,get:function(){return m.redirectPolicy}});Object.defineProperty(t,"redirectPolicyName",{enumerable:true,get:function(){return m.redirectPolicyName}});var h=r(6518);Object.defineProperty(t,"systemErrorRetryPolicy",{enumerable:true,get:function(){return h.systemErrorRetryPolicy}});Object.defineProperty(t,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return h.systemErrorRetryPolicyName}});var E=r(7540);Object.defineProperty(t,"throttlingRetryPolicy",{enumerable:true,get:function(){return E.throttlingRetryPolicy}});Object.defineProperty(t,"throttlingRetryPolicyName",{enumerable:true,get:function(){return E.throttlingRetryPolicyName}});var C=r(6085);Object.defineProperty(t,"retryPolicy",{enumerable:true,get:function(){return C.retryPolicy}});var y=r(3237);Object.defineProperty(t,"tracingPolicy",{enumerable:true,get:function(){return y.tracingPolicy}});Object.defineProperty(t,"tracingPolicyName",{enumerable:true,get:function(){return y.tracingPolicyName}});var I=r(8170);Object.defineProperty(t,"defaultRetryPolicy",{enumerable:true,get:function(){return I.defaultRetryPolicy}});var B=r(2799);Object.defineProperty(t,"userAgentPolicy",{enumerable:true,get:function(){return B.userAgentPolicy}});Object.defineProperty(t,"userAgentPolicyName",{enumerable:true,get:function(){return B.userAgentPolicyName}});var Q=r(5798);Object.defineProperty(t,"tlsPolicy",{enumerable:true,get:function(){return Q.tlsPolicy}});Object.defineProperty(t,"tlsPolicyName",{enumerable:true,get:function(){return Q.tlsPolicyName}});var b=r(5497);Object.defineProperty(t,"formDataPolicy",{enumerable:true,get:function(){return b.formDataPolicy}});Object.defineProperty(t,"formDataPolicyName",{enumerable:true,get:function(){return b.formDataPolicyName}});var S=r(6925);Object.defineProperty(t,"bearerTokenAuthenticationPolicy",{enumerable:true,get:function(){return S.bearerTokenAuthenticationPolicy}});Object.defineProperty(t,"bearerTokenAuthenticationPolicyName",{enumerable:true,get:function(){return S.bearerTokenAuthenticationPolicyName}});var R=r(6827);Object.defineProperty(t,"ndJsonPolicy",{enumerable:true,get:function(){return R.ndJsonPolicy}});Object.defineProperty(t,"ndJsonPolicyName",{enumerable:true,get:function(){return R.ndJsonPolicyName}});var w=r(2262);Object.defineProperty(t,"auxiliaryAuthenticationHeaderPolicy",{enumerable:true,get:function(){return w.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(t,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:true,get:function(){return w.auxiliaryAuthenticationHeaderPolicyName}});var N=r(7073);Object.defineProperty(t,"createFile",{enumerable:true,get:function(){return N.createFile}});Object.defineProperty(t,"createFileFromStream",{enumerable:true,get:function(){return N.createFileFromStream}})},544:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const s=r(6515);t.logger=(0,s.createClientLogger)("core-rest-pipeline")},195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getBodyLength=getBodyLength;t.createNodeHttpClient=createNodeHttpClient;const s=r(1860);const n=s.__importStar(r(7067));const o=s.__importStar(r(4708));const i=s.__importStar(r(8522));const a=r(7075);const A=r(3287);const c=r(192);const l=r(8666);const u=r(544);const d={};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 a.Transform{_transform(e,t,r){this.push(e);this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes});r()}catch(e){r(e)}}constructor(e){super();this.loadedBytes=0;this.progressCallback=e}}class NodeHttpClient{constructor(){this.cachedHttpsAgents=new WeakMap}async sendRequest(e){var t,r,s;const n=new AbortController;let o;if(e.abortSignal){if(e.abortSignal.aborted){throw new A.AbortError("The operation was aborted.")}o=e=>{if(e.type==="abort"){n.abort()}};e.abortSignal.addEventListener("abort",o)}if(e.timeout>0){setTimeout((()=>{n.abort()}),e.timeout)}const i=e.headers.get("Accept-Encoding");const a=(i===null||i===void 0?void 0:i.includes("gzip"))||(i===null||i===void 0?void 0: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 l;try{if(c&&e.onUploadProgress){const t=e.onUploadProgress;const r=new ReportTransform(t);r.on("error",(e=>{u.logger.error("Error in upload progress",e)}));if(isReadableStream(c)){c.pipe(r)}else{r.end(c)}c=r}const o=await this.makeRequest(e,n,c);const i=getResponseHeaders(o);const A=(t=o.statusCode)!==null&&t!==void 0?t:0;const d={status:A,headers:i,request:e};if(e.method==="HEAD"){o.resume();return d}l=a?getDecodedResponseStream(o,i):o;const p=e.onDownloadProgress;if(p){const e=new ReportTransform(p);e.on("error",(e=>{u.logger.error("Error in download progress",e)}));l.pipe(e);l=e}if(((r=e.streamResponseStatusCodes)===null||r===void 0?void 0:r.has(Number.POSITIVE_INFINITY))||((s=e.streamResponseStatusCodes)===null||s===void 0?void 0:s.has(d.status))){d.readableStreamBody=l}else{d.bodyAsText=await streamToText(l)}return d}finally{if(e.abortSignal&&o){let t=Promise.resolve();if(isReadableStream(c)){t=isStreamComplete(c)}let r=Promise.resolve();if(isReadableStream(l)){r=isStreamComplete(l)}Promise.all([t,r]).then((()=>{var t;if(o){(t=e.abortSignal)===null||t===void 0?void 0:t.removeEventListener("abort",o)}})).catch((e=>{u.logger.warning("Error when cleaning up abortListener on httpRequest",e)}))}}}makeRequest(e,t,r){var s;const i=new URL(e.url);const a=i.protocol!=="https:";if(a&&!e.allowInsecureConnection){throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`)}const c=(s=e.agent)!==null&&s!==void 0?s:this.getOrCreateAgent(e,a);const d={agent:c,hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:true})};return new Promise(((s,i)=>{const c=a?n.request(d,s):o.request(d,s);c.once("error",(t=>{var r;i(new l.RestError(t.message,{code:(r=t.code)!==null&&r!==void 0?r:l.RestError.REQUEST_SEND_ERROR,request:e}))}));t.signal.addEventListener("abort",(()=>{const e=new A.AbortError("The operation was aborted.");c.destroy(e);i(e)}));if(r&&isReadableStream(r)){r.pipe(c)}else if(r){if(typeof r==="string"||Buffer.isBuffer(r)){c.end(r)}else if(isArrayBuffer(r)){c.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer):Buffer.from(r))}else{u.logger.error("Unrecognized body type",r);i(new l.RestError("Unrecognized body type"))}}else{c.end()}}))}getOrCreateAgent(e,t){var r;const s=e.disableKeepAlive;if(t){if(s){return n.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new n.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(s&&!e.tlsSettings){return o.globalAgent}const t=(r=e.tlsSettings)!==null&&r!==void 0?r:d;let n=this.cachedHttpsAgents.get(t);if(n&&n.options.keepAlive===!s){return n}u.logger.info("No cached TLS Agent exist, creating a new Agent");n=new o.Agent(Object.assign({keepAlive:!s},t));this.cachedHttpsAgents.set(t,n);return n}}}function getResponseHeaders(e){const t=(0,c.createHttpHeaders)();for(const r of Object.keys(e.headers)){const s=e.headers[r];if(Array.isArray(s)){if(s.length>0){t.set(r,s[0])}}else if(s){t.set(r,s)}}return t}function getDecodedResponseStream(e,t){const r=t.get("Content-Encoding");if(r==="gzip"){const t=i.createGunzip();e.pipe(t);return t}else if(r==="deflate"){const t=i.createInflate();e.pipe(t);return t}return e}function streamToText(e){return new Promise(((t,r)=>{const s=[];e.on("data",(e=>{if(Buffer.isBuffer(e)){s.push(e)}else{s.push(Buffer.from(e))}}));e.on("end",(()=>{t(Buffer.concat(s).toString("utf8"))}));e.on("error",(e=>{if(e&&(e===null||e===void 0?void 0:e.name)==="AbortError"){r(e)}else{r(new l.RestError(`Error reading response as text: ${e.message}`,{code:l.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}},9590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createEmptyPipeline=createEmptyPipeline;const r=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{constructor(e){var t;this._policies=[];this._policies=(t=e===null||e===void 0?void 0:e.slice(0))!==null&&t!==void 0?t:[];this._orderedPolicies=undefined}addPolicy(e,t={}){if(t.phase&&t.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(t.phase&&!r.has(t.phase)){throw new Error(`Invalid phase name: ${t.phase}`)}if(t.afterPhase&&!r.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((r=>{if(e.name&&r.policy.name===e.name||e.phase&&r.options.phase===e.phase){t.push(r.policy);return false}else{return true}}));this._orderedPolicies=undefined;return t}sendRequest(e,t){const r=this.getOrderedPolicies();const s=r.reduceRight(((e,t)=>r=>t.sendRequest(r,e)),(t=>e.sendRequest(t)));return s(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 r=createPhase("Serialize");const s=createPhase("None");const n=createPhase("Deserialize");const o=createPhase("Retry");const i=createPhase("Sign");const a=[r,s,n,o,i];function getPhase(e){if(e==="Retry"){return o}else if(e==="Serialize"){return r}else if(e==="Deserialize"){return n}else if(e==="Sign"){return i}else{return s}}for(const e of this._policies){const r=e.policy;const s=e.options;const n=r.name;if(t.has(n)){throw new Error("Duplicate policy names not allowed in pipeline")}const o={policy:r,dependsOn:new Set,dependants:new Set};if(s.afterPhase){o.afterPhase=getPhase(s.afterPhase);o.afterPhase.hasAfterPolicies=true}t.set(n,o);const i=getPhase(s.phase);i.policies.add(o)}for(const e of this._policies){const{policy:r,options:s}=e;const n=r.name;const o=t.get(n);if(!o){throw new Error(`Missing node for policy ${n}`)}if(s.afterPolicies){for(const e of s.afterPolicies){const r=t.get(e);if(r){o.dependsOn.add(r);r.dependants.add(o)}}}if(s.beforePolicies){for(const e of s.beforePolicies){const r=t.get(e);if(r){r.dependsOn.add(o);o.dependants.add(r)}}}}function walkPhase(r){r.hasRun=true;for(const s of r.policies){if(s.afterPhase&&(!s.afterPhase.hasRun||s.afterPhase.policies.size)){continue}if(s.dependsOn.size===0){e.push(s.policy);for(const e of s.dependants){e.dependsOn.delete(s)}t.delete(s.policy.name);r.policies.delete(s)}}}function walkPhases(){for(const e of a){walkPhase(e);if(e.policies.size>0&&e!==s){if(!s.hasRun){walkPhase(s)}return}if(e.hasAfterPolicies){walkPhase(s)}}}let A=0;while(t.size>0){A++;const t=e.length;walkPhases();if(e.length<=t&&A>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return e}}function createEmptyPipeline(){return HttpPipeline.create()}},5709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPipelineRequest=createPipelineRequest;const s=r(192);const n=r(7779);class PipelineRequestImpl{constructor(e){var t,r,o,i,a,A,c;this.url=e.url;this.body=e.body;this.headers=(t=e.headers)!==null&&t!==void 0?t:(0,s.createHttpHeaders)();this.method=(r=e.method)!==null&&r!==void 0?r:"GET";this.timeout=(o=e.timeout)!==null&&o!==void 0?o:0;this.multipartBody=e.multipartBody;this.formData=e.formData;this.disableKeepAlive=(i=e.disableKeepAlive)!==null&&i!==void 0?i:false;this.proxySettings=e.proxySettings;this.streamResponseStatusCodes=e.streamResponseStatusCodes;this.withCredentials=(a=e.withCredentials)!==null&&a!==void 0?a:false;this.abortSignal=e.abortSignal;this.tracingOptions=e.tracingOptions;this.onUploadProgress=e.onUploadProgress;this.onDownloadProgress=e.onDownloadProgress;this.requestId=e.requestId||(0,n.randomUUID)();this.allowInsecureConnection=(A=e.allowInsecureConnection)!==null&&A!==void 0?A:false;this.enableBrowserStreams=(c=e.enableBrowserStreams)!==null&&c!==void 0?c:false}}function createPipelineRequest(e){return new PipelineRequestImpl(e)}},2262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.auxiliaryAuthenticationHeaderPolicyName=void 0;t.auxiliaryAuthenticationHeaderPolicy=auxiliaryAuthenticationHeaderPolicy;const s=r(9202);const n=r(544);t.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";const o="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(e){var t,r;const{scopes:s,getAccessToken:n,request:o}=e;const i={abortSignal:o.abortSignal,tracingOptions:o.tracingOptions};return(r=(t=await n(s,i))===null||t===void 0?void 0:t.token)!==null&&r!==void 0?r:""}function auxiliaryAuthenticationHeaderPolicy(e){const{credentials:r,scopes:i}=e;const a=e.logger||n.logger;const A=new WeakMap;return{name:t.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(e,n){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(!r||r.length===0){a.info(`${t.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`);return n(e)}const c=[];for(const t of r){let r=A.get(t);if(!r){r=(0,s.createTokenCycler)(t);A.set(t,r)}c.push(sendAuthorizeRequest({scopes:Array.isArray(i)?i:[i],request:e,getAccessToken:r,logger:a}))}const l=(await Promise.all(c)).filter((e=>Boolean(e)));if(l.length===0){a.warning(`None of the auxiliary tokens are valid. ${o} header will not be set.`);return n(e)}e.headers.set(o,l.map((e=>`Bearer ${e}`)).join(", "));return n(e)}}}},6925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.bearerTokenAuthenticationPolicyName=void 0;t.bearerTokenAuthenticationPolicy=bearerTokenAuthenticationPolicy;t.parseChallenges=parseChallenges;const s=r(9202);const n=r(544);const o=r(8666);t.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function trySendRequest(e,t){try{return[await t(e),undefined]}catch(e){if((0,o.isRestError)(e)&&e.response){return[e.response,e]}else{throw e}}}async function defaultAuthorizeRequest(e){const{scopes:t,getAccessToken:r,request:s}=e;const n={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions,enableCae:true};const o=await r(t,n);if(o){e.request.headers.set("Authorization",`Bearer ${o.token}`)}}function isChallengeResponse(e){return e.status===401&&e.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(e,t){var r;const{scopes:s}=e;const n=await e.getAccessToken(s,{enableCae:true,claims:t});if(!n){return false}e.request.headers.set("Authorization",`${(r=n.tokenType)!==null&&r!==void 0?r:"Bearer"} ${n.token}`);return true}function bearerTokenAuthenticationPolicy(e){var r;const{credential:o,scopes:i,challengeCallbacks:a}=e;const A=e.logger||n.logger;const c={authorizeRequest:(r=a===null||a===void 0?void 0:a.authorizeRequest)!==null&&r!==void 0?r:defaultAuthorizeRequest,authorizeRequestOnChallenge:a===null||a===void 0?void 0:a.authorizeRequestOnChallenge};const l=o?(0,s.createTokenCycler)(o):()=>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 c.authorizeRequest({scopes:Array.isArray(i)?i:[i],request:e,getAccessToken:l,logger:A});let r;let s;let n;[r,s]=await trySendRequest(e,t);if(isChallengeResponse(r)){let o=getCaeChallengeClaims(r.headers.get("WWW-Authenticate"));if(o){let a;try{a=atob(o)}catch(e){A.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${o}`);return r}n=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(i)?i:[i],response:r,request:e,getAccessToken:l,logger:A},a);if(n){[r,s]=await trySendRequest(e,t)}}else if(c.authorizeRequestOnChallenge){n=await c.authorizeRequestOnChallenge({scopes:Array.isArray(i)?i:[i],request:e,response:r,getAccessToken:l,logger:A});if(n){[r,s]=await trySendRequest(e,t)}if(isChallengeResponse(r)){o=getCaeChallengeClaims(r.headers.get("WWW-Authenticate"));if(o){let a;try{a=atob(o)}catch(e){A.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${o}`);return r}n=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(i)?i:[i],response:r,request:e,getAccessToken:l,logger:A},a);if(n){[r,s]=await trySendRequest(e,t)}}}}}if(s){throw s}else{return r}}}}function parseChallenges(e){const t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const r=/(\w+)="([^"]*)"/g;const s=[];let n;while((n=t.exec(e))!==null){const e=n[1];const t=n[2];const o={};let i;while((i=r.exec(t))!==null){o[i[1]]=i[2]}s.push({scheme:e,params:o})}return s}function getCaeChallengeClaims(e){var t;if(!e){return}const r=parseChallenges(e);return(t=r.find((e=>e.scheme==="Bearer"&&e.params.claims&&e.params.error==="insufficient_claims")))===null||t===void 0?void 0:t.params.claims}},9295:(e,t)=>{"use strict";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)}}}},8170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRetryPolicyName=void 0;t.defaultRetryPolicy=defaultRetryPolicy;const s=r(2);const n=r(7084);const o=r(6085);const i=r(6427);t.defaultRetryPolicyName="defaultRetryPolicy";function defaultRetryPolicy(e={}){var r;return{name:t.defaultRetryPolicyName,sendRequest:(0,o.retryPolicy)([(0,n.throttlingRetryStrategy)(),(0,s.exponentialRetryStrategy)(e)],{maxRetries:(r=e.maxRetries)!==null&&r!==void 0?r:i.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},6708:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryPolicyName=void 0;t.exponentialRetryPolicy=exponentialRetryPolicy;const s=r(2);const n=r(6085);const o=r(6427);t.exponentialRetryPolicyName="exponentialRetryPolicy";function exponentialRetryPolicy(e={}){var t;return(0,n.retryPolicy)([(0,s.exponentialRetryStrategy)(Object.assign(Object.assign({},e),{ignoreSystemErrors:true}))],{maxRetries:(t=e.maxRetries)!==null&&t!==void 0?t:o.DEFAULT_RETRY_POLICY_COUNT})}},5497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.formDataPolicyName=void 0;t.formDataPolicy=formDataPolicy;const s=r(7779);const n=r(192);t.formDataPolicyName="formDataPolicy";function formDataToFormDataMap(e){var t;const r={};for(const[s,n]of e.entries()){(t=r[s])!==null&&t!==void 0?t:r[s]=[];r[s].push(n)}return r}function formDataPolicy(){return{name:t.formDataPolicyName,async sendRequest(e,t){if(s.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[r,s]of Object.entries(e)){if(Array.isArray(s)){for(const e of s){t.append(r,e.toString())}}else{t.append(r,s.toString())}}return t.toString()}async function prepareFormData(e,t){const r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data")){return}t.headers.set("Content-Type",r!==null&&r!==void 0?r:"multipart/form-data");const o=[];for(const[t,r]of Object.entries(e)){for(const e of Array.isArray(r)?r:[r]){if(typeof e==="string"){o.push({headers:(0,n.createHttpHeaders)({"Content-Disposition":`form-data; name="${t}"`}),body:(0,s.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 r=e.name||"blob";const s=(0,n.createHttpHeaders)();s.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`);s.set("Content-Type",e.type||"application/octet-stream");o.push({headers:s,body:e})}}}t.multipartBody={parts:o}}},3253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logPolicyName=void 0;t.logPolicy=logPolicy;const s=r(544);const n=r(5204);t.logPolicyName="logPolicy";function logPolicy(e={}){var r;const o=(r=e.logger)!==null&&r!==void 0?r:s.logger.info;const i=new n.Sanitizer({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:t.logPolicyName,async sendRequest(e,t){if(!o.enabled){return t(e)}o(`Request: ${i.sanitize(e)}`);const r=await t(e);o(`Response status code: ${r.status}`);o(`Headers: ${i.sanitize(r.headers)}`);return r}}}},5807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.multipartPolicyName=void 0;t.multipartPolicy=multipartPolicy;const s=r(7779);const n=r(2471);const o=r(2621);function generateBoundary(){return`----AzSDKFormBoundary${(0,s.randomUUID)()}`}function encodeHeaders(e){let t="";for(const[r,s]of e){t+=`${r}: ${s}\r\n`}return t}function getLength(e){if(e instanceof Uint8Array){return e.byteLength}else if((0,o.isBlob)(e)){return e.size===-1?undefined:e.size}else{return undefined}}function getTotalLength(e){let t=0;for(const r of e){const e=getLength(r);if(e===undefined){return undefined}else{t+=e}}return t}async function buildRequestBody(e,t,r){const o=[(0,s.stringToUint8Array)(`--${r}`,"utf-8"),...t.flatMap((e=>[(0,s.stringToUint8Array)("\r\n","utf-8"),(0,s.stringToUint8Array)(encodeHeaders(e.headers),"utf-8"),(0,s.stringToUint8Array)("\r\n","utf-8"),e.body,(0,s.stringToUint8Array)(`\r\n--${r}`,"utf-8")])),(0,s.stringToUint8Array)("--\r\n\r\n","utf-8")];const i=getTotalLength(o);if(i){e.headers.set("Content-Length",i)}e.body=await(0,n.concat)(o)}t.multipartPolicyName="multipartPolicy";const i=70;const a=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(e){if(e.length>i){throw new Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`)}if(Array.from(e).some((e=>!a.has(e)))){throw new Error(`Multipart boundary "${e}" contains invalid characters`)}}function multipartPolicy(){return{name:t.multipartPolicyName,async sendRequest(e,t){var r;if(!e.multipartBody){return t(e)}if(e.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let s=e.multipartBody.boundary;const n=(r=e.headers.get("Content-Type"))!==null&&r!==void 0?r:"multipart/mixed";const o=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!o){throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`)}const[,i,a]=o;if(a&&s&&a!==s){throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${s} in the request body`)}s!==null&&s!==void 0?s:s=a;if(s){assertValidBoundary(s)}else{s=generateBoundary()}e.headers.set("Content-Type",`${i}; boundary=${s}`);await buildRequestBody(e,e.multipartBody.parts,s);e.multipartBody=undefined;return t(e)}}}},6827:(e,t)=>{"use strict";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)}}}},2815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.globalNoProxyList=t.proxyPolicyName=void 0;t.loadNoProxy=loadNoProxy;t.getDefaultProxySettings=getDefaultProxySettings;t.proxyPolicy=proxyPolicy;const s=r(3669);const n=r(1970);const o=r(544);const i="HTTPS_PROXY";const a="HTTP_PROXY";const A="ALL_PROXY";const c="NO_PROXY";t.proxyPolicyName="proxyPolicy";t.globalNoProxyList=[];let l=false;const u=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(i);const t=getEnvironmentValue(A);const r=getEnvironmentValue(a);return e||t||r}function isBypassed(e,t,r){if(t.length===0){return false}const s=new URL(e).hostname;if(r===null||r===void 0?void 0:r.has(s)){return r.get(s)}let n=false;for(const e of t){if(e[0]==="."){if(s.endsWith(e)){n=true}else{if(s.length===e.length-1&&s===e.slice(1)){n=true}}}else{if(s===e){n=true}}}r===null||r===void 0?void 0:r.set(s,n);return n}function loadNoProxy(){const e=getEnvironmentValue(c);l=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 r=t.protocol?t.protocol+"//":"";return{host:r+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(t){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,r){if(e.agent){return}const i=new URL(e.url);const a=i.protocol!=="https:";if(e.tlsSettings){o.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const A=e.headers.toJSON();if(a){if(!t.httpProxyAgent){t.httpProxyAgent=new n.HttpProxyAgent(r,{headers:A})}e.agent=t.httpProxyAgent}else{if(!t.httpsProxyAgent){t.httpsProxyAgent=new s.HttpsProxyAgent(r,{headers:A})}e.agent=t.httpsProxyAgent}}function proxyPolicy(e,r){if(!l){t.globalNoProxyList.push(...loadNoProxy())}const s=e?getUrlFromProxySettings(e):getDefaultProxySettingsInternal();const n={};return{name:t.proxyPolicyName,async sendRequest(e,o){var i;if(!e.proxySettings&&s&&!isBypassed(e.url,(i=r===null||r===void 0?void 0:r.customNoProxyList)!==null&&i!==void 0?i:t.globalNoProxyList,(r===null||r===void 0?void 0:r.customNoProxyList)?undefined:u)){setProxyAgentOnRequest(e,n,s)}else if(e.proxySettings){setProxyAgentOnRequest(e,n,getUrlFromProxySettings(e.proxySettings))}return o(e)}}}},4087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.redirectPolicyName=void 0;t.redirectPolicy=redirectPolicy;t.redirectPolicyName="redirectPolicy";const r=["GET","HEAD"];function redirectPolicy(e={}){const{maxRetries:r=20}=e;return{name:t.redirectPolicyName,async sendRequest(e,t){const s=await t(e);return handleRedirect(t,s,r)}}}async function handleRedirect(e,t,s,n=0){const{request:o,status:i,headers:a}=t;const A=a.get("location");if(A&&(i===300||i===301&&r.includes(o.method)||i===302&&r.includes(o.method)||i===303&&o.method==="POST"||i===307)&&n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.retryPolicy=retryPolicy;const s=r(3034);const n=r(6515);const o=r(3287);const i=r(6427);const a=(0,n.createClientLogger)("core-rest-pipeline retryPolicy");const A="retryPolicy";function retryPolicy(e,t={maxRetries:i.DEFAULT_RETRY_POLICY_COUNT}){const r=t.logger||a;return{name:A,async sendRequest(n,A){var c,l;let u;let d;let p=-1;e:while(true){p+=1;u=undefined;d=undefined;try{r.info(`Retry ${p}: Attempting to send request`,n.requestId);u=await A(n);r.info(`Retry ${p}: Received a response from request`,n.requestId)}catch(e){r.error(`Retry ${p}: Received an error from request`,n.requestId);d=e;if(!e||d.name!=="RestError"){throw e}u=d.response}if((c=n.abortSignal)===null||c===void 0?void 0:c.aborted){r.error(`Retry ${p}: Request aborted.`);const e=new o.AbortError;throw e}if(p>=((l=t.maxRetries)!==null&&l!==void 0?l:i.DEFAULT_RETRY_POLICY_COUNT)){r.info(`Retry ${p}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(d){throw d}else if(u){return u}else{throw new Error("Maximum retries reached with no response or error to throw")}}r.info(`Retry ${p}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||a;e.info(`Retry ${p}: Processing retry strategy ${t.name}.`);const r=t.retry({retryCount:p,response:u,responseError:d});if(r.skipStrategy){e.info(`Retry ${p}: Skipped.`);continue t}const{errorToThrow:o,retryAfterInMs:i,redirectTo:A}=r;if(o){e.error(`Retry ${p}: Retry strategy ${t.name} throws error:`,o);throw o}if(i||i===0){e.info(`Retry ${p}: Retry strategy ${t.name} retries after ${i}`);await(0,s.delay)(i,undefined,{abortSignal:n.abortSignal});continue e}if(A){e.info(`Retry ${p}: Retry strategy ${t.name} redirects to ${A}`);n.url=A;continue e}}if(d){r.info(`None of the retry strategies could work with the received error. Throwing it.`);throw d}if(u){r.info(`None of the retry strategies could work with the received response. Returning it.`);return u}}}}}},5686:(e,t)=>{"use strict";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,r){if(!t.headers.has(e)){t.headers.set(e,t.requestId)}return r(t)}}}},6518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.systemErrorRetryPolicyName=void 0;t.systemErrorRetryPolicy=systemErrorRetryPolicy;const s=r(2);const n=r(6085);const o=r(6427);t.systemErrorRetryPolicyName="systemErrorRetryPolicy";function systemErrorRetryPolicy(e={}){var r;return{name:t.systemErrorRetryPolicyName,sendRequest:(0,n.retryPolicy)([(0,s.exponentialRetryStrategy)(Object.assign(Object.assign({},e),{ignoreHttpStatusCodes:true}))],{maxRetries:(r=e.maxRetries)!==null&&r!==void 0?r:o.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},7540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.throttlingRetryPolicyName=void 0;t.throttlingRetryPolicy=throttlingRetryPolicy;const s=r(7084);const n=r(6085);const o=r(6427);t.throttlingRetryPolicyName="throttlingRetryPolicy";function throttlingRetryPolicy(e={}){var r;return{name:t.throttlingRetryPolicyName,sendRequest:(0,n.retryPolicy)([(0,s.throttlingRetryStrategy)()],{maxRetries:(r=e.maxRetries)!==null&&r!==void 0?r:o.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},5798:(e,t)=>{"use strict";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,r)=>{if(!t.tlsSettings){t.tlsSettings=e}return r(t)}}}},3237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.tracingPolicyName=void 0;t.tracingPolicy=tracingPolicy;const s=r(623);const n=r(6427);const o=r(8431);const i=r(544);const a=r(7779);const A=r(8666);const c=r(5204);t.tracingPolicyName="tracingPolicy";function tracingPolicy(e={}){const r=(0,o.getUserAgentValue)(e.userAgentPrefix);const s=new c.Sanitizer({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});const n=tryCreateTracingClient();return{name:t.tracingPolicyName,async sendRequest(e,t){var o;if(!n){return t(e)}const i=await r;const a={"http.url":s.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":i,requestId:e.requestId};if(i){a["http.user_agent"]=i}const{span:A,tracingContext:c}=(o=tryCreateSpan(n,e,a))!==null&&o!==void 0?o:{};if(!A||!c){return t(e)}try{const r=await n.withContext(c,t,e);tryProcessResponse(A,r);return r}catch(e){tryProcessError(A,e);throw e}}}}function tryCreateTracingClient(){try{return(0,s.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:n.SDK_VERSION})}catch(e){i.logger.warning(`Error when creating the TracingClient: ${(0,a.getErrorMessage)(e)}`);return undefined}}function tryCreateSpan(e,t,r){try{const{span:s,updatedOptions:n}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!s.isRecording()){s.end();return undefined}const o=e.createRequestHeaders(n.tracingOptions.tracingContext);for(const[e,r]of Object.entries(o)){t.headers.set(e,r)}return{span:s,tracingContext:n.tracingOptions.tracingContext}}catch(e){i.logger.warning(`Skipping creating a tracing span due to an error: ${(0,a.getErrorMessage)(e)}`);return undefined}}function tryProcessError(e,t){try{e.setStatus({status:"error",error:(0,a.isError)(t)?t:undefined});if((0,A.isRestError)(t)&&t.statusCode){e.setAttribute("http.status_code",t.statusCode)}e.end()}catch(e){i.logger.warning(`Skipping tracing span processing due to an error: ${(0,a.getErrorMessage)(e)}`)}}function tryProcessResponse(e,t){try{e.setAttribute("http.status_code",t.status);const r=t.headers.get("x-ms-request-id");if(r){e.setAttribute("serviceRequestId",r)}e.setStatus({status:"success"});e.end()}catch(e){i.logger.warning(`Skipping tracing span processing due to an error: ${(0,a.getErrorMessage)(e)}`)}}},2799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.userAgentPolicyName=void 0;t.userAgentPolicy=userAgentPolicy;const s=r(8431);const n=(0,s.getUserAgentHeaderName)();t.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(e={}){const r=(0,s.getUserAgentValue)(e.userAgentPrefix);return{name:t.userAgentPolicyName,async sendRequest(e,t){if(!e.headers.has(n)){e.headers.set(n,await r)}return t(e)}}}},8666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RestError=void 0;t.isRestError=isRestError;const s=r(7779);const n=r(995);const o=r(5204);const i=new o.Sanitizer;class RestError extends Error{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});Object.setPrototypeOf(this,RestError.prototype)}[n.custom](){return`RestError: ${this.message} \n ${i.sanitize(Object.assign(Object.assign({},this),{request:this.request,response:this.response}))}`}}t.RestError=RestError;RestError.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";RestError.PARSE_ERROR="PARSE_ERROR";function isRestError(e){if(e instanceof RestError){return true}return(0,s.isError)(e)&&e.name==="RestError"}},2:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryStrategy=exponentialRetryStrategy;t.isExponentialRetryResponse=isExponentialRetryResponse;t.isSystemError=isSystemError;const s=r(7779);const n=r(7084);const o=1e3;const i=1e3*64;function exponentialRetryStrategy(e={}){var t,r;const a=(t=e.retryDelayInMs)!==null&&t!==void 0?t:o;const A=(r=e.maxRetryDelayInMs)!==null&&r!==void 0?r:i;return{name:"exponentialRetryStrategy",retry({retryCount:t,response:r,responseError:o}){const i=isSystemError(o);const c=i&&e.ignoreSystemErrors;const l=isExponentialRetryResponse(r);const u=l&&e.ignoreHttpStatusCodes;const d=r&&((0,n.isThrottlingRetryResponse)(r)||!l);if(d||u||c){return{skipStrategy:true}}if(o&&!i&&!l){return{errorToThrow:o}}return(0,s.calculateRetryDelay)(t,{retryDelayInMs:a,maxRetryDelayInMs:A})}}}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"}},7084:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isThrottlingRetryResponse=isThrottlingRetryResponse;t.throttlingRetryStrategy=throttlingRetryStrategy;const s=r(3034);const n="Retry-After";const o=["retry-after-ms","x-ms-retry-after-ms",n];function getRetryAfterInMs(e){if(!(e&&[429,503].includes(e.status)))return undefined;try{for(const t of o){const r=(0,s.parseHeaderValueAsNumber)(e,t);if(r===0||r){const e=t===n?1e3:1;return r*e}}const t=e.headers.get(n);if(!t)return;const r=Date.parse(t);const i=r-Date.now();return Number.isFinite(i)?Math.max(0,i):undefined}catch(e){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}}}}},2471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.concat=concat;const s=r(1860);const n=r(7075);const o=r(2621);const i=r(7073);function streamAsyncIterator(){return s.__asyncGenerator(this,arguments,(function*streamAsyncIterator_1(){const e=this.getReader();try{while(true){const{done:t,value:r}=yield s.__await(e.read());if(t){return yield s.__await(void 0)}yield yield s.__await(r)}}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 n.Readable.fromWeb(e)}else{return e}}function toStream(e){if(e instanceof Uint8Array){return n.Readable.from(Buffer.from(e))}else if((0,o.isBlob)(e)){return toStream((0,i.getRawContent)(e))}else{return ensureNodeStream(e)}}async function concat(e){return function(){const t=e.map((e=>typeof e==="function"?e():e)).map(toStream);return n.Readable.from(function(){return s.__asyncGenerator(this,arguments,(function*(){var e,r,n,o;for(const c of t){try{for(var i=true,a=(r=void 0,s.__asyncValues(c)),A;A=yield s.__await(a.next()),e=A.done,!e;i=true){o=A.value;i=false;const e=o;yield yield s.__await(e)}}catch(e){r={error:e}}finally{try{if(!i&&!e&&(n=a.return))yield s.__await(n.call(a))}finally{if(r)throw r.error}}}}))}())}}},7073:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRawContent=getRawContent;t.createFileFromStream=createFileFromStream;t.createFile=createFile;const s=r(7779);const n=r(2621);const o={arrayBuffer:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}};const i=Symbol("rawContent");function hasRawContent(e){return typeof e[i]==="function"}function getRawContent(e){if(hasRawContent(e)){return e[i]()}else{return e.stream()}}function createFileFromStream(e,t,r={}){var s,a,A,c;return Object.assign(Object.assign({},o),{type:(s=r.type)!==null&&s!==void 0?s:"",lastModified:(a=r.lastModified)!==null&&a!==void 0?a:(new Date).getTime(),webkitRelativePath:(A=r.webkitRelativePath)!==null&&A!==void 0?A:"",size:(c=r.size)!==null&&c!==void 0?c:-1,name:t,stream:()=>{const t=e();if((0,n.isNodeReadableStream)(t)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return t},[i]:e})}function createFile(e,t,r={}){var n,a,A;if(s.isNodeLike){return Object.assign(Object.assign({},o),{type:(n=r.type)!==null&&n!==void 0?n:"",lastModified:(a=r.lastModified)!==null&&a!==void 0?a:(new Date).getTime(),webkitRelativePath:(A=r.webkitRelativePath)!==null&&A!==void 0?A:"",size:e.byteLength,name:t,arrayBuffer:async()=>e.buffer,stream:()=>new Blob([e]).stream(),[i]:()=>e})}else{return new File([e],t,r)}}},3034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.delay=delay;t.parseHeaderValueAsNumber=parseHeaderValueAsNumber;const s=r(3287);const n="The operation was aborted.";function delay(e,t,r){return new Promise(((o,i)=>{let a=undefined;let A=undefined;const rejectOnAbort=()=>i(new s.AbortError((r===null||r===void 0?void 0:r.abortErrorMsg)?r===null||r===void 0?void 0:r.abortErrorMsg:n));const removeListeners=()=>{if((r===null||r===void 0?void 0:r.abortSignal)&&A){r.abortSignal.removeEventListener("abort",A)}};A=()=>{if(a){clearTimeout(a)}removeListeners();return rejectOnAbort()};if((r===null||r===void 0?void 0:r.abortSignal)&&r.abortSignal.aborted){return rejectOnAbort()}a=setTimeout((()=>{removeListeners();o(t)}),e);if(r===null||r===void 0?void 0:r.abortSignal){r.abortSignal.addEventListener("abort",A)}}))}function parseHeaderValueAsNumber(e,t){const r=e.headers.get(t);if(!r)return;const s=Number(r);if(Number.isNaN(s))return;return s}},995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.custom=void 0;const s=r(7975);t.custom=s.inspect.custom},5204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Sanitizer=void 0;const s=r(7779);const n="REDACTED";const o=["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 i=["api-version"];class Sanitizer{constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=o.concat(e);t=i.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,r)=>{if(r instanceof Error){return Object.assign(Object.assign({},r),{name:r.name,message:r.message})}if(e==="headers"){return this.sanitizeHeaders(r)}else if(e==="url"){return this.sanitizeUrl(r)}else if(e==="query"){return this.sanitizeQuery(r)}else if(e==="body"){return undefined}else if(e==="response"){return undefined}else if(e==="operationSpec"){return undefined}else if(Array.isArray(r)||(0,s.isObject)(r)){if(t.has(r)){return"[Circular]"}t.add(r)}return r}),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,n)}}return t.toString()}sanitizeHeaders(e){const t={};for(const r of Object.keys(e)){if(this.allowedHeaderNames.has(r.toLowerCase())){t[r]=e[r]}else{t[r]=n}}return t}sanitizeQuery(e){if(typeof e!=="object"||e===null){return e}const t={};for(const r of Object.keys(e)){if(this.allowedQueryParameters.has(r.toLowerCase())){t[r]=e[r]}else{t[r]=n}}return t}}t.Sanitizer=Sanitizer},9202:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_CYCLER_OPTIONS=void 0;t.createTokenCycler=createTokenCycler;const s=r(3034);t.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(e,t,r){async function tryGetAccessToken(){if(Date.now()e.getToken(t,r);s=beginRefresh(tryGetAccessToken,i.retryIntervalInMs,(A=n===null||n===void 0?void 0:n.expiresOnTimestamp)!==null&&A!==void 0?A:Date.now()).then((e=>{s=null;n=e;o=r.tenantId;return n})).catch((e=>{s=null;n=null;o=undefined;throw e}))}return s}return async(e,t)=>{const r=Boolean(t.claims);const s=o!==t.tenantId;if(r){n=null}const i=s||r||a.mustRefresh;if(i){return refresh(e,t)}if(a.shouldRefresh){refresh(e,t)}return n}}},2621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isNodeReadableStream=isNodeReadableStream;t.isWebReadableStream=isWebReadableStream;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 isReadableStream(e){return isNodeReadableStream(e)||isWebReadableStream(e)}function isBlob(e){return typeof e.stream==="function"}},8431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentHeaderName=getUserAgentHeaderName;t.getUserAgentValue=getUserAgentValue;const s=r(1848);const n=r(6427);function getUserAgentString(e){const t=[];for(const[r,s]of e){const e=s?`${r}/${s}`:r;t.push(e)}return t.join(" ")}function getUserAgentHeaderName(){return(0,s.getHeaderName)()}async function getUserAgentValue(e){const t=new Map;t.set("core-rest-pipeline",n.SDK_VERSION);await(0,s.setPlatformSpecificData)(t);const r=getUserAgentString(t);const o=e?`${e} ${r}`:r;return o}},1848:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHeaderName=getHeaderName;t.setPlatformSpecificData=setPlatformSpecificData;const s=r(1860);const n=s.__importStar(r(8161));const o=s.__importStar(r(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(e){if(o&&o.versions){const t=o.versions;if(t.bun){e.set("Bun",t.bun)}else if(t.deno){e.set("Deno",t.deno)}else if(t.node){e.set("Node",t.node)}}e.set("OS",`(${n.arch()}-${n.type()}-${n.release()})`)}},5455:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},3287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var s=r(5455);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return s.AbortError}})},623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createTracingClient=t.useInstrumenter=void 0;var s=r(8729);Object.defineProperty(t,"useInstrumenter",{enumerable:true,get:function(){return s.useInstrumenter}});var n=r(3438);Object.defineProperty(t,"createTracingClient",{enumerable:true,get:function(){return n.createTracingClient}})},8729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDefaultTracingSpan=createDefaultTracingSpan;t.createDefaultInstrumenter=createDefaultInstrumenter;t.useInstrumenter=useInstrumenter;t.getInstrumenter=getInstrumenter;const s=r(9186);const n=r(8914);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(e,t)=>({span:createDefaultTracingSpan(),tracingContext:(0,s.createTracingContext)({parentContext:t.tracingContext})}),withContext(e,t,...r){return t(...r)}}}function useInstrumenter(e){n.state.instrumenterImplementation=e}function getInstrumenter(){if(!n.state.instrumenterImplementation){n.state.instrumenterImplementation=createDefaultInstrumenter()}return n.state.instrumenterImplementation}},8914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.state=void 0;t.state={instrumenterImplementation:undefined}},3438:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createTracingClient=createTracingClient;const s=r(8729);const n=r(9186);function createTracingClient(e){const{namespace:t,packageName:r,packageVersion:o}=e;function startSpan(e,i,a){var A;const c=(0,s.getInstrumenter)().startSpan(e,Object.assign(Object.assign({},a),{packageName:r,packageVersion:o,tracingContext:(A=i===null||i===void 0?void 0:i.tracingOptions)===null||A===void 0?void 0:A.tracingContext}));let l=c.tracingContext;const u=c.span;if(!l.getValue(n.knownContextKeys.namespace)){l=l.setValue(n.knownContextKeys.namespace,t)}u.setAttribute("az.namespace",l.getValue(n.knownContextKeys.namespace));const d=Object.assign({},i,{tracingOptions:Object.assign(Object.assign({},i===null||i===void 0?void 0:i.tracingOptions),{tracingContext:l})});return{span:u,updatedOptions:d}}async function withSpan(e,t,r,s){const{span:n,updatedOptions:o}=startSpan(e,t,s);try{const e=await withContext(o.tracingOptions.tracingContext,(()=>Promise.resolve(r(o,n))));n.setStatus({status:"success"});return e}catch(e){n.setStatus({status:"error",error:e});throw e}finally{n.end()}}function withContext(e,t,...r){return(0,s.getInstrumenter)().withContext(e,t,...r)}function parseTraceparentHeader(e){return(0,s.getInstrumenter)().parseTraceparentHeader(e)}function createRequestHeaders(e){return(0,s.getInstrumenter)().createRequestHeaders(e)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},9186:(e,t)=>{"use strict";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 r=new TracingContextImpl(e.parentContext);if(e.span){r=r.setValue(t.knownContextKeys.span,e.span)}if(e.namespace){r=r.setValue(t.knownContextKeys.namespace,e.namespace)}return r}class TracingContextImpl{constructor(e){this._contextMap=e instanceof TracingContextImpl?new Map(e._contextMap):new Map}setValue(e,t){const r=new TracingContextImpl(this);r._contextMap.set(e,t);return r}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new TracingContextImpl(this);t._contextMap.delete(e);return t}}t.TracingContextImpl=TracingContextImpl},5209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(e,t){var r,s;const n=new AbortController;function abortHandler(){n.abort()}(r=t===null||t===void 0?void 0:t.abortSignal)===null||r===void 0?void 0:r.addEventListener("abort",abortHandler);try{return await Promise.race(e.map((e=>e({abortSignal:n.signal}))))}finally{n.abort();(s=t===null||t===void 0?void 0:t.abortSignal)===null||s===void 0?void 0:s.removeEventListener("abort",abortHandler)}}},2741:(e,t)=>{"use strict";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)}},8162:(e,t)=>{"use strict";var r,s,n,o;Object.defineProperty(t,"__esModule",{value:true});t.isReactNative=t.isNodeRuntime=t.isNode=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===null||self===void 0?void 0:self.importScripts)==="function"&&(((r=self.constructor)===null||r===void 0?void 0:r.name)==="DedicatedWorkerGlobalScope"||((s=self.constructor)===null||s===void 0?void 0:s.name)==="ServiceWorkerGlobalScope"||((n=self.constructor)===null||n===void 0?void 0:n.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((o=globalThis.process.versions)===null||o===void 0?void 0:o.node);t.isNode=t.isNodeLike;t.isNodeRuntime=t.isNodeLike&&!t.isBun&&!t.isDeno;t.isReactNative=typeof navigator!=="undefined"&&(navigator===null||navigator===void 0?void 0:navigator.product)==="ReactNative"},3128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createAbortablePromise=createAbortablePromise;const s=r(6492);function createAbortablePromise(e,t){const{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:o}=t!==null&&t!==void 0?t:{};return new Promise(((t,i)=>{function rejectOnAbort(){i(new s.AbortError(o!==null&&o!==void 0?o:"The operation was aborted."))}function removeListeners(){n===null||n===void 0?void 0:n.removeEventListener("abort",onAbort)}function onAbort(){r===null||r===void 0?void 0:r();removeListeners();rejectOnAbort()}if(n===null||n===void 0?void 0:n.aborted){return rejectOnAbort()}try{e((e=>{removeListeners();t(e)}),(e=>{removeListeners();i(e)}))}catch(e){i(e)}n===null||n===void 0?void 0:n.addEventListener("abort",onAbort)}))}},636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.delay=delay;t.calculateRetryDelay=calculateRetryDelay;const s=r(3128);const n=r(4196);const o="The delay was aborted.";function delay(e,t){let r;const{abortSignal:n,abortErrorMsg:i}=t!==null&&t!==void 0?t:{};return(0,s.createAbortablePromise)((t=>{r=setTimeout(t,e)}),{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i!==null&&i!==void 0?i:o})}function calculateRetryDelay(e,t){const r=t.retryDelayInMs*Math.pow(2,e);const s=Math.min(t.maxRetryDelayInMs,r);const o=s/2+(0,n.getRandomIntegerInclusive)(0,s/2);return{retryAfterInMs:o}}},9945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isError=isError;t.getErrorMessage=getErrorMessage;const s=r(7756);function isError(e){if((0,s.isObject)(e)){const t=typeof e.name==="string";const r=typeof e.message==="string";return t&&r}return false}function getErrorMessage(e){if(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}`}}},7779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stringToUint8Array=t.uint8ArrayToString=t.isWebWorker=t.isReactNative=t.isDeno=t.isNodeRuntime=t.isNodeLike=t.isNode=t.isBun=t.isBrowser=t.randomUUID=t.objectHasProperty=t.isObjectWithProperties=t.isDefined=t.computeSha256Hmac=t.computeSha256Hash=t.getErrorMessage=t.isError=t.isObject=t.getRandomIntegerInclusive=t.createAbortablePromise=t.cancelablePromiseRace=t.calculateRetryDelay=t.delay=void 0;var s=r(636);Object.defineProperty(t,"delay",{enumerable:true,get:function(){return s.delay}});Object.defineProperty(t,"calculateRetryDelay",{enumerable:true,get:function(){return s.calculateRetryDelay}});var n=r(5209);Object.defineProperty(t,"cancelablePromiseRace",{enumerable:true,get:function(){return n.cancelablePromiseRace}});var o=r(3128);Object.defineProperty(t,"createAbortablePromise",{enumerable:true,get:function(){return o.createAbortablePromise}});var i=r(4196);Object.defineProperty(t,"getRandomIntegerInclusive",{enumerable:true,get:function(){return i.getRandomIntegerInclusive}});var a=r(7756);Object.defineProperty(t,"isObject",{enumerable:true,get:function(){return a.isObject}});var A=r(9945);Object.defineProperty(t,"isError",{enumerable:true,get:function(){return A.isError}});Object.defineProperty(t,"getErrorMessage",{enumerable:true,get:function(){return A.getErrorMessage}});var c=r(9732);Object.defineProperty(t,"computeSha256Hash",{enumerable:true,get:function(){return c.computeSha256Hash}});Object.defineProperty(t,"computeSha256Hmac",{enumerable:true,get:function(){return c.computeSha256Hmac}});var l=r(6277);Object.defineProperty(t,"isDefined",{enumerable:true,get:function(){return l.isDefined}});Object.defineProperty(t,"isObjectWithProperties",{enumerable:true,get:function(){return l.isObjectWithProperties}});Object.defineProperty(t,"objectHasProperty",{enumerable:true,get:function(){return l.objectHasProperty}});var u=r(8795);Object.defineProperty(t,"randomUUID",{enumerable:true,get:function(){return u.randomUUID}});var d=r(8162);Object.defineProperty(t,"isBrowser",{enumerable:true,get:function(){return d.isBrowser}});Object.defineProperty(t,"isBun",{enumerable:true,get:function(){return d.isBun}});Object.defineProperty(t,"isNode",{enumerable:true,get:function(){return d.isNode}});Object.defineProperty(t,"isNodeLike",{enumerable:true,get:function(){return d.isNodeLike}});Object.defineProperty(t,"isNodeRuntime",{enumerable:true,get:function(){return d.isNodeRuntime}});Object.defineProperty(t,"isDeno",{enumerable:true,get:function(){return d.isDeno}});Object.defineProperty(t,"isReactNative",{enumerable:true,get:function(){return d.isReactNative}});Object.defineProperty(t,"isWebWorker",{enumerable:true,get:function(){return d.isWebWorker}});var p=r(2741);Object.defineProperty(t,"uint8ArrayToString",{enumerable:true,get:function(){return p.uint8ArrayToString}});Object.defineProperty(t,"stringToUint8Array",{enumerable:true,get:function(){return p.stringToUint8Array}})},7756:(e,t)=>{"use strict";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)}},4196:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRandomIntegerInclusive=getRandomIntegerInclusive;function getRandomIntegerInclusive(e,t){e=Math.ceil(e);t=Math.floor(t);const r=Math.floor(Math.random()*(t-e+1));return r+e}},9732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.computeSha256Hmac=computeSha256Hmac;t.computeSha256Hash=computeSha256Hash;const s=r(6982);async function computeSha256Hmac(e,t,r){const n=Buffer.from(e,"base64");return(0,s.createHmac)("sha256",n).update(t).digest(r)}async function computeSha256Hash(e,t){return(0,s.createHash)("sha256").update(e).digest(t)}},6277:(e,t)=>{"use strict";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 r of t){if(!objectHasProperty(e,r)){return false}}return true}function objectHasProperty(e,t){return isDefined(e)&&typeof e==="object"&&t in e}},8795:(e,t,r)=>{"use strict";var s;Object.defineProperty(t,"__esModule",{value:true});t.randomUUID=randomUUID;const n=r(6982);const o=typeof((s=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||s===void 0?void 0:s.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):n.randomUUID;function randomUUID(){return o()}},1658:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},6492:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var s=r(1658);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return s.AbortError}})},8756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=t.parseXML=t.stringifyXML=void 0;var s=r(8133);Object.defineProperty(t,"stringifyXML",{enumerable:true,get:function(){return s.stringifyXML}});Object.defineProperty(t,"parseXML",{enumerable:true,get:function(){return s.parseXML}});var n=r(3406);Object.defineProperty(t,"XML_ATTRKEY",{enumerable:true,get:function(){return n.XML_ATTRKEY}});Object.defineProperty(t,"XML_CHARKEY",{enumerable:true,get:function(){return n.XML_CHARKEY}})},3406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=void 0;t.XML_ATTRKEY="$";t.XML_CHARKEY="_"},8133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stringifyXML=stringifyXML;t.parseXML=parseXML;const s=r(9741);const n=r(3406);function getCommonOptions(e){var t;return{attributesGroupName:n.XML_ATTRKEY,textNodeName:(t=e.xmlCharKey)!==null&&t!==void 0?t:n.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(e={}){var t,r;return Object.assign(Object.assign({},getCommonOptions(e)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(t=e.rootName)!==null&&t!==void 0?t:"root",cdataPropName:(r=e.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}function getParserOptions(e={}){return Object.assign(Object.assign({},getCommonOptions(e)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:true})}function stringifyXML(e,t={}){const r=getSerializerOptions(t);const n=new s.XMLBuilder(r);const o={[r.rootNodeName]:e};const i=n.build(o);return`${i}`.replace(/\n/g,"")}async function parseXML(e,t={}){if(!e){throw new Error("Document is empty")}const r=s.XMLValidator.validate(e);if(r!==true){throw r}const n=new s.XMLParser(getParserOptions(t));const o=n.parse(e);if(o["?xml"]){delete o["?xml"]}if(!t.includeRoot){for(const e of Object.keys(o)){const t=o[e];return typeof t==="object"?Object.assign({},t):t}}return o}},1676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=r(6757);const n=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let o;let i=[];let a=[];const A=[];if(n){enable(n)}const c=Object.assign((e=>createDebugger(e)),{enable:enable,enabled:enabled,disable:disable,log:s.log});function enable(e){o=e;i=[];a=[];const t=/\*/g;const r=e.split(",").map((e=>e.trim().replace(t,".*?")));for(const e of r){if(e.startsWith("-")){a.push(new RegExp(`^${e.substr(1)}$`))}else{i.push(new RegExp(`^${e}$`))}}for(const e of A){e.enabled=enabled(e.namespace)}}function enabled(e){if(e.endsWith("*")){return true}for(const t of a){if(t.test(e)){return false}}for(const t of i){if(t.test(e)){return true}}return false}function disable(){const e=o||"";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(...r){if(!t.enabled){return}if(r.length>0){r[0]=`${e} ${r[0]}`}t.log(...r)}A.push(t);return t}function destroy(){const e=A.indexOf(this);if(e>=0){A.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},6515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureLogger=void 0;t.setLogLevel=setLogLevel;t.getLogLevel=getLogLevel;t.createClientLogger=createClientLogger;const s=r(1860);const n=s.__importDefault(r(1676));const o=new Set;const i=typeof process!=="undefined"&&process.env&&process.env.AZURE_LOG_LEVEL||undefined;let a;t.AzureLogger=(0,n.default)("azure");t.AzureLogger.log=(...e)=>{n.default.log(...e)};const A=["verbose","info","warning","error"];if(i){if(isAzureLogLevel(i)){setLogLevel(i)}else{console.error(`AZURE_LOG_LEVEL set to unknown log level '${i}'; logging is not enabled. Acceptable values: ${A.join(", ")}.`)}}function setLogLevel(e){if(e&&!isAzureLogLevel(e)){throw new Error(`Unknown log level '${e}'. Acceptable values: ${A.join(",")}`)}a=e;const t=[];for(const e of o){if(shouldEnable(e)){t.push(e.namespace)}}n.default.enable(t.join(","))}function getLogLevel(){return a}const c={verbose:400,info:300,warning:200,error:100};function createClientLogger(e){const r=t.AzureLogger.extend(e);patchLogMethod(t.AzureLogger,r);return{error:createLogger(r,"error"),warning:createLogger(r,"warning"),info:createLogger(r,"info"),verbose:createLogger(r,"verbose")}}function patchLogMethod(e,t){t.log=(...t)=>{e.log(...t)}}function createLogger(e,t){const r=Object.assign(e.extend(t),{level:t});patchLogMethod(e,r);if(shouldEnable(r)){const e=n.default.disable();n.default.enable(e+","+r.namespace)}o.add(r);return r}function shouldEnable(e){return Boolean(a&&c[e.level]<=c[a])}function isAzureLogLevel(e){return A.includes(e)}},6757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.log=log;const s=r(1860);const n=r(8161);const o=s.__importDefault(r(7975));const i=s.__importStar(r(1708));function log(e,...t){i.stderr.write(`${o.default.format(e,...t)}${n.EOL}`)}},4841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}t.AbortError=AbortError},4517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var s=r(4841);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return s.AbortError}})},7182:(e,t,r)=>{"use strict";const s=r(7075).Writable;const n=r(7975).inherits;const o=r(4136);const i=r(612);const a=r(2271);const A=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}s.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 a(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}n(Dicer,s);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{s.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser){return r()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new i(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{"use strict";const s=r(8474).EventEmitter;const n=r(7975).inherits;const o=r(2393);const i=r(4136);const a=Buffer.from("\r\n\r\n");const A=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){s.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=o(e,"maxHeaderPairs",2e3);this.maxHeaderSize=o(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new i(a);this.ss.on("info",(function(e,r,s,n){if(r&&!t.maxed){if(t.nread+n-s>=t.maxHeaderSize){n=t.maxHeaderSize-t.nread+s;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=n-s}t.buffer+=r.toString("binary",s,n)}if(e){t._finish()}}))}n(HeaderParser,s);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(A);const t=e.length;let r,s;for(var n=0;n{"use strict";const s=r(7975).inherits;const n=r(7075).Readable;function PartStream(e){n.call(this,e)}s(PartStream,n);PartStream.prototype._read=function(e){};e.exports=PartStream},4136:(e,t,r)=>{"use strict";const s=r(8474).EventEmitter;const n=r(7975).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 r=0;r=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const r=this._lookbehind_size+o;if(r>0){this.emit("info",false,this._lookbehind,0,r)}this._lookbehind.copy(this._lookbehind,0,r,this._lookbehind_size-r);this._lookbehind_size-=r;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}o+=(o>=0)*this._bufpos;if(e.indexOf(r,o)!==-1){o=e.indexOf(r,o);++this.matches;if(o>0){this.emit("info",true,e,this._bufpos,o)}else{this.emit("info",true)}return this._bufpos=o+s}else{o=t-s}while(o0){this.emit("info",false,e,this._bufpos,o{"use strict";const s=r(7075).Writable;const{inherits:n}=r(7975);const o=r(7182);const i=r(1192);const a=r(855);const A=r(8929);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,...r}=e;this.opts={autoDestroy:false,...r};s.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}n(Busboy,s);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}s.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=A(e["content-type"]);const r={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(i.detect.test(t[0])){return new i(this,r)}if(a.detect.test(t[0])){return new a(this,r)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,r){this._parser.write(e,r)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=o},1192:(e,t,r)=>{"use strict";const{Readable:s}=r(7075);const{inherits:n}=r(7975);const o=r(7182);const i=r(8929);const a=r(2747);const A=r(692);const c=r(2393);const l=/^boundary$/i;const u=/^form-data$/i;const d=/^charset$/i;const p=/^filename$/i;const g=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let r;let s;const n=this;let m;const h=t.limits;const E=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const C=t.parsedConType||[];const y=t.defCharset||"utf8";const I=t.preservePath;const B={highWaterMark:t.fileHwm};for(r=0,s=C.length;rw){n.parser.removeListener("part",onPart);n.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(k){const e=k;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(o){let c;let l;let m;let h;let C;let w;let N=0;if(o["content-type"]){m=i(o["content-type"][0]);if(m[0]){c=m[0].toLowerCase();for(r=0,s=m.length;rb){const s=b-N+e.length;if(s>0){r.push(e.slice(0,s))}r.truncated=true;r.bytesRead=b;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){n._pause=true}r.bytesRead=N};O=function(){P=undefined;r.push(null)}}else{if(D===R){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++D;++T;let r="";let s=false;k=t;v=function(e){if((N+=e.length)>Q){const n=Q-(N-e.length);r+=e.toString("binary",0,n);s=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};O=function(){k=undefined;if(r.length){r=a(r,"binary",h)}e.emit("field",l,r,false,s,C,c);--T;checkFinished()}}t._readableState.sync=false;t.on("data",v);t.on("end",O)})).on("error",(function(e){if(P){P.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){O=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const r=this.parser.write(e);if(r&&!this._pause){t()}else{this._needDrain=!r;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){s.call(this,e);this.bytesRead=0;this.truncated=false}n(FileStream,s);FileStream.prototype._read=function(e){};e.exports=Multipart},855:(e,t,r)=>{"use strict";const s=r(1496);const n=r(2747);const o=r(2393);const i=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const n=t.parsedConType;this.boy=e;this.fieldSizeLimit=o(r,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=o(r,"fieldNameSize",100);this.fieldsLimit=o(r,"fields",Infinity);let a;for(var A=0,c=n.length;Ai){this._key+=this.decoder.write(e.toString("binary",i,r))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();i=r+1}else if(s!==undefined){++this._fields;let r;const o=this._keyTrunc;if(s>i){r=this._key+=this.decoder.write(e.toString("binary",i,s))}else{r=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(r.length){this.boy.emit("field",n(r,"binary",this.charset),"",o,false)}i=s+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(o>i){this._key+=this.decoder.write(e.toString("binary",i,o))}i=o;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(ii){this._val+=this.decoder.write(e.toString("binary",i,s))}this.boy.emit("field",n(this._key,"binary",this.charset),n(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();i=s+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(o>i){this._val+=this.decoder.write(e.toString("binary",i,o))}i=o;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(i0){this.boy.emit("field",n(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",n(this._key,"binary",this.charset),n(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},1496:e=>{"use strict";const t=/\+/g;const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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 s="";let n=0;let o=0;const i=e.length;for(;no){s+=e.substring(o,n);o=n}this.buffer="";++o}}if(o{"use strict";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}},2747:function(e){"use strict";const t=new TextDecoder("utf-8");const r=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return s.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return s.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return s.utf16le;case"base64":return s.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return s.other.bind(e)}}}const s={utf8:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.utf8Slice(0,e.length)},latin1:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.ucs2Slice(0,e.length)},base64:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.base64Slice(0,e.length)},other:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}if(r.has(this.toString())){try{return r.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},2393:e=>{"use strict";e.exports=function getLimit(e,t,r){if(!e||e[t]===undefined||e[t]===null){return r}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},8929:(e,t,r)=>{"use strict";const s=r(2747);const n=/%[a-fA-F0-9][a-fA-F0-9]/g;const o={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return o[e]}const i=0;const a=1;const A=2;const c=3;function parseParams(e){const t=[];let r=i;let o="";let l=false;let u=false;let d=0;let p="";const g=e.length;for(var m=0;m{"use strict";t.__esModule=true;t.parseArgsStringToArgv=void 0;function parseArgsStringToArgv(e,t,r){var s=/([^\s'"]([^\s'"]*(['"])([^\3]*?)\3)+[^\s'"]*)|[^\s'"]+|(['"])([^\5]*?)\5/gi;var n=e;var o=[];if(t){o.push(t)}if(r){o.push(r)}var i;do{i=s.exec(n);if(i!==null){o.push(firstString(i[1],i[6],i[0]))}}while(i!==null);return o}t["default"]=parseArgsStringToArgv;t.parseArgsStringToArgv=parseArgsStringToArgv;function firstString(){var e=[];for(var t=0;t