mirror of
https://github.com/pnpm/action-setup.git
synced 2025-12-09 05:53:31 +08:00
* add pnpm store caching * style: format * no semicolons * no star imports * import order * style: no star imports --------- Co-authored-by: khai96_ <hvksmr1996@gmail.com>
10 lines
1.4 MiB
10 lines
1.4 MiB
(()=>{var __webpack_modules__={64928:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.restoreCache=restoreCache;const i=n(18715);const o=n(59999);const d=n(93573);async function restoreCache(e){if(!e.cache)return;if(!(0,i.isFeatureAvailable)()){(0,o.warning)("Cache is not available, skipping cache restoration");return}(0,o.startGroup)("Restoring cache...");await(0,d.runRestoreCache)(e);(0,o.endGroup)()}t["default"]=restoreCache},93573:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.runRestoreCache=runRestoreCache;const o=n(18715);const d=n(59999);const p=n(58872);const f=n(8505);const y=i(n(70857));async function runRestoreCache(e){const t=await getCacheDirectory();(0,d.saveState)("cache_path",t);const n=await(0,f.hashFiles)(e.cacheDependencyPath);if(!n){throw new Error("Some specified paths were not resolved, unable to cache dependencies.")}const i=`pnpm-cache-${process.env.RUNNER_OS}-${y.default.arch()}-${n}`;(0,d.debug)(`Primary key is ${i}`);(0,d.saveState)("cache_primary_key",i);let p=await(0,o.restoreCache)([t],i);(0,d.setOutput)("cache-hit",Boolean(p));if(!p){(0,d.info)(`Cache is not found`);return}(0,d.saveState)("cache_restored_key",p);(0,d.info)(`Cache restored from key: ${p}`)}async function getCacheDirectory(){const{stdout:e}=await(0,p.getExecOutput)("pnpm store path --silent");const t=e.trim();(0,d.debug)(`Cache folder is set to "${t}"`);return t}},26171:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.saveCache=saveCache;const i=n(59999);const o=n(98086);async function saveCache(e){if(!e.cache)return;try{await(0,o.runSaveCache)()}catch(e){(0,i.setFailed)(e.message)}}t["default"]=saveCache},98086:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.runSaveCache=runSaveCache;const i=n(18715);const o=n(59999);async function runSaveCache(){const e=(0,o.getState)("cache_restored_key");const t=(0,o.getState)("cache_primary_key");const n=(0,o.getState)("cache_path");if(t===e){(0,o.info)(`Cache hit occurred on the primary key ${t}, not saving cache.`);return}const d=await(0,i.saveCache)([n],t);if(d==-1)return;(0,o.info)(`Cache saved with the key: ${t}`)}},21046:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const o=n(59999);const d=i(n(64928));const p=i(n(26171));const f=i(n(66414));const y=i(n(13144));const v=i(n(9596));const D=i(n(4728));const M=i(n(96879));async function main(){const e=(0,f.default)();if((0,o.getState)("is_post")==="true"){await runPost(e)}else{await runMain(e)}}async function runMain(e){(0,o.saveState)("is_post","true");await(0,y.default)(e);console.log("Installation Completed!");(0,v.default)(e);await(0,d.default)(e);(0,D.default)(e)}async function runPost(e){(0,M.default)(e);await(0,p.default)(e)}main().catch((e=>{console.error(e);(0,o.setFailed)(e)}))},66414:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getInputs=void 0;const o=n(59999);const d=i(n(66746));const p=n(9065);const f={required:true};const parseInputPath=e=>(0,d.default)((0,o.getInput)(e,f));const getInputs=()=>({version:(0,o.getInput)("version"),dest:parseInputPath("dest"),cache:(0,o.getBooleanInput)("cache"),cacheDependencyPath:parseInputPath("cache_dependency_path"),runInstall:(0,p.parseRunInstall)("run_install"),packageJsonFile:parseInputPath("package_json_file"),standalone:(0,o.getBooleanInput)("standalone")});t.getInputs=getInputs;t["default"]=t.getInputs},9065:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),d=0;d<n.length;d++)if(n[d]!=="default")i(t,e,n[d]);o(t,e);return t}}();Object.defineProperty(t,"__esModule",{value:true});t.parseRunInstall=parseRunInstall;const p=n(59999);const f=d(n(87669));const y=n(66516);const v=y.z.object({recursive:y.z.boolean().optional(),cwd:y.z.string().optional(),args:y.z.array(y.z.string()).optional()});const D=y.z.union([y.z.null(),y.z.boolean(),v,y.z.array(v)]);function parseRunInstall(e){const t=(0,p.getInput)(e,{required:true});const n=f.parse(t);try{const e=D.parse(n);if(!e)return[];if(e===true)return[{recursive:true}];if(Array.isArray(e))return e;return[e]}catch(n){(0,p.error)(`Error for input "${e}" = ${t}`);if(n instanceof y.ZodError){(0,p.error)(`Errors: ${n.errors}`)}else{(0,p.error)(`Exception: ${n}`)}process.exit(1)}}},13144:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.runSelfInstaller=void 0;t.install=install;const o=n(59999);const d=i(n(77053));t.runSelfInstaller=d.default;async function install(e){(0,o.startGroup)("Running self-installer...");const t=await(0,d.default)(e);(0,o.endGroup)();if(t){return(0,o.setFailed)(`Something went wrong, self-installer exits with code ${t}`)}}t["default"]=install},77053:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.runSelfInstaller=runSelfInstaller;const o=n(59999);const d=n(35317);const p=n(91943);const f=n(79896);const y=i(n(16928));const v=n(932);const D=i(n(39023));const M=i(n(87669));async function runSelfInstaller(e){const{version:t,dest:n,packageJsonFile:i,standalone:f}=e;const{GITHUB_WORKSPACE:M}=process.env;await(0,p.rm)(n,{recursive:true,force:true});await(0,p.mkdir)(n,{recursive:true});const U=y.default.join(n,"package.json");await(0,p.writeFile)(U,JSON.stringify({private:true}));if(M){try{await(0,p.copyFile)(y.default.join(M,".npmrc"),y.default.join(n,".npmrc"))}catch(e){if(!D.default.types.isNativeError(e)||!("code"in e)||e.code!=="ENOENT")throw e}}const j=await readTarget({version:t,packageJsonFile:i,standalone:f});const V=(0,d.spawn)(v.execPath,[y.default.join(__dirname,"pnpm.cjs"),"install",j,"--no-lockfile"],{cwd:n,stdio:["pipe","inherit","inherit"]});const K=await new Promise(((e,t)=>{V.on("error",t);V.on("close",e)}));if(K===0){const e=y.default.join(n,"node_modules/.bin");(0,o.addPath)(e);(0,o.exportVariable)("PNPM_HOME",e)}return K}async function readTarget(e){const{version:t,packageJsonFile:n,standalone:i}=e;const{GITHUB_WORKSPACE:o}=process.env;let d;if(o){try{const e=(0,f.readFileSync)(y.default.join(o,n),"utf8");({packageManager:d}=n.endsWith(".yaml")?M.default.parse(e,{merge:true}):JSON.parse(e))}catch(e){if(!D.default.types.isNativeError(e)||!("code"in e)||e.code!=="ENOENT")throw e}}if(t){if(typeof d==="string"&&d.startsWith("pnpm@")&&d.replace("pnpm@","")!==t){throw new Error(`Multiple versions of pnpm specified:\n - version ${t} in the GitHub Action config with the key "version"\n - version ${d} in the package.json with the key "packageManager"\nRemove one of these versions to avoid version mismatch errors like ERR_PNPM_BAD_PM_VERSION`)}return`${i?"@pnpm/exe":"pnpm"}@${t}`}if(!o){throw new Error(`No workspace is found.\nIf you've intended to let pnpm/action-setup read preferred pnpm version from the "packageManager" field in the package.json file,\nplease run the actions/checkout before pnpm/action-setup.\nOtherwise, please specify the pnpm version in the action configuration.`)}if(typeof d!=="string"){throw new Error(`No pnpm version is specified.\nPlease specify it by one of the following ways:\n - in the GitHub Action config with the key "version"\n - in the package.json with the key "packageManager"`)}if(!d.startsWith("pnpm@")){throw new Error("Invalid packageManager field in package.json")}if(i){return d.replace("pnpm@","@pnpm/exe@")}return d}t["default"]=runSelfInstaller},9596:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.setOutputs=setOutputs;const i=n(59999);const o=n(33872);function setOutputs(e){const t=(0,o.getBinDest)(e);(0,i.addPath)(t);(0,i.setOutput)("dest",e.dest);(0,i.setOutput)("bin_dest",t)}t["default"]=setOutputs},4728:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.runPnpmInstall=runPnpmInstall;const i=n(59999);const o=n(35317);const d=n(33872);function runPnpmInstall(e){const t=(0,d.patchPnpmEnv)(e);for(const n of e.runInstall){const e=["install"];if(n.recursive)e.unshift("recursive");if(n.args)e.push(...n.args);const d=["pnpm",...e].join(" ");(0,i.startGroup)(`Running ${d}...`);const{error:p,status:f}=(0,o.spawnSync)("pnpm",e,{stdio:"inherit",cwd:n.cwd,shell:true,env:t});(0,i.endGroup)();if(p){(0,i.setFailed)(p);continue}if(f){(0,i.setFailed)(`Command ${d} (cwd: ${n.cwd}) exits with status ${f}`);continue}}}t["default"]=runPnpmInstall},96879:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pruneStore=pruneStore;const i=n(59999);const o=n(35317);const d=n(33872);function pruneStore(e){if(e.runInstall.length===0){console.log("Pruning is unnecessary.");return}(0,i.startGroup)("Running pnpm store prune...");const{error:t,status:n}=(0,o.spawnSync)("pnpm",["store","prune"],{stdio:"inherit",shell:true,env:(0,d.patchPnpmEnv)(e)});(0,i.endGroup)();if(t){(0,i.warning)(t);return}if(n){(0,i.warning)(`command pnpm store prune exits with code ${n}`);return}}t["default"]=pruneStore},33872:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.patchPnpmEnv=t.getBinDest=void 0;const o=i(n(16928));const d=i(n(932));const getBinDest=e=>o.default.join(e.dest,"node_modules",".bin");t.getBinDest=getBinDest;const patchPnpmEnv=e=>({...d.default.env,PATH:(0,t.getBinDest)(e)+o.default.delimiter+d.default.env.PATH});t.patchPnpmEnv=patchPnpmEnv},18715:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.saveCache=t.restoreCache=t.isFeatureAvailable=t.FinalizeCacheError=t.ReserveCacheError=t.ValidationError=void 0;const f=d(n(59999));const y=d(n(16928));const v=d(n(26400));const D=d(n(95046));const M=d(n(31650));const U=n(35909);const j=n(84920);const V=n(80787);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;class FinalizeCacheError extends Error{constructor(e){super(e);this.name="FinalizeCacheError";Object.setPrototypeOf(this,FinalizeCacheError.prototype)}}t.FinalizeCacheError=FinalizeCacheError;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(){const e=(0,U.getCacheServiceVersion)();switch(e){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}t.isFeatureAvailable=isFeatureAvailable;function restoreCache(e,t,n,i,o=false){return p(this,void 0,void 0,(function*(){const d=(0,U.getCacheServiceVersion)();f.debug(`Cache service version: ${d}`);checkPaths(e);switch(d){case"v2":return yield restoreCacheV2(e,t,n,i,o);case"v1":default:return yield restoreCacheV1(e,t,n,i,o)}}))}t.restoreCache=restoreCache;function restoreCacheV1(e,t,n,i,o=false){return p(this,void 0,void 0,(function*(){n=n||[];const d=[t,...n];f.debug("Resolved Keys:");f.debug(JSON.stringify(d));if(d.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of d){checkKey(e)}const p=yield v.getCompressionMethod();let M="";try{const t=yield D.getCacheEntry(d,e,{compressionMethod:p,enableCrossOsArchive:o});if(!(t===null||t===void 0?void 0:t.archiveLocation)){return undefined}if(i===null||i===void 0?void 0:i.lookupOnly){f.info("Lookup only - skipping download");return t.cacheKey}M=y.join(yield v.createTempDirectory(),v.getCacheFileName(p));f.debug(`Archive Path: ${M}`);yield D.downloadCache(t.archiveLocation,M,i);if(f.isDebug()){yield(0,j.listTar)(M,p)}const n=v.getArchiveFileSizeInBytes(M);f.info(`Cache Size: ~${Math.round(n/(1024*1024))} MB (${n} B)`);yield(0,j.extractTar)(M,p);f.info("Cache restored successfully");return t.cacheKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){f.error(`Failed to restore: ${e.message}`)}else{f.warning(`Failed to restore: ${e.message}`)}}}finally{try{yield v.unlinkFile(M)}catch(e){f.debug(`Failed to delete archive: ${e}`)}}return undefined}))}function restoreCacheV2(e,t,n,i,o=false){return p(this,void 0,void 0,(function*(){i=Object.assign(Object.assign({},i),{useAzureSdk:true});n=n||[];const d=[t,...n];f.debug("Resolved Keys:");f.debug(JSON.stringify(d));if(d.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of d){checkKey(e)}let p="";try{const U=M.internalCacheTwirpClient();const V=yield v.getCompressionMethod();const K={key:t,restoreKeys:n,version:v.getCacheVersion(e,V,o)};const ee=yield U.GetCacheEntryDownloadURL(K);if(!ee.ok){f.debug(`Cache not found for version ${K.version} of keys: ${d.join(", ")}`);return undefined}const te=K.key!==ee.matchedKey;if(te){f.info(`Cache hit for restore-key: ${ee.matchedKey}`)}else{f.info(`Cache hit for: ${ee.matchedKey}`)}if(i===null||i===void 0?void 0:i.lookupOnly){f.info("Lookup only - skipping download");return ee.matchedKey}p=y.join(yield v.createTempDirectory(),v.getCacheFileName(V));f.debug(`Archive path: ${p}`);f.debug(`Starting download of archive to: ${p}`);yield D.downloadCache(ee.signedDownloadUrl,p,i);const re=v.getArchiveFileSizeInBytes(p);f.info(`Cache Size: ~${Math.round(re/(1024*1024))} MB (${re} B)`);if(f.isDebug()){yield(0,j.listTar)(p,V)}yield(0,j.extractTar)(p,V);f.info("Cache restored successfully");return ee.matchedKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){f.error(`Failed to restore: ${e.message}`)}else{f.warning(`Failed to restore: ${e.message}`)}}}finally{try{if(p){yield v.unlinkFile(p)}}catch(e){f.debug(`Failed to delete archive: ${e}`)}}return undefined}))}function saveCache(e,t,n,i=false){return p(this,void 0,void 0,(function*(){const o=(0,U.getCacheServiceVersion)();f.debug(`Cache service version: ${o}`);checkPaths(e);checkKey(t);switch(o){case"v2":return yield saveCacheV2(e,t,n,i);case"v1":default:return yield saveCacheV1(e,t,n,i)}}))}t.saveCache=saveCache;function saveCacheV1(e,t,n,i=false){var o,d,M,K,ee;return p(this,void 0,void 0,(function*(){const p=yield v.getCompressionMethod();let te=-1;const re=yield v.resolvePaths(e);f.debug("Cache Paths:");f.debug(`${JSON.stringify(re)}`);if(re.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const ne=yield v.createTempDirectory();const se=y.join(ne,v.getCacheFileName(p));f.debug(`Archive Path: ${se}`);try{yield(0,j.createTar)(ne,re,p);if(f.isDebug()){yield(0,j.listTar)(se,p)}const y=10*1024*1024*1024;const V=v.getArchiveFileSizeInBytes(se);f.debug(`File Size: ${V}`);if(V>y&&!(0,U.isGhes)()){throw new Error(`Cache size of ~${Math.round(V/(1024*1024))} MB (${V} B) is over the 10GB limit, not saving cache.`)}f.debug("Reserving Cache");const ie=yield D.reserveCache(t,e,{compressionMethod:p,enableCrossOsArchive:i,cacheSize:V});if((o=ie===null||ie===void 0?void 0:ie.result)===null||o===void 0?void 0:o.cacheId){te=(d=ie===null||ie===void 0?void 0:ie.result)===null||d===void 0?void 0:d.cacheId}else if((ie===null||ie===void 0?void 0:ie.statusCode)===400){throw new Error((K=(M=ie===null||ie===void 0?void 0:ie.error)===null||M===void 0?void 0:M.message)!==null&&K!==void 0?K:`Cache size of ~${Math.round(V/(1024*1024))} MB (${V} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache. More details: ${(ee=ie===null||ie===void 0?void 0:ie.error)===null||ee===void 0?void 0:ee.message}`)}f.debug(`Saving Cache (ID: ${te})`);yield D.saveCache(te,se,"",n)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){f.info(`Failed to save: ${t.message}`)}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){f.error(`Failed to save: ${t.message}`)}else{f.warning(`Failed to save: ${t.message}`)}}}finally{try{yield v.unlinkFile(se)}catch(e){f.debug(`Failed to delete archive: ${e}`)}}return te}))}function saveCacheV2(e,t,n,i=false){return p(this,void 0,void 0,(function*(){n=Object.assign(Object.assign({},n),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const o=yield v.getCompressionMethod();const d=M.internalCacheTwirpClient();let p=-1;const U=yield v.resolvePaths(e);f.debug("Cache Paths:");f.debug(`${JSON.stringify(U)}`);if(U.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 K=yield v.createTempDirectory();const ee=y.join(K,v.getCacheFileName(o));f.debug(`Archive Path: ${ee}`);try{yield(0,j.createTar)(K,U,o);if(f.isDebug()){yield(0,j.listTar)(ee,o)}const y=v.getArchiveFileSizeInBytes(ee);f.debug(`File Size: ${y}`);n.archiveSizeBytes=y;f.debug("Reserving Cache");const M=v.getCacheVersion(e,o,i);const V={key:t,version:M};let te;try{const e=yield d.CreateCacheEntry(V);if(!e.ok){if(e.message){f.warning(`Cache reservation failed: ${e.message}`)}throw new Error(e.message||"Response was not ok")}te=e.signedUploadUrl}catch(e){f.debug(`Failed to reserve cache: ${e}`);throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache.`)}f.debug(`Attempting to upload cache located at: ${ee}`);yield D.saveCache(p,ee,te,n);const re={key:t,version:M,sizeBytes:`${y}`};const ne=yield d.FinalizeCacheEntryUpload(re);f.debug(`FinalizeCacheEntryUploadResponse: ${ne.ok}`);if(!ne.ok){if(ne.message){throw new FinalizeCacheError(ne.message)}throw new Error(`Unable to finalize cache with key ${t}, another job may be finalizing this cache.`)}p=parseInt(ne.entryId)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){f.info(`Failed to save: ${t.message}`)}else if(t.name===FinalizeCacheError.name){f.warning(t.message)}else{if(t instanceof V.HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){f.error(`Failed to save: ${t.message}`)}else{f.warning(`Failed to save: ${t.message}`)}}}finally{try{yield v.unlinkFile(ee)}catch(e){f.debug(`Failed to delete archive: ${e}`)}}return p}))}},16925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CacheService=t.GetCacheEntryDownloadURLResponse=t.GetCacheEntryDownloadURLRequest=t.FinalizeCacheEntryUploadResponse=t.FinalizeCacheEntryUploadRequest=t.CreateCacheEntryResponse=t.CreateCacheEntryRequest=void 0;const i=n(42229);const o=n(66765);const d=n(66765);const p=n(66765);const f=n(66765);const y=n(66765);const v=n(32775);class CreateCacheEntryRequest$Type extends y.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>v.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",version:""};globalThis.Object.defineProperty(t,f.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,p.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,i){let o=i!==null&&i!==void 0?i:this.create(),p=e.pos+t;while(e.pos<p){let[t,i]=e.tag();switch(t){case 1:o.metadata=v.CacheMetadata.internalBinaryRead(e,e.uint32(),n,o.metadata);break;case 2:o.key=e.string();break;case 3:o.version=e.string();break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);let f=e.skip(i);if(p!==false)(p===true?d.UnknownFieldHandler.onRead:p)(this.typeName,o,t,i,f)}}return o}internalBinaryWrite(e,t,n){if(e.metadata)v.CacheMetadata.internalBinaryWrite(e.metadata,t.tag(1,o.WireType.LengthDelimited).fork(),n).join();if(e.key!=="")t.tag(2,o.WireType.LengthDelimited).string(e.key);if(e.version!=="")t.tag(3,o.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;if(i!==false)(i==true?d.UnknownFieldHandler.onWrite:i)(this.typeName,e,t);return t}}t.CreateCacheEntryRequest=new CreateCacheEntryRequest$Type;class CreateCacheEntryResponse$Type extends y.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9},{no:3,name:"message",kind:"scalar",T:9}])}create(e){const t={ok:false,signedUploadUrl:"",message:""};globalThis.Object.defineProperty(t,f.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,p.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,i){let o=i!==null&&i!==void 0?i:this.create(),p=e.pos+t;while(e.pos<p){let[t,i]=e.tag();switch(t){case 1:o.ok=e.bool();break;case 2:o.signedUploadUrl=e.string();break;case 3:o.message=e.string();break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);let f=e.skip(i);if(p!==false)(p===true?d.UnknownFieldHandler.onRead:p)(this.typeName,o,t,i,f)}}return o}internalBinaryWrite(e,t,n){if(e.ok!==false)t.tag(1,o.WireType.Varint).bool(e.ok);if(e.signedUploadUrl!=="")t.tag(2,o.WireType.LengthDelimited).string(e.signedUploadUrl);if(e.message!=="")t.tag(3,o.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;if(i!==false)(i==true?d.UnknownFieldHandler.onWrite:i)(this.typeName,e,t);return t}}t.CreateCacheEntryResponse=new CreateCacheEntryResponse$Type;class FinalizeCacheEntryUploadRequest$Type extends y.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>v.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(t,f.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,p.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,i){let o=i!==null&&i!==void 0?i:this.create(),p=e.pos+t;while(e.pos<p){let[t,i]=e.tag();switch(t){case 1:o.metadata=v.CacheMetadata.internalBinaryRead(e,e.uint32(),n,o.metadata);break;case 2:o.key=e.string();break;case 3:o.sizeBytes=e.int64().toString();break;case 4:o.version=e.string();break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);let f=e.skip(i);if(p!==false)(p===true?d.UnknownFieldHandler.onRead:p)(this.typeName,o,t,i,f)}}return o}internalBinaryWrite(e,t,n){if(e.metadata)v.CacheMetadata.internalBinaryWrite(e.metadata,t.tag(1,o.WireType.LengthDelimited).fork(),n).join();if(e.key!=="")t.tag(2,o.WireType.LengthDelimited).string(e.key);if(e.sizeBytes!=="0")t.tag(3,o.WireType.Varint).int64(e.sizeBytes);if(e.version!=="")t.tag(4,o.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;if(i!==false)(i==true?d.UnknownFieldHandler.onWrite:i)(this.typeName,e,t);return t}}t.FinalizeCacheEntryUploadRequest=new FinalizeCacheEntryUploadRequest$Type;class FinalizeCacheEntryUploadResponse$Type extends y.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"entry_id",kind:"scalar",T:3},{no:3,name:"message",kind:"scalar",T:9}])}create(e){const t={ok:false,entryId:"0",message:""};globalThis.Object.defineProperty(t,f.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,p.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,i){let o=i!==null&&i!==void 0?i:this.create(),p=e.pos+t;while(e.pos<p){let[t,i]=e.tag();switch(t){case 1:o.ok=e.bool();break;case 2:o.entryId=e.int64().toString();break;case 3:o.message=e.string();break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);let f=e.skip(i);if(p!==false)(p===true?d.UnknownFieldHandler.onRead:p)(this.typeName,o,t,i,f)}}return o}internalBinaryWrite(e,t,n){if(e.ok!==false)t.tag(1,o.WireType.Varint).bool(e.ok);if(e.entryId!=="0")t.tag(2,o.WireType.Varint).int64(e.entryId);if(e.message!=="")t.tag(3,o.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;if(i!==false)(i==true?d.UnknownFieldHandler.onWrite:i)(this.typeName,e,t);return t}}t.FinalizeCacheEntryUploadResponse=new FinalizeCacheEntryUploadResponse$Type;class GetCacheEntryDownloadURLRequest$Type extends y.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>v.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(t,f.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,p.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,i){let o=i!==null&&i!==void 0?i:this.create(),p=e.pos+t;while(e.pos<p){let[t,i]=e.tag();switch(t){case 1:o.metadata=v.CacheMetadata.internalBinaryRead(e,e.uint32(),n,o.metadata);break;case 2:o.key=e.string();break;case 3:o.restoreKeys.push(e.string());break;case 4:o.version=e.string();break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);let f=e.skip(i);if(p!==false)(p===true?d.UnknownFieldHandler.onRead:p)(this.typeName,o,t,i,f)}}return o}internalBinaryWrite(e,t,n){if(e.metadata)v.CacheMetadata.internalBinaryWrite(e.metadata,t.tag(1,o.WireType.LengthDelimited).fork(),n).join();if(e.key!=="")t.tag(2,o.WireType.LengthDelimited).string(e.key);for(let n=0;n<e.restoreKeys.length;n++)t.tag(3,o.WireType.LengthDelimited).string(e.restoreKeys[n]);if(e.version!=="")t.tag(4,o.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;if(i!==false)(i==true?d.UnknownFieldHandler.onWrite:i)(this.typeName,e,t);return t}}t.GetCacheEntryDownloadURLRequest=new GetCacheEntryDownloadURLRequest$Type;class GetCacheEntryDownloadURLResponse$Type extends y.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_download_url",kind:"scalar",T:9},{no:3,name:"matched_key",kind:"scalar",T:9}])}create(e){const t={ok:false,signedDownloadUrl:"",matchedKey:""};globalThis.Object.defineProperty(t,f.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,p.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,i){let o=i!==null&&i!==void 0?i:this.create(),p=e.pos+t;while(e.pos<p){let[t,i]=e.tag();switch(t){case 1:o.ok=e.bool();break;case 2:o.signedDownloadUrl=e.string();break;case 3:o.matchedKey=e.string();break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);let f=e.skip(i);if(p!==false)(p===true?d.UnknownFieldHandler.onRead:p)(this.typeName,o,t,i,f)}}return o}internalBinaryWrite(e,t,n){if(e.ok!==false)t.tag(1,o.WireType.Varint).bool(e.ok);if(e.signedDownloadUrl!=="")t.tag(2,o.WireType.LengthDelimited).string(e.signedDownloadUrl);if(e.matchedKey!=="")t.tag(3,o.WireType.LengthDelimited).string(e.matchedKey);let i=n.writeUnknownFields;if(i!==false)(i==true?d.UnknownFieldHandler.onWrite:i)(this.typeName,e,t);return t}}t.GetCacheEntryDownloadURLResponse=new GetCacheEntryDownloadURLResponse$Type;t.CacheService=new i.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:t.CreateCacheEntryRequest,O:t.CreateCacheEntryResponse},{name:"FinalizeCacheEntryUpload",options:{},I:t.FinalizeCacheEntryUploadRequest,O:t.FinalizeCacheEntryUploadResponse},{name:"GetCacheEntryDownloadURL",options:{},I:t.GetCacheEntryDownloadURLRequest,O:t.GetCacheEntryDownloadURLResponse}])},98925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CacheServiceClientProtobuf=t.CacheServiceClientJSON=void 0;const i=n(16925);class CacheServiceClientJSON{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=i.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",t);return n.then((e=>i.CreateCacheEntryResponse.fromJson(e,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(e){const t=i.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",t);return n.then((e=>i.FinalizeCacheEntryUploadResponse.fromJson(e,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(e){const t=i.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const n=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",t);return n.then((e=>i.GetCacheEntryDownloadURLResponse.fromJson(e,{ignoreUnknownFields:true})))}}t.CacheServiceClientJSON=CacheServiceClientJSON;class CacheServiceClientProtobuf{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=i.CreateCacheEntryRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",t);return n.then((e=>i.CreateCacheEntryResponse.fromBinary(e)))}FinalizeCacheEntryUpload(e){const t=i.FinalizeCacheEntryUploadRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",t);return n.then((e=>i.FinalizeCacheEntryUploadResponse.fromBinary(e)))}GetCacheEntryDownloadURL(e){const t=i.GetCacheEntryDownloadURLRequest.toBinary(e);const n=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",t);return n.then((e=>i.GetCacheEntryDownloadURLResponse.fromBinary(e)))}}t.CacheServiceClientProtobuf=CacheServiceClientProtobuf},32775:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CacheMetadata=void 0;const i=n(66765);const o=n(66765);const d=n(66765);const p=n(66765);const f=n(66765);const y=n(58776);class CacheMetadata$Type extends f.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>y.CacheScope}])}create(e){const t={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(t,p.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,d.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,i){let d=i!==null&&i!==void 0?i:this.create(),p=e.pos+t;while(e.pos<p){let[t,i]=e.tag();switch(t){case 1:d.repositoryId=e.int64().toString();break;case 2:d.scope.push(y.CacheScope.internalBinaryRead(e,e.uint32(),n));break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);let f=e.skip(i);if(p!==false)(p===true?o.UnknownFieldHandler.onRead:p)(this.typeName,d,t,i,f)}}return d}internalBinaryWrite(e,t,n){if(e.repositoryId!=="0")t.tag(1,i.WireType.Varint).int64(e.repositoryId);for(let o=0;o<e.scope.length;o++)y.CacheScope.internalBinaryWrite(e.scope[o],t.tag(2,i.WireType.LengthDelimited).fork(),n).join();let d=n.writeUnknownFields;if(d!==false)(d==true?o.UnknownFieldHandler.onWrite:d)(this.typeName,e,t);return t}}t.CacheMetadata=new CacheMetadata$Type},58776:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CacheScope=void 0;const i=n(66765);const o=n(66765);const d=n(66765);const p=n(66765);const f=n(66765);class CacheScope$Type extends f.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){const t={scope:"",permission:"0"};globalThis.Object.defineProperty(t,p.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,d.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,n,i){let d=i!==null&&i!==void 0?i:this.create(),p=e.pos+t;while(e.pos<p){let[t,i]=e.tag();switch(t){case 1:d.scope=e.string();break;case 2:d.permission=e.int64().toString();break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);let f=e.skip(i);if(p!==false)(p===true?o.UnknownFieldHandler.onRead:p)(this.typeName,d,t,i,f)}}return d}internalBinaryWrite(e,t,n){if(e.scope!=="")t.tag(1,i.WireType.LengthDelimited).string(e.scope);if(e.permission!=="0")t.tag(2,i.WireType.Varint).int64(e.permission);let d=n.writeUnknownFields;if(d!==false)(d==true?o.UnknownFieldHandler.onWrite:d)(this.typeName,e,t);return t}}t.CacheScope=new CacheScope$Type},95046:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.saveCache=t.reserveCache=t.downloadCache=t.getCacheEntry=void 0;const f=d(n(59999));const y=n(80787);const v=n(63673);const D=d(n(79896));const M=n(87016);const U=d(n(26400));const j=n(83145);const V=n(73818);const K=n(21215);const ee=n(70809);const te=n(35909);const re=n(39922);function getCacheApiUrl(e){const t=(0,te.getCacheServiceURL)();if(!t){throw new Error("Cache Service Url not found, unable to restore cache.")}const n=`${t}_apis/artifactcache/${e}`;f.debug(`Resource Url: ${n}`);return n}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 v.BearerCredentialHandler(e);return new y.HttpClient((0,re.getUserAgentString)(),[t],getRequestOptions())}function getCacheEntry(e,t,n){return p(this,void 0,void 0,(function*(){const i=createHttpClient();const o=U.getCacheVersion(t,n===null||n===void 0?void 0:n.compressionMethod,n===null||n===void 0?void 0:n.enableCrossOsArchive);const d=`cache?keys=${encodeURIComponent(e.join(","))}&version=${o}`;const y=yield(0,ee.retryTypedResponse)("getCacheEntry",(()=>p(this,void 0,void 0,(function*(){return i.getJson(getCacheApiUrl(d))}))));if(y.statusCode===204){if(f.isDebug()){yield printCachesListForDiagnostics(e[0],i,o)}return null}if(!(0,ee.isSuccessStatusCode)(y.statusCode)){throw new Error(`Cache service responded with ${y.statusCode}`)}const v=y.result;const D=v===null||v===void 0?void 0:v.archiveLocation;if(!D){throw new Error("Cache not found.")}f.setSecret(D);f.debug(`Cache Result:`);f.debug(JSON.stringify(v));return v}))}t.getCacheEntry=getCacheEntry;function printCachesListForDiagnostics(e,t,n){return p(this,void 0,void 0,(function*(){const i=`caches?key=${encodeURIComponent(e)}`;const o=yield(0,ee.retryTypedResponse)("listCache",(()=>p(this,void 0,void 0,(function*(){return t.getJson(getCacheApiUrl(i))}))));if(o.statusCode===200){const t=o.result;const i=t===null||t===void 0?void 0:t.totalCount;if(i&&i>0){f.debug(`No matching cache found for cache key '${e}', version '${n} and scope ${process.env["GITHUB_REF"]}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(const e of(t===null||t===void 0?void 0:t.artifactCaches)||[]){f.debug(`Cache Key: ${e===null||e===void 0?void 0:e.cacheKey}, Cache Version: ${e===null||e===void 0?void 0:e.cacheVersion}, Cache Scope: ${e===null||e===void 0?void 0:e.scope}, Cache Created: ${e===null||e===void 0?void 0:e.creationTime}`)}}}}))}function downloadCache(e,t,n){return p(this,void 0,void 0,(function*(){const i=new M.URL(e);const o=(0,K.getDownloadOptions)(n);if(i.hostname.endsWith(".blob.core.windows.net")){if(o.useAzureSdk){yield(0,V.downloadCacheStorageSDK)(e,t,o)}else if(o.concurrentBlobDownloads){yield(0,V.downloadCacheHttpClientConcurrent)(e,t,o)}else{yield(0,V.downloadCacheHttpClient)(e,t)}}else{yield(0,V.downloadCacheHttpClient)(e,t)}}))}t.downloadCache=downloadCache;function reserveCache(e,t,n){return p(this,void 0,void 0,(function*(){const i=createHttpClient();const o=U.getCacheVersion(t,n===null||n===void 0?void 0:n.compressionMethod,n===null||n===void 0?void 0:n.enableCrossOsArchive);const d={key:e,version:o,cacheSize:n===null||n===void 0?void 0:n.cacheSize};const f=yield(0,ee.retryTypedResponse)("reserveCache",(()=>p(this,void 0,void 0,(function*(){return i.postJson(getCacheApiUrl("caches"),d)}))));return f}))}t.reserveCache=reserveCache;function getContentRange(e,t){return`bytes ${e}-${t}/*`}function uploadChunk(e,t,n,i,o){return p(this,void 0,void 0,(function*(){f.debug(`Uploading chunk of size ${o-i+1} bytes at offset ${i} with content range: ${getContentRange(i,o)}`);const d={"Content-Type":"application/octet-stream","Content-Range":getContentRange(i,o)};const y=yield(0,ee.retryHttpClientResponse)(`uploadChunk (start: ${i}, end: ${o})`,(()=>p(this,void 0,void 0,(function*(){return e.sendStream("PATCH",t,n(),d)}))));if(!(0,ee.isSuccessStatusCode)(y.message.statusCode)){throw new Error(`Cache service responded with ${y.message.statusCode} during upload chunk.`)}}))}function uploadFile(e,t,n,i){return p(this,void 0,void 0,(function*(){const o=U.getArchiveFileSizeInBytes(n);const d=getCacheApiUrl(`caches/${t.toString()}`);const y=D.openSync(n,"r");const v=(0,K.getUploadOptions)(i);const M=U.assertDefined("uploadConcurrency",v.uploadConcurrency);const j=U.assertDefined("uploadChunkSize",v.uploadChunkSize);const V=[...new Array(M).keys()];f.debug("Awaiting all uploads");let ee=0;try{yield Promise.all(V.map((()=>p(this,void 0,void 0,(function*(){while(ee<o){const t=Math.min(o-ee,j);const i=ee;const p=ee+t-1;ee+=j;yield uploadChunk(e,d,(()=>D.createReadStream(n,{fd:y,start:i,end:p,autoClose:false}).on("error",(e=>{throw new Error(`Cache upload failed because file read failed with ${e.message}`)}))),i,p)}})))))}finally{D.closeSync(y)}return}))}function commitCache(e,t,n){return p(this,void 0,void 0,(function*(){const i={size:n};return yield(0,ee.retryTypedResponse)("commitCache",(()=>p(this,void 0,void 0,(function*(){return e.postJson(getCacheApiUrl(`caches/${t.toString()}`),i)}))))}))}function saveCache(e,t,n,i){return p(this,void 0,void 0,(function*(){const o=(0,K.getUploadOptions)(i);if(o.useAzureSdk){if(!n){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield(0,j.uploadCacheArchiveSDK)(n,t,i)}else{const n=createHttpClient();f.debug("Upload cache");yield uploadFile(n,e,t,i);f.debug("Commiting cache");const o=U.getArchiveFileSizeInBytes(t);f.info(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);const d=yield commitCache(n,e,o);if(!(0,ee.isSuccessStatusCode)(d.statusCode)){throw new Error(`Cache service responded with ${d.statusCode} during commit cache.`)}f.info("Cache saved successfully")}}))}t.saveCache=saveCache},26400:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};var f=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(i,o){n=e[t](n),settle(i,o,n.done,n.value)}))}}function settle(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)}};Object.defineProperty(t,"__esModule",{value:true});t.getRuntimeToken=t.getCacheVersion=t.assertDefined=t.getGnuTarPathOnWindows=t.getCacheFileName=t.getCompressionMethod=t.unlinkFile=t.resolvePaths=t.getArchiveFileSizeInBytes=t.createTempDirectory=void 0;const y=d(n(59999));const v=d(n(58872));const D=d(n(16011));const M=d(n(73357));const U=d(n(76982));const j=d(n(79896));const V=d(n(16928));const K=d(n(88804));const ee=d(n(39023));const te=n(45362);const re="1.0";function createTempDirectory(){return p(this,void 0,void 0,(function*(){const e=process.platform==="win32";let t=process.env["RUNNER_TEMP"]||"";if(!t){let n;if(e){n=process.env["USERPROFILE"]||"C:\\"}else{if(process.platform==="darwin"){n="/Users"}else{n="/home"}}t=V.join(n,"actions","temp")}const n=V.join(t,U.randomUUID());yield M.mkdirP(n);return n}))}t.createTempDirectory=createTempDirectory;function getArchiveFileSizeInBytes(e){return j.statSync(e).size}t.getArchiveFileSizeInBytes=getArchiveFileSizeInBytes;function resolvePaths(e){var t,n,i,o;var d;return p(this,void 0,void 0,(function*(){const p=[];const v=(d=process.env["GITHUB_WORKSPACE"])!==null&&d!==void 0?d:process.cwd();const M=yield D.create(e.join("\n"),{implicitDescendants:false});try{for(var U=true,j=f(M.globGenerator()),K;K=yield j.next(),t=K.done,!t;U=true){o=K.value;U=false;const e=o;const t=V.relative(v,e).replace(new RegExp(`\\${V.sep}`,"g"),"/");y.debug(`Matched: ${t}`);if(t===""){p.push(".")}else{p.push(`${t}`)}}}catch(e){n={error:e}}finally{try{if(!U&&!t&&(i=j.return))yield i.call(j)}finally{if(n)throw n.error}}return p}))}t.resolvePaths=resolvePaths;function unlinkFile(e){return p(this,void 0,void 0,(function*(){return ee.promisify(j.unlink)(e)}))}t.unlinkFile=unlinkFile;function getVersion(e,t=[]){return p(this,void 0,void 0,(function*(){let n="";t.push("--version");y.debug(`Checking ${e} ${t.join(" ")}`);try{yield v.exec(`${e}`,t,{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}})}catch(e){y.debug(e.message)}n=n.trim();y.debug(n);return n}))}function getCompressionMethod(){return p(this,void 0,void 0,(function*(){const e=yield getVersion("zstd",["--quiet"]);const t=K.clean(e);y.debug(`zstd version: ${t}`);if(e===""){return te.CompressionMethod.Gzip}else{return te.CompressionMethod.ZstdWithoutLong}}))}t.getCompressionMethod=getCompressionMethod;function getCacheFileName(e){return e===te.CompressionMethod.Gzip?te.CacheFilename.Gzip:te.CacheFilename.Zstd}t.getCacheFileName=getCacheFileName;function getGnuTarPathOnWindows(){return p(this,void 0,void 0,(function*(){if(j.existsSync(te.GnuTarPathOnWindows)){return te.GnuTarPathOnWindows}const e=yield getVersion("tar");return e.toLowerCase().includes("gnu tar")?M.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 getCacheVersion(e,t,n=false){const i=e.slice();if(t){i.push(t)}if(process.platform==="win32"&&!n){i.push("windows-only")}i.push(re);return U.createHash("sha256").update(i.join("|")).digest("hex")}t.getCacheVersion=getCacheVersion;function getRuntimeToken(){const e=process.env["ACTIONS_RUNTIME_TOKEN"];if(!e){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return e}t.getRuntimeToken=getRuntimeToken},35909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getCacheServiceURL=t.getCacheServiceVersion=t.isGhes=void 0;function isGhes(){const e=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const t=e.hostname.trimEnd().toUpperCase();const n=t==="GITHUB.COM";const i=t.endsWith(".GHE.COM");const o=t.endsWith(".LOCALHOST");return!n&&!i&&!o}t.isGhes=isGhes;function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}t.getCacheServiceVersion=getCacheServiceVersion;function getCacheServiceURL(){const e=getCacheServiceVersion();switch(e){case"v1":return process.env["ACTIONS_CACHE_URL"]||process.env["ACTIONS_RESULTS_URL"]||"";case"v2":return process.env["ACTIONS_RESULTS_URL"]||"";default:throw new Error(`Unsupported cache service version: ${e}`)}}t.getCacheServiceURL=getCacheServiceURL},45362:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CacheFileSizeLimit=t.ManifestFilename=t.TarFilename=t.SystemTarPathOnWindows=t.GnuTarPathOnWindows=t.SocketTimeout=t.DefaultRetryDelay=t.DefaultRetryAttempts=t.ArchiveToolType=t.CompressionMethod=t.CacheFilename=void 0;var n;(function(e){e["Gzip"]="cache.tgz";e["Zstd"]="cache.tzst"})(n||(t.CacheFilename=n={}));var i;(function(e){e["Gzip"]="gzip";e["ZstdWithoutLong"]="zstd-without-long";e["Zstd"]="zstd"})(i||(t.CompressionMethod=i={}));var o;(function(e){e["GNU"]="gnu";e["BSD"]="bsd"})(o||(t.ArchiveToolType=o={}));t.DefaultRetryAttempts=2;t.DefaultRetryDelay=5e3;t.SocketTimeout=5e3;t.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;t.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;t.TarFilename="cache.tar";t.ManifestFilename="manifest.txt";t.CacheFileSizeLimit=10*Math.pow(1024,3)},73818:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.downloadCacheStorageSDK=t.downloadCacheHttpClientConcurrent=t.downloadCacheHttpClient=t.DownloadProgress=void 0;const f=d(n(59999));const y=n(80787);const v=n(90991);const D=d(n(20181));const M=d(n(79896));const U=d(n(2203));const j=d(n(39023));const V=d(n(26400));const K=n(45362);const ee=n(70809);const te=n(80349);function pipeResponseToStream(e,t){return p(this,void 0,void 0,(function*(){const n=j.promisify(U.pipeline);yield n(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;f.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 n=Date.now()-this.startTime;const i=(e/(1024*1024)/(n/1e3)).toFixed(1);f.info(`Received ${e} of ${this.contentLength} (${t}%), ${i} 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 p(this,void 0,void 0,(function*(){const n=M.createWriteStream(t);const i=new y.HttpClient("actions/cache");const o=yield(0,ee.retryHttpClientResponse)("downloadCache",(()=>p(this,void 0,void 0,(function*(){return i.get(e)}))));o.message.socket.setTimeout(K.SocketTimeout,(()=>{o.message.destroy();f.debug(`Aborting download, socket timed out after ${K.SocketTimeout} ms`)}));yield pipeResponseToStream(o,n);const d=o.message.headers["content-length"];if(d){const e=parseInt(d);const n=V.getArchiveFileSizeInBytes(t);if(n!==e){throw new Error(`Incomplete download. Expected file size: ${e}, actual file size: ${n}`)}}else{f.debug("Unable to validate download, no Content-Length header")}}))}t.downloadCacheHttpClient=downloadCacheHttpClient;function downloadCacheHttpClientConcurrent(e,t,n){var i;return p(this,void 0,void 0,(function*(){const o=yield M.promises.open(t,"w");const d=new y.HttpClient("actions/cache",undefined,{socketTimeout:n.timeoutInMs,keepAlive:true});try{const t=yield(0,ee.retryHttpClientResponse)("downloadCacheMetadata",(()=>p(this,void 0,void 0,(function*(){return yield d.request("HEAD",e,null,{})}))));const f=t.message.headers["content-length"];if(f===undefined||f===null){throw new Error("Content-Length not found on blob response")}const y=parseInt(f);if(Number.isNaN(y)){throw new Error(`Could not interpret Content-Length: ${y}`)}const v=[];const D=4*1024*1024;for(let t=0;t<y;t+=D){const n=Math.min(D,y-t);v.push({offset:t,promiseGetter:()=>p(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(d,e,t,n)}))})}v.reverse();let M=0;let U=0;const j=new DownloadProgress(y);j.startDisplayTimer();const V=j.onProgress();const K=[];let te;const waitAndWrite=()=>p(this,void 0,void 0,(function*(){const e=yield Promise.race(Object.values(K));yield o.write(e.buffer,0,e.count,e.offset);M--;delete K[e.offset];U+=e.count;V({loadedBytes:U})}));while(te=v.pop()){K[te.offset]=te.promiseGetter();M++;if(M>=((i=n.downloadConcurrency)!==null&&i!==void 0?i:10)){yield waitAndWrite()}}while(M>0){yield waitAndWrite()}}finally{d.dispose();yield o.close()}}))}t.downloadCacheHttpClientConcurrent=downloadCacheHttpClientConcurrent;function downloadSegmentRetry(e,t,n,i){return p(this,void 0,void 0,(function*(){const o=5;let d=0;while(true){try{const o=3e4;const d=yield promiseWithTimeout(o,downloadSegment(e,t,n,i));if(typeof d==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return d}catch(e){if(d>=o){throw e}d++}}}))}function downloadSegment(e,t,n,i){return p(this,void 0,void 0,(function*(){const o=yield(0,ee.retryHttpClientResponse)("downloadCachePart",(()=>p(this,void 0,void 0,(function*(){return yield e.get(t,{Range:`bytes=${n}-${n+i-1}`})}))));if(!o.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:n,count:i,buffer:yield o.readBodyBuffer()}}))}function downloadCacheStorageSDK(e,t,n){var i;return p(this,void 0,void 0,(function*(){const o=new v.BlockBlobClient(e,undefined,{retryOptions:{tryTimeoutInMs:n.timeoutInMs}});const d=yield o.getProperties();const p=(i=d.contentLength)!==null&&i!==void 0?i:-1;if(p<0){f.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(e,t)}else{const e=Math.min(134217728,D.constants.MAX_LENGTH);const i=new DownloadProgress(p);const d=M.openSync(t,"w");try{i.startDisplayTimer();const t=new te.AbortController;const f=t.signal;while(!i.isDone()){const y=i.segmentOffset+i.segmentSize;const v=Math.min(e,p-y);i.nextSegment(v);const D=yield promiseWithTimeout(n.segmentTimeoutInMs||36e5,o.downloadToBuffer(y,v,{abortSignal:f,concurrency:n.downloadConcurrency,onProgress:i.onProgress()}));if(D==="timeout"){t.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(D)){M.writeFileSync(d,D)}}}finally{i.stopDisplayTimer();M.closeSync(d)}}}))}t.downloadCacheStorageSDK=downloadCacheStorageSDK;const promiseWithTimeout=(e,t)=>p(void 0,void 0,void 0,(function*(){let n;const i=new Promise((t=>{n=setTimeout((()=>t("timeout")),e)}));return Promise.race([t,i]).then((e=>{clearTimeout(n);return e}))}))},70809:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.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 f=d(n(59999));const y=n(80787);const v=n(45362);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=[y.HttpCodes.BadGateway,y.HttpCodes.ServiceUnavailable,y.HttpCodes.GatewayTimeout];return t.includes(e)}t.isRetryableStatusCode=isRetryableStatusCode;function sleep(e){return p(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}function retry(e,t,n,i=v.DefaultRetryAttempts,o=v.DefaultRetryDelay,d=undefined){return p(this,void 0,void 0,(function*(){let p="";let y=1;while(y<=i){let v=undefined;let D=undefined;let M=false;try{v=yield t()}catch(e){if(d){v=d(e)}M=true;p=e.message}if(v){D=n(v);if(!isServerErrorStatusCode(D)){return v}}if(D){M=isRetryableStatusCode(D);p=`Cache service responded with ${D}`}f.debug(`${e} - Attempt ${y} of ${i} failed with error: ${p}`);if(!M){f.debug(`${e} - Error is not retryable`);break}yield sleep(o);y++}throw Error(`${e} failed: ${p}`)}))}t.retry=retry;function retryTypedResponse(e,t,n=v.DefaultRetryAttempts,i=v.DefaultRetryDelay){return p(this,void 0,void 0,(function*(){return yield retry(e,t,(e=>e.statusCode),n,i,(e=>{if(e instanceof y.HttpClientError){return{statusCode:e.statusCode,result:null,headers:{},error:e}}else{return undefined}}))}))}t.retryTypedResponse=retryTypedResponse;function retryHttpClientResponse(e,t,n=v.DefaultRetryAttempts,i=v.DefaultRetryDelay){return p(this,void 0,void 0,(function*(){return yield retry(e,t,(e=>e.message.statusCode),n,i)}))}t.retryHttpClientResponse=retryHttpClientResponse},31650:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.internalCacheTwirpClient=void 0;const o=n(59999);const d=n(39922);const p=n(56910);const f=n(35909);const y=n(26400);const v=n(63673);const D=n(80787);const M=n(98925);const U=n(94929);class CacheServiceClient{constructor(e,t,n,i){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const o=(0,y.getRuntimeToken)();this.baseUrl=(0,f.getCacheServiceURL)();if(t){this.maxAttempts=t}if(n){this.baseRetryIntervalMilliseconds=n}if(i){this.retryMultiplier=i}this.httpClient=new D.HttpClient(e,[new v.BearerCredentialHandler(o)])}request(e,t,n,d){return i(this,void 0,void 0,(function*(){const p=new URL(`/twirp/${e}/${t}`,this.baseUrl).href;(0,o.debug)(`[Request] ${t} ${p}`);const f={"Content-Type":n};try{const{body:e}=yield this.retryableRequest((()=>i(this,void 0,void 0,(function*(){return this.httpClient.post(p,JSON.stringify(d),f)}))));return e}catch(e){throw new Error(`Failed to ${t}: ${e.message}`)}}))}retryableRequest(e){return i(this,void 0,void 0,(function*(){let t=0;let n="";let i="";while(t<this.maxAttempts){let d=false;try{const t=yield e();const f=t.message.statusCode;i=yield t.readBody();(0,o.debug)(`[Response] - ${t.message.statusCode}`);(0,o.debug)(`Headers: ${JSON.stringify(t.message.headers,null,2)}`);const y=JSON.parse(i);(0,U.maskSecretUrls)(y);(0,o.debug)(`Body: ${JSON.stringify(y,null,2)}`);if(this.isSuccessStatusCode(f)){return{response:t,body:y}}d=this.isRetryableHttpStatusCode(f);n=`Failed request: (${f}) ${t.message.statusMessage}`;if(y.msg){if(p.UsageError.isUsageErrorMessage(y.msg)){throw new p.UsageError}n=`${n}: ${y.msg}`}}catch(e){if(e instanceof SyntaxError){(0,o.debug)(`Raw Body: ${i}`)}if(e instanceof p.UsageError){throw e}if(p.NetworkError.isNetworkErrorCode(e===null||e===void 0?void 0:e.code)){throw new p.NetworkError(e===null||e===void 0?void 0:e.code)}d=true;n=e.message}if(!d){throw new Error(`Received non-retryable error: ${n}`)}if(t+1===this.maxAttempts){throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`)}const f=this.getExponentialRetryTimeMilliseconds(t);(0,o.info)(`Attempt ${t+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${f} ms...`);yield this.sleep(f);t++}throw new Error(`Request failed`)}))}isSuccessStatusCode(e){if(!e)return false;return e>=200&&e<300}isRetryableHttpStatusCode(e){if(!e)return false;const t=[D.HttpCodes.BadGateway,D.HttpCodes.GatewayTimeout,D.HttpCodes.InternalServerError,D.HttpCodes.ServiceUnavailable,D.HttpCodes.TooManyRequests];return t.includes(e)}sleep(e){return i(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}getExponentialRetryTimeMilliseconds(e){if(e<0){throw new Error("attempt should be a positive integer")}if(e===0){return this.baseRetryIntervalMilliseconds}const t=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e);const n=t*this.retryMultiplier;return Math.trunc(Math.random()*(n-t)+t)}}function internalCacheTwirpClient(e){const t=new CacheServiceClient((0,d.getUserAgentString)(),e===null||e===void 0?void 0:e.maxAttempts,e===null||e===void 0?void 0:e.retryIntervalMs,e===null||e===void 0?void 0:e.retryMultiplier);return new M.CacheServiceClientJSON(t)}t.internalCacheTwirpClient=internalCacheTwirpClient},56910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UsageError=t.NetworkError=t.GHESNotSupportedError=t.CacheNotFoundError=t.InvalidResponseError=t.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(e=[]){let t="No files were found to upload";if(e.length>0){t+=`: ${e.join(", ")}`}super(t);this.files=e;this.name="FilesNotFoundError"}}t.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(e){super(e);this.name="InvalidResponseError"}}t.InvalidResponseError=InvalidResponseError;class CacheNotFoundError extends Error{constructor(e="Cache not found"){super(e);this.name="CacheNotFoundError"}}t.CacheNotFoundError=CacheNotFoundError;class GHESNotSupportedError extends Error{constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e);this.name="GHESNotSupportedError"}}t.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(e){const t=`Unable to make request: ${e}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(t);this.code=e;this.name="NetworkError"}}t.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=e=>{if(!e)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(e)};class UsageError extends Error{constructor(){const e=`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(e);this.name="UsageError"}}t.UsageError=UsageError;UsageError.isUsageErrorMessage=e=>{if(!e)return false;return e.includes("insufficient usage")}},39922:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentString=void 0;const i=n(44917);function getUserAgentString(){return`@actions/cache-${i.version}`}t.getUserAgentString=getUserAgentString},94929:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.maskSecretUrls=t.maskSigUrl=void 0;const i=n(59999);function maskSigUrl(e){if(!e)return;try{const t=new URL(e);const n=t.searchParams.get("sig");if(n){(0,i.setSecret)(n);(0,i.setSecret)(encodeURIComponent(n))}}catch(t){(0,i.debug)(`Failed to parse URL: ${e} ${t instanceof Error?t.message:String(t)}`)}}t.maskSigUrl=maskSigUrl;function maskSecretUrls(e){if(typeof e!=="object"||e===null){(0,i.debug)("body is not an object or is null");return}if("signed_upload_url"in e&&typeof e.signed_upload_url==="string"){maskSigUrl(e.signed_upload_url)}if("signed_download_url"in e&&typeof e.signed_download_url==="string"){maskSigUrl(e.signed_download_url)}}t.maskSecretUrls=maskSecretUrls},84920:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.createTar=t.extractTar=t.listTar=void 0;const f=n(58872);const y=d(n(73357));const v=n(79896);const D=d(n(16928));const M=d(n(26400));const U=n(45362);const j=process.platform==="win32";function getTarPath(){return p(this,void 0,void 0,(function*(){switch(process.platform){case"win32":{const e=yield M.getGnuTarPathOnWindows();const t=U.SystemTarPathOnWindows;if(e){return{path:e,type:U.ArchiveToolType.GNU}}else if((0,v.existsSync)(t)){return{path:t,type:U.ArchiveToolType.BSD}}break}case"darwin":{const e=yield y.which("gtar",false);if(e){return{path:e,type:U.ArchiveToolType.GNU}}else{return{path:yield y.which("tar",true),type:U.ArchiveToolType.BSD}}}default:break}return{path:yield y.which("tar",true),type:U.ArchiveToolType.GNU}}))}function getTarArgs(e,t,n,i=""){return p(this,void 0,void 0,(function*(){const o=[`"${e.path}"`];const d=M.getCacheFileName(t);const p="cache.tar";const f=getWorkingDirectory();const y=e.type===U.ArchiveToolType.BSD&&t!==U.CompressionMethod.Gzip&&j;switch(n){case"create":o.push("--posix","-cf",y?p:d.replace(new RegExp(`\\${D.sep}`,"g"),"/"),"--exclude",y?p:d.replace(new RegExp(`\\${D.sep}`,"g"),"/"),"-P","-C",f.replace(new RegExp(`\\${D.sep}`,"g"),"/"),"--files-from",U.ManifestFilename);break;case"extract":o.push("-xf",y?p:i.replace(new RegExp(`\\${D.sep}`,"g"),"/"),"-P","-C",f.replace(new RegExp(`\\${D.sep}`,"g"),"/"));break;case"list":o.push("-tf",y?p:i.replace(new RegExp(`\\${D.sep}`,"g"),"/"),"-P");break}if(e.type===U.ArchiveToolType.GNU){switch(process.platform){case"win32":o.push("--force-local");break;case"darwin":o.push("--delay-directory-restore");break}}return o}))}function getCommands(e,t,n=""){return p(this,void 0,void 0,(function*(){let i;const o=yield getTarPath();const d=yield getTarArgs(o,e,t,n);const p=t!=="create"?yield getDecompressionProgram(o,e,n):yield getCompressionProgram(o,e);const f=o.type===U.ArchiveToolType.BSD&&e!==U.CompressionMethod.Gzip&&j;if(f&&t!=="create"){i=[[...p].join(" "),[...d].join(" ")]}else{i=[[...d].join(" "),[...p].join(" ")]}if(f){return i}return[i.join(" ")]}))}function getWorkingDirectory(){var e;return(e=process.env["GITHUB_WORKSPACE"])!==null&&e!==void 0?e:process.cwd()}function getDecompressionProgram(e,t,n){return p(this,void 0,void 0,(function*(){const i=e.type===U.ArchiveToolType.BSD&&t!==U.CompressionMethod.Gzip&&j;switch(t){case U.CompressionMethod.Zstd:return i?["zstd -d --long=30 --force -o",U.TarFilename,n.replace(new RegExp(`\\${D.sep}`,"g"),"/")]:["--use-compress-program",j?'"zstd -d --long=30"':"unzstd --long=30"];case U.CompressionMethod.ZstdWithoutLong:return i?["zstd -d --force -o",U.TarFilename,n.replace(new RegExp(`\\${D.sep}`,"g"),"/")]:["--use-compress-program",j?'"zstd -d"':"unzstd"];default:return["-z"]}}))}function getCompressionProgram(e,t){return p(this,void 0,void 0,(function*(){const n=M.getCacheFileName(t);const i=e.type===U.ArchiveToolType.BSD&&t!==U.CompressionMethod.Gzip&&j;switch(t){case U.CompressionMethod.Zstd:return i?["zstd -T0 --long=30 --force -o",n.replace(new RegExp(`\\${D.sep}`,"g"),"/"),U.TarFilename]:["--use-compress-program",j?'"zstd -T0 --long=30"':"zstdmt --long=30"];case U.CompressionMethod.ZstdWithoutLong:return i?["zstd -T0 --force -o",n.replace(new RegExp(`\\${D.sep}`,"g"),"/"),U.TarFilename]:["--use-compress-program",j?'"zstd -T0"':"zstdmt"];default:return["-z"]}}))}function execCommands(e,t){return p(this,void 0,void 0,(function*(){for(const n of e){try{yield(0,f.exec)(n,undefined,{cwd:t,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(e){throw new Error(`${n.split(" ")[0]} failed with error: ${e===null||e===void 0?void 0:e.message}`)}}}))}function listTar(e,t){return p(this,void 0,void 0,(function*(){const n=yield getCommands(t,"list",e);yield execCommands(n)}))}t.listTar=listTar;function extractTar(e,t){return p(this,void 0,void 0,(function*(){const n=getWorkingDirectory();yield y.mkdirP(n);const i=yield getCommands(t,"extract",e);yield execCommands(i)}))}t.extractTar=extractTar;function createTar(e,t,n){return p(this,void 0,void 0,(function*(){(0,v.writeFileSync)(D.join(e,U.ManifestFilename),t.join("\n"));const i=yield getCommands(n,"create");yield execCommands(i,e)}))}t.createTar=createTar},83145:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.uploadCacheArchiveSDK=t.UploadProgress=void 0;const f=d(n(59999));const y=n(90991);const v=n(56910);class UploadProgress{constructor(e){this.contentLength=e;this.sentBytes=0;this.displayedComplete=false;this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const e=this.sentBytes;const t=(100*(e/this.contentLength)).toFixed(1);const n=Date.now()-this.startTime;const i=(e/(1024*1024)/(n/1e3)).toFixed(1);f.info(`Sent ${e} of ${this.contentLength} (${t}%), ${i} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}t.UploadProgress=UploadProgress;function uploadCacheArchiveSDK(e,t,n){var i;return p(this,void 0,void 0,(function*(){const o=new y.BlobClient(e);const d=o.getBlockBlobClient();const p=new UploadProgress((i=n===null||n===void 0?void 0:n.archiveSizeBytes)!==null&&i!==void 0?i:0);const D={blockSize:n===null||n===void 0?void 0:n.uploadChunkSize,concurrency:n===null||n===void 0?void 0:n.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:p.onProgress()};try{p.startDisplayTimer();f.debug(`BlobClient: ${o.name}:${o.accountName}:${o.containerName}`);const e=yield d.uploadFile(t,D);if(e._response.status>=400){throw new v.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${e._response.status}`)}return e}catch(e){f.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${e.message}`);throw e}finally{p.stopDisplayTimer()}}))}t.uploadCacheArchiveSDK=uploadCacheArchiveSDK},21215:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getDownloadOptions=t.getUploadOptions=void 0;const p=d(n(59999));function getUploadOptions(e){const t={useAzureSdk:false,uploadConcurrency:4,uploadChunkSize:32*1024*1024};if(e){if(typeof e.useAzureSdk==="boolean"){t.useAzureSdk=e.useAzureSdk}if(typeof e.uploadConcurrency==="number"){t.uploadConcurrency=e.uploadConcurrency}if(typeof e.uploadChunkSize==="number"){t.uploadChunkSize=e.uploadChunkSize}}t.uploadConcurrency=!isNaN(Number(process.env["CACHE_UPLOAD_CONCURRENCY"]))?Math.min(32,Number(process.env["CACHE_UPLOAD_CONCURRENCY"])):t.uploadConcurrency;t.uploadChunkSize=!isNaN(Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"]))?Math.min(128*1024*1024,Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"])*1024*1024):t.uploadChunkSize;p.debug(`Use Azure SDK: ${t.useAzureSdk}`);p.debug(`Upload concurrency: ${t.uploadConcurrency}`);p.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 n=process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"];if(n&&!isNaN(Number(n))&&isFinite(Number(n))){t.segmentTimeoutInMs=Number(n)*60*1e3}p.debug(`Use Azure SDK: ${t.useAzureSdk}`);p.debug(`Download concurrency: ${t.downloadConcurrency}`);p.debug(`Request timeout (ms): ${t.timeoutInMs}`);p.debug(`Cache segment download timeout mins env var: ${process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"]}`);p.debug(`Segment download timeout (ms): ${t.segmentTimeoutInMs}`);p.debug(`Lookup only: ${t.lookupOnly}`);return t}t.getDownloadOptions=getDownloadOptions},83191:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const p=d(n(70857));const f=n(96283);function issueCommand(e,t,n){const i=new Command(e,t,n);process.stdout.write(i.toString()+p.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const y="::";class Command{constructor(e,t,n){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=n}toString(){let e=y+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const i=this.properties[n];if(i){if(t){t=false}else{e+=","}e+=`${n}=${escapeProperty(i)}`}}}}e+=`${y}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,f.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,f.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},59999:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.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 f=n(83191);const y=n(59058);const v=n(96283);const D=d(n(70857));const M=d(n(16928));const U=n(53549);var j;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(j||(t.ExitCode=j={}));function exportVariable(e,t){const n=(0,v.toCommandValue)(t);process.env[e]=n;const i=process.env["GITHUB_ENV"]||"";if(i){return(0,y.issueFileCommand)("ENV",(0,y.prepareKeyValueMessage)(e,t))}(0,f.issueCommand)("set-env",{name:e},n)}t.exportVariable=exportVariable;function setSecret(e){(0,f.issueCommand)("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){(0,y.issueFileCommand)("PATH",e)}else{(0,f.issueCommand)("add-path",{},e)}process.env["PATH"]=`${e}${M.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const n=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!n){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return n}return n.trim()}t.getInput=getInput;function getMultilineInput(e,t){const n=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return n}return n.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const n=["true","True","TRUE"];const i=["false","False","FALSE"];const o=getInput(e,t);if(n.includes(o))return true;if(i.includes(o))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const n=process.env["GITHUB_OUTPUT"]||"";if(n){return(0,y.issueFileCommand)("OUTPUT",(0,y.prepareKeyValueMessage)(e,t))}process.stdout.write(D.EOL);(0,f.issueCommand)("set-output",{name:e},(0,v.toCommandValue)(t))}t.setOutput=setOutput;function setCommandEcho(e){(0,f.issue)("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=j.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){(0,f.issueCommand)("debug",{},e)}t.debug=debug;function error(e,t={}){(0,f.issueCommand)("error",(0,v.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){(0,f.issueCommand)("warning",(0,v.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){(0,f.issueCommand)("notice",(0,v.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+D.EOL)}t.info=info;function startGroup(e){(0,f.issue)("group",e)}t.startGroup=startGroup;function endGroup(){(0,f.issue)("endgroup")}t.endGroup=endGroup;function group(e,t){return p(this,void 0,void 0,(function*(){startGroup(e);let n;try{n=yield t()}finally{endGroup()}return n}))}t.group=group;function saveState(e,t){const n=process.env["GITHUB_STATE"]||"";if(n){return(0,y.issueFileCommand)("STATE",(0,y.prepareKeyValueMessage)(e,t))}(0,f.issueCommand)("save-state",{name:e},(0,v.toCommandValue)(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return p(this,void 0,void 0,(function*(){return yield U.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var V=n(71638);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return V.summary}});var K=n(71638);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return K.markdownSummary}});var ee=n(40539);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return ee.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return ee.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return ee.toPlatformPath}});t.platform=d(n(22563))},59058:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const p=d(n(76982));const f=d(n(79896));const y=d(n(70857));const v=n(96283);function issueFileCommand(e,t){const n=process.env[`GITHUB_${e}`];if(!n){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!f.existsSync(n)){throw new Error(`Missing file at path: ${n}`)}f.appendFileSync(n,`${(0,v.toCommandValue)(t)}${y.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const n=`ghadelimiter_${p.randomUUID()}`;const i=(0,v.toCommandValue)(t);if(e.includes(n)){throw new Error(`Unexpected input: name should not contain the delimiter "${n}"`)}if(i.includes(n)){throw new Error(`Unexpected input: value should not contain the delimiter "${n}"`)}return`${e}<<${n}${y.EOL}${i}${y.EOL}${n}`}t.prepareKeyValueMessage=prepareKeyValueMessage},53549:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const o=n(80787);const d=n(63673);const p=n(59999);class OidcClient{static createHttpClient(e=true,t=10){const n={allowRetries:e,maxRetries:t};return new o.HttpClient("actions/oidc-client",[new d.BearerCredentialHandler(OidcClient.getRequestToken())],n)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return i(this,void 0,void 0,(function*(){const n=OidcClient.createHttpClient();const i=yield n.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const o=(t=i.result)===null||t===void 0?void 0:t.value;if(!o){throw new Error("Response json body do not have ID Token field")}return o}))}static getIDToken(e){return i(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const n=encodeURIComponent(e);t=`${t}&audience=${n}`}(0,p.debug)(`ID token url is ${t}`);const n=yield OidcClient.getCall(t);(0,p.setSecret)(n);return n}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},40539:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const p=d(n(16928));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,p.sep)}t.toPlatformPath=toPlatformPath},22563:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};var f=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 y=f(n(70857));const v=d(n(58872));const getWindowsInfo=()=>p(void 0,void 0,void 0,(function*(){const{stdout:e}=yield v.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield v.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>p(void 0,void 0,void 0,(function*(){var e,t,n,i;const{stdout:o}=yield v.getExecOutput("sw_vers",undefined,{silent:true});const d=(t=(e=o.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const p=(i=(n=o.match(/ProductName:\s*(.+)/))===null||n===void 0?void 0:n[1])!==null&&i!==void 0?i:"";return{name:p,version:d}}));const getLinuxInfo=()=>p(void 0,void 0,void 0,(function*(){const{stdout:e}=yield v.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,n]=e.trim().split("\n");return{name:t,version:n}}));t.platform=y.default.platform();t.arch=y.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return p(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},71638:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.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 o=n(70857);const d=n(79896);const{access:p,appendFile:f,writeFile:y}=d.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 i(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 p(e,d.constants.R_OK|d.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,n={}){const i=Object.entries(n).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${i}>`}return`<${e}${i}>${t}</${e}>`}write(e){return i(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const n=yield this.filePath();const i=t?y:f;yield i(n,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return i(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(o.EOL)}addCodeBlock(e,t){const n=Object.assign({},t&&{lang:t});const i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,t=false){const n=t?"ol":"ul";const i=e.map((e=>this.wrap("li",e))).join("");const o=this.wrap(n,i);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:n,colspan:i,rowspan:o}=e;const d=t?"th":"td";const p=Object.assign(Object.assign({},i&&{colspan:i}),o&&{rowspan:o});return this.wrap(d,n,p)})).join("");return this.wrap("tr",t)})).join("");const n=this.wrap("table",t);return this.addRaw(n).addEOL()}addDetails(e,t){const n=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(n).addEOL()}addImage(e,t,n){const{width:i,height:o}=n||{};const d=Object.assign(Object.assign({},i&&{width:i}),o&&{height:o});const p=this.wrap("img",null,Object.assign({src:e,alt:t},d));return this.addRaw(p).addEOL()}addHeading(e,t){const n=`h${t}`;const i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1";const o=this.wrap(i,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const n=Object.assign({},t&&{cite:t});const i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,t){const n=this.wrap("a",e,{href:t});return this.addRaw(n).addEOL()}}const v=new Summary;t.markdownSummary=v;t.summary=v},96283:(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},58872:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const f=n(13193);const y=d(n(73725));function exec(e,t,n){return p(this,void 0,void 0,(function*(){const i=y.argStringToArray(e);if(i.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const o=i[0];t=i.slice(1).concat(t||[]);const d=new y.ToolRunner(o,t,n);return d.exec()}))}t.exec=exec;function getExecOutput(e,t,n){var i,o;return p(this,void 0,void 0,(function*(){let d="";let p="";const y=new f.StringDecoder("utf8");const v=new f.StringDecoder("utf8");const D=(i=n===null||n===void 0?void 0:n.listeners)===null||i===void 0?void 0:i.stdout;const M=(o=n===null||n===void 0?void 0:n.listeners)===null||o===void 0?void 0:o.stderr;const stdErrListener=e=>{p+=v.write(e);if(M){M(e)}};const stdOutListener=e=>{d+=y.write(e);if(D){D(e)}};const U=Object.assign(Object.assign({},n===null||n===void 0?void 0:n.listeners),{stdout:stdOutListener,stderr:stdErrListener});const j=yield exec(e,t,Object.assign(Object.assign({},n),{listeners:U}));d+=y.end();p+=v.end();return{exitCode:j,stdout:d,stderr:p}}))}t.getExecOutput=getExecOutput},73725:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const f=d(n(70857));const y=d(n(24434));const v=d(n(35317));const D=d(n(16928));const M=d(n(73357));const U=d(n(52746));const j=n(53557);const V=process.platform==="win32";class ToolRunner extends y.EventEmitter{constructor(e,t,n){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=n||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const n=this._getSpawnFileName();const i=this._getSpawnArgs(e);let o=t?"":"[command]";if(V){if(this._isCmdFile()){o+=n;for(const e of i){o+=` ${e}`}}else if(e.windowsVerbatimArguments){o+=`"${n}"`;for(const e of i){o+=` ${e}`}}else{o+=this._windowsQuoteCmdArg(n);for(const e of i){o+=` ${this._windowsQuoteCmdArg(e)}`}}}else{o+=n;for(const e of i){o+=` ${e}`}}return o}_processLineBuffer(e,t,n){try{let i=t+e.toString();let o=i.indexOf(f.EOL);while(o>-1){const e=i.substring(0,o);n(e);i=i.substring(o+f.EOL.length);o=i.indexOf(f.EOL)}return i}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(V){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(V){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const n of this.args){t+=" ";t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let n=false;for(const i of e){if(t.some((e=>e===i))){n=true;break}}if(!n){return e}let i='"';let o=true;for(let t=e.length;t>0;t--){i+=e[t-1];if(o&&e[t-1]==="\\"){i+="\\"}else if(e[t-1]==='"'){o=true;i+='"'}else{o=false}}i+='"';return i.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let n=true;for(let i=e.length;i>0;i--){t+=e[i-1];if(n&&e[i-1]==="\\"){t+="\\"}else if(e[i-1]==='"'){n=true;t+="\\"}else{n=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const n={};n.cwd=e.cwd;n.env=e.env;n["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){n.argv0=`"${t}"`}return n}exec(){return p(this,void 0,void 0,(function*(){if(!U.isRooted(this.toolPath)&&(this.toolPath.includes("/")||V&&this.toolPath.includes("\\"))){this.toolPath=D.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield M.which(this.toolPath,true);return new Promise(((e,t)=>p(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const n=this._cloneExecOptions(this.options);if(!n.silent&&n.outStream){n.outStream.write(this._getCommandString(n)+f.EOL)}const i=new ExecState(n,this.toolPath);i.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield U.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const o=this._getSpawnFileName();const d=v.spawn(o,this._getSpawnArgs(n),this._getSpawnOptions(this.options,o));let p="";if(d.stdout){d.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!n.silent&&n.outStream){n.outStream.write(e)}p=this._processLineBuffer(e,p,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let y="";if(d.stderr){d.stderr.on("data",(e=>{i.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!n.silent&&n.errStream&&n.outStream){const t=n.failOnStdErr?n.errStream:n.outStream;t.write(e)}y=this._processLineBuffer(e,y,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}d.on("error",(e=>{i.processError=e.message;i.processExited=true;i.processClosed=true;i.CheckComplete()}));d.on("exit",(e=>{i.processExitCode=e;i.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);i.CheckComplete()}));d.on("close",(e=>{i.processExitCode=e;i.processExited=true;i.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);i.CheckComplete()}));i.on("done",((n,i)=>{if(p.length>0){this.emit("stdline",p)}if(y.length>0){this.emit("errline",y)}d.removeAllListeners();if(n){t(n)}else{e(i)}}));if(this.options.input){if(!d.stdin){throw new Error("child process missing stdin")}d.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let n=false;let i=false;let o="";function append(e){if(i&&e!=='"'){o+="\\"}o+=e;i=false}for(let d=0;d<e.length;d++){const p=e.charAt(d);if(p==='"'){if(!i){n=!n}else{append(p)}continue}if(p==="\\"&&i){append(p);continue}if(p==="\\"&&n){i=true;continue}if(p===" "&&!n){if(o.length>0){t.push(o);o=""}continue}append(p)}if(o.length>0){t.push(o.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends y.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=j.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()}}},16011:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.create=void 0;const o=n(1258);function create(e,t){return i(this,void 0,void 0,(function*(){return yield o.DefaultGlobber.create(e,t)}))}t.create=create},46665:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOptions=void 0;const p=d(n(59999));function getOptions(e){const t={followSymbolicLinks:true,implicitDescendants:true,omitBrokenSymbolicLinks:true};if(e){if(typeof e.followSymbolicLinks==="boolean"){t.followSymbolicLinks=e.followSymbolicLinks;p.debug(`followSymbolicLinks '${t.followSymbolicLinks}'`)}if(typeof e.implicitDescendants==="boolean"){t.implicitDescendants=e.implicitDescendants;p.debug(`implicitDescendants '${t.implicitDescendants}'`)}if(typeof e.omitBrokenSymbolicLinks==="boolean"){t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks;p.debug(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)}}return t}t.getOptions=getOptions},1258:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};var f=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(i,o){n=e[t](n),settle(i,o,n.done,n.value)}))}}function settle(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)}};var y=this&&this.__await||function(e){return this instanceof y?(this.v=e,this):new y(e)};var v=this&&this.__asyncGenerator||function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),o,d=[];return o={},verb("next"),verb("throw"),verb("return"),o[Symbol.asyncIterator]=function(){return this},o;function verb(e){if(i[e])o[e]=function(t){return new Promise((function(n,i){d.push([e,t,n,i])>1||resume(e,t)}))}}function resume(e,t){try{step(i[e](t))}catch(e){settle(d[0][3],e)}}function step(e){e.value instanceof y?Promise.resolve(e.value.v).then(fulfill,reject):settle(d[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),d.shift(),d.length)resume(d[0][0],d[0][1])}};Object.defineProperty(t,"__esModule",{value:true});t.DefaultGlobber=void 0;const D=d(n(59999));const M=d(n(79896));const U=d(n(46665));const j=d(n(16928));const V=d(n(23320));const K=n(15843);const ee=n(78887);const te=n(10865);const re=process.platform==="win32";class DefaultGlobber{constructor(e){this.patterns=[];this.searchPaths=[];this.options=U.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,t;return p(this,void 0,void 0,(function*(){const n=[];try{for(var i=f(this.globGenerator()),o;o=yield i.next(),!o.done;){const e=o.value;n.push(e)}}catch(t){e={error:t}}finally{try{if(o&&!o.done&&(t=i.return))yield t.call(i)}finally{if(e)throw e.error}}return n}))}globGenerator(){return v(this,arguments,(function*globGenerator_1(){const e=U.getOptions(this.options);const t=[];for(const n of this.patterns){t.push(n);if(e.implicitDescendants&&(n.trailingSeparator||n.segments[n.segments.length-1]!=="**")){t.push(new ee.Pattern(n.negate,true,n.segments.concat("**")))}}const n=[];for(const e of V.getSearchPaths(t)){D.debug(`Search path '${e}'`);try{yield y(M.promises.lstat(e))}catch(e){if(e.code==="ENOENT"){continue}throw e}n.unshift(new te.SearchState(e,1))}const i=[];while(n.length){const o=n.pop();const d=V.match(t,o.path);const p=!!d||V.partialMatch(t,o.path);if(!d&&!p){continue}const f=yield y(DefaultGlobber.stat(o,e,i));if(!f){continue}if(f.isDirectory()){if(d&K.MatchKind.Directory){yield yield y(o.path)}else if(!p){continue}const e=o.level+1;const t=(yield y(M.promises.readdir(o.path))).map((t=>new te.SearchState(j.join(o.path,t),e)));n.push(...t.reverse())}else if(d&K.MatchKind.File){yield yield y(o.path)}}}))}static create(e,t){return p(this,void 0,void 0,(function*(){const n=new DefaultGlobber(t);if(re){e=e.replace(/\r\n/g,"\n");e=e.replace(/\r/g,"\n")}const i=e.split("\n").map((e=>e.trim()));for(const e of i){if(!e||e.startsWith("#")){continue}else{n.patterns.push(new ee.Pattern(e))}}n.searchPaths.push(...V.getSearchPaths(n.patterns));return n}))}static stat(e,t,n){return p(this,void 0,void 0,(function*(){let i;if(t.followSymbolicLinks){try{i=yield M.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(t.omitBrokenSymbolicLinks){D.debug(`Broken symlink '${e.path}'`);return undefined}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}}else{i=yield M.promises.lstat(e.path)}if(i.isDirectory()&&t.followSymbolicLinks){const t=yield M.promises.realpath(e.path);while(n.length>=e.level){n.pop()}if(n.some((e=>e===t))){D.debug(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return undefined}n.push(t)}return i}))}}t.DefaultGlobber=DefaultGlobber},15843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MatchKind=void 0;var n;(function(e){e[e["None"]=0]="None";e[e["Directory"]=1]="Directory";e[e["File"]=2]="File";e[e["All"]=3]="All"})(n=t.MatchKind||(t.MatchKind={}))},83051:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=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 f=d(n(16928));const y=p(n(42613));const v=process.platform==="win32";function dirname(e){e=safeTrimTrailingSeparator(e);if(v&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e)){return e}let t=f.dirname(e);if(v&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)){t=safeTrimTrailingSeparator(t)}return t}t.dirname=dirname;function ensureAbsoluteRoot(e,t){y.default(e,`ensureAbsoluteRoot parameter 'root' must not be empty`);y.default(t,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`);if(hasAbsoluteRoot(t)){return t}if(v){if(t.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let e=process.cwd();y.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();y.default(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);return`${e[0]}:\\${t.substr(1)}`}}y.default(hasAbsoluteRoot(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(e.endsWith("/")||v&&e.endsWith("\\")){}else{e+=f.sep}return e+t}t.ensureAbsoluteRoot=ensureAbsoluteRoot;function hasAbsoluteRoot(e){y.default(e,`hasAbsoluteRoot parameter 'itemPath' must not be empty`);e=normalizeSeparators(e);if(v){return e.startsWith("\\\\")||/^[A-Z]:\\/i.test(e)}return e.startsWith("/")}t.hasAbsoluteRoot=hasAbsoluteRoot;function hasRoot(e){y.default(e,`isRooted parameter 'itemPath' must not be empty`);e=normalizeSeparators(e);if(v){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.hasRoot=hasRoot;function normalizeSeparators(e){e=e||"";if(v){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(f.sep)){return e}if(e===f.sep){return e}if(v&&/^[A-Z]:\\$/i.test(e)){return e}return e.substr(0,e.length-1)}t.safeTrimTrailingSeparator=safeTrimTrailingSeparator},80186:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Path=void 0;const f=d(n(16928));const y=d(n(83051));const v=p(n(42613));const D=process.platform==="win32";class Path{constructor(e){this.segments=[];if(typeof e==="string"){v.default(e,`Parameter 'itemPath' must not be empty`);e=y.safeTrimTrailingSeparator(e);if(!y.hasRoot(e)){this.segments=e.split(f.sep)}else{let t=e;let n=y.dirname(t);while(n!==t){const e=f.basename(t);this.segments.unshift(e);t=n;n=y.dirname(t)}this.segments.unshift(t)}}else{v.default(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;t<e.length;t++){let n=e[t];v.default(n,`Parameter 'itemPath' must not contain any empty segments`);n=y.normalizeSeparators(e[t]);if(t===0&&y.hasRoot(n)){n=y.safeTrimTrailingSeparator(n);v.default(n===y.dirname(n),`Parameter 'itemPath' root segment contains information for multiple segments`);this.segments.push(n)}else{v.default(!n.includes(f.sep),`Parameter 'itemPath' contains unexpected path separators`);this.segments.push(n)}}}}toString(){let e=this.segments[0];let t=e.endsWith(f.sep)||D&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++){if(t){t=false}else{e+=f.sep}e+=this.segments[n]}return e}}t.Path=Path},23320:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.partialMatch=t.match=t.getSearchPaths=void 0;const p=d(n(83051));const f=n(15843);const y=process.platform==="win32";function getSearchPaths(e){e=e.filter((e=>!e.negate));const t={};for(const n of e){const e=y?n.searchPath.toUpperCase():n.searchPath;t[e]="candidate"}const n=[];for(const i of e){const e=y?i.searchPath.toUpperCase():i.searchPath;if(t[e]==="included"){continue}let o=false;let d=e;let f=p.dirname(d);while(f!==d){if(t[f]){o=true;break}d=f;f=p.dirname(d)}if(!o){n.push(i.searchPath);t[e]="included"}}return n}t.getSearchPaths=getSearchPaths;function match(e,t){let n=f.MatchKind.None;for(const i of e){if(i.negate){n&=~i.match(t)}else{n|=i.match(t)}}return n}t.match=match;function partialMatch(e,t){return e.some((e=>!e.negate&&e.partialMatch(t)))}t.partialMatch=partialMatch},78887:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Pattern=void 0;const f=d(n(70857));const y=d(n(16928));const v=d(n(83051));const D=p(n(42613));const M=n(96274);const U=n(15843);const j=n(80186);const V=process.platform==="win32";class Pattern{constructor(e,t=false,n,i){this.negate=false;let o;if(typeof e==="string"){o=e.trim()}else{n=n||[];D.default(n.length,`Parameter 'segments' must not empty`);const t=Pattern.getLiteral(n[0]);D.default(t&&v.hasAbsoluteRoot(t),`Parameter 'segments' first element must be a root path`);o=new j.Path(n).toString().trim();if(e){o=`!${o}`}}while(o.startsWith("!")){this.negate=!this.negate;o=o.substr(1).trim()}o=Pattern.fixupPattern(o,i);this.segments=new j.Path(o).segments;this.trailingSeparator=v.normalizeSeparators(o).endsWith(y.sep);o=v.safeTrimTrailingSeparator(o);let d=false;const p=this.segments.map((e=>Pattern.getLiteral(e))).filter((e=>!d&&!(d=e==="")));this.searchPath=new j.Path(p).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(p[0]),V?"i":"");this.isImplicitPattern=t;const f={dot:true,nobrace:true,nocase:V,nocomment:true,noext:true,nonegate:true};o=V?o.replace(/\\/g,"/"):o;this.minimatch=new M.Minimatch(o,f)}match(e){if(this.segments[this.segments.length-1]==="**"){e=v.normalizeSeparators(e);if(!e.endsWith(y.sep)&&this.isImplicitPattern===false){e=`${e}${y.sep}`}}else{e=v.safeTrimTrailingSeparator(e)}if(this.minimatch.match(e)){return this.trailingSeparator?U.MatchKind.Directory:U.MatchKind.All}return U.MatchKind.None}partialMatch(e){e=v.safeTrimTrailingSeparator(e);if(v.dirname(e)===e){return this.rootRegExp.test(e)}return this.minimatch.matchOne(e.split(V?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(e){return(V?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,t){D.default(e,"pattern cannot be empty");const n=new j.Path(e).segments.map((e=>Pattern.getLiteral(e)));D.default(n.every(((e,t)=>(e!=="."||t===0)&&e!=="..")),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`);D.default(!v.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`);e=v.normalizeSeparators(e);if(e==="."||e.startsWith(`.${y.sep}`)){e=Pattern.globEscape(process.cwd())+e.substr(1)}else if(e==="~"||e.startsWith(`~${y.sep}`)){t=t||f.homedir();D.default(t,"Unable to determine HOME directory");D.default(v.hasAbsoluteRoot(t),`Expected HOME directory to be a rooted path. Actual '${t}'`);e=Pattern.globEscape(t)+e.substr(1)}else if(V&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let t=v.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));if(e.length>2&&!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(2)}else if(V&&(e==="\\"||e.match(/^\\[^\\]/))){let t=v.ensureAbsoluteRoot("C:\\dummy-root","\\");if(!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(1)}else{e=v.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),e)}return v.normalizeSeparators(e)}static getLiteral(e){let t="";for(let n=0;n<e.length;n++){const i=e[n];if(i==="\\"&&!V&&n+1<e.length){t+=e[++n];continue}else if(i==="*"||i==="?"){return""}else if(i==="["&&n+1<e.length){let i="";let o=-1;for(let t=n+1;t<e.length;t++){const n=e[t];if(n==="\\"&&!V&&t+1<e.length){i+=e[++t];continue}else if(n==="]"){o=t;break}else{i+=n}}if(o>=0){if(i.length>1){return""}if(i){t+=i;n=o;continue}}}t+=i}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}}t.Pattern=Pattern},10865:(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},8505:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.hashFiles=t.create=void 0;const o=n(2460);const d=n(37233);function create(e,t){return i(this,void 0,void 0,(function*(){return yield o.DefaultGlobber.create(e,t)}))}t.create=create;function hashFiles(e,t="",n,o=false){return i(this,void 0,void 0,(function*(){let i=true;if(n&&typeof n.followSymbolicLinks==="boolean"){i=n.followSymbolicLinks}const p=yield create(e,{followSymbolicLinks:i});return(0,d.hashFiles)(p,t,o)}))}t.hashFiles=hashFiles},9911:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOptions=void 0;const p=d(n(59999));function getOptions(e){const t={followSymbolicLinks:true,implicitDescendants:true,matchDirectories:true,omitBrokenSymbolicLinks:true,excludeHiddenFiles:false};if(e){if(typeof e.followSymbolicLinks==="boolean"){t.followSymbolicLinks=e.followSymbolicLinks;p.debug(`followSymbolicLinks '${t.followSymbolicLinks}'`)}if(typeof e.implicitDescendants==="boolean"){t.implicitDescendants=e.implicitDescendants;p.debug(`implicitDescendants '${t.implicitDescendants}'`)}if(typeof e.matchDirectories==="boolean"){t.matchDirectories=e.matchDirectories;p.debug(`matchDirectories '${t.matchDirectories}'`)}if(typeof e.omitBrokenSymbolicLinks==="boolean"){t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks;p.debug(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)}if(typeof e.excludeHiddenFiles==="boolean"){t.excludeHiddenFiles=e.excludeHiddenFiles;p.debug(`excludeHiddenFiles '${t.excludeHiddenFiles}'`)}}return t}t.getOptions=getOptions},2460:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};var f=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(i,o){n=e[t](n),settle(i,o,n.done,n.value)}))}}function settle(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)}};var y=this&&this.__await||function(e){return this instanceof y?(this.v=e,this):new y(e)};var v=this&&this.__asyncGenerator||function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),o,d=[];return o={},verb("next"),verb("throw"),verb("return"),o[Symbol.asyncIterator]=function(){return this},o;function verb(e){if(i[e])o[e]=function(t){return new Promise((function(n,i){d.push([e,t,n,i])>1||resume(e,t)}))}}function resume(e,t){try{step(i[e](t))}catch(e){settle(d[0][3],e)}}function step(e){e.value instanceof y?Promise.resolve(e.value.v).then(fulfill,reject):settle(d[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),d.shift(),d.length)resume(d[0][0],d[0][1])}};Object.defineProperty(t,"__esModule",{value:true});t.DefaultGlobber=void 0;const D=d(n(59999));const M=d(n(79896));const U=d(n(9911));const j=d(n(16928));const V=d(n(69238));const K=n(66401);const ee=n(8109);const te=n(36187);const re=process.platform==="win32";class DefaultGlobber{constructor(e){this.patterns=[];this.searchPaths=[];this.options=U.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,t,n,i;return p(this,void 0,void 0,(function*(){const o=[];try{for(var d=true,p=f(this.globGenerator()),y;y=yield p.next(),e=y.done,!e;d=true){i=y.value;d=false;const e=i;o.push(e)}}catch(e){t={error:e}}finally{try{if(!d&&!e&&(n=p.return))yield n.call(p)}finally{if(t)throw t.error}}return o}))}globGenerator(){return v(this,arguments,(function*globGenerator_1(){const e=U.getOptions(this.options);const t=[];for(const n of this.patterns){t.push(n);if(e.implicitDescendants&&(n.trailingSeparator||n.segments[n.segments.length-1]!=="**")){t.push(new ee.Pattern(n.negate,true,n.segments.concat("**")))}}const n=[];for(const e of V.getSearchPaths(t)){D.debug(`Search path '${e}'`);try{yield y(M.promises.lstat(e))}catch(e){if(e.code==="ENOENT"){continue}throw e}n.unshift(new te.SearchState(e,1))}const i=[];while(n.length){const o=n.pop();const d=V.match(t,o.path);const p=!!d||V.partialMatch(t,o.path);if(!d&&!p){continue}const f=yield y(DefaultGlobber.stat(o,e,i));if(!f){continue}if(e.excludeHiddenFiles&&j.basename(o.path).match(/^\./)){continue}if(f.isDirectory()){if(d&K.MatchKind.Directory&&e.matchDirectories){yield yield y(o.path)}else if(!p){continue}const t=o.level+1;const i=(yield y(M.promises.readdir(o.path))).map((e=>new te.SearchState(j.join(o.path,e),t)));n.push(...i.reverse())}else if(d&K.MatchKind.File){yield yield y(o.path)}}}))}static create(e,t){return p(this,void 0,void 0,(function*(){const n=new DefaultGlobber(t);if(re){e=e.replace(/\r\n/g,"\n");e=e.replace(/\r/g,"\n")}const i=e.split("\n").map((e=>e.trim()));for(const e of i){if(!e||e.startsWith("#")){continue}else{n.patterns.push(new ee.Pattern(e))}}n.searchPaths.push(...V.getSearchPaths(n.patterns));return n}))}static stat(e,t,n){return p(this,void 0,void 0,(function*(){let i;if(t.followSymbolicLinks){try{i=yield M.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(t.omitBrokenSymbolicLinks){D.debug(`Broken symlink '${e.path}'`);return undefined}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}}else{i=yield M.promises.lstat(e.path)}if(i.isDirectory()&&t.followSymbolicLinks){const t=yield M.promises.realpath(e.path);while(n.length>=e.level){n.pop()}if(n.some((e=>e===t))){D.debug(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return undefined}n.push(t)}return i}))}}t.DefaultGlobber=DefaultGlobber},37233:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};var f=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(i,o){n=e[t](n),settle(i,o,n.done,n.value)}))}}function settle(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)}};Object.defineProperty(t,"__esModule",{value:true});t.hashFiles=void 0;const y=d(n(76982));const v=d(n(59999));const D=d(n(79896));const M=d(n(2203));const U=d(n(39023));const j=d(n(16928));function hashFiles(e,t,n=false){var i,o,d,V;var K;return p(this,void 0,void 0,(function*(){const p=n?v.info:v.debug;let ee=false;const te=t?t:(K=process.env["GITHUB_WORKSPACE"])!==null&&K!==void 0?K:process.cwd();const re=y.createHash("sha256");let ne=0;try{for(var se=true,ie=f(e.globGenerator()),oe;oe=yield ie.next(),i=oe.done,!i;se=true){V=oe.value;se=false;const e=V;p(e);if(!e.startsWith(`${te}${j.sep}`)){p(`Ignore '${e}' since it is not under GITHUB_WORKSPACE.`);continue}if(D.statSync(e).isDirectory()){p(`Skip directory '${e}'.`);continue}const t=y.createHash("sha256");const n=U.promisify(M.pipeline);yield n(D.createReadStream(e),t);re.write(t.digest());ne++;if(!ee){ee=true}}}catch(e){o={error:e}}finally{try{if(!se&&!i&&(d=ie.return))yield d.call(ie)}finally{if(o)throw o.error}}re.end();if(ee){p(`Found ${ne} files to hash.`);return re.digest("hex")}else{p(`No matches found for glob`);return""}}))}t.hashFiles=hashFiles},66401:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MatchKind=void 0;var n;(function(e){e[e["None"]=0]="None";e[e["Directory"]=1]="Directory";e[e["File"]=2]="File";e[e["All"]=3]="All"})(n||(t.MatchKind=n={}))},49445:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=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 f=d(n(16928));const y=p(n(42613));const v=process.platform==="win32";function dirname(e){e=safeTrimTrailingSeparator(e);if(v&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e)){return e}let t=f.dirname(e);if(v&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)){t=safeTrimTrailingSeparator(t)}return t}t.dirname=dirname;function ensureAbsoluteRoot(e,t){(0,y.default)(e,`ensureAbsoluteRoot parameter 'root' must not be empty`);(0,y.default)(t,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`);if(hasAbsoluteRoot(t)){return t}if(v){if(t.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let e=process.cwd();(0,y.default)(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);if(t[0].toUpperCase()===e[0].toUpperCase()){if(t.length===2){return`${t[0]}:\\${e.substr(3)}`}else{if(!e.endsWith("\\")){e+="\\"}return`${t[0]}:\\${e.substr(3)}${t.substr(2)}`}}else{return`${t[0]}:\\${t.substr(2)}`}}else if(normalizeSeparators(t).match(/^\\$|^\\[^\\]/)){const e=process.cwd();(0,y.default)(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);return`${e[0]}:\\${t.substr(1)}`}}(0,y.default)(hasAbsoluteRoot(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(e.endsWith("/")||v&&e.endsWith("\\")){}else{e+=f.sep}return e+t}t.ensureAbsoluteRoot=ensureAbsoluteRoot;function hasAbsoluteRoot(e){(0,y.default)(e,`hasAbsoluteRoot parameter 'itemPath' must not be empty`);e=normalizeSeparators(e);if(v){return e.startsWith("\\\\")||/^[A-Z]:\\/i.test(e)}return e.startsWith("/")}t.hasAbsoluteRoot=hasAbsoluteRoot;function hasRoot(e){(0,y.default)(e,`isRooted parameter 'itemPath' must not be empty`);e=normalizeSeparators(e);if(v){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.hasRoot=hasRoot;function normalizeSeparators(e){e=e||"";if(v){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(f.sep)){return e}if(e===f.sep){return e}if(v&&/^[A-Z]:\\$/i.test(e)){return e}return e.substr(0,e.length-1)}t.safeTrimTrailingSeparator=safeTrimTrailingSeparator},45588:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Path=void 0;const f=d(n(16928));const y=d(n(49445));const v=p(n(42613));const D=process.platform==="win32";class Path{constructor(e){this.segments=[];if(typeof e==="string"){(0,v.default)(e,`Parameter 'itemPath' must not be empty`);e=y.safeTrimTrailingSeparator(e);if(!y.hasRoot(e)){this.segments=e.split(f.sep)}else{let t=e;let n=y.dirname(t);while(n!==t){const e=f.basename(t);this.segments.unshift(e);t=n;n=y.dirname(t)}this.segments.unshift(t)}}else{(0,v.default)(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;t<e.length;t++){let n=e[t];(0,v.default)(n,`Parameter 'itemPath' must not contain any empty segments`);n=y.normalizeSeparators(e[t]);if(t===0&&y.hasRoot(n)){n=y.safeTrimTrailingSeparator(n);(0,v.default)(n===y.dirname(n),`Parameter 'itemPath' root segment contains information for multiple segments`);this.segments.push(n)}else{(0,v.default)(!n.includes(f.sep),`Parameter 'itemPath' contains unexpected path separators`);this.segments.push(n)}}}}toString(){let e=this.segments[0];let t=e.endsWith(f.sep)||D&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++){if(t){t=false}else{e+=f.sep}e+=this.segments[n]}return e}}t.Path=Path},69238:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.partialMatch=t.match=t.getSearchPaths=void 0;const p=d(n(49445));const f=n(66401);const y=process.platform==="win32";function getSearchPaths(e){e=e.filter((e=>!e.negate));const t={};for(const n of e){const e=y?n.searchPath.toUpperCase():n.searchPath;t[e]="candidate"}const n=[];for(const i of e){const e=y?i.searchPath.toUpperCase():i.searchPath;if(t[e]==="included"){continue}let o=false;let d=e;let f=p.dirname(d);while(f!==d){if(t[f]){o=true;break}d=f;f=p.dirname(d)}if(!o){n.push(i.searchPath);t[e]="included"}}return n}t.getSearchPaths=getSearchPaths;function match(e,t){let n=f.MatchKind.None;for(const i of e){if(i.negate){n&=~i.match(t)}else{n|=i.match(t)}}return n}t.match=match;function partialMatch(e,t){return e.some((e=>!e.negate&&e.partialMatch(t)))}t.partialMatch=partialMatch},8109:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Pattern=void 0;const f=d(n(70857));const y=d(n(16928));const v=d(n(49445));const D=p(n(42613));const M=n(96274);const U=n(66401);const j=n(45588);const V=process.platform==="win32";class Pattern{constructor(e,t=false,n,i){this.negate=false;let o;if(typeof e==="string"){o=e.trim()}else{n=n||[];(0,D.default)(n.length,`Parameter 'segments' must not empty`);const t=Pattern.getLiteral(n[0]);(0,D.default)(t&&v.hasAbsoluteRoot(t),`Parameter 'segments' first element must be a root path`);o=new j.Path(n).toString().trim();if(e){o=`!${o}`}}while(o.startsWith("!")){this.negate=!this.negate;o=o.substr(1).trim()}o=Pattern.fixupPattern(o,i);this.segments=new j.Path(o).segments;this.trailingSeparator=v.normalizeSeparators(o).endsWith(y.sep);o=v.safeTrimTrailingSeparator(o);let d=false;const p=this.segments.map((e=>Pattern.getLiteral(e))).filter((e=>!d&&!(d=e==="")));this.searchPath=new j.Path(p).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(p[0]),V?"i":"");this.isImplicitPattern=t;const f={dot:true,nobrace:true,nocase:V,nocomment:true,noext:true,nonegate:true};o=V?o.replace(/\\/g,"/"):o;this.minimatch=new M.Minimatch(o,f)}match(e){if(this.segments[this.segments.length-1]==="**"){e=v.normalizeSeparators(e);if(!e.endsWith(y.sep)&&this.isImplicitPattern===false){e=`${e}${y.sep}`}}else{e=v.safeTrimTrailingSeparator(e)}if(this.minimatch.match(e)){return this.trailingSeparator?U.MatchKind.Directory:U.MatchKind.All}return U.MatchKind.None}partialMatch(e){e=v.safeTrimTrailingSeparator(e);if(v.dirname(e)===e){return this.rootRegExp.test(e)}return this.minimatch.matchOne(e.split(V?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(e){return(V?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,t){(0,D.default)(e,"pattern cannot be empty");const n=new j.Path(e).segments.map((e=>Pattern.getLiteral(e)));(0,D.default)(n.every(((e,t)=>(e!=="."||t===0)&&e!=="..")),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`);(0,D.default)(!v.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`);e=v.normalizeSeparators(e);if(e==="."||e.startsWith(`.${y.sep}`)){e=Pattern.globEscape(process.cwd())+e.substr(1)}else if(e==="~"||e.startsWith(`~${y.sep}`)){t=t||f.homedir();(0,D.default)(t,"Unable to determine HOME directory");(0,D.default)(v.hasAbsoluteRoot(t),`Expected HOME directory to be a rooted path. Actual '${t}'`);e=Pattern.globEscape(t)+e.substr(1)}else if(V&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let t=v.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));if(e.length>2&&!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(2)}else if(V&&(e==="\\"||e.match(/^\\[^\\]/))){let t=v.ensureAbsoluteRoot("C:\\dummy-root","\\");if(!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(1)}else{e=v.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),e)}return v.normalizeSeparators(e)}static getLiteral(e){let t="";for(let n=0;n<e.length;n++){const i=e[n];if(i==="\\"&&!V&&n+1<e.length){t+=e[++n];continue}else if(i==="*"||i==="?"){return""}else if(i==="["&&n+1<e.length){let i="";let o=-1;for(let t=n+1;t<e.length;t++){const n=e[t];if(n==="\\"&&!V&&t+1<e.length){i+=e[++t];continue}else if(n==="]"){o=t;break}else{i+=n}}if(o>=0){if(i.length>1){return""}if(i){t+=i;n=o;continue}}}t+=i}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}}t.Pattern=Pattern},36187:(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},63673:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return n(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},80787:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.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 f=d(n(58611));const y=d(n(65692));const v=d(n(77407));const D=d(n(16124));const M=n(40298);var U;(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"})(U||(t.HttpCodes=U={}));var j;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(j||(t.Headers=j={}));var V;(function(e){e["ApplicationJson"]="application/json"})(V||(t.MediaTypes=V={}));function getProxyUrl(e){const t=v.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const K=[U.MovedPermanently,U.ResourceMoved,U.SeeOther,U.TemporaryRedirect,U.PermanentRedirect];const ee=[U.BadGateway,U.ServiceUnavailable,U.GatewayTimeout];const te=["OPTIONS","GET","DELETE","HEAD"];const re=10;const ne=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return p(this,void 0,void 0,(function*(){return new Promise((e=>p(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 p(this,void 0,void 0,(function*(){return new Promise((e=>p(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,n){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=n;if(n){if(n.ignoreSslError!=null){this._ignoreSslError=n.ignoreSslError}this._socketTimeout=n.socketTimeout;if(n.allowRedirects!=null){this._allowRedirects=n.allowRedirects}if(n.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=n.allowRedirectDowngrade}if(n.maxRedirects!=null){this._maxRedirects=Math.max(n.maxRedirects,0)}if(n.keepAlive!=null){this._keepAlive=n.keepAlive}if(n.allowRetries!=null){this._allowRetries=n.allowRetries}if(n.maxRetries!=null){this._maxRetries=n.maxRetries}}}options(e,t){return p(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return p(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return p(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,n){return p(this,void 0,void 0,(function*(){return this.request("POST",e,t,n||{})}))}patch(e,t,n){return p(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,n||{})}))}put(e,t,n){return p(this,void 0,void 0,(function*(){return this.request("PUT",e,t,n||{})}))}head(e,t){return p(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,n,i){return p(this,void 0,void 0,(function*(){return this.request(e,t,n,i)}))}getJson(e,t={}){return p(this,void 0,void 0,(function*(){t[j.Accept]=this._getExistingOrDefaultHeader(t,j.Accept,V.ApplicationJson);const n=yield this.get(e,t);return this._processResponse(n,this.requestOptions)}))}postJson(e,t,n={}){return p(this,void 0,void 0,(function*(){const i=JSON.stringify(t,null,2);n[j.Accept]=this._getExistingOrDefaultHeader(n,j.Accept,V.ApplicationJson);n[j.ContentType]=this._getExistingOrDefaultHeader(n,j.ContentType,V.ApplicationJson);const o=yield this.post(e,i,n);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,n={}){return p(this,void 0,void 0,(function*(){const i=JSON.stringify(t,null,2);n[j.Accept]=this._getExistingOrDefaultHeader(n,j.Accept,V.ApplicationJson);n[j.ContentType]=this._getExistingOrDefaultHeader(n,j.ContentType,V.ApplicationJson);const o=yield this.put(e,i,n);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,n={}){return p(this,void 0,void 0,(function*(){const i=JSON.stringify(t,null,2);n[j.Accept]=this._getExistingOrDefaultHeader(n,j.Accept,V.ApplicationJson);n[j.ContentType]=this._getExistingOrDefaultHeader(n,j.ContentType,V.ApplicationJson);const o=yield this.patch(e,i,n);return this._processResponse(o,this.requestOptions)}))}request(e,t,n,i){return p(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const o=new URL(t);let d=this._prepareRequest(e,o,i);const p=this._allowRetries&&te.includes(e)?this._maxRetries+1:1;let f=0;let y;do{y=yield this.requestRaw(d,n);if(y&&y.message&&y.message.statusCode===U.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(y)){e=t;break}}if(e){return e.handleAuthentication(this,d,n)}else{return y}}let t=this._maxRedirects;while(y.message.statusCode&&K.includes(y.message.statusCode)&&this._allowRedirects&&t>0){const p=y.message.headers["location"];if(!p){break}const f=new URL(p);if(o.protocol==="https:"&&o.protocol!==f.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 y.readBody();if(f.hostname!==o.hostname){for(const e in i){if(e.toLowerCase()==="authorization"){delete i[e]}}}d=this._prepareRequest(e,f,i);y=yield this.requestRaw(d,n);t--}if(!y.message.statusCode||!ee.includes(y.message.statusCode)){return y}f+=1;if(f<p){yield y.readBody();yield this._performExponentialBackoff(f)}}while(f<p);return y}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(e,t){return p(this,void 0,void 0,(function*(){return new Promise(((n,i)=>{function callbackForResult(e,t){if(e){i(e)}else if(!t){i(new Error("Unknown error"))}else{n(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,n){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let i=false;function handleResult(e,t){if(!i){i=true;n(e,t)}}const o=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let d;o.on("socket",(e=>{d=e}));o.setTimeout(this._socketTimeout||3*6e4,(()=>{if(d){d.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));o.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){o.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){o.end()}));t.pipe(o)}else{o.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const n=v.getProxyUrl(t);const i=n&&n.hostname;if(!i){return}return this._getProxyAgentDispatcher(t,n)}_prepareRequest(e,t,n){const i={};i.parsedUrl=t;const o=i.parsedUrl.protocol==="https:";i.httpModule=o?y:f;const d=o?443:80;i.options={};i.options.host=i.parsedUrl.hostname;i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):d;i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||"");i.options.method=e;i.options.headers=this._mergeHeaders(n);if(this.userAgent!=null){i.options.headers["user-agent"]=this.userAgent}i.options.agent=this._getAgent(i.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(i.options)}}return i}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,n){let i;if(this.requestOptions&&this.requestOptions.headers){i=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||i||n}_getAgent(e){let t;const n=v.getProxyUrl(e);const i=n&&n.hostname;if(this._keepAlive&&i){t=this._proxyAgent}if(!i){t=this._agent}if(t){return t}const o=e.protocol==="https:";let d=100;if(this.requestOptions){d=this.requestOptions.maxSockets||f.globalAgent.maxSockets}if(n&&n.hostname){const e={maxSockets:d,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})};let i;const p=n.protocol==="https:";if(o){i=p?D.httpsOverHttps:D.httpsOverHttp}else{i=p?D.httpOverHttps:D.httpOverHttp}t=i(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:d};t=o?new y.Agent(e):new f.Agent(e);this._agent=t}if(o&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let n;if(this._keepAlive){n=this._proxyAgentDispatcher}if(n){return n}const i=e.protocol==="https:";n=new M.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=n;if(i&&this._ignoreSslError){n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:false})}return n}_performExponentialBackoff(e){return p(this,void 0,void 0,(function*(){e=Math.min(re,e);const t=ne*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return p(this,void 0,void 0,(function*(){return new Promise(((n,i)=>p(this,void 0,void 0,(function*(){const o=e.message.statusCode||0;const d={statusCode:o,result:null,headers:{}};if(o===U.NotFound){n(d)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let p;let f;try{f=yield e.readBody();if(f&&f.length>0){if(t&&t.deserializeDates){p=JSON.parse(f,dateTimeDeserializer)}else{p=JSON.parse(f)}d.result=p}d.headers=e.message.headers}catch(e){}if(o>299){let e;if(p&&p.message){e=p.message}else if(f&&f.length>0){e=f}else{e=`Failed request: (${o})`}const t=new HttpClientError(e,o);t.result=d.result;i(t)}else{n(d)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,n)=>(t[n.toLowerCase()]=e[n],t)),{})},77407:(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 n=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(n){try{return new DecodedURL(n)}catch(e){if(!n.startsWith("http://")&&!n.startsWith("https://"))return new DecodedURL(`http://${n}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const n=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!n){return false}let i;if(e.port){i=Number(e.port)}else if(e.protocol==="http:"){i=80}else if(e.protocol==="https:"){i=443}const o=[e.hostname.toUpperCase()];if(typeof i==="number"){o.push(`${o[0]}:${i}`)}for(const e of n.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||o.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}}},52746:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};var f;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 y=d(n(79896));const v=d(n(16928));f=y.promises,t.chmod=f.chmod,t.copyFile=f.copyFile,t.lstat=f.lstat,t.mkdir=f.mkdir,t.open=f.open,t.readdir=f.readdir,t.readlink=f.readlink,t.rename=f.rename,t.rm=f.rm,t.rmdir=f.rmdir,t.stat=f.stat,t.symlink=f.symlink,t.unlink=f.unlink;t.IS_WINDOWS=process.platform==="win32";t.UV_FS_O_EXLOCK=268435456;t.READONLY=y.constants.O_RDONLY;function exists(e){return p(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}t.exists=exists;function isDirectory(e,n=false){return p(this,void 0,void 0,(function*(){const i=n?yield t.stat(e):yield t.lstat(e);return i.isDirectory()}))}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function tryGetExecutablePath(e,n){return p(this,void 0,void 0,(function*(){let i=undefined;try{i=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(i&&i.isFile()){if(t.IS_WINDOWS){const t=v.extname(e).toUpperCase();if(n.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(i)){return e}}}const o=e;for(const d of n){e=o+d;i=undefined;try{i=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(i&&i.isFile()){if(t.IS_WINDOWS){try{const n=v.dirname(e);const i=v.basename(e).toUpperCase();for(const o of yield t.readdir(n)){if(i===o.toUpperCase()){e=v.join(n,o);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(i)){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},73357:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[n]}})}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.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 f=n(42613);const y=d(n(16928));const v=d(n(52746));function cp(e,t,n={}){return p(this,void 0,void 0,(function*(){const{force:i,recursive:o,copySourceDirectory:d}=readCopyOptions(n);const p=(yield v.exists(t))?yield v.stat(t):null;if(p&&p.isFile()&&!i){return}const f=p&&p.isDirectory()&&d?y.join(t,y.basename(e)):t;if(!(yield v.exists(e))){throw new Error(`no such file or directory: ${e}`)}const D=yield v.stat(e);if(D.isDirectory()){if(!o){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,f,0,i)}}else{if(y.relative(e,f)===""){throw new Error(`'${f}' and '${e}' are the same file`)}yield copyFile(e,f,i)}}))}t.cp=cp;function mv(e,t,n={}){return p(this,void 0,void 0,(function*(){if(yield v.exists(t)){let i=true;if(yield v.isDirectory(t)){t=y.join(t,y.basename(e));i=yield v.exists(t)}if(i){if(n.force==null||n.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(y.dirname(t));yield v.rename(e,t)}))}t.mv=mv;function rmRF(e){return p(this,void 0,void 0,(function*(){if(v.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield v.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 p(this,void 0,void 0,(function*(){f.ok(e,"a path argument must be provided");yield v.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return p(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(v.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const n=yield findInPath(e);if(n&&n.length>0){return n[0]}return""}))}t.which=which;function findInPath(e){return p(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(v.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(y.delimiter)){if(e){t.push(e)}}}if(v.isRooted(e)){const n=yield v.tryGetExecutablePath(e,t);if(n){return[n]}return[]}if(e.includes(y.sep)){return[]}const n=[];if(process.env.PATH){for(const e of process.env.PATH.split(y.delimiter)){if(e){n.push(e)}}}const i=[];for(const o of n){const n=yield v.tryGetExecutablePath(y.join(o,e),t);if(n){i.push(n)}}return i}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const n=Boolean(e.recursive);const i=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:n,copySourceDirectory:i}}function cpDirRecursive(e,t,n,i){return p(this,void 0,void 0,(function*(){if(n>=255)return;n++;yield mkdirP(t);const o=yield v.readdir(e);for(const d of o){const o=`${e}/${d}`;const p=`${t}/${d}`;const f=yield v.lstat(o);if(f.isDirectory()){yield cpDirRecursive(o,p,n,i)}else{yield copyFile(o,p,i)}}yield v.chmod(t,(yield v.stat(e)).mode)}))}function copyFile(e,t,n){return p(this,void 0,void 0,(function*(){if((yield v.lstat(e)).isSymbolicLink()){try{yield v.lstat(t);yield v.unlink(t)}catch(e){if(e.code==="EPERM"){yield v.chmod(t,"0666");yield v.unlink(t)}}const n=yield v.readlink(e);yield v.symlink(n,t,v.IS_WINDOWS?"junction":null)}else if(!(yield v.exists(t))||n){yield v.copyFile(e,t)}}))}},80349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=new WeakMap;const i=new WeakMap;class AbortSignal{constructor(){this.onabort=null;n.set(this,[]);i.set(this,false)}get aborted(){if(!i.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return i.get(this)}static get none(){return new AbortSignal}addEventListener(e,t){if(!n.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const i=n.get(this);i.push(t)}removeEventListener(e,t){if(!n.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const i=n.get(this);const o=i.indexOf(t);if(o>-1){i.splice(o,1)}}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(e){if(e.aborted){return}if(e.onabort){e.onabort.call(e)}const t=n.get(e);if(t){t.slice().forEach((t=>{t.call(e,{type:"abort"})}))}i.set(e,true)}class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}class AbortController{constructor(e){this._signal=new AbortSignal;if(!e){return}if(!Array.isArray(e)){e=arguments}for(const t of e){if(t.aborted){this.abort()}else{t.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(e){const t=new AbortSignal;const n=setTimeout(abortSignal,e,t);if(typeof n.unref==="function"){n.unref()}return t}}t.AbortController=AbortController;t.AbortError=AbortError;t.AbortSignal=AbortSignal},90991:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=n(54786);var o=n(31577);var d=n(46113);var p=n(91276);var f=n(62464);var y=n(9235);var v=n(64993);var D=n(42549);var M=n(764);var U=n(76982);var j=n(92245);var V=n(2203);var K=n(22670);var ee=n(24434);var te=n(79896);var re=n(39023);var ne=n(20181);function _interopNamespaceDefault(e){var t=Object.create(null);if(e){Object.keys(e).forEach((function(n){if(n!=="default"){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:true,get:function(){return e[n]}})}}))}t.default=e;return Object.freeze(t)}var se=_interopNamespaceDefault(f);var ie=_interopNamespaceDefault(y);var oe=_interopNamespaceDefault(te);var ae=_interopNamespaceDefault(re);const Ae=D.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 ce="12.27.0";const le="2025-05-05";const ue=256*1024*1024;const de=4e3*1024*1024;const pe=5e4;const ge=8*1024*1024;const fe=4*1024*1024;const he=5;const me=100*1e3;const ye="https://storage.azure.com/.default";const Ee={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const Ce={HTTP_ACCEPTED:202};const Ie={AUTHORIZATION:"Authorization",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",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version"};const Be="";const be="*";const Qe=1*1024*1024;const Se=256;const Ne=4*Qe;const we="\r\n";const ve="HTTP/1.1";const Re="AES256";const xe=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const Pe=["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 ke=["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 De="BlobUsesCustomerSpecifiedEncryption";const Te="BlobDoesNotUseCustomerSpecifiedEncryption";const Oe=["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 n=t.pathname;n=n||"/";n=escape(n);t.pathname=n;return t.toString()}function getProxyUriFromDevConnString(e){let t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){const n=e.split(";");for(const e of n){if(e.trim().startsWith("DevelopmentStorageProxyUri=")){t=e.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function getValueInConnString(e,t){const n=e.split(";");for(const e of n){if(e.trim().startsWith(t)){return e.trim().match(t+"=(.*)")[1]}}return""}function extractConnectionStringParts(e){let t="";if(e.startsWith("UseDevelopmentStorage=true")){t=getProxyUriFromDevConnString(e);e=xe}let n=getValueInConnString(e,"BlobEndpoint");n=n.endsWith("/")?n.slice(0,-1):n;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){let i="";let o="";let d=Buffer.from("accountKey","base64");let p="";o=getValueInConnString(e,"AccountName");d=Buffer.from(getValueInConnString(e,"AccountKey"),"base64");if(!n){i=getValueInConnString(e,"DefaultEndpointsProtocol");const t=i.toLowerCase();if(t!=="https"&&t!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}p=getValueInConnString(e,"EndpointSuffix");if(!p){throw new Error("Invalid EndpointSuffix in the provided Connection String")}n=`${i}://${o}.blob.${p}`}if(!o){throw new Error("Invalid AccountName in the provided Connection String")}else if(d.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:n,accountName:o,accountKey:d,proxyUri:t}}else{let t=getValueInConnString(e,"SharedAccessSignature");let i=getValueInConnString(e,"AccountName");if(!i){i=getAccountNameFromUrl(n)}if(!n){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!t){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(t.startsWith("?")){t=t.substring(1)}return{kind:"SASConnString",url:n,accountName:i,accountSas:t}}}function escape(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(e,t){const n=new URL(e);let i=n.pathname;i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t;n.pathname=i;return n.toString()}function setURLParameter(e,t,n){const i=new URL(e);const o=encodeURIComponent(t);const d=n?encodeURIComponent(n):undefined;const p=i.search===""?"?":i.search;const f=[];for(const e of p.slice(1).split("&")){if(e){const[t]=e.split("=",2);if(t!==o){f.push(e)}}}if(d){f.push(`${o}=${d}`)}i.search=f.length?`?${f.join("&")}`:"";return i.toString()}function getURLParameter(e,t){var n;const i=new URL(e);return(n=i.searchParams.get(t))!==null&&n!==void 0?n:undefined}function setURLHost(e,t){const n=new URL(e);n.hostname=t;return n.toString()}function getURLPath(e){try{const t=new URL(e);return t.pathname}catch(e){return undefined}}function getURLScheme(e){try{const t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function getURLPathAndQuery(e){const t=new URL(e);const n=t.pathname;if(!n){throw new RangeError("Invalid url without valid path.")}let i=t.search||"";i=i.trim();if(i!==""){i=i.startsWith("?")?i:`?${i}`}return`${n}${i}`}function getURLQueries(e){let t=new URL(e).search;if(!t){return{}}t=t.trim();t=t.startsWith("?")?t.substring(1):t;let n=t.split("&");n=n.filter((e=>{const t=e.indexOf("=");const n=e.lastIndexOf("=");return t>0&&t===n&&n<e.length-1}));const i={};for(const e of n){const t=e.split("=");const n=t[0];const o=t[1];i[n]=o}return i}function appendToURLQuery(e,t){const n=new URL(e);let i=n.search;if(i){i+="&"+t}else{i=t}n.search=i;return n.toString()}function truncatedISO8061Date(e,t=true){const n=e.toISOString();return t?n.substring(0,n.length-1)+"0000"+"Z":n.substring(0,n.length-5)+"Z"}function base64encode(e){return!p.isNode?btoa(e):Buffer.from(e).toString("base64")}function generateBlockID(e,t){const n=48;const i=6;const o=n-i;if(e.length>o){e=e.slice(0,o)}const d=e+padStart(t.toString(),n-e.length,"0");return base64encode(d)}async function delay(e,t,n){return new Promise(((i,o)=>{let d;const abortHandler=()=>{if(d!==undefined){clearTimeout(d)}o(n)};const resolveHandler=()=>{if(t!==undefined){t.removeEventListener("abort",abortHandler)}i()};d=setTimeout(resolveHandler,e);if(t!==undefined){t.addEventListener("abort",abortHandler)}}))}function padStart(e,t,n=" "){if(String.prototype.padStart){return e.padStart(t,n)}n=n||" ";if(e.length>t){return e}else{t=t-e.length;if(t>n.length){n+=n.repeat(t/n.length)}return n.slice(0,t)+e}}function iEqual(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function getAccountNameFromUrl(e){const t=new URL(e);let n;try{if(t.hostname.split(".")[1]==="blob"){n=t.hostname.split(".")[0]}else if(isIpEndpointStyle(t)){n=t.pathname.split("/")[1]}else{n=""}return n}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(e){const t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||Boolean(e.port)&&Oe.includes(e.port)}function toBlobTagsString(e){if(e===undefined){return undefined}const t=[];for(const n in e){if(Object.prototype.hasOwnProperty.call(e,n)){const i=e[n];t.push(`${encodeURIComponent(n)}=${encodeURIComponent(i)}`)}}return t.join("&")}function toBlobTags(e){if(e===undefined){return undefined}const t={blobTagSet:[]};for(const n in e){if(Object.prototype.hasOwnProperty.call(e,n)){const i=e[n];t.blobTagSet.push({key:n,value:i})}}return t}function toTags(e){if(e===undefined){return undefined}const t={};for(const n of e.blobTagSet){t[n.key]=n.value}return t}function toQuerySerialization(e){if(e===undefined){return undefined}switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(e){if(!e){return undefined}if("policy-id"in e){return undefined}const t=[];for(const n in e){const i=n.split("_");const o="or-";if(i[0].startsWith(o)){i[0]=i[0].substring(o.length)}const d={ruleId:i[1],replicationStatus:e[n]};const p=t.findIndex((e=>e.policyId===i[0]));if(p>-1){t[p].rules.push(d)}else{t.push({policyId:i[0],rules:[d]})}}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 n=[];if(e.pageRange)t=e.pageRange;if(e.clearRange)n=e.clearRange;let i=0;let o=0;while(i<t.length&&o<n.length){if(t[i].start<n[o].start){yield{start:t[i].start,end:t[i].end,isClear:false};++i}else{yield{start:n[o].start,end:n[o].end,isClear:true};++o}}for(;i<t.length;++i){yield{start:t[i].start,end:t[i].end,isClear:false}}for(;o<n.length;++o){yield{start:n[o].start,end:n[o].end,isClear:true}}}function EscapePath(e){const t=e.split("/");for(let e=0;e<t.length;e++){t[e]=encodeURIComponent(t[e])}return t.join("/")}function assertResponse(e){if(`_response`in e){return e}throw new TypeError(`Unexpected response object ${e}`)}t.StorageRetryPolicyType=void 0;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(t.StorageRetryPolicyType||(t.StorageRetryPolicyType={}));const Le={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:t.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const Me=new M.AbortError("The operation was aborted.");class StorageRetryPolicy extends BaseRequestPolicy{constructor(e,t,n=Le){super(e,t);this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Le.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Le.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Le.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Le.maxRetryDelayInMs):Le.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Le.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Le.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,false,1)}async attemptSendRequest(e,t,n){const i=e.clone();const o=t||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;if(!o){i.url=setURLHost(i.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){i.url=setURLParameter(i.url,Ee.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let d;try{Ae.info(`RetryPolicy: =====> Try=${n} ${o?"Primary":"Secondary"}`);d=await this._nextPolicy.sendRequest(i);if(!this.shouldRetry(o,n,d)){return d}t=t||!o&&d.status===404}catch(e){Ae.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);if(!this.shouldRetry(o,n,d,e)){throw e}}await this.delay(o,n,e.abortSignal);return this.attemptSendRequest(e,t,++n)}shouldRetry(e,t,n,i){if(t>=this.retryOptions.maxTries){Ae.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const o=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(const e of o){if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e){Ae.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}}if(n||i){const t=n?n.status:i?i.statusCode:0;if(!e&&t===404){Ae.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){Ae.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if((i===null||i===void 0?void 0:i.code)==="PARSE_ERROR"&&(i===null||i===void 0?void 0:i.message.startsWith(`Error "Error: Unclosed root tag`))){Ae.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(e,n,i){let o=0;if(e){switch(this.retryOptions.retryPolicyType){case t.StorageRetryPolicyType.EXPONENTIAL:o=Math.min((Math.pow(2,n-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case t.StorageRetryPolicyType.FIXED:o=this.retryOptions.retryDelayInMs;break}}else{o=Math.random()*1e3}Ae.info(`RetryPolicy: Delay for ${o}ms`);return delay(o,i,Me)}}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 Fe=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 Ue=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 _e=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 n=[Fe,Ue,_e];let i=0;let o=0;let d=0;while(i<n.length){if(i===n.length-1&&o!==d){return o>d}const p=o<e.length?n[i][e[o].charCodeAt(0)]:1;const f=d<t.length?n[i][t[d].charCodeAt(0)]:1;if(p===1&&f===1){o=0;d=0;++i}else if(p===f){++o;++d}else if(p===0){++o}else if(f===0){++d}else{return p<f}}return false}class StorageSharedKeyCredentialPolicy extends CredentialPolicy{constructor(e,t,n){super(e,t);this.factory=n}signRequest(e){e.headers.set(Ie.X_MS_DATE,(new Date).toUTCString());if(e.body&&(typeof e.body==="string"||e.body!==undefined)&&e.body.length>0){e.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(e.body))}const t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Ie.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Ie.CONTENT_ENCODING),this.getHeaderValueToSign(e,Ie.CONTENT_LENGTH),this.getHeaderValueToSign(e,Ie.CONTENT_MD5),this.getHeaderValueToSign(e,Ie.CONTENT_TYPE),this.getHeaderValueToSign(e,Ie.DATE),this.getHeaderValueToSign(e,Ie.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Ie.IF_MATCH),this.getHeaderValueToSign(e,Ie.IF_NONE_MATCH),this.getHeaderValueToSign(e,Ie.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Ie.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e);const n=this.factory.computeHMACSHA256(t);e.headers.set(Ie.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`);return e}getHeaderValueToSign(e,t){const n=e.headers.get(t);if(!n){return""}if(t===Ie.CONTENT_LENGTH&&n==="0"){return""}return n}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter((e=>e.name.toLowerCase().startsWith(Ie.PREFIX_FOR_STORAGE)));t.sort(((e,t)=>compareHeader(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,n)=>{if(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()){return false}return true}));let n="";t.forEach((e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return n}getCanonicalizedResourceString(e){const t=getURLPath(e.url)||"/";let n="";n+=`/${this.factory.accountName}${t}`;const i=getURLQueries(e.url);const o={};if(i){const e=[];for(const t in i){if(Object.prototype.hasOwnProperty.call(i,t)){const n=t.toLowerCase();o[n]=i[t];e.push(n)}}e.sort();for(const t of e){n+=`\n${t}:${decodeURIComponent(o[t])}`}}return n}}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 U.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 He;function getCachedDefaultHttpClient(){if(!He){He=i.createDefaultHttpClient()}return He}const qe="storageBrowserPolicy";function storageBrowserPolicy(){return{name:qe,async sendRequest(e,t){if(p.isNode){return t(e)}if(e.method==="GET"||e.method==="HEAD"){e.url=setURLParameter(e.url,Ee.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.delete(Ie.COOKIE);e.headers.delete(Ie.CONTENT_LENGTH);return t(e)}}}const ze="storageRetryPolicy";var je;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(je||(je={}));const Ve={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:je.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const Ge=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const Ye=new M.AbortError("The operation was aborted.");function storageRetryPolicy(e={}){var t,n,o,d,f,y;const v=(t=e.retryPolicyType)!==null&&t!==void 0?t:Ve.retryPolicyType;const D=(n=e.maxTries)!==null&&n!==void 0?n:Ve.maxTries;const M=(o=e.retryDelayInMs)!==null&&o!==void 0?o:Ve.retryDelayInMs;const U=(d=e.maxRetryDelayInMs)!==null&&d!==void 0?d:Ve.maxRetryDelayInMs;const j=(f=e.secondaryHost)!==null&&f!==void 0?f:Ve.secondaryHost;const V=(y=e.tryTimeoutInMs)!==null&&y!==void 0?y:Ve.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:e,attempt:t,response:n,error:i}){var o,d;if(t>=D){Ae.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${D}, no further try.`);return false}if(i){for(const e of Ge){if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e){Ae.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}if((i===null||i===void 0?void 0:i.code)==="PARSE_ERROR"&&(i===null||i===void 0?void 0:i.message.startsWith(`Error "Error: Unclosed root tag`))){Ae.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(n||i){const t=(d=(o=n===null||n===void 0?void 0:n.status)!==null&&o!==void 0?o:i===null||i===void 0?void 0:i.statusCode)!==null&&d!==void 0?d:0;if(!e&&t===404){Ae.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){Ae.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}return false}function calculateDelay(e,t){let n=0;if(e){switch(v){case je.EXPONENTIAL:n=Math.min((Math.pow(2,t-1)-1)*M,U);break;case je.FIXED:n=M;break}}else{n=Math.random()*1e3}Ae.info(`RetryPolicy: Delay for ${n}ms`);return n}return{name:ze,async sendRequest(e,t){if(V){e.url=setURLParameter(e.url,Ee.Parameters.TIMEOUT,String(Math.floor(V/1e3)))}const n=e.url;const o=j?setURLHost(e.url,j):undefined;let d=false;let f=1;let y=true;let v;let D;while(y){const M=d||!o||!["GET","HEAD","OPTIONS"].includes(e.method)||f%2===1;e.url=M?n:o;v=undefined;D=undefined;try{Ae.info(`RetryPolicy: =====> Try=${f} ${M?"Primary":"Secondary"}`);v=await t(e);d=d||!M&&v.status===404}catch(e){if(i.isRestError(e)){Ae.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);D=e}else{Ae.error(`RetryPolicy: Caught error, message: ${p.getErrorMessage(e)}`);throw e}}y=shouldRetry({isPrimaryRetry:M,attempt:f,response:v,error:D});if(y){await delay(calculateDelay(M,f),e.abortSignal,Ye)}f++}if(v){return v}throw D!==null&&D!==void 0?D:new i.RestError("RetryPolicy failed without known error.")}}}const Je="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(e){function signRequest(t){t.headers.set(Ie.X_MS_DATE,(new Date).toUTCString());if(t.body&&(typeof t.body==="string"||Buffer.isBuffer(t.body))&&t.body.length>0){t.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(t.body))}const n=[t.method.toUpperCase(),getHeaderValueToSign(t,Ie.CONTENT_LANGUAGE),getHeaderValueToSign(t,Ie.CONTENT_ENCODING),getHeaderValueToSign(t,Ie.CONTENT_LENGTH),getHeaderValueToSign(t,Ie.CONTENT_MD5),getHeaderValueToSign(t,Ie.CONTENT_TYPE),getHeaderValueToSign(t,Ie.DATE),getHeaderValueToSign(t,Ie.IF_MODIFIED_SINCE),getHeaderValueToSign(t,Ie.IF_MATCH),getHeaderValueToSign(t,Ie.IF_NONE_MATCH),getHeaderValueToSign(t,Ie.IF_UNMODIFIED_SINCE),getHeaderValueToSign(t,Ie.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(t)+getCanonicalizedResourceString(t);const i=U.createHmac("sha256",e.accountKey).update(n,"utf8").digest("base64");t.headers.set(Ie.AUTHORIZATION,`SharedKey ${e.accountName}:${i}`)}function getHeaderValueToSign(e,t){const n=e.headers.get(t);if(!n){return""}if(t===Ie.CONTENT_LENGTH&&n==="0"){return""}return n}function getCanonicalizedHeadersString(e){let t=[];for(const[n,i]of e.headers){if(n.toLowerCase().startsWith(Ie.PREFIX_FOR_STORAGE)){t.push({name:n,value:i})}}t.sort(((e,t)=>compareHeader(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,n)=>{if(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()){return false}return true}));let n="";t.forEach((e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return n}function getCanonicalizedResourceString(t){const n=getURLPath(t.url)||"/";let i="";i+=`/${e.accountName}${n}`;const o=getURLQueries(t.url);const d={};if(o){const e=[];for(const t in o){if(Object.prototype.hasOwnProperty.call(o,t)){const n=t.toLowerCase();d[n]=o[t];e.push(n)}}e.sort();for(const t of e){i+=`\n${t}:${decodeURIComponent(d[t])}`}}return i}return{name:Je,async sendRequest(e,t){signRequest(e);return t(e)}}}class StorageBrowserPolicy extends BaseRequestPolicy{constructor(e,t){super(e,t)}async sendRequest(e){if(p.isNode){return this._nextPolicy.sendRequest(e)}if(e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD"){e.url=setURLParameter(e.url,Ee.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.remove(Ie.COOKIE);e.headers.remove(Ie.CONTENT_LENGTH);return this._nextPolicy.sendRequest(e)}}class StorageBrowserPolicyFactory{create(e,t){return new StorageBrowserPolicy(e,t)}}const We="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(e){if(e.body&&(typeof e.body==="string"||Buffer.isBuffer(e.body))&&e.body.length>0){e.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(e.body))}}return{name:We,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 n=new Pipeline([],t);n._credential=e;return n}function processDownlevelPipeline(e){const t=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(e.factories.length){const n=e.factories.filter((e=>!t.some((t=>t(e)))));if(n.length){const e=n.some((e=>isInjectorPolicyFactory(e)));return{wrappedPolicies:f.createRequestPolicyFactoryPolicy(n),afterRetry:e}}}return undefined}function getCoreClientOptions(e){var t;const n=e.options,{httpClient:p}=n,D=o.__rest(n,["httpClient"]);let M=e._coreHttpClient;if(!M){M=p?f.convertHttpClient(p):getCachedDefaultHttpClient();e._coreHttpClient=M}let U=e._corePipeline;if(!U){const n=`azsdk-js-azure-storage-blob/${ce}`;const o=D.userAgentOptions&&D.userAgentOptions.userAgentPrefix?`${D.userAgentOptions.userAgentPrefix} ${n}`:`${n}`;U=y.createClientPipeline(Object.assign(Object.assign({},D),{loggingOptions:{additionalAllowedHeaderNames:Pe,additionalAllowedQueryParameters:ke,logger:Ae.info},userAgentOptions:{userAgentPrefix:o},serializationOptions:{stringifyXML:v.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:v.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}));U.removePolicy({phase:"Retry"});U.removePolicy({name:i.decompressResponsePolicyName});U.addPolicy(storageCorrectContentLengthPolicy());U.addPolicy(storageRetryPolicy(D.retryOptions),{phase:"Retry"});U.addPolicy(storageBrowserPolicy());const p=processDownlevelPipeline(e);if(p){U.addPolicy(p.wrappedPolicies,p.afterRetry?{afterPhase:"Retry"}:undefined)}const f=getCredentialFromPipeline(e);if(d.isTokenCredential(f)){U.addPolicy(i.bearerTokenAuthenticationPolicy({credential:f,scopes:(t=D.audience)!==null&&t!==void 0?t:ye,challengeCallbacks:{authorizeRequestOnChallenge:y.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(f instanceof StorageSharedKeyCredential){U.addPolicy(storageSharedKeyCredentialPolicy({accountName:f.accountName,accountKey:f.accountKey}),{phase:"Sign"})}e._corePipeline=U}return Object.assign(Object.assign({},D),{allowInsecureConnection:true,httpClient:M,pipeline:U})}function getCredentialFromPipeline(e){if(e._credential){return e._credential}let t=new AnonymousCredential;for(const n of e.factories){if(d.isTokenCredential(n.credential)){t=n.credential}else if(isStorageSharedKeyCredential(n)){return n}}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 d.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 n={sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})};const i={log(e,t){},shouldLog(e){return false}};const o=e.create(n,i);const d=o.constructor.name;return t.some((e=>d.startsWith(e)))}const Ze={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 Ke={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 $e={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 Xe={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 At={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 dt={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 mt={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 yt={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};const Et={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 Ct={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 It={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 Bt={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 bt={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 Qt={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 St={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 Nt={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 wt={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 vt={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 Rt={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 xt={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 Pt={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 kt={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 Dt={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 Tt={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 Ot={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 Lt={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 Mt={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 Ft={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};const Ut={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 _t={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 Ht={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 qt={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 zt={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 jt={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 Vt={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 Gt={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};const Yt={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 Jt={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 Wt={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};const Zt={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 Kt={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 $t={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 Xt={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const er={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 tr={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rr={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 nr={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sr={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 ir={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const or={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 ar={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ar={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 cr={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const lr={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 ur={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const dr={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 pr={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gr={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 fr={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hr={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 mr={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yr={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 Er={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Cr={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 Ir={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Br={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 br={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qr={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 Sr={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Nr={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 wr={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const vr={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 Rr={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xr={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 Pr={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kr={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 Dr={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tr={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 Or={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lr={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 Mr={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Fr={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 Ur={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _r={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 Hr={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qr={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 zr={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const jr={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 Vr={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gr={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 Yr={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Jr={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 Wr={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Zr={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 Kr={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $r={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 Xr={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const en={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 tn={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rn={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 nn={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sn={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 on={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const an={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 An={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const cn={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 ln={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const un={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 dn={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pn={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 gn={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const fn={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 hn={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const mn={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 yn={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const En={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 Cn={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const In={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 Bn={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const bn={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 Qn={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Sn={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 Nn={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wn={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 vn={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rn={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 xn={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pn={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 kn={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Dn={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 Tn={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const On={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 Ln={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Mn={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 Fn={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Un={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 _n={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Hn={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 qn={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zn={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 jn={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Vn={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 Gn={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Yn={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 Jn={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Wn={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 Zn={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kn={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 $n={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xn={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 es={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ts={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 rs={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ns={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 ss={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const os={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 as={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const As={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 cs={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ls={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 us={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ds={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 ps={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gs={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 hs={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 ms={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 Es={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Cs={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 Is={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 bs={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qs={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 Ss={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 ws={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const vs={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 Rs={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var xs=Object.freeze({__proto__:null,AccessPolicy:xt,AppendBlobAppendBlockExceptionHeaders:ps,AppendBlobAppendBlockFromUrlExceptionHeaders:fs,AppendBlobAppendBlockFromUrlHeaders:gs,AppendBlobAppendBlockHeaders:ds,AppendBlobCreateExceptionHeaders:us,AppendBlobCreateHeaders:ls,AppendBlobSealExceptionHeaders:ms,AppendBlobSealHeaders:hs,ArrowConfiguration:Zt,ArrowField:Kt,BlobAbortCopyFromURLExceptionHeaders:Tn,BlobAbortCopyFromURLHeaders:Dn,BlobAcquireLeaseExceptionHeaders:yn,BlobAcquireLeaseHeaders:mn,BlobBreakLeaseExceptionHeaders:Nn,BlobBreakLeaseHeaders:Sn,BlobChangeLeaseExceptionHeaders:Qn,BlobChangeLeaseHeaders:bn,BlobCopyFromURLExceptionHeaders:kn,BlobCopyFromURLHeaders:Pn,BlobCreateSnapshotExceptionHeaders:vn,BlobCreateSnapshotHeaders:wn,BlobDeleteExceptionHeaders:tn,BlobDeleteHeaders:en,BlobDeleteImmutabilityPolicyExceptionHeaders:dn,BlobDeleteImmutabilityPolicyHeaders:un,BlobDownloadExceptionHeaders:Kr,BlobDownloadHeaders:Zr,BlobFlatListSegment:kt,BlobGetAccountInfoExceptionHeaders:Fn,BlobGetAccountInfoHeaders:Mn,BlobGetPropertiesExceptionHeaders:Xr,BlobGetPropertiesHeaders:$r,BlobGetTagsExceptionHeaders:qn,BlobGetTagsHeaders:Hn,BlobHierarchyListSegment:Mt,BlobItemInternal:Dt,BlobName:Tt,BlobPrefix:Ft,BlobPropertiesInternal:Ot,BlobQueryExceptionHeaders:_n,BlobQueryHeaders:Un,BlobReleaseLeaseExceptionHeaders:Cn,BlobReleaseLeaseHeaders:En,BlobRenewLeaseExceptionHeaders:Bn,BlobRenewLeaseHeaders:In,BlobServiceProperties:Ze,BlobServiceStatistics:yt,BlobSetExpiryExceptionHeaders:on,BlobSetExpiryHeaders:sn,BlobSetHttpHeadersExceptionHeaders:An,BlobSetHttpHeadersHeaders:an,BlobSetImmutabilityPolicyExceptionHeaders:ln,BlobSetImmutabilityPolicyHeaders:cn,BlobSetLegalHoldExceptionHeaders:gn,BlobSetLegalHoldHeaders:pn,BlobSetMetadataExceptionHeaders:hn,BlobSetMetadataHeaders:fn,BlobSetTagsExceptionHeaders:jn,BlobSetTagsHeaders:zn,BlobSetTierExceptionHeaders:Ln,BlobSetTierHeaders:On,BlobStartCopyFromURLExceptionHeaders:xn,BlobStartCopyFromURLHeaders:Rn,BlobTag:vt,BlobTags:wt,BlobUndeleteExceptionHeaders:nn,BlobUndeleteHeaders:rn,Block:Ht,BlockBlobCommitBlockListExceptionHeaders:ws,BlockBlobCommitBlockListHeaders:Ns,BlockBlobGetBlockListExceptionHeaders:Rs,BlockBlobGetBlockListHeaders:vs,BlockBlobPutBlobFromUrlExceptionHeaders:Is,BlockBlobPutBlobFromUrlHeaders:Cs,BlockBlobStageBlockExceptionHeaders:bs,BlockBlobStageBlockFromURLExceptionHeaders:Ss,BlockBlobStageBlockFromURLHeaders:Qs,BlockBlobStageBlockHeaders:Bs,BlockBlobUploadExceptionHeaders:Es,BlockBlobUploadHeaders:ys,BlockList:_t,BlockLookupList:Ut,ClearRange:jt,ContainerAcquireLeaseExceptionHeaders:Or,ContainerAcquireLeaseHeaders:Tr,ContainerBreakLeaseExceptionHeaders:Hr,ContainerBreakLeaseHeaders:_r,ContainerChangeLeaseExceptionHeaders:zr,ContainerChangeLeaseHeaders:qr,ContainerCreateExceptionHeaders:fr,ContainerCreateHeaders:gr,ContainerDeleteExceptionHeaders:Er,ContainerDeleteHeaders:yr,ContainerFilterBlobsExceptionHeaders:Dr,ContainerFilterBlobsHeaders:kr,ContainerGetAccessPolicyExceptionHeaders:br,ContainerGetAccessPolicyHeaders:Br,ContainerGetAccountInfoExceptionHeaders:Wr,ContainerGetAccountInfoHeaders:Jr,ContainerGetPropertiesExceptionHeaders:mr,ContainerGetPropertiesHeaders:hr,ContainerItem:It,ContainerListBlobFlatSegmentExceptionHeaders:Vr,ContainerListBlobFlatSegmentHeaders:jr,ContainerListBlobHierarchySegmentExceptionHeaders:Yr,ContainerListBlobHierarchySegmentHeaders:Gr,ContainerProperties:Bt,ContainerReleaseLeaseExceptionHeaders:Mr,ContainerReleaseLeaseHeaders:Lr,ContainerRenameExceptionHeaders:Rr,ContainerRenameHeaders:vr,ContainerRenewLeaseExceptionHeaders:Ur,ContainerRenewLeaseHeaders:Fr,ContainerRestoreExceptionHeaders:wr,ContainerRestoreHeaders:Nr,ContainerSetAccessPolicyExceptionHeaders:Sr,ContainerSetAccessPolicyHeaders:Qr,ContainerSetMetadataExceptionHeaders:Ir,ContainerSetMetadataHeaders:Cr,ContainerSubmitBatchExceptionHeaders:Pr,ContainerSubmitBatchHeaders:xr,CorsRule:At,DelimitedTextConfiguration:Jt,FilterBlobItem:Nt,FilterBlobSegment:St,GeoReplication:Et,JsonTextConfiguration:Wt,KeyInfo:bt,ListBlobsFlatSegmentResponse:Pt,ListBlobsHierarchySegmentResponse:Lt,ListContainersSegmentResponse:Ct,Logging:Ke,Metrics:Xe,PageBlobClearPagesExceptionHeaders:Zn,PageBlobClearPagesHeaders:Wn,PageBlobCopyIncrementalExceptionHeaders:cs,PageBlobCopyIncrementalHeaders:As,PageBlobCreateExceptionHeaders:Gn,PageBlobCreateHeaders:Vn,PageBlobGetPageRangesDiffExceptionHeaders:rs,PageBlobGetPageRangesDiffHeaders:ts,PageBlobGetPageRangesExceptionHeaders:es,PageBlobGetPageRangesHeaders:Xn,PageBlobResizeExceptionHeaders:ss,PageBlobResizeHeaders:ns,PageBlobUpdateSequenceNumberExceptionHeaders:as,PageBlobUpdateSequenceNumberHeaders:os,PageBlobUploadPagesExceptionHeaders:Jn,PageBlobUploadPagesFromURLExceptionHeaders:$n,PageBlobUploadPagesFromURLHeaders:Kn,PageBlobUploadPagesHeaders:Yn,PageList:qt,PageRange:zt,QueryFormat:Yt,QueryRequest:Vt,QuerySerialization:Gt,RetentionPolicy:$e,ServiceFilterBlobsExceptionHeaders:pr,ServiceFilterBlobsHeaders:dr,ServiceGetAccountInfoExceptionHeaders:cr,ServiceGetAccountInfoHeaders:Ar,ServiceGetPropertiesExceptionHeaders:tr,ServiceGetPropertiesHeaders:er,ServiceGetStatisticsExceptionHeaders:nr,ServiceGetStatisticsHeaders:rr,ServiceGetUserDelegationKeyExceptionHeaders:ar,ServiceGetUserDelegationKeyHeaders:or,ServiceListContainersSegmentExceptionHeaders:ir,ServiceListContainersSegmentHeaders:sr,ServiceSetPropertiesExceptionHeaders:Xt,ServiceSetPropertiesHeaders:$t,ServiceSubmitBatchExceptionHeaders:ur,ServiceSubmitBatchHeaders:lr,SignedIdentifier:Rt,StaticWebsite:dt,StorageError:mt,UserDelegationKey:Qt});const Ps={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const ks={parameterPath:"blobServiceProperties",mapper:Ze};const Ds={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Ts={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};const Os={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Ls={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ms={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};const Fs={parameterPath:"version",mapper:{defaultValue:"2025-05-05",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};const Us={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};const _s={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Hs={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};const qs={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};const zs={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 Vs={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};const Gs={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};const Ys={parameterPath:"keyInfo",mapper:bt};const Js={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ws={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Zs={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const Ks={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};const $s={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};const Xs={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};const ei={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ti={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};const ri={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};const ni={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};const si={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};const ii={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};const oi={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};const ai={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};const Ai={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};const ci={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};const li={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ui={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};const di={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};const pi={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};const gi={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};const fi={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};const hi={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};const mi={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};const yi={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};const Ei={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ci={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Ii={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};const Bi={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const bi={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Qi={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};const Si={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Ni={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const wi={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};const vi={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Ri={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const xi={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 Pi={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};const ki={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};const Di={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};const Ti={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};const Oi={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};const Li={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};const Mi={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};const Fi={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};const Ui={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};const _i={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};const Hi={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};const qi={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};const zi={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};const ji={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};const Vi={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Gi={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};const Yi={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};const Ji={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};const Wi={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};const Zi={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};const Ki={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};const $i={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};const Xi={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};const eo={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};const to={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};const ro={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};const no={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};const so={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const io={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};const oo={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ao={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 Ao={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};const co={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};const lo={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const uo={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};const po={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};const go={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};const fo={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const ho={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};const mo={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};const yo={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const Eo={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};const Co={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};const Io={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};const Bo={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 bo={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Qo={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};const So={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};const No={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};const wo={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 vo={parameterPath:["options","queryRequest"],mapper:Vt};const Ro={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};const xo={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Po={parameterPath:["options","tags"],mapper:wt};const ko={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};const Do={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};const To={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Oo={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};const Lo={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};const Mo={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Fo={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const Uo={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const _o={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ho={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const qo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};const zo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};const jo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};const Vo={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const Go={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const Yo={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};const Jo={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};const Wo={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 Ko={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};const $o={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};const Xo={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 ea={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ta={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const ra={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};const na={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};const sa={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};const ia={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};const oa={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};const aa={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Aa={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};const ca={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};const la={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};const ua={parameterPath:"blocks",mapper:Ut};const da={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const pa={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},fa)}getProperties(e){return this.client.sendOperationRequest({options:e},ha)}getStatistics(e){return this.client.sendOperationRequest({options:e},ma)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},ya)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},Ea)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Ca)}submitBatch(e,t,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:n,options:i},Ia)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Ba)}}const ga=ie.createSerializer(xs,true);const fa={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:$t},default:{bodyMapper:mt,headersMapper:Xt}},requestBody:ks,queryParameters:[Os,Ls,Ms],urlParameters:[Ts],headerParameters:[Ps,Ds,Fs,Us],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ga};const ha={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ze,headersMapper:er},default:{bodyMapper:mt,headersMapper:tr}},queryParameters:[Os,Ls,Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ga};const ma={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yt,headersMapper:rr},default:{bodyMapper:mt,headersMapper:nr}},queryParameters:[Os,Ms,Hs],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ga};const ya={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ct,headersMapper:sr},default:{bodyMapper:mt,headersMapper:ir}},queryParameters:[Ms,qs,zs,js,Vs,Gs],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ga};const Ea={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Qt,headersMapper:or},default:{bodyMapper:mt,headersMapper:ar}},requestBody:Ys,queryParameters:[Os,Ms,Js],urlParameters:[Ts],headerParameters:[Ps,Ds,Fs,Us],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ga};const Ca={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Ar},default:{bodyMapper:mt,headersMapper:cr}},queryParameters:[Ls,Ms,Ws],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ga};const Ia={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:lr},default:{bodyMapper:mt,headersMapper:ur}},requestBody:Zs,queryParameters:[Ms,Ks],urlParameters:[Ts],headerParameters:[Ds,Fs,Us,$s,Xs],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ga};const Ba={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:St,headersMapper:dr},default:{bodyMapper:mt,headersMapper:pr}},queryParameters:[Ms,js,Vs,ei,ti],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ga};class ContainerImpl{constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Qa)}getProperties(e){return this.client.sendOperationRequest({options:e},Sa)}delete(e){return this.client.sendOperationRequest({options:e},Na)}setMetadata(e){return this.client.sendOperationRequest({options:e},wa)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},va)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Ra)}restore(e){return this.client.sendOperationRequest({options:e},xa)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},Pa)}submitBatch(e,t,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:n,options:i},ka)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Da)}acquireLease(e){return this.client.sendOperationRequest({options:e},Ta)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Oa)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},La)}breakLease(e){return this.client.sendOperationRequest({options:e},Ma)}changeLease(e,t,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:n},Fa)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Ua)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},_a)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Ha)}}const ba=ie.createSerializer(xs,true);const Qa={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:gr},default:{bodyMapper:mt,headersMapper:fr}},queryParameters:[Ms,ri],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ni,si,ii,oi],isXML:true,serializer:ba};const Sa={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:hr},default:{bodyMapper:mt,headersMapper:mr}},queryParameters:[Ms,ri],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai],isXML:true,serializer:ba};const Na={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:yr},default:{bodyMapper:mt,headersMapper:Er}},queryParameters:[Ms,ri],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci],isXML:true,serializer:ba};const wa={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Cr},default:{bodyMapper:mt,headersMapper:Ir}},queryParameters:[Ms,ri,li],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ni,ai,Ai],isXML:true,serializer:ba};const va={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:Br},default:{bodyMapper:mt,headersMapper:br}},queryParameters:[Ms,ri,ui],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai],isXML:true,serializer:ba};const Ra={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qr},default:{bodyMapper:mt,headersMapper:Sr}},requestBody:di,queryParameters:[Ms,ri,ui],urlParameters:[Ts],headerParameters:[Ps,Ds,Fs,Us,si,ai,Ai,ci],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ba};const xa={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Nr},default:{bodyMapper:mt,headersMapper:wr}},queryParameters:[Ms,ri,pi],urlParameters:[Ts],headerParameters:[Fs,Us,_s,gi,fi],isXML:true,serializer:ba};const Pa={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:vr},default:{bodyMapper:mt,headersMapper:Rr}},queryParameters:[Ms,ri,hi],urlParameters:[Ts],headerParameters:[Fs,Us,_s,mi,yi],isXML:true,serializer:ba};const ka={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:xr},default:{bodyMapper:mt,headersMapper:Pr}},requestBody:Zs,queryParameters:[Ms,Ks,ri],urlParameters:[Ts],headerParameters:[Ds,Fs,Us,$s,Xs],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ba};const Da={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:St,headersMapper:kr},default:{bodyMapper:mt,headersMapper:Dr}},queryParameters:[Ms,js,Vs,ei,ti,ri],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ba};const Ta={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Tr},default:{bodyMapper:mt,headersMapper:Or}},queryParameters:[Ms,ri,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,Ci,Ii,Bi],isXML:true,serializer:ba};const Oa={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Lr},default:{bodyMapper:mt,headersMapper:Mr}},queryParameters:[Ms,ri,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,bi,Qi],isXML:true,serializer:ba};const La={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Fr},default:{bodyMapper:mt,headersMapper:Ur}},queryParameters:[Ms,ri,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,Qi,Si],isXML:true,serializer:ba};const Ma={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:_r},default:{bodyMapper:mt,headersMapper:Hr}},queryParameters:[Ms,ri,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,Ni,wi],isXML:true,serializer:ba};const Fa={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:qr},default:{bodyMapper:mt,headersMapper:zr}},queryParameters:[Ms,ri,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,Qi,vi,Ri],isXML:true,serializer:ba};const Ua={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Pt,headersMapper:jr},default:{bodyMapper:mt,headersMapper:Vr}},queryParameters:[Ms,qs,zs,js,Vs,ri,xi],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ba};const _a={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Lt,headersMapper:Gr},default:{bodyMapper:mt,headersMapper:Yr}},queryParameters:[Ms,qs,zs,js,Vs,ri,xi,Pi],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ba};const Ha={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Jr},default:{bodyMapper:mt,headersMapper:Wr}},queryParameters:[Ls,Ms,Ws],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:ba};class BlobImpl{constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},za)}getProperties(e){return this.client.sendOperationRequest({options:e},ja)}delete(e){return this.client.sendOperationRequest({options:e},Va)}undelete(e){return this.client.sendOperationRequest({options:e},Ga)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},Ya)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Ja)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Wa)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Za)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Ka)}setMetadata(e){return this.client.sendOperationRequest({options:e},$a)}acquireLease(e){return this.client.sendOperationRequest({options:e},Xa)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},eA)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},tA)}changeLease(e,t,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:n},rA)}breakLease(e){return this.client.sendOperationRequest({options:e},nA)}createSnapshot(e){return this.client.sendOperationRequest({options:e},sA)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},iA)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},oA)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},aA)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},AA)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},cA)}query(e){return this.client.sendOperationRequest({options:e},lA)}getTags(e){return this.client.sendOperationRequest({options:e},uA)}setTags(e){return this.client.sendOperationRequest({options:e},dA)}}const qa=ie.createSerializer(xs,true);const za={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Zr},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Zr},default:{bodyMapper:mt,headersMapper:Kr}},queryParameters:[Ms,ki,Di],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,Ti,Oi,Li,Mi,Fi,Ui,_i,Hi,qi],isXML:true,serializer:qa};const ja={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:$r},default:{bodyMapper:mt,headersMapper:Xr}},queryParameters:[Ms,ki,Di],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi],isXML:true,serializer:qa};const Va={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:en},default:{bodyMapper:mt,headersMapper:tn}},queryParameters:[Ms,ki,Di,ji],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,_i,Hi,qi,zi],isXML:true,serializer:qa};const Ga={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rn},default:{bodyMapper:mt,headersMapper:nn}},queryParameters:[Ms,pi],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:qa};const Ya={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sn},default:{bodyMapper:mt,headersMapper:on}},queryParameters:[Ms,Vi],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Gi,Yi],isXML:true,serializer:qa};const Ja={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:an},default:{bodyMapper:mt,headersMapper:An}},queryParameters:[Ls,Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,_i,Hi,qi,Ji,Wi,Zi,Ki,$i,Xi],isXML:true,serializer:qa};const Wa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:cn},default:{bodyMapper:mt,headersMapper:ln}},queryParameters:[Ms,ki,Di,eo],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ci,to,ro],isXML:true,serializer:qa};const Za={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:un},default:{bodyMapper:mt,headersMapper:dn}},queryParameters:[Ms,ki,Di,eo],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:qa};const Ka={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:pn},default:{bodyMapper:mt,headersMapper:gn}},queryParameters:[Ms,ki,Di,no],urlParameters:[Ts],headerParameters:[Fs,Us,_s,so],isXML:true,serializer:qa};const $a={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fn},default:{bodyMapper:mt,headersMapper:hn}},queryParameters:[Ms,li],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ni,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,io],isXML:true,serializer:qa};const Xa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mn},default:{bodyMapper:mt,headersMapper:yn}},queryParameters:[Ms,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,Ci,Ii,Bi,_i,Hi,qi],isXML:true,serializer:qa};const eA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:En},default:{bodyMapper:mt,headersMapper:Cn}},queryParameters:[Ms,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,bi,Qi,_i,Hi,qi],isXML:true,serializer:qa};const tA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:In},default:{bodyMapper:mt,headersMapper:Bn}},queryParameters:[Ms,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,Qi,Si,_i,Hi,qi],isXML:true,serializer:qa};const rA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bn},default:{bodyMapper:mt,headersMapper:Qn}},queryParameters:[Ms,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,Qi,vi,Ri,_i,Hi,qi],isXML:true,serializer:qa};const nA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Sn},default:{bodyMapper:mt,headersMapper:Nn}},queryParameters:[Ms,Ei],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,Ni,wi,_i,Hi,qi],isXML:true,serializer:qa};const sA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wn},default:{bodyMapper:mt,headersMapper:vn}},queryParameters:[Ms,oo],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ni,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,io],isXML:true,serializer:qa};const iA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Rn},default:{bodyMapper:mt,headersMapper:xn}},queryParameters:[Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ni,ai,Ai,ci,_i,Hi,qi,to,ro,ao,Ao,co,lo,uo,po,go,fo,ho,mo,yo],isXML:true,serializer:qa};const oA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Pn},default:{bodyMapper:mt,headersMapper:kn}},queryParameters:[Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ni,ai,Ai,ci,_i,Hi,qi,to,ro,io,ao,co,lo,uo,po,fo,ho,yo,Eo,Co,Io,Bo],isXML:true,serializer:qa};const aA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Dn},default:{bodyMapper:mt,headersMapper:Tn}},queryParameters:[Ms,bo,So],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Qo],isXML:true,serializer:qa};const AA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:On},202:{headersMapper:On},default:{bodyMapper:mt,headersMapper:Ln}},queryParameters:[Ms,ki,Di,No],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,qi,Ao,wo],isXML:true,serializer:qa};const cA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Mn},default:{bodyMapper:mt,headersMapper:Fn}},queryParameters:[Ls,Ms,Ws],urlParameters:[Ts],headerParameters:[Fs,Us,_s],isXML:true,serializer:qa};const lA={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Un},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Un},default:{bodyMapper:mt,headersMapper:_n}},requestBody:vo,queryParameters:[Ms,ki,Ro],urlParameters:[Ts],headerParameters:[Ps,Ds,Fs,Us,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:qa};const uA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:wt,headersMapper:Hn},default:{bodyMapper:mt,headersMapper:qn}},queryParameters:[Ms,ki,Di,xo],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,qi],isXML:true,serializer:qa};const dA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:zn},default:{bodyMapper:mt,headersMapper:jn}},requestBody:Po,queryParameters:[Ms,Di,xo],urlParameters:[Ts],headerParameters:[Ps,Ds,Fs,Us,ai,qi,ko,Do],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:qa};class PageBlobImpl{constructor(e){this.client=e}create(e,t,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:n},gA)}uploadPages(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},fA)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},hA)}uploadPagesFromURL(e,t,n,i,o){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:n,range:i,options:o},mA)}getPageRanges(e){return this.client.sendOperationRequest({options:e},yA)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},EA)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},CA)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},IA)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},BA)}}const pA=ie.createSerializer(xs,true);const gA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Vn},default:{bodyMapper:mt,headersMapper:Gn}},queryParameters:[Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s,$s,ni,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,Ji,Wi,Zi,Ki,$i,Xi,to,ro,io,ao,ho,yo,To,Oo,Lo],isXML:true,serializer:pA};const fA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Yn},default:{bodyMapper:mt,headersMapper:Jn}},requestBody:Fo,queryParameters:[Ms,_o],urlParameters:[Ts],headerParameters:[Fs,Us,$s,ai,Ai,ci,Ti,Mi,Fi,Ui,_i,Hi,qi,io,ko,Do,Mo,Uo,Ho,qo,zo,jo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:pA};const hA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Wn},default:{bodyMapper:mt,headersMapper:Zn}},queryParameters:[Ms,_o],urlParameters:[Ts],headerParameters:[Fs,Us,_s,$s,ai,Ai,ci,Ti,Mi,Fi,Ui,_i,Hi,qi,io,qo,zo,jo,Vo],isXML:true,serializer:pA};const mA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Kn},default:{bodyMapper:mt,headersMapper:$n}},queryParameters:[Ms,_o],urlParameters:[Ts],headerParameters:[Fs,Us,_s,$s,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,io,co,lo,uo,po,Co,Io,Ho,qo,zo,jo,Go,Yo,Jo,Wo],isXML:true,serializer:pA};const yA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qt,headersMapper:Xn},default:{bodyMapper:mt,headersMapper:es}},queryParameters:[Ms,js,Vs,ki,Zo],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,Ti,_i,Hi,qi],isXML:true,serializer:pA};const EA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qt,headersMapper:ts},default:{bodyMapper:mt,headersMapper:rs}},queryParameters:[Ms,js,Vs,ki,Zo,Ko],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,Ti,_i,Hi,qi,$o],isXML:true,serializer:pA};const CA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ns},default:{bodyMapper:mt,headersMapper:ss}},queryParameters:[Ls,Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,io,Oo],isXML:true,serializer:pA};const IA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:os},default:{bodyMapper:mt,headersMapper:as}},queryParameters:[Ls,Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,_i,Hi,qi,Lo,Xo],isXML:true,serializer:pA};const BA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:As},default:{bodyMapper:mt,headersMapper:cs}},queryParameters:[Ms,ea],urlParameters:[Ts],headerParameters:[Fs,Us,_s,Ai,ci,_i,Hi,qi,fo],isXML:true,serializer:pA};class AppendBlobImpl{constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},QA)}appendBlock(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},SA)}appendBlockFromUrl(e,t,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:n},NA)}seal(e){return this.client.sendOperationRequest({options:e},wA)}}const bA=ie.createSerializer(xs,true);const QA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ls},default:{bodyMapper:mt,headersMapper:us}},queryParameters:[Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s,$s,ni,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,Ji,Wi,Zi,Ki,$i,Xi,to,ro,io,ho,yo,ta],isXML:true,serializer:bA};const SA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ds},default:{bodyMapper:mt,headersMapper:ps}},requestBody:Fo,queryParameters:[Ms,ra],urlParameters:[Ts],headerParameters:[Fs,Us,$s,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,io,ko,Do,Mo,Uo,na,sa],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:bA};const NA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:gs},default:{bodyMapper:mt,headersMapper:fs}},queryParameters:[Ms,ra],urlParameters:[Ts],headerParameters:[Fs,Us,_s,$s,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,io,co,lo,uo,po,Co,Io,ko,Go,Jo,na,sa,ia],isXML:true,serializer:bA};const wA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hs},default:{bodyMapper:mt,headersMapper:ms}},queryParameters:[Ms,oa],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,Ai,ci,_i,Hi,sa],isXML:true,serializer:bA};class BlockBlobImpl{constructor(e){this.client=e}upload(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},RA)}putBlobFromUrl(e,t,n){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:n},xA)}stageBlock(e,t,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:n,options:i},PA)}stageBlockFromURL(e,t,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:n,options:i},kA)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},DA)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},TA)}}const vA=ie.createSerializer(xs,true);const RA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ys},default:{bodyMapper:mt,headersMapper:Es}},requestBody:Fo,queryParameters:[Ms],urlParameters:[Ts],headerParameters:[Fs,Us,$s,ni,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,Ji,Wi,Zi,Ki,$i,Xi,to,ro,io,ao,ho,yo,ko,Do,Mo,Uo,aa],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:vA};const xA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Cs},default:{bodyMapper:mt,headersMapper:Is}},queryParameters:[Ms],urlParameters:[Ts],headerParameters:[Fs,Us,_s,$s,ni,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,Ji,Wi,Zi,Ki,$i,Xi,io,ao,co,lo,uo,po,go,fo,ho,Co,Io,Bo,ko,aa,Aa],isXML:true,serializer:vA};const PA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bs},default:{bodyMapper:mt,headersMapper:bs}},requestBody:Fo,queryParameters:[Ms,ca,la],urlParameters:[Ts],headerParameters:[Fs,Us,$s,ai,Mi,Fi,Ui,io,ko,Do,Mo,Uo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:vA};const kA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Qs},default:{bodyMapper:mt,headersMapper:Ss}},queryParameters:[Ms,ca,la],urlParameters:[Ts],headerParameters:[Fs,Us,_s,$s,ai,Mi,Fi,Ui,io,co,lo,uo,po,Co,Io,Go,Jo,ia],isXML:true,serializer:vA};const DA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ns},default:{bodyMapper:mt,headersMapper:ws}},requestBody:ua,queryParameters:[Ms,da],urlParameters:[Ts],headerParameters:[Ps,Ds,Fs,Us,ni,ai,Ai,ci,Mi,Fi,Ui,_i,Hi,qi,Ji,Wi,Zi,Ki,$i,Xi,to,ro,io,ao,ho,yo,ko,Do],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:vA};const TA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:_t,headersMapper:vs},default:{bodyMapper:mt,headersMapper:Rs}},queryParameters:[Ms,ki,da,pa],urlParameters:[Ts],headerParameters:[Fs,Us,_s,ai,qi],isXML:true,serializer:vA};let OA=class StorageClient extends se.ExtendedServiceClient{constructor(e,t){var n,i;if(e===undefined){throw new Error("'url' cannot be null")}if(!t){t={}}const o={requestContentType:"application/json; charset=utf-8"};const d=`azsdk-js-azure-storage-blob/12.27.0`;const p=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${d}`:`${d}`;const f=Object.assign(Object.assign(Object.assign({},o),t),{userAgentOptions:{userAgentPrefix:p},endpoint:(i=(n=t.endpoint)!==null&&n!==void 0?n:t.baseUri)!==null&&i!==void 0?i:"{url}"});super(f);this.url=e;this.version=t.version||"2025-05-05";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 OA{async sendOperationRequest(e,t){const n=Object.assign({},t);if(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}"){n.path=""}return super.sendOperationRequest(e,n)}}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 n=this.storageClientContext;n.requestContentType=undefined}}const LA=j.createTracingClient({packageName:"@azure/storage-blob",packageVersion:ce,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 n of e){switch(n){case"r":t.read=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"x":t.deleteVersion=true;break;case"t":t.tag=true;break;case"m":t.move=true;break;case"e":t.execute=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${n}`)}}return t}static from(e){const t=new BlobSASPermissions;if(e.read){t.read=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.deleteVersion){t.deleteVersion=true}if(e.tag){t.tag=true}if(e.move){t.move=true}if(e.execute){t.execute=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}return t}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 n of e){switch(n){case"r":t.read=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"l":t.list=true;break;case"t":t.tag=true;break;case"x":t.deleteVersion=true;break;case"m":t.move=true;break;case"e":t.execute=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;case"f":t.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${n}`)}}return t}static from(e){const t=new ContainerSASPermissions;if(e.read){t.read=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.list){t.list=true}if(e.deleteVersion){t.deleteVersion=true}if(e.tag){t.tag=true}if(e.move){t.move=true}if(e.execute){t.execute=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}if(e.filterByTags){t.filterByTags=true}return t}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 U.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,n,i,o,d,p,f,y,v,D,M,U,j,V,K,ee,te,re,ne){this.version=e;this.signature=t;if(n!==undefined&&typeof n!=="string"){this.permissions=n.permissions;this.services=n.services;this.resourceTypes=n.resourceTypes;this.protocol=n.protocol;this.startsOn=n.startsOn;this.expiresOn=n.expiresOn;this.ipRangeInner=n.ipRange;this.identifier=n.identifier;this.encryptionScope=n.encryptionScope;this.resource=n.resource;this.cacheControl=n.cacheControl;this.contentDisposition=n.contentDisposition;this.contentEncoding=n.contentEncoding;this.contentLanguage=n.contentLanguage;this.contentType=n.contentType;if(n.userDelegationKey){this.signedOid=n.userDelegationKey.signedObjectId;this.signedTenantId=n.userDelegationKey.signedTenantId;this.signedStartsOn=n.userDelegationKey.signedStartsOn;this.signedExpiresOn=n.userDelegationKey.signedExpiresOn;this.signedService=n.userDelegationKey.signedService;this.signedVersion=n.userDelegationKey.signedVersion;this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId;this.correlationId=n.correlationId}}else{this.services=i;this.resourceTypes=o;this.expiresOn=f;this.permissions=n;this.protocol=d;this.startsOn=p;this.ipRangeInner=y;this.encryptionScope=ne;this.identifier=v;this.resource=D;this.cacheControl=M;this.contentDisposition=U;this.contentEncoding=j;this.contentLanguage=V;this.contentType=K;if(ee){this.signedOid=ee.signedObjectId;this.signedTenantId=ee.signedTenantId;this.signedStartsOn=ee.signedStartsOn;this.signedExpiresOn=ee.signedExpiresOn;this.signedService=ee.signedService;this.signedVersion=ee.signedVersion;this.preauthorizedAgentObjectId=te;this.correlationId=re}}}toString(){const e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid"];const t=[];for(const n of e){switch(n){case"sv":this.tryAppendQueryParameter(t,n,this.version);break;case"ss":this.tryAppendQueryParameter(t,n,this.services);break;case"srt":this.tryAppendQueryParameter(t,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(t,n,this.protocol);break;case"st":this.tryAppendQueryParameter(t,n,this.startsOn?truncatedISO8061Date(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(t,n,this.expiresOn?truncatedISO8061Date(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(t,n,this.ipRange?ipRangeToString(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(t,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(t,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(t,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(t,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(t,n,this.signedStartsOn?truncatedISO8061Date(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(t,n,this.signedExpiresOn?truncatedISO8061Date(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(t,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(t,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(t,n,this.resource);break;case"sp":this.tryAppendQueryParameter(t,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(t,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(t,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(t,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(t,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(t,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(t,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(t,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(t,n,this.correlationId);break}}return t.join("&")}tryAppendQueryParameter(e,t,n){if(!n){return}t=encodeURIComponent(t);n=encodeURIComponent(n);if(t.length>0&&n.length>0){e.push(`${t}=${n}`)}}}function generateBlobSASQueryParameters(e,t,n){return generateBlobSASQueryParametersInternal(e,t,n).sasQueryParameters}function generateBlobSASQueryParametersInternal(e,t,n){const i=e.version?e.version:le;const o=t instanceof StorageSharedKeyCredential?t:undefined;let d;if(o===undefined&&n!==undefined){d=new UserDelegationKeyCredential(n,t)}if(o===undefined&&d===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(i>="2020-12-06"){if(o!==undefined){return generateBlobSASQueryParameters20201206(e,o)}else{return generateBlobSASQueryParametersUDK20201206(e,d)}}if(i>="2018-11-09"){if(o!==undefined){return generateBlobSASQueryParameters20181109(e,o)}else{if(i>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(e,d)}else{return generateBlobSASQueryParametersUDK20181109(e,d)}}}if(i>="2015-04-05"){if(o!==undefined){return generateBlobSASQueryParameters20150405(e,o)}else{throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}}throw new RangeError("'version' must be >= '2015-04-05'.")}function generateBlobSASQueryParameters20150405(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let n="c";if(e.blobName){n="b"}let i;if(e.permissions){if(e.blobName){i=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{i=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[i?i:"",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 d=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,d,i,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:o}}function generateBlobSASQueryParameters20181109(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let n="c";let i=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";i=e.versionId}}let o;if(e.permissions){if(e.blobName){o=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{o=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const d=[o?o:"",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,n,i,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const p=t.computeHMACSHA256(d);return{sasQueryParameters:new SASQueryParameters(e.version,p,o,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:d}}function generateBlobSASQueryParameters20201206(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let n="c";let i=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";i=e.versionId}}let o;if(e.permissions){if(e.blobName){o=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{o=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const d=[o?o:"",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,n,i,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 p=t.computeHMACSHA256(d);return{sasQueryParameters:new SASQueryParameters(e.version,p,o,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,e.encryptionScope),stringToSign:d}}function generateBlobSASQueryParametersUDK20181109(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let n="c";let i=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";i=e.versionId}}let o;if(e.permissions){if(e.blobName){o=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{o=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const d=[o?o:"",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,n,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const p=t.computeHMACSHA256(d);return{sasQueryParameters:new SASQueryParameters(e.version,p,o,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:d}}function generateBlobSASQueryParametersUDK20200210(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let n="c";let i=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";i=e.versionId}}let o;if(e.permissions){if(e.blobName){o=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{o=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const d=[o?o:"",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,n,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const p=t.computeHMACSHA256(d);return{sasQueryParameters:new SASQueryParameters(e.version,p,o,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId),stringToSign:d}}function generateBlobSASQueryParametersUDK20201206(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let n="c";let i=e.snapshotTime;if(e.blobName){n="b";if(e.snapshotTime){n="bs"}else if(e.versionId){n="bv";i=e.versionId}}let o;if(e.permissions){if(e.blobName){o=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{o=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const d=[o?o:"",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,n,i,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const p=t.computeHMACSHA256(d);return{sasQueryParameters:new SASQueryParameters(e.version,p,o,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope),stringToSign:d}}function getCanonicalName(e,t,n){const i=[`/blob/${e}/${t}`];if(n){i.push(`/${n}`)}return i.join("")}function SASSignatureValuesSanityCheckAndAutofill(e){const t=e.version?e.version:le;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 n=e.storageClientContext;this._url=e.url;if(e.name===undefined){this._isContainer=true;this._containerOrBlobOperation=n.container}else{this._isContainer=false;this._containerOrBlobOperation=n.blob}if(!t){t=p.randomUUID()}this._leaseId=t}async acquireLease(e,t={}){var n,i,o,d,p;if(this._isContainer&&(((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)&&((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)!==Be||((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)&&((d=t.conditions)===null||d===void 0?void 0:d.ifNoneMatch)!==Be||((p=t.conditions)===null||p===void 0?void 0:p.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 LA.withSpan("BlobLeaseClient-acquireLease",t,(async n=>{var i;return assertResponse(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions}))}))}async changeLease(e,t={}){var n,i,o,d,p;if(this._isContainer&&(((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)&&((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)!==Be||((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)&&((d=t.conditions)===null||d===void 0?void 0:d.ifNoneMatch)!==Be||((p=t.conditions)===null||p===void 0?void 0:p.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 LA.withSpan("BlobLeaseClient-changeLease",t,(async n=>{var i;const o=assertResponse(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}));this._leaseId=e;return o}))}async releaseLease(e={}){var t,n,i,o,d;if(this._isContainer&&(((t=e.conditions)===null||t===void 0?void 0:t.ifMatch)&&((n=e.conditions)===null||n===void 0?void 0:n.ifMatch)!==Be||((i=e.conditions)===null||i===void 0?void 0:i.ifNoneMatch)&&((o=e.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==Be||((d=e.conditions)===null||d===void 0?void 0:d.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 LA.withSpan("BlobLeaseClient-releaseLease",e,(async t=>{var n;return assertResponse(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:t.tracingOptions}))}))}async renewLease(e={}){var t,n,i,o,d;if(this._isContainer&&(((t=e.conditions)===null||t===void 0?void 0:t.ifMatch)&&((n=e.conditions)===null||n===void 0?void 0:n.ifMatch)!==Be||((i=e.conditions)===null||i===void 0?void 0:i.ifNoneMatch)&&((o=e.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==Be||((d=e.conditions)===null||d===void 0?void 0:d.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 LA.withSpan("BlobLeaseClient-renewLease",e,(async t=>{var n;return this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:t.tracingOptions})}))}async breakLease(e,t={}){var n,i,o,d,p;if(this._isContainer&&(((n=t.conditions)===null||n===void 0?void 0:n.ifMatch)&&((i=t.conditions)===null||i===void 0?void 0:i.ifMatch)!==Be||((o=t.conditions)===null||o===void 0?void 0:o.ifNoneMatch)&&((d=t.conditions)===null||d===void 0?void 0:d.ifNoneMatch)!==Be||((p=t.conditions)===null||p===void 0?void 0:p.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 LA.withSpan("BlobLeaseClient-breakLease",t,(async n=>{var i;const o={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions};return assertResponse(await this._containerOrBlobOperation.breakLease(o))}))}}class RetriableReadableStream extends V.Readable{constructor(e,t,n,i,o={}){super({highWaterMark:o.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 M.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.maxRetryRequests){this.retries+=1;this.getter(this.offset).then((e=>{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=n;this.offset=n;this.end=n+i-1;this.maxRetryRequests=o.maxRetryRequests&&o.maxRetryRequests>=0?o.maxRetryRequests:0;this.onProgress=o.onProgress;this.options=o;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 p.isNode?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}constructor(e,t,n,i,o={}){this.originalResponse=e;this.blobDownloadStream=new RetriableReadableStream(this.originalResponse.readableStreamBody,t,n,i,o)}}const MA=16;const FA=new Uint8Array([79,98,106,1]);const UA="avro.codec";const _A="avro.schema";class AvroParser{static async readFixedBytes(e,t,n={}){const i=await e.read(t,{abortSignal:n.abortSignal});if(i.length!==t){throw new Error("Hit stream end.")}return i}static async readByte(e,t={}){const n=await AvroParser.readFixedBytes(e,1,t);return n[0]}static async readZigZagLong(e,t={}){let n=0;let i=0;let o,d,p;do{o=await AvroParser.readByte(e,t);d=o&128;n|=(o&127)<<i;i+=7}while(d&&i<28);if(d){n=n;p=268435456;do{o=await AvroParser.readByte(e,t);n+=(o&127)*p;p*=128}while(o&128);const i=(n%2?-(n+1):n)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return i}return n>>1^-(n&1)}static async readLong(e,t={}){return AvroParser.readZigZagLong(e,t)}static async readInt(e,t={}){return AvroParser.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){const n=await AvroParser.readByte(e,t);if(n===1){return true}else if(n===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(e,t={}){const n=await AvroParser.readFixedBytes(e,4,t);const i=new DataView(n.buffer,n.byteOffset,n.byteLength);return i.getFloat32(0,true)}static async readDouble(e,t={}){const n=await AvroParser.readFixedBytes(e,8,t);const i=new DataView(n.buffer,n.byteOffset,n.byteLength);return i.getFloat64(0,true)}static async readBytes(e,t={}){const n=await AvroParser.readLong(e,t);if(n<0){throw new Error("Bytes size was negative.")}return e.read(n,{abortSignal:t.abortSignal})}static async readString(e,t={}){const n=await AvroParser.readBytes(e,t);const i=new TextDecoder;return i.decode(n)}static async readMapPair(e,t,n={}){const i=await AvroParser.readString(e,n);const o=await t(e,n);return{key:i,value:o}}static async readMap(e,t,n={}){const readPairMethod=(e,n={})=>AvroParser.readMapPair(e,t,n);const i=await AvroParser.readArray(e,readPairMethod,n);const o={};for(const e of i){o[e.key]=e.value}return o}static async readArray(e,t,n={}){const i=[];for(let o=await AvroParser.readLong(e,n);o!==0;o=await AvroParser.readLong(e,n)){if(o<0){await AvroParser.readLong(e,n);o=-o}while(o--){const o=await t(e,n);i.push(o)}}return i}}var HA;(function(e){e["RECORD"]="record";e["ENUM"]="enum";e["ARRAY"]="array";e["MAP"]="map";e["UNION"]="union";e["FIXED"]="fixed"})(HA||(HA={}));var qA;(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"})(qA||(qA={}));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 qA.NULL:case qA.BOOLEAN:case qA.INT:case qA.LONG:case qA.FLOAT:case qA.DOUBLE:case qA.BYTES:case qA.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 HA.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 n={};if(!e.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`)}for(const t of e.fields){n[t.name]=AvroType.fromSchema(t.type)}return new AvroRecordType(n,e.name);case HA.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 HA.MAP:if(!e.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`)}return new AvroMapType(AvroType.fromSchema(e.values));case HA.ARRAY:case HA.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 qA.NULL:return AvroParser.readNull();case qA.BOOLEAN:return AvroParser.readBoolean(e,t);case qA.INT:return AvroParser.readInt(e,t);case qA.LONG:return AvroParser.readLong(e,t);case qA.FLOAT:return AvroParser.readFloat(e,t);case qA.DOUBLE:return AvroParser.readDouble(e,t);case qA.BYTES:return AvroParser.readBytes(e,t);case qA.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 n=await AvroParser.readInt(e,t);return this._symbols[n]}}class AvroUnionType extends AvroType{constructor(e){super();this._types=e}async read(e,t={}){const n=await AvroParser.readInt(e,t);return this._types[n].read(e,t)}}class AvroMapType extends AvroType{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 n={};n["$schema"]=this._name;for(const i in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,i)){n[i]=await this._fields[i].read(e,t)}}return n}}function arraysEqual(e,t){if(e===t)return true;if(e==null||t==null)return false;if(e.length!==t.length)return false;for(let n=0;n<e.length;++n){if(e[n]!==t[n])return false}return true}class AvroReader{get blockOffset(){return this._blockOffset}get objectIndex(){return this._objectIndex}constructor(e,t,n,i){this._dataStream=e;this._headerStream=t||e;this._initialized=false;this._blockOffset=n||0;this._objectIndex=i||0;this._initialBlockOffset=n||0}async initialize(e={}){const t=await AvroParser.readFixedBytes(this._headerStream,FA.length,{abortSignal:e.abortSignal});if(!arraysEqual(t,FA)){throw new Error("Stream is not an Avro file.")}this._metadata=await AvroParser.readMap(this._headerStream,AvroParser.readString,{abortSignal:e.abortSignal});const n=this._metadata[UA];if(!(n===undefined||n===null||n==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await AvroParser.readFixedBytes(this._headerStream,MA,{abortSignal:e.abortSignal});const i=JSON.parse(this._metadata[_A]);this._itemType=AvroType.fromSchema(i);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal});await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let t=0;t<this._objectIndex;t++){await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});this._itemsRemainingInBlock--}}}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}parseObjects(){return o.__asyncGenerator(this,arguments,(function*parseObjects_1(e={}){if(!this._initialized){yield o.__await(this.initialize(e))}while(this.hasNext()){const t=yield o.__await(this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}));this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const t=yield o.__await(AvroParser.readFixedBytes(this._dataStream,MA,{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 o.__await(AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}))}catch(e){this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){yield o.__await(AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}))}}yield yield o.__await(t)}}))}}class AvroReadable{}const zA=new M.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 n;if((n=t.abortSignal)===null||n===void 0?void 0:n.aborted){throw zA}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 i=this._readable.read(e);if(i){this._position+=i.length;return this.toUint8Array(i)}else{return new Promise(((n,i)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(t.abortSignal){t.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const t=this._readable.read(e);if(t){this._position+=t.length;cleanUp();n(this.toUint8Array(t))}};const rejectCallback=()=>{cleanUp();i()};const abortHandler=()=>{cleanUp();i(zA)};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 V.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 n=t.$schema;if(typeof n!=="string"){throw Error("Missing schema in avro record.")}switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const e=t.data;if(e instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(e))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const e=t.bytesScanned;if(typeof e!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:e})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const e=t.totalBytes;if(typeof e!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const e=t.fatal;if(typeof e!=="boolean"){throw Error("Invalid fatal in avro error record.")}const n=t.name;if(typeof n!=="string"){throw Error("Invalid name in avro error record.")}const i=t.description;if(typeof i!=="string"){throw Error("Invalid description in avro error record.")}const o=t.position;if(typeof o!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:o,name:n,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${n} 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 p.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=Re}}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 n=(e._response.parsedBody.clearRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));return Object.assign(Object.assign({},e),{pageRange:t,clearRange:n,_response:Object.assign(Object.assign({},e._response),{parsedBody:{pageRange:t,clearRange:n}})})}class BlobBeginCopyFromUrlPoller extends K.Poller{constructor(e){const{blobClient:t,copySource:n,intervalInMs:i=15e3,onProgress:o,resumeFrom:d,startCopyFromURLOptions:p}=e;let f;if(d){f=JSON.parse(d).state}const y=makeBlobBeginCopyFromURLPollOperation(Object.assign(Object.assign({},f),{blobClient:t,copySource:n,startCopyFromURLOptions:p}));super(y);if(typeof o==="function"){this.onProgress(o)}this.intervalInMs=i}delay(){return p.delay(this.intervalInMs)}}const jA=async function cancel(e={}){const t=this.state;const{copyId:n}=t;if(t.isCompleted){return makeBlobBeginCopyFromURLPollOperation(t)}if(!n){t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)}await t.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal});t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)};const VA=async function update(e={}){const t=this.state;const{blobClient:n,copySource:i,startCopyFromURLOptions:o}=t;if(!t.isStarted){t.isStarted=true;const e=await n.startCopyFromURL(i,o);t.copyId=e.copyId;if(e.copyStatus==="success"){t.result=e;t.isCompleted=true}}else if(!t.isCompleted){try{const n=await t.blobClient.getProperties({abortSignal:e.abortSignal});const{copyStatus:i,copyProgress:o}=n;const d=t.copyProgress;if(o){t.copyProgress=o}if(i==="pending"&&o!==d&&typeof e.fireProgress==="function"){e.fireProgress(t)}else if(i==="success"){t.result=n;t.isCompleted=true}else if(i==="failed"){t.error=new Error(`Blob copy failed with reason: "${n.copyStatusDescription||"unknown"}"`);t.isCompleted=true}}catch(e){t.error=e;t.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(t)};const GA=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:jA,toString:GA,update:VA}}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 YA;(function(e){e[e["Good"]=0]="Good";e[e["Error"]=1]="Error"})(YA||(YA={}));class Batch{constructor(e=5){this.actives=0;this.completed=0;this.offset=0;this.operations=[];this.state=YA.Good;if(e<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=e;this.emitter=new ee.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=YA.Error;t(e)}))}))}nextOperation(){if(this.offset<this.operations.length){return this.operations[this.offset++]}return null}parallelExecute(){if(this.state===YA.Error){return}if(this.completed>=this.operations.length){this.emitter.emit("finish");return}while(this.actives<this.concurrency){const e=this.nextOperation();if(e){e()}else{return}}}}class BuffersStream extends V.Readable{constructor(e,t,n){super(n);this.buffers=e;this.byteLength=t;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let i=0;for(const e of this.buffers){i+=e.byteLength}if(i<this.byteLength){throw new Error("Data size shouldn't be larger than the total length of buffers.")}}_read(e){if(this.pushedBytesLength>=this.byteLength){this.push(null)}if(!e){e=this.readableHighWaterMark}const t=[];let n=0;while(n<e&&this.pushedBytesLength<this.byteLength){const i=this.byteLength-this.pushedBytesLength;const o=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer;const d=Math.min(o,i);if(d>e-n){const i=this.byteOffsetInCurrentBuffer+e-n;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i));this.pushedBytesLength+=e-n;this.byteOffsetInCurrentBuffer=i;n=e;break}else{const e=this.byteOffsetInCurrentBuffer+d;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e));if(d===o){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=e}this.pushedBytesLength+=d;n+=d}}if(t.length>1){this.push(Buffer.concat(t))}else if(t.length===1){this.push(t[0])}}}const JA=ne.constants.MAX_LENGTH;class PooledBuffer{get size(){return this._size}constructor(e,t,n){this.buffers=[];this.capacity=e;this._size=0;const i=Math.ceil(e/JA);for(let t=0;t<i;t++){let n=t===i-1?e%JA:JA;if(n===0){n=JA}this.buffers.push(Buffer.allocUnsafe(n))}if(t){this.fill(t,n)}}fill(e,t){this._size=Math.min(this.capacity,t);let n=0,i=0,o=0,d=0,p=0;while(p<this._size){const t=e[n];const f=this.buffers[i];const y=t.copy(f,o,d);p+=y;d+=y;o+=y;if(d===t.length){n++;d=0}if(o===f.length){i++;o=0}}e.splice(0,n);if(e.length>0){e[0]=e[0].slice(d)}}getReadableStream(){return new BuffersStream(this.buffers,this.size)}}class BufferScheduler{constructor(e,t,n,i,o,d){this.emitter=new ee.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(n<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`)}if(o<=0){throw new RangeError(`concurrency must be larger than 0, current is ${o}`)}this.bufferSize=t;this.maxBuffers=n;this.readable=e;this.outgoingHandler=i;this.concurrency=o;this.encoding=d}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.unresolvedLength<this.bufferSize){const n=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler((()=>n.getReadableStream()),n.size,this.offset).then(e).catch(t)}else if(this.unresolvedLength>=this.bufferSize){return}else{e()}}}))}))}appendUnresolvedData(e){this.unresolvedDataArray.push(e);this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){if(!e){e=new 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.maxBuffers){e=this.shiftBufferFromUnresolvedDataArray();this.numBuffers++}else{return false}}this.outgoing.push(e);this.triggerOutgoingHandlers()}return true}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=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,n,i,o){let d=0;const p=i-n;return new Promise(((i,f)=>{const y=setTimeout((()=>f(new Error(`The operation cannot be completed in timeout.`))),me);e.on("readable",(()=>{if(d>=p){clearTimeout(y);i();return}let f=e.read();if(!f){return}if(typeof f==="string"){f=Buffer.from(f,o)}const v=d+f.length>p?p-d:f.length;t.fill(f.slice(0,v),n+d,n+d+v);d+=v}));e.on("end",(()=>{clearTimeout(y);if(d<p){f(new Error(`Stream drains before getting enough data needed. Data read: ${d}, data need: ${p}`))}i()}));e.on("error",(e=>{clearTimeout(y);f(e)}))}))}async function streamToBuffer2(e,t,n){let i=0;const o=t.length;return new Promise(((d,p)=>{e.on("readable",(()=>{let d=e.read();if(!d){return}if(typeof d==="string"){d=Buffer.from(d,n)}if(i+d.length>o){p(new Error(`Stream exceeds buffer size. Buffer size: ${o}`));return}t.fill(d,i,i+d.length);i+=d.length}));e.on("end",(()=>{d(i)}));e.on("error",p)}))}async function readStreamToLocalFile(e,t){return new Promise(((n,i)=>{const o=oe.createWriteStream(t);e.on("error",(e=>{i(e)}));o.on("error",(e=>{i(e)}));o.on("close",n);e.pipe(o)}))}const WA=ae.promisify(oe.stat);const ZA=oe.createReadStream;class BlobClient extends StorageClient{get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,n,o){o=o||{};let f;let y;if(isPipelineLike(t)){y=e;f=t}else if(p.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||d.isTokenCredential(t)){y=e;o=n;f=newPipeline(t,o)}else if(!t&&typeof t!=="string"){y=e;if(n&&typeof n!=="string"){o=n}f=newPipeline(new AnonymousCredential,o)}else if(t&&typeof t==="string"&&n&&typeof n==="string"){const d=t;const v=n;const D=extractConnectionStringParts(e);if(D.kind==="AccountConnString"){if(p.isNode){const e=new StorageSharedKeyCredential(D.accountName,D.accountKey);y=appendToURLPath(appendToURLPath(D.url,encodeURIComponent(d)),encodeURIComponent(v));if(!o.proxyOptions){o.proxyOptions=i.getDefaultProxySettings(D.proxyUri)}f=newPipeline(e,o)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(D.kind==="SASConnString"){y=appendToURLPath(appendToURLPath(D.url,encodeURIComponent(d)),encodeURIComponent(v))+"?"+D.accountSas;f=newPipeline(new AnonymousCredential,o)}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(y,f);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=getURLParameter(this.url,Ee.Parameters.SNAPSHOT);this._versionId=getURLParameter(this.url,Ee.Parameters.VERSIONID)}withSnapshot(e){return new BlobClient(setURLParameter(this.url,Ee.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}withVersion(e){return new BlobClient(setURLParameter(this.url,Ee.Parameters.VERSIONID,e.length===0?undefined:e),this.pipeline)}getAppendBlobClient(){return new AppendBlobClient(this.url,this.pipeline)}getBlockBlobClient(){return new BlockBlobClient(this.url,this.pipeline)}getPageBlobClient(){return new PageBlobClient(this.url,this.pipeline)}async download(e=0,t,n={}){n.conditions=n.conditions||{};n.conditions=n.conditions||{};ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return LA.withSpan("BlobClient-download",n,(async i=>{var o;const d=assertResponse(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(o=n.conditions)===null||o===void 0?void 0:o.tagConditions}),requestOptions:{onDownloadProgress:p.isNode?undefined:n.onProgress},range:e===0&&!t?undefined:rangeToString({offset:e,count:t}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions}));const f=Object.assign(Object.assign({},d),{_response:d._response,objectReplicationDestinationPolicyId:d.objectReplicationPolicyId,objectReplicationSourceProperties:parseObjectReplicationRecord(d.objectReplicationRules)});if(!p.isNode){return f}if(n.maxRetryRequests===undefined||n.maxRetryRequests<0){n.maxRetryRequests=he}if(d.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(!d.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}return new BlobDownloadResponse(f,(async t=>{var i;const o={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||d.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:(i=n.conditions)===null||i===void 0?void 0:i.tagConditions},range:rangeToString({count:e+d.contentLength-t,offset:t}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download(Object.assign({abortSignal:n.abortSignal},o))).readableStreamBody}),e,d.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})}))}async exists(e={}){return LA.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===De||e.details.errorCode===Te)){return true}throw e}}))}async getProperties(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return LA.withSpan("BlobClient-getProperties",e,(async t=>{var n;const i=assertResponse(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return Object.assign(Object.assign({},i),{_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:parseObjectReplicationRecord(i.objectReplicationRules)})}))}async delete(e={}){e.conditions=e.conditions||{};return LA.withSpan("BlobClient-delete",e,(async t=>{var n;return assertResponse(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:t.tracingOptions}))}))}async deleteIfExists(e={}){return LA.withSpan("BlobClient-deleteIfExists",e,(async e=>{var t,n;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},(n=e.response)===null||n===void 0?void 0:n.parsedHeaders),{_response:e.response})}throw e}}))}async undelete(e={}){return LA.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 LA.withSpan("BlobClient-setHTTPHeaders",t,(async n=>{var i;return assertResponse(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}))}))}async setMetadata(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return LA.withSpan("BlobClient-setMetadata",t,(async n=>{var i;return assertResponse(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:n.tracingOptions}))}))}async setTags(e,t={}){return LA.withSpan("BlobClient-setTags",t,(async n=>{var i;return assertResponse(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions,tags:toBlobTags(e)}))}))}async getTags(e={}){return LA.withSpan("BlobClient-getTags",e,(async t=>{var n;const i=assertResponse(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:t.tracingOptions}));const o=Object.assign(Object.assign({},i),{_response:i._response,tags:toTags({blobTagSet:i.blobTagSet})||{}});return o}))}getBlobLeaseClient(e){return new BlobLeaseClient(this,e)}async createSnapshot(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return LA.withSpan("BlobClient-createSnapshot",e,(async t=>{var n;return assertResponse(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions}))}))}async beginCopyFromURL(e,t={}){const n={abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)};const i=new BlobBeginCopyFromUrlPoller({blobClient:n,copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});await i.poll();return i}async abortCopyFromURL(e,t={}){return LA.withSpan("BlobClient-abortCopyFromURL",t,(async n=>assertResponse(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:n.tracingOptions}))))}async syncCopyFromURL(e,t={}){t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return LA.withSpan("BlobClient-syncCopyFromURL",t,(async n=>{var i,o,d,p,f,y,v;return assertResponse(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(o=t.sourceConditions)===null||o===void 0?void 0:o.ifMatch,sourceIfModifiedSince:(d=t.sourceConditions)===null||d===void 0?void 0:d.ifModifiedSince,sourceIfNoneMatch:(p=t.sourceConditions)===null||p===void 0?void 0:p.ifNoneMatch,sourceIfUnmodifiedSince:(f=t.sourceConditions)===null||f===void 0?void 0:f.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:httpAuthorizationToString(t.sourceAuthorization),tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),immutabilityPolicyExpiry:(y=t.immutabilityPolicy)===null||y===void 0?void 0:y.expiriesOn,immutabilityPolicyMode:(v=t.immutabilityPolicy)===null||v===void 0?void 0:v.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,tracingOptions:n.tracingOptions}))}))}async setAccessTier(e,t={}){return LA.withSpan("BlobClient-setAccessTier",t,(async n=>{var i;return assertResponse(await this.blobContext.setTier(toAccessTier(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),rehydratePriority:t.rehydratePriority,tracingOptions:n.tracingOptions}))}))}async downloadToBuffer(e,t,n,i={}){var o;let d;let p=0;let f=0;let y=i;if(e instanceof Buffer){d=e;p=t||0;f=typeof n==="number"?n:0}else{p=typeof e==="number"?e:0;f=typeof t==="number"?t:0;y=n||{}}let v=(o=y.blockSize)!==null&&o!==void 0?o:0;if(v<0){throw new RangeError("blockSize option must be >= 0")}if(v===0){v=fe}if(p<0){throw new RangeError("offset option must be >= 0")}if(f&&f<=0){throw new RangeError("count option must be greater than 0")}if(!y.conditions){y.conditions={}}return LA.withSpan("BlobClient-downloadToBuffer",y,(async e=>{if(!f){const t=await this.getProperties(Object.assign(Object.assign({},y),{tracingOptions:e.tracingOptions}));f=t.contentLength-p;if(f<0){throw new RangeError(`offset ${p} shouldn't be larger than blob size ${t.contentLength}`)}}if(!d){try{d=Buffer.alloc(f)}catch(e){throw new Error(`Unable to allocate the buffer of size: ${f}(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(d.length<f){throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${f}`)}let t=0;const n=new Batch(y.concurrency);for(let i=p;i<p+f;i=i+v){n.addOperation((async()=>{let n=p+f;if(i+v<n){n=i+v}const o=await this.download(i,n-i,{abortSignal:y.abortSignal,conditions:y.conditions,maxRetryRequests:y.maxRetryRequestsPerBlock,customerProvidedKey:y.customerProvidedKey,tracingOptions:e.tracingOptions});const D=o.readableStreamBody;await streamToBuffer(D,d,i-p,n-p);t+=n-i;if(y.onProgress){y.onProgress({loadedBytes:t})}}))}await n.do();return d}))}async downloadToFile(e,t=0,n,i={}){return LA.withSpan("BlobClient-downloadToFile",i,(async o=>{const d=await this.download(t,n,Object.assign(Object.assign({},i),{tracingOptions:o.tracingOptions}));if(d.readableStreamBody){await readStreamToLocalFile(d.readableStreamBody,e)}d.blobDownloadStream=undefined;return d}))}getBlobAndContainerNamesFromUrl(){let e;let t;try{const n=new URL(this.url);if(n.host.split(".")[1]==="blob"){const i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1];t=i[3]}else if(isIpEndpointStyle(n)){const i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2];t=i[4]}else{const i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1];t=i[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 LA.withSpan("BlobClient-startCopyFromURL",t,(async n=>{var i,o,d;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:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.expiriesOn,immutabilityPolicyMode:(d=t.immutabilityPolicy)===null||d===void 0?void 0:d.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),sealBlob:t.sealBlob,tracingOptions:n.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 n=generateBlobSASQueryParameters(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),this.credential).toString();t(appendToURLQuery(this.url,n))}))}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}generateUserDelegationSasUrl(e,t){return new Promise((n=>{const i=generateBlobSASQueryParameters(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),t,this.accountName).toString();n(appendToURLQuery(this.url,i))}))}generateUserDelegationSasStringToSign(e,t){return generateBlobSASQueryParametersInternal(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return LA.withSpan("BlobClient-deleteImmutabilityPolicy",e,(async e=>assertResponse(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions}))))}async setImmutabilityPolicy(e,t={}){return LA.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 LA.withSpan("BlobClient-setLegalHold",t,(async t=>assertResponse(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return LA.withSpan("BlobClient-getAccountInfo",e,(async t=>assertResponse(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}}class AppendBlobClient extends BlobClient{constructor(e,t,n,o){let f;let y;o=o||{};if(isPipelineLike(t)){y=e;f=t}else if(p.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||d.isTokenCredential(t)){y=e;o=n;f=newPipeline(t,o)}else if(!t&&typeof t!=="string"){y=e;f=newPipeline(new AnonymousCredential,o)}else if(t&&typeof t==="string"&&n&&typeof n==="string"){const d=t;const v=n;const D=extractConnectionStringParts(e);if(D.kind==="AccountConnString"){if(p.isNode){const e=new StorageSharedKeyCredential(D.accountName,D.accountKey);y=appendToURLPath(appendToURLPath(D.url,encodeURIComponent(d)),encodeURIComponent(v));if(!o.proxyOptions){o.proxyOptions=i.getDefaultProxySettings(D.proxyUri)}f=newPipeline(e,o)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(D.kind==="SASConnString"){y=appendToURLPath(appendToURLPath(D.url,encodeURIComponent(d)),encodeURIComponent(v))+"?"+D.accountSas;f=newPipeline(new AnonymousCredential,o)}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(y,f);this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new AppendBlobClient(setURLParameter(this.url,Ee.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async create(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return LA.withSpan("AppendBlobClient-create",e,(async t=>{var n,i,o;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:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:(i=e.immutabilityPolicy)===null||i===void 0?void 0:i.expiriesOn,immutabilityPolicyMode:(o=e.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:e.legalHold,blobTagsString:toBlobTagsString(e.tags),tracingOptions:t.tracingOptions}))}))}async createIfNotExists(e={}){const t={ifNoneMatch:be};return LA.withSpan("AppendBlobClient-createIfNotExists",e,(async e=>{var n,i;try{const n=assertResponse(await this.create(Object.assign(Object.assign({},e),{conditions:t})));return Object.assign(Object.assign({succeeded:true},n),{_response:n._response})}catch(e){if(((n=e.details)===null||n===void 0?void 0:n.errorCode)==="BlobAlreadyExists"){return Object.assign(Object.assign({succeeded:false},(i=e.response)===null||i===void 0?void 0:i.parsedHeaders),{_response:e.response})}throw e}}))}async seal(e={}){e.conditions=e.conditions||{};return LA.withSpan("AppendBlobClient-seal",e,(async t=>{var n;return assertResponse(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:t.tracingOptions}))}))}async appendBlock(e,t,n={}){n.conditions=n.conditions||{};ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return LA.withSpan("AppendBlobClient-appendBlock",n,(async i=>{var o;return assertResponse(await this.appendBlobContext.appendBlock(t,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(o=n.conditions)===null||o===void 0?void 0:o.tagConditions}),requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}))}))}async appendBlockFromURL(e,t,n,i={}){i.conditions=i.conditions||{};i.sourceConditions=i.sourceConditions||{};ensureCpkIfSpecified(i.customerProvidedKey,this.isHttps);return LA.withSpan("AppendBlobClient-appendBlockFromURL",i,(async o=>{var d,p,f,y,v;return assertResponse(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:rangeToString({offset:t,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(d=i.conditions)===null||d===void 0?void 0:d.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(p=i.sourceConditions)===null||p===void 0?void 0:p.ifMatch,sourceIfModifiedSince:(f=i.sourceConditions)===null||f===void 0?void 0:f.ifModifiedSince,sourceIfNoneMatch:(y=i.sourceConditions)===null||y===void 0?void 0:y.ifNoneMatch,sourceIfUnmodifiedSince:(v=i.sourceConditions)===null||v===void 0?void 0:v.ifUnmodifiedSince},copySourceAuthorization:httpAuthorizationToString(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:o.tracingOptions}))}))}}class BlockBlobClient extends BlobClient{constructor(e,t,n,o){let f;let y;o=o||{};if(isPipelineLike(t)){y=e;f=t}else if(p.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||d.isTokenCredential(t)){y=e;o=n;f=newPipeline(t,o)}else if(!t&&typeof t!=="string"){y=e;if(n&&typeof n!=="string"){o=n}f=newPipeline(new AnonymousCredential,o)}else if(t&&typeof t==="string"&&n&&typeof n==="string"){const d=t;const v=n;const D=extractConnectionStringParts(e);if(D.kind==="AccountConnString"){if(p.isNode){const e=new StorageSharedKeyCredential(D.accountName,D.accountKey);y=appendToURLPath(appendToURLPath(D.url,encodeURIComponent(d)),encodeURIComponent(v));if(!o.proxyOptions){o.proxyOptions=i.getDefaultProxySettings(D.proxyUri)}f=newPipeline(e,o)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(D.kind==="SASConnString"){y=appendToURLPath(appendToURLPath(D.url,encodeURIComponent(d)),encodeURIComponent(v))+"?"+D.accountSas;f=newPipeline(new AnonymousCredential,o)}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(y,f);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new BlockBlobClient(setURLParameter(this.url,Ee.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async query(e,t={}){ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);if(!p.isNode){throw new Error("This operation currently is only supported in Node.js.")}return LA.withSpan("BlockBlobClient-query",t,(async n=>{var i;const o=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:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:t.customerProvidedKey,tracingOptions:n.tracingOptions}));return new BlobQueryResponse(o,{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError})}))}async upload(e,t,n={}){n.conditions=n.conditions||{};ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return LA.withSpan("BlockBlobClient-upload",n,(async i=>{var o,d,p;return assertResponse(await this.blockBlobContext.upload(t,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(o=n.conditions)===null||o===void 0?void 0:o.tagConditions}),requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:(d=n.immutabilityPolicy)===null||d===void 0?void 0:d.expiriesOn,immutabilityPolicyMode:(p=n.immutabilityPolicy)===null||p===void 0?void 0:p.policyMode,legalHold:n.legalHold,tier:toAccessTier(n.tier),blobTagsString:toBlobTagsString(n.tags),tracingOptions:i.tracingOptions}))}))}async syncUploadFromURL(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return LA.withSpan("BlockBlobClient-syncUploadFromURL",t,(async n=>{var i,o,d,p,f,y;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:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(o=t.sourceConditions)===null||o===void 0?void 0:o.ifMatch,sourceIfModifiedSince:(d=t.sourceConditions)===null||d===void 0?void 0:d.ifModifiedSince,sourceIfNoneMatch:(p=t.sourceConditions)===null||p===void 0?void 0:p.ifNoneMatch,sourceIfUnmodifiedSince:(f=t.sourceConditions)===null||f===void 0?void 0:f.ifUnmodifiedSince,sourceIfTags:(y=t.sourceConditions)===null||y===void 0?void 0:y.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:httpAuthorizationToString(t.sourceAuthorization),tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),copySourceTags:t.copySourceTags,tracingOptions:n.tracingOptions})))}))}async stageBlock(e,t,n,i={}){ensureCpkIfSpecified(i.customerProvidedKey,this.isHttps);return LA.withSpan("BlockBlobClient-stageBlock",i,(async o=>assertResponse(await this.blockBlobContext.stageBlock(e,n,t,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:o.tracingOptions}))))}async stageBlockFromURL(e,t,n=0,i,o={}){ensureCpkIfSpecified(o.customerProvidedKey,this.isHttps);return LA.withSpan("BlockBlobClient-stageBlockFromURL",o,(async d=>assertResponse(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:o.abortSignal,leaseAccessConditions:o.conditions,sourceContentMD5:o.sourceContentMD5,sourceContentCrc64:o.sourceContentCrc64,sourceRange:n===0&&!i?undefined:rangeToString({offset:n,count:i}),cpkInfo:o.customerProvidedKey,encryptionScope:o.encryptionScope,copySourceAuthorization:httpAuthorizationToString(o.sourceAuthorization),tracingOptions:d.tracingOptions}))))}async commitBlockList(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return LA.withSpan("BlockBlobClient-commitBlockList",t,(async n=>{var i,o,d;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:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.expiriesOn,immutabilityPolicyMode:(d=t.immutabilityPolicy)===null||d===void 0?void 0:d.policyMode,legalHold:t.legalHold,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),tracingOptions:n.tracingOptions}))}))}async getBlockList(e,t={}){return LA.withSpan("BlockBlobClient-getBlockList",t,(async n=>{var i;const o=assertResponse(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}));if(!o.committedBlocks){o.committedBlocks=[]}if(!o.uncommittedBlocks){o.uncommittedBlocks=[]}return o}))}async uploadData(e,t={}){return LA.withSpan("BlockBlobClient-uploadData",t,(async t=>{if(p.isNode){let n;if(e instanceof Buffer){n=e}else if(e instanceof ArrayBuffer){n=Buffer.from(e)}else{e=e;n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}return this.uploadSeekableInternal(((e,t)=>n.slice(e,e+t)),n.byteLength,t)}else{const n=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>n.slice(e,e+t)),n.size,t)}}))}async uploadBrowserData(e,t={}){return LA.withSpan("BlockBlobClient-uploadBrowserData",t,(async t=>{const n=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>n.slice(e,e+t)),n.size,t)}))}async uploadSeekableInternal(e,t,n={}){var i,o;let d=(i=n.blockSize)!==null&&i!==void 0?i:0;if(d<0||d>de){throw new RangeError(`blockSize option must be >= 0 and <= ${de}`)}const f=(o=n.maxSingleShotSize)!==null&&o!==void 0?o:ue;if(f<0||f>ue){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${ue}`)}if(d===0){if(t>de*pe){throw new RangeError(`${t} is too larger to upload to a block blob.`)}if(t>f){d=Math.ceil(t/pe);if(d<fe){d=fe}}}if(!n.blobHTTPHeaders){n.blobHTTPHeaders={}}if(!n.conditions){n.conditions={}}return LA.withSpan("BlockBlobClient-uploadSeekableInternal",n,(async i=>{if(t<=f){return assertResponse(await this.upload(e(0,t),t,i))}const o=Math.floor((t-1)/d)+1;if(o>pe){throw new RangeError(`The buffer's size is too big or the BlockSize is too small;`+`the number of blocks must be <= ${pe}`)}const y=[];const v=p.randomUUID();let D=0;const M=new Batch(n.concurrency);for(let p=0;p<o;p++){M.addOperation((async()=>{const f=generateBlockID(v,p);const M=d*p;const U=p===o-1?t:M+d;const j=U-M;y.push(f);await this.stageBlock(f,e(M,j),j,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions});D+=j;if(n.onProgress){n.onProgress({loadedBytes:D})}}))}await M.do();return this.commitBlockList(y,i)}))}async uploadFile(e,t={}){return LA.withSpan("BlockBlobClient-uploadFile",t,(async n=>{const i=(await WA(e)).size;return this.uploadSeekableInternal(((t,n)=>()=>ZA(e,{autoClose:true,end:n?t+n-1:Infinity,start:t})),i,Object.assign(Object.assign({},t),{tracingOptions:n.tracingOptions}))}))}async uploadStream(e,t=ge,n=5,i={}){if(!i.blobHTTPHeaders){i.blobHTTPHeaders={}}if(!i.conditions){i.conditions={}}return LA.withSpan("BlockBlobClient-uploadStream",i,(async o=>{let d=0;const f=p.randomUUID();let y=0;const v=[];const D=new BufferScheduler(e,t,n,(async(e,t)=>{const n=generateBlockID(f,d);v.push(n);d++;await this.stageBlock(n,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:o.tracingOptions});y+=t;if(i.onProgress){i.onProgress({loadedBytes:y})}}),Math.ceil(n/4*3));await D.do();return assertResponse(await this.commitBlockList(v,Object.assign(Object.assign({},i),{tracingOptions:o.tracingOptions})))}))}}class PageBlobClient extends BlobClient{constructor(e,t,n,o){let f;let y;o=o||{};if(isPipelineLike(t)){y=e;f=t}else if(p.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||d.isTokenCredential(t)){y=e;o=n;f=newPipeline(t,o)}else if(!t&&typeof t!=="string"){y=e;f=newPipeline(new AnonymousCredential,o)}else if(t&&typeof t==="string"&&n&&typeof n==="string"){const d=t;const v=n;const D=extractConnectionStringParts(e);if(D.kind==="AccountConnString"){if(p.isNode){const e=new StorageSharedKeyCredential(D.accountName,D.accountKey);y=appendToURLPath(appendToURLPath(D.url,encodeURIComponent(d)),encodeURIComponent(v));if(!o.proxyOptions){o.proxyOptions=i.getDefaultProxySettings(D.proxyUri)}f=newPipeline(e,o)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(D.kind==="SASConnString"){y=appendToURLPath(appendToURLPath(D.url,encodeURIComponent(d)),encodeURIComponent(v))+"?"+D.accountSas;f=newPipeline(new AnonymousCredential,o)}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(y,f);this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new PageBlobClient(setURLParameter(this.url,Ee.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async create(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return LA.withSpan("PageBlobClient-create",t,(async n=>{var i,o,d;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:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:(o=t.immutabilityPolicy)===null||o===void 0?void 0:o.expiriesOn,immutabilityPolicyMode:(d=t.immutabilityPolicy)===null||d===void 0?void 0:d.policyMode,legalHold:t.legalHold,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),tracingOptions:n.tracingOptions}))}))}async createIfNotExists(e,t={}){return LA.withSpan("PageBlobClient-createIfNotExists",t,(async n=>{var i,o;try{const i={ifNoneMatch:be};const o=assertResponse(await this.create(e,Object.assign(Object.assign({},t),{conditions:i,tracingOptions:n.tracingOptions})));return Object.assign(Object.assign({succeeded:true},o),{_response:o._response})}catch(e){if(((i=e.details)===null||i===void 0?void 0:i.errorCode)==="BlobAlreadyExists"){return Object.assign(Object.assign({succeeded:false},(o=e.response)===null||o===void 0?void 0:o.parsedHeaders),{_response:e.response})}throw e}}))}async uploadPages(e,t,n,i={}){i.conditions=i.conditions||{};ensureCpkIfSpecified(i.customerProvidedKey,this.isHttps);return LA.withSpan("PageBlobClient-uploadPages",i,(async o=>{var d;return assertResponse(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(d=i.conditions)===null||d===void 0?void 0:d.tagConditions}),requestOptions:{onUploadProgress:i.onProgress},range:rangeToString({offset:t,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:o.tracingOptions}))}))}async uploadPagesFromURL(e,t,n,i,o={}){o.conditions=o.conditions||{};o.sourceConditions=o.sourceConditions||{};ensureCpkIfSpecified(o.customerProvidedKey,this.isHttps);return LA.withSpan("PageBlobClient-uploadPagesFromURL",o,(async d=>{var p,f,y,v,D;return assertResponse(await this.pageBlobContext.uploadPagesFromURL(e,rangeToString({offset:t,count:i}),0,rangeToString({offset:n,count:i}),{abortSignal:o.abortSignal,sourceContentMD5:o.sourceContentMD5,sourceContentCrc64:o.sourceContentCrc64,leaseAccessConditions:o.conditions,sequenceNumberAccessConditions:o.conditions,modifiedAccessConditions:Object.assign(Object.assign({},o.conditions),{ifTags:(p=o.conditions)===null||p===void 0?void 0:p.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(f=o.sourceConditions)===null||f===void 0?void 0:f.ifMatch,sourceIfModifiedSince:(y=o.sourceConditions)===null||y===void 0?void 0:y.ifModifiedSince,sourceIfNoneMatch:(v=o.sourceConditions)===null||v===void 0?void 0:v.ifNoneMatch,sourceIfUnmodifiedSince:(D=o.sourceConditions)===null||D===void 0?void 0:D.ifUnmodifiedSince},cpkInfo:o.customerProvidedKey,encryptionScope:o.encryptionScope,copySourceAuthorization:httpAuthorizationToString(o.sourceAuthorization),tracingOptions:d.tracingOptions}))}))}async clearPages(e=0,t,n={}){n.conditions=n.conditions||{};return LA.withSpan("PageBlobClient-clearPages",n,(async i=>{var o;return assertResponse(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(o=n.conditions)===null||o===void 0?void 0:o.tagConditions}),range:rangeToString({offset:e,count:t}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}))}))}async getPageRanges(e=0,t,n={}){n.conditions=n.conditions||{};return LA.withSpan("PageBlobClient-getPageRanges",n,(async i=>{var o;const d=assertResponse(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(o=n.conditions)===null||o===void 0?void 0:o.tagConditions}),range:rangeToString({offset:e,count:t}),tracingOptions:i.tracingOptions}));return rangeResponseFromModel(d)}))}async listPageRangesSegment(e=0,t,n,i={}){return LA.withSpan("PageBlobClient-getPageRangesSegment",i,(async o=>{var d;return assertResponse(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(d=i.conditions)===null||d===void 0?void 0:d.tagConditions}),range:rangeToString({offset:e,count:t}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:o.tracingOptions}))}))}listPageRangeItemSegments(){return o.__asyncGenerator(this,arguments,(function*listPageRangeItemSegments_1(e=0,t,n,i={}){let d;if(!!n||n===undefined){do{d=yield o.__await(this.listPageRangesSegment(e,t,n,i));n=d.continuationToken;yield yield o.__await(yield o.__await(d))}while(n)}}))}listPageRangeItems(){return o.__asyncGenerator(this,arguments,(function*listPageRangeItems_1(e=0,t,n={}){var i,d,p,f;let y;try{for(var v=true,D=o.__asyncValues(this.listPageRangeItemSegments(e,t,y,n)),M;M=yield o.__await(D.next()),i=M.done,!i;v=true){f=M.value;v=false;const e=f;yield o.__await(yield*o.__asyncDelegator(o.__asyncValues(ExtractPageRangeInfoItems(e))))}}catch(e){d={error:e}}finally{try{if(!v&&!i&&(p=D.return))yield o.__await(p.call(D))}finally{if(d)throw d.error}}}))}listPageRanges(e=0,t,n={}){n.conditions=n.conditions||{};const i=this.listPageRangeItems(e,t,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,Object.assign({maxPageSize:i.maxPageSize},n))}}async getPageRangesDiff(e,t,n,i={}){i.conditions=i.conditions||{};return LA.withSpan("PageBlobClient-getPageRangesDiff",i,(async o=>{var d;const p=assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(d=i.conditions)===null||d===void 0?void 0:d.tagConditions}),prevsnapshot:n,range:rangeToString({offset:e,count:t}),tracingOptions:o.tracingOptions}));return rangeResponseFromModel(p)}))}async listPageRangesDiffSegment(e,t,n,i,o={}){return LA.withSpan("PageBlobClient-getPageRangesDiffSegment",o,(async d=>{var p;return assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:o===null||o===void 0?void 0:o.abortSignal,leaseAccessConditions:o===null||o===void 0?void 0:o.conditions,modifiedAccessConditions:Object.assign(Object.assign({},o===null||o===void 0?void 0:o.conditions),{ifTags:(p=o===null||o===void 0?void 0:o.conditions)===null||p===void 0?void 0:p.tagConditions}),prevsnapshot:n,range:rangeToString({offset:e,count:t}),marker:i,maxPageSize:o===null||o===void 0?void 0:o.maxPageSize,tracingOptions:d.tracingOptions}))}))}listPageRangeDiffItemSegments(e,t,n,i,d){return o.__asyncGenerator(this,arguments,(function*listPageRangeDiffItemSegments_1(){let p;if(!!i||i===undefined){do{p=yield o.__await(this.listPageRangesDiffSegment(e,t,n,i,d));i=p.continuationToken;yield yield o.__await(yield o.__await(p))}while(i)}}))}listPageRangeDiffItems(e,t,n,i){return o.__asyncGenerator(this,arguments,(function*listPageRangeDiffItems_1(){var d,p,f,y;let v;try{for(var D=true,M=o.__asyncValues(this.listPageRangeDiffItemSegments(e,t,n,v,i)),U;U=yield o.__await(M.next()),d=U.done,!d;D=true){y=U.value;D=false;const e=y;yield o.__await(yield*o.__asyncDelegator(o.__asyncValues(ExtractPageRangeInfoItems(e))))}}catch(e){p={error:e}}finally{try{if(!D&&!d&&(f=M.return))yield o.__await(f.call(M))}finally{if(p)throw p.error}}}))}listPageRangesDiff(e,t,n,i={}){i.conditions=i.conditions||{};const o=this.listPageRangeDiffItems(e,t,n,Object.assign({},i));return{next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:(o={})=>this.listPageRangeDiffItemSegments(e,t,n,o.continuationToken,Object.assign({maxPageSize:o.maxPageSize},i))}}async getPageRangesDiffForManagedDisks(e,t,n,i={}){i.conditions=i.conditions||{};return LA.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,(async o=>{var d;const p=assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(d=i.conditions)===null||d===void 0?void 0:d.tagConditions}),prevSnapshotUrl:n,range:rangeToString({offset:e,count:t}),tracingOptions:o.tracingOptions}));return rangeResponseFromModel(p)}))}async resize(e,t={}){t.conditions=t.conditions||{};return LA.withSpan("PageBlobClient-resize",t,(async n=>{var i;return assertResponse(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),encryptionScope:t.encryptionScope,tracingOptions:n.tracingOptions}))}))}async updateSequenceNumber(e,t,n={}){n.conditions=n.conditions||{};return LA.withSpan("PageBlobClient-updateSequenceNumber",n,(async i=>{var o;return assertResponse(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:t,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(o=n.conditions)===null||o===void 0?void 0:o.tagConditions}),tracingOptions:i.tracingOptions}))}))}async startCopyIncremental(e,t={}){return LA.withSpan("PageBlobClient-startCopyIncremental",t,(async n=>{var i;return assertResponse(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},t.conditions),{ifTags:(i=t.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}))}))}}async function getBodyAsText(e){let t=Buffer.alloc(Ne);const n=await streamToBuffer2(e.readableStreamBody,t);t=t.slice(0,n);return t.toString()}function utf8ByteLength(e){return Buffer.byteLength(e)}const KA=": ";const $A=" ";const XA=-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}${we}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==Ce.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 n=t.length;if(n!==this.subRequests.size&&n!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const o=new Array(n);let d=0;let p=0;for(let e=0;e<n;e++){const n=t[e];const y={};y.headers=f.toHttpHeadersLike(i.createHttpHeaders());const v=n.split(`${we}`);let D=false;let M=false;let U=false;let j=XA;for(const e of v){if(!D){if(e.startsWith(Ie.CONTENT_ID)){j=parseInt(e.split(KA)[1])}if(e.startsWith(ve)){D=true;const t=e.split($A);y.status=parseInt(t[1]);y.statusMessage=t.slice(2).join($A)}continue}if(e.trim()===""){if(!M){M=true}continue}if(!M){if(e.indexOf(KA)===-1){throw new Error(`Invalid state: find non-empty line '${e}' without HTTP header delimiter '${KA}'.`)}const t=e.split(KA);y.headers.set(t[0],t[1]);if(t[0]===Ie.X_MS_ERROR_CODE){y.errorCode=t[1];U=true}}else{if(!y.bodyAsText){y.bodyAsText=""}y.bodyAsText+=e}}if(j!==XA&&Number.isInteger(j)&&j>=0&&j<this.subRequests.size&&o[j]===undefined){y._request=this.subRequests.get(j);o[j]=y}else{Ae.error(`subResponses[${e}] is dropped as the Content-ID is not found or invalid, Content-ID: ${j}`)}if(U){p++}else{d++}}return{subResponses:o,subResponsesSucceededCount:d,subResponsesFailedCount:p}}}var ec;(function(e){e[e["LOCKED"]=0]="LOCKED";e[e["UNLOCKED"]=1]="UNLOCKED"})(ec||(ec={}));class Mutex{static async lock(e){return new Promise((t=>{if(this.keys[e]===undefined||this.keys[e]===ec.UNLOCKED){this.keys[e]=ec.LOCKED;t()}else{this.onUnlockEvent(e,(()=>{this.keys[e]=ec.LOCKED;t()}))}}))}static async unlock(e){return new Promise((t=>{if(this.keys[e]===ec.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,n){let i;let o;if(typeof e==="string"&&(p.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||d.isTokenCredential(t))){i=e;o=t}else if(e instanceof BlobClient){i=e.url;o=e.credential;n=t}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!n){n={}}return LA.withSpan("BatchDeleteRequest-addSubRequest",n,(async e=>{this.setBatchType("delete");await this.addSubRequestInternal({url:i,credential:o},(async()=>{await new BlobClient(i,this.batchRequest.createPipeline(o)).delete(e)}))}))}async setBlobAccessTier(e,t,n,i){let o;let f;let y;if(typeof e==="string"&&(p.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||d.isTokenCredential(t))){o=e;f=t;y=n}else if(e instanceof BlobClient){o=e.url;f=e.credential;y=t;i=n}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!i){i={}}return LA.withSpan("BatchSetTierRequest-addSubRequest",i,(async e=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:o,credential:f},(async()=>{await new BlobClient(o,this.batchRequest.createPipeline(f)).setAccessTier(y,e)}))}))}}class InnerBatchRequest{constructor(){this.operationCount=0;this.body="";const e=p.randomUUID();this.boundary=`batch_${e}`;this.subRequestPrefix=`--${this.boundary}${we}${Ie.CONTENT_TYPE}: application/http${we}${Ie.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(e){const t=i.createEmptyPipeline();t.addPolicy(y.serializationPolicy({stringifyXML:v.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});t.addPolicy(batchHeaderFilterPolicy());t.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if(d.isTokenCredential(e)){t.addPolicy(i.bearerTokenAuthenticationPolicy({credential:e,scopes:ye,challengeCallbacks:{authorizeRequestOnChallenge:y.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(e instanceof StorageSharedKeyCredential){t.addPolicy(storageSharedKeyCredentialPolicy({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"})}const n=new Pipeline([]);n._credential=e;n._corePipeline=t;return n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${Ie.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${getURLPathAndQuery(e.url)} ${ve}${we}`].join(we);for(const[t,n]of e.headers){this.body+=`${t}: ${n}${we}`}this.body+=we}preAddSubRequest(e){if(this.operationCount>=Se){throw new RangeError(`Cannot exceed ${Se} 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}${we}`}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:i.createHttpHeaders()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(e,t){let n="";for(const[t]of e.headers){if(iEqual(t,Ie.X_MS_VERSION)){n=t}}if(n!==""){e.headers.delete(n)}return t(e)}}}class BlobBatchClient{constructor(e,t,n){let i;if(isPipelineLike(t)){i=t}else if(!t){i=newPipeline(new AnonymousCredential,n)}else{i=newPipeline(t,n)}const o=new StorageContextClient(e,getCoreClientOptions(i));const d=getURLPath(e);if(d&&d!=="/"){this.serviceOrContainerContext=o.container}else{this.serviceOrContainerContext=o.service}}createBatch(){return new BlobBatch}async deleteBlobs(e,t,n){const i=new BlobBatch;for(const o of e){if(typeof o==="string"){await i.deleteBlob(o,t,n)}else{await i.deleteBlob(o,t)}}return this.submitBatch(i)}async setBlobsAccessTier(e,t,n,i){const o=new BlobBatch;for(const d of e){if(typeof d==="string"){await o.setBlobAccessTier(d,t,n,i)}else{await o.setBlobAccessTier(d,t,n)}}return this.submitBatch(o)}async submitBatch(e,t={}){if(!e||e.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return LA.withSpan("BlobBatchClient-submitBatch",t,(async t=>{const n=e.getHttpRequestBody();const i=assertResponse(await this.serviceOrContainerContext.submitBatch(utf8ByteLength(n),e.getMultiPartContentType(),n,Object.assign({},t)));const o=new BatchResponseParser(i,e.getSubRequests());const d=await o.parseBatchResponse();const p={_response:i._response,contentType:i.contentType,errorCode:i.errorCode,requestId:i.requestId,clientRequestId:i.clientRequestId,version:i.version,subResponses:d.subResponses,subResponsesSucceededCount:d.subResponsesSucceededCount,subResponsesFailedCount:d.subResponsesFailedCount};return p}))}}class ContainerClient extends StorageClient{get containerName(){return this._containerName}constructor(e,t,n){let o;let f;n=n||{};if(isPipelineLike(t)){f=e;o=t}else if(p.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||d.isTokenCredential(t)){f=e;o=newPipeline(t,n)}else if(!t&&typeof t!=="string"){f=e;o=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"){const d=t;const y=extractConnectionStringParts(e);if(y.kind==="AccountConnString"){if(p.isNode){const e=new StorageSharedKeyCredential(y.accountName,y.accountKey);f=appendToURLPath(y.url,encodeURIComponent(d));if(!n.proxyOptions){n.proxyOptions=i.getDefaultProxySettings(y.proxyUri)}o=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(y.kind==="SASConnString"){f=appendToURLPath(y.url,encodeURIComponent(d))+"?"+y.accountSas;o=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 parameter")}super(f,o);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container}async create(e={}){return LA.withSpan("ContainerClient-create",e,(async e=>assertResponse(await this.containerContext.create(e))))}async createIfNotExists(e={}){return LA.withSpan("ContainerClient-createIfNotExists",e,(async e=>{var t,n;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},(n=e.response)===null||n===void 0?void 0:n.parsedHeaders),{_response:e.response})}else{throw e}}}))}async exists(e={}){return LA.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 LA.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 LA.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 LA.withSpan("ContainerClient-deleteIfExists",e,(async e=>{var t,n;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},(n=e.response)===null||n===void 0?void 0:n.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 LA.withSpan("ContainerClient-setMetadata",t,(async n=>assertResponse(await this.containerContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:t.conditions,tracingOptions:n.tracingOptions}))))}async getAccessPolicy(e={}){if(!e.conditions){e.conditions={}}return LA.withSpan("ContainerClient-getAccessPolicy",e,(async t=>{const n=assertResponse(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));const i={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(const e of n){let t=undefined;if(e.accessPolicy){t={permissions:e.accessPolicy.permissions};if(e.accessPolicy.expiresOn){t.expiresOn=new Date(e.accessPolicy.expiresOn)}if(e.accessPolicy.startsOn){t.startsOn=new Date(e.accessPolicy.startsOn)}}i.signedIdentifiers.push({accessPolicy:t,id:e.id})}return i}))}async setAccessPolicy(e,t,n={}){n.conditions=n.conditions||{};return LA.withSpan("ContainerClient-setAccessPolicy",n,(async i=>{const o=[];for(const e of t||[]){o.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:n.abortSignal,access:e,containerAcl:o,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))}))}getBlobLeaseClient(e){return new BlobLeaseClient(this,e)}async uploadBlockBlob(e,t,n,i={}){return LA.withSpan("ContainerClient-uploadBlockBlob",i,(async i=>{const o=this.getBlockBlobClient(e);const d=await o.upload(t,n,i);return{blockBlobClient:o,response:d}}))}async deleteBlob(e,t={}){return LA.withSpan("ContainerClient-deleteBlob",t,(async n=>{let i=this.getBlobClient(e);if(t.versionId){i=i.withVersion(t.versionId)}return i.delete(n)}))}async listBlobFlatSegment(e,t={}){return LA.withSpan("ContainerClient-listBlobFlatSegment",t,(async n=>{const i=assertResponse(await this.containerContext.listBlobFlatSegment(Object.assign(Object.assign({marker:e},t),{tracingOptions:n.tracingOptions})));const o=Object.assign(Object.assign({},i),{_response:Object.assign(Object.assign({},i._response),{parsedBody:ConvertInternalResponseOfListBlobFlat(i._response.parsedBody)}),segment:Object.assign(Object.assign({},i.segment),{blobItems:i.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 o}))}async listBlobHierarchySegment(e,t,n={}){return LA.withSpan("ContainerClient-listBlobHierarchySegment",n,(async i=>{var o;const d=assertResponse(await this.containerContext.listBlobHierarchySegment(e,Object.assign(Object.assign({marker:t},n),{tracingOptions:i.tracingOptions})));const p=Object.assign(Object.assign({},d),{_response:Object.assign(Object.assign({},d._response),{parsedBody:ConvertInternalResponseOfListBlobHierarchy(d._response.parsedBody)}),segment:Object.assign(Object.assign({},d.segment),{blobItems:d.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:(o=d.segment.blobPrefixes)===null||o===void 0?void 0:o.map((e=>{const t=Object.assign(Object.assign({},e),{name:BlobNameToString(e.name)});return t}))})});return p}))}listSegments(e){return o.__asyncGenerator(this,arguments,(function*listSegments_1(e,t={}){let n;if(!!e||e===undefined){do{n=yield o.__await(this.listBlobFlatSegment(e,t));e=n.continuationToken;yield yield o.__await(yield o.__await(n))}while(e)}}))}listItems(){return o.__asyncGenerator(this,arguments,(function*listItems_1(e={}){var t,n,i,d;let p;try{for(var f=true,y=o.__asyncValues(this.listSegments(p,e)),v;v=yield o.__await(y.next()),t=v.done,!t;f=true){d=v.value;f=false;const e=d;yield o.__await(yield*o.__asyncDelegator(o.__asyncValues(e.segment.blobItems)))}}catch(e){n={error:e}}finally{try{if(!f&&!t&&(i=y.return))yield o.__await(i.call(y))}finally{if(n)throw n.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 n=Object.assign(Object.assign({},e),t.length>0?{include:t}:{});const i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,Object.assign({maxPageSize:e.maxPageSize},n))}}listHierarchySegments(e,t){return o.__asyncGenerator(this,arguments,(function*listHierarchySegments_1(e,t,n={}){let i;if(!!t||t===undefined){do{i=yield o.__await(this.listBlobHierarchySegment(e,t,n));t=i.continuationToken;yield yield o.__await(yield o.__await(i))}while(t)}}))}listItemsByHierarchy(e){return o.__asyncGenerator(this,arguments,(function*listItemsByHierarchy_1(e,t={}){var n,i,d,p;let f;try{for(var y=true,v=o.__asyncValues(this.listHierarchySegments(e,f,t)),D;D=yield o.__await(v.next()),n=D.done,!n;y=true){p=D.value;y=false;const e=p;const t=e.segment;if(t.blobPrefixes){for(const e of t.blobPrefixes){yield yield o.__await(Object.assign({kind:"prefix"},e))}}for(const e of t.blobItems){yield yield o.__await(Object.assign({kind:"blob"},e))}}}catch(e){i={error:e}}finally{try{if(!y&&!n&&(d=v.return))yield o.__await(d.call(v))}finally{if(i)throw i.error}}}))}listBlobsByHierarchy(e,t={}){if(e===""){throw new RangeError("delimiter should contain one or more characters")}const n=[];if(t.includeCopy){n.push("copy")}if(t.includeDeleted){n.push("deleted")}if(t.includeMetadata){n.push("metadata")}if(t.includeSnapshots){n.push("snapshots")}if(t.includeVersions){n.push("versions")}if(t.includeUncommitedBlobs){n.push("uncommittedblobs")}if(t.includeTags){n.push("tags")}if(t.includeDeletedWithVersions){n.push("deletedwithversions")}if(t.includeImmutabilityPolicy){n.push("immutabilitypolicy")}if(t.includeLegalHold){n.push("legalhold")}if(t.prefix===""){t.prefix=undefined}const i=Object.assign(Object.assign({},t),n.length>0?{include:n}:{});const o=this.listItemsByHierarchy(e,i);return{async next(){return o.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.listHierarchySegments(e,t.continuationToken,Object.assign({maxPageSize:t.maxPageSize},i))}}async findBlobsByTagsSegment(e,t,n={}){return LA.withSpan("ContainerClient-findBlobsByTagsSegment",n,(async i=>{const o=assertResponse(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:t,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));const d=Object.assign(Object.assign({},o),{_response:o._response,blobs:o.blobs.map((e=>{var t;let n="";if(((t=e.tags)===null||t===void 0?void 0:t.blobTagSet.length)===1){n=e.tags.blobTagSet[0].value}return Object.assign(Object.assign({},e),{tags:toTags(e.tags),tagValue:n})}))});return d}))}findBlobsByTagsSegments(e,t){return o.__asyncGenerator(this,arguments,(function*findBlobsByTagsSegments_1(e,t,n={}){let i;if(!!t||t===undefined){do{i=yield o.__await(this.findBlobsByTagsSegment(e,t,n));i.blobs=i.blobs||[];t=i.continuationToken;yield yield o.__await(i)}while(t)}}))}findBlobsByTagsItems(e){return o.__asyncGenerator(this,arguments,(function*findBlobsByTagsItems_1(e,t={}){var n,i,d,p;let f;try{for(var y=true,v=o.__asyncValues(this.findBlobsByTagsSegments(e,f,t)),D;D=yield o.__await(v.next()),n=D.done,!n;y=true){p=D.value;y=false;const e=p;yield o.__await(yield*o.__asyncDelegator(o.__asyncValues(e.blobs)))}}catch(e){i={error:e}}finally{try{if(!y&&!n&&(d=v.return))yield o.__await(d.call(v))}finally{if(i)throw i.error}}}))}findBlobsByTags(e,t={}){const n=Object.assign({},t);const i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,Object.assign({maxPageSize:t.maxPageSize},n))}}async getAccountInfo(e={}){return LA.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 n=generateBlobSASQueryParameters(Object.assign({containerName:this._containerName},e),this.credential).toString();t(appendToURLQuery(this.url,n))}))}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}generateUserDelegationSasUrl(e,t){return new Promise((n=>{const i=generateBlobSASQueryParameters(Object.assign({containerName:this._containerName},e),t,this.accountName).toString();n(appendToURLQuery(this.url,i))}))}generateUserDelegationSasStringToSign(e,t){return generateBlobSASQueryParametersInternal(Object.assign({containerName:this._containerName},e),t,this.accountName).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 n of e){switch(n){case"r":t.read=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"x":t.deleteVersion=true;break;case"l":t.list=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"u":t.update=true;break;case"p":t.process=true;break;case"t":t.tag=true;break;case"f":t.filter=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${n}`)}}return t}static from(e){const t=new AccountSASPermissions;if(e.read){t.read=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.deleteVersion){t.deleteVersion=true}if(e.filter){t.filter=true}if(e.tag){t.tag=true}if(e.list){t.list=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.update){t.update=true}if(e.process){t.process=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}return t}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 n of e){switch(n){case"s":t.service=true;break;case"c":t.container=true;break;case"o":t.object=true;break;default:throw new RangeError(`Invalid resource type: ${n}`)}}return t}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 n of e){switch(n){case"b":t.blob=true;break;case"f":t.file=true;break;case"q":t.queue=true;break;case"t":t.table=true;break;default:throw new RangeError(`Invalid service character: ${n}`)}}return t}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 n=e.version?e.version:le;if(e.permissions&&e.permissions.setImmutabilityPolicy&&n<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&n<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&n<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(e.permissions&&e.permissions.tag&&n<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(e.permissions&&e.permissions.filter&&n<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(e.encryptionScope&&n<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const i=AccountSASPermissions.parse(e.permissions.toString());const o=AccountSASServices.parse(e.services).toString();const d=AccountSASResourceTypes.parse(e.resourceTypes).toString();let p;if(n>="2020-12-06"){p=[t.accountName,i,o,d,e.startsOn?truncatedISO8061Date(e.startsOn,false):"",truncatedISO8061Date(e.expiresOn,false),e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",n,e.encryptionScope?e.encryptionScope:"",""].join("\n")}else{p=[t.accountName,i,o,d,e.startsOn?truncatedISO8061Date(e.startsOn,false):"",truncatedISO8061Date(e.expiresOn,false),e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",n,""].join("\n")}const f=t.computeHMACSHA256(p);return{sasQueryParameters:new SASQueryParameters(n,f,i.toString(),o,d,e.protocol,e.startsOn,e.expiresOn,e.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,e.encryptionScope),stringToSign:p}}class BlobServiceClient extends StorageClient{static fromConnectionString(e,t){t=t||{};const n=extractConnectionStringParts(e);if(n.kind==="AccountConnString"){if(p.isNode){const e=new StorageSharedKeyCredential(n.accountName,n.accountKey);if(!t.proxyOptions){t.proxyOptions=i.getDefaultProxySettings(n.proxyUri)}const o=newPipeline(e,t);return new BlobServiceClient(n.url,o)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(n.kind==="SASConnString"){const e=newPipeline(new AnonymousCredential,t);return new BlobServiceClient(n.url+"?"+n.accountSas,e)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(e,t,n){let i;if(isPipelineLike(t)){i=t}else if(p.isNode&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||d.isTokenCredential(t)){i=newPipeline(t,n)}else{i=newPipeline(new AnonymousCredential,n)}super(e,i);this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new ContainerClient(appendToURLPath(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,t={}){return LA.withSpan("BlobServiceClient-createContainer",t,(async t=>{const n=this.getContainerClient(e);const i=await n.create(t);return{containerClient:n,containerCreateResponse:i}}))}async deleteContainer(e,t={}){return LA.withSpan("BlobServiceClient-deleteContainer",t,(async t=>{const n=this.getContainerClient(e);return n.delete(t)}))}async undeleteContainer(e,t,n={}){return LA.withSpan("BlobServiceClient-undeleteContainer",n,(async i=>{const o=this.getContainerClient(n.destinationContainerName||e);const d=o["storageClientContext"].container;const p=assertResponse(await d.restore({deletedContainerName:e,deletedContainerVersion:t,tracingOptions:i.tracingOptions}));return{containerClient:o,containerUndeleteResponse:p}}))}async renameContainer(e,t,n={}){return LA.withSpan("BlobServiceClient-renameContainer",n,(async i=>{var o;const d=this.getContainerClient(t);const p=d["storageClientContext"].container;const f=assertResponse(await p.rename(e,Object.assign(Object.assign({},i),{sourceLeaseId:(o=n.sourceCondition)===null||o===void 0?void 0:o.leaseId})));return{containerClient:d,containerRenameResponse:f}}))}async getProperties(e={}){return LA.withSpan("BlobServiceClient-getProperties",e,(async t=>assertResponse(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setProperties(e,t={}){return LA.withSpan("BlobServiceClient-setProperties",t,(async n=>assertResponse(await this.serviceContext.setProperties(e,{abortSignal:t.abortSignal,tracingOptions:n.tracingOptions}))))}async getStatistics(e={}){return LA.withSpan("BlobServiceClient-getStatistics",e,(async t=>assertResponse(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return LA.withSpan("BlobServiceClient-getAccountInfo",e,(async t=>assertResponse(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async listContainersSegment(e,t={}){return LA.withSpan("BlobServiceClient-listContainersSegment",t,(async n=>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:n.tracingOptions})))))}async findBlobsByTagsSegment(e,t,n={}){return LA.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,(async i=>{const o=assertResponse(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:t,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));const d=Object.assign(Object.assign({},o),{_response:o._response,blobs:o.blobs.map((e=>{var t;let n="";if(((t=e.tags)===null||t===void 0?void 0:t.blobTagSet.length)===1){n=e.tags.blobTagSet[0].value}return Object.assign(Object.assign({},e),{tags:toTags(e.tags),tagValue:n})}))});return d}))}findBlobsByTagsSegments(e,t){return o.__asyncGenerator(this,arguments,(function*findBlobsByTagsSegments_1(e,t,n={}){let i;if(!!t||t===undefined){do{i=yield o.__await(this.findBlobsByTagsSegment(e,t,n));i.blobs=i.blobs||[];t=i.continuationToken;yield yield o.__await(i)}while(t)}}))}findBlobsByTagsItems(e){return o.__asyncGenerator(this,arguments,(function*findBlobsByTagsItems_1(e,t={}){var n,i,d,p;let f;try{for(var y=true,v=o.__asyncValues(this.findBlobsByTagsSegments(e,f,t)),D;D=yield o.__await(v.next()),n=D.done,!n;y=true){p=D.value;y=false;const e=p;yield o.__await(yield*o.__asyncDelegator(o.__asyncValues(e.blobs)))}}catch(e){i={error:e}}finally{try{if(!y&&!n&&(d=v.return))yield o.__await(d.call(v))}finally{if(i)throw i.error}}}))}findBlobsByTags(e,t={}){const n=Object.assign({},t);const i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,Object.assign({maxPageSize:t.maxPageSize},n))}}listSegments(e){return o.__asyncGenerator(this,arguments,(function*listSegments_1(e,t={}){let n;if(!!e||e===undefined){do{n=yield o.__await(this.listContainersSegment(e,t));n.containerItems=n.containerItems||[];e=n.continuationToken;yield yield o.__await(yield o.__await(n))}while(e)}}))}listItems(){return o.__asyncGenerator(this,arguments,(function*listItems_1(e={}){var t,n,i,d;let p;try{for(var f=true,y=o.__asyncValues(this.listSegments(p,e)),v;v=yield o.__await(y.next()),t=v.done,!t;f=true){d=v.value;f=false;const e=d;yield o.__await(yield*o.__asyncDelegator(o.__asyncValues(e.containerItems)))}}catch(e){n={error:e}}finally{try{if(!f&&!t&&(i=y.return))yield o.__await(i.call(y))}finally{if(n)throw n.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 n=Object.assign(Object.assign({},e),t.length>0?{include:t}:{});const i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,Object.assign({maxPageSize:e.maxPageSize},n))}}async getUserDelegationKey(e,t,n={}){return LA.withSpan("BlobServiceClient-getUserDelegationKey",n,(async i=>{const o=assertResponse(await this.serviceContext.getUserDelegationKey({startsOn:truncatedISO8061Date(e,false),expiresOn:truncatedISO8061Date(t,false)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions}));const d={signedObjectId:o.signedObjectId,signedTenantId:o.signedTenantId,signedStartsOn:new Date(o.signedStartsOn),signedExpiresOn:new Date(o.signedExpiresOn),signedService:o.signedService,signedVersion:o.signedVersion,value:o.value};const p=Object.assign({_response:o._response,requestId:o.requestId,clientRequestId:o.clientRequestId,version:o.version,date:o.date,errorCode:o.errorCode},d);return p}))}getBlobBatchClient(){return new BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,t=AccountSASPermissions.parse("r"),n="sco",i={}){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 o=generateAccountSASQueryParameters(Object.assign({permissions:t,expiresOn:e,resourceTypes:n,services:AccountSASServices.parse("b").toString()},i),this.credential).toString();return appendToURLQuery(this.url,o)}generateSasStringToSign(e,t=AccountSASPermissions.parse("r"),n="sco",i={}){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:n,services:AccountSASServices.parse("b").toString()},i),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 i.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=ye;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=Ae;t.newPipeline=newPipeline},96444:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(e,t,n,i,o,d,p){this.method=e;this.requestHeaders=t;this.requests=n;this.headers=i;this.response=o;this.status=d;this.trailers=p}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:t,status:n,trailers:i}}))}}t.ClientStreamingCall=ClientStreamingCall},26110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Deferred=t.DeferredState=void 0;var n;(function(e){e[e["PENDING"]=0]="PENDING";e[e["REJECTED"]=1]="REJECTED";e[e["RESOLVED"]=2]="RESOLVED"})(n=t.DeferredState||(t.DeferredState={}));class Deferred{constructor(e=true){this._state=n.PENDING;this._promise=new Promise(((e,t)=>{this._resolve=e;this._reject=t}));if(e){this._promise.catch((e=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==n.PENDING)throw new Error(`cannot resolve ${n[this.state].toLowerCase()}`);this._resolve(e);this._state=n.RESOLVED}reject(e){if(this.state!==n.PENDING)throw new Error(`cannot reject ${n[this.state].toLowerCase()}`);this._reject(e);this._state=n.REJECTED}resolvePending(e){if(this._state===n.PENDING)this.resolve(e)}rejectPending(e){if(this._state===n.PENDING)this.reject(e)}}t.Deferred=Deferred},73515:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(e,t,n,i,o,d,p){this.method=e;this.requestHeaders=t;this.requests=n;this.headers=i;this.responses=o;this.status=d;this.trailers=p}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:t,trailers:n}}))}}t.DuplexStreamingCall=DuplexStreamingCall},42229:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=n(42927);Object.defineProperty(t,"ServiceType",{enumerable:true,get:function(){return i.ServiceType}});var o=n(51817);Object.defineProperty(t,"readMethodOptions",{enumerable:true,get:function(){return o.readMethodOptions}});Object.defineProperty(t,"readMethodOption",{enumerable:true,get:function(){return o.readMethodOption}});Object.defineProperty(t,"readServiceOption",{enumerable:true,get:function(){return o.readServiceOption}});var d=n(73361);Object.defineProperty(t,"RpcError",{enumerable:true,get:function(){return d.RpcError}});var p=n(6457);Object.defineProperty(t,"mergeRpcOptions",{enumerable:true,get:function(){return p.mergeRpcOptions}});var f=n(79607);Object.defineProperty(t,"RpcOutputStreamController",{enumerable:true,get:function(){return f.RpcOutputStreamController}});var y=n(22753);Object.defineProperty(t,"TestTransport",{enumerable:true,get:function(){return y.TestTransport}});var v=n(26110);Object.defineProperty(t,"Deferred",{enumerable:true,get:function(){return v.Deferred}});Object.defineProperty(t,"DeferredState",{enumerable:true,get:function(){return v.DeferredState}});var D=n(73515);Object.defineProperty(t,"DuplexStreamingCall",{enumerable:true,get:function(){return D.DuplexStreamingCall}});var M=n(96444);Object.defineProperty(t,"ClientStreamingCall",{enumerable:true,get:function(){return M.ClientStreamingCall}});var U=n(27688);Object.defineProperty(t,"ServerStreamingCall",{enumerable:true,get:function(){return U.ServerStreamingCall}});var j=n(81539);Object.defineProperty(t,"UnaryCall",{enumerable:true,get:function(){return j.UnaryCall}});var V=n(85992);Object.defineProperty(t,"stackIntercept",{enumerable:true,get:function(){return V.stackIntercept}});Object.defineProperty(t,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return V.stackDuplexStreamingInterceptors}});Object.defineProperty(t,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return V.stackClientStreamingInterceptors}});Object.defineProperty(t,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return V.stackServerStreamingInterceptors}});Object.defineProperty(t,"stackUnaryInterceptors",{enumerable:true,get:function(){return V.stackUnaryInterceptors}});var K=n(89029);Object.defineProperty(t,"ServerCallContextController",{enumerable:true,get:function(){return K.ServerCallContextController}})},51817:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readServiceOption=t.readMethodOption=t.readMethodOptions=t.normalizeMethodInfo=void 0;const i=n(66765);function normalizeMethodInfo(e,t){var n,o,d;let p=e;p.service=t;p.localName=(n=p.localName)!==null&&n!==void 0?n:i.lowerCamelCase(p.name);p.serverStreaming=!!p.serverStreaming;p.clientStreaming=!!p.clientStreaming;p.options=(o=p.options)!==null&&o!==void 0?o:{};p.idempotency=(d=p.idempotency)!==null&&d!==void 0?d:undefined;return p}t.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(e,t,n,i){var o;const d=(o=e.methods.find(((e,n)=>e.localName===t||n===t)))===null||o===void 0?void 0:o.options;return d&&d[n]?i.fromJson(d[n]):undefined}t.readMethodOptions=readMethodOptions;function readMethodOption(e,t,n,i){var o;const d=(o=e.methods.find(((e,n)=>e.localName===t||n===t)))===null||o===void 0?void 0:o.options;if(!d){return undefined}const p=d[n];if(p===undefined){return p}return i?i.fromJson(p):p}t.readMethodOption=readMethodOption;function readServiceOption(e,t,n){const i=e.options;if(!i){return undefined}const o=i[t];if(o===undefined){return o}return n?n.fromJson(o):o}t.readServiceOption=readServiceOption},73361:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RpcError=void 0;class RpcError extends Error{constructor(e,t="UNKNOWN",n){super(e);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=t;this.meta=n!==null&&n!==void 0?n:{}}toString(){const e=[this.name+": "+this.message];if(this.code){e.push("");e.push("Code: "+this.code)}if(this.serviceName&&this.methodName){e.push("Method: "+this.serviceName+"/"+this.methodName)}let t=Object.entries(this.meta);if(t.length){e.push("");e.push("Meta:");for(let[n,i]of t){e.push(` ${n}: ${i}`)}}return e.join("\n")}}t.RpcError=RpcError},85992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stackDuplexStreamingInterceptors=t.stackClientStreamingInterceptors=t.stackServerStreamingInterceptors=t.stackUnaryInterceptors=t.stackIntercept=void 0;const i=n(66765);function stackIntercept(e,t,n,o,d){var p,f,y,v;if(e=="unary"){let tail=(e,n,i)=>t.unary(e,n,i);for(const e of((p=o.interceptors)!==null&&p!==void 0?p:[]).filter((e=>e.interceptUnary)).reverse()){const t=tail;tail=(n,i,o)=>e.interceptUnary(t,n,i,o)}return tail(n,d,o)}if(e=="serverStreaming"){let tail=(e,n,i)=>t.serverStreaming(e,n,i);for(const e of((f=o.interceptors)!==null&&f!==void 0?f:[]).filter((e=>e.interceptServerStreaming)).reverse()){const t=tail;tail=(n,i,o)=>e.interceptServerStreaming(t,n,i,o)}return tail(n,d,o)}if(e=="clientStreaming"){let tail=(e,n)=>t.clientStreaming(e,n);for(const e of((y=o.interceptors)!==null&&y!==void 0?y:[]).filter((e=>e.interceptClientStreaming)).reverse()){const t=tail;tail=(n,i)=>e.interceptClientStreaming(t,n,i)}return tail(n,o)}if(e=="duplex"){let tail=(e,n)=>t.duplex(e,n);for(const e of((v=o.interceptors)!==null&&v!==void 0?v:[]).filter((e=>e.interceptDuplex)).reverse()){const t=tail;tail=(n,i)=>e.interceptDuplex(t,n,i)}return tail(n,o)}i.assertNever(e)}t.stackIntercept=stackIntercept;function stackUnaryInterceptors(e,t,n,i){return stackIntercept("unary",e,t,i,n)}t.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(e,t,n,i){return stackIntercept("serverStreaming",e,t,i,n)}t.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(e,t,n){return stackIntercept("clientStreaming",e,t,n)}t.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(e,t,n){return stackIntercept("duplex",e,t,n)}t.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},6457:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeRpcOptions=void 0;const i=n(66765);function mergeRpcOptions(e,t){if(!t)return e;let n={};copy(e,n);copy(t,n);for(let o of Object.keys(t)){let d=t[o];switch(o){case"jsonOptions":n.jsonOptions=i.mergeJsonOptions(e.jsonOptions,n.jsonOptions);break;case"binaryOptions":n.binaryOptions=i.mergeBinaryOptions(e.binaryOptions,n.binaryOptions);break;case"meta":n.meta={};copy(e.meta,n.meta);copy(t.meta,n.meta);break;case"interceptors":n.interceptors=e.interceptors?e.interceptors.concat(d):d.concat();break}}return n}t.mergeRpcOptions=mergeRpcOptions;function copy(e,t){if(!e)return;let n=t;for(let[t,i]of Object.entries(e)){if(i instanceof Date)n[t]=new Date(i.getTime());else if(Array.isArray(i))n[t]=i.concat();else n[t]=i}}},79607:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RpcOutputStreamController=void 0;const i=n(26110);const o=n(66765);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,t){t.push(e);return()=>{let n=t.indexOf(e);if(n>=0)t.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==false}notifyNext(e,t,n){o.assert((e?1:0)+(t?1:0)+(n?1:0)<=1,"only one emission at a time");if(e)this.notifyMessage(e);if(t)this.notifyError(t);if(n)this.notifyComplete()}notifyMessage(e){o.assert(!this.closed,"stream is closed");this.pushIt({value:e,done:false});this._lis.msg.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(e,undefined,false)))}notifyError(e){o.assert(!this.closed,"stream is closed");this._closed=e;this.pushIt(e);this._lis.err.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(undefined,e,false)));this.clearLis()}notifyComplete(){o.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((e=>e()));this._lis.nxt.forEach((e=>e(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let e=this._itState;o.assert(e,"bad state");o.assert(!e.p,"iterator contract broken");let t=e.q.shift();if(t)return"value"in t?Promise.resolve(t):Promise.reject(t);e.p=new i.Deferred;return e.p.promise}}}pushIt(e){let t=this._itState;if(t.p){const n=t.p;o.assert(n.state==i.DeferredState.PENDING,"iterator contract broken");"value"in e?n.resolve(e):n.reject(e);delete t.p}else{t.q.push(e)}}}t.RpcOutputStreamController=RpcOutputStreamController},89029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ServerCallContextController=void 0;class ServerCallContextController{constructor(e,t,n,i,o={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=e;this.headers=t;this.deadline=n;this.trailers={};this._sendRH=i;this.status=o}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let e of this._listeners){e()}}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){const t=this._listeners;t.push(e);return()=>{let n=t.indexOf(e);if(n>=0)t.splice(n,1)}}}t.ServerCallContextController=ServerCallContextController},27688:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(e,t,n,i,o,d,p){this.method=e;this.requestHeaders=t;this.request=n;this.headers=i;this.responses=o;this.status=d;this.trailers=p}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:t,trailers:n}}))}}t.ServerStreamingCall=ServerStreamingCall},42927:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ServiceType=void 0;const i=n(51817);class ServiceType{constructor(e,t,n){this.typeName=e;this.methods=t.map((e=>i.normalizeMethodInfo(e,this)));this.options=n!==null&&n!==void 0?n:{}}}t.ServiceType=ServiceType},22753:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.TestTransport=void 0;const o=n(73361);const d=n(66765);const p=n(79607);const f=n(6457);const y=n(81539);const v=n(27688);const D=n(96444);const M=n(73515);class TestTransport{constructor(e){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=e!==null&&e!==void 0?e:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var e;const t=(e=this.data.headers)!==null&&e!==void 0?e:TestTransport.defaultHeaders;return t instanceof o.RpcError?Promise.reject(t):Promise.resolve(t)}promiseSingleResponse(e){if(this.data.response instanceof o.RpcError){return Promise.reject(this.data.response)}let t;if(Array.isArray(this.data.response)){d.assert(this.data.response.length>0);t=this.data.response[0]}else if(this.data.response!==undefined){t=this.data.response}else{t=e.O.create()}d.assert(e.O.is(t));return Promise.resolve(t)}streamResponses(e,t,n){return i(this,void 0,void 0,(function*(){const i=[];if(this.data.response===undefined){i.push(e.O.create())}else if(Array.isArray(this.data.response)){for(let t of this.data.response){d.assert(e.O.is(t));i.push(t)}}else if(!(this.data.response instanceof o.RpcError)){d.assert(e.O.is(this.data.response));i.push(this.data.response)}try{yield delay(this.responseDelay,n)(undefined)}catch(e){t.notifyError(e);return}if(this.data.response instanceof o.RpcError){t.notifyError(this.data.response);return}for(let e of i){t.notifyMessage(e);try{yield delay(this.betweenResponseDelay,n)(undefined)}catch(e){t.notifyError(e);return}}if(this.data.status instanceof o.RpcError){t.notifyError(this.data.status);return}if(this.data.trailers instanceof o.RpcError){t.notifyError(this.data.trailers);return}t.notifyComplete()}))}promiseStatus(){var e;const t=(e=this.data.status)!==null&&e!==void 0?e:TestTransport.defaultStatus;return t instanceof o.RpcError?Promise.reject(t):Promise.resolve(t)}promiseTrailers(){var e;const t=(e=this.data.trailers)!==null&&e!==void 0?e:TestTransport.defaultTrailers;return t instanceof o.RpcError?Promise.reject(t):Promise.resolve(t)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections){for(let t of e){t.catch((()=>{}))}}}mergeOptions(e){return f.mergeRpcOptions({},e)}unary(e,t,n){var i;const o=(i=n.meta)!==null&&i!==void 0?i:{},d=this.promiseHeaders().then(delay(this.headerDelay,n.abort)),p=d.catch((e=>{})).then(delay(this.responseDelay,n.abort)).then((t=>this.promiseSingleResponse(e))),f=p.catch((e=>{})).then(delay(this.afterResponseDelay,n.abort)).then((e=>this.promiseStatus())),v=p.catch((e=>{})).then(delay(this.afterResponseDelay,n.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(f,v);this.lastInput={single:t};return new y.UnaryCall(e,o,t,d,p,f,v)}serverStreaming(e,t,n){var i;const o=(i=n.meta)!==null&&i!==void 0?i:{},d=this.promiseHeaders().then(delay(this.headerDelay,n.abort)),f=new p.RpcOutputStreamController,y=d.then(delay(this.responseDelay,n.abort)).catch((()=>{})).then((()=>this.streamResponses(e,f,n.abort))).then(delay(this.afterResponseDelay,n.abort)),D=y.then((()=>this.promiseStatus())),M=y.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(D,M);this.lastInput={single:t};return new v.ServerStreamingCall(e,o,t,d,f,D,M)}clientStreaming(e,t){var n;const i=(n=t.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),d=o.catch((e=>{})).then(delay(this.responseDelay,t.abort)).then((t=>this.promiseSingleResponse(e))),p=d.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseStatus())),f=d.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(p,f);this.lastInput=new TestInputStream(this.data,t.abort);return new D.ClientStreamingCall(e,i,this.lastInput,o,d,p,f)}duplex(e,t){var n;const i=(n=t.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),d=new p.RpcOutputStreamController,f=o.then(delay(this.responseDelay,t.abort)).catch((()=>{})).then((()=>this.streamResponses(e,d,t.abort))).then(delay(this.afterResponseDelay,t.abort)),y=f.then((()=>this.promiseStatus())),v=f.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(y,v);this.lastInput=new TestInputStream(this.data,t.abort);return new M.DuplexStreamingCall(e,i,this.lastInput,o,d,y,v)}}t.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(e,t){return n=>new Promise(((i,d)=>{if(t===null||t===void 0?void 0:t.aborted){d(new o.RpcError("user cancel","CANCELLED"))}else{const p=setTimeout((()=>i(n)),e);if(t){t.addEventListener("abort",(e=>{clearTimeout(p);d(new o.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(e,t){this._completed=false;this._sent=[];this.data=e;this.abort=t}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof o.RpcError){return Promise.reject(this.data.inputMessage)}const t=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(e)})).then(delay(t,this.abort))}complete(){if(this.data.inputComplete instanceof o.RpcError){return Promise.reject(this.data.inputComplete)}const e=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(e,this.abort))}}},81539:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.UnaryCall=void 0;class UnaryCall{constructor(e,t,n,i,o,d,p){this.method=e;this.requestHeaders=t;this.request=n;this.headers=i;this.response=o;this.status=d;this.trailers=p}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return n(this,void 0,void 0,(function*(){let[e,t,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:t,status:n,trailers:i}}))}}t.UnaryCall=UnaryCall},96387:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertFloat32=t.assertUInt32=t.assertInt32=t.assertNever=t.assert=void 0;function assert(e,t){if(!e){throw new Error(t)}}t.assert=assert;function assertNever(e,t){throw new Error(t!==null&&t!==void 0?t:"Unexpected object: "+e)}t.assertNever=assertNever;const n=34028234663852886e22,i=-34028234663852886e22,o=4294967295,d=2147483647,p=-2147483648;function assertInt32(e){if(typeof e!=="number")throw new Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>d||e<p)throw new Error("invalid int 32: "+e)}t.assertInt32=assertInt32;function assertUInt32(e){if(typeof e!=="number")throw new Error("invalid uint 32: "+typeof e);if(!Number.isInteger(e)||e>o||e<0)throw new Error("invalid uint 32: "+e)}t.assertUInt32=assertUInt32;function assertFloat32(e){if(typeof e!=="number")throw new Error("invalid float 32: "+typeof e);if(!Number.isFinite(e))return;if(e>n||e<i)throw new Error("invalid float 32: "+e)}t.assertFloat32=assertFloat32},25050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.base64encode=t.base64decode=void 0;let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let i=[];for(let e=0;e<n.length;e++)i[n[e].charCodeAt(0)]=e;i["-".charCodeAt(0)]=n.indexOf("+");i["_".charCodeAt(0)]=n.indexOf("/");function base64decode(e){let t=e.length*3/4;if(e[e.length-2]=="=")t-=2;else if(e[e.length-1]=="=")t-=1;let n=new Uint8Array(t),o=0,d=0,p,f=0;for(let t=0;t<e.length;t++){p=i[e.charCodeAt(t)];if(p===undefined){switch(e[t]){case"=":d=0;case"\n":case"\r":case"\t":case" ":continue;default:throw Error(`invalid base64 string.`)}}switch(d){case 0:f=p;d=1;break;case 1:n[o++]=f<<2|(p&48)>>4;f=p;d=2;break;case 2:n[o++]=(f&15)<<4|(p&60)>>2;f=p;d=3;break;case 3:n[o++]=(f&3)<<6|p;d=0;break}}if(d==1)throw Error(`invalid base64 string.`);return n.subarray(0,o)}t.base64decode=base64decode;function base64encode(e){let t="",i=0,o,d=0;for(let p=0;p<e.length;p++){o=e[p];switch(i){case 0:t+=n[o>>2];d=(o&3)<<4;i=1;break;case 1:t+=n[d|o>>4];d=(o&15)<<2;i=2;break;case 2:t+=n[d|o>>6];t+=n[o&63];i=0;break}}if(i){t+=n[d];t+="=";if(i==1)t+="="}return t}t.base64encode=base64encode},81573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WireType=t.mergeBinaryOptions=t.UnknownFieldHandler=void 0;var n;(function(e){e.symbol=Symbol.for("protobuf-ts/unknown");e.onRead=(t,n,i,o,d)=>{let p=is(n)?n[e.symbol]:n[e.symbol]=[];p.push({no:i,wireType:o,data:d})};e.onWrite=(t,n,i)=>{for(let{no:t,wireType:o,data:d}of e.list(n))i.tag(t,o).raw(d)};e.list=(t,n)=>{if(is(t)){let i=t[e.symbol];return n?i.filter((e=>e.no==n)):i}return[]};e.last=(t,n)=>e.list(t,n).slice(-1)[0];const is=t=>t&&Array.isArray(t[e.symbol])})(n=t.UnknownFieldHandler||(t.UnknownFieldHandler={}));function mergeBinaryOptions(e,t){return Object.assign(Object.assign({},e),t)}t.mergeBinaryOptions=mergeBinaryOptions;var i;(function(e){e[e["Varint"]=0]="Varint";e[e["Bit64"]=1]="Bit64";e[e["LengthDelimited"]=2]="LengthDelimited";e[e["StartGroup"]=3]="StartGroup";e[e["EndGroup"]=4]="EndGroup";e[e["Bit32"]=5]="Bit32"})(i=t.WireType||(t.WireType={}))},68386:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BinaryReader=t.binaryReadOptions=void 0;const i=n(81573);const o=n(98986);const d=n(86620);const p={readUnknownField:true,readerFactory:e=>new BinaryReader(e)};function binaryReadOptions(e){return e?Object.assign(Object.assign({},p),e):p}t.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(e,t){this.varint64=d.varint64read;this.uint32=d.varint32read;this.buf=e;this.len=e.length;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength);this.textDecoder=t!==null&&t!==void 0?t:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let e=this.uint32(),t=e>>>3,n=e&7;if(t<=0||n<0||n>5)throw new Error("illegal tag: field no "+t+" wire type "+n);return[t,n]}skip(e){let t=this.pos;switch(e){case i.WireType.Varint:while(this.buf[this.pos++]&128){}break;case i.WireType.Bit64:this.pos+=4;case i.WireType.Bit32:this.pos+=4;break;case i.WireType.LengthDelimited:let t=this.uint32();this.pos+=t;break;case i.WireType.StartGroup:let n;while((n=this.tag()[1])!==i.WireType.EndGroup){this.skip(n)}break;default:throw new Error("cant skip wire type "+e)}this.assertBounds();return this.buf.subarray(t,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new o.PbLong(...this.varint64())}uint64(){return new o.PbULong(...this.varint64())}sint64(){let[e,t]=this.varint64();let n=-(e&1);e=(e>>>1|(t&1)<<31)^n;t=t>>>1^n;return new o.PbLong(e,t)}bool(){let[e,t]=this.varint64();return e!==0||t!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new o.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new o.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let e=this.uint32();let t=this.pos;this.pos+=e;this.assertBounds();return this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}}t.BinaryReader=BinaryReader},15573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BinaryWriter=t.binaryWriteOptions=void 0;const i=n(98986);const o=n(86620);const d=n(96387);const p={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(e){return e?Object.assign(Object.assign({},p),e):p}t.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(e){this.stack=[];this.textEncoder=e!==null&&e!==void 0?e:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t<this.chunks.length;t++)e+=this.chunks[t].length;let t=new Uint8Array(e);let n=0;for(let e=0;e<this.chunks.length;e++){t.set(this.chunks[e],n);n+=this.chunks[e].length}this.chunks=[];return t}fork(){this.stack.push({chunks:this.chunks,buf:this.buf});this.chunks=[];this.buf=[];return this}join(){let e=this.finish();let t=this.stack.pop();if(!t)throw new Error("invalid state, fork stack empty");this.chunks=t.chunks;this.buf=t.buf;this.uint32(e.byteLength);return this.raw(e)}tag(e,t){return this.uint32((e<<3|t)>>>0)}raw(e){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(e);return this}uint32(e){d.assertUInt32(e);while(e>127){this.buf.push(e&127|128);e=e>>>7}this.buf.push(e);return this}int32(e){d.assertInt32(e);o.varint32write(e,this.buf);return this}bool(e){this.buf.push(e?1:0);return this}bytes(e){this.uint32(e.byteLength);return this.raw(e)}string(e){let t=this.textEncoder.encode(e);this.uint32(t.byteLength);return this.raw(t)}float(e){d.assertFloat32(e);let t=new Uint8Array(4);new DataView(t.buffer).setFloat32(0,e,true);return this.raw(t)}double(e){let t=new Uint8Array(8);new DataView(t.buffer).setFloat64(0,e,true);return this.raw(t)}fixed32(e){d.assertUInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setUint32(0,e,true);return this.raw(t)}sfixed32(e){d.assertInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setInt32(0,e,true);return this.raw(t)}sint32(e){d.assertInt32(e);e=(e<<1^e>>31)>>>0;o.varint32write(e,this.buf);return this}sfixed64(e){let t=new Uint8Array(8);let n=new DataView(t.buffer);let o=i.PbLong.from(e);n.setInt32(0,o.lo,true);n.setInt32(4,o.hi,true);return this.raw(t)}fixed64(e){let t=new Uint8Array(8);let n=new DataView(t.buffer);let o=i.PbULong.from(e);n.setInt32(0,o.lo,true);n.setInt32(4,o.hi,true);return this.raw(t)}int64(e){let t=i.PbLong.from(e);o.varint64write(t.lo,t.hi,this.buf);return this}sint64(e){let t=i.PbLong.from(e),n=t.hi>>31,d=t.lo<<1^n,p=(t.hi<<1|t.lo>>>31)^n;o.varint64write(d,p,this.buf);return this}uint64(e){let t=i.PbULong.from(e);o.varint64write(t.lo,t.hi,this.buf);return this}}t.BinaryWriter=BinaryWriter},91094:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.listEnumNumbers=t.listEnumNames=t.listEnumValues=t.isEnumObject=void 0;function isEnumObject(e){if(typeof e!="object"||e===null){return false}if(!e.hasOwnProperty(0)){return false}for(let t of Object.keys(e)){let n=parseInt(t);if(!Number.isNaN(n)){let t=e[n];if(t===undefined)return false;if(e[t]!==n)return false}else{let n=e[t];if(n===undefined)return false;if(typeof n!=="number")return false;if(e[n]===undefined)return false}}return true}t.isEnumObject=isEnumObject;function listEnumValues(e){if(!isEnumObject(e))throw new Error("not a typescript enum object");let t=[];for(let[n,i]of Object.entries(e))if(typeof i=="number")t.push({name:n,number:i});return t}t.listEnumValues=listEnumValues;function listEnumNames(e){return listEnumValues(e).map((e=>e.name))}t.listEnumNames=listEnumNames;function listEnumNumbers(e){return listEnumValues(e).map((e=>e.number)).filter(((e,t,n)=>n.indexOf(e)==t))}t.listEnumNumbers=listEnumNumbers},86620:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.varint32read=t.varint32write=t.int64toString=t.int64fromString=t.varint64write=t.varint64read=void 0;function varint64read(){let e=0;let t=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];e|=(i&127)<<n;if((i&128)==0){this.assertBounds();return[e,t]}}let n=this.buf[this.pos++];e|=(n&15)<<28;t=(n&112)>>4;if((n&128)==0){this.assertBounds();return[e,t]}for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];t|=(i&127)<<n;if((i&128)==0){this.assertBounds();return[e,t]}}throw new Error("invalid varint")}t.varint64read=varint64read;function varint64write(e,t,n){for(let i=0;i<28;i=i+7){const o=e>>>i;const d=!(o>>>7==0&&t==0);const p=(d?o|128:o)&255;n.push(p);if(!d){return}}const i=e>>>28&15|(t&7)<<4;const o=!(t>>3==0);n.push((o?i|128:i)&255);if(!o){return}for(let e=3;e<31;e=e+7){const i=t>>>e;const o=!(i>>>7==0);const d=(o?i|128:i)&255;n.push(d);if(!o){return}}n.push(t>>>31&1)}t.varint64write=varint64write;const n=(1<<16)*(1<<16);function int64fromString(e){let t=e[0]=="-";if(t)e=e.slice(1);const i=1e6;let o=0;let d=0;function add1e6digit(t,p){const f=Number(e.slice(t,p));d*=i;o=o*i+f;if(o>=n){d=d+(o/n|0);o=o%n}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[t,o,d]}t.int64fromString=int64fromString;function int64toString(e,t){if(t>>>0<=2097151){return""+(n*t+(e>>>0))}let i=e&16777215;let o=(e>>>24|t<<8)>>>0&16777215;let d=t>>16&65535;let p=i+o*6777216+d*6710656;let f=o+d*8147497;let y=d*2;let v=1e7;if(p>=v){f+=Math.floor(p/v);p%=v}if(f>=v){y+=Math.floor(f/v);f%=v}function decimalFrom1e7(e,t){let n=e?String(e):"";if(t){return"0000000".slice(n.length)+n}return n}return decimalFrom1e7(y,0)+decimalFrom1e7(f,y)+decimalFrom1e7(p,1)}t.int64toString=int64toString;function varint32write(e,t){if(e>=0){while(e>127){t.push(e&127|128);e=e>>>7}t.push(e)}else{for(let n=0;n<9;n++){t.push(e&127|128);e=e>>7}t.push(1)}}t.varint32write=varint32write;function varint32read(){let e=this.buf[this.pos++];let t=e&127;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<7;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<14;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<21;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&15)<<28;for(let t=5;(e&128)!==0&&t<10;t++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");this.assertBounds();return t>>>0}t.varint32read=varint32read},66765:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var i=n(11978);Object.defineProperty(t,"typeofJsonValue",{enumerable:true,get:function(){return i.typeofJsonValue}});Object.defineProperty(t,"isJsonObject",{enumerable:true,get:function(){return i.isJsonObject}});var o=n(25050);Object.defineProperty(t,"base64decode",{enumerable:true,get:function(){return o.base64decode}});Object.defineProperty(t,"base64encode",{enumerable:true,get:function(){return o.base64encode}});var d=n(80305);Object.defineProperty(t,"utf8read",{enumerable:true,get:function(){return d.utf8read}});var p=n(81573);Object.defineProperty(t,"WireType",{enumerable:true,get:function(){return p.WireType}});Object.defineProperty(t,"mergeBinaryOptions",{enumerable:true,get:function(){return p.mergeBinaryOptions}});Object.defineProperty(t,"UnknownFieldHandler",{enumerable:true,get:function(){return p.UnknownFieldHandler}});var f=n(68386);Object.defineProperty(t,"BinaryReader",{enumerable:true,get:function(){return f.BinaryReader}});Object.defineProperty(t,"binaryReadOptions",{enumerable:true,get:function(){return f.binaryReadOptions}});var y=n(15573);Object.defineProperty(t,"BinaryWriter",{enumerable:true,get:function(){return y.BinaryWriter}});Object.defineProperty(t,"binaryWriteOptions",{enumerable:true,get:function(){return y.binaryWriteOptions}});var v=n(98986);Object.defineProperty(t,"PbLong",{enumerable:true,get:function(){return v.PbLong}});Object.defineProperty(t,"PbULong",{enumerable:true,get:function(){return v.PbULong}});var D=n(57738);Object.defineProperty(t,"jsonReadOptions",{enumerable:true,get:function(){return D.jsonReadOptions}});Object.defineProperty(t,"jsonWriteOptions",{enumerable:true,get:function(){return D.jsonWriteOptions}});Object.defineProperty(t,"mergeJsonOptions",{enumerable:true,get:function(){return D.mergeJsonOptions}});var M=n(5090);Object.defineProperty(t,"MESSAGE_TYPE",{enumerable:true,get:function(){return M.MESSAGE_TYPE}});var U=n(63703);Object.defineProperty(t,"MessageType",{enumerable:true,get:function(){return U.MessageType}});var j=n(32593);Object.defineProperty(t,"ScalarType",{enumerable:true,get:function(){return j.ScalarType}});Object.defineProperty(t,"LongType",{enumerable:true,get:function(){return j.LongType}});Object.defineProperty(t,"RepeatType",{enumerable:true,get:function(){return j.RepeatType}});Object.defineProperty(t,"normalizeFieldInfo",{enumerable:true,get:function(){return j.normalizeFieldInfo}});Object.defineProperty(t,"readFieldOptions",{enumerable:true,get:function(){return j.readFieldOptions}});Object.defineProperty(t,"readFieldOption",{enumerable:true,get:function(){return j.readFieldOption}});Object.defineProperty(t,"readMessageOption",{enumerable:true,get:function(){return j.readMessageOption}});var V=n(57440);Object.defineProperty(t,"ReflectionTypeCheck",{enumerable:true,get:function(){return V.ReflectionTypeCheck}});var K=n(87429);Object.defineProperty(t,"reflectionCreate",{enumerable:true,get:function(){return K.reflectionCreate}});var ee=n(9653);Object.defineProperty(t,"reflectionScalarDefault",{enumerable:true,get:function(){return ee.reflectionScalarDefault}});var te=n(81713);Object.defineProperty(t,"reflectionMergePartial",{enumerable:true,get:function(){return te.reflectionMergePartial}});var re=n(29808);Object.defineProperty(t,"reflectionEquals",{enumerable:true,get:function(){return re.reflectionEquals}});var ne=n(18026);Object.defineProperty(t,"ReflectionBinaryReader",{enumerable:true,get:function(){return ne.ReflectionBinaryReader}});var se=n(71322);Object.defineProperty(t,"ReflectionBinaryWriter",{enumerable:true,get:function(){return se.ReflectionBinaryWriter}});var ie=n(41159);Object.defineProperty(t,"ReflectionJsonReader",{enumerable:true,get:function(){return ie.ReflectionJsonReader}});var oe=n(78807);Object.defineProperty(t,"ReflectionJsonWriter",{enumerable:true,get:function(){return oe.ReflectionJsonWriter}});var ae=n(90403);Object.defineProperty(t,"containsMessageType",{enumerable:true,get:function(){return ae.containsMessageType}});var Ae=n(44972);Object.defineProperty(t,"isOneofGroup",{enumerable:true,get:function(){return Ae.isOneofGroup}});Object.defineProperty(t,"setOneofValue",{enumerable:true,get:function(){return Ae.setOneofValue}});Object.defineProperty(t,"getOneofValue",{enumerable:true,get:function(){return Ae.getOneofValue}});Object.defineProperty(t,"clearOneofValue",{enumerable:true,get:function(){return Ae.clearOneofValue}});Object.defineProperty(t,"getSelectedOneofValue",{enumerable:true,get:function(){return Ae.getSelectedOneofValue}});var ce=n(91094);Object.defineProperty(t,"listEnumValues",{enumerable:true,get:function(){return ce.listEnumValues}});Object.defineProperty(t,"listEnumNames",{enumerable:true,get:function(){return ce.listEnumNames}});Object.defineProperty(t,"listEnumNumbers",{enumerable:true,get:function(){return ce.listEnumNumbers}});Object.defineProperty(t,"isEnumObject",{enumerable:true,get:function(){return ce.isEnumObject}});var le=n(13536);Object.defineProperty(t,"lowerCamelCase",{enumerable:true,get:function(){return le.lowerCamelCase}});var ue=n(96387);Object.defineProperty(t,"assert",{enumerable:true,get:function(){return ue.assert}});Object.defineProperty(t,"assertNever",{enumerable:true,get:function(){return ue.assertNever}});Object.defineProperty(t,"assertInt32",{enumerable:true,get:function(){return ue.assertInt32}});Object.defineProperty(t,"assertUInt32",{enumerable:true,get:function(){return ue.assertUInt32}});Object.defineProperty(t,"assertFloat32",{enumerable:true,get:function(){return ue.assertFloat32}})},57738:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.mergeJsonOptions=t.jsonWriteOptions=t.jsonReadOptions=void 0;const n={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},i={ignoreUnknownFields:false};function jsonReadOptions(e){return e?Object.assign(Object.assign({},i),e):i}t.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(e){return e?Object.assign(Object.assign({},n),e):n}t.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(e,t){var n,i;let o=Object.assign(Object.assign({},e),t);o.typeRegistry=[...(n=e===null||e===void 0?void 0:e.typeRegistry)!==null&&n!==void 0?n:[],...(i=t===null||t===void 0?void 0:t.typeRegistry)!==null&&i!==void 0?i:[]];return o}t.mergeJsonOptions=mergeJsonOptions},11978:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isJsonObject=t.typeofJsonValue=void 0;function typeofJsonValue(e){let t=typeof e;if(t=="object"){if(Array.isArray(e))return"array";if(e===null)return"null"}return t}t.typeofJsonValue=typeofJsonValue;function isJsonObject(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}t.isJsonObject=isJsonObject},13536:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.lowerCamelCase=void 0;function lowerCamelCase(e){let t=false;const n=[];for(let i=0;i<e.length;i++){let o=e.charAt(i);if(o=="_"){t=true}else if(/\d/.test(o)){n.push(o);t=true}else if(t){n.push(o.toUpperCase());t=false}else if(i==0){n.push(o.toLowerCase())}else{n.push(o)}}return n.join("")}t.lowerCamelCase=lowerCamelCase},5090:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MESSAGE_TYPE=void 0;t.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},63703:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MessageType=void 0;const i=n(5090);const o=n(32593);const d=n(57440);const p=n(41159);const f=n(78807);const y=n(18026);const v=n(71322);const D=n(87429);const M=n(81713);const U=n(11978);const j=n(57738);const V=n(29808);const K=n(15573);const ee=n(68386);const te=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const re=te[i.MESSAGE_TYPE]={};class MessageType{constructor(e,t,n){this.defaultCheckDepth=16;this.typeName=e;this.fields=t.map(o.normalizeFieldInfo);this.options=n!==null&&n!==void 0?n:{};re.value=this;this.messagePrototype=Object.create(null,te);this.refTypeCheck=new d.ReflectionTypeCheck(this);this.refJsonReader=new p.ReflectionJsonReader(this);this.refJsonWriter=new f.ReflectionJsonWriter(this);this.refBinReader=new y.ReflectionBinaryReader(this);this.refBinWriter=new v.ReflectionBinaryWriter(this)}create(e){let t=D.reflectionCreate(this);if(e!==undefined){M.reflectionMergePartial(this,t,e)}return t}clone(e){let t=this.create();M.reflectionMergePartial(this,t,e);return t}equals(e,t){return V.reflectionEquals(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,false)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,true)}mergePartial(e,t){M.reflectionMergePartial(this,e,t)}fromBinary(e,t){let n=ee.binaryReadOptions(t);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,t){return this.internalJsonRead(e,j.jsonReadOptions(t))}fromJsonString(e,t){let n=JSON.parse(e);return this.fromJson(n,t)}toJson(e,t){return this.internalJsonWrite(e,j.jsonWriteOptions(t))}toJsonString(e,t){var n;let i=this.toJson(e,t);return JSON.stringify(i,null,(n=t===null||t===void 0?void 0:t.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,t){let n=K.binaryWriteOptions(t);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,t,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n!==null&&n!==void 0?n:this.create();this.refJsonReader.read(e,i,t);return i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${U.typeofJsonValue(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,n){this.refBinWriter.write(e,t,n);return t}internalBinaryRead(e,t,n,i){let o=i!==null&&i!==void 0?i:this.create();this.refBinReader.read(e,o,n,t);return o}}t.MessageType=MessageType},44972:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getSelectedOneofValue=t.clearOneofValue=t.setUnknownOneofValue=t.setOneofValue=t.getOneofValue=t.isOneofGroup=void 0;function isOneofGroup(e){if(typeof e!="object"||e===null||!e.hasOwnProperty("oneofKind")){return false}switch(typeof e.oneofKind){case"string":if(e[e.oneofKind]===undefined)return false;return Object.keys(e).length==2;case"undefined":return Object.keys(e).length==1;default:return false}}t.isOneofGroup=isOneofGroup;function getOneofValue(e,t){return e[t]}t.getOneofValue=getOneofValue;function setOneofValue(e,t,n){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(n!==undefined){e[t]=n}}t.setOneofValue=setOneofValue;function setUnknownOneofValue(e,t,n){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(n!==undefined&&t!==undefined){e[t]=n}}t.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(e){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=undefined}t.clearOneofValue=clearOneofValue;function getSelectedOneofValue(e){if(e.oneofKind===undefined){return undefined}return e[e.oneofKind]}t.getSelectedOneofValue=getSelectedOneofValue},98986:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PbLong=t.PbULong=t.detectBi=void 0;const i=n(86620);let o;function detectBi(){const e=new DataView(new ArrayBuffer(8));const t=globalThis.BigInt!==undefined&&typeof e.getBigInt64==="function"&&typeof e.getBigUint64==="function"&&typeof e.setBigInt64==="function"&&typeof e.setBigUint64==="function";o=t?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:e}:undefined}t.detectBi=detectBi;detectBi();function assertBi(e){if(!e)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const d=/^-?[0-9]+$/;const p=4294967296;const f=2147483648;class SharedPbLong{constructor(e,t){this.lo=e|0;this.hi=t|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*p+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}}class PbULong extends SharedPbLong{static from(e){if(o)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=o.C(e);case"number":if(e===0)return this.ZERO;e=o.C(e);case"bigint":if(!e)return this.ZERO;if(e<o.UMIN)throw new Error("signed value for ulong");if(e>o.UMAX)throw new Error("ulong too large");o.V.setBigUint64(0,e,true);return new PbULong(o.V.getInt32(0,true),o.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!d.test(e))throw new Error("string is no integer");let[t,n,o]=i.int64fromString(e);if(t)throw new Error("signed value for ulong");return new PbULong(n,o);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new PbULong(e,e/p)}throw new Error("unknown value "+typeof e)}toString(){return o?this.toBigInt().toString():i.int64toString(this.lo,this.hi)}toBigInt(){assertBi(o);o.V.setInt32(0,this.lo,true);o.V.setInt32(4,this.hi,true);return o.V.getBigUint64(0,true)}}t.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(e){if(o)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=o.C(e);case"number":if(e===0)return this.ZERO;e=o.C(e);case"bigint":if(!e)return this.ZERO;if(e<o.MIN)throw new Error("signed long too small");if(e>o.MAX)throw new Error("signed long too large");o.V.setBigInt64(0,e,true);return new PbLong(o.V.getInt32(0,true),o.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!d.test(e))throw new Error("string is no integer");let[t,n,o]=i.int64fromString(e);if(t){if(o>f||o==f&&n!=0)throw new Error("signed long too small")}else if(o>=f)throw new Error("signed long too large");let y=new PbLong(n,o);return t?y.negate():y;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new PbLong(e,e/p):new PbLong(-e,-e/p).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&f)!==0}negate(){let e=~this.hi,t=this.lo;if(t)t=~t+1;else e+=1;return new PbLong(t,e)}toString(){if(o)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+i.int64toString(e.lo,e.hi)}return i.int64toString(this.lo,this.hi)}toBigInt(){assertBi(o);o.V.setInt32(0,this.lo,true);o.V.setInt32(4,this.hi,true);return o.V.getBigInt64(0,true)}}t.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},80305:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.utf8read=void 0;const fromCharCodes=e=>String.fromCharCode.apply(String,e);function utf8read(e){if(e.length<1)return"";let t=0,n=[],i=[],o=0,d;let p=e.length;while(t<p){d=e[t++];if(d<128)i[o++]=d;else if(d>191&&d<224)i[o++]=(d&31)<<6|e[t++]&63;else if(d>239&&d<365){d=((d&7)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63)-65536;i[o++]=55296+(d>>10);i[o++]=56320+(d&1023)}else i[o++]=(d&15)<<12|(e[t++]&63)<<6|e[t++]&63;if(o>8191){n.push(fromCharCodes(i));o=0}}if(n.length){if(o)n.push(fromCharCodes(i.slice(0,o)));return n.join("")}return fromCharCodes(i.slice(0,o))}t.utf8read=utf8read},18026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryReader=void 0;const i=n(81573);const o=n(32593);const d=n(28029);const p=n(9653);class ReflectionBinaryReader{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){const t=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(t.map((e=>[e.no,e])))}}read(e,t,n,d){this.prepare();const p=d===undefined?e.len:e.pos+d;while(e.pos<p){const[d,p]=e.tag(),f=this.fieldNoToField.get(d);if(!f){let o=n.readUnknownField;if(o=="throw")throw new Error(`Unknown field ${d} (wire type ${p}) for ${this.info.typeName}`);let f=e.skip(p);if(o!==false)(o===true?i.UnknownFieldHandler.onRead:o)(this.info.typeName,t,d,p,f);continue}let y=t,v=f.repeat,D=f.localName;if(f.oneof){y=y[f.oneof];if(y.oneofKind!==D)y=t[f.oneof]={oneofKind:D}}switch(f.kind){case"scalar":case"enum":let t=f.kind=="enum"?o.ScalarType.INT32:f.T;let d=f.kind=="scalar"?f.L:undefined;if(v){let n=y[D];if(p==i.WireType.LengthDelimited&&t!=o.ScalarType.STRING&&t!=o.ScalarType.BYTES){let i=e.uint32()+e.pos;while(e.pos<i)n.push(this.scalar(e,t,d))}else n.push(this.scalar(e,t,d))}else y[D]=this.scalar(e,t,d);break;case"message":if(v){let t=y[D];let i=f.T().internalBinaryRead(e,e.uint32(),n);t.push(i)}else y[D]=f.T().internalBinaryRead(e,e.uint32(),n,y[D]);break;case"map":let[M,U]=this.mapEntry(f,e,n);y[D][M]=U;break}}}mapEntry(e,t,n){let i=t.uint32();let d=t.pos+i;let f=undefined;let y=undefined;while(t.pos<d){let[i,d]=t.tag();switch(i){case 1:if(e.K==o.ScalarType.BOOL)f=t.bool().toString();else f=this.scalar(t,e.K,o.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":y=this.scalar(t,e.V.T,e.V.L);break;case"enum":y=t.int32();break;case"message":y=e.V.T().internalBinaryRead(t,t.uint32(),n);break}break;default:throw new Error(`Unknown field ${i} (wire type ${d}) in map entry for ${this.info.typeName}#${e.name}`)}}if(f===undefined){let t=p.reflectionScalarDefault(e.K);f=e.K==o.ScalarType.BOOL?t.toString():t}if(y===undefined)switch(e.V.kind){case"scalar":y=p.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":y=0;break;case"message":y=e.V.T().create();break}return[f,y]}scalar(e,t,n){switch(t){case o.ScalarType.INT32:return e.int32();case o.ScalarType.STRING:return e.string();case o.ScalarType.BOOL:return e.bool();case o.ScalarType.DOUBLE:return e.double();case o.ScalarType.FLOAT:return e.float();case o.ScalarType.INT64:return d.reflectionLongConvert(e.int64(),n);case o.ScalarType.UINT64:return d.reflectionLongConvert(e.uint64(),n);case o.ScalarType.FIXED64:return d.reflectionLongConvert(e.fixed64(),n);case o.ScalarType.FIXED32:return e.fixed32();case o.ScalarType.BYTES:return e.bytes();case o.ScalarType.UINT32:return e.uint32();case o.ScalarType.SFIXED32:return e.sfixed32();case o.ScalarType.SFIXED64:return d.reflectionLongConvert(e.sfixed64(),n);case o.ScalarType.SINT32:return e.sint32();case o.ScalarType.SINT64:return d.reflectionLongConvert(e.sint64(),n)}}}t.ReflectionBinaryReader=ReflectionBinaryReader},71322:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryWriter=void 0;const i=n(81573);const o=n(32593);const d=n(96387);const p=n(98986);class ReflectionBinaryWriter{constructor(e){this.info=e}prepare(){if(!this.fields){const e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort(((e,t)=>e.no-t.no))}}write(e,t,n){this.prepare();for(const i of this.fields){let p,f,y=i.repeat,v=i.localName;if(i.oneof){const t=e[i.oneof];if(t.oneofKind!==v)continue;p=t[v];f=true}else{p=e[v];f=false}switch(i.kind){case"scalar":case"enum":let e=i.kind=="enum"?o.ScalarType.INT32:i.T;if(y){d.assert(Array.isArray(p));if(y==o.RepeatType.PACKED)this.packed(t,e,i.no,p);else for(const n of p)this.scalar(t,e,i.no,n,true)}else if(p===undefined)d.assert(i.opt);else this.scalar(t,e,i.no,p,f||i.opt);break;case"message":if(y){d.assert(Array.isArray(p));for(const e of p)this.message(t,n,i.T(),i.no,e)}else{this.message(t,n,i.T(),i.no,p)}break;case"map":d.assert(typeof p=="object"&&p!==null);for(const[e,o]of Object.entries(p))this.mapEntry(t,n,i,e,o);break}}let p=n.writeUnknownFields;if(p!==false)(p===true?i.UnknownFieldHandler.onWrite:p)(this.info.typeName,e,t)}mapEntry(e,t,n,p,f){e.tag(n.no,i.WireType.LengthDelimited);e.fork();let y=p;switch(n.K){case o.ScalarType.INT32:case o.ScalarType.FIXED32:case o.ScalarType.UINT32:case o.ScalarType.SFIXED32:case o.ScalarType.SINT32:y=Number.parseInt(p);break;case o.ScalarType.BOOL:d.assert(p=="true"||p=="false");y=p=="true";break}this.scalar(e,n.K,1,y,true);switch(n.V.kind){case"scalar":this.scalar(e,n.V.T,2,f,true);break;case"enum":this.scalar(e,o.ScalarType.INT32,2,f,true);break;case"message":this.message(e,t,n.V.T(),2,f);break}e.join()}message(e,t,n,o,d){if(d===undefined)return;n.internalBinaryWrite(d,e.tag(o,i.WireType.LengthDelimited).fork(),t);e.join()}scalar(e,t,n,i,o){let[d,p,f]=this.scalarInfo(t,i);if(!f||o){e.tag(n,d);e[p](i)}}packed(e,t,n,p){if(!p.length)return;d.assert(t!==o.ScalarType.BYTES&&t!==o.ScalarType.STRING);e.tag(n,i.WireType.LengthDelimited);e.fork();let[,f]=this.scalarInfo(t);for(let t=0;t<p.length;t++)e[f](p[t]);e.join()}scalarInfo(e,t){let n=i.WireType.Varint;let d;let f=t===undefined;let y=t===0;switch(e){case o.ScalarType.INT32:d="int32";break;case o.ScalarType.STRING:y=f||!t.length;n=i.WireType.LengthDelimited;d="string";break;case o.ScalarType.BOOL:y=t===false;d="bool";break;case o.ScalarType.UINT32:d="uint32";break;case o.ScalarType.DOUBLE:n=i.WireType.Bit64;d="double";break;case o.ScalarType.FLOAT:n=i.WireType.Bit32;d="float";break;case o.ScalarType.INT64:y=f||p.PbLong.from(t).isZero();d="int64";break;case o.ScalarType.UINT64:y=f||p.PbULong.from(t).isZero();d="uint64";break;case o.ScalarType.FIXED64:y=f||p.PbULong.from(t).isZero();n=i.WireType.Bit64;d="fixed64";break;case o.ScalarType.BYTES:y=f||!t.byteLength;n=i.WireType.LengthDelimited;d="bytes";break;case o.ScalarType.FIXED32:n=i.WireType.Bit32;d="fixed32";break;case o.ScalarType.SFIXED32:n=i.WireType.Bit32;d="sfixed32";break;case o.ScalarType.SFIXED64:y=f||p.PbLong.from(t).isZero();n=i.WireType.Bit64;d="sfixed64";break;case o.ScalarType.SINT32:d="sint32";break;case o.ScalarType.SINT64:y=f||p.PbLong.from(t).isZero();d="sint64";break}return[n,d,f||y]}}t.ReflectionBinaryWriter=ReflectionBinaryWriter},90403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.containsMessageType=void 0;const i=n(5090);function containsMessageType(e){return e[i.MESSAGE_TYPE]!=null}t.containsMessageType=containsMessageType},87429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.reflectionCreate=void 0;const i=n(9653);const o=n(5090);function reflectionCreate(e){const t=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},o.MESSAGE_TYPE,{value:e});for(let n of e.fields){let e=n.localName;if(n.opt)continue;if(n.oneof)t[n.oneof]={oneofKind:undefined};else if(n.repeat)t[e]=[];else switch(n.kind){case"scalar":t[e]=i.reflectionScalarDefault(n.T,n.L);break;case"enum":t[e]=0;break;case"map":t[e]={};break}}return t}t.reflectionCreate=reflectionCreate},29808:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.reflectionEquals=void 0;const i=n(32593);function reflectionEquals(e,t,n){if(t===n)return true;if(!t||!n)return false;for(let d of e.fields){let e=d.localName;let p=d.oneof?t[d.oneof][e]:t[e];let f=d.oneof?n[d.oneof][e]:n[e];switch(d.kind){case"enum":case"scalar":let e=d.kind=="enum"?i.ScalarType.INT32:d.T;if(!(d.repeat?repeatedPrimitiveEq(e,p,f):primitiveEq(e,p,f)))return false;break;case"map":if(!(d.V.kind=="message"?repeatedMsgEq(d.V.T(),o(p),o(f)):repeatedPrimitiveEq(d.V.kind=="enum"?i.ScalarType.INT32:d.V.T,o(p),o(f))))return false;break;case"message":let t=d.T();if(!(d.repeat?repeatedMsgEq(t,p,f):t.equals(p,f)))return false;break}}return true}t.reflectionEquals=reflectionEquals;const o=Object.values;function primitiveEq(e,t,n){if(t===n)return true;if(e!==i.ScalarType.BYTES)return false;let o=t;let d=n;if(o.length!==d.length)return false;for(let e=0;e<o.length;e++)if(o[e]!=d[e])return false;return true}function repeatedPrimitiveEq(e,t,n){if(t.length!==n.length)return false;for(let i=0;i<t.length;i++)if(!primitiveEq(e,t[i],n[i]))return false;return true}function repeatedMsgEq(e,t,n){if(t.length!==n.length)return false;for(let i=0;i<t.length;i++)if(!e.equals(t[i],n[i]))return false;return true}},32593:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readMessageOption=t.readFieldOption=t.readFieldOptions=t.normalizeFieldInfo=t.RepeatType=t.LongType=t.ScalarType=void 0;const i=n(13536);var o;(function(e){e[e["DOUBLE"]=1]="DOUBLE";e[e["FLOAT"]=2]="FLOAT";e[e["INT64"]=3]="INT64";e[e["UINT64"]=4]="UINT64";e[e["INT32"]=5]="INT32";e[e["FIXED64"]=6]="FIXED64";e[e["FIXED32"]=7]="FIXED32";e[e["BOOL"]=8]="BOOL";e[e["STRING"]=9]="STRING";e[e["BYTES"]=12]="BYTES";e[e["UINT32"]=13]="UINT32";e[e["SFIXED32"]=15]="SFIXED32";e[e["SFIXED64"]=16]="SFIXED64";e[e["SINT32"]=17]="SINT32";e[e["SINT64"]=18]="SINT64"})(o=t.ScalarType||(t.ScalarType={}));var d;(function(e){e[e["BIGINT"]=0]="BIGINT";e[e["STRING"]=1]="STRING";e[e["NUMBER"]=2]="NUMBER"})(d=t.LongType||(t.LongType={}));var p;(function(e){e[e["NO"]=0]="NO";e[e["PACKED"]=1]="PACKED";e[e["UNPACKED"]=2]="UNPACKED"})(p=t.RepeatType||(t.RepeatType={}));function normalizeFieldInfo(e){var t,n,o,d;e.localName=(t=e.localName)!==null&&t!==void 0?t:i.lowerCamelCase(e.name);e.jsonName=(n=e.jsonName)!==null&&n!==void 0?n:i.lowerCamelCase(e.name);e.repeat=(o=e.repeat)!==null&&o!==void 0?o:p.NO;e.opt=(d=e.opt)!==null&&d!==void 0?d:e.repeat?false:e.oneof?false:e.kind=="message";return e}t.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(e,t,n,i){var o;const d=(o=e.fields.find(((e,n)=>e.localName==t||n==t)))===null||o===void 0?void 0:o.options;return d&&d[n]?i.fromJson(d[n]):undefined}t.readFieldOptions=readFieldOptions;function readFieldOption(e,t,n,i){var o;const d=(o=e.fields.find(((e,n)=>e.localName==t||n==t)))===null||o===void 0?void 0:o.options;if(!d){return undefined}const p=d[n];if(p===undefined){return p}return i?i.fromJson(p):p}t.readFieldOption=readFieldOption;function readMessageOption(e,t,n){const i=e.options;const o=i[t];if(o===undefined){return o}return n?n.fromJson(o):o}t.readMessageOption=readMessageOption},41159:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonReader=void 0;const i=n(11978);const o=n(25050);const d=n(32593);const p=n(98986);const f=n(96387);const y=n(28029);class ReflectionJsonReader{constructor(e){this.info=e}prepare(){var e;if(this.fMap===undefined){this.fMap={};const t=(e=this.info.fields)!==null&&e!==void 0?e:[];for(const e of t){this.fMap[e.name]=e;this.fMap[e.jsonName]=e;this.fMap[e.localName]=e}}}assert(e,t,n){if(!e){let e=i.typeofJsonValue(n);if(e=="number"||e=="boolean")e=n.toString();throw new Error(`Cannot parse JSON ${e} for ${this.info.typeName}#${t}`)}}read(e,t,n){this.prepare();const o=[];for(const[p,f]of Object.entries(e)){const e=this.fMap[p];if(!e){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${p}`);continue}const y=e.localName;let v;if(e.oneof){if(f===null&&(e.kind!=="enum"||e.T()[0]!=="google.protobuf.NullValue")){continue}if(o.includes(e.oneof))throw new Error(`Multiple members of the oneof group "${e.oneof}" of ${this.info.typeName} are present in JSON.`);o.push(e.oneof);v=t[e.oneof]={oneofKind:y}}else{v=t}if(e.kind=="map"){if(f===null){continue}this.assert(i.isJsonObject(f),e.name,f);const t=v[y];for(const[i,o]of Object.entries(f)){this.assert(o!==null,e.name+" map value",null);let p;switch(e.V.kind){case"message":p=e.V.T().internalJsonRead(o,n);break;case"enum":p=this.enum(e.V.T(),o,e.name,n.ignoreUnknownFields);if(p===false)continue;break;case"scalar":p=this.scalar(o,e.V.T,e.V.L,e.name);break}this.assert(p!==undefined,e.name+" map value",o);let f=i;if(e.K==d.ScalarType.BOOL)f=f=="true"?true:f=="false"?false:f;f=this.scalar(f,e.K,d.LongType.STRING,e.name).toString();t[f]=p}}else if(e.repeat){if(f===null)continue;this.assert(Array.isArray(f),e.name,f);const t=v[y];for(const i of f){this.assert(i!==null,e.name,null);let o;switch(e.kind){case"message":o=e.T().internalJsonRead(i,n);break;case"enum":o=this.enum(e.T(),i,e.name,n.ignoreUnknownFields);if(o===false)continue;break;case"scalar":o=this.scalar(i,e.T,e.L,e.name);break}this.assert(o!==undefined,e.name,f);t.push(o)}}else{switch(e.kind){case"message":if(f===null&&e.T().typeName!="google.protobuf.Value"){this.assert(e.oneof===undefined,e.name+" (oneof member)",null);continue}v[y]=e.T().internalJsonRead(f,n,v[y]);break;case"enum":if(f===null)continue;let t=this.enum(e.T(),f,e.name,n.ignoreUnknownFields);if(t===false)continue;v[y]=t;break;case"scalar":if(f===null)continue;v[y]=this.scalar(f,e.T,e.L,e.name);break}}}}enum(e,t,n,i){if(e[0]=="google.protobuf.NullValue")f.assert(t===null||t==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`);if(t===null)return 0;switch(typeof t){case"number":f.assert(Number.isInteger(t),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${t}.`);return t;case"string":let o=t;if(e[2]&&t.substring(0,e[2].length)===e[2])o=t.substring(e[2].length);let d=e[1][o];if(typeof d==="undefined"&&i){return false}f.assert(typeof d=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${t}".`);return d}f.assert(false,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof t}".`)}scalar(e,t,n,i){let v;try{switch(t){case d.ScalarType.DOUBLE:case d.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){v="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){v="extra whitespace";break}if(typeof e!="string"&&typeof e!="number"){break}let i=Number(e);if(Number.isNaN(i)){v="not a number";break}if(!Number.isFinite(i)){v="too large or small";break}if(t==d.ScalarType.FLOAT)f.assertFloat32(i);return i;case d.ScalarType.INT32:case d.ScalarType.FIXED32:case d.ScalarType.SFIXED32:case d.ScalarType.SINT32:case d.ScalarType.UINT32:if(e===null)return 0;let D;if(typeof e=="number")D=e;else if(e==="")v="empty string";else if(typeof e=="string"){if(e.trim().length!==e.length)v="extra whitespace";else D=Number(e)}if(D===undefined)break;if(t==d.ScalarType.UINT32)f.assertUInt32(D);else f.assertInt32(D);return D;case d.ScalarType.INT64:case d.ScalarType.SFIXED64:case d.ScalarType.SINT64:if(e===null)return y.reflectionLongConvert(p.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return y.reflectionLongConvert(p.PbLong.from(e),n);case d.ScalarType.FIXED64:case d.ScalarType.UINT64:if(e===null)return y.reflectionLongConvert(p.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return y.reflectionLongConvert(p.PbULong.from(e),n);case d.ScalarType.BOOL:if(e===null)return false;if(typeof e!=="boolean")break;return e;case d.ScalarType.STRING:if(e===null)return"";if(typeof e!=="string"){v="extra whitespace";break}try{encodeURIComponent(e)}catch(v){v="invalid UTF8";break}return e;case d.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!=="string")break;return o.base64decode(e)}}catch(e){v=e.message}this.assert(false,i+(v?" - "+v:""),e)}}t.ReflectionJsonReader=ReflectionJsonReader},78807:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonWriter=void 0;const i=n(25050);const o=n(98986);const d=n(32593);const p=n(96387);class ReflectionJsonWriter{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}write(e,t){const n={},i=e;for(const e of this.fields){if(!e.oneof){let o=this.field(e,i[e.localName],t);if(o!==undefined)n[t.useProtoFieldName?e.name:e.jsonName]=o;continue}const o=i[e.oneof];if(o.oneofKind!==e.localName)continue;const d=e.kind=="scalar"||e.kind=="enum"?Object.assign(Object.assign({},t),{emitDefaultValues:true}):t;let f=this.field(e,o[e.localName],d);p.assert(f!==undefined);n[t.useProtoFieldName?e.name:e.jsonName]=f}return n}field(e,t,n){let i=undefined;if(e.kind=="map"){p.assert(typeof t=="object"&&t!==null);const o={};switch(e.V.kind){case"scalar":for(const[n,i]of Object.entries(t)){const t=this.scalar(e.V.T,i,e.name,false,true);p.assert(t!==undefined);o[n.toString()]=t}break;case"message":const i=e.V.T();for(const[d,f]of Object.entries(t)){const t=this.message(i,f,e.name,n);p.assert(t!==undefined);o[d.toString()]=t}break;case"enum":const d=e.V.T();for(const[i,f]of Object.entries(t)){p.assert(f===undefined||typeof f=="number");const t=this.enum(d,f,e.name,false,true,n.enumAsInteger);p.assert(t!==undefined);o[i.toString()]=t}break}if(n.emitDefaultValues||Object.keys(o).length>0)i=o}else if(e.repeat){p.assert(Array.isArray(t));const o=[];switch(e.kind){case"scalar":for(let n=0;n<t.length;n++){const i=this.scalar(e.T,t[n],e.name,e.opt,true);p.assert(i!==undefined);o.push(i)}break;case"enum":const i=e.T();for(let d=0;d<t.length;d++){p.assert(t[d]===undefined||typeof t[d]=="number");const f=this.enum(i,t[d],e.name,e.opt,true,n.enumAsInteger);p.assert(f!==undefined);o.push(f)}break;case"message":const d=e.T();for(let i=0;i<t.length;i++){const f=this.message(d,t[i],e.name,n);p.assert(f!==undefined);o.push(f)}break}if(n.emitDefaultValues||o.length>0||n.emitDefaultValues)i=o}else{switch(e.kind){case"scalar":i=this.scalar(e.T,t,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),t,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),t,e.name,n);break}}return i}enum(e,t,n,i,o,d){if(e[0]=="google.protobuf.NullValue")return!o&&!i?undefined:null;if(t===undefined){p.assert(i);return undefined}if(t===0&&!o&&!i)return undefined;p.assert(typeof t=="number");p.assert(Number.isInteger(t));if(d||!e[1].hasOwnProperty(t))return t;if(e[2])return e[2]+e[1][t];return e[1][t]}message(e,t,n,i){if(t===undefined)return i.emitDefaultValues?null:undefined;return e.internalJsonWrite(t,i)}scalar(e,t,n,f,y){if(t===undefined){p.assert(f);return undefined}const v=y||f;switch(e){case d.ScalarType.INT32:case d.ScalarType.SFIXED32:case d.ScalarType.SINT32:if(t===0)return v?0:undefined;p.assertInt32(t);return t;case d.ScalarType.FIXED32:case d.ScalarType.UINT32:if(t===0)return v?0:undefined;p.assertUInt32(t);return t;case d.ScalarType.FLOAT:p.assertFloat32(t);case d.ScalarType.DOUBLE:if(t===0)return v?0:undefined;p.assert(typeof t=="number");if(Number.isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case d.ScalarType.STRING:if(t==="")return v?"":undefined;p.assert(typeof t=="string");return t;case d.ScalarType.BOOL:if(t===false)return v?false:undefined;p.assert(typeof t=="boolean");return t;case d.ScalarType.UINT64:case d.ScalarType.FIXED64:p.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let e=o.PbULong.from(t);if(e.isZero()&&!v)return undefined;return e.toString();case d.ScalarType.INT64:case d.ScalarType.SFIXED64:case d.ScalarType.SINT64:p.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let n=o.PbLong.from(t);if(n.isZero()&&!v)return undefined;return n.toString();case d.ScalarType.BYTES:p.assert(t instanceof Uint8Array);if(!t.byteLength)return v?"":undefined;return i.base64encode(t)}}}t.ReflectionJsonWriter=ReflectionJsonWriter},28029:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.reflectionLongConvert=void 0;const i=n(32593);function reflectionLongConvert(e,t){switch(t){case i.LongType.BIGINT:return e.toBigInt();case i.LongType.NUMBER:return e.toNumber();default:return e.toString()}}t.reflectionLongConvert=reflectionLongConvert},81713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.reflectionMergePartial=void 0;function reflectionMergePartial(e,t,n){let i,o=n,d;for(let n of e.fields){let e=n.localName;if(n.oneof){const p=o[n.oneof];if((p===null||p===void 0?void 0:p.oneofKind)==undefined){continue}i=p[e];d=t[n.oneof];d.oneofKind=p.oneofKind;if(i==undefined){delete d[e];continue}}else{i=o[e];d=t;if(i==undefined){continue}}if(n.repeat)d[e].length=i.length;switch(n.kind){case"scalar":case"enum":if(n.repeat)for(let t=0;t<i.length;t++)d[e][t]=i[t];else d[e]=i;break;case"message":let t=n.T();if(n.repeat)for(let n=0;n<i.length;n++)d[e][n]=t.create(i[n]);else if(d[e]===undefined)d[e]=t.create(i);else t.mergePartial(d[e],i);break;case"map":switch(n.V.kind){case"scalar":case"enum":Object.assign(d[e],i);break;case"message":let t=n.V.T();for(let n of Object.keys(i))d[e][n]=t.create(i[n]);break}break}}}t.reflectionMergePartial=reflectionMergePartial},9653:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.reflectionScalarDefault=void 0;const i=n(32593);const o=n(28029);const d=n(98986);function reflectionScalarDefault(e,t=i.LongType.STRING){switch(e){case i.ScalarType.BOOL:return false;case i.ScalarType.UINT64:case i.ScalarType.FIXED64:return o.reflectionLongConvert(d.PbULong.ZERO,t);case i.ScalarType.INT64:case i.ScalarType.SFIXED64:case i.ScalarType.SINT64:return o.reflectionLongConvert(d.PbLong.ZERO,t);case i.ScalarType.DOUBLE:case i.ScalarType.FLOAT:return 0;case i.ScalarType.BYTES:return new Uint8Array(0);case i.ScalarType.STRING:return"";default:return 0}}t.reflectionScalarDefault=reflectionScalarDefault},57440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ReflectionTypeCheck=void 0;const i=n(32593);const o=n(44972);class ReflectionTypeCheck{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}prepare(){if(this.data)return;const e=[],t=[],n=[];for(let i of this.fields){if(i.oneof){if(!n.includes(i.oneof)){n.push(i.oneof);e.push(i.oneof);t.push(i.oneof)}}else{t.push(i.localName);switch(i.kind){case"scalar":case"enum":if(!i.opt||i.repeat)e.push(i.localName);break;case"message":if(i.repeat)e.push(i.localName);break;case"map":e.push(i.localName);break}}}this.data={req:e,known:t,oneofs:Object.values(n)}}is(e,t,n=false){if(t<0)return true;if(e===null||e===undefined||typeof e!="object")return false;this.prepare();let i=Object.keys(e),d=this.data;if(i.length<d.req.length||d.req.some((e=>!i.includes(e))))return false;if(!n){if(i.some((e=>!d.known.includes(e))))return false}if(t<1){return true}for(const i of d.oneofs){const d=e[i];if(!o.isOneofGroup(d))return false;if(d.oneofKind===undefined)continue;const p=this.fields.find((e=>e.localName===d.oneofKind));if(!p)return false;if(!this.field(d[d.oneofKind],p,n,t))return false}for(const i of this.fields){if(i.oneof!==undefined)continue;if(!this.field(e[i.localName],i,n,t))return false}return true}field(e,t,n,o){let d=t.repeat;switch(t.kind){case"scalar":if(e===undefined)return t.opt;if(d)return this.scalars(e,t.T,o,t.L);return this.scalar(e,t.T,t.L);case"enum":if(e===undefined)return t.opt;if(d)return this.scalars(e,i.ScalarType.INT32,o);return this.scalar(e,i.ScalarType.INT32);case"message":if(e===undefined)return true;if(d)return this.messages(e,t.T(),n,o);return this.message(e,t.T(),n,o);case"map":if(typeof e!="object"||e===null)return false;if(o<2)return true;if(!this.mapKeys(e,t.K,o))return false;switch(t.V.kind){case"scalar":return this.scalars(Object.values(e),t.V.T,o,t.V.L);case"enum":return this.scalars(Object.values(e),i.ScalarType.INT32,o);case"message":return this.messages(Object.values(e),t.V.T(),n,o)}break}return true}message(e,t,n,i){if(n){return t.isAssignable(e,i)}return t.is(e,i)}messages(e,t,n,i){if(!Array.isArray(e))return false;if(i<2)return true;if(n){for(let n=0;n<e.length&&n<i;n++)if(!t.isAssignable(e[n],i-1))return false}else{for(let n=0;n<e.length&&n<i;n++)if(!t.is(e[n],i-1))return false}return true}scalar(e,t,n){let o=typeof e;switch(t){case i.ScalarType.UINT64:case i.ScalarType.FIXED64:case i.ScalarType.INT64:case i.ScalarType.SFIXED64:case i.ScalarType.SINT64:switch(n){case i.LongType.BIGINT:return o=="bigint";case i.LongType.NUMBER:return o=="number"&&!isNaN(e);default:return o=="string"}case i.ScalarType.BOOL:return o=="boolean";case i.ScalarType.STRING:return o=="string";case i.ScalarType.BYTES:return e instanceof Uint8Array;case i.ScalarType.DOUBLE:case i.ScalarType.FLOAT:return o=="number"&&!isNaN(e);default:return o=="number"&&Number.isInteger(e)}}scalars(e,t,n,i){if(!Array.isArray(e))return false;if(n<2)return true;if(Array.isArray(e))for(let o=0;o<e.length&&o<n;o++)if(!this.scalar(e[o],t,i))return false;return true}mapKeys(e,t,n){let o=Object.keys(e);switch(t){case i.ScalarType.INT32:case i.ScalarType.FIXED32:case i.ScalarType.SFIXED32:case i.ScalarType.SINT32:case i.ScalarType.UINT32:return this.scalars(o.slice(0,n).map((e=>parseInt(e))),t,n);case i.ScalarType.BOOL:return this.scalars(o.slice(0,n).map((e=>e=="true"?true:e=="false"?false:e)),t,n);default:return this.scalars(o,t,n,i.LongType.STRING)}}}t.ReflectionTypeCheck=ReflectionTypeCheck},75980:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const p=d(n(58611));const f=d(n(65692));async function toBuffer(e){let t=0;const n=[];for await(const i of e){t+=i.length;n.push(i)}return Buffer.concat(n,t)}t.toBuffer=toBuffer;async function json(e){const t=await toBuffer(e);const n=t.toString("utf8");try{return JSON.parse(n)}catch(e){const t=e;t.message+=` (input: ${n})`;throw t}}t.json=json;function req(e,t={}){const n=typeof e==="string"?e:e.href;const i=(n.startsWith("https:")?f:p).request(e,t);const o=new Promise(((e,t)=>{i.once("response",e).once("error",t).end()}));i.then=o.then.bind(o);return i}t.req=req},83249:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__exportStar||function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))i(t,e,n)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const f=d(n(69278));const y=d(n(58611));const v=n(65692);p(n(75980),t);const D=Symbol("AgentBaseInternalState");class Agent extends y.Agent{constructor(e){super(e);this[D]={}}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 f.Socket({writable:false});this.sockets[e].push(t);this.totalSocketCount++;return t}decrementSockets(e,t){if(!this.sockets[e]||t===null){return}const n=this.sockets[e];const i=n.indexOf(t);if(i!==-1){n.splice(i,1);this.totalSocketCount--;if(n.length===0){delete this.sockets[e]}}}getName(e){const t=this.isSecureEndpoint(e);if(t){return v.Agent.prototype.getName.call(this,e)}return super.getName(e)}createSocket(e,t,n){const i={...t,secureEndpoint:this.isSecureEndpoint(t)};const o=this.getName(i);const d=this.incrementSockets(o);Promise.resolve().then((()=>this.connect(e,i))).then((p=>{this.decrementSockets(o,d);if(p instanceof y.Agent){try{return p.addRequest(e,i)}catch(e){return n(e)}}this[D].currentSocket=p;super.createSocket(e,t,n)}),(e=>{this.decrementSockets(o,d);n(e)}))}createConnection(){const e=this[D].currentSocket;this[D].currentSocket=undefined;if(!e){throw new Error("No socket was returned in the `connect()` function")}return e}get defaultPort(){return this[D].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){if(this[D]){this[D].defaultPort=e}}get protocol(){return this[D].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){if(this[D]){this[D].protocol=e}}}t.Agent=Agent},20127:e=>{"use strict";e.exports=balanced;function balanced(e,t,n){if(e instanceof RegExp)e=maybeMatch(e,n);if(t instanceof RegExp)t=maybeMatch(t,n);var i=range(e,t,n);return i&&{start:i[0],end:i[1],pre:n.slice(0,i[0]),body:n.slice(i[0]+e.length,i[1]),post:n.slice(i[1]+t.length)}}function maybeMatch(e,t){var n=t.match(e);return n?n[0]:null}balanced.range=range;function range(e,t,n){var i,o,d,p,f;var y=n.indexOf(e);var v=n.indexOf(t,y+1);var D=y;if(y>=0&&v>0){if(e===t){return[y,v]}i=[];d=n.length;while(D>=0&&!f){if(D==y){i.push(D);y=n.indexOf(e,D+1)}else if(i.length==1){f=[i.pop(),v]}else{o=i.pop();if(o<d){d=o;p=v}v=n.indexOf(t,D+1)}D=y<v&&y>=0?y:v}if(i.length){f=[d,p]}}return f}},73443:(e,t,n)=>{var i=n(58401);var o=n(20127);e.exports=expandTop;var d="\0SLASH"+Math.random()+"\0";var p="\0OPEN"+Math.random()+"\0";var f="\0CLOSE"+Math.random()+"\0";var y="\0COMMA"+Math.random()+"\0";var v="\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(d).split("\\{").join(p).split("\\}").join(f).split("\\,").join(y).split("\\.").join(v)}function unescapeBraces(e){return e.split(d).join("\\").split(p).join("{").split(f).join("}").split(y).join(",").split(v).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var n=o("{","}",e);if(!n)return e.split(",");var i=n.pre;var d=n.body;var p=n.post;var f=i.split(",");f[f.length-1]+="{"+d+"}";var y=parseCommaParts(p);if(p.length){f[f.length-1]+=y.shift();f.push.apply(f,y)}t.push.apply(t,f);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var n=[];var d=o("{","}",e);if(!d||/\$$/.test(d.pre))return[e];var p=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(d.body);var y=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(d.body);var v=p||y;var D=d.body.indexOf(",")>=0;if(!v&&!D){if(d.post.match(/,(?!,).*\}/)){e=d.pre+"{"+d.body+f+d.post;return expand(e)}return[e]}var M;if(v){M=d.body.split(/\.\./)}else{M=parseCommaParts(d.body);if(M.length===1){M=expand(M[0],false).map(embrace);if(M.length===1){var U=d.post.length?expand(d.post,false):[""];return U.map((function(e){return d.pre+M[0]+e}))}}}var j=d.pre;var U=d.post.length?expand(d.post,false):[""];var V;if(v){var K=numeric(M[0]);var ee=numeric(M[1]);var te=Math.max(M[0].length,M[1].length);var re=M.length==3?Math.abs(numeric(M[2])):1;var ne=lte;var se=ee<K;if(se){re*=-1;ne=gte}var ie=M.some(isPadded);V=[];for(var oe=K;ne(oe,ee);oe+=re){var ae;if(y){ae=String.fromCharCode(oe);if(ae==="\\")ae=""}else{ae=String(oe);if(ie){var Ae=te-ae.length;if(Ae>0){var ce=new Array(Ae+1).join("0");if(oe<0)ae="-"+ce+ae.slice(1);else ae=ce+ae}}}V.push(ae)}}else{V=i(M,(function(e){return expand(e,false)}))}for(var le=0;le<V.length;le++){for(var ue=0;ue<U.length;ue++){var de=j+V[le]+U[ue];if(!t||v||de)n.push(de)}}return n}},58401:e=>{e.exports=function(e,n){var i=[];for(var o=0;o<e.length;o++){var d=n(e[o],o);if(t(d))i.push.apply(i,d);else i.push(d)}return i};var t=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}},44468:(e,t,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 n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0;let o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}i++;if(e==="%c"){o=i}}));t.splice(o,0,n)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=n(31163)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},31163:(e,t,n)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=n(2134);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let n=null;let i;let o;function debug(...e){if(!debug.enabled){return}const n=debug;const i=Number(new Date);const o=i-(t||i);n.diff=o;n.prev=t;n.curr=i;t=i;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let d=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,i)=>{if(t==="%%"){return"%"}d++;const o=createDebug.formatters[i];if(typeof o==="function"){const i=e[d];t=o.call(n,i);e.splice(d,1);d--}return t}));createDebug.formatArgs.call(n,e);const p=n.log||createDebug.log;p.apply(n,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(n!==null){return n}if(i!==createDebug.namespaces){i=createDebug.namespaces;o=createDebug.enabled(e)}return o},set:e=>{n=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const n=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);n.log=this.log;return n}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];const t=(typeof e==="string"?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of t){if(e[0]==="-"){createDebug.skips.push(e.slice(1))}else{createDebug.names.push(e)}}}function matchesTemplate(e,t){let n=0;let i=0;let o=-1;let d=0;while(n<e.length){if(i<t.length&&(t[i]===e[n]||t[i]==="*")){if(t[i]==="*"){o=i;d=n;i++}else{n++;i++}}else if(o!==-1){i=o+1;d++;n=d}else{return false}}while(i<t.length&&t[i]==="*"){i++}return i===t.length}function disable(){const e=[...createDebug.names,...createDebug.skips.map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){for(const t of createDebug.skips){if(matchesTemplate(e,t)){return false}}for(const t of createDebug.names){if(matchesTemplate(e,t)){return true}}return false}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},69592:(e,t,n)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=n(44468)}else{e.exports=n(73606)}},73606:(e,t,n)=>{const i=n(52018);const o=n(39023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=o.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=n(5545);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=process.env[t];if(/^(yes|on|true|enabled)$/i.test(i)){i=true}else if(/^(no|off|false|disabled)$/i.test(i)){i=false}else if(i==="null"){i=null}else{i=Number(i)}e[n]=i;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):i.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:n,useColors:i}=this;if(i){const i=this.color;const o="[3"+(i<8?i:"8;5;"+i);const d=` ${o};1m${n} [0m`;t[0]=d+t[0].split("\n").join("\n"+d);t.push(o+"m+"+e.exports.humanize(this.diff)+"[0m")}else{t[0]=getDate()+n+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(o.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let i=0;i<n.length;i++){e.inspectOpts[n[i]]=t.inspectOpts[n[i]]}}e.exports=n(31163)(t);const{formatters:d}=e.exports;d.o=function(e){this.inspectOpts.colors=this.useColors;return o.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};d.O=function(e){this.inspectOpts.colors=this.useColors;return o.inspect(e,this.inspectOpts)}},66746:(e,t,n)=>{
|
||
/*!
|
||
* expand-tilde <https://github.com/jonschlinkert/expand-tilde>
|
||
*
|
||
* Copyright (c) 2015 Jon Schlinkert.
|
||
* Licensed under the MIT license.
|
||
*/
|
||
var i=n(39048);var o=n(16928);e.exports=function expandTilde(e){var t=i();if(e.charCodeAt(0)===126){if(e.charCodeAt(1)===43){return o.join(process.cwd(),e.slice(2))}return t?o.join(t,e.slice(1)):e}return e}},39048:(e,t,n)=>{"use strict";var i=n(70857);if(typeof i.homedir!=="undefined"){e.exports=i.homedir}else{e.exports=n(58873)}},58873:(e,t,n)=>{"use strict";var i=n(79896);var o=n(37393);function homedir(){if(process.platform==="win32"){if(process.env.USERPROFILE){return process.env.USERPROFILE}if(process.env.HOMEDRIVE&&process.env.HOMEPATH){return process.env.HOMEDRIVE+process.env.HOMEPATH}if(process.env.HOME){return process.env.HOME}return null}if(process.env.HOME){return process.env.HOME}var e=tryReadFileSync("/etc/passwd");var t=find(o(e),getuid());if(t){return t}var n=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;if(!n){return null}if(process.platform==="darwin"){return"/Users/"+n}return"/home/"+n}function find(e,t){var n=e.length;for(var i=0;i<n;i++){if(+e[i].uid===t){return e[i].homedir}}}function getuid(){if(typeof process.geteuid==="function"){return process.geteuid()}return process.getuid()}function tryReadFileSync(e){try{return i.readFileSync(e,"utf8")}catch(e){return""}}e.exports=homedir},64702:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpProxyAgent=void 0;const f=d(n(69278));const y=d(n(64756));const v=p(n(69592));const D=n(24434);const M=n(83249);const U=n(87016);const j=(0,v.default)("http-proxy-agent");class HttpProxyAgent extends M.Agent{constructor(e,t){super(t);this.proxy=typeof e==="string"?new U.URL(e):e;this.proxyHeaders=t?.headers??{};j("Creating new HttpProxyAgent instance: %o",this.proxy.href);const n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...t?omit(t,"headers"):null,host:n,port:i}}addRequest(e,t){e._header=null;this.setRequestProps(e,t);super.addRequest(e,t)}setRequestProps(e,t){const{proxy:n}=this;const i=t.secureEndpoint?"https:":"http:";const o=e.getHeader("host")||"localhost";const d=`${i}//${o}`;const p=new U.URL(e.path,d);if(t.port!==80){p.port=String(t.port)}e.path=String(p);const f=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){const e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;f["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}if(!f["Proxy-Connection"]){f["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const t of Object.keys(f)){const n=f[t];if(n){e.setHeader(t,n)}}}async connect(e,t){e._header=null;if(!e.path.includes("://")){this.setRequestProps(e,t)}let n;let i;j("Regenerating stored HTTP header string for request");e._implicitHeader();if(e.outputData&&e.outputData.length>0){j("Patching connection write() output buffer with updated header");n=e.outputData[0].data;i=n.indexOf("\r\n\r\n")+4;e.outputData[0].data=e._header+n.substring(i);j("Output buffer: %o",e.outputData[0].data)}let o;if(this.proxy.protocol==="https:"){j("Creating `tls.Socket`: %o",this.connectOpts);o=y.connect(this.connectOpts)}else{j("Creating `net.Socket`: %o",this.connectOpts);o=f.connect(this.connectOpts)}await(0,D.once)(o,"connect");return o}}HttpProxyAgent.protocols=["http","https"];t.HttpProxyAgent=HttpProxyAgent;function omit(e,...t){const n={};let i;for(i in e){if(!t.includes(i)){n[i]=e[i]}}return n}},84708:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpsProxyAgent=void 0;const f=d(n(69278));const y=d(n(64756));const v=p(n(42613));const D=p(n(69592));const M=n(83249);const U=n(87016);const j=n(94832);const V=(0,D.default)("https-proxy-agent");const setServernameFromNonIpHost=e=>{if(e.servername===undefined&&e.host&&!f.isIP(e.host)){return{...e,servername:e.host}}return e};class HttpsProxyAgent extends M.Agent{constructor(e,t){super(t);this.options={path:undefined};this.proxy=typeof e==="string"?new U.URL(e):e;this.proxyHeaders=t?.headers??{};V("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?omit(t,"headers"):null,host:n,port:i}}async connect(e,t){const{proxy:n}=this;if(!t.host){throw new TypeError('No "host" provided')}let i;if(n.protocol==="https:"){V("Creating `tls.Socket`: %o",this.connectOpts);i=y.connect(setServernameFromNonIpHost(this.connectOpts))}else{V("Creating `net.Socket`: %o",this.connectOpts);i=f.connect(this.connectOpts)}const o=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const d=f.isIPv6(t.host)?`[${t.host}]`:t.host;let p=`CONNECT ${d}:${t.port} HTTP/1.1\r\n`;if(n.username||n.password){const e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}o.Host=`${d}:${t.port}`;if(!o["Proxy-Connection"]){o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const e of Object.keys(o)){p+=`${e}: ${o[e]}\r\n`}const D=(0,j.parseProxyResponse)(i);i.write(`${p}\r\n`);const{connect:M,buffered:U}=await D;e.emit("proxyConnect",M);this.emit("proxyConnect",M,e);if(M.statusCode===200){e.once("socket",resume);if(t.secureEndpoint){V("Upgrading socket connection to TLS");return y.connect({...omit(setServernameFromNonIpHost(t),"host","path","port"),socket:i})}return i}i.destroy();const K=new f.Socket({writable:false});K.readable=true;e.once("socket",(e=>{V("Replaying proxy buffer for failed request");(0,v.default)(e.listenerCount("data")>0);e.push(U);e.push(null)}));return K}}HttpsProxyAgent.protocols=["http","https"];t.HttpsProxyAgent=HttpsProxyAgent;function resume(e){e.resume()}function omit(e,...t){const n={};let i;for(i in e){if(!t.includes(i)){n[i]=e[i]}}return n}},94832:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.parseProxyResponse=void 0;const o=i(n(69592));const d=(0,o.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,n)=>{let i=0;const o=[];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();d("onend");n(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(e){cleanup();d("onerror %o",e);n(e)}function ondata(p){o.push(p);i+=p.length;const f=Buffer.concat(o,i);const y=f.indexOf("\r\n\r\n");if(y===-1){d("have not received end of HTTP headers yet...");read();return}const v=f.slice(0,y).toString("ascii").split("\r\n");const D=v.shift();if(!D){e.destroy();return n(new Error("No header received from proxy CONNECT response"))}const M=D.split(" ");const U=+M[1];const j=M.slice(2).join(" ");const V={};for(const t of v){if(!t)continue;const i=t.indexOf(":");if(i===-1){e.destroy();return n(new Error(`Invalid header from proxy CONNECT response: "${t}"`))}const o=t.slice(0,i).toLowerCase();const d=t.slice(i+1).trimStart();const p=V[o];if(typeof p==="string"){V[o]=[p,d]}else if(Array.isArray(p)){p.push(d)}else{V[o]=d}}d("got proxy server response: %o %o",D,V);cleanup();t({connect:{statusCode:U,statusText:j,headers:V},buffered:f})}e.on("error",onerror);e.on("end",onend);read()}))}t.parseProxyResponse=parseProxyResponse},96274:(e,t,n)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var i=function(){try{return n(16928)}catch(e){}}()||{sep:"/"};minimatch.sep=i.sep;var o=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var d=n(73443);var p={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var f="[^/]";var y=f+"*?";var v="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var D="(?:(?!(?:\\/|^)\\.).)*?";var M=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var U=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(n,i,o){return minimatch(n,e,t)}}function ext(e,t){t=t||{};var n={};Object.keys(e).forEach((function(t){n[t]=e[t]}));Object.keys(t).forEach((function(e){n[e]=t[e]}));return n}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var n=function minimatch(n,i,o){return t(n,i,ext(e,o))};n.Minimatch=function Minimatch(n,i){return new t.Minimatch(n,ext(e,i))};n.Minimatch.defaults=function defaults(n){return t.defaults(ext(e,n)).Minimatch};n.filter=function filter(n,i){return t.filter(n,ext(e,i))};n.defaults=function defaults(n){return t.defaults(ext(e,n))};n.makeRe=function makeRe(n,i){return t.makeRe(n,ext(e,i))};n.braceExpand=function braceExpand(n,i){return t.braceExpand(n,ext(e,i))};n.match=function(n,i,o){return t.match(n,i,ext(e,o))};return n};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,n){assertValidPattern(t);if(!n)n={};if(!n.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,n).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}assertValidPattern(e);if(!t)t={};e=e.trim();if(!t.allowWindowsEscape&&i.sep!=="/"){e=e.split(i.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!t.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var n=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,n);n=this.globParts=n.map((function(e){return e.split(U)}));this.debug(this.pattern,n);n=n.map((function(e,t,n){return e.map(this.parse,this)}),this);this.debug(this.pattern,n);n=n.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,n);this.set=n}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var n=this.options;var i=0;if(n.nonegate)return;for(var o=0,d=e.length;o<d&&e.charAt(o)==="!";o++){t=!t;i++}if(i)this.pattern=e.substr(i);this.negate=t}minimatch.braceExpand=function(e,t){return braceExpand(e,t)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(e,t){if(!t){if(this instanceof Minimatch){t=this.options}else{t={}}}e=typeof e==="undefined"?this.pattern:e;assertValidPattern(e);if(t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)){return[e]}return d(e)}var j=1024*64;var assertValidPattern=function(e){if(typeof e!=="string"){throw new TypeError("invalid pattern")}if(e.length>j){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var V={};function parse(e,t){assertValidPattern(e);var n=this.options;if(e==="**"){if(!n.noglobstar)return o;else e="*"}if(e==="")return"";var i="";var d=!!n.nocase;var v=false;var D=[];var U=[];var j;var K=false;var ee=-1;var te=-1;var re=e.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var ne=this;function clearStateChar(){if(j){switch(j){case"*":i+=y;d=true;break;case"?":i+=f;d=true;break;default:i+="\\"+j;break}ne.debug("clearStateChar %j %j",j,i);j=false}}for(var se=0,ie=e.length,oe;se<ie&&(oe=e.charAt(se));se++){this.debug("%s\t%s %s %j",e,se,i,oe);if(v&&M[oe]){i+="\\"+oe;v=false;continue}switch(oe){case"/":{return false}case"\\":clearStateChar();v=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",e,se,i,oe);if(K){this.debug(" in class");if(oe==="!"&&se===te+1)oe="^";i+=oe;continue}ne.debug("call clearStateChar %j",j);clearStateChar();j=oe;if(n.noext)clearStateChar();continue;case"(":if(K){i+="(";continue}if(!j){i+="\\(";continue}D.push({type:j,start:se-1,reStart:i.length,open:p[j].open,close:p[j].close});i+=j==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",j,i);j=false;continue;case")":if(K||!D.length){i+="\\)";continue}clearStateChar();d=true;var ae=D.pop();i+=ae.close;if(ae.type==="!"){U.push(ae)}ae.reEnd=i.length;continue;case"|":if(K||!D.length||v){i+="\\|";v=false;continue}clearStateChar();i+="|";continue;case"[":clearStateChar();if(K){i+="\\"+oe;continue}K=true;te=se;ee=i.length;i+=oe;continue;case"]":if(se===te+1||!K){i+="\\"+oe;v=false;continue}var Ae=e.substring(te+1,se);try{RegExp("["+Ae+"]")}catch(e){var ce=this.parse(Ae,V);i=i.substr(0,ee)+"\\["+ce[0]+"\\]";d=d||ce[1];K=false;continue}d=true;K=false;i+=oe;continue;default:clearStateChar();if(v){v=false}else if(M[oe]&&!(oe==="^"&&K)){i+="\\"}i+=oe}}if(K){Ae=e.substr(te+1);ce=this.parse(Ae,V);i=i.substr(0,ee)+"\\["+ce[0];d=d||ce[1]}for(ae=D.pop();ae;ae=D.pop()){var le=i.slice(ae.reStart+ae.open.length);this.debug("setting tail",i,ae);le=le.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,n){if(!n){n="\\"}return t+t+n+"|"}));this.debug("tail=%j\n %s",le,le,ae,i);var ue=ae.type==="*"?y:ae.type==="?"?f:"\\"+ae.type;d=true;i=i.slice(0,ae.reStart)+ue+"\\("+le}clearStateChar();if(v){i+="\\\\"}var de=false;switch(i.charAt(0)){case"[":case".":case"(":de=true}for(var pe=U.length-1;pe>-1;pe--){var ge=U[pe];var fe=i.slice(0,ge.reStart);var he=i.slice(ge.reStart,ge.reEnd-8);var me=i.slice(ge.reEnd-8,ge.reEnd);var ye=i.slice(ge.reEnd);me+=ye;var Ee=fe.split("(").length-1;var Ce=ye;for(se=0;se<Ee;se++){Ce=Ce.replace(/\)[+*?]?/,"")}ye=Ce;var Ie="";if(ye===""&&t!==V){Ie="$"}var Be=fe+he+ye+Ie+me;i=Be}if(i!==""&&d){i="(?=.)"+i}if(de){i=re+i}if(t===V){return[i,d]}if(!d){return globUnescape(e)}var be=n.nocase?"i":"";try{var Qe=new RegExp("^"+i+"$",be)}catch(e){return new RegExp("$.")}Qe._glob=e;Qe._src=i;return Qe}minimatch.makeRe=function(e,t){return new Minimatch(e,t||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var e=this.set;if(!e.length){this.regexp=false;return this.regexp}var t=this.options;var n=t.noglobstar?y:t.dot?v:D;var i=t.nocase?"i":"";var d=e.map((function(e){return e.map((function(e){return e===o?n:typeof e==="string"?regExpEscape(e):e._src})).join("\\/")})).join("|");d="^(?:"+d+")$";if(this.negate)d="^(?!"+d+").*$";try{this.regexp=new RegExp(d,i)}catch(e){this.regexp=false}return this.regexp}minimatch.match=function(e,t,n){n=n||{};var i=new Minimatch(t,n);e=e.filter((function(e){return i.match(e)}));if(i.options.nonull&&!e.length){e.push(t)}return e};Minimatch.prototype.match=function match(e,t){if(typeof t==="undefined")t=this.partial;this.debug("match",e,this.pattern);if(this.comment)return false;if(this.empty)return e==="";if(e==="/"&&t)return true;var n=this.options;if(i.sep!=="/"){e=e.split(i.sep).join("/")}e=e.split(U);this.debug(this.pattern,"split",e);var o=this.set;this.debug(this.pattern,"set",o);var d;var p;for(p=e.length-1;p>=0;p--){d=e[p];if(d)break}for(p=0;p<o.length;p++){var f=o[p];var y=e;if(n.matchBase&&f.length===1){y=[d]}var v=this.matchOne(y,f,t);if(v){if(n.flipNegate)return true;return!this.negate}}if(n.flipNegate)return false;return this.negate};Minimatch.prototype.matchOne=function(e,t,n){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:t});this.debug("matchOne",e.length,t.length);for(var d=0,p=0,f=e.length,y=t.length;d<f&&p<y;d++,p++){this.debug("matchOne loop");var v=t[p];var D=e[d];this.debug(t,v,D);if(v===false)return false;if(v===o){this.debug("GLOBSTAR",[t,v,D]);var M=d;var U=p+1;if(U===y){this.debug("** at the end");for(;d<f;d++){if(e[d]==="."||e[d]===".."||!i.dot&&e[d].charAt(0)===".")return false}return true}while(M<f){var j=e[M];this.debug("\nglobstar while",e,M,t,U,j);if(this.matchOne(e.slice(M),t.slice(U),n)){this.debug("globstar found match!",M,f,j);return true}else{if(j==="."||j===".."||!i.dot&&j.charAt(0)==="."){this.debug("dot detected!",e,M,t,U);break}this.debug("globstar swallow a segment, and continue");M++}}if(n){this.debug("\n>>> no match, partial?",e,M,t,U);if(M===f)return true}return false}var V;if(typeof v==="string"){V=D===v;this.debug("string match",v,D,V)}else{V=D.match(v);this.debug("pattern match",v,D,V)}if(!V)return false}if(d===f&&p===y){return true}else if(d===f){return n}else if(p===y){return d===f-1&&e[d]===""}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},2134:e=>{var t=1e3;var n=t*60;var i=n*60;var o=i*24;var d=o*7;var p=o*365.25;e.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0){return parse(e)}else if(n==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var f=/^(-?(?:\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(!f){return}var y=parseFloat(f[1]);var v=(f[2]||"ms").toLowerCase();switch(v){case"years":case"year":case"yrs":case"yr":case"y":return y*p;case"weeks":case"week":case"w":return y*d;case"days":case"day":case"d":return y*o;case"hours":case"hour":case"hrs":case"hr":case"h":return y*i;case"minutes":case"minute":case"mins":case"min":case"m":return y*n;case"seconds":case"second":case"secs":case"sec":case"s":return y*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return y;default:return undefined}}function fmtShort(e){var d=Math.abs(e);if(d>=o){return Math.round(e/o)+"d"}if(d>=i){return Math.round(e/i)+"h"}if(d>=n){return Math.round(e/n)+"m"}if(d>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var d=Math.abs(e);if(d>=o){return plural(e,d,o,"day")}if(d>=i){return plural(e,d,i,"hour")}if(d>=n){return plural(e,d,n,"minute")}if(d>=t){return plural(e,d,t,"second")}return e+" ms"}function plural(e,t,n,i){var o=t>=n*1.5;return Math.round(e/n)+" "+i+(o?"s":"")}},37393:e=>{"use strict";e.exports=function(e){if(typeof e!=="string"){throw new Error("expected a string")}return e.split("\n").map(user).filter(Boolean)};function user(e,t){if(!e||!e.length||e.charAt(0)==="#"){return null}var n=e.split(":");return{username:n[0],password:n[1],uid:n[2],gid:n[3],gecos:n[4],homedir:n[5],shell:n[6]}}},88804:(e,t)=>{t=e.exports=SemVer;var n;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){n=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{n=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var i=256;var o=Number.MAX_SAFE_INTEGER||9007199254740991;var d=16;var p=i-6;var f=t.re=[];var y=t.safeRe=[];var v=t.src=[];var D=t.tokens={};var M=0;function tok(e){D[e]=M++}var U="[a-zA-Z0-9-]";var j=[["\\s",1],["\\d",i],[U,p]];function makeSafeRe(e){for(var t=0;t<j.length;t++){var n=j[t][0];var i=j[t][1];e=e.split(n+"*").join(n+"{0,"+i+"}").split(n+"+").join(n+"{1,"+i+"}")}return e}tok("NUMERICIDENTIFIER");v[D.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");v[D.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");v[D.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+U+"*";tok("MAINVERSION");v[D.MAINVERSION]="("+v[D.NUMERICIDENTIFIER]+")\\."+"("+v[D.NUMERICIDENTIFIER]+")\\."+"("+v[D.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");v[D.MAINVERSIONLOOSE]="("+v[D.NUMERICIDENTIFIERLOOSE]+")\\."+"("+v[D.NUMERICIDENTIFIERLOOSE]+")\\."+"("+v[D.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");v[D.PRERELEASEIDENTIFIER]="(?:"+v[D.NUMERICIDENTIFIER]+"|"+v[D.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");v[D.PRERELEASEIDENTIFIERLOOSE]="(?:"+v[D.NUMERICIDENTIFIERLOOSE]+"|"+v[D.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");v[D.PRERELEASE]="(?:-("+v[D.PRERELEASEIDENTIFIER]+"(?:\\."+v[D.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");v[D.PRERELEASELOOSE]="(?:-?("+v[D.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+v[D.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");v[D.BUILDIDENTIFIER]=U+"+";tok("BUILD");v[D.BUILD]="(?:\\+("+v[D.BUILDIDENTIFIER]+"(?:\\."+v[D.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");v[D.FULLPLAIN]="v?"+v[D.MAINVERSION]+v[D.PRERELEASE]+"?"+v[D.BUILD]+"?";v[D.FULL]="^"+v[D.FULLPLAIN]+"$";tok("LOOSEPLAIN");v[D.LOOSEPLAIN]="[v=\\s]*"+v[D.MAINVERSIONLOOSE]+v[D.PRERELEASELOOSE]+"?"+v[D.BUILD]+"?";tok("LOOSE");v[D.LOOSE]="^"+v[D.LOOSEPLAIN]+"$";tok("GTLT");v[D.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");v[D.XRANGEIDENTIFIERLOOSE]=v[D.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");v[D.XRANGEIDENTIFIER]=v[D.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");v[D.XRANGEPLAIN]="[v=\\s]*("+v[D.XRANGEIDENTIFIER]+")"+"(?:\\.("+v[D.XRANGEIDENTIFIER]+")"+"(?:\\.("+v[D.XRANGEIDENTIFIER]+")"+"(?:"+v[D.PRERELEASE]+")?"+v[D.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");v[D.XRANGEPLAINLOOSE]="[v=\\s]*("+v[D.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+v[D.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+v[D.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+v[D.PRERELEASELOOSE]+")?"+v[D.BUILD]+"?"+")?)?";tok("XRANGE");v[D.XRANGE]="^"+v[D.GTLT]+"\\s*"+v[D.XRANGEPLAIN]+"$";tok("XRANGELOOSE");v[D.XRANGELOOSE]="^"+v[D.GTLT]+"\\s*"+v[D.XRANGEPLAINLOOSE]+"$";tok("COERCE");v[D.COERCE]="(^|[^\\d])"+"(\\d{1,"+d+"})"+"(?:\\.(\\d{1,"+d+"}))?"+"(?:\\.(\\d{1,"+d+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");f[D.COERCERTL]=new RegExp(v[D.COERCE],"g");y[D.COERCERTL]=new RegExp(makeSafeRe(v[D.COERCE]),"g");tok("LONETILDE");v[D.LONETILDE]="(?:~>?)";tok("TILDETRIM");v[D.TILDETRIM]="(\\s*)"+v[D.LONETILDE]+"\\s+";f[D.TILDETRIM]=new RegExp(v[D.TILDETRIM],"g");y[D.TILDETRIM]=new RegExp(makeSafeRe(v[D.TILDETRIM]),"g");var V="$1~";tok("TILDE");v[D.TILDE]="^"+v[D.LONETILDE]+v[D.XRANGEPLAIN]+"$";tok("TILDELOOSE");v[D.TILDELOOSE]="^"+v[D.LONETILDE]+v[D.XRANGEPLAINLOOSE]+"$";tok("LONECARET");v[D.LONECARET]="(?:\\^)";tok("CARETTRIM");v[D.CARETTRIM]="(\\s*)"+v[D.LONECARET]+"\\s+";f[D.CARETTRIM]=new RegExp(v[D.CARETTRIM],"g");y[D.CARETTRIM]=new RegExp(makeSafeRe(v[D.CARETTRIM]),"g");var K="$1^";tok("CARET");v[D.CARET]="^"+v[D.LONECARET]+v[D.XRANGEPLAIN]+"$";tok("CARETLOOSE");v[D.CARETLOOSE]="^"+v[D.LONECARET]+v[D.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");v[D.COMPARATORLOOSE]="^"+v[D.GTLT]+"\\s*("+v[D.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");v[D.COMPARATOR]="^"+v[D.GTLT]+"\\s*("+v[D.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");v[D.COMPARATORTRIM]="(\\s*)"+v[D.GTLT]+"\\s*("+v[D.LOOSEPLAIN]+"|"+v[D.XRANGEPLAIN]+")";f[D.COMPARATORTRIM]=new RegExp(v[D.COMPARATORTRIM],"g");y[D.COMPARATORTRIM]=new RegExp(makeSafeRe(v[D.COMPARATORTRIM]),"g");var ee="$1$2$3";tok("HYPHENRANGE");v[D.HYPHENRANGE]="^\\s*("+v[D.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+v[D.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");v[D.HYPHENRANGELOOSE]="^\\s*("+v[D.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+v[D.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");v[D.STAR]="(<|>)?=?\\s*\\*";for(var te=0;te<M;te++){n(te,v[te]);if(!f[te]){f[te]=new RegExp(v[te]);y[te]=new RegExp(makeSafeRe(v[te]))}}t.parse=parse;function parse(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}if(e.length>i){return null}var n=t.loose?y[D.LOOSE]:y[D.FULL];if(!n.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var n=parse(e,t);return n?n.version:null}t.clean=clean;function clean(e,t){var n=parse(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>i){throw new TypeError("version is longer than "+i+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;var d=e.trim().match(t.loose?y[D.LOOSE]:y[D.FULL]);if(!d){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+d[1];this.minor=+d[2];this.patch=+d[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(!d[4]){this.prerelease=[]}else{this.prerelease=d[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<o){return t}}return e}))}this.build=d[5]?d[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(e){n("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return this.compareMain(e)||this.comparePre(e)};SemVer.prototype.compareMain=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return compareIdentifiers(this.major,e.major)||compareIdentifiers(this.minor,e.minor)||compareIdentifiers(this.patch,e.patch)};SemVer.prototype.comparePre=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}var t=0;do{var i=this.prerelease[t];var o=e.prerelease[t];n("prerelease compare",t,i,o);if(i===undefined&&o===undefined){return 0}else if(o===undefined){return 1}else if(i===undefined){return-1}else if(i===o){continue}else{return compareIdentifiers(i,o)}}while(++t)};SemVer.prototype.compareBuild=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}var t=0;do{var i=this.build[t];var o=e.build[t];n("prerelease compare",t,i,o);if(i===undefined&&o===undefined){return 0}else if(o===undefined){return 1}else if(i===undefined){return-1}else if(i===o){continue}else{return compareIdentifiers(i,o)}}while(++t)};SemVer.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var n=this.prerelease.length;while(--n>=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,n,i){if(typeof n==="string"){i=n;n=undefined}try{return new SemVer(e,n).inc(t,i).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var n=parse(e);var i=parse(t);var o="";if(n.prerelease.length||i.prerelease.length){o="pre";var d="prerelease"}for(var p in n){if(p==="major"||p==="minor"||p==="patch"){if(n[p]!==i[p]){return o+p}}}return d}}t.compareIdentifiers=compareIdentifiers;var re=/^[0-9]+$/;function compareIdentifiers(e,t){var n=re.test(e);var i=re.test(t);if(n&&i){e=+e;t=+t}return e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1}t.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(e,t){return compareIdentifiers(t,e)}t.major=major;function major(e,t){return new SemVer(e,t).major}t.minor=minor;function minor(e,t){return new SemVer(e,t).minor}t.patch=patch;function patch(e,t){return new SemVer(e,t).patch}t.compare=compare;function compare(e,t,n){return new SemVer(e,n).compare(new SemVer(t,n))}t.compareLoose=compareLoose;function compareLoose(e,t){return compare(e,t,true)}t.compareBuild=compareBuild;function compareBuild(e,t,n){var i=new SemVer(e,n);var o=new SemVer(t,n);return i.compare(o)||i.compareBuild(o)}t.rcompare=rcompare;function rcompare(e,t,n){return compare(t,e,n)}t.sort=sort;function sort(e,n){return e.sort((function(e,i){return t.compareBuild(e,i,n)}))}t.rsort=rsort;function rsort(e,n){return e.sort((function(e,i){return t.compareBuild(i,e,n)}))}t.gt=gt;function gt(e,t,n){return compare(e,t,n)>0}t.lt=lt;function lt(e,t,n){return compare(e,t,n)<0}t.eq=eq;function eq(e,t,n){return compare(e,t,n)===0}t.neq=neq;function neq(e,t,n){return compare(e,t,n)!==0}t.gte=gte;function gte(e,t,n){return compare(e,t,n)>=0}t.lte=lte;function lte(e,t,n){return compare(e,t,n)<=0}t.cmp=cmp;function cmp(e,t,n,i){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e===n;case"!==":if(typeof e==="object")e=e.version;if(typeof n==="object")n=n.version;return e!==n;case"":case"=":case"==":return eq(e,n,i);case"!=":return neq(e,n,i);case">":return gt(e,n,i);case">=":return gte(e,n,i);case"<":return lt(e,n,i);case"<=":return lte(e,n,i);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}e=e.trim().split(/\s+/).join(" ");n("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===ne){this.value=""}else{this.value=this.operator+this.semver.version}n("comp",this)}var ne={};Comparator.prototype.parse=function(e){var t=this.options.loose?y[D.COMPARATORLOOSE]:y[D.COMPARATOR];var n=e.match(t);if(!n){throw new TypeError("Invalid comparator: "+e)}this.operator=n[1]!==undefined?n[1]:"";if(this.operator==="="){this.operator=""}if(!n[2]){this.semver=ne}else{this.semver=new SemVer(n[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){n("Comparator.test",e,this.options.loose);if(this.semver===ne||e===ne){return true}if(typeof e==="string"){try{e=new SemVer(e,this.options)}catch(e){return false}}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var n;if(this.operator===""){if(this.value===""){return true}n=new Range(e.value,t);return satisfies(this.value,n,t)}else if(e.operator===""){if(e.value===""){return true}n=new Range(this.value,t);return satisfies(e.semver,n,t)}var i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var o=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var d=this.semver.version===e.semver.version;var p=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var f=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var y=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return i||o||d&&p||f||y};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 i=t?y[D.HYPHENRANGELOOSE]:y[D.HYPHENRANGE];e=e.replace(i,hyphenReplace);n("hyphen replace",e);e=e.replace(y[D.COMPARATORTRIM],ee);n("comparator trim",e,y[D.COMPARATORTRIM]);e=e.replace(y[D.TILDETRIM],V);e=e.replace(y[D.CARETTRIM],K);e=e.split(/\s+/).join(" ");var o=t?y[D.COMPARATORLOOSE]:y[D.COMPARATOR];var d=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){d=d.filter((function(e){return!!e.match(o)}))}d=d.map((function(e){return new Comparator(e,this.options)}),this);return d};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(n){return isSatisfiable(n,t)&&e.set.some((function(e){return isSatisfiable(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))};function isSatisfiable(e,t){var n=true;var i=e.slice();var o=i.pop();while(n&&i.length){n=i.every((function(e){return o.intersects(e,t)}));o=i.pop()}return n}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){n("comp",e,t);e=replaceCarets(e,t);n("caret",e);e=replaceTildes(e,t);n("tildes",e);e=replaceXRanges(e,t);n("xrange",e);e=replaceStars(e,t);n("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var i=t.loose?y[D.TILDELOOSE]:y[D.TILDE];return e.replace(i,(function(t,i,o,d,p){n("tilde",e,t,i,o,d,p);var f;if(isX(i)){f=""}else if(isX(o)){f=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(d)){f=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0"}else if(p){n("replaceTilde pr",p);f=">="+i+"."+o+"."+d+"-"+p+" <"+i+"."+(+o+1)+".0"}else{f=">="+i+"."+o+"."+d+" <"+i+"."+(+o+1)+".0"}n("tilde return",f);return f}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){n("caret",e,t);var i=t.loose?y[D.CARETLOOSE]:y[D.CARET];return e.replace(i,(function(t,i,o,d,p){n("caret",e,t,i,o,d,p);var f;if(isX(i)){f=""}else if(isX(o)){f=">="+i+".0.0 <"+(+i+1)+".0.0"}else if(isX(d)){if(i==="0"){f=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0"}else{f=">="+i+"."+o+".0 <"+(+i+1)+".0.0"}}else if(p){n("replaceCaret pr",p);if(i==="0"){if(o==="0"){f=">="+i+"."+o+"."+d+"-"+p+" <"+i+"."+o+"."+(+d+1)}else{f=">="+i+"."+o+"."+d+"-"+p+" <"+i+"."+(+o+1)+".0"}}else{f=">="+i+"."+o+"."+d+"-"+p+" <"+(+i+1)+".0.0"}}else{n("no pr");if(i==="0"){if(o==="0"){f=">="+i+"."+o+"."+d+" <"+i+"."+o+"."+(+d+1)}else{f=">="+i+"."+o+"."+d+" <"+i+"."+(+o+1)+".0"}}else{f=">="+i+"."+o+"."+d+" <"+(+i+1)+".0.0"}}n("caret return",f);return f}))}function replaceXRanges(e,t){n("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var i=t.loose?y[D.XRANGELOOSE]:y[D.XRANGE];return e.replace(i,(function(i,o,d,p,f,y){n("xRange",e,i,o,d,p,f,y);var v=isX(d);var D=v||isX(p);var M=D||isX(f);var U=M;if(o==="="&&U){o=""}y=t.includePrerelease?"-0":"";if(v){if(o===">"||o==="<"){i="<0.0.0-0"}else{i="*"}}else if(o&&U){if(D){p=0}f=0;if(o===">"){o=">=";if(D){d=+d+1;p=0;f=0}else{p=+p+1;f=0}}else if(o==="<="){o="<";if(D){d=+d+1}else{p=+p+1}}i=o+d+"."+p+"."+f+y}else if(D){i=">="+d+".0.0"+y+" <"+(+d+1)+".0.0"+y}else if(M){i=">="+d+"."+p+".0"+y+" <"+d+"."+(+p+1)+".0"+y}n("xRange return",i);return i}))}function replaceStars(e,t){n("replaceStars",e,t);return e.trim().replace(y[D.STAR],"")}function hyphenReplace(e,t,n,i,o,d,p,f,y,v,D,M,U){if(isX(n)){t=""}else if(isX(i)){t=">="+n+".0.0"}else if(isX(o)){t=">="+n+"."+i+".0"}else{t=">="+t}if(isX(y)){f=""}else if(isX(v)){f="<"+(+y+1)+".0.0"}else if(isX(D)){f="<"+y+"."+(+v+1)+".0"}else if(M){f="<="+y+"."+v+"."+D+"-"+M}else{f="<="+f}return(t+" "+f).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;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false};function testSet(e,t,i){for(var o=0;o<e.length;o++){if(!e[o].test(t)){return false}}if(t.prerelease.length&&!i.includePrerelease){for(o=0;o<e.length;o++){n(e[o].semver);if(e[o].semver===ne){continue}if(e[o].semver.prerelease.length>0){var d=e[o].semver;if(d.major===t.major&&d.minor===t.minor&&d.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,n){try{t=new Range(t,n)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,n){var i=null;var o=null;try{var d=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(d.test(e)){if(!i||o.compare(e)===-1){i=e;o=new SemVer(i,n)}}}));return i}t.minSatisfying=minSatisfying;function minSatisfying(e,t,n){var i=null;var o=null;try{var d=new Range(t,n)}catch(e){return null}e.forEach((function(e){if(d.test(e)){if(!i||o.compare(e)===1){i=e;o=new SemVer(i,n)}}}));return i}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var n=new SemVer("0.0.0");if(e.test(n)){return n}n=new SemVer("0.0.0-0");if(e.test(n)){return n}n=null;for(var i=0;i<e.set.length;++i){var o=e.set[i];o.forEach((function(e){var t=new SemVer(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(!n||gt(n,t)){n=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n)){return n}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,n){return outside(e,t,"<",n)}t.gtr=gtr;function gtr(e,t,n){return outside(e,t,">",n)}t.outside=outside;function outside(e,t,n,i){e=new SemVer(e,i);t=new Range(t,i);var o,d,p,f,y;switch(n){case">":o=gt;d=lte;p=lt;f=">";y=">=";break;case"<":o=lt;d=gte;p=gt;f="<";y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,i)){return false}for(var v=0;v<t.set.length;++v){var D=t.set[v];var M=null;var U=null;D.forEach((function(e){if(e.semver===ne){e=new Comparator(">=0.0.0")}M=M||e;U=U||e;if(o(e.semver,M.semver,i)){M=e}else if(p(e.semver,U.semver,i)){U=e}}));if(M.operator===f||M.operator===y){return false}if((!U.operator||U.operator===f)&&d(e,U.semver)){return false}else if(U.operator===y&&p(e,U.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var n=parse(e,t);return n&&n.prerelease.length?n.prerelease:null}t.intersects=intersects;function intersects(e,t,n){e=new Range(e,n);t=new Range(t,n);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};var n=null;if(!t.rtl){n=e.match(y[D.COERCE])}else{var i;while((i=y[D.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length)){if(!n||i.index+i[0].length!==n.index+n[0].length){n=i}y[D.COERCERTL].lastIndex=i.index+i[1].length+i[2].length}y[D.COERCERTL].lastIndex=-1}if(n===null){return null}return parse(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},31577:e=>{var t;var n;var i;var o;var d;var p;var f;var y;var v;var D;var M;var U;var j;var V;var K;var ee;var te;var re;var ne;var se;var ie;var oe;var ae;var Ae;var ce;var le;var ue;var de;var pe;var ge;var fe;var he;(function(t){var n=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(n,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(n,createExporter(e.exports)))}else{t(createExporter(n))}function createExporter(e,t){if(e!==n){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(n,i){return e[n]=t?t(n,i):i}}})((function(e){var me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");me(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}return e};i=function(e,t){var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0)n[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++){if(t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o]))n[i[o]]=e[i[o]]}return n};o=function(e,t,n,i){var o=arguments.length,d=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,n):i,p;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")d=Reflect.decorate(e,t,n,i);else for(var f=e.length-1;f>=0;f--)if(p=e[f])d=(o<3?p(d):o>3?p(t,n,d):p(t,n))||d;return o>3&&d&&Object.defineProperty(t,n,d),d};d=function(e,t){return function(n,i){t(n,i,e)}};p=function(e,t,n,i,o,d){function accept(e){if(e!==void 0&&typeof e!=="function")throw new TypeError("Function expected");return e}var p=i.kind,f=p==="getter"?"get":p==="setter"?"set":"value";var y=!t&&e?i["static"]?e:e.prototype:null;var v=t||(y?Object.getOwnPropertyDescriptor(y,i.name):{});var D,M=false;for(var U=n.length-1;U>=0;U--){var j={};for(var V in i)j[V]=V==="access"?{}:i[V];for(var V in i.access)j.access[V]=i.access[V];j.addInitializer=function(e){if(M)throw new TypeError("Cannot add initializers after decoration has completed");d.push(accept(e||null))};var K=(0,n[U])(p==="accessor"?{get:v.get,set:v.set}:v[f],j);if(p==="accessor"){if(K===void 0)continue;if(K===null||typeof K!=="object")throw new TypeError("Object expected");if(D=accept(K.get))v.get=D;if(D=accept(K.set))v.set=D;if(D=accept(K.init))o.unshift(D)}else if(D=accept(K)){if(p==="field")o.unshift(D);else v[f]=D}}if(y)Object.defineProperty(y,i.name,v);M=true};f=function(e,t,n){var i=arguments.length>2;for(var o=0;o<t.length;o++){n=i?t[o].call(e,n):t[o].call(e)}return i?n:void 0};y=function(e){return typeof e==="symbol"?e:"".concat(e)};v=function(e,t,n){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:true,value:n?"".concat(n," ",t):t})};D=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};M=function(e,t,n,i){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function fulfilled(e){try{step(i.next(e))}catch(e){o(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){o(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};U=function(e,t){var n={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},i,o,d,p=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return p.next=verb(0),p["throw"]=verb(1),p["return"]=verb(2),typeof Symbol==="function"&&(p[Symbol.iterator]=function(){return this}),p;function verb(e){return function(t){return step([e,t])}}function step(f){if(i)throw new TypeError("Generator is already executing.");while(p&&(p=0,f[0]&&(n=0)),n)try{if(i=1,o&&(d=f[0]&2?o["return"]:f[0]?o["throw"]||((d=o["return"])&&d.call(o),0):o.next)&&!(d=d.call(o,f[1])).done)return d;if(o=0,d)f=[f[0]&2,d.value];switch(f[0]){case 0:case 1:d=f;break;case 4:n.label++;return{value:f[1],done:false};case 5:n.label++;o=f[1];f=[0];continue;case 7:f=n.ops.pop();n.trys.pop();continue;default:if(!(d=n.trys,d=d.length>0&&d[d.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!d||f[1]>d[0]&&f[1]<d[3])){n.label=f[1];break}if(f[0]===6&&n.label<d[1]){n.label=d[1];d=f;break}if(d&&n.label<d[2]){n.label=d[2];n.ops.push(f);break}if(d[2])n.ops.pop();n.trys.pop();continue}f=t.call(e,n)}catch(e){f=[6,e];o=0}finally{i=d=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};j=function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))pe(t,e,n)};pe=Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]};V=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&i>=e.length)e=void 0;return{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};K=function(e,t){var n=typeof Symbol==="function"&&e[Symbol.iterator];if(!n)return e;var i=n.call(e),o,d=[],p;try{while((t===void 0||t-- >0)&&!(o=i.next()).done)d.push(o.value)}catch(e){p={error:e}}finally{try{if(o&&!o.done&&(n=i["return"]))n.call(i)}finally{if(p)throw p.error}}return d};ee=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(K(arguments[t]));return e};te=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var i=Array(e),o=0,t=0;t<n;t++)for(var d=arguments[t],p=0,f=d.length;p<f;p++,o++)i[o]=d[p];return i};re=function(e,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,d;i<o;i++){if(d||!(i in t)){if(!d)d=Array.prototype.slice.call(t,0,i);d[i]=t[i]}}return e.concat(d||Array.prototype.slice.call(t))};ne=function(e){return this instanceof ne?(this.v=e,this):new ne(e)};se=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),o,d=[];return o=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),verb("next"),verb("throw"),verb("return",awaitReturn),o[Symbol.asyncIterator]=function(){return this},o;function awaitReturn(e){return function(t){return Promise.resolve(t).then(e,reject)}}function verb(e,t){if(i[e]){o[e]=function(t){return new Promise((function(n,i){d.push([e,t,n,i])>1||resume(e,t)}))};if(t)o[e]=t(o[e])}}function resume(e,t){try{step(i[e](t))}catch(e){settle(d[0][3],e)}}function step(e){e.value instanceof ne?Promise.resolve(e.value.v).then(fulfill,reject):settle(d[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),d.shift(),d.length)resume(d[0][0],d[0][1])}};ie=function(e){var t,n;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(i,o){t[i]=e[i]?function(t){return(n=!n)?{value:ne(e[i](t)),done:false}:o?o(t):t}:o}};oe=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof V==="function"?V(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(t){n[t]=e[t]&&function(n){return new Promise((function(i,o){n=e[t](n),settle(i,o,n.done,n.value)}))}}function settle(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)}};ae=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var ye=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t};var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[t.length]=n;return t};return ownKeys(e)};Ae=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=ownKeys(e),i=0;i<n.length;i++)if(n[i]!=="default")pe(t,e,n[i]);ye(t,e);return t};ce=function(e){return e&&e.__esModule?e:{default:e}};le=function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)};ue=function(e,t,n,i,o){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?o.call(e,n):o?o.value=n:t.set(e,n),n};de=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)};ge=function(e,t,n){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw new TypeError("Object expected.");var i,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(i===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose];if(n)o=i}if(typeof i!=="function")throw new TypeError("Object not disposable.");if(o)i=function(){try{o.call(this)}catch(e){return Promise.reject(e)}};e.stack.push({value:t,dispose:i,async:n})}else if(n){e.stack.push({async:true})}return t};var Ee=typeof SuppressedError==="function"?SuppressedError:function(e,t,n){var i=new Error(n);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};fe=function(e){function fail(t){e.error=e.hasError?new Ee(t,e.error,"An error was suppressed during disposal."):t;e.hasError=true}var t,n=0;function next(){while(t=e.stack.pop()){try{if(!t.async&&n===1)return n=0,e.stack.push(t),Promise.resolve().then(next);if(t.dispose){var i=t.dispose.call(t.value);if(t.async)return n|=2,Promise.resolve(i).then(next,(function(e){fail(e);return next()}))}else n|=1}catch(e){fail(e)}}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return next()};he=function(e,t){if(typeof e==="string"&&/^\.\.?\//.test(e)){return e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,i,o,d){return n?t?".jsx":".js":i&&(!o||!d)?e:i+o+"."+d.toLowerCase()+"js"}))}return e};e("__extends",t);e("__assign",n);e("__rest",i);e("__decorate",o);e("__param",d);e("__esDecorate",p);e("__runInitializers",f);e("__propKey",y);e("__setFunctionName",v);e("__metadata",D);e("__awaiter",M);e("__generator",U);e("__exportStar",j);e("__createBinding",pe);e("__values",V);e("__read",K);e("__spread",ee);e("__spreadArrays",te);e("__spreadArray",re);e("__await",ne);e("__asyncGenerator",se);e("__asyncDelegator",ie);e("__asyncValues",oe);e("__makeTemplateObject",ae);e("__importStar",Ae);e("__importDefault",ce);e("__classPrivateFieldGet",le);e("__classPrivateFieldSet",ue);e("__classPrivateFieldIn",de);e("__addDisposableResource",ge);e("__disposeResources",fe);e("__rewriteRelativeImportExtension",he)}));0&&0},16124:(e,t,n)=>{e.exports=n(33660)},33660:(e,t,n)=>{"use strict";var i=n(69278);var o=n(64756);var d=n(58611);var p=n(65692);var f=n(24434);var y=n(42613);var v=n(39023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=d.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=d.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=p.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=p.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||d.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,n,i,o){var d=toOptions(n,i,o);for(var p=0,f=t.requests.length;p<f;++p){var y=t.requests[p];if(y.host===d.host&&y.port===d.port){t.requests.splice(p,1);y.request.onSocket(e);return}}e.destroy();t.removeSocket(e)}))}v.inherits(TunnelingAgent,f.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(e,t,n,i){var o=this;var d=mergeOptions({request:e},o.options,toOptions(t,n,i));if(o.sockets.length>=this.maxSockets){o.requests.push(d);return}o.createSocket(d,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){o.emit("free",t,d)}function onCloseOrRemove(e){o.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var n=this;var i={};n.sockets.push(i);var o=mergeOptions({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){o.localAddress=e.localAddress}if(o.proxyAuth){o.headers=o.headers||{};o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")}D("making CONNECT request");var d=n.request(o);d.useChunkedEncodingByDefault=false;d.once("response",onResponse);d.once("upgrade",onUpgrade);d.once("connect",onConnect);d.once("error",onError);d.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,n){process.nextTick((function(){onConnect(e,t,n)}))}function onConnect(o,p,f){d.removeAllListeners();p.removeAllListeners();if(o.statusCode!==200){D("tunneling socket could not be established, statusCode=%d",o.statusCode);p.destroy();var y=new Error("tunneling socket could not be established, "+"statusCode="+o.statusCode);y.code="ECONNRESET";e.request.emit("error",y);n.removeSocket(i);return}if(f.length>0){D("got illegal response body from proxy");p.destroy();var y=new Error("got illegal response body from proxy");y.code="ECONNRESET";e.request.emit("error",y);n.removeSocket(i);return}D("tunneling connection has established");n.sockets[n.sockets.indexOf(i)]=p;return t(p)}function onError(t){d.removeAllListeners();D("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var o=new Error("tunneling socket could not be established, "+"cause="+t.message);o.code="ECONNRESET";e.request.emit("error",o);n.removeSocket(i)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var n=this.requests.shift();if(n){this.createSocket(n,(function(e){n.request.onSocket(e)}))}};function createSecureSocket(e,t){var n=this;TunnelingAgent.prototype.createSocket.call(n,e,(function(i){var d=e.request.getHeader("host");var p=mergeOptions({},n.options,{socket:i,servername:d?d.replace(/:.*$/,""):e.host});var f=o.connect(0,p);n.sockets[n.sockets.indexOf(i)]=f;t(f)}))}function toOptions(e,t,n){if(typeof e==="string"){return{host:e,port:t,localAddress:n}}return e}function mergeOptions(e){for(var t=1,n=arguments.length;t<n;++t){var i=arguments[t];if(typeof i==="object"){var o=Object.keys(i);for(var d=0,p=o.length;d<p;++d){var f=o[d];if(i[f]!==undefined){e[f]=i[f]}}}}return e}var D;if(process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)){D=function(){var e=Array.prototype.slice.call(arguments);if(typeof e[0]==="string"){e[0]="TUNNEL: "+e[0]}else{e.unshift("TUNNEL:")}console.error.apply(console,e)}}else{D=function(){}}t.debug=D},40298:(e,t,n)=>{"use strict";const i=n(60439);const o=n(53553);const d=n(61581);const p=n(6086);const f=n(33375);const y=n(28603);const v=n(84606);const{InvalidArgumentError:D}=d;const M=n(88725);const U=n(20110);const j=n(74163);const V=n(35343);const K=n(83722);const ee=n(82255);const te=n(46278);const re=n(92483);const{getGlobalDispatcher:ne,setGlobalDispatcher:se}=n(7075);const ie=n(41858);const oe=n(63897);const ae=n(99509);let Ae;try{n(76982);Ae=true}catch{Ae=false}Object.assign(o.prototype,M);e.exports.Dispatcher=o;e.exports.Client=i;e.exports.Pool=p;e.exports.BalancedPool=f;e.exports.Agent=y;e.exports.ProxyAgent=te;e.exports.RetryHandler=re;e.exports.DecoratorHandler=ie;e.exports.RedirectHandler=oe;e.exports.createRedirectInterceptor=ae;e.exports.buildConnector=U;e.exports.errors=d;function makeDispatcher(e){return(t,n,i)=>{if(typeof n==="function"){i=n;n=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new D("invalid url")}if(n!=null&&typeof n!=="object"){throw new D("invalid opts")}if(n&&n.path!=null){if(typeof n.path!=="string"){throw new D("invalid opts.path")}let e=n.path;if(!n.path.startsWith("/")){e=`/${e}`}t=new URL(v.parseOrigin(t).origin+e)}else{if(!n){n=typeof t==="object"?t:{}}t=v.parseURL(t)}const{agent:o,dispatcher:d=ne()}=n;if(o){throw new D("unsupported opts.agent. Did you mean opts.client?")}return e.call(d,{...n,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:n.method||(n.body?"PUT":"GET")},i)}}e.exports.setGlobalDispatcher=se;e.exports.getGlobalDispatcher=ne;if(v.nodeMajor>16||v.nodeMajor===16&&v.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=n(79401).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=n(12223).Headers;e.exports.Response=n(96062).Response;e.exports.Request=n(62204).Request;e.exports.FormData=n(61187).FormData;e.exports.File=n(74091).File;e.exports.FileReader=n(9086).FileReader;const{setGlobalOrigin:i,getGlobalOrigin:o}=n(50742);e.exports.setGlobalOrigin=i;e.exports.getGlobalOrigin=o;const{CacheStorage:d}=n(78400);const{kConstruct:p}=n(5914);e.exports.caches=new d(p)}if(v.nodeMajor>=16){const{deleteCookie:t,getCookies:i,getSetCookies:o,setCookie:d}=n(47426);e.exports.deleteCookie=t;e.exports.getCookies=i;e.exports.getSetCookies=o;e.exports.setCookie=d;const{parseMIMEType:p,serializeAMimeType:f}=n(46960);e.exports.parseMIMEType=p;e.exports.serializeAMimeType=f}if(v.nodeMajor>=18&&Ae){const{WebSocket:t}=n(23853);e.exports.WebSocket=t}e.exports.request=makeDispatcher(M.request);e.exports.stream=makeDispatcher(M.stream);e.exports.pipeline=makeDispatcher(M.pipeline);e.exports.connect=makeDispatcher(M.connect);e.exports.upgrade=makeDispatcher(M.upgrade);e.exports.MockClient=j;e.exports.MockPool=K;e.exports.MockAgent=V;e.exports.mockErrors=ee},28603:(e,t,n)=>{"use strict";const{InvalidArgumentError:i}=n(61581);const{kClients:o,kRunning:d,kClose:p,kDestroy:f,kDispatch:y,kInterceptors:v}=n(45773);const D=n(19787);const M=n(6086);const U=n(60439);const j=n(84606);const V=n(99509);const{WeakRef:K,FinalizationRegistry:ee}=n(91408)();const te=Symbol("onConnect");const re=Symbol("onDisconnect");const ne=Symbol("onConnectionError");const se=Symbol("maxRedirections");const ie=Symbol("onDrain");const oe=Symbol("factory");const ae=Symbol("finalizer");const Ae=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new U(e,t):new M(e,t)}class Agent extends D{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:n,...d}={}){super();if(typeof e!=="function"){throw new i("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new i("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new i("maxRedirections must be a positive number")}if(n&&typeof n!=="function"){n={...n}}this[v]=d.interceptors&&d.interceptors.Agent&&Array.isArray(d.interceptors.Agent)?d.interceptors.Agent:[V({maxRedirections:t})];this[Ae]={...j.deepClone(d),connect:n};this[Ae].interceptors=d.interceptors?{...d.interceptors}:undefined;this[se]=t;this[oe]=e;this[o]=new Map;this[ae]=new ee((e=>{const t=this[o].get(e);if(t!==undefined&&t.deref()===undefined){this[o].delete(e)}}));const p=this;this[ie]=(e,t)=>{p.emit("drain",e,[p,...t])};this[te]=(e,t)=>{p.emit("connect",e,[p,...t])};this[re]=(e,t,n)=>{p.emit("disconnect",e,[p,...t],n)};this[ne]=(e,t,n)=>{p.emit("connectionError",e,[p,...t],n)}}get[d](){let e=0;for(const t of this[o].values()){const n=t.deref();if(n){e+=n[d]}}return e}[y](e,t){let n;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){n=String(e.origin)}else{throw new i("opts.origin must be a non-empty string or URL.")}const d=this[o].get(n);let p=d?d.deref():null;if(!p){p=this[oe](e.origin,this[Ae]).on("drain",this[ie]).on("connect",this[te]).on("disconnect",this[re]).on("connectionError",this[ne]);this[o].set(n,new K(p));this[ae].register(p,n)}return p.dispatch(e,t)}async[p](){const e=[];for(const t of this[o].values()){const n=t.deref();if(n){e.push(n.close())}}await Promise.all(e)}async[f](e){const t=[];for(const n of this[o].values()){const i=n.deref();if(i){t.push(i.destroy(e))}}await Promise.all(t)}}e.exports=Agent},38788:(e,t,n)=>{const{addAbortListener:i}=n(84606);const{RequestAbortedError:o}=n(61581);const d=Symbol("kListener");const p=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new o)}}function addSignal(e,t){e[p]=null;e[d]=null;if(!t){return}if(t.aborted){abort(e);return}e[p]=t;e[d]=()=>{abort(e)};i(e[p],e[d])}function removeSignal(e){if(!e[p]){return}if("removeEventListener"in e[p]){e[p].removeEventListener("abort",e[d])}else{e[p].removeListener("abort",e[d])}e[p]=null;e[d]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},23290:(e,t,n)=>{"use strict";const{AsyncResource:i}=n(90290);const{InvalidArgumentError:o,RequestAbortedError:d,SocketError:p}=n(61581);const f=n(84606);const{addSignal:y,removeSignal:v}=n(38788);class ConnectHandler extends i{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid callback")}const{signal:n,opaque:i,responseHeaders:d}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=i||null;this.responseHeaders=d||null;this.callback=t;this.abort=null;y(this,n)}onConnect(e,t){if(!this.callback){throw new d}this.abort=e;this.context=t}onHeaders(){throw new p("bad connect",null)}onUpgrade(e,t,n){const{callback:i,opaque:o,context:d}=this;v(this);this.callback=null;let p=t;if(p!=null){p=this.responseHeaders==="raw"?f.parseRawHeaders(t):f.parseHeaders(t)}this.runInAsyncScope(i,null,null,{statusCode:e,headers:p,socket:n,opaque:o,context:d})}onError(e){const{callback:t,opaque:n}=this;v(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,n)=>{connect.call(this,e,((e,i)=>e?n(e):t(i)))}))}try{const n=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},n)}catch(n){if(typeof t!=="function"){throw n}const i=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:i})))}}e.exports=connect},69840:(e,t,n)=>{"use strict";const{Readable:i,Duplex:o,PassThrough:d}=n(2203);const{InvalidArgumentError:p,InvalidReturnValueError:f,RequestAbortedError:y}=n(61581);const v=n(84606);const{AsyncResource:D}=n(90290);const{addSignal:M,removeSignal:U}=n(38788);const j=n(42613);const V=Symbol("resume");class PipelineRequest extends i{constructor(){super({autoDestroy:true});this[V]=null}_read(){const{[V]:e}=this;if(e){this[V]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends i{constructor(e){super({autoDestroy:true});this[V]=e}_read(){this[V]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new y}t(e)}}class PipelineHandler extends D{constructor(e,t){if(!e||typeof e!=="object"){throw new p("invalid opts")}if(typeof t!=="function"){throw new p("invalid handler")}const{signal:n,method:i,opaque:d,onInfo:f,responseHeaders:D}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new p("signal must be an EventEmitter or EventTarget")}if(i==="CONNECT"){throw new p("invalid method")}if(f&&typeof f!=="function"){throw new p("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=d||null;this.responseHeaders=D||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=f||null;this.req=(new PipelineRequest).on("error",v.nop);this.ret=new o({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,n)=>{const{req:i}=this;if(i.push(e,t)||i._readableState.destroyed){n()}else{i[V]=n}},destroy:(e,t)=>{const{body:n,req:i,res:o,ret:d,abort:p}=this;if(!e&&!d._readableState.endEmitted){e=new y}if(p&&e){p()}v.destroy(n,e);v.destroy(i,e);v.destroy(o,e);U(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;M(this,n)}onConnect(e,t){const{ret:n,res:i}=this;j(!i,"pipeline cannot be retried");if(n.destroyed){throw new y}this.abort=e;this.context=t}onHeaders(e,t,n){const{opaque:i,handler:o,context:d}=this;if(e<200){if(this.onInfo){const n=this.responseHeaders==="raw"?v.parseRawHeaders(t):v.parseHeaders(t);this.onInfo({statusCode:e,headers:n})}return}this.res=new PipelineResponse(n);let p;try{this.handler=null;const n=this.responseHeaders==="raw"?v.parseRawHeaders(t):v.parseHeaders(t);p=this.runInAsyncScope(o,null,{statusCode:e,headers:n,opaque:i,body:this.res,context:d})}catch(e){this.res.on("error",v.nop);throw e}if(!p||typeof p.on!=="function"){throw new f("expected Readable")}p.on("data",(e=>{const{ret:t,body:n}=this;if(!t.push(e)&&n.pause){n.pause()}})).on("error",(e=>{const{ret:t}=this;v.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){v.destroy(e,new y)}}));this.body=p}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;v.destroy(t,e)}}function pipeline(e,t){try{const n=new PipelineHandler(e,t);this.dispatch({...e,body:n.req},n);return n.ret}catch(e){return(new d).destroy(e)}}e.exports=pipeline},33333:(e,t,n)=>{"use strict";const i=n(71709);const{InvalidArgumentError:o,RequestAbortedError:d}=n(61581);const p=n(84606);const{getResolveErrorBodyCallback:f}=n(70757);const{AsyncResource:y}=n(90290);const{addSignal:v,removeSignal:D}=n(38788);class RequestHandler extends y{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:n,method:i,opaque:d,body:f,onInfo:y,responseHeaders:D,throwOnError:M,highWaterMark:U}=e;try{if(typeof t!=="function"){throw new o("invalid callback")}if(U&&(typeof U!=="number"||U<0)){throw new o("invalid highWaterMark")}if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(i==="CONNECT"){throw new o("invalid method")}if(y&&typeof y!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(p.isStream(f)){p.destroy(f.on("error",p.nop),e)}throw e}this.responseHeaders=D||null;this.opaque=d||null;this.callback=t;this.res=null;this.abort=null;this.body=f;this.trailers={};this.context=null;this.onInfo=y||null;this.throwOnError=M;this.highWaterMark=U;if(p.isStream(f)){f.on("error",(e=>{this.onError(e)}))}v(this,n)}onConnect(e,t){if(!this.callback){throw new d}this.abort=e;this.context=t}onHeaders(e,t,n,o){const{callback:d,opaque:y,abort:v,context:D,responseHeaders:M,highWaterMark:U}=this;const j=M==="raw"?p.parseRawHeaders(t):p.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:j})}return}const V=M==="raw"?p.parseHeaders(t):j;const K=V["content-type"];const ee=new i({resume:n,abort:v,contentType:K,highWaterMark:U});this.callback=null;this.res=ee;if(d!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(f,null,{callback:d,body:ee,contentType:K,statusCode:e,statusMessage:o,headers:j})}else{this.runInAsyncScope(d,null,null,{statusCode:e,headers:j,trailers:this.trailers,opaque:y,body:ee,context:D})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;D(this);p.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:n,body:i,opaque:o}=this;D(this);if(n){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(n,null,e,{opaque:o})}))}if(t){this.res=null;queueMicrotask((()=>{p.destroy(t,e)}))}if(i){this.body=null;p.destroy(i,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,n)=>{request.call(this,e,((e,i)=>e?n(e):t(i)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(n){if(typeof t!=="function"){throw n}const i=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:i})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},42310:(e,t,n)=>{"use strict";const{finished:i,PassThrough:o}=n(2203);const{InvalidArgumentError:d,InvalidReturnValueError:p,RequestAbortedError:f}=n(61581);const y=n(84606);const{getResolveErrorBodyCallback:v}=n(70757);const{AsyncResource:D}=n(90290);const{addSignal:M,removeSignal:U}=n(38788);class StreamHandler extends D{constructor(e,t,n){if(!e||typeof e!=="object"){throw new d("invalid opts")}const{signal:i,method:o,opaque:p,body:f,onInfo:v,responseHeaders:D,throwOnError:U}=e;try{if(typeof n!=="function"){throw new d("invalid callback")}if(typeof t!=="function"){throw new d("invalid factory")}if(i&&typeof i.on!=="function"&&typeof i.addEventListener!=="function"){throw new d("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new d("invalid method")}if(v&&typeof v!=="function"){throw new d("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(y.isStream(f)){y.destroy(f.on("error",y.nop),e)}throw e}this.responseHeaders=D||null;this.opaque=p||null;this.factory=t;this.callback=n;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=f;this.onInfo=v||null;this.throwOnError=U||false;if(y.isStream(f)){f.on("error",(e=>{this.onError(e)}))}M(this,i)}onConnect(e,t){if(!this.callback){throw new f}this.abort=e;this.context=t}onHeaders(e,t,n,d){const{factory:f,opaque:D,context:M,callback:U,responseHeaders:j}=this;const V=j==="raw"?y.parseRawHeaders(t):y.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:V})}return}this.factory=null;let K;if(this.throwOnError&&e>=400){const n=j==="raw"?y.parseHeaders(t):V;const i=n["content-type"];K=new o;this.callback=null;this.runInAsyncScope(v,null,{callback:U,body:K,contentType:i,statusCode:e,statusMessage:d,headers:V})}else{if(f===null){return}K=this.runInAsyncScope(f,null,{statusCode:e,headers:V,opaque:D,context:M});if(!K||typeof K.write!=="function"||typeof K.end!=="function"||typeof K.on!=="function"){throw new p("expected Writable")}i(K,{readable:false},(e=>{const{callback:t,res:n,opaque:i,trailers:o,abort:d}=this;this.res=null;if(e||!n.readable){y.destroy(n,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:i,trailers:o});if(e){d()}}))}K.on("drain",n);this.res=K;const ee=K.writableNeedDrain!==undefined?K.writableNeedDrain:K._writableState&&K._writableState.needDrain;return ee!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;U(this);if(!t){return}this.trailers=y.parseHeaders(e);t.end()}onError(e){const{res:t,callback:n,opaque:i,body:o}=this;U(this);this.factory=null;if(t){this.res=null;y.destroy(t,e)}else if(n){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(n,null,e,{opaque:i})}))}if(o){this.body=null;y.destroy(o,e)}}}function stream(e,t,n){if(n===undefined){return new Promise(((n,i)=>{stream.call(this,e,t,((e,t)=>e?i(e):n(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,n))}catch(t){if(typeof n!=="function"){throw t}const i=e&&e.opaque;queueMicrotask((()=>n(t,{opaque:i})))}}e.exports=stream},67236:(e,t,n)=>{"use strict";const{InvalidArgumentError:i,RequestAbortedError:o,SocketError:d}=n(61581);const{AsyncResource:p}=n(90290);const f=n(84606);const{addSignal:y,removeSignal:v}=n(38788);const D=n(42613);class UpgradeHandler extends p{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid callback")}const{signal:n,opaque:o,responseHeaders:d}=e;if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=d||null;this.opaque=o||null;this.callback=t;this.abort=null;this.context=null;y(this,n)}onConnect(e,t){if(!this.callback){throw new o}this.abort=e;this.context=null}onHeaders(){throw new d("bad upgrade",null)}onUpgrade(e,t,n){const{callback:i,opaque:o,context:d}=this;D.strictEqual(e,101);v(this);this.callback=null;const p=this.responseHeaders==="raw"?f.parseRawHeaders(t):f.parseHeaders(t);this.runInAsyncScope(i,null,null,{headers:p,socket:n,opaque:o,context:d})}onError(e){const{callback:t,opaque:n}=this;v(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,n)=>{upgrade.call(this,e,((e,i)=>e?n(e):t(i)))}))}try{const n=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},n)}catch(n){if(typeof t!=="function"){throw n}const i=e&&e.opaque;queueMicrotask((()=>t(n,{opaque:i})))}}e.exports=upgrade},88725:(e,t,n)=>{"use strict";e.exports.request=n(33333);e.exports.stream=n(42310);e.exports.pipeline=n(69840);e.exports.upgrade=n(67236);e.exports.connect=n(23290)},71709:(e,t,n)=>{"use strict";const i=n(42613);const{Readable:o}=n(2203);const{RequestAbortedError:d,NotSupportedError:p,InvalidArgumentError:f}=n(61581);const y=n(84606);const{ReadableStreamFrom:v,toUSVString:D}=n(84606);let M;const U=Symbol("kConsume");const j=Symbol("kReading");const V=Symbol("kBody");const K=Symbol("abort");const ee=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends o{constructor({resume:e,abort:t,contentType:n="",highWaterMark:i=64*1024}){super({autoDestroy:true,read:e,highWaterMark:i});this._readableState.dataEmitted=false;this[K]=t;this[U]=null;this[V]=null;this[ee]=n;this[j]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new d}if(e){this[K]()}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[j]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const n=super.off(e,...t);if(e==="data"||e==="readable"){this[j]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return n}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[U]&&e!==null&&this.readableLength===0){consumePush(this[U],e);return this[j]?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 p}get bodyUsed(){return y.isDisturbed(this)}get body(){if(!this[V]){this[V]=v(this);if(this[U]){this[V].getReader();i(this[V].locked)}}return this[V]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const n=e&&e.signal;if(n){try{if(typeof n!=="object"||!("aborted"in n)){throw new f("signal must be an AbortSignal")}y.throwIfAborted(n)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,i)=>{const o=n?y.addAbortListener(n,(()=>{this.destroy()})):noop;this.on("close",(function(){o();if(n&&n.aborted){i(n.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}};function isLocked(e){return e[V]&&e[V].locked===true||e[U]}function isUnusable(e){return y.isDisturbed(e)||isLocked(e)}async function consume(e,t){if(isUnusable(e)){throw new TypeError("unusable")}i(!e[U]);return new Promise(((n,i)=>{e[U]={type:t,stream:e,resolve:n,reject:i,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[U],e)})).on("close",(function(){if(this[U].body!==null){consumeFinish(this[U],new d)}}));process.nextTick(consumeStart,e[U])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const n of t.buffer){consumePush(e,n)}if(t.endEmitted){consumeEnd(this[U])}else{e.stream.on("end",(function(){consumeEnd(this[U])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:t,body:i,resolve:o,stream:d,length:p}=e;try{if(t==="text"){o(D(Buffer.concat(i)))}else if(t==="json"){o(JSON.parse(Buffer.concat(i)))}else if(t==="arrayBuffer"){const e=new Uint8Array(p);let t=0;for(const n of i){e.set(n,t);t+=n.byteLength}o(e.buffer)}else if(t==="blob"){if(!M){M=n(20181).Blob}o(new M(i,{type:d[ee]}))}consumeFinish(e)}catch(e){d.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}},70757:(e,t,n)=>{const i=n(42613);const{ResponseStatusCodeError:o}=n(61581);const{toUSVString:d}=n(84606);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:n,statusCode:p,statusMessage:f,headers:y}){i(t);let v=[];let D=0;for await(const e of t){v.push(e);D+=e.length;if(D>128*1024){v=null;break}}if(p===204||!n||!v){process.nextTick(e,new o(`Response status code ${p}${f?`: ${f}`:""}`,p,y));return}try{if(n.startsWith("application/json")){const t=JSON.parse(d(Buffer.concat(v)));process.nextTick(e,new o(`Response status code ${p}${f?`: ${f}`:""}`,p,y,t));return}if(n.startsWith("text/")){const t=d(Buffer.concat(v));process.nextTick(e,new o(`Response status code ${p}${f?`: ${f}`:""}`,p,y,t));return}}catch(e){}process.nextTick(e,new o(`Response status code ${p}${f?`: ${f}`:""}`,p,y))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},33375:(e,t,n)=>{"use strict";const{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:o}=n(61581);const{PoolBase:d,kClients:p,kNeedDrain:f,kAddClient:y,kRemoveClient:v,kGetDispatcher:D}=n(49974);const M=n(6086);const{kUrl:U,kInterceptors:j}=n(45773);const{parseOrigin:V}=n(84606);const K=Symbol("factory");const ee=Symbol("options");const te=Symbol("kGreatestCommonDivisor");const re=Symbol("kCurrentWeight");const ne=Symbol("kIndex");const se=Symbol("kWeight");const ie=Symbol("kMaxWeightPerServer");const oe=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(t===0)return e;return getGreatestCommonDivisor(t,e%t)}function defaultFactory(e,t){return new M(e,t)}class BalancedPool extends d{constructor(e=[],{factory:t=defaultFactory,...n}={}){super();this[ee]=n;this[ne]=-1;this[re]=0;this[ie]=this[ee].maxWeightPerServer||100;this[oe]=this[ee].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new o("factory must be a function.")}this[j]=n.interceptors&&n.interceptors.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[];this[K]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=V(e).origin;if(this[p].find((e=>e[U].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const n=this[K](t,Object.assign({},this[ee]));this[y](n);n.on("connect",(()=>{n[se]=Math.min(this[ie],n[se]+this[oe])}));n.on("connectionError",(()=>{n[se]=Math.max(1,n[se]-this[oe]);this._updateBalancedPoolStats()}));n.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){n[se]=Math.max(1,n[se]-this[oe]);this._updateBalancedPoolStats()}}));for(const e of this[p]){e[se]=this[ie]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[te]=this[p].map((e=>e[se])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=V(e).origin;const n=this[p].find((e=>e[U].origin===t&&e.closed!==true&&e.destroyed!==true));if(n){this[v](n)}return this}get upstreams(){return this[p].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[U].origin))}[D](){if(this[p].length===0){throw new i}const e=this[p].find((e=>!e[f]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[p].map((e=>e[f])).reduce(((e,t)=>e&&t),true);if(t){return}let n=0;let o=this[p].findIndex((e=>!e[f]));while(n++<this[p].length){this[ne]=(this[ne]+1)%this[p].length;const e=this[p][this[ne]];if(e[se]>this[p][o][se]&&!e[f]){o=this[ne]}if(this[ne]===0){this[re]=this[re]-this[te];if(this[re]<=0){this[re]=this[ie]}}if(e[se]>=this[re]&&!e[f]){return e}}this[re]=this[p][o][se];this[ne]=o;return this[p][o]}}e.exports=BalancedPool},13761:(e,t,n)=>{"use strict";const{kConstruct:i}=n(5914);const{urlEquals:o,fieldValues:d}=n(83175);const{kEnumerableProperty:p,isDisturbed:f}=n(84606);const{kHeadersList:y}=n(45773);const{webidl:v}=n(33476);const{Response:D,cloneResponse:M}=n(96062);const{Request:U}=n(62204);const{kState:j,kHeaders:V,kGuard:K,kRealm:ee}=n(11088);const{fetching:te}=n(79401);const{urlIsHttpHttpsScheme:re,createDeferredPromise:ne,readAllBytes:se}=n(18961);const ie=n(42613);const{getGlobalDispatcher:oe}=n(7075);class Cache{#e;constructor(){if(arguments[0]!==i){v.illegalConstructor()}this.#e=arguments[1]}async match(e,t={}){v.brandCheck(this,Cache);v.argumentLengthCheck(arguments,1,{header:"Cache.match"});e=v.converters.RequestInfo(e);t=v.converters.CacheQueryOptions(t);const n=await this.matchAll(e,t);if(n.length===0){return}return n[0]}async matchAll(e=undefined,t={}){v.brandCheck(this,Cache);if(e!==undefined)e=v.converters.RequestInfo(e);t=v.converters.CacheQueryOptions(t);let n=null;if(e!==undefined){if(e instanceof U){n=e[j];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new U(e)[j]}}const i=[];if(e===undefined){for(const e of this.#e){i.push(e[1])}}else{const e=this.#t(n,t);for(const t of e){i.push(t[1])}}const o=[];for(const e of i){const t=new D(e.body?.source??null);const n=t[j].body;t[j]=e;t[j].body=n;t[V][y]=e.headersList;t[V][K]="immutable";o.push(t)}return Object.freeze(o)}async add(e){v.brandCheck(this,Cache);v.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=v.converters.RequestInfo(e);const t=[e];const n=this.addAll(t);return await n}async addAll(e){v.brandCheck(this,Cache);v.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=v.converters["sequence<RequestInfo>"](e);const t=[];const n=[];for(const t of e){if(typeof t==="string"){continue}const e=t[j];if(!re(e.url)||e.method!=="GET"){throw v.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const i=[];for(const o of e){const e=new U(o)[j];if(!re(e.url)){throw v.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";n.push(e);const p=ne();i.push(te({request:e,dispatcher:oe(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){p.reject(v.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=d(e.headersList.get("vary"));for(const e of t){if(e==="*"){p.reject(v.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of i){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){p.reject(new DOMException("aborted","AbortError"));return}p.resolve(e)}}));t.push(p.promise)}const o=Promise.all(t);const p=await o;const f=[];let y=0;for(const e of p){const t={type:"put",request:n[y],response:e};f.push(t);y++}const D=ne();let M=null;try{this.#r(f)}catch(e){M=e}queueMicrotask((()=>{if(M===null){D.resolve(undefined)}else{D.reject(M)}}));return D.promise}async put(e,t){v.brandCheck(this,Cache);v.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=v.converters.RequestInfo(e);t=v.converters.Response(t);let n=null;if(e instanceof U){n=e[j]}else{n=new U(e)[j]}if(!re(n.url)||n.method!=="GET"){throw v.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const i=t[j];if(i.status===206){throw v.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(i.headersList.contains("vary")){const e=d(i.headersList.get("vary"));for(const t of e){if(t==="*"){throw v.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(i.body&&(f(i.body.stream)||i.body.stream.locked)){throw v.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const o=M(i);const p=ne();if(i.body!=null){const e=i.body.stream;const t=e.getReader();se(t).then(p.resolve,p.reject)}else{p.resolve(undefined)}const y=[];const D={type:"put",request:n,response:o};y.push(D);const V=await p.promise;if(o.body!=null){o.body.source=V}const K=ne();let ee=null;try{this.#r(y)}catch(e){ee=e}queueMicrotask((()=>{if(ee===null){K.resolve()}else{K.reject(ee)}}));return K.promise}async delete(e,t={}){v.brandCheck(this,Cache);v.argumentLengthCheck(arguments,1,{header:"Cache.delete"});e=v.converters.RequestInfo(e);t=v.converters.CacheQueryOptions(t);let n=null;if(e instanceof U){n=e[j];if(n.method!=="GET"&&!t.ignoreMethod){return false}}else{ie(typeof e==="string");n=new U(e)[j]}const i=[];const o={type:"delete",request:n,options:t};i.push(o);const d=ne();let p=null;let f;try{f=this.#r(i)}catch(e){p=e}queueMicrotask((()=>{if(p===null){d.resolve(!!f?.length)}else{d.reject(p)}}));return d.promise}async keys(e=undefined,t={}){v.brandCheck(this,Cache);if(e!==undefined)e=v.converters.RequestInfo(e);t=v.converters.CacheQueryOptions(t);let n=null;if(e!==undefined){if(e instanceof U){n=e[j];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new U(e)[j]}}const i=ne();const o=[];if(e===undefined){for(const e of this.#e){o.push(e[0])}}else{const e=this.#t(n,t);for(const t of e){o.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of o){const n=new U("https://a");n[j]=t;n[V][y]=t.headersList;n[V][K]="immutable";n[ee]=t.client;e.push(n)}i.resolve(Object.freeze(e))}));return i.promise}#r(e){const t=this.#e;const n=[...t];const i=[];const o=[];try{for(const n of e){if(n.type!=="delete"&&n.type!=="put"){throw v.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(n.type==="delete"&&n.response!=null){throw v.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(n.request,n.options,i).length){throw new DOMException("???","InvalidStateError")}let e;if(n.type==="delete"){e=this.#t(n.request,n.options);if(e.length===0){return[]}for(const n of e){const e=t.indexOf(n);ie(e!==-1);t.splice(e,1)}}else if(n.type==="put"){if(n.response==null){throw v.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const o=n.request;if(!re(o.url)){throw v.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(o.method!=="GET"){throw v.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(n.options!=null){throw v.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(n.request);for(const n of e){const e=t.indexOf(n);ie(e!==-1);t.splice(e,1)}t.push([n.request,n.response]);i.push([n.request,n.response])}o.push([n.request,n.response])}return o}catch(e){this.#e.length=0;this.#e=n;throw e}}#t(e,t,n){const i=[];const o=n??this.#e;for(const n of o){const[o,d]=n;if(this.#n(e,o,d,t)){i.push(n)}}return i}#n(e,t,n=null,i){const p=new URL(e.url);const f=new URL(t.url);if(i?.ignoreSearch){f.search="";p.search=""}if(!o(p,f,true)){return false}if(n==null||i?.ignoreVary||!n.headersList.contains("vary")){return true}const y=d(n.headersList.get("vary"));for(const n of y){if(n==="*"){return false}const i=t.headersList.get(n);const o=e.headersList.get(n);if(i!==o){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:p,matchAll:p,add:p,addAll:p,put:p,delete:p,keys:p});const ae=[{key:"ignoreSearch",converter:v.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:v.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:v.converters.boolean,defaultValue:false}];v.converters.CacheQueryOptions=v.dictionaryConverter(ae);v.converters.MultiCacheQueryOptions=v.dictionaryConverter([...ae,{key:"cacheName",converter:v.converters.DOMString}]);v.converters.Response=v.interfaceConverter(D);v.converters["sequence<RequestInfo>"]=v.sequenceConverter(v.converters.RequestInfo);e.exports={Cache:Cache}},78400:(e,t,n)=>{"use strict";const{kConstruct:i}=n(5914);const{Cache:o}=n(13761);const{webidl:d}=n(33476);const{kEnumerableProperty:p}=n(84606);class CacheStorage{#s=new Map;constructor(){if(arguments[0]!==i){d.illegalConstructor()}}async match(e,t={}){d.brandCheck(this,CacheStorage);d.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=d.converters.RequestInfo(e);t=d.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#s.has(t.cacheName)){const n=this.#s.get(t.cacheName);const d=new o(i,n);return await d.match(e,t)}}else{for(const n of this.#s.values()){const d=new o(i,n);const p=await d.match(e,t);if(p!==undefined){return p}}}}async has(e){d.brandCheck(this,CacheStorage);d.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=d.converters.DOMString(e);return this.#s.has(e)}async open(e){d.brandCheck(this,CacheStorage);d.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=d.converters.DOMString(e);if(this.#s.has(e)){const t=this.#s.get(e);return new o(i,t)}const t=[];this.#s.set(e,t);return new o(i,t)}async delete(e){d.brandCheck(this,CacheStorage);d.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=d.converters.DOMString(e);return this.#s.delete(e)}async keys(){d.brandCheck(this,CacheStorage);const e=this.#s.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:p,has:p,open:p,delete:p,keys:p});e.exports={CacheStorage:CacheStorage}},5914:(e,t,n)=>{"use strict";e.exports={kConstruct:n(45773).kConstruct}},83175:(e,t,n)=>{"use strict";const i=n(42613);const{URLSerializer:o}=n(46960);const{isValidHeaderName:d}=n(18961);function urlEquals(e,t,n=false){const i=o(e,n);const d=o(t,n);return i===d}function fieldValues(e){i(e!==null);const t=[];for(let n of e.split(",")){n=n.trim();if(!n.length){continue}else if(!d(n)){continue}t.push(n)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},60439:(e,t,n)=>{"use strict";const i=n(42613);const o=n(69278);const d=n(58611);const{pipeline:p}=n(2203);const f=n(84606);const y=n(62374);const v=n(63505);const D=n(19787);const{RequestContentLengthMismatchError:M,ResponseContentLengthMismatchError:U,InvalidArgumentError:j,RequestAbortedError:V,HeadersTimeoutError:K,HeadersOverflowError:ee,SocketError:te,InformationalError:re,BodyTimeoutError:ne,HTTPParserError:se,ResponseExceededMaxSizeError:ie,ClientDestroyedError:oe}=n(61581);const ae=n(20110);const{kUrl:Ae,kReset:ce,kServerName:le,kClient:ue,kBusy:de,kParser:pe,kConnect:ge,kBlocking:fe,kResuming:he,kRunning:me,kPending:ye,kSize:Ee,kWriting:Ce,kQueue:Ie,kConnected:Be,kConnecting:be,kNeedDrain:Qe,kNoRef:Se,kKeepAliveDefaultTimeout:Ne,kHostHeader:we,kPendingIdx:ve,kRunningIdx:Re,kError:xe,kPipelining:Pe,kSocket:ke,kKeepAliveTimeoutValue:De,kMaxHeadersSize:Te,kKeepAliveMaxTimeout:Oe,kKeepAliveTimeoutThreshold:Le,kHeadersTimeout:Me,kBodyTimeout:Fe,kStrictContentLength:Ue,kConnector:_e,kMaxRedirections:He,kMaxRequests:qe,kCounter:ze,kClose:je,kDestroy:Ve,kDispatch:Ge,kInterceptors:Ye,kLocalAddress:Je,kMaxResponseSize:We,kHTTPConnVersion:Ze,kHost:Ke,kHTTP2Session:$e,kHTTP2SessionState:Xe,kHTTP2BuildRequest:At,kHTTP2CopyHeaders:dt,kHTTP1BuildRequest:mt}=n(45773);let yt;try{yt=n(85675)}catch{yt={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Et,HTTP2_HEADER_METHOD:Ct,HTTP2_HEADER_PATH:It,HTTP2_HEADER_SCHEME:Bt,HTTP2_HEADER_CONTENT_LENGTH:bt,HTTP2_HEADER_EXPECT:Qt,HTTP2_HEADER_STATUS:St}}=yt;let Nt=false;const wt=Buffer[Symbol.species];const vt=Symbol("kClosedResolve");const Rt={};try{const e=n(31637);Rt.sendHeaders=e.channel("undici:client:sendHeaders");Rt.beforeConnect=e.channel("undici:client:beforeConnect");Rt.connectError=e.channel("undici:client:connectError");Rt.connected=e.channel("undici:client:connected")}catch{Rt.sendHeaders={hasSubscribers:false};Rt.beforeConnect={hasSubscribers:false};Rt.connectError={hasSubscribers:false};Rt.connected={hasSubscribers:false}}class Client extends D{constructor(e,{interceptors:t,maxHeaderSize:n,headersTimeout:i,socketTimeout:p,requestTimeout:y,connectTimeout:v,bodyTimeout:D,idleTimeout:M,keepAlive:U,keepAliveTimeout:V,maxKeepAliveTimeout:K,keepAliveMaxTimeout:ee,keepAliveTimeoutThreshold:te,socketPath:re,pipelining:ne,tls:se,strictContentLength:ie,maxCachedSessions:oe,maxRedirections:ce,connect:ue,maxRequestsPerClient:de,localAddress:pe,maxResponseSize:ge,autoSelectFamily:fe,autoSelectFamilyAttemptTimeout:me,allowH2:ye,maxConcurrentStreams:Ee}={}){super();if(U!==undefined){throw new j("unsupported keepAlive, use pipelining=0 instead")}if(p!==undefined){throw new j("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(y!==undefined){throw new j("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(M!==undefined){throw new j("unsupported idleTimeout, use keepAliveTimeout instead")}if(K!==undefined){throw new j("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(n!=null&&!Number.isFinite(n)){throw new j("invalid maxHeaderSize")}if(re!=null&&typeof re!=="string"){throw new j("invalid socketPath")}if(v!=null&&(!Number.isFinite(v)||v<0)){throw new j("invalid connectTimeout")}if(V!=null&&(!Number.isFinite(V)||V<=0)){throw new j("invalid keepAliveTimeout")}if(ee!=null&&(!Number.isFinite(ee)||ee<=0)){throw new j("invalid keepAliveMaxTimeout")}if(te!=null&&!Number.isFinite(te)){throw new j("invalid keepAliveTimeoutThreshold")}if(i!=null&&(!Number.isInteger(i)||i<0)){throw new j("headersTimeout must be a positive integer or zero")}if(D!=null&&(!Number.isInteger(D)||D<0)){throw new j("bodyTimeout must be a positive integer or zero")}if(ue!=null&&typeof ue!=="function"&&typeof ue!=="object"){throw new j("connect must be a function or an object")}if(ce!=null&&(!Number.isInteger(ce)||ce<0)){throw new j("maxRedirections must be a positive number")}if(de!=null&&(!Number.isInteger(de)||de<0)){throw new j("maxRequestsPerClient must be a positive number")}if(pe!=null&&(typeof pe!=="string"||o.isIP(pe)===0)){throw new j("localAddress must be valid string IP address")}if(ge!=null&&(!Number.isInteger(ge)||ge<-1)){throw new j("maxResponseSize must be a positive number")}if(me!=null&&(!Number.isInteger(me)||me<-1)){throw new j("autoSelectFamilyAttemptTimeout must be a positive number")}if(ye!=null&&typeof ye!=="boolean"){throw new j("allowH2 must be a valid boolean value")}if(Ee!=null&&(typeof Ee!=="number"||Ee<1)){throw new j("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof ue!=="function"){ue=ae({...se,maxCachedSessions:oe,allowH2:ye,socketPath:re,timeout:v,...f.nodeHasAutoSelectFamily&&fe?{autoSelectFamily:fe,autoSelectFamilyAttemptTimeout:me}:undefined,...ue})}this[Ye]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[Pt({maxRedirections:ce})];this[Ae]=f.parseOrigin(e);this[_e]=ue;this[ke]=null;this[Pe]=ne!=null?ne:1;this[Te]=n||d.maxHeaderSize;this[Ne]=V==null?4e3:V;this[Oe]=ee==null?6e5:ee;this[Le]=te==null?1e3:te;this[De]=this[Ne];this[le]=null;this[Je]=pe!=null?pe:null;this[he]=0;this[Qe]=0;this[we]=`host: ${this[Ae].hostname}${this[Ae].port?`:${this[Ae].port}`:""}\r\n`;this[Fe]=D!=null?D:3e5;this[Me]=i!=null?i:3e5;this[Ue]=ie==null?true:ie;this[He]=ce;this[qe]=de;this[vt]=null;this[We]=ge>-1?ge:-1;this[Ze]="h1";this[$e]=null;this[Xe]=!ye?null:{openStreams:0,maxConcurrentStreams:Ee!=null?Ee:100};this[Ke]=`${this[Ae].hostname}${this[Ae].port?`:${this[Ae].port}`:""}`;this[Ie]=[];this[Re]=0;this[ve]=0}get pipelining(){return this[Pe]}set pipelining(e){this[Pe]=e;resume(this,true)}get[ye](){return this[Ie].length-this[ve]}get[me](){return this[ve]-this[Re]}get[Ee](){return this[Ie].length-this[Re]}get[Be](){return!!this[ke]&&!this[be]&&!this[ke].destroyed}get[de](){const e=this[ke];return e&&(e[ce]||e[Ce]||e[fe])||this[Ee]>=(this[Pe]||1)||this[ye]>0}[ge](e){connect(this);this.once("connect",e)}[Ge](e,t){const n=e.origin||this[Ae].origin;const i=this[Ze]==="h2"?v[At](n,e,t):v[mt](n,e,t);this[Ie].push(i);if(this[he]){}else if(f.bodyLength(i.body)==null&&f.isIterable(i.body)){this[he]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[he]&&this[Qe]!==2&&this[de]){this[Qe]=2}return this[Qe]<2}async[je](){return new Promise((e=>{if(!this[Ee]){e(null)}else{this[vt]=e}}))}async[Ve](e){return new Promise((t=>{const n=this[Ie].splice(this[ve]);for(let t=0;t<n.length;t++){const i=n[t];errorRequest(this,i,e)}const callback=()=>{if(this[vt]){this[vt]();this[vt]=null}t()};if(this[$e]!=null){f.destroy(this[$e],e);this[$e]=null;this[Xe]=null}if(!this[ke]){queueMicrotask(callback)}else{f.destroy(this[ke].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){i(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[ke][xe]=e;onError(this[ue],e)}function onHttp2FrameError(e,t,n){const i=new re(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(n===0){this[ke][xe]=i;onError(this[ue],i)}}function onHttp2SessionEnd(){f.destroy(this,new te("other side closed"));f.destroy(this[ke],new te("other side closed"))}function onHTTP2GoAway(e){const t=this[ue];const n=new re(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[ke]=null;t[$e]=null;if(t.destroyed){i(this[ye]===0);const e=t[Ie].splice(t[Re]);for(let t=0;t<e.length;t++){const i=e[t];errorRequest(this,i,n)}}else if(t[me]>0){const e=t[Ie][t[Re]];t[Ie][t[Re]++]=null;errorRequest(t,e,n)}t[ve]=t[Re];i(t[me]===0);t.emit("disconnect",t[Ae],[t],n);resume(t)}const xt=n(862);const Pt=n(99509);const kt=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?n(68484):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(n(10652),"base64"))}catch(i){t=await WebAssembly.compile(Buffer.from(e||n(68484),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,n)=>0,wasm_on_status:(e,t,n)=>{i.strictEqual(Ot.ptr,e);const o=t-Ft+Lt.byteOffset;return Ot.onStatus(new wt(Lt.buffer,o,n))||0},wasm_on_message_begin:e=>{i.strictEqual(Ot.ptr,e);return Ot.onMessageBegin()||0},wasm_on_header_field:(e,t,n)=>{i.strictEqual(Ot.ptr,e);const o=t-Ft+Lt.byteOffset;return Ot.onHeaderField(new wt(Lt.buffer,o,n))||0},wasm_on_header_value:(e,t,n)=>{i.strictEqual(Ot.ptr,e);const o=t-Ft+Lt.byteOffset;return Ot.onHeaderValue(new wt(Lt.buffer,o,n))||0},wasm_on_headers_complete:(e,t,n,o)=>{i.strictEqual(Ot.ptr,e);return Ot.onHeadersComplete(t,Boolean(n),Boolean(o))||0},wasm_on_body:(e,t,n)=>{i.strictEqual(Ot.ptr,e);const o=t-Ft+Lt.byteOffset;return Ot.onBody(new wt(Lt.buffer,o,n))||0},wasm_on_message_complete:e=>{i.strictEqual(Ot.ptr,e);return Ot.onMessageComplete()||0}}})}let Dt=null;let Tt=lazyllhttp();Tt.catch();let Ot=null;let Lt=null;let Mt=0;let Ft=null;const Ut=1;const _t=2;const Ht=3;class Parser{constructor(e,t,{exports:n}){i(Number.isFinite(e[Te])&&e[Te]>0);this.llhttp=n;this.ptr=this.llhttp.llhttp_alloc(xt.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[Te];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[We]}setTimeout(e,t){this.timeoutType=t;if(e!==this.timeoutValue){y.clearTimeout(this.timeout);if(e){this.timeout=y.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}i(this.ptr!=null);i(Ot==null);this.llhttp.llhttp_resume(this.ptr);i(this.timeoutType===_t);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||kt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){i(this.ptr!=null);i(Ot==null);i(!this.paused);const{socket:t,llhttp:n}=this;if(e.length>Mt){if(Ft){n.free(Ft)}Mt=Math.ceil(e.length/4096)*4096;Ft=n.malloc(Mt)}new Uint8Array(n.memory.buffer,Ft,Mt).set(e);try{let i;try{Lt=e;Ot=this;i=n.llhttp_execute(this.ptr,Ft,e.length)}catch(e){throw e}finally{Ot=null;Lt=null}const o=n.llhttp_get_error_pos(this.ptr)-Ft;if(i===xt.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(o))}else if(i===xt.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(o))}else if(i!==xt.ERROR.OK){const t=n.llhttp_get_error_reason(this.ptr);let d="";if(t){const e=new Uint8Array(n.memory.buffer,t).indexOf(0);d="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,t,e).toString()+")"}throw new se(d,xt.ERROR[i],e.slice(o))}}catch(e){f.destroy(t,e)}}destroy(){i(this.ptr!=null);i(Ot==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;y.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const n=t[Ie][t[Re]];if(!n){return-1}}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const n=this.headers[t-2];if(n.length===10&&n.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(n.length===10&&n.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(n.length===14&&n.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){f.destroy(this.socket,new ee)}}onUpgrade(e){const{upgrade:t,client:n,socket:o,headers:d,statusCode:p}=this;i(t);const y=n[Ie][n[Re]];i(y);i(!o.destroyed);i(o===n[ke]);i(!this.paused);i(y.upgrade||y.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;i(this.headers.length%2===0);this.headers=[];this.headersSize=0;o.unshift(e);o[pe].destroy();o[pe]=null;o[ue]=null;o[xe]=null;o.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);n[ke]=null;n[Ie][n[Re]++]=null;n.emit("disconnect",n[Ae],[n],new re("upgrade"));try{y.onUpgrade(p,d,o)}catch(e){f.destroy(o,e)}resume(n)}onHeadersComplete(e,t,n){const{client:o,socket:d,headers:p,statusText:y}=this;if(d.destroyed){return-1}const v=o[Ie][o[Re]];if(!v){return-1}i(!this.upgrade);i(this.statusCode<200);if(e===100){f.destroy(d,new te("bad response",f.getSocketInfo(d)));return-1}if(t&&!v.upgrade){f.destroy(d,new te("bad upgrade",f.getSocketInfo(d)));return-1}i.strictEqual(this.timeoutType,Ut);this.statusCode=e;this.shouldKeepAlive=n||v.method==="HEAD"&&!d[ce]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=v.bodyTimeout!=null?v.bodyTimeout:o[Fe];this.setTimeout(e,_t)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(v.method==="CONNECT"){i(o[me]===1);this.upgrade=true;return 2}if(t){i(o[me]===1);this.upgrade=true;return 2}i(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&o[Pe]){const e=this.keepAlive?f.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-o[Le],o[Oe]);if(t<=0){d[ce]=true}else{o[De]=t}}else{o[De]=o[Ne]}}else{d[ce]=true}const D=v.onHeaders(e,p,this.resume,y)===false;if(v.aborted){return-1}if(v.method==="HEAD"){return 1}if(e<200){return 1}if(d[fe]){d[fe]=false;resume(o)}return D?xt.ERROR.PAUSED:0}onBody(e){const{client:t,socket:n,statusCode:o,maxResponseSize:d}=this;if(n.destroyed){return-1}const p=t[Ie][t[Re]];i(p);i.strictEqual(this.timeoutType,_t);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}i(o>=200);if(d>-1&&this.bytesRead+e.length>d){f.destroy(n,new ie);return-1}this.bytesRead+=e.length;if(p.onData(e)===false){return xt.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:n,upgrade:o,headers:d,contentLength:p,bytesRead:y,shouldKeepAlive:v}=this;if(t.destroyed&&(!n||v)){return-1}if(o){return}const D=e[Ie][e[Re]];i(D);i(n>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";i(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(n<200){return}if(D.method!=="HEAD"&&p&&y!==parseInt(p,10)){f.destroy(t,new U);return-1}D.onComplete(d);e[Ie][e[Re]++]=null;if(t[Ce]){i.strictEqual(e[me],0);f.destroy(t,new re("reset"));return xt.ERROR.PAUSED}else if(!v){f.destroy(t,new re("reset"));return xt.ERROR.PAUSED}else if(t[ce]&&e[me]===0){f.destroy(t,new re("reset"));return xt.ERROR.PAUSED}else if(e[Pe]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:n,client:o}=e;if(n===Ut){if(!t[Ce]||t.writableNeedDrain||o[me]>1){i(!e.paused,"cannot be paused while waiting for headers");f.destroy(t,new K)}}else if(n===_t){if(!e.paused){f.destroy(t,new ne)}}else if(n===Ht){i(o[me]===0&&o[De]);f.destroy(t,new re("socket idle timeout"))}}function onSocketReadable(){const{[pe]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[ue]:t,[pe]:n}=this;i(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[Ze]!=="h2"){if(e.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}}this[xe]=e;onError(this[ue],e)}function onError(e,t){if(e[me]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){i(e[ve]===e[Re]);const n=e[Ie].splice(e[Re]);for(let i=0;i<n.length;i++){const o=n[i];errorRequest(e,o,t)}i(e[Ee]===0)}}function onSocketEnd(){const{[pe]:e,[ue]:t}=this;if(t[Ze]!=="h2"){if(e.statusCode&&!e.shouldKeepAlive){e.onMessageComplete();return}}f.destroy(this,new te("other side closed",f.getSocketInfo(this)))}function onSocketClose(){const{[ue]:e,[pe]:t}=this;if(e[Ze]==="h1"&&t){if(!this[xe]&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete()}this[pe].destroy();this[pe]=null}const n=this[xe]||new te("closed",f.getSocketInfo(this));e[ke]=null;if(e.destroyed){i(e[ye]===0);const t=e[Ie].splice(e[Re]);for(let i=0;i<t.length;i++){const o=t[i];errorRequest(e,o,n)}}else if(e[me]>0&&n.code!=="UND_ERR_INFO"){const t=e[Ie][e[Re]];e[Ie][e[Re]++]=null;errorRequest(e,t,n)}e[ve]=e[Re];i(e[me]===0);e.emit("disconnect",e[Ae],[e],n);resume(e)}async function connect(e){i(!e[be]);i(!e[ke]);let{host:t,hostname:n,protocol:d,port:p}=e[Ae];if(n[0]==="["){const e=n.indexOf("]");i(e!==-1);const t=n.substring(1,e);i(o.isIP(t));n=t}e[be]=true;if(Rt.beforeConnect.hasSubscribers){Rt.beforeConnect.publish({connectParams:{host:t,hostname:n,protocol:d,port:p,servername:e[le],localAddress:e[Je]},connector:e[_e]})}try{const o=await new Promise(((i,o)=>{e[_e]({host:t,hostname:n,protocol:d,port:p,servername:e[le],localAddress:e[Je]},((e,t)=>{if(e){o(e)}else{i(t)}}))}));if(e.destroyed){f.destroy(o.on("error",(()=>{})),new oe);return}e[be]=false;i(o);const y=o.alpnProtocol==="h2";if(y){if(!Nt){Nt=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=yt.connect(e[Ae],{createConnection:()=>o,peerMaxConcurrentStreams:e[Xe].maxConcurrentStreams});e[Ze]="h2";t[ue]=e;t[ke]=o;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[$e]=t;o[$e]=t}else{if(!Dt){Dt=await Tt;Tt=null}o[Se]=false;o[Ce]=false;o[ce]=false;o[fe]=false;o[pe]=new Parser(e,o,Dt)}o[ze]=0;o[qe]=e[qe];o[ue]=e;o[xe]=null;o.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[ke]=o;if(Rt.connected.hasSubscribers){Rt.connected.publish({connectParams:{host:t,hostname:n,protocol:d,port:p,servername:e[le],localAddress:e[Je]},connector:e[_e],socket:o})}e.emit("connect",e[Ae],[e])}catch(o){if(e.destroyed){return}e[be]=false;if(Rt.connectError.hasSubscribers){Rt.connectError.publish({connectParams:{host:t,hostname:n,protocol:d,port:p,servername:e[le],localAddress:e[Je]},connector:e[_e],error:o})}if(o.code==="ERR_TLS_CERT_ALTNAME_INVALID"){i(e[me]===0);while(e[ye]>0&&e[Ie][e[ve]].servername===e[le]){const t=e[Ie][e[ve]++];errorRequest(e,t,o)}}else{onError(e,o)}e.emit("connectionError",e[Ae],[e],o)}resume(e)}function emitDrain(e){e[Qe]=0;e.emit("drain",e[Ae],[e])}function resume(e,t){if(e[he]===2){return}e[he]=2;_resume(e,t);e[he]=0;if(e[Re]>256){e[Ie].splice(0,e[Re]);e[ve]-=e[Re];e[Re]=0}}function _resume(e,t){while(true){if(e.destroyed){i(e[ye]===0);return}if(e[vt]&&!e[Ee]){e[vt]();e[vt]=null;return}const n=e[ke];if(n&&!n.destroyed&&n.alpnProtocol!=="h2"){if(e[Ee]===0){if(!n[Se]&&n.unref){n.unref();n[Se]=true}}else if(n[Se]&&n.ref){n.ref();n[Se]=false}if(e[Ee]===0){if(n[pe].timeoutType!==Ht){n[pe].setTimeout(e[De],Ht)}}else if(e[me]>0&&n[pe].statusCode<200){if(n[pe].timeoutType!==Ut){const t=e[Ie][e[Re]];const i=t.headersTimeout!=null?t.headersTimeout:e[Me];n[pe].setTimeout(i,Ut)}}}if(e[de]){e[Qe]=2}else if(e[Qe]===2){if(t){e[Qe]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[ye]===0){return}if(e[me]>=(e[Pe]||1)){return}const o=e[Ie][e[ve]];if(e[Ae].protocol==="https:"&&e[le]!==o.servername){if(e[me]>0){return}e[le]=o.servername;if(n&&n.servername!==o.servername){f.destroy(n,new re("servername changed"));return}}if(e[be]){return}if(!n&&!e[$e]){connect(e);return}if(n.destroyed||n[Ce]||n[ce]||n[fe]){return}if(e[me]>0&&!o.idempotent){return}if(e[me]>0&&(o.upgrade||o.method==="CONNECT")){return}if(e[me]>0&&f.bodyLength(o.body)!==0&&(f.isStream(o.body)||f.isAsyncIterable(o.body))){return}if(!o.aborted&&write(e,o)){e[ve]++}else{e[Ie].splice(e[ve],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[Ze]==="h2"){writeH2(e,e[$e],t);return}const{body:n,method:o,path:d,host:p,upgrade:y,headers:v,blocking:D,reset:U}=t;const j=o==="PUT"||o==="POST"||o==="PATCH";if(n&&typeof n.read==="function"){n.read(0)}const K=f.bodyLength(n);let ee=K;if(ee===null){ee=t.contentLength}if(ee===0&&!j){ee=null}if(shouldSendContentLength(o)&&ee>0&&t.contentLength!==null&&t.contentLength!==ee){if(e[Ue]){errorRequest(e,t,new M);return false}process.emitWarning(new M)}const te=e[ke];try{t.onConnect((n=>{if(t.aborted||t.completed){return}errorRequest(e,t,n||new V);f.destroy(te,new re("aborted"))}))}catch(n){errorRequest(e,t,n)}if(t.aborted){return false}if(o==="HEAD"){te[ce]=true}if(y||o==="CONNECT"){te[ce]=true}if(U!=null){te[ce]=U}if(e[qe]&&te[ze]++>=e[qe]){te[ce]=true}if(D){te[fe]=true}let ne=`${o} ${d} HTTP/1.1\r\n`;if(typeof p==="string"){ne+=`host: ${p}\r\n`}else{ne+=e[we]}if(y){ne+=`connection: upgrade\r\nupgrade: ${y}\r\n`}else if(e[Pe]&&!te[ce]){ne+="connection: keep-alive\r\n"}else{ne+="connection: close\r\n"}if(v){ne+=v}if(Rt.sendHeaders.hasSubscribers){Rt.sendHeaders.publish({request:t,headers:ne,socket:te})}if(!n||K===0){if(ee===0){te.write(`${ne}content-length: 0\r\n\r\n`,"latin1")}else{i(ee===null,"no body must not have content length");te.write(`${ne}\r\n`,"latin1")}t.onRequestSent()}else if(f.isBuffer(n)){i(ee===n.byteLength,"buffer body must have content length");te.cork();te.write(`${ne}content-length: ${ee}\r\n\r\n`,"latin1");te.write(n);te.uncork();t.onBodySent(n);t.onRequestSent();if(!j){te[ce]=true}}else if(f.isBlobLike(n)){if(typeof n.stream==="function"){writeIterable({body:n.stream(),client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:j})}else{writeBlob({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:j})}}else if(f.isStream(n)){writeStream({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:j})}else if(f.isIterable(n)){writeIterable({body:n,client:e,request:t,socket:te,contentLength:ee,header:ne,expectsPayload:j})}else{i(false)}return true}function writeH2(e,t,n){const{body:o,method:d,path:p,host:y,upgrade:D,expectContinue:U,signal:j,headers:K}=n;let ee;if(typeof K==="string")ee=v[dt](K.trim());else ee=K;if(D){errorRequest(e,n,new Error("Upgrade not supported for H2"));return false}try{n.onConnect((t=>{if(n.aborted||n.completed){return}errorRequest(e,n,t||new V)}))}catch(t){errorRequest(e,n,t)}if(n.aborted){return false}let te;const ne=e[Xe];ee[Et]=y||e[Ke];ee[Ct]=d;if(d==="CONNECT"){t.ref();te=t.request(ee,{endStream:false,signal:j});if(te.id&&!te.pending){n.onUpgrade(null,null,te);++ne.openStreams}else{te.once("ready",(()=>{n.onUpgrade(null,null,te);++ne.openStreams}))}te.once("close",(()=>{ne.openStreams-=1;if(ne.openStreams===0)t.unref()}));return true}ee[It]=p;ee[Bt]="https";const se=d==="PUT"||d==="POST"||d==="PATCH";if(o&&typeof o.read==="function"){o.read(0)}let ie=f.bodyLength(o);if(ie==null){ie=n.contentLength}if(ie===0||!se){ie=null}if(shouldSendContentLength(d)&&ie>0&&n.contentLength!=null&&n.contentLength!==ie){if(e[Ue]){errorRequest(e,n,new M);return false}process.emitWarning(new M)}if(ie!=null){i(o,"no body must not have content length");ee[bt]=`${ie}`}t.ref();const oe=d==="GET"||d==="HEAD";if(U){ee[Qt]="100-continue";te=t.request(ee,{endStream:oe,signal:j});te.once("continue",writeBodyH2)}else{te=t.request(ee,{endStream:oe,signal:j});writeBodyH2()}++ne.openStreams;te.once("response",(e=>{const{[St]:t,...i}=e;if(n.onHeaders(Number(t),i,te.resume.bind(te),"")===false){te.pause()}}));te.once("end",(()=>{n.onComplete([])}));te.on("data",(e=>{if(n.onData(e)===false){te.pause()}}));te.once("close",(()=>{ne.openStreams-=1;if(ne.openStreams===0){t.unref()}}));te.once("error",(function(t){if(e[$e]&&!e[$e].destroyed&&!this.closed&&!this.destroyed){ne.streams-=1;f.destroy(te,t)}}));te.once("frameError",((t,i)=>{const o=new re(`HTTP/2: "frameError" received - type ${t}, code ${i}`);errorRequest(e,n,o);if(e[$e]&&!e[$e].destroyed&&!this.closed&&!this.destroyed){ne.streams-=1;f.destroy(te,o)}}));return true;function writeBodyH2(){if(!o){n.onRequestSent()}else if(f.isBuffer(o)){i(ie===o.byteLength,"buffer body must have content length");te.cork();te.write(o);te.uncork();te.end();n.onBodySent(o);n.onRequestSent()}else if(f.isBlobLike(o)){if(typeof o.stream==="function"){writeIterable({client:e,request:n,contentLength:ie,h2stream:te,expectsPayload:se,body:o.stream(),socket:e[ke],header:""})}else{writeBlob({body:o,client:e,request:n,contentLength:ie,expectsPayload:se,h2stream:te,header:"",socket:e[ke]})}}else if(f.isStream(o)){writeStream({body:o,client:e,request:n,contentLength:ie,expectsPayload:se,socket:e[ke],h2stream:te,header:""})}else if(f.isIterable(o)){writeIterable({body:o,client:e,request:n,contentLength:ie,expectsPayload:se,header:"",h2stream:te,socket:e[ke]})}else{i(false)}}}function writeStream({h2stream:e,body:t,client:n,request:o,socket:d,contentLength:y,header:v,expectsPayload:D}){i(y!==0||n[me]===0,"stream body cannot be pipelined");if(n[Ze]==="h2"){const j=p(t,e,(n=>{if(n){f.destroy(t,n);f.destroy(e,n)}else{o.onRequestSent()}}));j.on("data",onPipeData);j.once("end",(()=>{j.removeListener("data",onPipeData);f.destroy(j)}));function onPipeData(e){o.onBodySent(e)}return}let M=false;const U=new AsyncWriter({socket:d,request:o,contentLength:y,client:n,expectsPayload:D,header:v});const onData=function(e){if(M){return}try{if(!U.write(e)&&this.pause){this.pause()}}catch(e){f.destroy(this,e)}};const onDrain=function(){if(M){return}if(t.resume){t.resume()}};const onAbort=function(){if(M){return}const e=new V;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(M){return}M=true;i(d.destroyed||d[Ce]&&n[me]<=1);d.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{U.end()}catch(t){e=t}}U.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){f.destroy(t,e)}else{f.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(t.resume){t.resume()}d.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:n,request:o,socket:d,contentLength:p,header:y,expectsPayload:v}){i(p===t.size,"blob body must have content length");const D=n[Ze]==="h2";try{if(p!=null&&p!==t.size){throw new M}const i=Buffer.from(await t.arrayBuffer());if(D){e.cork();e.write(i);e.uncork()}else{d.cork();d.write(`${y}content-length: ${p}\r\n\r\n`,"latin1");d.write(i);d.uncork()}o.onBodySent(i);o.onRequestSent();if(!v){d[ce]=true}resume(n)}catch(t){f.destroy(D?e:d,t)}}async function writeIterable({h2stream:e,body:t,client:n,request:o,socket:d,contentLength:p,header:f,expectsPayload:y}){i(p!==0||n[me]===0,"iterator body cannot be pipelined");let v=null;function onDrain(){if(v){const e=v;v=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{i(v===null);if(d[xe]){t(d[xe])}else{v=e}}));if(n[Ze]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const n of t){if(d[xe]){throw d[xe]}const t=e.write(n);o.onBodySent(n);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{o.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}d.on("close",onDrain).on("drain",onDrain);const D=new AsyncWriter({socket:d,request:o,contentLength:p,client:n,expectsPayload:y,header:f});try{for await(const e of t){if(d[xe]){throw d[xe]}if(!D.write(e)){await waitForDrain()}}D.end()}catch(e){D.destroy(e)}finally{d.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:n,client:i,expectsPayload:o,header:d}){this.socket=e;this.request=t;this.contentLength=n;this.client=i;this.bytesWritten=0;this.expectsPayload=o;this.header=d;e[Ce]=true}write(e){const{socket:t,request:n,contentLength:i,client:o,bytesWritten:d,expectsPayload:p,header:f}=this;if(t[xe]){throw t[xe]}if(t.destroyed){return false}const y=Buffer.byteLength(e);if(!y){return true}if(i!==null&&d+y>i){if(o[Ue]){throw new M}process.emitWarning(new M)}t.cork();if(d===0){if(!p){t[ce]=true}if(i===null){t.write(`${f}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${f}content-length: ${i}\r\n\r\n`,"latin1")}}if(i===null){t.write(`\r\n${y.toString(16)}\r\n`,"latin1")}this.bytesWritten+=y;const v=t.write(e);t.uncork();n.onBodySent(e);if(!v){if(t[pe].timeout&&t[pe].timeoutType===Ut){if(t[pe].timeout.refresh){t[pe].timeout.refresh()}}}return v}end(){const{socket:e,contentLength:t,client:n,bytesWritten:i,expectsPayload:o,header:d,request:p}=this;p.onRequestSent();e[Ce]=false;if(e[xe]){throw e[xe]}if(e.destroyed){return}if(i===0){if(o){e.write(`${d}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${d}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&i!==t){if(n[Ue]){throw new M}else{process.emitWarning(new M)}}if(e[pe].timeout&&e[pe].timeoutType===Ut){if(e[pe].timeout.refresh){e[pe].timeout.refresh()}}resume(n)}destroy(e){const{socket:t,client:n}=this;t[Ce]=false;if(e){i(n[me]<=1,"pipeline should only contain this request");f.destroy(t,e)}}}function errorRequest(e,t,n){try{t.onError(n);i(t.aborted)}catch(n){e.emit("error",n)}}e.exports=Client},91408:(e,t,n)=>{"use strict";const{kConnected:i,kSize:o}=n(45773);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[i]===0&&this.value[o]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[i]===0&&e[o]===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}}},38803:e=>{"use strict";const t=1024;const n=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:n}},47426:(e,t,n)=>{"use strict";const{parseSetCookie:i}=n(77889);const{stringify:o}=n(83692);const{webidl:d}=n(33476);const{Headers:p}=n(12223);function getCookies(e){d.argumentLengthCheck(arguments,1,{header:"getCookies"});d.brandCheck(e,p,{strict:false});const t=e.get("cookie");const n={};if(!t){return n}for(const e of t.split(";")){const[t,...i]=e.split("=");n[t.trim()]=i.join("=")}return n}function deleteCookie(e,t,n){d.argumentLengthCheck(arguments,2,{header:"deleteCookie"});d.brandCheck(e,p,{strict:false});t=d.converters.DOMString(t);n=d.converters.DeleteCookieAttributes(n);setCookie(e,{name:t,value:"",expires:new Date(0),...n})}function getSetCookies(e){d.argumentLengthCheck(arguments,1,{header:"getSetCookies"});d.brandCheck(e,p,{strict:false});const t=e.getSetCookie();if(!t){return[]}return t.map((e=>i(e)))}function setCookie(e,t){d.argumentLengthCheck(arguments,2,{header:"setCookie"});d.brandCheck(e,p,{strict:false});t=d.converters.Cookie(t);const n=o(t);if(n){e.append("Set-Cookie",o(t))}}d.converters.DeleteCookieAttributes=d.dictionaryConverter([{converter:d.nullableConverter(d.converters.DOMString),key:"path",defaultValue:null},{converter:d.nullableConverter(d.converters.DOMString),key:"domain",defaultValue:null}]);d.converters.Cookie=d.dictionaryConverter([{converter:d.converters.DOMString,key:"name"},{converter:d.converters.DOMString,key:"value"},{converter:d.nullableConverter((e=>{if(typeof e==="number"){return d.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:d.nullableConverter(d.converters["long long"]),key:"maxAge",defaultValue:null},{converter:d.nullableConverter(d.converters.DOMString),key:"domain",defaultValue:null},{converter:d.nullableConverter(d.converters.DOMString),key:"path",defaultValue:null},{converter:d.nullableConverter(d.converters.boolean),key:"secure",defaultValue:null},{converter:d.nullableConverter(d.converters.boolean),key:"httpOnly",defaultValue:null},{converter:d.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:d.sequenceConverter(d.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},77889:(e,t,n)=>{"use strict";const{maxNameValuePairSize:i,maxAttributeValueSize:o}=n(38803);const{isCTLExcludingHtab:d}=n(83692);const{collectASequenceOfCodePointsFast:p}=n(46960);const f=n(42613);function parseSetCookie(e){if(d(e)){return null}let t="";let n="";let o="";let f="";if(e.includes(";")){const i={position:0};t=p(";",e,i);n=e.slice(i.position)}else{t=e}if(!t.includes("=")){f=t}else{const e={position:0};o=p("=",t,e);f=t.slice(e.position+1)}o=o.trim();f=f.trim();if(o.length+f.length>i){return null}return{name:o,value:f,...parseUnparsedAttributes(n)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}f(e[0]===";");e=e.slice(1);let n="";if(e.includes(";")){n=p(";",e,{position:0});e=e.slice(n.length)}else{n=e;e=""}let i="";let d="";if(n.includes("=")){const e={position:0};i=p("=",n,e);d=n.slice(e.position+1)}else{i=n}i=i.trim();d=d.trim();if(d.length>o){return parseUnparsedAttributes(e,t)}const y=i.toLowerCase();if(y==="expires"){const e=new Date(d);t.expires=e}else if(y==="max-age"){const n=d.charCodeAt(0);if((n<48||n>57)&&d[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(d)){return parseUnparsedAttributes(e,t)}const i=Number(d);t.maxAge=i}else if(y==="domain"){let e=d;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(y==="path"){let e="";if(d.length===0||d[0]!=="/"){e="/"}else{e=d}t.path=e}else if(y==="secure"){t.secure=true}else if(y==="httponly"){t.httpOnly=true}else if(y==="samesite"){let e="Default";const n=d.toLowerCase();if(n.includes("none")){e="None"}if(n.includes("strict")){e="Strict"}if(n.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${i}=${d}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},83692:e=>{"use strict";function isCTLExcludingHtab(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const t of e){const e=t.charCodeAt(0);if(e<=32||e>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||t===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const i=t[e.getUTCDay()];const o=e.getUTCDate().toString().padStart(2,"0");const d=n[e.getUTCMonth()];const p=e.getUTCFullYear();const f=e.getUTCHours().toString().padStart(2,"0");const y=e.getUTCMinutes().toString().padStart(2,"0");const v=e.getUTCSeconds().toString().padStart(2,"0");return`${i}, ${o} ${d} ${p} ${f}:${y}:${v} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const n of e.unparsed){if(!n.includes("=")){throw new Error("Invalid unparsed")}const[e,...i]=n.split("=");t.push(`${e.trim()}=${i.join("=")}`)}return t.join("; ")}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},20110:(e,t,n)=>{"use strict";const i=n(69278);const o=n(42613);const d=n(84606);const{InvalidArgumentError:p,ConnectTimeoutError:f}=n(61581);let y;let v;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){v=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size<this._maxCachedSessions){return}const t=this._sessionCache.get(e);if(t!==undefined&&t.deref()===undefined){this._sessionCache.delete(e)}}))}get(e){const t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(this._maxCachedSessions===0){return}this._sessionCache.set(e,new WeakRef(t));this._sessionRegistry.register(t,e)}}}else{v=class SimpleSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,t){if(this._maxCachedSessions===0){return}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:f,timeout:D,...M}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new p("maxCachedSessions must be a positive integer or zero")}const U={path:f,...M};const j=new v(t==null?100:t);D=D==null?1e4:D;e=e!=null?e:false;return function connect({hostname:t,host:p,protocol:f,port:v,servername:M,localAddress:V,httpSocket:K},ee){let te;if(f==="https:"){if(!y){y=n(64756)}M=M||U.servername||d.getServerName(p)||null;const i=M||t;const f=j.get(i)||null;o(i);te=y.connect({highWaterMark:16384,...U,servername:M,session:f,localAddress:V,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:K,port:v||443,host:t});te.on("session",(function(e){j.set(i,e)}))}else{o(!K,"httpSocket can only be sent on TLS update");te=i.connect({highWaterMark:64*1024,...U,localAddress:V,port:v||80,host:t})}if(U.keepAlive==null||U.keepAlive){const e=U.keepAliveInitialDelay===undefined?6e4:U.keepAliveInitialDelay;te.setKeepAlive(true,e)}const re=setupTimeout((()=>onConnectTimeout(te)),D);te.setNoDelay(true).once(f==="https:"?"secureConnect":"connect",(function(){re();if(ee){const e=ee;ee=null;e(null,this)}})).on("error",(function(e){re();if(ee){const t=ee;ee=null;t(e)}}));return te}}function setupTimeout(e,t){if(!t){return()=>{}}let n=null;let i=null;const o=setTimeout((()=>{n=setImmediate((()=>{if(process.platform==="win32"){i=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(o);clearImmediate(n);clearImmediate(i)}}function onConnectTimeout(e){d.destroy(e,new f)}e.exports=buildConnector},97281:e=>{"use strict";const t={};const n=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e<n.length;++e){const i=n[e];const o=i.toLowerCase();t[i]=t[o]=o}Object.setPrototypeOf(t,null);e.exports={wellknownHeaderNames:n,headerNameLowerCasedRecord:t}},61581: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,n,i){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=i;this.status=t;this.statusCode=t;this.headers=n}}class InvalidArgumentError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(e,t){super(e);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}}class NotSupportedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(e,t,n){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=n?n.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(e,t,{headers:n,data:i}){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=i;this.headers=n}}e.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},63505:(e,t,n)=>{"use strict";const{InvalidArgumentError:i,NotSupportedError:o}=n(61581);const d=n(42613);const{kHTTP2BuildRequest:p,kHTTP2CopyHeaders:f,kHTTP1BuildRequest:y}=n(45773);const v=n(84606);const D=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const M=/[^\t\x20-\x7e\x80-\xff]/;const U=/[^\u0021-\u00ff]/;const j=Symbol("handler");const V={};let K;try{const e=n(31637);V.create=e.channel("undici:request:create");V.bodySent=e.channel("undici:request:bodySent");V.headers=e.channel("undici:request:headers");V.trailers=e.channel("undici:request:trailers");V.error=e.channel("undici:request:error")}catch{V.create={hasSubscribers:false};V.bodySent={hasSubscribers:false};V.headers={hasSubscribers:false};V.trailers={hasSubscribers:false};V.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:o,body:d,headers:p,query:f,idempotent:y,blocking:M,upgrade:ee,headersTimeout:te,bodyTimeout:re,reset:ne,throwOnError:se,expectContinue:ie},oe){if(typeof t!=="string"){throw new i("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&o!=="CONNECT"){throw new i("path must be an absolute URL or start with a slash")}else if(U.exec(t)!==null){throw new i("invalid request path")}if(typeof o!=="string"){throw new i("method must be a string")}else if(D.exec(o)===null){throw new i("invalid request method")}if(ee&&typeof ee!=="string"){throw new i("upgrade must be a string")}if(te!=null&&(!Number.isFinite(te)||te<0)){throw new i("invalid headersTimeout")}if(re!=null&&(!Number.isFinite(re)||re<0)){throw new i("invalid bodyTimeout")}if(ne!=null&&typeof ne!=="boolean"){throw new i("invalid reset")}if(ie!=null&&typeof ie!=="boolean"){throw new i("invalid expectContinue")}this.headersTimeout=te;this.bodyTimeout=re;this.throwOnError=se===true;this.method=o;this.abort=null;if(d==null){this.body=null}else if(v.isStream(d)){this.body=d;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){v.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(v.isBuffer(d)){this.body=d.byteLength?d:null}else if(ArrayBuffer.isView(d)){this.body=d.buffer.byteLength?Buffer.from(d.buffer,d.byteOffset,d.byteLength):null}else if(d instanceof ArrayBuffer){this.body=d.byteLength?Buffer.from(d):null}else if(typeof d==="string"){this.body=d.length?Buffer.from(d):null}else if(v.isFormDataLike(d)||v.isIterable(d)||v.isBlobLike(d)){this.body=d}else{throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=ee||null;this.path=f?v.buildURL(t,f):t;this.origin=e;this.idempotent=y==null?o==="HEAD"||o==="GET":y;this.blocking=M==null?false:M;this.reset=ne==null?null:ne;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=ie!=null?ie:false;if(Array.isArray(p)){if(p.length%2!==0){throw new i("headers array must be even")}for(let e=0;e<p.length;e+=2){processHeader(this,p[e],p[e+1])}}else if(p&&typeof p==="object"){const e=Object.keys(p);for(let t=0;t<e.length;t++){const n=e[t];processHeader(this,n,p[n])}}else if(p!=null){throw new i("headers must be an object or an array")}if(v.isFormDataLike(this.body)){if(v.nodeMajor<16||v.nodeMajor===16&&v.nodeMinor<8){throw new i("Form-Data bodies are only supported in node v16.8 and newer.")}if(!K){K=n(38009).extractBody}const[e,t]=K(d);if(this.contentType==null){this.contentType=t;this.headers+=`content-type: ${t}\r\n`}this.body=e.stream;this.contentLength=e.length}else if(v.isBlobLike(d)&&this.contentType==null&&d.type){this.contentType=d.type;this.headers+=`content-type: ${d.type}\r\n`}v.validateHandler(oe,o,ee);this.servername=v.getServerName(this.host);this[j]=oe;if(V.create.hasSubscribers){V.create.publish({request:this})}}onBodySent(e){if(this[j].onBodySent){try{return this[j].onBodySent(e)}catch(e){this.abort(e)}}}onRequestSent(){if(V.bodySent.hasSubscribers){V.bodySent.publish({request:this})}if(this[j].onRequestSent){try{return this[j].onRequestSent()}catch(e){this.abort(e)}}}onConnect(e){d(!this.aborted);d(!this.completed);if(this.error){e(this.error)}else{this.abort=e;return this[j].onConnect(e)}}onHeaders(e,t,n,i){d(!this.aborted);d(!this.completed);if(V.headers.hasSubscribers){V.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}})}try{return this[j].onHeaders(e,t,n,i)}catch(e){this.abort(e)}}onData(e){d(!this.aborted);d(!this.completed);try{return this[j].onData(e)}catch(e){this.abort(e);return false}}onUpgrade(e,t,n){d(!this.aborted);d(!this.completed);return this[j].onUpgrade(e,t,n)}onComplete(e){this.onFinally();d(!this.aborted);this.completed=true;if(V.trailers.hasSubscribers){V.trailers.publish({request:this,trailers:e})}try{return this[j].onComplete(e)}catch(e){this.onError(e)}}onError(e){this.onFinally();if(V.error.hasSubscribers){V.error.publish({request:this,error:e})}if(this.aborted){return}this.aborted=true;return this[j].onError(e)}onFinally(){if(this.errorHandler){this.body.off("error",this.errorHandler);this.errorHandler=null}if(this.endHandler){this.body.off("end",this.endHandler);this.endHandler=null}}addHeader(e,t){processHeader(this,e,t);return this}static[y](e,t,n){return new Request(e,t,n)}static[p](e,t,n){const o=t.headers;t={...t,headers:null};const d=new Request(e,t,n);d.headers={};if(Array.isArray(o)){if(o.length%2!==0){throw new i("headers array must be even")}for(let e=0;e<o.length;e+=2){processHeader(d,o[e],o[e+1],true)}}else if(o&&typeof o==="object"){const e=Object.keys(o);for(let t=0;t<e.length;t++){const n=e[t];processHeader(d,n,o[n],true)}}else if(o!=null){throw new i("headers must be an object or an array")}return d}static[f](e){const t=e.split("\r\n");const n={};for(const e of t){const[t,i]=e.split(": ");if(i==null||i.length===0)continue;if(n[t])n[t]+=`,${i}`;else n[t]=i}return n}}function processHeaderValue(e,t,n){if(t&&typeof t==="object"){throw new i(`invalid ${e} header`)}t=t!=null?`${t}`:"";if(M.exec(t)!==null){throw new i(`invalid ${e} header`)}return n?t:`${e}: ${t}\r\n`}function processHeader(e,t,n,d=false){if(n&&(typeof n==="object"&&!Array.isArray(n))){throw new i(`invalid ${t} header`)}else if(n===undefined){return}if(e.host===null&&t.length===4&&t.toLowerCase()==="host"){if(M.exec(n)!==null){throw new i(`invalid ${t} header`)}e.host=n}else if(e.contentLength===null&&t.length===14&&t.toLowerCase()==="content-length"){e.contentLength=parseInt(n,10);if(!Number.isFinite(e.contentLength)){throw new i("invalid content-length header")}}else if(e.contentType===null&&t.length===12&&t.toLowerCase()==="content-type"){e.contentType=n;if(d)e.headers[t]=processHeaderValue(t,n,d);else e.headers+=processHeaderValue(t,n)}else if(t.length===17&&t.toLowerCase()==="transfer-encoding"){throw new i("invalid transfer-encoding header")}else if(t.length===10&&t.toLowerCase()==="connection"){const t=typeof n==="string"?n.toLowerCase():null;if(t!=="close"&&t!=="keep-alive"){throw new i("invalid connection header")}else if(t==="close"){e.reset=true}}else if(t.length===10&&t.toLowerCase()==="keep-alive"){throw new i("invalid keep-alive header")}else if(t.length===7&&t.toLowerCase()==="upgrade"){throw new i("invalid upgrade header")}else if(t.length===6&&t.toLowerCase()==="expect"){throw new o("expect header not supported")}else if(D.exec(t)===null){throw new i("invalid header key")}else{if(Array.isArray(n)){for(let i=0;i<n.length;i++){if(d){if(e.headers[t])e.headers[t]+=`,${processHeaderValue(t,n[i],d)}`;else e.headers[t]=processHeaderValue(t,n[i],d)}else{e.headers+=processHeaderValue(t,n[i])}}}else{if(d)e.headers[t]=processHeaderValue(t,n,d);else e.headers+=processHeaderValue(t,n)}}}e.exports=Request},45773: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")}},84606:(e,t,n)=>{"use strict";const i=n(42613);const{kDestroyed:o,kBodyUsed:d}=n(45773);const{IncomingMessage:p}=n(58611);const f=n(2203);const y=n(69278);const{InvalidArgumentError:v}=n(61581);const{Blob:D}=n(20181);const M=n(39023);const{stringify:U}=n(83480);const{headerNameLowerCasedRecord:j}=n(97281);const[V,K]=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 D&&e instanceof D||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const n=U(t);if(n){e+="?"+n}return e}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!/^https?:/.test(e.origin||e.protocol)){throw new v("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new v("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(e.origin||e.protocol)){throw new v("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 v("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 v("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new v("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new v("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new v("Invalid URL origin: the origin must be a string or null/undefined.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let n=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let i=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(n.endsWith("/")){n=n.substring(0,n.length-1)}if(i&&!i.startsWith("/")){i=`/${i}`}e=new URL(n+i)}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new v("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");i(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}i.strictEqual(typeof e,"string");const t=getHostname(e);if(y.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[o])}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===p){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[o]=true}}const ee=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(ee);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return j[e]||e.toLowerCase()}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let n=0;n<e.length;n+=2){const i=e[n].toString().toLowerCase();let o=t[i];if(!o){if(Array.isArray(e[n+1])){t[i]=e[n+1].map((e=>e.toString("utf8")))}else{t[i]=e[n+1].toString("utf8")}}else{if(!Array.isArray(o)){o=[o];t[i]=o}o.push(e[n+1].toString("utf8"))}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=[];let n=false;let i=-1;for(let o=0;o<e.length;o+=2){const d=e[o+0].toString();const p=e[o+1].toString("utf8");if(d.length===14&&(d==="content-length"||d.toLowerCase()==="content-length")){t.push(d,p);n=true}else if(d.length===19&&(d==="content-disposition"||d.toLowerCase()==="content-disposition")){i=t.push(d,p)-1}else{t.push(d,p)}}if(n&&i!==-1){t[i]=Buffer.from(t[i]).toString("latin1")}return t}function isBuffer(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function validateHandler(e,t,n){if(!e||typeof e!=="object"){throw new v("handler must be an object")}if(typeof e.onConnect!=="function"){throw new v("invalid onConnect method")}if(typeof e.onError!=="function"){throw new v("invalid onError method")}if(typeof e.onBodySent!=="function"&&e.onBodySent!==undefined){throw new v("invalid onBodySent method")}if(n||t==="CONNECT"){if(typeof e.onUpgrade!=="function"){throw new v("invalid onUpgrade method")}}else{if(typeof e.onHeaders!=="function"){throw new v("invalid onHeaders method")}if(typeof e.onData!=="function"){throw new v("invalid onData method")}if(typeof e.onComplete!=="function"){throw new v("invalid onComplete method")}}}function isDisturbed(e){return!!(e&&(f.isDisturbed?f.isDisturbed(e)||e[d]:e[d]||e.readableDidRead||e._readableState&&e._readableState.dataEmitted||isReadableAborted(e)))}function isErrored(e){return!!(e&&(f.isErrored?f.isErrored(e):/state: 'errored'/.test(M.inspect(e))))}function isReadable(e){return!!(e&&(f.isReadable?f.isReadable(e):/state: 'readable'/.test(M.inspect(e))))}function getSocketInfo(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}}async function*convertIterableToBuffer(e){for await(const t of e){yield Buffer.isBuffer(t)?t:Buffer.from(t)}}let te;function ReadableStreamFrom(e){if(!te){te=n(63774).ReadableStream}if(te.from){return te.from(convertIterableToBuffer(e))}let t;return new te({async start(){t=e[Symbol.asyncIterator]()},async pull(e){const{done:n,value:i}=await t.next();if(n){queueMicrotask((()=>{e.close()}))}else{const t=Buffer.isBuffer(i)?i:Buffer.from(i);e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()}},0)}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function throwIfAborted(e){if(!e){return}if(typeof e.throwIfAborted==="function"){e.throwIfAborted()}else{if(e.aborted){const e=new Error("The operation was aborted");e.name="AbortError";throw e}}}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const re=!!String.prototype.toWellFormed;function toUSVString(e){if(re){return`${e}`.toWellFormed()}else if(M.toUSVString){return M.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}const ne=Object.create(null);ne.enumerable=true;e.exports={kEnumerableProperty:ne,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:V,nodeMinor:K,nodeHasAutoSelectFamily:V>18||V===18&&K>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},19787:(e,t,n)=>{"use strict";const i=n(53553);const{ClientDestroyedError:o,ClientClosedError:d,InvalidArgumentError:p}=n(61581);const{kDestroy:f,kClose:y,kDispatch:v,kInterceptors:D}=n(45773);const M=Symbol("destroyed");const U=Symbol("closed");const j=Symbol("onDestroyed");const V=Symbol("onClosed");const K=Symbol("Intercepted Dispatch");class DispatcherBase extends i{constructor(){super();this[M]=false;this[j]=null;this[U]=false;this[V]=[]}get destroyed(){return this[M]}get closed(){return this[U]}get interceptors(){return this[D]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[D][t];if(typeof e!=="function"){throw new p("interceptor must be an function")}}}this[D]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((n,i)=>n?t(n):e(i)))}))}if(typeof e!=="function"){throw new p("invalid callback")}if(this[M]){queueMicrotask((()=>e(new o,null)));return}if(this[U]){if(this[V]){this[V].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[U]=true;this[V].push(e);const onClosed=()=>{const e=this[V];this[V]=null;for(let t=0;t<e.length;t++){e[t](null,null)}};this[y]().then((()=>this.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,n)=>{this.destroy(e,((e,i)=>e?n(e):t(i)))}))}if(typeof t!=="function"){throw new p("invalid callback")}if(this[M]){if(this[j]){this[j].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new o}this[M]=true;this[j]=this[j]||[];this[j].push(t);const onDestroyed=()=>{const e=this[j];this[j]=null;for(let t=0;t<e.length;t++){e[t](null,null)}};this[f](e).then((()=>{queueMicrotask(onDestroyed)}))}[K](e,t){if(!this[D]||this[D].length===0){this[K]=this[v];return this[v](e,t)}let n=this[v].bind(this);for(let e=this[D].length-1;e>=0;e--){n=this[D][e](n)}this[K]=n;return n(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new p("handler must be an object")}try{if(!e||typeof e!=="object"){throw new p("opts must be an object.")}if(this[M]||this[j]){throw new o}if(this[U]){throw new d}return this[K](e,t)}catch(e){if(typeof t.onError!=="function"){throw new p("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},53553:(e,t,n)=>{"use strict";const i=n(24434);class Dispatcher extends i{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},38009:(e,t,n)=>{"use strict";const i=n(69766);const o=n(84606);const{ReadableStreamFrom:d,isBlobLike:p,isReadableStreamLike:f,readableStreamClose:y,createDeferredPromise:v,fullyReadBody:D}=n(18961);const{FormData:M}=n(61187);const{kState:U}=n(11088);const{webidl:j}=n(33476);const{DOMException:V,structuredClone:K}=n(7536);const{Blob:ee,File:te}=n(20181);const{kBodyUsed:re}=n(45773);const ne=n(42613);const{isErrored:se}=n(84606);const{isUint8Array:ie,isArrayBuffer:oe}=n(98253);const{File:ae}=n(74091);const{parseMIMEType:Ae,serializeAMimeType:ce}=n(46960);let le;try{const e=n(77598);le=t=>e.randomInt(0,t)}catch{le=e=>Math.floor(Math.random(e))}let ue=globalThis.ReadableStream;const de=te??ae;const pe=new TextEncoder;const ge=new TextDecoder;function extractBody(e,t=false){if(!ue){ue=n(63774).ReadableStream}let i=null;if(e instanceof ue){i=e}else if(p(e)){i=e.stream()}else{i=new ue({async pull(e){e.enqueue(typeof D==="string"?pe.encode(D):D);queueMicrotask((()=>y(e)))},start(){},type:undefined})}ne(f(i));let v=null;let D=null;let M=null;let U=null;if(typeof e==="string"){D=e;U="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){D=e.toString();U="application/x-www-form-urlencoded;charset=UTF-8"}else if(oe(e)){D=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){D=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(o.isFormDataLike(e)){const t=`----formdata-undici-0${`${le(1e11)}`.padStart(11,"0")}`;const n=`--${t}\r\nContent-Disposition: form-data`
|
||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;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 i=[];const o=new Uint8Array([13,10]);M=0;let d=false;for(const[t,p]of e){if(typeof p==="string"){const e=pe.encode(n+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(p)}\r\n`);i.push(e);M+=e.byteLength}else{const e=pe.encode(`${n}; name="${escape(normalizeLinefeeds(t))}"`+(p.name?`; filename="${escape(p.name)}"`:"")+"\r\n"+`Content-Type: ${p.type||"application/octet-stream"}\r\n\r\n`);i.push(e,p,o);if(typeof p.size==="number"){M+=e.byteLength+p.size+o.byteLength}else{d=true}}}const p=pe.encode(`--${t}--`);i.push(p);M+=p.byteLength;if(d){M=null}D=e;v=async function*(){for(const e of i){if(e.stream){yield*e.stream()}else{yield e}}};U="multipart/form-data; boundary="+t}else if(p(e)){D=e;M=e.size;if(e.type){U=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(o.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}i=e instanceof ue?e:d(e)}if(typeof D==="string"||o.isBuffer(D)){M=Buffer.byteLength(D)}if(v!=null){let t;i=new ue({async start(){t=v(e)[Symbol.asyncIterator]()},async pull(e){const{value:n,done:o}=await t.next();if(o){queueMicrotask((()=>{e.close()}))}else{if(!se(i)){e.enqueue(new Uint8Array(n))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const j={stream:i,source:D,length:M};return[j,U]}function safelyExtractBody(e,t=false){if(!ue){ue=n(63774).ReadableStream}if(e instanceof ue){ne(!o.isDisturbed(e),"The body has already been consumed.");ne(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,n]=e.stream.tee();const i=K(n,{transfer:[n]});const[,o]=i.tee();e.stream=t;return{stream:o,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(ie(e)){yield e}else{const t=e.stream;if(o.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[re]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new V("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=ce(t)}return new ee([e],{type:t})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){j.brandCheck(this,e);throwIfAborted(this[U]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,n]of this.headers)e[t.toLowerCase()]=n;const t=new M;let n;try{n=new i({headers:e,preservePath:true})}catch(e){throw new V(`${e}`,"AbortError")}n.on("field",((e,n)=>{t.append(e,n)}));n.on("file",((e,n,i,o,d)=>{const p=[];if(o==="base64"||o.toLowerCase()==="base64"){let o="";n.on("data",(e=>{o+=e.toString().replace(/[\r\n]/gm,"");const t=o.length-o.length%4;p.push(Buffer.from(o.slice(0,t),"base64"));o=o.slice(t)}));n.on("end",(()=>{p.push(Buffer.from(o,"base64"));t.append(e,new de(p,i,{type:d}))}))}else{n.on("data",(e=>{p.push(e)}));n.on("end",(()=>{t.append(e,new de(p,i,{type:d}))}))}}));const o=new Promise(((e,t)=>{n.on("finish",e);n.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[U].body))n.write(e);n.end();await o;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const n=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[U].body)){if(!ie(e)){throw new TypeError("Expected Uint8Array chunk")}t+=n.decode(e,{stream:true})}t+=n.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new M;for(const[n,i]of e){t.append(n,i)}return t}else{await Promise.resolve();throwIfAborted(this[U]);throw j.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,t,n){j.brandCheck(e,n);throwIfAborted(e[U]);if(bodyUnusable(e[U].body)){throw new TypeError("Body is unusable")}const i=v();const errorSteps=e=>i.reject(e);const successSteps=e=>{try{i.resolve(t(e))}catch(e){errorSteps(e)}};if(e[U].body==null){successSteps(new Uint8Array);return i.promise}await D(e[U].body,successSteps,errorSteps);return i.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||o.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=ge.decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:t}=e[U];const n=t.get("content-type");if(n===null){return"failure"}return Ae(n)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},7536:(e,t,n)=>{"use strict";const{MessageChannel:i,receiveMessageOnPort:o}=n(28167);const d=["GET","HEAD","POST"];const p=new Set(d);const f=[101,204,205,304];const y=[301,302,303,307,308];const v=new Set(y);const D=["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 M=new Set(D);const U=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const j=new Set(U);const V=["follow","manual","error"];const K=["GET","HEAD","OPTIONS","TRACE"];const ee=new Set(K);const te=["navigate","same-origin","no-cors","cors"];const re=["omit","same-origin","include"];const ne=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const se=["content-encoding","content-language","content-location","content-type","content-length"];const ie=["half"];const oe=["CONNECT","TRACE","TRACK"];const ae=new Set(oe);const Ae=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const ce=new Set(Ae);const le=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let ue;const de=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!ue){ue=new i}ue.port1.unref();ue.port2.unref();ue.port1.postMessage(e,t?.transfer);return o(ue.port2).message};e.exports={DOMException:le,structuredClone:de,subresource:Ae,forbiddenMethods:oe,requestBodyHeader:se,referrerPolicy:U,requestRedirect:V,requestMode:te,requestCredentials:re,requestCache:ne,redirectStatus:y,corsSafeListedMethods:d,nullBodyStatus:f,safeMethods:K,badPorts:D,requestDuplex:ie,subresourceSet:ce,badPortsSet:M,redirectStatusSet:v,corsSafeListedMethodsSet:p,safeMethodsSet:ee,forbiddenMethodsSet:ae,referrerPolicySet:j}},46960:(e,t,n)=>{const i=n(42613);const{atob:o}=n(20181);const{isomorphicDecode:d}=n(18961);const p=new TextEncoder;const f=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const y=/(\u000A|\u000D|\u0009|\u0020)/;const v=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){i(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const n={position:0};let o=collectASequenceOfCodePointsFast(",",t,n);const p=o.length;o=removeASCIIWhitespace(o,true,true);if(n.position>=t.length){return"failure"}n.position++;const f=t.slice(p+1);let y=stringPercentDecode(f);if(/;(\u0020){0,}base64$/i.test(o)){const e=d(y);y=forgivingBase64(e);if(y==="failure"){return"failure"}o=o.slice(0,-6);o=o.replace(/(\u0020)+$/,"");o=o.slice(0,-1)}if(o.startsWith(";")){o="text/plain"+o}let v=parseMIMEType(o);if(v==="failure"){v=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:v,body:y}}function URLSerializer(e,t=false){if(!t){return e.href}const n=e.href;const i=e.hash.length;return i===0?n:n.substring(0,n.length-i)}function collectASequenceOfCodePoints(e,t,n){let i="";while(n.position<t.length&&e(t[n.position])){i+=t[n.position];n.position++}return i}function collectASequenceOfCodePointsFast(e,t,n){const i=t.indexOf(e,n.position);const o=n.position;if(i===-1){n.position=t.length;return t.slice(o)}n.position=i;return t.slice(o,n.position)}function stringPercentDecode(e){const t=p.encode(e);return percentDecode(t)}function percentDecode(e){const t=[];for(let n=0;n<e.length;n++){const i=e[n];if(i!==37){t.push(i)}else if(i===37&&!/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(e[n+1],e[n+2]))){t.push(37)}else{const i=String.fromCharCode(e[n+1],e[n+2]);const o=Number.parseInt(i,16);t.push(o);n+=2}}return Uint8Array.from(t)}function parseMIMEType(e){e=removeHTTPWhitespace(e,true,true);const t={position:0};const n=collectASequenceOfCodePointsFast("/",e,t);if(n.length===0||!f.test(n)){return"failure"}if(t.position>e.length){return"failure"}t.position++;let i=collectASequenceOfCodePointsFast(";",e,t);i=removeHTTPWhitespace(i,false,true);if(i.length===0||!f.test(i)){return"failure"}const o=n.toLowerCase();const d=i.toLowerCase();const p={type:o,subtype:d,parameters:new Map,essence:`${o}/${d}`};while(t.position<e.length){t.position++;collectASequenceOfCodePoints((e=>y.test(e)),e,t);let n=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);n=n.toLowerCase();if(t.position<e.length){if(e[t.position]===";"){continue}t.position++}if(t.position>e.length){break}let i=null;if(e[t.position]==='"'){i=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{i=collectASequenceOfCodePointsFast(";",e,t);i=removeHTTPWhitespace(i,false,true);if(i.length===0){continue}}if(n.length!==0&&f.test(n)&&(i.length===0||v.test(i))&&!p.parameters.has(n)){p.parameters.set(n,i)}}return p}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=o(e);const n=new Uint8Array(t.length);for(let e=0;e<t.length;e++){n[e]=t.charCodeAt(e)}return n}function collectAnHTTPQuotedString(e,t,n){const o=t.position;let d="";i(e[t.position]==='"');t.position++;while(true){d+=collectASequenceOfCodePoints((e=>e!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const n=e[t.position];t.position++;if(n==="\\"){if(t.position>=e.length){d+="\\";break}d+=e[t.position];t.position++}else{i(n==='"');break}}if(n){return d}return e.slice(o,t.position)}function serializeAMimeType(e){i(e!=="failure");const{parameters:t,essence:n}=e;let o=n;for(let[e,n]of t.entries()){o+=";";o+=e;o+="=";if(!f.test(n)){n=n.replace(/(\\|")/g,"\\$1");n='"'+n;n+='"'}o+=n}return o}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,n=true){let i=0;let o=e.length-1;if(t){for(;i<e.length&&isHTTPWhiteSpace(e[i]);i++);}if(n){for(;o>0&&isHTTPWhiteSpace(e[o]);o--);}return e.slice(i,o+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,n=true){let i=0;let o=e.length-1;if(t){for(;i<e.length&&isASCIIWhitespace(e[i]);i++);}if(n){for(;o>0&&isASCIIWhitespace(e[o]);o--);}return e.slice(i,o+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},74091:(e,t,n)=>{"use strict";const{Blob:i,File:o}=n(20181);const{types:d}=n(39023);const{kState:p}=n(11088);const{isBlobLike:f}=n(18961);const{webidl:y}=n(33476);const{parseMIMEType:v,serializeAMimeType:D}=n(46960);const{kEnumerableProperty:M}=n(84606);const U=new TextEncoder;class File extends i{constructor(e,t,n={}){y.argumentLengthCheck(arguments,2,{header:"File constructor"});e=y.converters["sequence<BlobPart>"](e);t=y.converters.USVString(t);n=y.converters.FilePropertyBag(n);const i=t;let o=n.type;let d;e:{if(o){o=v(o);if(o==="failure"){o="";break e}o=D(o).toLowerCase()}d=n.lastModified}super(processBlobParts(e,n),{type:o});this[p]={name:i,lastModified:d,type:o}}get name(){y.brandCheck(this,File);return this[p].name}get lastModified(){y.brandCheck(this,File);return this[p].lastModified}get type(){y.brandCheck(this,File);return this[p].type}}class FileLike{constructor(e,t,n={}){const i=t;const o=n.type;const d=n.lastModified??Date.now();this[p]={blobLike:e,name:i,type:o,lastModified:d}}stream(...e){y.brandCheck(this,FileLike);return this[p].blobLike.stream(...e)}arrayBuffer(...e){y.brandCheck(this,FileLike);return this[p].blobLike.arrayBuffer(...e)}slice(...e){y.brandCheck(this,FileLike);return this[p].blobLike.slice(...e)}text(...e){y.brandCheck(this,FileLike);return this[p].blobLike.text(...e)}get size(){y.brandCheck(this,FileLike);return this[p].blobLike.size}get type(){y.brandCheck(this,FileLike);return this[p].blobLike.type}get name(){y.brandCheck(this,FileLike);return this[p].name}get lastModified(){y.brandCheck(this,FileLike);return this[p].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:M,lastModified:M});y.converters.Blob=y.interfaceConverter(i);y.converters.BlobPart=function(e,t){if(y.util.Type(e)==="Object"){if(f(e)){return y.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||d.isAnyArrayBuffer(e)){return y.converters.BufferSource(e,t)}}return y.converters.USVString(e,t)};y.converters["sequence<BlobPart>"]=y.sequenceConverter(y.converters.BlobPart);y.converters.FilePropertyBag=y.dictionaryConverter([{key:"lastModified",converter:y.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:y.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>{e=y.converters.DOMString(e);e=e.toLowerCase();if(e!=="native"){e="transparent"}return e},defaultValue:"transparent"}]);function processBlobParts(e,t){const n=[];for(const i of e){if(typeof i==="string"){let e=i;if(t.endings==="native"){e=convertLineEndingsNative(e)}n.push(U.encode(e))}else if(d.isAnyArrayBuffer(i)||d.isTypedArray(i)){if(!i.buffer){n.push(new Uint8Array(i))}else{n.push(new Uint8Array(i.buffer,i.byteOffset,i.byteLength))}}else if(f(i)){n.push(i)}}return n}function convertLineEndingsNative(e){let t="\n";if(process.platform==="win32"){t="\r\n"}return e.replace(/\r?\n/g,t)}function isFileLike(e){return o&&e instanceof o||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},61187:(e,t,n)=>{"use strict";const{isBlobLike:i,toUSVString:o,makeIterator:d}=n(18961);const{kState:p}=n(11088);const{File:f,FileLike:y,isFileLike:v}=n(74091);const{webidl:D}=n(33476);const{Blob:M,File:U}=n(20181);const j=U??f;class FormData{constructor(e){if(e!==undefined){throw D.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[p]=[]}append(e,t,n=undefined){D.brandCheck(this,FormData);D.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!i(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=D.converters.USVString(e);t=i(t)?D.converters.Blob(t,{strict:false}):D.converters.USVString(t);n=arguments.length===3?D.converters.USVString(n):undefined;const o=makeEntry(e,t,n);this[p].push(o)}delete(e){D.brandCheck(this,FormData);D.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=D.converters.USVString(e);this[p]=this[p].filter((t=>t.name!==e))}get(e){D.brandCheck(this,FormData);D.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=D.converters.USVString(e);const t=this[p].findIndex((t=>t.name===e));if(t===-1){return null}return this[p][t].value}getAll(e){D.brandCheck(this,FormData);D.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=D.converters.USVString(e);return this[p].filter((t=>t.name===e)).map((e=>e.value))}has(e){D.brandCheck(this,FormData);D.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=D.converters.USVString(e);return this[p].findIndex((t=>t.name===e))!==-1}set(e,t,n=undefined){D.brandCheck(this,FormData);D.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!i(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=D.converters.USVString(e);t=i(t)?D.converters.Blob(t,{strict:false}):D.converters.USVString(t);n=arguments.length===3?o(n):undefined;const d=makeEntry(e,t,n);const f=this[p].findIndex((t=>t.name===e));if(f!==-1){this[p]=[...this[p].slice(0,f),d,...this[p].slice(f+1).filter((t=>t.name!==e))]}else{this[p].push(d)}}entries(){D.brandCheck(this,FormData);return d((()=>this[p].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){D.brandCheck(this,FormData);return d((()=>this[p].map((e=>[e.name,e.value]))),"FormData","key")}values(){D.brandCheck(this,FormData);return d((()=>this[p].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){D.brandCheck(this,FormData);D.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[n,i]of this){e.apply(t,[i,n,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,n){e=Buffer.from(e).toString("utf8");if(typeof t==="string"){t=Buffer.from(t).toString("utf8")}else{if(!v(t)){t=t instanceof M?new j([t],"blob",{type:t.type}):new y(t,"blob",{type:t.type})}if(n!==undefined){const e={type:t.type,lastModified:t.lastModified};t=U&&t instanceof U||t instanceof f?new j([t],n,e):new y(t,n,e)}}return{name:e,value:t}}e.exports={FormData:FormData}},50742: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 n=new URL(e);if(n.protocol!=="http:"&&n.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${n.protocol}`)}Object.defineProperty(globalThis,t,{value:n,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},12223:(e,t,n)=>{"use strict";const{kHeadersList:i,kConstruct:o}=n(45773);const{kGuard:d}=n(11088);const{kEnumerableProperty:p}=n(84606);const{makeIterator:f,isValidHeaderName:y,isValidHeaderValue:v}=n(18961);const D=n(39023);const{webidl:M}=n(33476);const U=n(42613);const j=Symbol("headers map");const V=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let n=e.length;while(n>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(n-1)))--n;while(n>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&n===e.length?e:e.substring(t,n)}function fill(e,t){if(Array.isArray(t)){for(let n=0;n<t.length;++n){const i=t[n];if(i.length!==2){throw M.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`})}appendHeader(e,i[0],i[1])}}else if(typeof t==="object"&&t!==null){const n=Object.keys(t);for(let i=0;i<n.length;++i){appendHeader(e,n[i],t[n[i]])}}else{throw M.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}}function appendHeader(e,t,n){n=headerValueNormalize(n);if(!y(t)){throw M.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!v(n)){throw M.errors.invalidArgument({prefix:"Headers.append",value:n,type:"header value"})}if(e[d]==="immutable"){throw new TypeError("immutable")}else if(e[d]==="request-no-cors"){}return e[i].append(t,n)}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[j]=new Map(e[j]);this[V]=e[V];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[j]=new Map(e);this[V]=null}}contains(e){e=e.toLowerCase();return this[j].has(e)}clear(){this[j].clear();this[V]=null;this.cookies=null}append(e,t){this[V]=null;const n=e.toLowerCase();const i=this[j].get(n);if(i){const e=n==="cookie"?"; ":", ";this[j].set(n,{name:i.name,value:`${i.value}${e}${t}`})}else{this[j].set(n,{name:e,value:t})}if(n==="set-cookie"){this.cookies??=[];this.cookies.push(t)}}set(e,t){this[V]=null;const n=e.toLowerCase();if(n==="set-cookie"){this.cookies=[t]}this[j].set(n,{name:e,value:t})}delete(e){this[V]=null;e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[j].delete(e)}get(e){const t=this[j].get(e.toLowerCase());return t===undefined?null:t.value}*[Symbol.iterator](){for(const[e,{value:t}]of this[j]){yield[e,t]}}get entries(){const e={};if(this[j].size){for(const{name:t,value:n}of this[j].values()){e[t]=n}}return e}}class Headers{constructor(e=undefined){if(e===o){return}this[i]=new HeadersList;this[d]="none";if(e!==undefined){e=M.converters.HeadersInit(e);fill(this,e)}}append(e,t){M.brandCheck(this,Headers);M.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=M.converters.ByteString(e);t=M.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){M.brandCheck(this,Headers);M.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=M.converters.ByteString(e);if(!y(e)){throw M.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[d]==="immutable"){throw new TypeError("immutable")}else if(this[d]==="request-no-cors"){}if(!this[i].contains(e)){return}this[i].delete(e)}get(e){M.brandCheck(this,Headers);M.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=M.converters.ByteString(e);if(!y(e)){throw M.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[i].get(e)}has(e){M.brandCheck(this,Headers);M.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=M.converters.ByteString(e);if(!y(e)){throw M.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[i].contains(e)}set(e,t){M.brandCheck(this,Headers);M.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=M.converters.ByteString(e);t=M.converters.ByteString(t);t=headerValueNormalize(t);if(!y(e)){throw M.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!v(t)){throw M.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[d]==="immutable"){throw new TypeError("immutable")}else if(this[d]==="request-no-cors"){}this[i].set(e,t)}getSetCookie(){M.brandCheck(this,Headers);const e=this[i].cookies;if(e){return[...e]}return[]}get[V](){if(this[i][V]){return this[i][V]}const e=[];const t=[...this[i]].sort(((e,t)=>e[0]<t[0]?-1:1));const n=this[i].cookies;for(let i=0;i<t.length;++i){const[o,d]=t[i];if(o==="set-cookie"){for(let t=0;t<n.length;++t){e.push([o,n[t]])}}else{U(d!==null);e.push([o,d])}}this[i][V]=e;return e}keys(){M.brandCheck(this,Headers);if(this[d]==="immutable"){const e=this[V];return f((()=>e),"Headers","key")}return f((()=>[...this[V].values()]),"Headers","key")}values(){M.brandCheck(this,Headers);if(this[d]==="immutable"){const e=this[V];return f((()=>e),"Headers","value")}return f((()=>[...this[V].values()]),"Headers","value")}entries(){M.brandCheck(this,Headers);if(this[d]==="immutable"){const e=this[V];return f((()=>e),"Headers","key+value")}return f((()=>[...this[V].values()]),"Headers","key+value")}forEach(e,t=globalThis){M.brandCheck(this,Headers);M.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[n,i]of this){e.apply(t,[i,n,this])}}[Symbol.for("nodejs.util.inspect.custom")](){M.brandCheck(this,Headers);return this[i]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:p,delete:p,get:p,has:p,set:p,getSetCookie:p,keys:p,values:p,entries:p,forEach:p,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true},[D.inspect.custom]:{enumerable:false}});M.converters.HeadersInit=function(e){if(M.util.Type(e)==="Object"){if(e[Symbol.iterator]){return M.converters["sequence<sequence<ByteString>>"](e)}return M.converters["record<ByteString, ByteString>"](e)}throw M.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},79401:(e,t,n)=>{"use strict";const{Response:i,makeNetworkError:o,makeAppropriateNetworkError:d,filterResponse:p,makeResponse:f}=n(96062);const{Headers:y}=n(12223);const{Request:v,makeRequest:D}=n(62204);const M=n(43106);const{bytesMatch:U,makePolicyContainer:j,clonePolicyContainer:V,requestBadPort:K,TAOCheck:ee,appendRequestOriginHeader:te,responseLocationURL:re,requestCurrentURL:ne,setRequestReferrerPolicyOnRedirect:se,tryUpgradeRequestToAPotentiallyTrustworthyURL:ie,createOpaqueTimingInfo:oe,appendFetchMetadata:ae,corsCheck:Ae,crossOriginResourcePolicyCheck:ce,determineRequestsReferrer:le,coarsenedSharedCurrentTime:ue,createDeferredPromise:de,isBlobLike:pe,sameOrigin:ge,isCancelled:fe,isAborted:he,isErrorLike:me,fullyReadBody:ye,readableStreamClose:Ee,isomorphicEncode:Ce,urlIsLocal:Ie,urlIsHttpHttpsScheme:Be,urlHasHttpsScheme:be}=n(18961);const{kState:Qe,kHeaders:Se,kGuard:Ne,kRealm:we}=n(11088);const ve=n(42613);const{safelyExtractBody:Re}=n(38009);const{redirectStatusSet:xe,nullBodyStatus:Pe,safeMethodsSet:ke,requestBodyHeader:De,subresourceSet:Te,DOMException:Oe}=n(7536);const{kHeadersList:Le}=n(45773);const Me=n(24434);const{Readable:Fe,pipeline:Ue}=n(2203);const{addAbortListener:_e,isErrored:He,isReadable:qe,nodeMajor:ze,nodeMinor:je}=n(84606);const{dataURLProcessor:Ve,serializeAMimeType:Ge}=n(46960);const{TransformStream:Ye}=n(63774);const{getGlobalDispatcher:Je}=n(7075);const{webidl:We}=n(33476);const{STATUS_CODES:Ze}=n(58611);const Ke=["GET","HEAD"];let $e;let Xe=globalThis.ReadableStream;class Fetch extends Me{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new Oe("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,t={}){We.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const n=de();let o;try{o=new v(e,t)}catch(e){n.reject(e);return n.promise}const d=o[Qe];if(o.signal.aborted){abortFetch(n,d,null,o.signal.reason);return n.promise}const p=d.client.globalObject;if(p?.constructor?.name==="ServiceWorkerGlobalScope"){d.serviceWorkers="none"}let f=null;const y=null;let D=false;let M=null;_e(o.signal,(()=>{D=true;ve(M!=null);M.abort(o.signal.reason);abortFetch(n,d,f,o.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(D){return Promise.resolve()}if(e.aborted){abortFetch(n,d,f,M.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){n.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}f=new i;f[Qe]=e;f[we]=y;f[Se][Le]=e.headersList;f[Se][Ne]="immutable";f[Se][we]=y;n.resolve(f)};M=fetching({request:d,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??Je()});return n.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const n=e.urlList[0];let i=e.timingInfo;let o=e.cacheState;if(!Be(n)){return}if(i===null){return}if(!e.timingAllowPassed){i=oe({startTime:i.startTime});o=""}i.endTime=ue();e.timingInfo=i;markResourceTiming(i,n,t,globalThis,o)}function markResourceTiming(e,t,n,i,o){if(ze>18||ze===18&&je>=2){performance.markResourceTiming(e,t.href,n,i,o)}}function abortFetch(e,t,n,i){if(!i){i=new Oe("The operation was aborted.","AbortError")}e.reject(i);if(t.body!=null&&qe(t.body?.stream)){t.body.stream.cancel(i).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(n==null){return}const o=n[Qe];if(o.body!=null&&qe(o.body?.stream)){o.body.stream.cancel(i).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:i,processResponseEndOfBody:o,processResponseConsumeBody:d,useParallelQueue:p=false,dispatcher:f}){let y=null;let v=false;if(e.client!=null){y=e.client.globalObject;v=e.client.crossOriginIsolatedCapability}const D=ue(v);const M=oe({startTime:D});const U={controller:new Fetch(f),request:e,timingInfo:M,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:i,processResponseConsumeBody:d,processResponseEndOfBody:o,taskDestination:y,crossOriginIsolatedCapability:v};ve(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client?.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=V(e.client.policyContainer)}else{e.policyContainer=j()}}if(!e.headersList.contains("accept")){const t="*/*";e.headersList.append("accept",t)}if(!e.headersList.contains("accept-language")){e.headersList.append("accept-language","*")}if(e.priority===null){}if(Te.has(e.destination)){}mainFetch(U).catch((e=>{U.controller.terminate(e)}));return U.controller}async function mainFetch(e,t=false){const n=e.request;let i=null;if(n.localURLsOnly&&!Ie(ne(n))){i=o("local URLs only")}ie(n);if(K(n)==="blocked"){i=o("bad port")}if(n.referrerPolicy===""){n.referrerPolicy=n.policyContainer.referrerPolicy}if(n.referrer!=="no-referrer"){n.referrer=le(n)}if(i===null){i=await(async()=>{const t=ne(n);if(ge(t,n.url)&&n.responseTainting==="basic"||t.protocol==="data:"||(n.mode==="navigate"||n.mode==="websocket")){n.responseTainting="basic";return await schemeFetch(e)}if(n.mode==="same-origin"){return o('request mode cannot be "same-origin"')}if(n.mode==="no-cors"){if(n.redirect!=="follow"){return o('redirect mode cannot be "follow" for "no-cors" request')}n.responseTainting="opaque";return await schemeFetch(e)}if(!Be(ne(n))){return o("URL scheme must be a HTTP(S) scheme")}n.responseTainting="cors";return await httpFetch(e)})()}if(t){return i}if(i.status!==0&&!i.internalResponse){if(n.responseTainting==="cors"){}if(n.responseTainting==="basic"){i=p(i,"basic")}else if(n.responseTainting==="cors"){i=p(i,"cors")}else if(n.responseTainting==="opaque"){i=p(i,"opaque")}else{ve(false)}}let d=i.status===0?i:i.internalResponse;if(d.urlList.length===0){d.urlList.push(...n.urlList)}if(!n.timingAllowFailed){i.timingAllowPassed=true}if(i.type==="opaque"&&d.status===206&&d.rangeRequested&&!n.headers.contains("range")){i=d=o()}if(i.status!==0&&(n.method==="HEAD"||n.method==="CONNECT"||Pe.includes(d.status))){d.body=null;e.controller.dump=true}if(n.integrity){const processBodyError=t=>fetchFinale(e,o(t));if(n.responseTainting==="opaque"||i.body==null){processBodyError(i.error);return}const processBody=t=>{if(!U(t,n.integrity)){processBodyError("integrity mismatch");return}i.body=Re(t)[0];fetchFinale(e,i)};await ye(i.body,processBody,processBodyError)}else{fetchFinale(e,i)}}function schemeFetch(e){if(fe(e)&&e.request.redirectCount===0){return Promise.resolve(d(e))}const{request:t}=e;const{protocol:i}=ne(t);switch(i){case"about:":{return Promise.resolve(o("about scheme is not supported"))}case"blob:":{if(!$e){$e=n(20181).resolveObjectURL}const e=ne(t);if(e.search.length!==0){return Promise.resolve(o("NetworkError when attempting to fetch resource."))}const i=$e(e.toString());if(t.method!=="GET"||!pe(i)){return Promise.resolve(o("invalid method"))}const d=Re(i);const p=d[0];const y=Ce(`${p.length}`);const v=d[1]??"";const D=f({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:y}],["content-type",{name:"Content-Type",value:v}]]});D.body=p;return Promise.resolve(D)}case"data:":{const e=ne(t);const n=Ve(e);if(n==="failure"){return Promise.resolve(o("failed to fetch the data URL"))}const i=Ge(n.mimeType);return Promise.resolve(f({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:Re(n.body)[0]}))}case"file:":{return Promise.resolve(o("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>o(e)))}default:{return Promise.resolve(o("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=oe({startTime:e.timingInfo.startTime})}const processResponseEndOfBody=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}};if(e.processResponse!=null){queueMicrotask((()=>e.processResponse(t)))}if(t.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(e,t)=>{t.enqueue(e)};const e=new Ye({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(e)}}if(e.processResponseConsumeBody!=null){const processBody=n=>e.processResponseConsumeBody(t,n);const processBodyError=n=>e.processResponseConsumeBody(t,n);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return ye(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let n=null;let i=null;const d=e.timingInfo;if(t.serviceWorkers==="all"){}if(n===null){if(t.redirect==="follow"){t.serviceWorkers="none"}i=n=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&Ae(t,n)==="failure"){return o("cors failure")}if(ee(t,n)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||n.type==="opaque")&&ce(t.origin,t.client,t.destination,i)==="blocked"){return o("blocked")}if(xe.has(i.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){n=o("unexpected redirect")}else if(t.redirect==="manual"){n=i}else if(t.redirect==="follow"){n=await httpRedirectFetch(e,n)}else{ve(false)}}n.timingInfo=d;return n}function httpRedirectFetch(e,t){const n=e.request;const i=t.internalResponse?t.internalResponse:t;let d;try{d=re(i,ne(n).hash);if(d==null){return t}}catch(e){return Promise.resolve(o(e))}if(!Be(d)){return Promise.resolve(o("URL scheme must be a HTTP(S) scheme"))}if(n.redirectCount===20){return Promise.resolve(o("redirect count exceeded"))}n.redirectCount+=1;if(n.mode==="cors"&&(d.username||d.password)&&!ge(n,d)){return Promise.resolve(o('cross origin not allowed for request mode "cors"'))}if(n.responseTainting==="cors"&&(d.username||d.password)){return Promise.resolve(o('URL cannot contain credentials for request mode "cors"'))}if(i.status!==303&&n.body!=null&&n.body.source==null){return Promise.resolve(o())}if([301,302].includes(i.status)&&n.method==="POST"||i.status===303&&!Ke.includes(n.method)){n.method="GET";n.body=null;for(const e of De){n.headersList.delete(e)}}if(!ge(ne(n),d)){n.headersList.delete("authorization");n.headersList.delete("proxy-authorization",true);n.headersList.delete("cookie");n.headersList.delete("host")}if(n.body!=null){ve(n.body.source!=null);n.body=Re(n.body.source)[0]}const p=e.timingInfo;p.redirectEndTime=p.postRedirectStartTime=ue(e.crossOriginIsolatedCapability);if(p.redirectStartTime===0){p.redirectStartTime=p.startTime}n.urlList.push(d);se(n,i);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,n=false){const i=e.request;let p=null;let f=null;let y=null;const v=null;const M=false;if(i.window==="no-window"&&i.redirect==="error"){p=e;f=i}else{f=D(i);p={...e};p.request=f}const U=i.credentials==="include"||i.credentials==="same-origin"&&i.responseTainting==="basic";const j=f.body?f.body.length:null;let V=null;if(f.body==null&&["POST","PUT"].includes(f.method)){V="0"}if(j!=null){V=Ce(`${j}`)}if(V!=null){f.headersList.append("content-length",V)}if(j!=null&&f.keepalive){}if(f.referrer instanceof URL){f.headersList.append("referer",Ce(f.referrer.href))}te(f);ae(f);if(!f.headersList.contains("user-agent")){f.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(f.cache==="default"&&(f.headersList.contains("if-modified-since")||f.headersList.contains("if-none-match")||f.headersList.contains("if-unmodified-since")||f.headersList.contains("if-match")||f.headersList.contains("if-range"))){f.cache="no-store"}if(f.cache==="no-cache"&&!f.preventNoCacheCacheControlHeaderModification&&!f.headersList.contains("cache-control")){f.headersList.append("cache-control","max-age=0")}if(f.cache==="no-store"||f.cache==="reload"){if(!f.headersList.contains("pragma")){f.headersList.append("pragma","no-cache")}if(!f.headersList.contains("cache-control")){f.headersList.append("cache-control","no-cache")}}if(f.headersList.contains("range")){f.headersList.append("accept-encoding","identity")}if(!f.headersList.contains("accept-encoding")){if(be(ne(f))){f.headersList.append("accept-encoding","br, gzip, deflate")}else{f.headersList.append("accept-encoding","gzip, deflate")}}f.headersList.delete("host");if(U){}if(v==null){f.cache="no-store"}if(f.mode!=="no-store"&&f.mode!=="reload"){}if(y==null){if(f.mode==="only-if-cached"){return o("only if cached")}const e=await httpNetworkFetch(p,U,n);if(!ke.has(f.method)&&e.status>=200&&e.status<=399){}if(M&&e.status===304){}if(y==null){y=e}}y.urlList=[...f.urlList];if(f.headersList.contains("range")){y.rangeRequested=true}y.requestIncludesCredentials=U;if(y.status===407){if(i.window==="no-window"){return o()}if(fe(e)){return d(e)}return o("proxy authentication required")}if(y.status===421&&!n&&(i.body==null||i.body.source!=null)){if(fe(e)){return d(e)}e.controller.connection.destroy();y=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return y}async function httpNetworkFetch(e,t=false,i=false){ve(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e){if(!this.destroyed){this.destroyed=true;this.abort?.(e??new Oe("The operation was aborted.","AbortError"))}}};const p=e.request;let v=null;const D=e.timingInfo;const U=null;if(U==null){p.cache="no-store"}const j=i?"yes":"no";if(p.mode==="websocket"){}else{}let V=null;if(p.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(p.body!=null){const processBodyChunk=async function*(t){if(fe(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(fe(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(fe(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};V=async function*(){try{for await(const e of p.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:n,statusText:i,headersList:o,socket:d}=await dispatch({body:V});if(d){v=f({status:n,statusText:i,headersList:o,socket:d})}else{const d=t[Symbol.asyncIterator]();e.controller.next=()=>d.next();v=f({status:n,statusText:i,headersList:o})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return d(e,t)}return o(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!Xe){Xe=n(63774).ReadableStream}const K=new Xe({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)}},{highWaterMark:0,size(){return 1}});v.body={stream:K};e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let n;try{const{done:n,value:i}=await e.controller.next();if(he(e)){break}t=n?undefined:i}catch(i){if(e.controller.ended&&!D.encodedBodySize){t=undefined}else{t=i;n=true}}if(t===undefined){Ee(e.controller.controller);finalizeResponse(e,v);return}D.decodedBodySize+=t?.byteLength??0;if(n){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(He(K)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(he(e)){v.aborted=true;if(qe(K)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(qe(K)){e.controller.controller.error(new TypeError("terminated",{cause:me(t)?t:undefined}))}}e.controller.connection.destroy()}return v;async function dispatch({body:t}){const n=ne(p);const i=e.controller.dispatcher;return new Promise(((o,d)=>i.dispatch({path:n.pathname+n.search,origin:n.origin,method:p.method,body:e.controller.dispatcher.isMockActive?p.body&&(p.body.source||p.body.stream):t,headers:p.headersList.entries,maxRedirections:0,upgrade:p.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:n}=e.controller;if(n.destroyed){t(new Oe("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=n.abort=t}},onHeaders(e,t,n,i){if(e<200){return}let d=[];let f="";const v=new y;if(Array.isArray(t)){for(let e=0;e<t.length;e+=2){const n=t[e+0].toString("latin1");const i=t[e+1].toString("latin1");if(n.toLowerCase()==="content-encoding"){d=i.toLowerCase().split(",").map((e=>e.trim()))}else if(n.toLowerCase()==="location"){f=i}v[Le].append(n,i)}}else{const e=Object.keys(t);for(const n of e){const e=t[n];if(n.toLowerCase()==="content-encoding"){d=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(n.toLowerCase()==="location"){f=e}v[Le].append(n,e)}}this.body=new Fe({read:n});const D=[];const U=p.redirect==="follow"&&f&&xe.has(e);if(p.method!=="HEAD"&&p.method!=="CONNECT"&&!Pe.includes(e)&&!U){for(const e of d){if(e==="x-gzip"||e==="gzip"){D.push(M.createGunzip({flush:M.constants.Z_SYNC_FLUSH,finishFlush:M.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){D.push(M.createInflate())}else if(e==="br"){D.push(M.createBrotliDecompress())}else{D.length=0;break}}}o({status:e,statusText:i,headersList:v[Le],body:D.length?Ue(this.body,...D,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const n=t;D.encodedBodySize+=n.byteLength;return this.body.push(n)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);d(t)},onUpgrade(e,t,n){if(e!==101){return}const i=new y;for(let e=0;e<t.length;e+=2){const n=t[e+0].toString("latin1");const o=t[e+1].toString("latin1");i[Le].append(n,o)}o({status:e,statusText:Ze[e],headersList:i[Le],socket:n});return true}})))}}e.exports={fetch:fetch,Fetch:Fetch,fetching:fetching,finalizeAndReportTiming:finalizeAndReportTiming}},62204:(e,t,n)=>{"use strict";const{extractBody:i,mixinBody:o,cloneBody:d}=n(38009);const{Headers:p,fill:f,HeadersList:y}=n(12223);const{FinalizationRegistry:v}=n(91408)();const D=n(84606);const{isValidHTTPToken:M,sameOrigin:U,normalizeMethod:j,makePolicyContainer:V,normalizeMethodRecord:K}=n(18961);const{forbiddenMethodsSet:ee,corsSafeListedMethodsSet:te,referrerPolicy:re,requestRedirect:ne,requestMode:se,requestCredentials:ie,requestCache:oe,requestDuplex:ae}=n(7536);const{kEnumerableProperty:Ae}=D;const{kHeaders:ce,kSignal:le,kState:ue,kGuard:de,kRealm:pe}=n(11088);const{webidl:ge}=n(33476);const{getGlobalOrigin:fe}=n(50742);const{URLSerializer:he}=n(46960);const{kHeadersList:me,kConstruct:ye}=n(45773);const Ee=n(42613);const{getMaxListeners:Ce,setMaxListeners:Ie,getEventListeners:Be,defaultMaxListeners:be}=n(24434);let Qe=globalThis.TransformStream;const Se=Symbol("abortController");const Ne=new v((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===ye){return}ge.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=ge.converters.RequestInfo(e);t=ge.converters.RequestInit(t);this[pe]={settingsObject:{baseUrl:fe(),get origin(){return this.baseUrl?.origin},policyContainer:V()}};let o=null;let d=null;const v=this[pe].settingsObject.baseUrl;let re=null;if(typeof e==="string"){let t;try{t=new URL(e,v)}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)}o=makeRequest({urlList:[t]});d="cors"}else{Ee(e instanceof Request);o=e[ue];re=e[le]}const ne=this[pe].settingsObject.origin;let se="client";if(o.window?.constructor?.name==="EnvironmentSettingsObject"&&U(o.window,ne)){se=o.window}if(t.window!=null){throw new TypeError(`'window' option '${se}' must be null`)}if("window"in t){se="no-window"}o=makeRequest({method:o.method,headersList:o.headersList,unsafeRequest:o.unsafeRequest,client:this[pe].settingsObject,window:se,priority:o.priority,origin:o.origin,referrer:o.referrer,referrerPolicy:o.referrerPolicy,mode:o.mode,credentials:o.credentials,cache:o.cache,redirect:o.redirect,integrity:o.integrity,keepalive:o.keepalive,reloadNavigation:o.reloadNavigation,historyNavigation:o.historyNavigation,urlList:[...o.urlList]});const ie=Object.keys(t).length!==0;if(ie){if(o.mode==="navigate"){o.mode="same-origin"}o.reloadNavigation=false;o.historyNavigation=false;o.origin="client";o.referrer="client";o.referrerPolicy="";o.url=o.urlList[o.urlList.length-1];o.urlList=[o.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){o.referrer="no-referrer"}else{let t;try{t=new URL(e,v)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||ne&&!U(t,this[pe].settingsObject.baseUrl)){o.referrer="client"}else{o.referrer=t}}}if(t.referrerPolicy!==undefined){o.referrerPolicy=t.referrerPolicy}let oe;if(t.mode!==undefined){oe=t.mode}else{oe=d}if(oe==="navigate"){throw ge.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(oe!=null){o.mode=oe}if(t.credentials!==undefined){o.credentials=t.credentials}if(t.cache!==undefined){o.cache=t.cache}if(o.cache==="only-if-cached"&&o.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){o.redirect=t.redirect}if(t.integrity!=null){o.integrity=String(t.integrity)}if(t.keepalive!==undefined){o.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!M(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(ee.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=K[e]??j(e);o.method=e}if(t.signal!==undefined){re=t.signal}this[ue]=o;const ae=new AbortController;this[le]=ae.signal;this[le][pe]=this[pe];if(re!=null){if(!re||typeof re.aborted!=="boolean"||typeof re.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(re.aborted){ae.abort(re.reason)}else{this[Se]=ae;const e=new WeakRef(ae);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof Ce==="function"&&Ce(re)===be){Ie(100,re)}else if(Be(re,"abort").length>=be){Ie(100,re)}}catch{}D.addAbortListener(re,abort);Ne.register(ae,{signal:re,abort:abort})}}this[ce]=new p(ye);this[ce][me]=o.headersList;this[ce][de]="request";this[ce][pe]=this[pe];if(oe==="no-cors"){if(!te.has(o.method)){throw new TypeError(`'${o.method} is unsupported in no-cors mode.`)}this[ce][de]="request-no-cors"}if(ie){const e=this[ce][me];const n=t.headers!==undefined?t.headers:new y(e);e.clear();if(n instanceof y){for(const[t,i]of n){e.append(t,i)}e.cookies=n.cookies}else{f(this[ce],n)}}const Ae=e instanceof Request?e[ue].body:null;if((t.body!=null||Ae!=null)&&(o.method==="GET"||o.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let he=null;if(t.body!=null){const[e,n]=i(t.body,o.keepalive);he=e;if(n&&!this[ce][me].contains("content-type")){this[ce].append("content-type",n)}}const we=he??Ae;if(we!=null&&we.source==null){if(he!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(o.mode!=="same-origin"&&o.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}o.useCORSPreflightFlag=true}let ve=we;if(he==null&&Ae!=null){if(D.isDisturbed(Ae.stream)||Ae.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!Qe){Qe=n(63774).TransformStream}const e=new Qe;Ae.stream.pipeThrough(e);ve={source:Ae.source,length:Ae.length,stream:e.readable}}this[ue].body=ve}get method(){ge.brandCheck(this,Request);return this[ue].method}get url(){ge.brandCheck(this,Request);return he(this[ue].url)}get headers(){ge.brandCheck(this,Request);return this[ce]}get destination(){ge.brandCheck(this,Request);return this[ue].destination}get referrer(){ge.brandCheck(this,Request);if(this[ue].referrer==="no-referrer"){return""}if(this[ue].referrer==="client"){return"about:client"}return this[ue].referrer.toString()}get referrerPolicy(){ge.brandCheck(this,Request);return this[ue].referrerPolicy}get mode(){ge.brandCheck(this,Request);return this[ue].mode}get credentials(){return this[ue].credentials}get cache(){ge.brandCheck(this,Request);return this[ue].cache}get redirect(){ge.brandCheck(this,Request);return this[ue].redirect}get integrity(){ge.brandCheck(this,Request);return this[ue].integrity}get keepalive(){ge.brandCheck(this,Request);return this[ue].keepalive}get isReloadNavigation(){ge.brandCheck(this,Request);return this[ue].reloadNavigation}get isHistoryNavigation(){ge.brandCheck(this,Request);return this[ue].historyNavigation}get signal(){ge.brandCheck(this,Request);return this[le]}get body(){ge.brandCheck(this,Request);return this[ue].body?this[ue].body.stream:null}get bodyUsed(){ge.brandCheck(this,Request);return!!this[ue].body&&D.isDisturbed(this[ue].body.stream)}get duplex(){ge.brandCheck(this,Request);return"half"}clone(){ge.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[ue]);const t=new Request(ye);t[ue]=e;t[pe]=this[pe];t[ce]=new p(ye);t[ce][me]=e.headersList;t[ce][de]=this[ce][de];t[ce][pe]=this[ce][pe];const n=new AbortController;if(this.signal.aborted){n.abort(this.signal.reason)}else{D.addAbortListener(this.signal,(()=>{n.abort(this.signal.reason)}))}t[le]=n.signal;return t}}o(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 y(e.headersList):new y};t.url=t.urlList[0];return t}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=d(e.body)}return t}Object.defineProperties(Request.prototype,{method:Ae,url:Ae,headers:Ae,redirect:Ae,clone:Ae,signal:Ae,duplex:Ae,destination:Ae,body:Ae,bodyUsed:Ae,isHistoryNavigation:Ae,isReloadNavigation:Ae,keepalive:Ae,integrity:Ae,cache:Ae,credentials:Ae,attribute:Ae,referrerPolicy:Ae,referrer:Ae,mode:Ae,[Symbol.toStringTag]:{value:"Request",configurable:true}});ge.converters.Request=ge.interfaceConverter(Request);ge.converters.RequestInfo=function(e){if(typeof e==="string"){return ge.converters.USVString(e)}if(e instanceof Request){return ge.converters.Request(e)}return ge.converters.USVString(e)};ge.converters.AbortSignal=ge.interfaceConverter(AbortSignal);ge.converters.RequestInit=ge.dictionaryConverter([{key:"method",converter:ge.converters.ByteString},{key:"headers",converter:ge.converters.HeadersInit},{key:"body",converter:ge.nullableConverter(ge.converters.BodyInit)},{key:"referrer",converter:ge.converters.USVString},{key:"referrerPolicy",converter:ge.converters.DOMString,allowedValues:re},{key:"mode",converter:ge.converters.DOMString,allowedValues:se},{key:"credentials",converter:ge.converters.DOMString,allowedValues:ie},{key:"cache",converter:ge.converters.DOMString,allowedValues:oe},{key:"redirect",converter:ge.converters.DOMString,allowedValues:ne},{key:"integrity",converter:ge.converters.DOMString},{key:"keepalive",converter:ge.converters.boolean},{key:"signal",converter:ge.nullableConverter((e=>ge.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:ge.converters.any},{key:"duplex",converter:ge.converters.DOMString,allowedValues:ae}]);e.exports={Request:Request,makeRequest:makeRequest}},96062:(e,t,n)=>{"use strict";const{Headers:i,HeadersList:o,fill:d}=n(12223);const{extractBody:p,cloneBody:f,mixinBody:y}=n(38009);const v=n(84606);const{kEnumerableProperty:D}=v;const{isValidReasonPhrase:M,isCancelled:U,isAborted:j,isBlobLike:V,serializeJavascriptValueToJSONString:K,isErrorLike:ee,isomorphicEncode:te}=n(18961);const{redirectStatusSet:re,nullBodyStatus:ne,DOMException:se}=n(7536);const{kState:ie,kHeaders:oe,kGuard:ae,kRealm:Ae}=n(11088);const{webidl:ce}=n(33476);const{FormData:le}=n(61187);const{getGlobalOrigin:ue}=n(50742);const{URLSerializer:de}=n(46960);const{kHeadersList:pe,kConstruct:ge}=n(45773);const fe=n(42613);const{types:he}=n(39023);const me=globalThis.ReadableStream||n(63774).ReadableStream;const ye=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[ie]=makeNetworkError();t[Ae]=e;t[oe][pe]=t[ie].headersList;t[oe][ae]="immutable";t[oe][Ae]=e;return t}static json(e,t={}){ce.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=ce.converters.ResponseInit(t)}const n=ye.encode(K(e));const i=p(n);const o={settingsObject:{}};const d=new Response;d[Ae]=o;d[oe][ae]="response";d[oe][Ae]=o;initializeResponse(d,t,{body:i[0],type:"application/json"});return d}static redirect(e,t=302){const n={settingsObject:{}};ce.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=ce.converters.USVString(e);t=ce.converters["unsigned short"](t);let i;try{i=new URL(e,ue())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!re.has(t)){throw new RangeError("Invalid status code "+t)}const o=new Response;o[Ae]=n;o[oe][ae]="immutable";o[oe][Ae]=n;o[ie].status=t;const d=te(de(i));o[ie].headersList.append("location",d);return o}constructor(e=null,t={}){if(e!==null){e=ce.converters.BodyInit(e)}t=ce.converters.ResponseInit(t);this[Ae]={settingsObject:{}};this[ie]=makeResponse({});this[oe]=new i(ge);this[oe][ae]="response";this[oe][pe]=this[ie].headersList;this[oe][Ae]=this[Ae];let n=null;if(e!=null){const[t,i]=p(e);n={body:t,type:i}}initializeResponse(this,t,n)}get type(){ce.brandCheck(this,Response);return this[ie].type}get url(){ce.brandCheck(this,Response);const e=this[ie].urlList;const t=e[e.length-1]??null;if(t===null){return""}return de(t,true)}get redirected(){ce.brandCheck(this,Response);return this[ie].urlList.length>1}get status(){ce.brandCheck(this,Response);return this[ie].status}get ok(){ce.brandCheck(this,Response);return this[ie].status>=200&&this[ie].status<=299}get statusText(){ce.brandCheck(this,Response);return this[ie].statusText}get headers(){ce.brandCheck(this,Response);return this[oe]}get body(){ce.brandCheck(this,Response);return this[ie].body?this[ie].body.stream:null}get bodyUsed(){ce.brandCheck(this,Response);return!!this[ie].body&&v.isDisturbed(this[ie].body.stream)}clone(){ce.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw ce.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[ie]);const t=new Response;t[ie]=e;t[Ae]=this[Ae];t[oe][pe]=e.headersList;t[oe][ae]=this[oe][ae];t[oe][Ae]=this[oe][Ae];return t}}y(Response);Object.defineProperties(Response.prototype,{type:D,url:D,status:D,ok:D,redirected:D,statusText:D,headers:D,clone:D,body:D,bodyUsed:D,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:D,redirect:D,error:D});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=f(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 o(e.headersList):new o,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=ee(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,n){return n in t?t[n]:e[n]},set(e,n,i){fe(!(n in t));e[n]=i;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{fe(false)}}function makeAppropriateNetworkError(e,t=null){fe(U(e));return j(e)?makeNetworkError(Object.assign(new se("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new se("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,n){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!M(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[ie].status=t.status}if("statusText"in t&&t.statusText!=null){e[ie].statusText=t.statusText}if("headers"in t&&t.headers!=null){d(e[oe],t.headers)}if(n){if(ne.includes(e.status)){throw ce.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[ie].body=n.body;if(n.type!=null&&!e[ie].headersList.contains("Content-Type")){e[ie].headersList.append("content-type",n.type)}}}ce.converters.ReadableStream=ce.interfaceConverter(me);ce.converters.FormData=ce.interfaceConverter(le);ce.converters.URLSearchParams=ce.interfaceConverter(URLSearchParams);ce.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return ce.converters.USVString(e)}if(V(e)){return ce.converters.Blob(e,{strict:false})}if(he.isArrayBuffer(e)||he.isTypedArray(e)||he.isDataView(e)){return ce.converters.BufferSource(e)}if(v.isFormDataLike(e)){return ce.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return ce.converters.URLSearchParams(e)}return ce.converters.DOMString(e)};ce.converters.BodyInit=function(e){if(e instanceof me){return ce.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return ce.converters.XMLHttpRequestBodyInit(e)};ce.converters.ResponseInit=ce.dictionaryConverter([{key:"status",converter:ce.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:ce.converters.ByteString,defaultValue:""},{key:"headers",converter:ce.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},11088:e=>{"use strict";e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},18961:(e,t,n)=>{"use strict";const{redirectStatusSet:i,referrerPolicySet:o,badPortsSet:d}=n(7536);const{getGlobalOrigin:p}=n(50742);const{performance:f}=n(82987);const{isBlobLike:y,toUSVString:v,ReadableStreamFrom:D}=n(84606);const M=n(42613);const{isUint8Array:U}=n(98253);let j=[];let V;try{V=n(76982);const e=["sha256","sha384","sha512"];j=V.getHashes().filter((t=>e.includes(t)))}catch{}function responseURL(e){const t=e.urlList;const n=t.length;return n===0?null:t[n-1].toString()}function responseLocationURL(e,t){if(!i.has(e.status)){return null}let n=e.headersList.get("location");if(n!==null&&isValidHeaderValue(n)){n=new URL(n,responseURL(e))}if(n&&!n.hash){n.hash=t}return n}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&d.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<e.length;++t){const n=e.charCodeAt(t);if(!(n===9||n>=32&&n<=126||n>=128&&n<=255)){return false}}return true}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t<e.length;++t){if(!isTokenCharCode(e.charCodeAt(t))){return false}}return true}function isValidHeaderName(e){return isValidHTTPToken(e)}function isValidHeaderValue(e){if(e.startsWith("\t")||e.startsWith(" ")||e.endsWith("\t")||e.endsWith(" ")){return false}if(e.includes("\0")||e.includes("\r")||e.includes("\n")){return false}return true}function setRequestReferrerPolicyOnRedirect(e,t){const{headersList:n}=t;const i=(n.get("referrer-policy")??"").split(",");let d="";if(i.length>0){for(let e=i.length;e!==0;e--){const t=i[e-1].trim();if(o.has(t)){d=t;break}}}if(d!==""){e.referrerPolicy=d}}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 f.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;M(t);let n=null;if(e.referrer==="client"){const e=p();if(!e||e.origin==="null"){return"no-referrer"}n=new URL(e)}else if(e.referrer instanceof URL){n=e.referrer}let i=stripURLForReferrer(n);const o=stripURLForReferrer(n,true);if(i.toString().length>4096){i=o}const d=sameOrigin(e,i);const f=isURLPotentiallyTrustworthy(i)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return o!=null?o:stripURLForReferrer(n,true);case"unsafe-url":return i;case"same-origin":return d?o:"no-referrer";case"origin-when-cross-origin":return d?i:o;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(i,t)){return i}if(isURLPotentiallyTrustworthy(i)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return o}case"strict-origin":case"no-referrer-when-downgrade":default:return f?"no-referrer":o}}function stripURLForReferrer(e,t){M(e instanceof URL);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(V===undefined){return true}const n=parseMetadata(t);if(n==="no metadata"){return true}if(n.length===0){return true}const i=getStrongestMetadata(n);const o=filterMetadataListByAlgorithm(n,i);for(const t of o){const n=t.algo;const i=t.hash;let o=V.createHash(n).update(e).digest("base64");if(o[o.length-1]==="="){if(o[o.length-2]==="="){o=o.slice(0,-2)}else{o=o.slice(0,-1)}}if(compareBase64Mixed(o,i)){return true}}return false}const K=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let n=true;for(const i of e.split(" ")){n=false;const e=K.exec(i);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const o=e.groups.algo.toLowerCase();if(j.includes(o)){t.push(e.groups)}}if(n===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let n=1;n<e.length;++n){const i=e[n];if(i.algo[3]==="5"){t="sha512";break}else if(t[3]==="3"){continue}else if(i.algo[3]==="3"){t="sha384"}}return t}function filterMetadataListByAlgorithm(e,t){if(e.length===1){return e}let n=0;for(let i=0;i<e.length;++i){if(e[i].algo===t){e[n++]=e[i]}}e.length=n;return e}function compareBase64Mixed(e,t){if(e.length!==t.length){return false}for(let n=0;n<e.length;++n){if(e[n]!==t[n]){if(e[n]==="+"&&t[n]==="-"||e[n]==="/"&&t[n]==="_"){continue}return false}}return true}function tryUpgradeRequestToAPotentiallyTrustworthyURL(e){}function sameOrigin(e,t){if(e.origin===t.origin&&e.origin==="null"){return true}if(e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port){return true}return false}function createDeferredPromise(){let e;let t;const n=new Promise(((n,i)=>{e=n;t=i}));return{promise:n,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}const ee={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(ee,null);function normalizeMethod(e){return ee[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}M(typeof t==="string");return t}const te=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,n){const i={index:0,kind:n,target:e};const o={next(){if(Object.getPrototypeOf(this)!==o){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:n,target:d}=i;const p=d();const f=p.length;if(e>=f){return{value:undefined,done:true}}const y=p[e];i.index=e+1;return iteratorResult(y,n)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(o,te);return Object.setPrototypeOf({},o)}function iteratorResult(e,t){let n;switch(t){case"key":{n=e[0];break}case"value":{n=e[1];break}case"key+value":{n=e;break}}return{value:n,done:false}}async function fullyReadBody(e,t,n){const i=t;const o=n;let d;try{d=e.stream.getReader()}catch(e){o(e);return}try{const e=await readAllBytes(d);i(e)}catch(e){o(e)}}let re=globalThis.ReadableStream;function isReadableStreamLike(e){if(!re){re=n(63774).ReadableStream}return e instanceof re||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const ne=65535;function isomorphicDecode(e){if(e.length<ne){return String.fromCharCode(...e)}return e.reduce(((e,t)=>e+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;t<e.length;t++){M(e.charCodeAt(t)<=255)}return e}async function readAllBytes(e){const t=[];let n=0;while(true){const{done:i,value:o}=await e.read();if(i){return Buffer.concat(t,n)}if(!U(o)){throw new TypeError("Received non-Uint8Array chunk")}t.push(o);n+=o.length}}function urlIsLocal(e){M("protocol"in e);const t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function urlHasHttpsScheme(e){if(typeof e==="string"){return e.startsWith("https:")}return e.protocol==="https:"}function urlIsHttpHttpsScheme(e){M("protocol"in e);const t=e.protocol;return t==="http:"||t==="https:"}const se=Object.hasOwn||((e,t)=>Object.prototype.hasOwnProperty.call(e,t));e.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:D,toUSVString:v,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:y,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:se,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:ee,parseMetadata:parseMetadata}},33476:(e,t,n)=>{"use strict";const{types:i}=n(39023);const{hasOwn:o,toUSVString:d}=n(18961);const p={};p.converters={};p.util={};p.errors={};p.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};p.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const n=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return p.errors.exception({header:e.prefix,message:n})};p.errors.invalidArgument=function(e){return p.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};p.brandCheck=function(e,t,n=undefined){if(n?.strict!==false&&!(e instanceof t)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}};p.argumentLengthCheck=function({length:e},t,n){if(e<t){throw p.errors.exception({message:`${t} argument${t!==1?"s":""} required, `+`but${e?" only":""} ${e} found.`,...n})}};p.illegalConstructor=function(){throw p.errors.exception({header:"TypeError",message:"Illegal constructor"})};p.util.Type=function(e){switch(typeof e){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":{if(e===null){return"Null"}return"Object"}}};p.util.ConvertToInt=function(e,t,n,i={}){let o;let d;if(t===64){o=Math.pow(2,53)-1;if(n==="unsigned"){d=0}else{d=Math.pow(-2,53)+1}}else if(n==="unsigned"){d=0;o=Math.pow(2,t)-1}else{d=Math.pow(-2,t)-1;o=Math.pow(2,t-1)-1}let f=Number(e);if(f===0){f=0}if(i.enforceRange===true){if(Number.isNaN(f)||f===Number.POSITIVE_INFINITY||f===Number.NEGATIVE_INFINITY){throw p.errors.exception({header:"Integer conversion",message:`Could not convert ${e} to an integer.`})}f=p.util.IntegerPart(f);if(f<d||f>o){throw p.errors.exception({header:"Integer conversion",message:`Value must be between ${d}-${o}, got ${f}.`})}return f}if(!Number.isNaN(f)&&i.clamp===true){f=Math.min(Math.max(f,d),o);if(Math.floor(f)%2===0){f=Math.floor(f)}else{f=Math.ceil(f)}return f}if(Number.isNaN(f)||f===0&&Object.is(0,f)||f===Number.POSITIVE_INFINITY||f===Number.NEGATIVE_INFINITY){return 0}f=p.util.IntegerPart(f);f=f%Math.pow(2,t);if(n==="signed"&&f>=Math.pow(2,t)-1){return f-Math.pow(2,t)}return f};p.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};p.sequenceConverter=function(e){return t=>{if(p.util.Type(t)!=="Object"){throw p.errors.exception({header:"Sequence",message:`Value of type ${p.util.Type(t)} is not an Object.`})}const n=t?.[Symbol.iterator]?.();const i=[];if(n===undefined||typeof n.next!=="function"){throw p.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:t,value:o}=n.next();if(t){break}i.push(e(o))}return i}};p.recordConverter=function(e,t){return n=>{if(p.util.Type(n)!=="Object"){throw p.errors.exception({header:"Record",message:`Value of type ${p.util.Type(n)} is not an Object.`})}const o={};if(!i.isProxy(n)){const i=Object.keys(n);for(const d of i){const i=e(d);const p=t(n[d]);o[i]=p}return o}const d=Reflect.ownKeys(n);for(const i of d){const d=Reflect.getOwnPropertyDescriptor(n,i);if(d?.enumerable){const d=e(i);const p=t(n[i]);o[d]=p}}return o}};p.interfaceConverter=function(e){return(t,n={})=>{if(n.strict!==false&&!(t instanceof e)){throw p.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`})}return t}};p.dictionaryConverter=function(e){return t=>{const n=p.util.Type(t);const i={};if(n==="Null"||n==="Undefined"){return i}else if(n!=="Object"){throw p.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const n of e){const{key:e,defaultValue:d,required:f,converter:y}=n;if(f===true){if(!o(t,e)){throw p.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let v=t[e];const D=o(n,"defaultValue");if(D&&v!==null){v=v??d}if(f||D||v!==undefined){v=y(v);if(n.allowedValues&&!n.allowedValues.includes(v)){throw p.errors.exception({header:"Dictionary",message:`${v} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`})}i[e]=v}}return i}};p.nullableConverter=function(e){return t=>{if(t===null){return t}return e(t)}};p.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)};p.converters.ByteString=function(e){const t=p.converters.DOMString(e);for(let e=0;e<t.length;e++){if(t.charCodeAt(e)>255){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};p.converters.USVString=d;p.converters.boolean=function(e){const t=Boolean(e);return t};p.converters.any=function(e){return e};p.converters["long long"]=function(e){const t=p.util.ConvertToInt(e,64,"signed");return t};p.converters["unsigned long long"]=function(e){const t=p.util.ConvertToInt(e,64,"unsigned");return t};p.converters["unsigned long"]=function(e){const t=p.util.ConvertToInt(e,32,"unsigned");return t};p.converters["unsigned short"]=function(e,t){const n=p.util.ConvertToInt(e,16,"unsigned",t);return n};p.converters.ArrayBuffer=function(e,t={}){if(p.util.Type(e)!=="Object"||!i.isAnyArrayBuffer(e)){throw p.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&i.isSharedArrayBuffer(e)){throw p.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};p.converters.TypedArray=function(e,t,n={}){if(p.util.Type(e)!=="Object"||!i.isTypedArray(e)||e.constructor.name!==t.name){throw p.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(n.allowShared===false&&i.isSharedArrayBuffer(e.buffer)){throw p.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};p.converters.DataView=function(e,t={}){if(p.util.Type(e)!=="Object"||!i.isDataView(e)){throw p.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&i.isSharedArrayBuffer(e.buffer)){throw p.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};p.converters.BufferSource=function(e,t={}){if(i.isAnyArrayBuffer(e)){return p.converters.ArrayBuffer(e,t)}if(i.isTypedArray(e)){return p.converters.TypedArray(e,e.constructor)}if(i.isDataView(e)){return p.converters.DataView(e,t)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};p.converters["sequence<ByteString>"]=p.sequenceConverter(p.converters.ByteString);p.converters["sequence<sequence<ByteString>>"]=p.sequenceConverter(p.converters["sequence<ByteString>"]);p.converters["record<ByteString, ByteString>"]=p.recordConverter(p.converters.ByteString,p.converters.ByteString);e.exports={webidl:p}},80202: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}},9086:(e,t,n)=>{"use strict";const{staticPropertyDescriptors:i,readOperation:o,fireAProgressEvent:d}=n(20367);const{kState:p,kError:f,kResult:y,kEvents:v,kAborted:D}=n(27570);const{webidl:M}=n(33476);const{kEnumerableProperty:U}=n(84606);class FileReader extends EventTarget{constructor(){super();this[p]="empty";this[y]=null;this[f]=null;this[v]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){M.brandCheck(this,FileReader);M.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=M.converters.Blob(e,{strict:false});o(this,e,"ArrayBuffer")}readAsBinaryString(e){M.brandCheck(this,FileReader);M.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=M.converters.Blob(e,{strict:false});o(this,e,"BinaryString")}readAsText(e,t=undefined){M.brandCheck(this,FileReader);M.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=M.converters.Blob(e,{strict:false});if(t!==undefined){t=M.converters.DOMString(t)}o(this,e,"Text",t)}readAsDataURL(e){M.brandCheck(this,FileReader);M.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=M.converters.Blob(e,{strict:false});o(this,e,"DataURL")}abort(){if(this[p]==="empty"||this[p]==="done"){this[y]=null;return}if(this[p]==="loading"){this[p]="done";this[y]=null}this[D]=true;d("abort",this);if(this[p]!=="loading"){d("loadend",this)}}get readyState(){M.brandCheck(this,FileReader);switch(this[p]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){M.brandCheck(this,FileReader);return this[y]}get error(){M.brandCheck(this,FileReader);return this[f]}get onloadend(){M.brandCheck(this,FileReader);return this[v].loadend}set onloadend(e){M.brandCheck(this,FileReader);if(this[v].loadend){this.removeEventListener("loadend",this[v].loadend)}if(typeof e==="function"){this[v].loadend=e;this.addEventListener("loadend",e)}else{this[v].loadend=null}}get onerror(){M.brandCheck(this,FileReader);return this[v].error}set onerror(e){M.brandCheck(this,FileReader);if(this[v].error){this.removeEventListener("error",this[v].error)}if(typeof e==="function"){this[v].error=e;this.addEventListener("error",e)}else{this[v].error=null}}get onloadstart(){M.brandCheck(this,FileReader);return this[v].loadstart}set onloadstart(e){M.brandCheck(this,FileReader);if(this[v].loadstart){this.removeEventListener("loadstart",this[v].loadstart)}if(typeof e==="function"){this[v].loadstart=e;this.addEventListener("loadstart",e)}else{this[v].loadstart=null}}get onprogress(){M.brandCheck(this,FileReader);return this[v].progress}set onprogress(e){M.brandCheck(this,FileReader);if(this[v].progress){this.removeEventListener("progress",this[v].progress)}if(typeof e==="function"){this[v].progress=e;this.addEventListener("progress",e)}else{this[v].progress=null}}get onload(){M.brandCheck(this,FileReader);return this[v].load}set onload(e){M.brandCheck(this,FileReader);if(this[v].load){this.removeEventListener("load",this[v].load)}if(typeof e==="function"){this[v].load=e;this.addEventListener("load",e)}else{this[v].load=null}}get onabort(){M.brandCheck(this,FileReader);return this[v].abort}set onabort(e){M.brandCheck(this,FileReader);if(this[v].abort){this.removeEventListener("abort",this[v].abort)}if(typeof e==="function"){this[v].abort=e;this.addEventListener("abort",e)}else{this[v].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:i,LOADING:i,DONE:i,readAsArrayBuffer:U,readAsBinaryString:U,readAsText:U,readAsDataURL:U,abort:U,readyState:U,result:U,error:U,onloadstart:U,onprogress:U,onload:U,onabort:U,onerror:U,onloadend:U,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:i,LOADING:i,DONE:i});e.exports={FileReader:FileReader}},95702:(e,t,n)=>{"use strict";const{webidl:i}=n(33476);const o=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=i.converters.DOMString(e);t=i.converters.ProgressEventInit(t??{});super(e,t);this[o]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){i.brandCheck(this,ProgressEvent);return this[o].lengthComputable}get loaded(){i.brandCheck(this,ProgressEvent);return this[o].loaded}get total(){i.brandCheck(this,ProgressEvent);return this[o].total}}i.converters.ProgressEventInit=i.dictionaryConverter([{key:"lengthComputable",converter:i.converters.boolean,defaultValue:false},{key:"loaded",converter:i.converters["unsigned long long"],defaultValue:0},{key:"total",converter:i.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:i.converters.boolean,defaultValue:false},{key:"cancelable",converter:i.converters.boolean,defaultValue:false},{key:"composed",converter:i.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},27570: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")}},20367:(e,t,n)=>{"use strict";const{kState:i,kError:o,kResult:d,kAborted:p,kLastProgressEventFired:f}=n(27570);const{ProgressEvent:y}=n(95702);const{getEncoding:v}=n(80202);const{DOMException:D}=n(7536);const{serializeAMimeType:M,parseMIMEType:U}=n(46960);const{types:j}=n(39023);const{StringDecoder:V}=n(13193);const{btoa:K}=n(20181);const ee={enumerable:true,writable:false,configurable:false};function readOperation(e,t,n,y){if(e[i]==="loading"){throw new D("Invalid state","InvalidStateError")}e[i]="loading";e[d]=null;e[o]=null;const v=t.stream();const M=v.getReader();const U=[];let V=M.read();let K=true;(async()=>{while(!e[p]){try{const{done:v,value:D}=await V;if(K&&!e[p]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}K=false;if(!v&&j.isUint8Array(D)){U.push(D);if((e[f]===undefined||Date.now()-e[f]>=50)&&!e[p]){e[f]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}V=M.read()}else if(v){queueMicrotask((()=>{e[i]="done";try{const i=packageData(U,n,t.type,y);if(e[p]){return}e[d]=i;fireAProgressEvent("load",e)}catch(t){e[o]=t;fireAProgressEvent("error",e)}if(e[i]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[p]){return}queueMicrotask((()=>{e[i]="done";e[o]=t;fireAProgressEvent("error",e);if(e[i]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const n=new y(e,{bubbles:false,cancelable:false});t.dispatchEvent(n)}function packageData(e,t,n,i){switch(t){case"DataURL":{let t="data:";const i=U(n||"application/octet-stream");if(i!=="failure"){t+=M(i)}t+=";base64,";const o=new V("latin1");for(const n of e){t+=K(o.write(n))}t+=K(o.end());return t}case"Text":{let t="failure";if(i){t=v(i)}if(t==="failure"&&n){const e=U(n);if(e!=="failure"){t=v(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const n=new V("latin1");for(const i of e){t+=n.write(i)}t+=n.end();return t}}}function decode(e,t){const n=combineByteSequences(e);const i=BOMSniffing(n);let o=0;if(i!==null){t=i;o=i==="UTF-8"?3:2}const d=n.slice(o);return new TextDecoder(t).decode(d)}function BOMSniffing(e){const[t,n,i]=e;if(t===239&&n===187&&i===191){return"UTF-8"}else if(t===254&&n===255){return"UTF-16BE"}else if(t===255&&n===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let n=0;return e.reduce(((e,t)=>{e.set(t,n);n+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:ee,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},7075:(e,t,n)=>{"use strict";const i=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:o}=n(61581);const d=n(28603);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new d)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new o("Argument agent must implement Agent")}Object.defineProperty(globalThis,i,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[i]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},41858: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)}}},63897:(e,t,n)=>{"use strict";const i=n(84606);const{kBodyUsed:o}=n(45773);const d=n(42613);const{InvalidArgumentError:p}=n(61581);const f=n(24434);const y=[300,301,302,303,307,308];const v=Symbol("body");class BodyAsyncIterable{constructor(e){this[v]=e;this[o]=false}async*[Symbol.asyncIterator](){d(!this[o],"disturbed");this[o]=true;yield*this[v]}}class RedirectHandler{constructor(e,t,n,y){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new p("maxRedirections must be a positive number")}i.validateHandler(y,n.method,n.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...n,maxRedirections:0};this.maxRedirections=t;this.handler=y;this.history=[];if(i.isStream(this.opts.body)){if(i.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){d(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[o]=false;f.prototype.on.call(this.opts.body,"data",(function(){this[o]=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)&&i.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,n){this.handler.onUpgrade(e,t,n)}onError(e){this.handler.onError(e)}onHeaders(e,t,n,o){this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,n,o)}const{origin:d,pathname:p,search:f}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const y=f?`${p}${f}`:p;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==d);this.opts.path=y;this.opts.origin=d;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(y.indexOf(e)===-1){return null}for(let e=0;e<t.length;e+=2){if(t[e].toString().toLowerCase()==="location"){return t[e+1]}}}function shouldRemoveHeader(e,t,n){if(e.length===4){return i.headerNameToString(e)==="host"}if(t&&i.headerNameToString(e).startsWith("content-")){return true}if(n&&(e.length===13||e.length===6||e.length===19)){const t=i.headerNameToString(e);return t==="authorization"||t==="cookie"||t==="proxy-authorization"}return false}function cleanRequestHeaders(e,t,n){const i=[];if(Array.isArray(e)){for(let o=0;o<e.length;o+=2){if(!shouldRemoveHeader(e[o],t,n)){i.push(e[o],e[o+1])}}}else if(e&&typeof e==="object"){for(const o of Object.keys(e)){if(!shouldRemoveHeader(o,t,n)){i.push(o,e[o])}}}else{d(e==null,"headers must be an object or an array")}return i}e.exports=RedirectHandler},92483:(e,t,n)=>{const i=n(42613);const{kRetryHandlerDefaultRetry:o}=n(45773);const{RequestRetryError:d}=n(61581);const{isDisturbed:p,parseHeaders:f,parseRangeHeader:y}=n(84606);function calculateRetryAfterHeader(e){const t=Date.now();const n=new Date(e).getTime()-t;return n}class RetryHandler{constructor(e,t){const{retryOptions:n,...i}=e;const{retry:d,maxRetries:p,maxTimeout:f,minTimeout:y,timeoutFactor:v,methods:D,errorCodes:M,retryAfter:U,statusCodes:j}=n??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=i;this.abort=null;this.aborted=false;this.retryOpts={retry:d??RetryHandler[o],retryAfter:U??true,maxTimeout:f??30*1e3,timeout:y??500,timeoutFactor:v??2,maxRetries:p??5,methods:D??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:j??[500,502,503,504,429],errorCodes:M??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,n){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,n)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[o](e,{state:t,opts:n},i){const{statusCode:o,code:d,headers:p}=e;const{method:f,retryOptions:y}=n;const{maxRetries:v,timeout:D,maxTimeout:M,timeoutFactor:U,statusCodes:j,errorCodes:V,methods:K}=y;let{counter:ee,currentTimeout:te}=t;te=te!=null&&te>0?te:D;if(d&&d!=="UND_ERR_REQ_RETRY"&&d!=="UND_ERR_SOCKET"&&!V.includes(d)){i(e);return}if(Array.isArray(K)&&!K.includes(f)){i(e);return}if(o!=null&&Array.isArray(j)&&!j.includes(o)){i(e);return}if(ee>v){i(e);return}let re=p!=null&&p["retry-after"];if(re){re=Number(re);re=isNaN(re)?calculateRetryAfterHeader(re):re*1e3}const ne=re>0?Math.min(re,M):Math.min(te*U**ee,M);t.currentTimeout=ne;setTimeout((()=>i(null)),ne)}onHeaders(e,t,n,o){const p=f(t);this.retryCount+=1;if(e>=300){this.abort(new d("Request failed",e,{headers:p,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const t=y(p["content-range"]);if(!t){this.abort(new d("Content-Range mismatch",e,{headers:p,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==p.etag){this.abort(new d("ETag mismatch",e,{headers:p,count:this.retryCount}));return false}const{start:o,size:f,end:v=f}=t;i(this.start===o,"content-range mismatch");i(this.end==null||this.end===v,"content-range mismatch");this.resume=n;return true}if(this.end==null){if(e===206){const d=y(p["content-range"]);if(d==null){return this.handler.onHeaders(e,t,n,o)}const{start:f,size:v,end:D=v}=d;i(f!=null&&Number.isFinite(f)&&this.start!==f,"content-range mismatch");i(Number.isFinite(f));i(D!=null&&Number.isFinite(D)&&this.end!==D,"invalid content-length");this.start=f;this.end=D}if(this.end==null){const e=p["content-length"];this.end=e!=null?Number(e):null}i(Number.isFinite(this.start));i(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=n;this.etag=p.etag!=null?p.etag:null;return this.handler.onHeaders(e,t,n,o)}const v=new d("Request failed",e,{headers:p,count:this.retryCount});this.abort(v);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||p(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||p(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},99509:(e,t,n)=>{"use strict";const i=n(63897);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(n,o){const{maxRedirections:d=e}=n;if(!d){return t(n,o)}const p=new i(t,d,n,o);n={...n,maxRedirections:0};return t(n,p)}}e.exports=createRedirectInterceptor},862:(e,t,n)=>{"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 i=n(31910);var o;(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"})(o=t.ERROR||(t.ERROR={}));var d;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(d=t.TYPE||(t.TYPE={}));var p;(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"})(p=t.FLAGS||(t.FLAGS={}));var f;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(f=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var y;(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"})(y=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[y.DELETE,y.GET,y.HEAD,y.POST,y.PUT,y.CONNECT,y.OPTIONS,y.TRACE,y.COPY,y.LOCK,y.MKCOL,y.MOVE,y.PROPFIND,y.PROPPATCH,y.SEARCH,y.UNLOCK,y.BIND,y.REBIND,y.UNBIND,y.ACL,y.REPORT,y.MKACTIVITY,y.CHECKOUT,y.MERGE,y["M-SEARCH"],y.NOTIFY,y.SUBSCRIBE,y.UNSUBSCRIBE,y.PATCH,y.PURGE,y.MKCALENDAR,y.LINK,y.UNLINK,y.PRI,y.SOURCE];t.METHODS_ICE=[y.SOURCE];t.METHODS_RTSP=[y.OPTIONS,y.DESCRIBE,y.ANNOUNCE,y.SETUP,y.PLAY,y.PAUSE,y.TEARDOWN,y.GET_PARAMETER,y.SET_PARAMETER,y.REDIRECT,y.RECORD,y.FLUSH,y.GET,y.POST];t.METHOD_MAP=i.enumToMap(y);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 v;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(v=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 D;(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"})(D=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:D.CONNECTION,"content-length":D.CONTENT_LENGTH,"proxy-connection":D.CONNECTION,"transfer-encoding":D.TRANSFER_ENCODING,upgrade:D.UPGRADE}},68484:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEB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CAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAdABLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVG2wFHSElKzwHOAUvNAUzMAU1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4ABgQGCAYMBhAGFAYYBhwGIAYkBigGLAYwBjQGOA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tBtQEhEAwOC0G2ASEQDA0LQbcBIRAMDAtBuAEhEAwLC0G5ASEQDAoLQboBIRAMCQtBuwEhEAwIC0HGASEQDAcLQbwBIRAMBgtBvQEhEAwFC0G+ASEQDAQLQb8BIRAMAwtBwAEhEAwCC0HCASEQDAELQcEBIRALA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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wELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgwMnwELIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgxBACEQDJ4BCyAAQQA2AhwgACAUNgIUIABB/pGAgAA2AhAgAEEHNgIMQQAhEAydAQsgAEEANgIcIAAgATYCFCAAQY6bgIAANgIQIABBBjYCDEEAIRAMnAELIBBBFUYNVyAAQQA2AhwgACABNgIUIABBzI6AgAA2AhAgAEEgNgIMQQAhEAybAQsgAEEANgIAIBBBAWohAUEkIRALIAAgEDoAKSAAKAIEIRAgAEEANgIEIAAgECABEKuAgIAAIhANVCABIQEMPgsgAEEANgIAC0EAIRAgAEEANgIcIA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AAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB4fICEjJSg/QEFERUZHSElKS0xNT1BRUlPeA1dZW1xdYGJlZmdoaWprbG1vcHFyc3R1dnd4eXp7fH1+gAGCAYUBhgGHAYkBiwGMAY0BjgGPAZABkQGUAZUBlgGXA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AAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},31910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((n=>{const i=e[n];if(typeof i==="number"){t[n]=i}}));return t}t.enumToMap=enumToMap},35343:(e,t,n)=>{"use strict";const{kClients:i}=n(45773);const o=n(28603);const{kAgent:d,kMockAgentSet:p,kMockAgentGet:f,kDispatches:y,kIsMockActive:v,kNetConnect:D,kGetNetConnect:M,kOptions:U,kFactory:j}=n(15367);const V=n(74163);const K=n(83722);const{matchValue:ee,buildMockOptions:te}=n(50939);const{InvalidArgumentError:re,UndiciError:ne}=n(61581);const se=n(53553);const ie=n(1315);const oe=n(16584);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends se{constructor(e){super(e);this[D]=true;this[v]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new re("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new o(e);this[d]=t;this[i]=t[i];this[U]=te(e)}get(e){let t=this[f](e);if(!t){t=this[j](e);this[p](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[d].dispatch(e,t)}async close(){await this[d].close();this[i].clear()}deactivate(){this[v]=false}activate(){this[v]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[D])){this[D].push(e)}else{this[D]=[e]}}else if(typeof e==="undefined"){this[D]=true}else{throw new re("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[D]=false}get isMockActive(){return this[v]}[p](e,t){this[i].set(e,new FakeWeakRef(t))}[j](e){const t=Object.assign({agent:this},this[U]);return this[U]&&this[U].connections===1?new V(e,t):new K(e,t)}[f](e){const t=this[i].get(e);if(t){return t.deref()}if(typeof e!=="string"){const t=this[j]("http://localhost:9999");this[p](e,t);return t}for(const[t,n]of Array.from(this[i])){const i=n.deref();if(i&&typeof t!=="string"&&ee(t,e)){const t=this[j](e);this[p](e,t);t[y]=i[y];return t}}}[M](){return this[D]}pendingInterceptors(){const e=this[i];return Array.from(e.entries()).flatMap((([e,t])=>t.deref()[y].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new oe}={}){const t=this.pendingInterceptors();if(t.length===0){return}const n=new ie("interceptor","interceptors").pluralize(t.length);throw new ne(`\n${n.count} ${n.noun} ${n.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},74163:(e,t,n)=>{"use strict";const{promisify:i}=n(39023);const o=n(60439);const{buildMockDispatch:d}=n(50939);const{kDispatches:p,kMockAgent:f,kClose:y,kOriginalClose:v,kOrigin:D,kOriginalDispatch:M,kConnected:U}=n(15367);const{MockInterceptor:j}=n(93445);const V=n(45773);const{InvalidArgumentError:K}=n(61581);class MockClient extends o{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new K("Argument opts.agent must implement Agent")}this[f]=t.agent;this[D]=e;this[p]=[];this[U]=1;this[M]=this.dispatch;this[v]=this.close.bind(this);this.dispatch=d.call(this);this.close=this[y]}get[V.kConnected](){return this[U]}intercept(e){return new j(e,this[p])}async[y](){await i(this[v])();this[U]=0;this[f][V.kClients].delete(this[D])}}e.exports=MockClient},82255:(e,t,n)=>{"use strict";const{UndiciError:i}=n(61581);class MockNotMatchedError extends i{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}},93445:(e,t,n)=>{"use strict";const{getResponseData:i,buildKey:o,addMockDispatch:d}=n(50939);const{kDispatches:p,kDispatchKey:f,kDefaultHeaders:y,kDefaultTrailers:v,kContentLength:D,kMockDispatch:M}=n(15367);const{InvalidArgumentError:U}=n(61581);const{buildURL:j}=n(84606);class MockScope{constructor(e){this[M]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new U("waitInMs must be a valid integer > 0")}this[M].delay=e;return this}persist(){this[M].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new U("repeatTimes must be a valid integer > 0")}this[M].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new U("opts must be an object")}if(typeof e.path==="undefined"){throw new U("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=j(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[f]=o(e);this[p]=t;this[y]={};this[v]={};this[D]=false}createMockScopeDispatchData(e,t,n={}){const o=i(t);const d=this[D]?{"content-length":o.length}:{};const p={...this[y],...d,...n.headers};const f={...this[v],...n.trailers};return{statusCode:e,data:t,headers:p,trailers:f}}validateReplyParameters(e,t,n){if(typeof e==="undefined"){throw new U("statusCode must be defined")}if(typeof t==="undefined"){throw new U("data must be defined")}if(typeof n!=="object"){throw new U("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const n=e(t);if(typeof n!=="object"){throw new U("reply options callback must return an object")}const{statusCode:i,data:o="",responseOptions:d={}}=n;this.validateReplyParameters(i,o,d);return{...this.createMockScopeDispatchData(i,o,d)}};const t=d(this[p],this[f],wrappedDefaultsCallback);return new MockScope(t)}const[t,n="",i={}]=[...arguments];this.validateReplyParameters(t,n,i);const o=this.createMockScopeDispatchData(t,n,i);const y=d(this[p],this[f],o);return new MockScope(y)}replyWithError(e){if(typeof e==="undefined"){throw new U("error must be defined")}const t=d(this[p],this[f],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new U("headers must be defined")}this[y]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new U("trailers must be defined")}this[v]=e;return this}replyContentLength(){this[D]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},83722:(e,t,n)=>{"use strict";const{promisify:i}=n(39023);const o=n(6086);const{buildMockDispatch:d}=n(50939);const{kDispatches:p,kMockAgent:f,kClose:y,kOriginalClose:v,kOrigin:D,kOriginalDispatch:M,kConnected:U}=n(15367);const{MockInterceptor:j}=n(93445);const V=n(45773);const{InvalidArgumentError:K}=n(61581);class MockPool extends o{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new K("Argument opts.agent must implement Agent")}this[f]=t.agent;this[D]=e;this[p]=[];this[U]=1;this[M]=this.dispatch;this[v]=this.close.bind(this);this.dispatch=d.call(this);this.close=this[y]}get[V.kConnected](){return this[U]}intercept(e){return new j(e,this[p])}async[y](){await i(this[v])();this[U]=0;this[f][V.kClients].delete(this[D])}}e.exports=MockPool},15367: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")}},50939:(e,t,n)=>{"use strict";const{MockNotMatchedError:i}=n(82255);const{kDispatches:o,kMockAgent:d,kOriginalDispatch:p,kOrigin:f,kGetNetConnect:y}=n(15367);const{buildURL:v,nop:D}=n(84606);const{STATUS_CODES:M}=n(58611);const{types:{isPromise:U}}=n(39023);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let n=0;n<e.length;n+=2){if(e[n].toLocaleLowerCase()===t.toLocaleLowerCase()){return e[n+1]}}return undefined}else if(typeof e.get==="function"){return e.get(t)}else{return lowerCaseEntries(e)[t.toLocaleLowerCase()]}}function buildHeadersFromArray(e){const t=e.slice();const n=[];for(let e=0;e<t.length;e+=2){n.push([t[e],t[e+1]])}return Object.fromEntries(n)}function matchHeaders(e,t){if(typeof e.headers==="function"){if(Array.isArray(t)){t=buildHeadersFromArray(t)}return e.headers(t?lowerCaseEntries(t):{})}if(typeof e.headers==="undefined"){return true}if(typeof t!=="object"||typeof e.headers!=="object"){return false}for(const[n,i]of Object.entries(e.headers)){const e=getHeaderByName(t,n);if(!matchValue(i,e)){return false}}return true}function safeUrl(e){if(typeof e!=="string"){return e}const t=e.split("?");if(t.length!==2){return e}const n=new URLSearchParams(t.pop());n.sort();return[...t,n.toString()].join("?")}function matchKey(e,{path:t,method:n,body:i,headers:o}){const d=matchValue(e.path,t);const p=matchValue(e.method,n);const f=typeof e.body!=="undefined"?matchValue(e.body,i):true;const y=matchHeaders(e,o);return d&&p&&f&&y}function getResponseData(e){if(Buffer.isBuffer(e)){return e}else if(typeof e==="object"){return JSON.stringify(e)}else{return e.toString()}}function getMockDispatch(e,t){const n=t.query?v(t.path,t.query):t.path;const o=typeof n==="string"?safeUrl(n):n;let d=e.filter((({consumed:e})=>!e)).filter((({path:e})=>matchValue(safeUrl(e),o)));if(d.length===0){throw new i(`Mock dispatch not matched for path '${o}'`)}d=d.filter((({method:e})=>matchValue(e,t.method)));if(d.length===0){throw new i(`Mock dispatch not matched for method '${t.method}'`)}d=d.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(d.length===0){throw new i(`Mock dispatch not matched for body '${t.body}'`)}d=d.filter((e=>matchHeaders(e,t.headers)));if(d.length===0){throw new i(`Mock dispatch not matched for headers '${typeof t.headers==="object"?JSON.stringify(t.headers):t.headers}'`)}return d[0]}function addMockDispatch(e,t,n){const i={timesInvoked:0,times:1,persist:false,consumed:false};const o=typeof n==="function"?{callback:n}:{...n};const d={...i,...t,pending:true,data:{error:null,...o}};e.push(d);return d}function deleteMockDispatch(e,t){const n=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(n!==-1){e.splice(n,1)}}function buildKey(e){const{path:t,method:n,body:i,headers:o,query:d}=e;return{path:t,method:n,body:i,headers:o,query:d}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[t,n])=>[...e,Buffer.from(`${t}`),Array.isArray(n)?n.map((e=>Buffer.from(`${e}`))):Buffer.from(`${n}`)]),[])}function getStatusText(e){return M[e]||"unknown"}async function getResponse(e){const t=[];for await(const n of e){t.push(n)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const n=buildKey(e);const i=getMockDispatch(this[o],n);i.timesInvoked++;if(i.data.callback){i.data={...i.data,...i.data.callback(e)}}const{data:{statusCode:d,data:p,headers:f,trailers:y,error:v},delay:M,persist:j}=i;const{timesInvoked:V,times:K}=i;i.consumed=!j&&V>=K;i.pending=V<K;if(v!==null){deleteMockDispatch(this[o],n);t.onError(v);return true}if(typeof M==="number"&&M>0){setTimeout((()=>{handleReply(this[o])}),M)}else{handleReply(this[o])}function handleReply(i,o=p){const v=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const M=typeof o==="function"?o({...e,headers:v}):o;if(U(M)){M.then((e=>handleReply(i,e)));return}const j=getResponseData(M);const V=generateKeyValues(f);const K=generateKeyValues(y);t.abort=D;t.onHeaders(d,V,resume,getStatusText(d));t.onData(Buffer.from(j));t.onComplete(K);deleteMockDispatch(i,n)}function resume(){}return true}function buildMockDispatch(){const e=this[d];const t=this[f];const n=this[p];return function dispatch(o,d){if(e.isMockActive){try{mockDispatch.call(this,o,d)}catch(p){if(p instanceof i){const f=e[y]();if(f===false){throw new i(`${p.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(f,t)){n.call(this,o,d)}else{throw new i(`${p.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw p}}}else{n.call(this,o,d)}}}function checkNetConnect(e,t){const n=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,n.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...n}=e;return n}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},16584:(e,t,n)=>{"use strict";const{Transform:i}=n(2203);const{Console:o}=n(64236);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,n){n(null,e)}});this.logger=new o({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:n},persist:i,times:o,timesInvoked:d,origin:p})=>({Method:e,Origin:p,Path:t,"Status code":n,Persistent:i?"✅":"❌",Invocations:d,Remaining:i?Infinity:o-d})));this.logger.table(t);return this.transform.read().toString()}}},1315:e=>{"use strict";const t={pronoun:"it",is:"is",was:"was",this:"this"};const n={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const i=e===1;const o=i?t:n;const d=i?this.singular:this.plural;return{...o,count:e,noun:d}}}},60119:e=>{"use strict";const t=2048;const n=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&n)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&n}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&n;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},49974:(e,t,n)=>{"use strict";const i=n(19787);const o=n(60119);const{kConnected:d,kSize:p,kRunning:f,kPending:y,kQueued:v,kBusy:D,kFree:M,kUrl:U,kClose:j,kDestroy:V,kDispatch:K}=n(45773);const ee=n(50136);const te=Symbol("clients");const re=Symbol("needDrain");const ne=Symbol("queue");const se=Symbol("closed resolve");const ie=Symbol("onDrain");const oe=Symbol("onConnect");const ae=Symbol("onDisconnect");const Ae=Symbol("onConnectionError");const ce=Symbol("get dispatcher");const le=Symbol("add client");const ue=Symbol("remove client");const de=Symbol("stats");class PoolBase extends i{constructor(){super();this[ne]=new o;this[te]=[];this[v]=0;const e=this;this[ie]=function onDrain(t,n){const i=e[ne];let o=false;while(!o){const t=i.shift();if(!t){break}e[v]--;o=!this.dispatch(t.opts,t.handler)}this[re]=o;if(!this[re]&&e[re]){e[re]=false;e.emit("drain",t,[e,...n])}if(e[se]&&i.isEmpty()){Promise.all(e[te].map((e=>e.close()))).then(e[se])}};this[oe]=(t,n)=>{e.emit("connect",t,[e,...n])};this[ae]=(t,n,i)=>{e.emit("disconnect",t,[e,...n],i)};this[Ae]=(t,n,i)=>{e.emit("connectionError",t,[e,...n],i)};this[de]=new ee(this)}get[D](){return this[re]}get[d](){return this[te].filter((e=>e[d])).length}get[M](){return this[te].filter((e=>e[d]&&!e[re])).length}get[y](){let e=this[v];for(const{[y]:t}of this[te]){e+=t}return e}get[f](){let e=0;for(const{[f]:t}of this[te]){e+=t}return e}get[p](){let e=this[v];for(const{[p]:t}of this[te]){e+=t}return e}get stats(){return this[de]}async[j](){if(this[ne].isEmpty()){return Promise.all(this[te].map((e=>e.close())))}else{return new Promise((e=>{this[se]=e}))}}async[V](e){while(true){const t=this[ne].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[te].map((t=>t.destroy(e))))}[K](e,t){const n=this[ce]();if(!n){this[re]=true;this[ne].push({opts:e,handler:t});this[v]++}else if(!n.dispatch(e,t)){n[re]=true;this[re]=!this[ce]()}return!this[re]}[le](e){e.on("drain",this[ie]).on("connect",this[oe]).on("disconnect",this[ae]).on("connectionError",this[Ae]);this[te].push(e);if(this[re]){process.nextTick((()=>{if(this[re]){this[ie](e[U],[this,e])}}))}return this}[ue](e){e.close((()=>{const t=this[te].indexOf(e);if(t!==-1){this[te].splice(t,1)}}));this[re]=this[te].some((e=>!e[re]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:te,kNeedDrain:re,kAddClient:le,kRemoveClient:ue,kGetDispatcher:ce}},50136:(e,t,n)=>{const{kFree:i,kConnected:o,kPending:d,kQueued:p,kRunning:f,kSize:y}=n(45773);const v=Symbol("pool");class PoolStats{constructor(e){this[v]=e}get connected(){return this[v][o]}get free(){return this[v][i]}get pending(){return this[v][d]}get queued(){return this[v][p]}get running(){return this[v][f]}get size(){return this[v][y]}}e.exports=PoolStats},6086:(e,t,n)=>{"use strict";const{PoolBase:i,kClients:o,kNeedDrain:d,kAddClient:p,kGetDispatcher:f}=n(49974);const y=n(60439);const{InvalidArgumentError:v}=n(61581);const D=n(84606);const{kUrl:M,kInterceptors:U}=n(45773);const j=n(20110);const V=Symbol("options");const K=Symbol("connections");const ee=Symbol("factory");function defaultFactory(e,t){return new y(e,t)}class Pool extends i{constructor(e,{connections:t,factory:n=defaultFactory,connect:i,connectTimeout:d,tls:p,maxCachedSessions:f,socketPath:y,autoSelectFamily:te,autoSelectFamilyAttemptTimeout:re,allowH2:ne,...se}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new v("invalid connections")}if(typeof n!=="function"){throw new v("factory must be a function.")}if(i!=null&&typeof i!=="function"&&typeof i!=="object"){throw new v("connect must be a function or an object")}if(typeof i!=="function"){i=j({...p,maxCachedSessions:f,allowH2:ne,socketPath:y,timeout:d,...D.nodeHasAutoSelectFamily&&te?{autoSelectFamily:te,autoSelectFamilyAttemptTimeout:re}:undefined,...i})}this[U]=se.interceptors&&se.interceptors.Pool&&Array.isArray(se.interceptors.Pool)?se.interceptors.Pool:[];this[K]=t||null;this[M]=D.parseOrigin(e);this[V]={...D.deepClone(se),connect:i,allowH2:ne};this[V].interceptors=se.interceptors?{...se.interceptors}:undefined;this[ee]=n;this.on("connectionError",((e,t,n)=>{for(const e of t){const t=this[o].indexOf(e);if(t!==-1){this[o].splice(t,1)}}}))}[f](){let e=this[o].find((e=>!e[d]));if(e){return e}if(!this[K]||this[o].length<this[K]){e=this[ee](this[M],this[V]);this[p](e)}return e}}e.exports=Pool},46278:(e,t,n)=>{"use strict";const{kProxy:i,kClose:o,kDestroy:d,kInterceptors:p}=n(45773);const{URL:f}=n(87016);const y=n(28603);const v=n(6086);const D=n(19787);const{InvalidArgumentError:M,RequestAbortedError:U}=n(61581);const j=n(20110);const V=Symbol("proxy agent");const K=Symbol("proxy client");const ee=Symbol("proxy headers");const te=Symbol("request tls settings");const re=Symbol("proxy tls settings");const ne=Symbol("connect endpoint function");function defaultProtocolPort(e){return e==="https:"?443:80}function buildProxyOptions(e){if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new M("Proxy opts.uri is mandatory")}return{uri:e.uri,protocol:e.protocol||"https"}}function defaultFactory(e,t){return new v(e,t)}class ProxyAgent extends D{constructor(e){super(e);this[i]=buildProxyOptions(e);this[V]=new y(e);this[p]=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 M("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new M("Proxy opts.clientFactory must be a function.")}this[te]=e.requestTls;this[re]=e.proxyTls;this[ee]=e.headers||{};const n=new f(e.uri);const{origin:o,port:d,host:v,username:D,password:se}=n;if(e.auth&&e.token){throw new M("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[ee]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[ee]["proxy-authorization"]=e.token}else if(D&&se){this[ee]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(D)}:${decodeURIComponent(se)}`).toString("base64")}`}const ie=j({...e.proxyTls});this[ne]=j({...e.requestTls});this[K]=t(n,{connect:ie});this[V]=new y({...e,connect:async(e,t)=>{let n=e.host;if(!e.port){n+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:i,statusCode:p}=await this[K].connect({origin:o,port:d,path:n,signal:e.signal,headers:{...this[ee],host:v}});if(p!==200){i.on("error",(()=>{})).destroy();t(new U(`Proxy response (${p}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,i);return}let f;if(this[te]){f=this[te].servername}else{f=e.servername}this[ne]({...e,servername:f,httpSocket:i},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:n}=new f(e.origin);const i=buildHeaders(e.headers);throwIfProxyAuthIsSent(i);return this[V].dispatch({...e,headers:{...i,host:n}},t)}async[o](){await this[V].close();await this[K].close()}async[d](){await this[V].destroy();await this[K].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let n=0;n<e.length;n+=2){t[e[n]]=e[n+1]}return t}return e}function throwIfProxyAuthIsSent(e){const t=e&&Object.keys(e).find((e=>e.toLowerCase()==="proxy-authorization"));if(t){throw new M("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},62374:e=>{"use strict";let t=Date.now();let n;const i=[];function onTimeout(){t=Date.now();let e=i.length;let n=0;while(n<e){const o=i[n];if(o.state===0){o.state=t+o.delay}else if(o.state>0&&t>=o.state){o.state=-1;o.callback(o.opaque)}if(o.state===-1){o.state=-2;if(n!==e-1){i[n]=i.pop()}else{i.pop()}e-=1}else{n+=1}}if(i.length>0){refreshTimeout()}}function refreshTimeout(){if(n&&n.refresh){n.refresh()}else{clearTimeout(n);n=setTimeout(onTimeout,1e3);if(n.unref){n.unref()}}}class Timeout{constructor(e,t,n){this.callback=e;this.delay=t;this.opaque=n;this.state=-2;this.refresh()}refresh(){if(this.state===-2){i.push(this);if(!n||i.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,t,n){return t<1e3?setTimeout(e,t,n):new Timeout(e,t,n)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},33760:(e,t,n)=>{"use strict";const i=n(31637);const{uid:o,states:d}=n(67875);const{kReadyState:p,kSentClose:f,kByteParser:y,kReceivedClose:v}=n(16063);const{fireEvent:D,failWebsocketConnection:M}=n(10588);const{CloseEvent:U}=n(43897);const{makeRequest:j}=n(62204);const{fetching:V}=n(79401);const{Headers:K}=n(12223);const{getGlobalDispatcher:ee}=n(7075);const{kHeadersList:te}=n(45773);const re={};re.open=i.channel("undici:websocket:open");re.close=i.channel("undici:websocket:close");re.socketError=i.channel("undici:websocket:socket_error");let ne;try{ne=n(76982)}catch{}function establishWebSocketConnection(e,t,n,i,d){const p=e;p.protocol=e.protocol==="ws:"?"http:":"https:";const f=j({urlList:[p],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(d.headers){const e=new K(d.headers)[te];f.headersList=e}const y=ne.randomBytes(16).toString("base64");f.headersList.append("sec-websocket-key",y);f.headersList.append("sec-websocket-version","13");for(const e of t){f.headersList.append("sec-websocket-protocol",e)}const v="";const D=V({request:f,useParallelQueue:true,dispatcher:d.dispatcher??ee(),processResponse(e){if(e.type==="error"||e.status!==101){M(n,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){M(n,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){M(n,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){M(n,'Server did not set Connection header to "upgrade".');return}const d=e.headersList.get("Sec-WebSocket-Accept");const p=ne.createHash("sha1").update(y+o).digest("base64");if(d!==p){M(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const D=e.headersList.get("Sec-WebSocket-Extensions");if(D!==null&&D!==v){M(n,"Received different permessage-deflate than the one set.");return}const U=e.headersList.get("Sec-WebSocket-Protocol");if(U!==null&&U!==f.headersList.get("Sec-WebSocket-Protocol")){M(n,"Protocol was not set in the opening handshake.");return}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(re.open.hasSubscribers){re.open.publish({address:e.socket.address(),protocol:U,extensions:D})}i(e)}});return D}function onSocketData(e){if(!this.ws[y].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[f]&&e[v];let n=1005;let i="";const o=e[y].closingInfo;if(o){n=o.code??1005;i=o.reason}else if(!e[f]){n=1006}e[p]=d.CLOSED;D("close",e,U,{wasClean:t,code:n,reason:i});if(re.close.hasSubscribers){re.close.publish({websocket:e,code:n,reason:i})}}function onSocketError(e){const{ws:t}=this;t[p]=d.CLOSING;if(re.socketError.hasSubscribers){re.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},67875:e=>{"use strict";const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const n={enumerable:true,writable:false,configurable:false};const i={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const o={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const d=2**16-1;const p={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const f=Buffer.allocUnsafe(0);e.exports={uid:t,staticPropertyDescriptors:n,states:i,opcodes:o,maxUnsigned16Bit:d,parserStates:p,emptyBuffer:f}},43897:(e,t,n)=>{"use strict";const{webidl:i}=n(33476);const{kEnumerableProperty:o}=n(84606);const{MessagePort:d}=n(28167);class MessageEvent extends Event{#i;constructor(e,t={}){i.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=i.converters.DOMString(e);t=i.converters.MessageEventInit(t);super(e,t);this.#i=t}get data(){i.brandCheck(this,MessageEvent);return this.#i.data}get origin(){i.brandCheck(this,MessageEvent);return this.#i.origin}get lastEventId(){i.brandCheck(this,MessageEvent);return this.#i.lastEventId}get source(){i.brandCheck(this,MessageEvent);return this.#i.source}get ports(){i.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#i.ports)){Object.freeze(this.#i.ports)}return this.#i.ports}initMessageEvent(e,t=false,n=false,o=null,d="",p="",f=null,y=[]){i.brandCheck(this,MessageEvent);i.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:n,data:o,origin:d,lastEventId:p,source:f,ports:y})}}class CloseEvent extends Event{#i;constructor(e,t={}){i.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=i.converters.DOMString(e);t=i.converters.CloseEventInit(t);super(e,t);this.#i=t}get wasClean(){i.brandCheck(this,CloseEvent);return this.#i.wasClean}get code(){i.brandCheck(this,CloseEvent);return this.#i.code}get reason(){i.brandCheck(this,CloseEvent);return this.#i.reason}}class ErrorEvent extends Event{#i;constructor(e,t){i.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=i.converters.DOMString(e);t=i.converters.ErrorEventInit(t??{});this.#i=t}get message(){i.brandCheck(this,ErrorEvent);return this.#i.message}get filename(){i.brandCheck(this,ErrorEvent);return this.#i.filename}get lineno(){i.brandCheck(this,ErrorEvent);return this.#i.lineno}get colno(){i.brandCheck(this,ErrorEvent);return this.#i.colno}get error(){i.brandCheck(this,ErrorEvent);return this.#i.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:o,origin:o,lastEventId:o,source:o,ports:o,initMessageEvent:o});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:o,code:o,wasClean:o});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:o,filename:o,lineno:o,colno:o,error:o});i.converters.MessagePort=i.interfaceConverter(d);i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);const p=[{key:"bubbles",converter:i.converters.boolean,defaultValue:false},{key:"cancelable",converter:i.converters.boolean,defaultValue:false},{key:"composed",converter:i.converters.boolean,defaultValue:false}];i.converters.MessageEventInit=i.dictionaryConverter([...p,{key:"data",converter:i.converters.any,defaultValue:null},{key:"origin",converter:i.converters.USVString,defaultValue:""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:null},{key:"ports",converter:i.converters["sequence<MessagePort>"],get defaultValue(){return[]}}]);i.converters.CloseEventInit=i.dictionaryConverter([...p,{key:"wasClean",converter:i.converters.boolean,defaultValue:false},{key:"code",converter:i.converters["unsigned short"],defaultValue:0},{key:"reason",converter:i.converters.USVString,defaultValue:""}]);i.converters.ErrorEventInit=i.dictionaryConverter([...p,{key:"message",converter:i.converters.DOMString,defaultValue:""},{key:"filename",converter:i.converters.USVString,defaultValue:""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:0},{key:"error",converter:i.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},54391:(e,t,n)=>{"use strict";const{maxUnsigned16Bit:i}=n(67875);let o;try{o=n(76982)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=o.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let n=t;let o=6;if(t>i){o+=8;n=127}else if(t>125){o+=2;n=126}const d=Buffer.allocUnsafe(t+o);d[0]=d[1]=0;d[0]|=128;d[0]=(d[0]&240)+e;
|
||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */d[o-4]=this.maskKey[0];d[o-3]=this.maskKey[1];d[o-2]=this.maskKey[2];d[o-1]=this.maskKey[3];d[1]=n;if(n===126){d.writeUInt16BE(t,2)}else if(n===127){d[2]=d[3]=0;d.writeUIntBE(t,4,6)}d[1]|=128;for(let e=0;e<t;e++){d[o+e]=this.frameData[e]^this.maskKey[e%4]}return d}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},60833:(e,t,n)=>{"use strict";const{Writable:i}=n(2203);const o=n(31637);const{parserStates:d,opcodes:p,states:f,emptyBuffer:y}=n(67875);const{kReadyState:v,kSentClose:D,kResponse:M,kReceivedClose:U}=n(16063);const{isValidStatusCode:j,failWebsocketConnection:V,websocketMessageReceived:K}=n(10588);const{WebsocketFrameSend:ee}=n(54391);const te={};te.ping=o.channel("undici:websocket:ping");te.pong=o.channel("undici:websocket:pong");class ByteParser extends i{#o=[];#a=0;#A=d.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,n){this.#o.push(e);this.#a+=e.length;this.run(n)}run(e){while(true){if(this.#A===d.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!==p.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==p.BINARY&&this.#c.opcode!==p.TEXT){V(this.ws,"Invalid frame type was fragmented.");return}const n=t[1]&127;if(n<=125){this.#c.payloadLength=n;this.#A=d.READ_DATA}else if(n===126){this.#A=d.PAYLOADLENGTH_16}else if(n===127){this.#A=d.PAYLOADLENGTH_64}if(this.#c.fragmented&&n>125){V(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===p.PING||this.#c.opcode===p.PONG||this.#c.opcode===p.CLOSE)&&n>125){V(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===p.CLOSE){if(n===1){V(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(n);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[D]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new ee(e);this.ws[M].socket.write(t.createFrame(p.CLOSE),(e=>{if(!e){this.ws[D]=true}}))}this.ws[v]=f.CLOSING;this.ws[U]=true;this.end();return}else if(this.#c.opcode===p.PING){const t=this.consume(n);if(!this.ws[U]){const e=new ee(t);this.ws[M].socket.write(e.createFrame(p.PONG));if(te.ping.hasSubscribers){te.ping.publish({payload:t})}}this.#A=d.INFO;if(this.#a>0){continue}else{e();return}}else if(this.#c.opcode===p.PONG){const t=this.consume(n);if(te.pong.hasSubscribers){te.pong.publish({payload:t})}if(this.#a>0){continue}else{e();return}}}else if(this.#A===d.PAYLOADLENGTH_16){if(this.#a<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#A=d.READ_DATA}else if(this.#A===d.PAYLOADLENGTH_64){if(this.#a<8){return e()}const t=this.consume(8);const n=t.readUInt32BE(0);if(n>2**31-1){V(this.ws,"Received payload length > 2^31 bytes.");return}const i=t.readUInt32BE(4);this.#c.payloadLength=(n<<8)+i;this.#A=d.READ_DATA}else if(this.#A===d.READ_DATA){if(this.#a<this.#c.payloadLength){return e()}else 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===p.CONTINUATION){const e=Buffer.concat(this.#l);K(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#A=d.INFO}}if(this.#a>0){continue}else{e();break}}}consume(e){if(e>this.#a){return null}else if(e===0){return y}if(this.#o[0].length===e){this.#a-=this.#o[0].length;return this.#o.shift()}const t=Buffer.allocUnsafe(e);let n=0;while(n!==e){const i=this.#o[0];const{length:o}=i;if(o+n===e){t.set(this.#o.shift(),n);break}else if(o+n>e){t.set(i.subarray(0,e-n),n);this.#o[0]=i.subarray(e-n);break}else{t.set(this.#o.shift(),n);n+=i.length}}this.#a-=e;return t}parseCloseBody(e,t){let n;if(t.length>=2){n=t.readUInt16BE(0)}if(e){if(!j(n)){return null}return{code:n}}let i=t.subarray(2);if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}if(n!==undefined&&!j(n)){return null}try{i=new TextDecoder("utf-8",{fatal:true}).decode(i)}catch{return null}return{code:n,reason:i}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},16063: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")}},10588:(e,t,n)=>{"use strict";const{kReadyState:i,kController:o,kResponse:d,kBinaryType:p,kWebSocketURL:f}=n(16063);const{states:y,opcodes:v}=n(67875);const{MessageEvent:D,ErrorEvent:M}=n(43897);function isEstablished(e){return e[i]===y.OPEN}function isClosing(e){return e[i]===y.CLOSING}function isClosed(e){return e[i]===y.CLOSED}function fireEvent(e,t,n=Event,i){const o=new n(e,i);t.dispatchEvent(o)}function websocketMessageReceived(e,t,n){if(e[i]!==y.OPEN){return}let o;if(t===v.TEXT){try{o=new TextDecoder("utf-8",{fatal:true}).decode(n)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===v.BINARY){if(e[p]==="blob"){o=new Blob([n])}else{o=new Uint8Array(n).buffer}}fireEvent("message",e,D,{origin:e[f].origin,data:o})}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{[o]:n,[d]:i}=e;n.abort();if(i?.socket&&!i.socket.destroyed){i.socket.destroy()}if(t){fireEvent("error",e,M,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},23853:(e,t,n)=>{"use strict";const{webidl:i}=n(33476);const{DOMException:o}=n(7536);const{URLSerializer:d}=n(46960);const{getGlobalOrigin:p}=n(50742);const{staticPropertyDescriptors:f,states:y,opcodes:v,emptyBuffer:D}=n(67875);const{kWebSocketURL:M,kReadyState:U,kController:j,kBinaryType:V,kResponse:K,kSentClose:ee,kByteParser:te}=n(16063);const{isEstablished:re,isClosing:ne,isValidSubprotocol:se,failWebsocketConnection:ie,fireEvent:oe}=n(10588);const{establishWebSocketConnection:ae}=n(33760);const{WebsocketFrameSend:Ae}=n(54391);const{ByteParser:ce}=n(60833);const{kEnumerableProperty:le,isBlobLike:ue}=n(84606);const{getGlobalDispatcher:de}=n(7075);const{types:pe}=n(39023);let ge=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#d=0;#p="";#g="";constructor(e,t=[]){super();i.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!ge){ge=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const n=i.converters["DOMString or sequence<DOMString> or WebSocketInit"](t);e=i.converters.USVString(e);t=n.protocols;const d=p();let f;try{f=new URL(e,d)}catch(e){throw new o(e,"SyntaxError")}if(f.protocol==="http:"){f.protocol="ws:"}else if(f.protocol==="https:"){f.protocol="wss:"}if(f.protocol!=="ws:"&&f.protocol!=="wss:"){throw new o(`Expected a ws: or wss: protocol, got ${f.protocol}`,"SyntaxError")}if(f.hash||f.href.endsWith("#")){throw new o("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>se(e)))){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[M]=new URL(f.href);this[j]=ae(f,t,this,(e=>this.#f(e)),n);this[U]=WebSocket.CONNECTING;this[V]="blob"}close(e=undefined,t=undefined){i.brandCheck(this,WebSocket);if(e!==undefined){e=i.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=i.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new o("invalid code","InvalidAccessError")}}let n=0;if(t!==undefined){n=Buffer.byteLength(t);if(n>123){throw new o(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError")}}if(this[U]===WebSocket.CLOSING||this[U]===WebSocket.CLOSED){}else if(!re(this)){ie(this,"Connection was closed before it was established.");this[U]=WebSocket.CLOSING}else if(!ne(this)){const i=new Ae;if(e!==undefined&&t===undefined){i.frameData=Buffer.allocUnsafe(2);i.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){i.frameData=Buffer.allocUnsafe(2+n);i.frameData.writeUInt16BE(e,0);i.frameData.write(t,2,"utf-8")}else{i.frameData=D}const o=this[K].socket;o.write(i.createFrame(v.CLOSE),(e=>{if(!e){this[ee]=true}}));this[U]=y.CLOSING}else{this[U]=WebSocket.CLOSING}}send(e){i.brandCheck(this,WebSocket);i.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=i.converters.WebSocketSendData(e);if(this[U]===WebSocket.CONNECTING){throw new o("Sent before connected.","InvalidStateError")}if(!re(this)||ne(this)){return}const t=this[K].socket;if(typeof e==="string"){const n=Buffer.from(e);const i=new Ae(n);const o=i.createFrame(v.TEXT);this.#d+=n.byteLength;t.write(o,(()=>{this.#d-=n.byteLength}))}else if(pe.isArrayBuffer(e)){const n=Buffer.from(e);const i=new Ae(n);const o=i.createFrame(v.BINARY);this.#d+=n.byteLength;t.write(o,(()=>{this.#d-=n.byteLength}))}else if(ArrayBuffer.isView(e)){const n=Buffer.from(e,e.byteOffset,e.byteLength);const i=new Ae(n);const o=i.createFrame(v.BINARY);this.#d+=n.byteLength;t.write(o,(()=>{this.#d-=n.byteLength}))}else if(ue(e)){const n=new Ae;e.arrayBuffer().then((e=>{const i=Buffer.from(e);n.frameData=i;const o=n.createFrame(v.BINARY);this.#d+=i.byteLength;t.write(o,(()=>{this.#d-=i.byteLength}))}))}}get readyState(){i.brandCheck(this,WebSocket);return this[U]}get bufferedAmount(){i.brandCheck(this,WebSocket);return this.#d}get url(){i.brandCheck(this,WebSocket);return d(this[M])}get extensions(){i.brandCheck(this,WebSocket);return this.#g}get protocol(){i.brandCheck(this,WebSocket);return this.#p}get onopen(){i.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){i.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(){i.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){i.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(){i.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){i.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(){i.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){i.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(){i.brandCheck(this,WebSocket);return this[V]}set binaryType(e){i.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[V]="blob"}else{this[V]=e}}#f(e){this[K]=e;const t=new ce(this);t.on("drain",(function onParserDrain(){this.ws[K].socket.resume()}));e.socket.ws=this;this[te]=t;this[U]=y.OPEN;const n=e.headersList.get("sec-websocket-extensions");if(n!==null){this.#g=n}const i=e.headersList.get("sec-websocket-protocol");if(i!==null){this.#p=i}oe("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=y.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=y.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=y.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=y.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:f,OPEN:f,CLOSING:f,CLOSED:f,url:le,readyState:le,bufferedAmount:le,onopen:le,onerror:le,onclose:le,close:le,onmessage:le,binaryType:le,send:le,extensions:le,protocol:le,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:f,OPEN:f,CLOSING:f,CLOSED:f});i.converters["sequence<DOMString>"]=i.sequenceConverter(i.converters.DOMString);i.converters["DOMString or sequence<DOMString>"]=function(e){if(i.util.Type(e)==="Object"&&Symbol.iterator in e){return i.converters["sequence<DOMString>"](e)}return i.converters.DOMString(e)};i.converters.WebSocketInit=i.dictionaryConverter([{key:"protocols",converter:i.converters["DOMString or sequence<DOMString>"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return de()}},{key:"headers",converter:i.nullableConverter(i.converters.HeadersInit)}]);i.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){if(i.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return i.converters.WebSocketInit(e)}return{protocols:i.converters["DOMString or sequence<DOMString>"](e)}};i.converters.WebSocketSendData=function(e){if(i.util.Type(e)==="Object"){if(ue(e)){return i.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||pe.isAnyArrayBuffer(e)){return i.converters.BufferSource(e)}}return i.converters.USVString(e)};e.exports={WebSocket:WebSocket}},2435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ZodError=t.quotelessJson=t.ZodIssueCode=void 0;const i=n(19876);t.ZodIssueCode=i.util.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);const quotelessJson=e=>{const t=JSON.stringify(e,null,2);return t.replace(/"([^"]+)":/g,"$1:")};t.quotelessJson=quotelessJson;class ZodError extends Error{get errors(){return this.issues}constructor(e){super();this.issues=[];this.addIssue=e=>{this.issues=[...this.issues,e]};this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;if(Object.setPrototypeOf){Object.setPrototypeOf(this,t)}else{this.__proto__=t}this.name="ZodError";this.issues=e}format(e){const t=e||function(e){return e.message};const n={_errors:[]};const processError=e=>{for(const i of e.issues){if(i.code==="invalid_union"){i.unionErrors.map(processError)}else if(i.code==="invalid_return_type"){processError(i.returnTypeError)}else if(i.code==="invalid_arguments"){processError(i.argumentsError)}else if(i.path.length===0){n._errors.push(t(i))}else{let e=n;let o=0;while(o<i.path.length){const n=i.path[o];const d=o===i.path.length-1;if(!d){e[n]=e[n]||{_errors:[]}}else{e[n]=e[n]||{_errors:[]};e[n]._errors.push(t(i))}e=e[n];o++}}}};processError(this);return n}static assert(e){if(!(e instanceof ZodError)){throw new Error(`Not a ZodError: ${e}`)}}toString(){return this.message}get message(){return JSON.stringify(this.issues,i.util.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=e=>e.message){const t={};const n=[];for(const i of this.issues){if(i.path.length>0){t[i.path[0]]=t[i.path[0]]||[];t[i.path[0]].push(e(i))}else{n.push(e(i))}}return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}t.ZodError=ZodError;ZodError.create=e=>{const t=new ZodError(e);return t}},10773:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getErrorMap=t.setErrorMap=t.defaultErrorMap=void 0;const o=i(n(1469));t.defaultErrorMap=o.default;let d=o.default;function setErrorMap(e){d=e}t.setErrorMap=setErrorMap;function getErrorMap(){return d}t.getErrorMap=getErrorMap},62033:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__exportStar||function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))i(t,e,n)};Object.defineProperty(t,"__esModule",{value:true});o(n(10773),t);o(n(38901),t);o(n(10642),t);o(n(19876),t);o(n(4689),t);o(n(2435),t)},12916:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.errorUtil=void 0;var n;(function(e){e.errToObj=e=>typeof e==="string"?{message:e}:e||{};e.toString=e=>typeof e==="string"?e:e===null||e===void 0?void 0:e.message})(n||(t.errorUtil=n={}))},38901:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.isAsync=t.isValid=t.isDirty=t.isAborted=t.OK=t.DIRTY=t.INVALID=t.ParseStatus=t.addIssueToContext=t.EMPTY_PATH=t.makeIssue=void 0;const o=n(10773);const d=i(n(1469));const makeIssue=e=>{const{data:t,path:n,errorMaps:i,issueData:o}=e;const d=[...n,...o.path||[]];const p={...o,path:d};if(o.message!==undefined){return{...o,path:d,message:o.message}}let f="";const y=i.filter((e=>!!e)).slice().reverse();for(const e of y){f=e(p,{data:t,defaultError:f}).message}return{...o,path:d,message:f}};t.makeIssue=makeIssue;t.EMPTY_PATH=[];function addIssueToContext(e,n){const i=(0,o.getErrorMap)();const p=(0,t.makeIssue)({issueData:n,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,i,i===d.default?undefined:d.default].filter((e=>!!e))});e.common.issues.push(p)}t.addIssueToContext=addIssueToContext;class ParseStatus{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(e,n){const i=[];for(const o of n){if(o.status==="aborted")return t.INVALID;if(o.status==="dirty")e.dirty();i.push(o.value)}return{status:e.value,value:i}}static async mergeObjectAsync(e,t){const n=[];for(const e of t){const t=await e.key;const i=await e.value;n.push({key:t,value:i})}return ParseStatus.mergeObjectSync(e,n)}static mergeObjectSync(e,n){const i={};for(const o of n){const{key:n,value:d}=o;if(n.status==="aborted")return t.INVALID;if(d.status==="aborted")return t.INVALID;if(n.status==="dirty")e.dirty();if(d.status==="dirty")e.dirty();if(n.value!=="__proto__"&&(typeof d.value!=="undefined"||o.alwaysSet)){i[n.value]=d.value}}return{status:e.value,value:i}}}t.ParseStatus=ParseStatus;t.INVALID=Object.freeze({status:"aborted"});const DIRTY=e=>({status:"dirty",value:e});t.DIRTY=DIRTY;const OK=e=>({status:"valid",value:e});t.OK=OK;const isAborted=e=>e.status==="aborted";t.isAborted=isAborted;const isDirty=e=>e.status==="dirty";t.isDirty=isDirty;const isValid=e=>e.status==="valid";t.isValid=isValid;const isAsync=e=>typeof Promise!=="undefined"&&e instanceof Promise;t.isAsync=isAsync},10642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},19876:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getParsedType=t.ZodParsedType=t.objectUtil=t.util=void 0;var n;(function(e){e.assertEqual=e=>e;function assertIs(e){}e.assertIs=assertIs;function assertNever(e){throw new Error}e.assertNever=assertNever;e.arrayToEnum=e=>{const t={};for(const n of e){t[n]=n}return t};e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter((e=>typeof t[t[e]]!=="number"));const i={};for(const e of n){i[e]=t[e]}return e.objectValues(i)};e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]}));e.objectKeys=typeof Object.keys==="function"?e=>Object.keys(e):e=>{const t=[];for(const n in e){if(Object.prototype.hasOwnProperty.call(e,n)){t.push(n)}}return t};e.find=(e,t)=>{for(const n of e){if(t(n))return n}return undefined};e.isInteger=typeof Number.isInteger==="function"?e=>Number.isInteger(e):e=>typeof e==="number"&&isFinite(e)&&Math.floor(e)===e;function joinValues(e,t=" | "){return e.map((e=>typeof e==="string"?`'${e}'`:e)).join(t)}e.joinValues=joinValues;e.jsonStringifyReplacer=(e,t)=>{if(typeof t==="bigint"){return t.toString()}return t}})(n||(t.util=n={}));var i;(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(i||(t.objectUtil=i={}));t.ZodParsedType=n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);const getParsedType=e=>{const n=typeof e;switch(n){case"undefined":return t.ZodParsedType.undefined;case"string":return t.ZodParsedType.string;case"number":return isNaN(e)?t.ZodParsedType.nan:t.ZodParsedType.number;case"boolean":return t.ZodParsedType.boolean;case"function":return t.ZodParsedType.function;case"bigint":return t.ZodParsedType.bigint;case"symbol":return t.ZodParsedType.symbol;case"object":if(Array.isArray(e)){return t.ZodParsedType.array}if(e===null){return t.ZodParsedType.null}if(e.then&&typeof e.then==="function"&&e.catch&&typeof e.catch==="function"){return t.ZodParsedType.promise}if(typeof Map!=="undefined"&&e instanceof Map){return t.ZodParsedType.map}if(typeof Set!=="undefined"&&e instanceof Set){return t.ZodParsedType.set}if(typeof Date!=="undefined"&&e instanceof Date){return t.ZodParsedType.date}return t.ZodParsedType.object;default:return t.ZodParsedType.unknown}};t.getParsedType=getParsedType},66516:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){if(i===undefined)i=n;var o=Object.getOwnPropertyDescriptor(t,n);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[n]}}}Object.defineProperty(e,i,o)}:function(e,t,n,i){if(i===undefined)i=n;e[i]=t[n]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n))i(t,e,n);o(t,e);return t};var p=this&&this.__exportStar||function(e,t){for(var n in e)if(n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n))i(t,e,n)};Object.defineProperty(t,"__esModule",{value:true});t.z=void 0;const f=d(n(62033));t.z=f;p(n(62033),t);t["default"]=f},1469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=n(19876);const o=n(2435);const errorMap=(e,t)=>{let n;switch(e.code){case o.ZodIssueCode.invalid_type:if(e.received===i.ZodParsedType.undefined){n="Required"}else{n=`Expected ${e.expected}, received ${e.received}`}break;case o.ZodIssueCode.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,i.util.jsonStringifyReplacer)}`;break;case o.ZodIssueCode.unrecognized_keys:n=`Unrecognized key(s) in object: ${i.util.joinValues(e.keys,", ")}`;break;case o.ZodIssueCode.invalid_union:n=`Invalid input`;break;case o.ZodIssueCode.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${i.util.joinValues(e.options)}`;break;case o.ZodIssueCode.invalid_enum_value:n=`Invalid enum value. Expected ${i.util.joinValues(e.options)}, received '${e.received}'`;break;case o.ZodIssueCode.invalid_arguments:n=`Invalid function arguments`;break;case o.ZodIssueCode.invalid_return_type:n=`Invalid function return type`;break;case o.ZodIssueCode.invalid_date:n=`Invalid date`;break;case o.ZodIssueCode.invalid_string:if(typeof e.validation==="object"){if("includes"in e.validation){n=`Invalid input: must include "${e.validation.includes}"`;if(typeof e.validation.position==="number"){n=`${n} at one or more positions greater than or equal to ${e.validation.position}`}}else if("startsWith"in e.validation){n=`Invalid input: must start with "${e.validation.startsWith}"`}else if("endsWith"in e.validation){n=`Invalid input: must end with "${e.validation.endsWith}"`}else{i.util.assertNever(e.validation)}}else if(e.validation!=="regex"){n=`Invalid ${e.validation}`}else{n="Invalid"}break;case o.ZodIssueCode.too_small:if(e.type==="array")n=`Array must contain ${e.exact?"exactly":e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`;else if(e.type==="string")n=`String must contain ${e.exact?"exactly":e.inclusive?`at least`:`over`} ${e.minimum} character(s)`;else if(e.type==="number")n=`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`;else if(e.type==="date")n=`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`;else n="Invalid input";break;case o.ZodIssueCode.too_big:if(e.type==="array")n=`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`;else if(e.type==="string")n=`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`;else if(e.type==="number")n=`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type==="bigint")n=`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type==="date")n=`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`;else n="Invalid input";break;case o.ZodIssueCode.custom:n=`Invalid input`;break;case o.ZodIssueCode.invalid_intersection_types:n=`Intersection results could not be merged`;break;case o.ZodIssueCode.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case o.ZodIssueCode.not_finite:n="Number must be finite";break;default:n=t.defaultError;i.util.assertNever(e)}return{message:n}};t["default"]=errorMap},4689:function(e,t,n){"use strict";var i=this&&this.__classPrivateFieldGet||function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)};var o=this&&this.__classPrivateFieldSet||function(e,t,n,i,o){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?o.call(e,n):o?o.value=n:t.set(e,n),n};var d,p;Object.defineProperty(t,"__esModule",{value:true});t.boolean=t.bigint=t.array=t.any=t.coerce=t.ZodFirstPartyTypeKind=t.late=t.ZodSchema=t.Schema=t.custom=t.ZodReadonly=t.ZodPipeline=t.ZodBranded=t.BRAND=t.ZodNaN=t.ZodCatch=t.ZodDefault=t.ZodNullable=t.ZodOptional=t.ZodTransformer=t.ZodEffects=t.ZodPromise=t.ZodNativeEnum=t.ZodEnum=t.ZodLiteral=t.ZodLazy=t.ZodFunction=t.ZodSet=t.ZodMap=t.ZodRecord=t.ZodTuple=t.ZodIntersection=t.ZodDiscriminatedUnion=t.ZodUnion=t.ZodObject=t.ZodArray=t.ZodVoid=t.ZodNever=t.ZodUnknown=t.ZodAny=t.ZodNull=t.ZodUndefined=t.ZodSymbol=t.ZodDate=t.ZodBoolean=t.ZodBigInt=t.ZodNumber=t.ZodString=t.datetimeRegex=t.ZodType=void 0;t.NEVER=t["void"]=t.unknown=t.union=t.undefined=t.tuple=t.transformer=t.symbol=t.string=t.strictObject=t.set=t.record=t.promise=t.preprocess=t.pipeline=t.ostring=t.optional=t.onumber=t.oboolean=t.object=t.number=t.nullable=t["null"]=t.never=t.nativeEnum=t.nan=t.map=t.literal=t.lazy=t.intersection=t["instanceof"]=t["function"]=t["enum"]=t.effect=t.discriminatedUnion=t.date=void 0;const f=n(10773);const y=n(12916);const v=n(38901);const D=n(19876);const M=n(2435);class ParseInputLazyPath{constructor(e,t,n,i){this._cachedPath=[];this.parent=e;this.data=t;this._path=n;this._key=i}get path(){if(!this._cachedPath.length){if(this._key instanceof Array){this._cachedPath.push(...this._path,...this._key)}else{this._cachedPath.push(...this._path,this._key)}}return this._cachedPath}}const handleResult=(e,t)=>{if((0,v.isValid)(t)){return{success:true,data:t.value}}else{if(!e.common.issues.length){throw new Error("Validation failed but no issues detected.")}return{success:false,get error(){if(this._error)return this._error;const t=new M.ZodError(e.common.issues);this._error=t;return this._error}}}};function processCreateParams(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:i,description:o}=e;if(t&&(n||i)){throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`)}if(t)return{errorMap:t,description:o};const customMap=(t,o)=>{var d,p;const{message:f}=e;if(t.code==="invalid_enum_value"){return{message:f!==null&&f!==void 0?f:o.defaultError}}if(typeof o.data==="undefined"){return{message:(d=f!==null&&f!==void 0?f:i)!==null&&d!==void 0?d:o.defaultError}}if(t.code!=="invalid_type")return{message:o.defaultError};return{message:(p=f!==null&&f!==void 0?f:n)!==null&&p!==void 0?p:o.defaultError}};return{errorMap:customMap,description:o}}class ZodType{get description(){return this._def.description}_getType(e){return(0,D.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,D.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new v.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,D.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if((0,v.isAsync)(t)){throw new Error("Synchronous parse encountered promise.")}return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;const i={common:{issues:[],async:(n=t===null||t===void 0?void 0:t.async)!==null&&n!==void 0?n:false,contextualErrorMap:t===null||t===void 0?void 0:t.errorMap},path:(t===null||t===void 0?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,D.getParsedType)(e)};const o=this._parseSync({data:e,path:i.path,parent:i});return handleResult(i,o)}"~validate"(e){var t,n;const i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,D.getParsedType)(e)};if(!this["~standard"].async){try{const t=this._parseSync({data:e,path:[],parent:i});return(0,v.isValid)(t)?{value:t.value}:{issues:i.common.issues}}catch(e){if((n=(t=e===null||e===void 0?void 0:e.message)===null||t===void 0?void 0:t.toLowerCase())===null||n===void 0?void 0:n.includes("encountered")){this["~standard"].async=true}i.common={issues:[],async:true}}}return this._parseAsync({data:e,path:[],parent:i}).then((e=>(0,v.isValid)(e)?{value:e.value}:{issues:i.common.issues}))}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t===null||t===void 0?void 0:t.errorMap,async:true},path:(t===null||t===void 0?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,D.getParsedType)(e)};const i=this._parse({data:e,path:n.path,parent:n});const o=await((0,v.isAsync)(i)?i:Promise.resolve(i));return handleResult(n,o)}refine(e,t){const getIssueProperties=e=>{if(typeof t==="string"||typeof t==="undefined"){return{message:t}}else if(typeof t==="function"){return t(e)}else{return t}};return this._refinement(((t,n)=>{const i=e(t);const setError=()=>n.addIssue({code:M.ZodIssueCode.custom,...getIssueProperties(t)});if(typeof Promise!=="undefined"&&i instanceof Promise){return i.then((e=>{if(!e){setError();return false}else{return true}}))}if(!i){setError();return false}else{return true}}))}refinement(e,t){return this._refinement(((n,i)=>{if(!e(n)){i.addIssue(typeof t==="function"?t(n,i):t);return false}else{return true}}))}_refinement(e){return new ZodEffects({schema:this,typeName:ge.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync;this._def=e;this.parse=this.parse.bind(this);this.safeParse=this.safeParse.bind(this);this.parseAsync=this.parseAsync.bind(this);this.safeParseAsync=this.safeParseAsync.bind(this);this.spa=this.spa.bind(this);this.refine=this.refine.bind(this);this.refinement=this.refinement.bind(this);this.superRefine=this.superRefine.bind(this);this.optional=this.optional.bind(this);this.nullable=this.nullable.bind(this);this.nullish=this.nullish.bind(this);this.array=this.array.bind(this);this.promise=this.promise.bind(this);this.or=this.or.bind(this);this.and=this.and.bind(this);this.transform=this.transform.bind(this);this.brand=this.brand.bind(this);this.default=this.default.bind(this);this.catch=this.catch.bind(this);this.describe=this.describe.bind(this);this.pipe=this.pipe.bind(this);this.readonly=this.readonly.bind(this);this.isNullable=this.isNullable.bind(this);this.isOptional=this.isOptional.bind(this);this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return ZodOptional.create(this,this._def)}nullable(){return ZodNullable.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ZodArray.create(this)}promise(){return ZodPromise.create(this,this._def)}or(e){return ZodUnion.create([this,e],this._def)}and(e){return ZodIntersection.create(this,e,this._def)}transform(e){return new ZodEffects({...processCreateParams(this._def),schema:this,typeName:ge.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e==="function"?e:()=>e;return new ZodDefault({...processCreateParams(this._def),innerType:this,defaultValue:t,typeName:ge.ZodDefault})}brand(){return new ZodBranded({typeName:ge.ZodBranded,type:this,...processCreateParams(this._def)})}catch(e){const t=typeof e==="function"?e:()=>e;return new ZodCatch({...processCreateParams(this._def),innerType:this,catchValue:t,typeName:ge.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return ZodPipeline.create(this,e)}readonly(){return ZodReadonly.create(this)}isOptional(){return this.safeParse(undefined).success}isNullable(){return this.safeParse(null).success}}t.ZodType=ZodType;t.Schema=ZodType;t.ZodSchema=ZodType;const U=/^c[^\s-]{8,}$/i;const j=/^[0-9a-z]+$/;const V=/^[0-9A-HJKMNP-TV-Z]{26}$/i;const K=/^[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}$/i;const ee=/^[a-z0-9_-]{21}$/i;const te=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;const re=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/;const ne=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;const se=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;let ie;const oe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;const ae=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/;const Ae=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/;const ce=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;const le=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/;const ue=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/;const de=`((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;const pe=new RegExp(`^${de}$`);function timeRegexSource(e){let t=`([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d`;if(e.precision){t=`${t}\\.\\d{${e.precision}}`}else if(e.precision==null){t=`${t}(\\.\\d+)?`}return t}function timeRegex(e){return new RegExp(`^${timeRegexSource(e)}$`)}function datetimeRegex(e){let t=`${de}T${timeRegexSource(e)}`;const n=[];n.push(e.local?`Z?`:`Z`);if(e.offset)n.push(`([+-]\\d{2}:?\\d{2})`);t=`${t}(${n.join("|")})`;return new RegExp(`^${t}$`)}t.datetimeRegex=datetimeRegex;function isValidIP(e,t){if((t==="v4"||!t)&&oe.test(e)){return true}if((t==="v6"||!t)&&Ae.test(e)){return true}return false}function isValidJWT(e,t){if(!te.test(e))return false;try{const[n]=e.split(".");const i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"=");const o=JSON.parse(atob(i));if(typeof o!=="object"||o===null)return false;if(!o.typ||!o.alg)return false;if(t&&o.alg!==t)return false;return true}catch(e){return false}}function isValidCidr(e,t){if((t==="v4"||!t)&&ae.test(e)){return true}if((t==="v6"||!t)&&ce.test(e)){return true}return false}class ZodString extends ZodType{_parse(e){if(this._def.coerce){e.data=String(e.data)}const t=this._getType(e);if(t!==D.ZodParsedType.string){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.string,received:t.parsedType});return v.INVALID}const n=new v.ParseStatus;let i=undefined;for(const t of this._def.checks){if(t.kind==="min"){if(e.data.length<t.value){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.too_small,minimum:t.value,type:"string",inclusive:true,exact:false,message:t.message});n.dirty()}}else if(t.kind==="max"){if(e.data.length>t.value){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.too_big,maximum:t.value,type:"string",inclusive:true,exact:false,message:t.message});n.dirty()}}else if(t.kind==="length"){const o=e.data.length>t.value;const d=e.data.length<t.value;if(o||d){i=this._getOrReturnCtx(e,i);if(o){(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.too_big,maximum:t.value,type:"string",inclusive:true,exact:true,message:t.message})}else if(d){(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.too_small,minimum:t.value,type:"string",inclusive:true,exact:true,message:t.message})}n.dirty()}}else if(t.kind==="email"){if(!ne.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"email",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="emoji"){if(!ie){ie=new RegExp(se,"u")}if(!ie.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"emoji",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="uuid"){if(!K.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"uuid",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="nanoid"){if(!ee.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"nanoid",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="cuid"){if(!U.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"cuid",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="cuid2"){if(!j.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"cuid2",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="ulid"){if(!V.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"ulid",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="url"){try{new URL(e.data)}catch(o){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"url",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="regex"){t.regex.lastIndex=0;const o=t.regex.test(e.data);if(!o){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"regex",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="trim"){e.data=e.data.trim()}else if(t.kind==="includes"){if(!e.data.includes(t.value,t.position)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.invalid_string,validation:{includes:t.value,position:t.position},message:t.message});n.dirty()}}else if(t.kind==="toLowerCase"){e.data=e.data.toLowerCase()}else if(t.kind==="toUpperCase"){e.data=e.data.toUpperCase()}else if(t.kind==="startsWith"){if(!e.data.startsWith(t.value)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.invalid_string,validation:{startsWith:t.value},message:t.message});n.dirty()}}else if(t.kind==="endsWith"){if(!e.data.endsWith(t.value)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.invalid_string,validation:{endsWith:t.value},message:t.message});n.dirty()}}else if(t.kind==="datetime"){const o=datetimeRegex(t);if(!o.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.invalid_string,validation:"datetime",message:t.message});n.dirty()}}else if(t.kind==="date"){const o=pe;if(!o.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.invalid_string,validation:"date",message:t.message});n.dirty()}}else if(t.kind==="time"){const o=timeRegex(t);if(!o.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.invalid_string,validation:"time",message:t.message});n.dirty()}}else if(t.kind==="duration"){if(!re.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"duration",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="ip"){if(!isValidIP(e.data,t.version)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"ip",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="jwt"){if(!isValidJWT(e.data,t.alg)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"jwt",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="cidr"){if(!isValidCidr(e.data,t.version)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"cidr",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="base64"){if(!le.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"base64",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else if(t.kind==="base64url"){if(!ue.test(e.data)){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{validation:"base64url",code:M.ZodIssueCode.invalid_string,message:t.message});n.dirty()}}else{D.util.assertNever(t)}}return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement((t=>e.test(t)),{validation:t,code:M.ZodIssueCode.invalid_string,...y.errorUtil.errToObj(n)})}_addCheck(e){return new ZodString({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...y.errorUtil.errToObj(e)})}url(e){return this._addCheck({kind:"url",...y.errorUtil.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...y.errorUtil.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...y.errorUtil.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...y.errorUtil.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...y.errorUtil.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...y.errorUtil.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...y.errorUtil.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...y.errorUtil.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...y.errorUtil.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...y.errorUtil.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...y.errorUtil.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...y.errorUtil.errToObj(e)})}datetime(e){var t,n;if(typeof e==="string"){return this._addCheck({kind:"datetime",precision:null,offset:false,local:false,message:e})}return this._addCheck({kind:"datetime",precision:typeof(e===null||e===void 0?void 0:e.precision)==="undefined"?null:e===null||e===void 0?void 0:e.precision,offset:(t=e===null||e===void 0?void 0:e.offset)!==null&&t!==void 0?t:false,local:(n=e===null||e===void 0?void 0:e.local)!==null&&n!==void 0?n:false,...y.errorUtil.errToObj(e===null||e===void 0?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){if(typeof e==="string"){return this._addCheck({kind:"time",precision:null,message:e})}return this._addCheck({kind:"time",precision:typeof(e===null||e===void 0?void 0:e.precision)==="undefined"?null:e===null||e===void 0?void 0:e.precision,...y.errorUtil.errToObj(e===null||e===void 0?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...y.errorUtil.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...y.errorUtil.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t===null||t===void 0?void 0:t.position,...y.errorUtil.errToObj(t===null||t===void 0?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...y.errorUtil.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...y.errorUtil.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...y.errorUtil.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...y.errorUtil.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...y.errorUtil.errToObj(t)})}nonempty(e){return this.min(1,y.errorUtil.errToObj(e))}trim(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>e.kind==="datetime"))}get isDate(){return!!this._def.checks.find((e=>e.kind==="date"))}get isTime(){return!!this._def.checks.find((e=>e.kind==="time"))}get isDuration(){return!!this._def.checks.find((e=>e.kind==="duration"))}get isEmail(){return!!this._def.checks.find((e=>e.kind==="email"))}get isURL(){return!!this._def.checks.find((e=>e.kind==="url"))}get isEmoji(){return!!this._def.checks.find((e=>e.kind==="emoji"))}get isUUID(){return!!this._def.checks.find((e=>e.kind==="uuid"))}get isNANOID(){return!!this._def.checks.find((e=>e.kind==="nanoid"))}get isCUID(){return!!this._def.checks.find((e=>e.kind==="cuid"))}get isCUID2(){return!!this._def.checks.find((e=>e.kind==="cuid2"))}get isULID(){return!!this._def.checks.find((e=>e.kind==="ulid"))}get isIP(){return!!this._def.checks.find((e=>e.kind==="ip"))}get isCIDR(){return!!this._def.checks.find((e=>e.kind==="cidr"))}get isBase64(){return!!this._def.checks.find((e=>e.kind==="base64"))}get isBase64url(){return!!this._def.checks.find((e=>e.kind==="base64url"))}get minLength(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxLength(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.value<e)e=t.value}}return e}}t.ZodString=ZodString;ZodString.create=e=>{var t;return new ZodString({checks:[],typeName:ge.ZodString,coerce:(t=e===null||e===void 0?void 0:e.coerce)!==null&&t!==void 0?t:false,...processCreateParams(e)})};function floatSafeRemainder(e,t){const n=(e.toString().split(".")[1]||"").length;const i=(t.toString().split(".")[1]||"").length;const o=n>i?n:i;const d=parseInt(e.toFixed(o).replace(".",""));const p=parseInt(t.toFixed(o).replace(".",""));return d%p/Math.pow(10,o)}class ZodNumber extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte;this.step=this.multipleOf}_parse(e){if(this._def.coerce){e.data=Number(e.data)}const t=this._getType(e);if(t!==D.ZodParsedType.number){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.number,received:t.parsedType});return v.INVALID}let n=undefined;const i=new v.ParseStatus;for(const t of this._def.checks){if(t.kind==="int"){if(!D.util.isInteger(e.data)){n=this._getOrReturnCtx(e,n);(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.invalid_type,expected:"integer",received:"float",message:t.message});i.dirty()}}else if(t.kind==="min"){const o=t.inclusive?e.data<t.value:e.data<=t.value;if(o){n=this._getOrReturnCtx(e,n);(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.too_small,minimum:t.value,type:"number",inclusive:t.inclusive,exact:false,message:t.message});i.dirty()}}else if(t.kind==="max"){const o=t.inclusive?e.data>t.value:e.data>=t.value;if(o){n=this._getOrReturnCtx(e,n);(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.too_big,maximum:t.value,type:"number",inclusive:t.inclusive,exact:false,message:t.message});i.dirty()}}else if(t.kind==="multipleOf"){if(floatSafeRemainder(e.data,t.value)!==0){n=this._getOrReturnCtx(e,n);(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.not_multiple_of,multipleOf:t.value,message:t.message});i.dirty()}}else if(t.kind==="finite"){if(!Number.isFinite(e.data)){n=this._getOrReturnCtx(e,n);(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.not_finite,message:t.message});i.dirty()}}else{D.util.assertNever(t)}}return{status:i.value,value:e.data}}gte(e,t){return this.setLimit("min",e,true,y.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,false,y.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,true,y.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,false,y.errorUtil.toString(t))}setLimit(e,t,n,i){return new ZodNumber({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:y.errorUtil.toString(i)}]})}_addCheck(e){return new ZodNumber({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:y.errorUtil.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:false,message:y.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:false,message:y.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:true,message:y.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:true,message:y.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:y.errorUtil.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:y.errorUtil.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:true,value:Number.MIN_SAFE_INTEGER,message:y.errorUtil.toString(e)})._addCheck({kind:"max",inclusive:true,value:Number.MAX_SAFE_INTEGER,message:y.errorUtil.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.value<e)e=t.value}}return e}get isInt(){return!!this._def.checks.find((e=>e.kind==="int"||e.kind==="multipleOf"&&D.util.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf"){return true}else if(n.kind==="min"){if(t===null||n.value>t)t=n.value}else if(n.kind==="max"){if(e===null||n.value<e)e=n.value}}return Number.isFinite(t)&&Number.isFinite(e)}}t.ZodNumber=ZodNumber;ZodNumber.create=e=>new ZodNumber({checks:[],typeName:ge.ZodNumber,coerce:(e===null||e===void 0?void 0:e.coerce)||false,...processCreateParams(e)});class ZodBigInt extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte}_parse(e){if(this._def.coerce){try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}}const t=this._getType(e);if(t!==D.ZodParsedType.bigint){return this._getInvalidInput(e)}let n=undefined;const i=new v.ParseStatus;for(const t of this._def.checks){if(t.kind==="min"){const o=t.inclusive?e.data<t.value:e.data<=t.value;if(o){n=this._getOrReturnCtx(e,n);(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.too_small,type:"bigint",minimum:t.value,inclusive:t.inclusive,message:t.message});i.dirty()}}else if(t.kind==="max"){const o=t.inclusive?e.data>t.value:e.data>=t.value;if(o){n=this._getOrReturnCtx(e,n);(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.too_big,type:"bigint",maximum:t.value,inclusive:t.inclusive,message:t.message});i.dirty()}}else if(t.kind==="multipleOf"){if(e.data%t.value!==BigInt(0)){n=this._getOrReturnCtx(e,n);(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.not_multiple_of,multipleOf:t.value,message:t.message});i.dirty()}}else{D.util.assertNever(t)}}return{status:i.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.bigint,received:t.parsedType});return v.INVALID}gte(e,t){return this.setLimit("min",e,true,y.errorUtil.toString(t))}gt(e,t){return this.setLimit("min",e,false,y.errorUtil.toString(t))}lte(e,t){return this.setLimit("max",e,true,y.errorUtil.toString(t))}lt(e,t){return this.setLimit("max",e,false,y.errorUtil.toString(t))}setLimit(e,t,n,i){return new ZodBigInt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:y.errorUtil.toString(i)}]})}_addCheck(e){return new ZodBigInt({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:false,message:y.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:false,message:y.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:true,message:y.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:true,message:y.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:y.errorUtil.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.value<e)e=t.value}}return e}}t.ZodBigInt=ZodBigInt;ZodBigInt.create=e=>{var t;return new ZodBigInt({checks:[],typeName:ge.ZodBigInt,coerce:(t=e===null||e===void 0?void 0:e.coerce)!==null&&t!==void 0?t:false,...processCreateParams(e)})};class ZodBoolean extends ZodType{_parse(e){if(this._def.coerce){e.data=Boolean(e.data)}const t=this._getType(e);if(t!==D.ZodParsedType.boolean){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.boolean,received:t.parsedType});return v.INVALID}return(0,v.OK)(e.data)}}t.ZodBoolean=ZodBoolean;ZodBoolean.create=e=>new ZodBoolean({typeName:ge.ZodBoolean,coerce:(e===null||e===void 0?void 0:e.coerce)||false,...processCreateParams(e)});class ZodDate extends ZodType{_parse(e){if(this._def.coerce){e.data=new Date(e.data)}const t=this._getType(e);if(t!==D.ZodParsedType.date){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.date,received:t.parsedType});return v.INVALID}if(isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_date});return v.INVALID}const n=new v.ParseStatus;let i=undefined;for(const t of this._def.checks){if(t.kind==="min"){if(e.data.getTime()<t.value){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.too_small,message:t.message,inclusive:true,exact:false,minimum:t.value,type:"date"});n.dirty()}}else if(t.kind==="max"){if(e.data.getTime()>t.value){i=this._getOrReturnCtx(e,i);(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.too_big,message:t.message,inclusive:true,exact:false,maximum:t.value,type:"date"});n.dirty()}}else{D.util.assertNever(t)}}return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new ZodDate({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:y.errorUtil.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:y.errorUtil.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.value<e)e=t.value}}return e!=null?new Date(e):null}}t.ZodDate=ZodDate;ZodDate.create=e=>new ZodDate({checks:[],coerce:(e===null||e===void 0?void 0:e.coerce)||false,typeName:ge.ZodDate,...processCreateParams(e)});class ZodSymbol extends ZodType{_parse(e){const t=this._getType(e);if(t!==D.ZodParsedType.symbol){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.symbol,received:t.parsedType});return v.INVALID}return(0,v.OK)(e.data)}}t.ZodSymbol=ZodSymbol;ZodSymbol.create=e=>new ZodSymbol({typeName:ge.ZodSymbol,...processCreateParams(e)});class ZodUndefined extends ZodType{_parse(e){const t=this._getType(e);if(t!==D.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.undefined,received:t.parsedType});return v.INVALID}return(0,v.OK)(e.data)}}t.ZodUndefined=ZodUndefined;ZodUndefined.create=e=>new ZodUndefined({typeName:ge.ZodUndefined,...processCreateParams(e)});class ZodNull extends ZodType{_parse(e){const t=this._getType(e);if(t!==D.ZodParsedType.null){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.null,received:t.parsedType});return v.INVALID}return(0,v.OK)(e.data)}}t.ZodNull=ZodNull;ZodNull.create=e=>new ZodNull({typeName:ge.ZodNull,...processCreateParams(e)});class ZodAny extends ZodType{constructor(){super(...arguments);this._any=true}_parse(e){return(0,v.OK)(e.data)}}t.ZodAny=ZodAny;ZodAny.create=e=>new ZodAny({typeName:ge.ZodAny,...processCreateParams(e)});class ZodUnknown extends ZodType{constructor(){super(...arguments);this._unknown=true}_parse(e){return(0,v.OK)(e.data)}}t.ZodUnknown=ZodUnknown;ZodUnknown.create=e=>new ZodUnknown({typeName:ge.ZodUnknown,...processCreateParams(e)});class ZodNever extends ZodType{_parse(e){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.never,received:t.parsedType});return v.INVALID}}t.ZodNever=ZodNever;ZodNever.create=e=>new ZodNever({typeName:ge.ZodNever,...processCreateParams(e)});class ZodVoid extends ZodType{_parse(e){const t=this._getType(e);if(t!==D.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.void,received:t.parsedType});return v.INVALID}return(0,v.OK)(e.data)}}t.ZodVoid=ZodVoid;ZodVoid.create=e=>new ZodVoid({typeName:ge.ZodVoid,...processCreateParams(e)});class ZodArray extends ZodType{_parse(e){const{ctx:t,status:n}=this._processInputParams(e);const i=this._def;if(t.parsedType!==D.ZodParsedType.array){(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.array,received:t.parsedType});return v.INVALID}if(i.exactLength!==null){const e=t.data.length>i.exactLength.value;const o=t.data.length<i.exactLength.value;if(e||o){(0,v.addIssueToContext)(t,{code:e?M.ZodIssueCode.too_big:M.ZodIssueCode.too_small,minimum:o?i.exactLength.value:undefined,maximum:e?i.exactLength.value:undefined,type:"array",inclusive:true,exact:true,message:i.exactLength.message});n.dirty()}}if(i.minLength!==null){if(t.data.length<i.minLength.value){(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.too_small,minimum:i.minLength.value,type:"array",inclusive:true,exact:false,message:i.minLength.message});n.dirty()}}if(i.maxLength!==null){if(t.data.length>i.maxLength.value){(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.too_big,maximum:i.maxLength.value,type:"array",inclusive:true,exact:false,message:i.maxLength.message});n.dirty()}}if(t.common.async){return Promise.all([...t.data].map(((e,n)=>i.type._parseAsync(new ParseInputLazyPath(t,e,t.path,n))))).then((e=>v.ParseStatus.mergeArray(n,e)))}const o=[...t.data].map(((e,n)=>i.type._parseSync(new ParseInputLazyPath(t,e,t.path,n))));return v.ParseStatus.mergeArray(n,o)}get element(){return this._def.type}min(e,t){return new ZodArray({...this._def,minLength:{value:e,message:y.errorUtil.toString(t)}})}max(e,t){return new ZodArray({...this._def,maxLength:{value:e,message:y.errorUtil.toString(t)}})}length(e,t){return new ZodArray({...this._def,exactLength:{value:e,message:y.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}t.ZodArray=ZodArray;ZodArray.create=(e,t)=>new ZodArray({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ge.ZodArray,...processCreateParams(t)});function deepPartialify(e){if(e instanceof ZodObject){const t={};for(const n in e.shape){const i=e.shape[n];t[n]=ZodOptional.create(deepPartialify(i))}return new ZodObject({...e._def,shape:()=>t})}else if(e instanceof ZodArray){return new ZodArray({...e._def,type:deepPartialify(e.element)})}else if(e instanceof ZodOptional){return ZodOptional.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodNullable){return ZodNullable.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodTuple){return ZodTuple.create(e.items.map((e=>deepPartialify(e))))}else{return e}}class ZodObject extends ZodType{constructor(){super(...arguments);this._cached=null;this.nonstrict=this.passthrough;this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape();const t=D.util.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){const t=this._getType(e);if(t!==D.ZodParsedType.object){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.object,received:t.parsedType});return v.INVALID}const{status:n,ctx:i}=this._processInputParams(e);const{shape:o,keys:d}=this._getCached();const p=[];if(!(this._def.catchall instanceof ZodNever&&this._def.unknownKeys==="strip")){for(const e in i.data){if(!d.includes(e)){p.push(e)}}}const f=[];for(const e of d){const t=o[e];const n=i.data[e];f.push({key:{status:"valid",value:e},value:t._parse(new ParseInputLazyPath(i,n,i.path,e)),alwaysSet:e in i.data})}if(this._def.catchall instanceof ZodNever){const e=this._def.unknownKeys;if(e==="passthrough"){for(const e of p){f.push({key:{status:"valid",value:e},value:{status:"valid",value:i.data[e]}})}}else if(e==="strict"){if(p.length>0){(0,v.addIssueToContext)(i,{code:M.ZodIssueCode.unrecognized_keys,keys:p});n.dirty()}}else if(e==="strip"){}else{throw new Error(`Internal ZodObject error: invalid unknownKeys value.`)}}else{const e=this._def.catchall;for(const t of p){const n=i.data[t];f.push({key:{status:"valid",value:t},value:e._parse(new ParseInputLazyPath(i,n,i.path,t)),alwaysSet:t in i.data})}}if(i.common.async){return Promise.resolve().then((async()=>{const e=[];for(const t of f){const n=await t.key;const i=await t.value;e.push({key:n,value:i,alwaysSet:t.alwaysSet})}return e})).then((e=>v.ParseStatus.mergeObjectSync(n,e)))}else{return v.ParseStatus.mergeObjectSync(n,f)}}get shape(){return this._def.shape()}strict(e){y.errorUtil.errToObj;return new ZodObject({...this._def,unknownKeys:"strict",...e!==undefined?{errorMap:(t,n)=>{var i,o,d,p;const f=(d=(o=(i=this._def).errorMap)===null||o===void 0?void 0:o.call(i,t,n).message)!==null&&d!==void 0?d:n.defaultError;if(t.code==="unrecognized_keys")return{message:(p=y.errorUtil.errToObj(e).message)!==null&&p!==void 0?p:f};return{message:f}}}:{}})}strip(){return new ZodObject({...this._def,unknownKeys:"strip"})}passthrough(){return new ZodObject({...this._def,unknownKeys:"passthrough"})}extend(e){return new ZodObject({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){const t=new ZodObject({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ge.ZodObject});return t}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ZodObject({...this._def,catchall:e})}pick(e){const t={};D.util.objectKeys(e).forEach((n=>{if(e[n]&&this.shape[n]){t[n]=this.shape[n]}}));return new ZodObject({...this._def,shape:()=>t})}omit(e){const t={};D.util.objectKeys(this.shape).forEach((n=>{if(!e[n]){t[n]=this.shape[n]}}));return new ZodObject({...this._def,shape:()=>t})}deepPartial(){return deepPartialify(this)}partial(e){const t={};D.util.objectKeys(this.shape).forEach((n=>{const i=this.shape[n];if(e&&!e[n]){t[n]=i}else{t[n]=i.optional()}}));return new ZodObject({...this._def,shape:()=>t})}required(e){const t={};D.util.objectKeys(this.shape).forEach((n=>{if(e&&!e[n]){t[n]=this.shape[n]}else{const e=this.shape[n];let i=e;while(i instanceof ZodOptional){i=i._def.innerType}t[n]=i}}));return new ZodObject({...this._def,shape:()=>t})}keyof(){return createZodEnum(D.util.objectKeys(this.shape))}}t.ZodObject=ZodObject;ZodObject.create=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:"strip",catchall:ZodNever.create(),typeName:ge.ZodObject,...processCreateParams(t)});ZodObject.strictCreate=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:"strict",catchall:ZodNever.create(),typeName:ge.ZodObject,...processCreateParams(t)});ZodObject.lazycreate=(e,t)=>new ZodObject({shape:e,unknownKeys:"strip",catchall:ZodNever.create(),typeName:ge.ZodObject,...processCreateParams(t)});class ZodUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const n=this._def.options;function handleResults(e){for(const t of e){if(t.result.status==="valid"){return t.result}}for(const n of e){if(n.result.status==="dirty"){t.common.issues.push(...n.ctx.common.issues);return n.result}}const n=e.map((e=>new M.ZodError(e.ctx.common.issues)));(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_union,unionErrors:n});return v.INVALID}if(t.common.async){return Promise.all(n.map((async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}}))).then(handleResults)}else{let e=undefined;const i=[];for(const o of n){const n={...t,common:{...t.common,issues:[]},parent:null};const d=o._parseSync({data:t.data,path:t.path,parent:n});if(d.status==="valid"){return d}else if(d.status==="dirty"&&!e){e={result:d,ctx:n}}if(n.common.issues.length){i.push(n.common.issues)}}if(e){t.common.issues.push(...e.ctx.common.issues);return e.result}const o=i.map((e=>new M.ZodError(e)));(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_union,unionErrors:o});return v.INVALID}}get options(){return this._def.options}}t.ZodUnion=ZodUnion;ZodUnion.create=(e,t)=>new ZodUnion({options:e,typeName:ge.ZodUnion,...processCreateParams(t)});const getDiscriminator=e=>{if(e instanceof ZodLazy){return getDiscriminator(e.schema)}else if(e instanceof ZodEffects){return getDiscriminator(e.innerType())}else if(e instanceof ZodLiteral){return[e.value]}else if(e instanceof ZodEnum){return e.options}else if(e instanceof ZodNativeEnum){return D.util.objectValues(e.enum)}else if(e instanceof ZodDefault){return getDiscriminator(e._def.innerType)}else if(e instanceof ZodUndefined){return[undefined]}else if(e instanceof ZodNull){return[null]}else if(e instanceof ZodOptional){return[undefined,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodNullable){return[null,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodBranded){return getDiscriminator(e.unwrap())}else if(e instanceof ZodReadonly){return getDiscriminator(e.unwrap())}else if(e instanceof ZodCatch){return getDiscriminator(e._def.innerType)}else{return[]}};class ZodDiscriminatedUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.ZodParsedType.object){(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.object,received:t.parsedType});return v.INVALID}const n=this.discriminator;const i=t.data[n];const o=this.optionsMap.get(i);if(!o){(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]});return v.INVALID}if(t.common.async){return o._parseAsync({data:t.data,path:t.path,parent:t})}else{return o._parseSync({data:t.data,path:t.path,parent:t})}}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const i=new Map;for(const n of t){const t=getDiscriminator(n.shape[e]);if(!t.length){throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`)}for(const o of t){if(i.has(o)){throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`)}i.set(o,n)}}return new ZodDiscriminatedUnion({typeName:ge.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i,...processCreateParams(n)})}}t.ZodDiscriminatedUnion=ZodDiscriminatedUnion;function mergeValues(e,t){const n=(0,D.getParsedType)(e);const i=(0,D.getParsedType)(t);if(e===t){return{valid:true,data:e}}else if(n===D.ZodParsedType.object&&i===D.ZodParsedType.object){const n=D.util.objectKeys(t);const i=D.util.objectKeys(e).filter((e=>n.indexOf(e)!==-1));const o={...e,...t};for(const n of i){const i=mergeValues(e[n],t[n]);if(!i.valid){return{valid:false}}o[n]=i.data}return{valid:true,data:o}}else if(n===D.ZodParsedType.array&&i===D.ZodParsedType.array){if(e.length!==t.length){return{valid:false}}const n=[];for(let i=0;i<e.length;i++){const o=e[i];const d=t[i];const p=mergeValues(o,d);if(!p.valid){return{valid:false}}n.push(p.data)}return{valid:true,data:n}}else if(n===D.ZodParsedType.date&&i===D.ZodParsedType.date&&+e===+t){return{valid:true,data:e}}else{return{valid:false}}}class ZodIntersection extends ZodType{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);const handleParsed=(e,i)=>{if((0,v.isAborted)(e)||(0,v.isAborted)(i)){return v.INVALID}const o=mergeValues(e.value,i.value);if(!o.valid){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.invalid_intersection_types});return v.INVALID}if((0,v.isDirty)(e)||(0,v.isDirty)(i)){t.dirty()}return{status:t.value,value:o.data}};if(n.common.async){return Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then((([e,t])=>handleParsed(e,t)))}else{return handleParsed(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}}t.ZodIntersection=ZodIntersection;ZodIntersection.create=(e,t,n)=>new ZodIntersection({left:e,right:t,typeName:ge.ZodIntersection,...processCreateParams(n)});class ZodTuple extends ZodType{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.ZodParsedType.array){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.array,received:n.parsedType});return v.INVALID}if(n.data.length<this._def.items.length){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:true,exact:false,type:"array"});return v.INVALID}const i=this._def.rest;if(!i&&n.data.length>this._def.items.length){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:true,exact:false,type:"array"});t.dirty()}const o=[...n.data].map(((e,t)=>{const i=this._def.items[t]||this._def.rest;if(!i)return null;return i._parse(new ParseInputLazyPath(n,e,n.path,t))})).filter((e=>!!e));if(n.common.async){return Promise.all(o).then((e=>v.ParseStatus.mergeArray(t,e)))}else{return v.ParseStatus.mergeArray(t,o)}}get items(){return this._def.items}rest(e){return new ZodTuple({...this._def,rest:e})}}t.ZodTuple=ZodTuple;ZodTuple.create=(e,t)=>{if(!Array.isArray(e)){throw new Error("You must pass an array of schemas to z.tuple([ ... ])")}return new ZodTuple({items:e,typeName:ge.ZodTuple,rest:null,...processCreateParams(t)})};class ZodRecord extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.ZodParsedType.object){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.object,received:n.parsedType});return v.INVALID}const i=[];const o=this._def.keyType;const d=this._def.valueType;for(const e in n.data){i.push({key:o._parse(new ParseInputLazyPath(n,e,n.path,e)),value:d._parse(new ParseInputLazyPath(n,n.data[e],n.path,e)),alwaysSet:e in n.data})}if(n.common.async){return v.ParseStatus.mergeObjectAsync(t,i)}else{return v.ParseStatus.mergeObjectSync(t,i)}}get element(){return this._def.valueType}static create(e,t,n){if(t instanceof ZodType){return new ZodRecord({keyType:e,valueType:t,typeName:ge.ZodRecord,...processCreateParams(n)})}return new ZodRecord({keyType:ZodString.create(),valueType:e,typeName:ge.ZodRecord,...processCreateParams(t)})}}t.ZodRecord=ZodRecord;class ZodMap extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.ZodParsedType.map){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.map,received:n.parsedType});return v.INVALID}const i=this._def.keyType;const o=this._def.valueType;const d=[...n.data.entries()].map((([e,t],d)=>({key:i._parse(new ParseInputLazyPath(n,e,n.path,[d,"key"])),value:o._parse(new ParseInputLazyPath(n,t,n.path,[d,"value"]))})));if(n.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const n of d){const i=await n.key;const o=await n.value;if(i.status==="aborted"||o.status==="aborted"){return v.INVALID}if(i.status==="dirty"||o.status==="dirty"){t.dirty()}e.set(i.value,o.value)}return{status:t.value,value:e}}))}else{const e=new Map;for(const n of d){const i=n.key;const o=n.value;if(i.status==="aborted"||o.status==="aborted"){return v.INVALID}if(i.status==="dirty"||o.status==="dirty"){t.dirty()}e.set(i.value,o.value)}return{status:t.value,value:e}}}}t.ZodMap=ZodMap;ZodMap.create=(e,t,n)=>new ZodMap({valueType:t,keyType:e,typeName:ge.ZodMap,...processCreateParams(n)});class ZodSet extends ZodType{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.ZodParsedType.set){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.set,received:n.parsedType});return v.INVALID}const i=this._def;if(i.minSize!==null){if(n.data.size<i.minSize.value){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.too_small,minimum:i.minSize.value,type:"set",inclusive:true,exact:false,message:i.minSize.message});t.dirty()}}if(i.maxSize!==null){if(n.data.size>i.maxSize.value){(0,v.addIssueToContext)(n,{code:M.ZodIssueCode.too_big,maximum:i.maxSize.value,type:"set",inclusive:true,exact:false,message:i.maxSize.message});t.dirty()}}const o=this._def.valueType;function finalizeSet(e){const n=new Set;for(const i of e){if(i.status==="aborted")return v.INVALID;if(i.status==="dirty")t.dirty();n.add(i.value)}return{status:t.value,value:n}}const d=[...n.data.values()].map(((e,t)=>o._parse(new ParseInputLazyPath(n,e,n.path,t))));if(n.common.async){return Promise.all(d).then((e=>finalizeSet(e)))}else{return finalizeSet(d)}}min(e,t){return new ZodSet({...this._def,minSize:{value:e,message:y.errorUtil.toString(t)}})}max(e,t){return new ZodSet({...this._def,maxSize:{value:e,message:y.errorUtil.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}t.ZodSet=ZodSet;ZodSet.create=(e,t)=>new ZodSet({valueType:e,minSize:null,maxSize:null,typeName:ge.ZodSet,...processCreateParams(t)});class ZodFunction extends ZodType{constructor(){super(...arguments);this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.ZodParsedType.function){(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.function,received:t.parsedType});return v.INVALID}function makeArgsIssue(e,n){return(0,v.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,f.getErrorMap)(),f.defaultErrorMap].filter((e=>!!e)),issueData:{code:M.ZodIssueCode.invalid_arguments,argumentsError:n}})}function makeReturnsIssue(e,n){return(0,v.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,f.getErrorMap)(),f.defaultErrorMap].filter((e=>!!e)),issueData:{code:M.ZodIssueCode.invalid_return_type,returnTypeError:n}})}const n={errorMap:t.common.contextualErrorMap};const i=t.data;if(this._def.returns instanceof ZodPromise){const e=this;return(0,v.OK)((async function(...t){const o=new M.ZodError([]);const d=await e._def.args.parseAsync(t,n).catch((e=>{o.addIssue(makeArgsIssue(t,e));throw o}));const p=await Reflect.apply(i,this,d);const f=await e._def.returns._def.type.parseAsync(p,n).catch((e=>{o.addIssue(makeReturnsIssue(p,e));throw o}));return f}))}else{const e=this;return(0,v.OK)((function(...t){const o=e._def.args.safeParse(t,n);if(!o.success){throw new M.ZodError([makeArgsIssue(t,o.error)])}const d=Reflect.apply(i,this,o.data);const p=e._def.returns.safeParse(d,n);if(!p.success){throw new M.ZodError([makeReturnsIssue(d,p.error)])}return p.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ZodFunction({...this._def,args:ZodTuple.create(e).rest(ZodUnknown.create())})}returns(e){return new ZodFunction({...this._def,returns:e})}implement(e){const t=this.parse(e);return t}strictImplement(e){const t=this.parse(e);return t}static create(e,t,n){return new ZodFunction({args:e?e:ZodTuple.create([]).rest(ZodUnknown.create()),returns:t||ZodUnknown.create(),typeName:ge.ZodFunction,...processCreateParams(n)})}}t.ZodFunction=ZodFunction;class ZodLazy extends ZodType{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);const n=this._def.getter();return n._parse({data:t.data,path:t.path,parent:t})}}t.ZodLazy=ZodLazy;ZodLazy.create=(e,t)=>new ZodLazy({getter:e,typeName:ge.ZodLazy,...processCreateParams(t)});class ZodLiteral extends ZodType{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{received:t.data,code:M.ZodIssueCode.invalid_literal,expected:this._def.value});return v.INVALID}return{status:"valid",value:e.data}}get value(){return this._def.value}}t.ZodLiteral=ZodLiteral;ZodLiteral.create=(e,t)=>new ZodLiteral({value:e,typeName:ge.ZodLiteral,...processCreateParams(t)});function createZodEnum(e,t){return new ZodEnum({values:e,typeName:ge.ZodEnum,...processCreateParams(t)})}class ZodEnum extends ZodType{constructor(){super(...arguments);d.set(this,void 0)}_parse(e){if(typeof e.data!=="string"){const t=this._getOrReturnCtx(e);const n=this._def.values;(0,v.addIssueToContext)(t,{expected:D.util.joinValues(n),received:t.parsedType,code:M.ZodIssueCode.invalid_type});return v.INVALID}if(!i(this,d,"f")){o(this,d,new Set(this._def.values),"f")}if(!i(this,d,"f").has(e.data)){const t=this._getOrReturnCtx(e);const n=this._def.values;(0,v.addIssueToContext)(t,{received:t.data,code:M.ZodIssueCode.invalid_enum_value,options:n});return v.INVALID}return(0,v.OK)(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values){e[t]=t}return e}get Values(){const e={};for(const t of this._def.values){e[t]=t}return e}get Enum(){const e={};for(const t of this._def.values){e[t]=t}return e}extract(e,t=this._def){return ZodEnum.create(e,{...this._def,...t})}exclude(e,t=this._def){return ZodEnum.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}t.ZodEnum=ZodEnum;d=new WeakMap;ZodEnum.create=createZodEnum;class ZodNativeEnum extends ZodType{constructor(){super(...arguments);p.set(this,void 0)}_parse(e){const t=D.util.getValidEnumValues(this._def.values);const n=this._getOrReturnCtx(e);if(n.parsedType!==D.ZodParsedType.string&&n.parsedType!==D.ZodParsedType.number){const e=D.util.objectValues(t);(0,v.addIssueToContext)(n,{expected:D.util.joinValues(e),received:n.parsedType,code:M.ZodIssueCode.invalid_type});return v.INVALID}if(!i(this,p,"f")){o(this,p,new Set(D.util.getValidEnumValues(this._def.values)),"f")}if(!i(this,p,"f").has(e.data)){const e=D.util.objectValues(t);(0,v.addIssueToContext)(n,{received:n.data,code:M.ZodIssueCode.invalid_enum_value,options:e});return v.INVALID}return(0,v.OK)(e.data)}get enum(){return this._def.values}}t.ZodNativeEnum=ZodNativeEnum;p=new WeakMap;ZodNativeEnum.create=(e,t)=>new ZodNativeEnum({values:e,typeName:ge.ZodNativeEnum,...processCreateParams(t)});class ZodPromise extends ZodType{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.ZodParsedType.promise&&t.common.async===false){(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.promise,received:t.parsedType});return v.INVALID}const n=t.parsedType===D.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,v.OK)(n.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}t.ZodPromise=ZodPromise;ZodPromise.create=(e,t)=>new ZodPromise({type:e,typeName:ge.ZodPromise,...processCreateParams(t)});class ZodEffects extends ZodType{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ge.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);const i=this._def.effect||null;const o={addIssue:e=>{(0,v.addIssueToContext)(n,e);if(e.fatal){t.abort()}else{t.dirty()}},get path(){return n.path}};o.addIssue=o.addIssue.bind(o);if(i.type==="preprocess"){const e=i.transform(n.data,o);if(n.common.async){return Promise.resolve(e).then((async e=>{if(t.value==="aborted")return v.INVALID;const i=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});if(i.status==="aborted")return v.INVALID;if(i.status==="dirty")return(0,v.DIRTY)(i.value);if(t.value==="dirty")return(0,v.DIRTY)(i.value);return i}))}else{if(t.value==="aborted")return v.INVALID;const i=this._def.schema._parseSync({data:e,path:n.path,parent:n});if(i.status==="aborted")return v.INVALID;if(i.status==="dirty")return(0,v.DIRTY)(i.value);if(t.value==="dirty")return(0,v.DIRTY)(i.value);return i}}if(i.type==="refinement"){const executeRefinement=e=>{const t=i.refinement(e,o);if(n.common.async){return Promise.resolve(t)}if(t instanceof Promise){throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.")}return e};if(n.common.async===false){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(e.status==="aborted")return v.INVALID;if(e.status==="dirty")t.dirty();executeRefinement(e.value);return{status:t.value,value:e.value}}else{return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((e=>{if(e.status==="aborted")return v.INVALID;if(e.status==="dirty")t.dirty();return executeRefinement(e.value).then((()=>({status:t.value,value:e.value})))}))}}if(i.type==="transform"){if(n.common.async===false){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!(0,v.isValid)(e))return e;const d=i.transform(e.value,o);if(d instanceof Promise){throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`)}return{status:t.value,value:d}}else{return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((e=>{if(!(0,v.isValid)(e))return e;return Promise.resolve(i.transform(e.value,o)).then((e=>({status:t.value,value:e})))}))}}D.util.assertNever(i)}}t.ZodEffects=ZodEffects;t.ZodTransformer=ZodEffects;ZodEffects.create=(e,t,n)=>new ZodEffects({schema:e,typeName:ge.ZodEffects,effect:t,...processCreateParams(n)});ZodEffects.createWithPreprocess=(e,t,n)=>new ZodEffects({schema:t,effect:{type:"preprocess",transform:e},typeName:ge.ZodEffects,...processCreateParams(n)});class ZodOptional extends ZodType{_parse(e){const t=this._getType(e);if(t===D.ZodParsedType.undefined){return(0,v.OK)(undefined)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodOptional=ZodOptional;ZodOptional.create=(e,t)=>new ZodOptional({innerType:e,typeName:ge.ZodOptional,...processCreateParams(t)});class ZodNullable extends ZodType{_parse(e){const t=this._getType(e);if(t===D.ZodParsedType.null){return(0,v.OK)(null)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodNullable=ZodNullable;ZodNullable.create=(e,t)=>new ZodNullable({innerType:e,typeName:ge.ZodNullable,...processCreateParams(t)});class ZodDefault extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;if(t.parsedType===D.ZodParsedType.undefined){n=this._def.defaultValue()}return this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}t.ZodDefault=ZodDefault;ZodDefault.create=(e,t)=>new ZodDefault({innerType:e,typeName:ge.ZodDefault,defaultValue:typeof t.default==="function"?t.default:()=>t.default,...processCreateParams(t)});class ZodCatch extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const n={...t,common:{...t.common,issues:[]}};const i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});if((0,v.isAsync)(i)){return i.then((e=>({status:"valid",value:e.status==="valid"?e.value:this._def.catchValue({get error(){return new M.ZodError(n.common.issues)},input:n.data})})))}else{return{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new M.ZodError(n.common.issues)},input:n.data})}}}removeCatch(){return this._def.innerType}}t.ZodCatch=ZodCatch;ZodCatch.create=(e,t)=>new ZodCatch({innerType:e,typeName:ge.ZodCatch,catchValue:typeof t.catch==="function"?t.catch:()=>t.catch,...processCreateParams(t)});class ZodNaN extends ZodType{_parse(e){const t=this._getType(e);if(t!==D.ZodParsedType.nan){const t=this._getOrReturnCtx(e);(0,v.addIssueToContext)(t,{code:M.ZodIssueCode.invalid_type,expected:D.ZodParsedType.nan,received:t.parsedType});return v.INVALID}return{status:"valid",value:e.data}}}t.ZodNaN=ZodNaN;ZodNaN.create=e=>new ZodNaN({typeName:ge.ZodNaN,...processCreateParams(e)});t.BRAND=Symbol("zod_brand");class ZodBranded extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}t.ZodBranded=ZodBranded;class ZodPipeline extends ZodType{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async){const handleAsync=async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});if(e.status==="aborted")return v.INVALID;if(e.status==="dirty"){t.dirty();return(0,v.DIRTY)(e.value)}else{return this._def.out._parseAsync({data:e.value,path:n.path,parent:n})}};return handleAsync()}else{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});if(e.status==="aborted")return v.INVALID;if(e.status==="dirty"){t.dirty();return{status:"dirty",value:e.value}}else{return this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}}static create(e,t){return new ZodPipeline({in:e,out:t,typeName:ge.ZodPipeline})}}t.ZodPipeline=ZodPipeline;class ZodReadonly extends ZodType{_parse(e){const t=this._def.innerType._parse(e);const freeze=e=>{if((0,v.isValid)(e)){e.value=Object.freeze(e.value)}return e};return(0,v.isAsync)(t)?t.then((e=>freeze(e))):freeze(t)}unwrap(){return this._def.innerType}}t.ZodReadonly=ZodReadonly;ZodReadonly.create=(e,t)=>new ZodReadonly({innerType:e,typeName:ge.ZodReadonly,...processCreateParams(t)});function custom(e,t={},n){if(e)return ZodAny.create().superRefine(((i,o)=>{var d,p;if(!e(i)){const e=typeof t==="function"?t(i):typeof t==="string"?{message:t}:t;const f=(p=(d=e.fatal)!==null&&d!==void 0?d:n)!==null&&p!==void 0?p:true;const y=typeof e==="string"?{message:e}:e;o.addIssue({code:"custom",...y,fatal:f})}}));return ZodAny.create()}t.custom=custom;t.late={object:ZodObject.lazycreate};var ge;(function(e){e["ZodString"]="ZodString";e["ZodNumber"]="ZodNumber";e["ZodNaN"]="ZodNaN";e["ZodBigInt"]="ZodBigInt";e["ZodBoolean"]="ZodBoolean";e["ZodDate"]="ZodDate";e["ZodSymbol"]="ZodSymbol";e["ZodUndefined"]="ZodUndefined";e["ZodNull"]="ZodNull";e["ZodAny"]="ZodAny";e["ZodUnknown"]="ZodUnknown";e["ZodNever"]="ZodNever";e["ZodVoid"]="ZodVoid";e["ZodArray"]="ZodArray";e["ZodObject"]="ZodObject";e["ZodUnion"]="ZodUnion";e["ZodDiscriminatedUnion"]="ZodDiscriminatedUnion";e["ZodIntersection"]="ZodIntersection";e["ZodTuple"]="ZodTuple";e["ZodRecord"]="ZodRecord";e["ZodMap"]="ZodMap";e["ZodSet"]="ZodSet";e["ZodFunction"]="ZodFunction";e["ZodLazy"]="ZodLazy";e["ZodLiteral"]="ZodLiteral";e["ZodEnum"]="ZodEnum";e["ZodEffects"]="ZodEffects";e["ZodNativeEnum"]="ZodNativeEnum";e["ZodOptional"]="ZodOptional";e["ZodNullable"]="ZodNullable";e["ZodDefault"]="ZodDefault";e["ZodCatch"]="ZodCatch";e["ZodPromise"]="ZodPromise";e["ZodBranded"]="ZodBranded";e["ZodPipeline"]="ZodPipeline";e["ZodReadonly"]="ZodReadonly"})(ge||(t.ZodFirstPartyTypeKind=ge={}));class Class{constructor(...e){}}const instanceOfType=(e,t={message:`Input not instance of ${e.name}`})=>custom((t=>t instanceof e),t);t["instanceof"]=instanceOfType;const fe=ZodString.create;t.string=fe;const he=ZodNumber.create;t.number=he;const me=ZodNaN.create;t.nan=me;const ye=ZodBigInt.create;t.bigint=ye;const Ee=ZodBoolean.create;t.boolean=Ee;const Ce=ZodDate.create;t.date=Ce;const Ie=ZodSymbol.create;t.symbol=Ie;const Be=ZodUndefined.create;t.undefined=Be;const be=ZodNull.create;t["null"]=be;const Qe=ZodAny.create;t.any=Qe;const Se=ZodUnknown.create;t.unknown=Se;const Ne=ZodNever.create;t.never=Ne;const we=ZodVoid.create;t["void"]=we;const ve=ZodArray.create;t.array=ve;const Re=ZodObject.create;t.object=Re;const xe=ZodObject.strictCreate;t.strictObject=xe;const Pe=ZodUnion.create;t.union=Pe;const ke=ZodDiscriminatedUnion.create;t.discriminatedUnion=ke;const De=ZodIntersection.create;t.intersection=De;const Te=ZodTuple.create;t.tuple=Te;const Oe=ZodRecord.create;t.record=Oe;const Le=ZodMap.create;t.map=Le;const Me=ZodSet.create;t.set=Me;const Fe=ZodFunction.create;t["function"]=Fe;const Ue=ZodLazy.create;t.lazy=Ue;const _e=ZodLiteral.create;t.literal=_e;const He=ZodEnum.create;t["enum"]=He;const qe=ZodNativeEnum.create;t.nativeEnum=qe;const ze=ZodPromise.create;t.promise=ze;const je=ZodEffects.create;t.effect=je;t.transformer=je;const Ve=ZodOptional.create;t.optional=Ve;const Ge=ZodNullable.create;t.nullable=Ge;const Ye=ZodEffects.createWithPreprocess;t.preprocess=Ye;const Je=ZodPipeline.create;t.pipeline=Je;const ostring=()=>fe().optional();t.ostring=ostring;const onumber=()=>he().optional();t.onumber=onumber;const oboolean=()=>Ee().optional();t.oboolean=oboolean;t.coerce={string:e=>ZodString.create({...e,coerce:true}),number:e=>ZodNumber.create({...e,coerce:true}),boolean:e=>ZodBoolean.create({...e,coerce:true}),bigint:e=>ZodBigInt.create({...e,coerce:true}),date:e=>ZodDate.create({...e,coerce:true})};t.NEVER=v.INVALID},5545:module=>{module.exports=eval("require")("supports-color")},42613:e=>{"use strict";e.exports=require("assert")},90290:e=>{"use strict";e.exports=require("async_hooks")},20181:e=>{"use strict";e.exports=require("buffer")},35317:e=>{"use strict";e.exports=require("child_process")},64236:e=>{"use strict";e.exports=require("console")},76982:e=>{"use strict";e.exports=require("crypto")},31637:e=>{"use strict";e.exports=require("diagnostics_channel")},24434:e=>{"use strict";e.exports=require("events")},79896:e=>{"use strict";e.exports=require("fs")},91943:e=>{"use strict";e.exports=require("fs/promises")},58611:e=>{"use strict";e.exports=require("http")},85675:e=>{"use strict";e.exports=require("http2")},65692:e=>{"use strict";e.exports=require("https")},69278:e=>{"use strict";e.exports=require("net")},4573:e=>{"use strict";e.exports=require("node:buffer")},77598:e=>{"use strict";e.exports=require("node:crypto")},78474:e=>{"use strict";e.exports=require("node:events")},37067:e=>{"use strict";e.exports=require("node:http")},44708:e=>{"use strict";e.exports=require("node:https")},48161:e=>{"use strict";e.exports=require("node:os")},1708:e=>{"use strict";e.exports=require("node:process")},57075:e=>{"use strict";e.exports=require("node:stream")},57975:e=>{"use strict";e.exports=require("node:util")},38522:e=>{"use strict";e.exports=require("node:zlib")},70857:e=>{"use strict";e.exports=require("os")},16928:e=>{"use strict";e.exports=require("path")},82987:e=>{"use strict";e.exports=require("perf_hooks")},932:e=>{"use strict";e.exports=require("process")},83480:e=>{"use strict";e.exports=require("querystring")},2203:e=>{"use strict";e.exports=require("stream")},63774:e=>{"use strict";e.exports=require("stream/web")},13193:e=>{"use strict";e.exports=require("string_decoder")},53557:e=>{"use strict";e.exports=require("timers")},64756:e=>{"use strict";e.exports=require("tls")},52018:e=>{"use strict";e.exports=require("tty")},87016:e=>{"use strict";e.exports=require("url")},39023:e=>{"use strict";e.exports=require("util")},98253:e=>{"use strict";e.exports=require("util/types")},28167:e=>{"use strict";e.exports=require("worker_threads")},43106:e=>{"use strict";e.exports=require("zlib")},4346:(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},764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AbortError=void 0;var i=n(4346);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return i.AbortError}})},28678:(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},23711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureNamedKeyCredential=void 0;t.isNamedKeyCredential=isNamedKeyCredential;const i=n(91276);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,i.isObjectWithProperties)(e,["name","key"])&&typeof e.key==="string"&&typeof e.name==="string"}},60560:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureSASCredential=void 0;t.isSASCredential=isSASCredential;const i=n(91276);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,i.isObjectWithProperties)(e,["signature"])&&typeof e.signature==="string"}},46113:(e,t,n)=>{"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 i=n(28678);Object.defineProperty(t,"AzureKeyCredential",{enumerable:true,get:function(){return i.AzureKeyCredential}});var o=n(72515);Object.defineProperty(t,"isKeyCredential",{enumerable:true,get:function(){return o.isKeyCredential}});var d=n(23711);Object.defineProperty(t,"AzureNamedKeyCredential",{enumerable:true,get:function(){return d.AzureNamedKeyCredential}});Object.defineProperty(t,"isNamedKeyCredential",{enumerable:true,get:function(){return d.isNamedKeyCredential}});var p=n(60560);Object.defineProperty(t,"AzureSASCredential",{enumerable:true,get:function(){return p.AzureSASCredential}});Object.defineProperty(t,"isSASCredential",{enumerable:true,get:function(){return p.isSASCredential}});var f=n(2545);Object.defineProperty(t,"isTokenCredential",{enumerable:true,get:function(){return f.isTokenCredential}})},72515:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isKeyCredential=isKeyCredential;const i=n(91276);function isKeyCredential(e){return(0,i.isObjectWithProperties)(e,["key"])&&typeof e.key==="string"}},2545:(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)}},90247:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseCAEChallenge=parseCAEChallenge;t.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge;const i=n(64341);const o=n(36732);function parseCAEChallenge(e){const t=`, ${e.trim()}`.split(", Bearer ").filter((e=>e));return t.map((e=>{const t=`${e.trim()}, `.split('", ').filter((e=>e));const n=t.map((e=>(([e,t])=>({[e]:t}))(e.trim().split('="'))));return n.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})}))}async function authorizeRequestOnClaimChallenge(e){var t;const{scopes:n,response:d}=e;const p=e.logger||i.logger;const f=d.headers.get("WWW-Authenticate");if(!f){p.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const y=parseCAEChallenge(f)||[];const v=y.find((e=>e.claims));if(!v){p.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const D=await e.getAccessToken(v.scope?[v.scope]:n,{claims:(0,o.decodeStringToString)(v.claims)});if(!D){return false}e.request.headers.set("Authorization",`${(t=D.tokenType)!==null&&t!==void 0?t:"Bearer"} ${D.token}`);return true}},62785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.authorizeRequestOnTenantChallenge=void 0;const n={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(e){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)}const authorizeRequestOnTenantChallenge=async e=>{var t;const i=requestToOptions(e.request);const o=getChallenge(e.response);if(o){const d=parseChallenge(o);const p=buildScopes(e,d);const f=extractTenantId(d);if(!f){return false}const y=await e.getAccessToken(p,Object.assign(Object.assign({},i),{tenantId:f}));if(!y){return false}e.request.headers.set(n.HeaderConstants.AUTHORIZATION,`${(t=y.tokenType)!==null&&t!==void 0?t:"Bearer"} ${y.token}`);return true}return false};t.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(e){const t=new URL(e.authorization_uri);const n=t.pathname.split("/");const i=n[1];if(i&&isUuid(i)){return i}return undefined}function buildScopes(e,t){if(!t.resource_id){return e.scopes}const i=new URL(t.resource_id);i.pathname=n.DefaultScope;let o=i.toString();if(o==="https://disk.azure.com/.default"){o="https://disk.azure.com//.default"}return[o]}function getChallenge(e){const t=e.headers.get("WWW-Authenticate");if(e.status===401&&t){return t}return}function parseChallenge(e){const t=e.slice("Bearer ".length);const n=`${t.trim()} `.split(" ").filter((e=>e));const i=n.map((e=>(([e,t])=>({[e]:t}))(e.trim().split("="))));return i.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})}function requestToOptions(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}},36732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encodeString=encodeString;t.encodeByteArray=encodeByteArray;t.decodeString=decodeString;t.decodeStringToString=decodeStringToString;function encodeString(e){return Buffer.from(e).toString("base64")}function encodeByteArray(e){const t=e instanceof Buffer?e:Buffer.from(e.buffer);return t.toString("base64")}function decodeString(e){return Buffer.from(e,"base64")}function decodeStringToString(e){return Buffer.from(e,"base64").toString()}},76268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deserializationPolicyName=void 0;t.deserializationPolicy=deserializationPolicy;const i=n(38839);const o=n(54786);const d=n(25019);const p=n(93609);const f=["application/json","text/json"];const y=["application/xml","application/atom+xml"];t.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(e={}){var n,o,d,p,v,D,M;const U=(o=(n=e.expectedContentTypes)===null||n===void 0?void 0:n.json)!==null&&o!==void 0?o:f;const j=(p=(d=e.expectedContentTypes)===null||d===void 0?void 0:d.xml)!==null&&p!==void 0?p:y;const V=e.parseXML;const K=e.serializerOptions;const ee={xml:{rootName:(v=K===null||K===void 0?void 0:K.xml.rootName)!==null&&v!==void 0?v:"",includeRoot:(D=K===null||K===void 0?void 0:K.xml.includeRoot)!==null&&D!==void 0?D:false,xmlCharKey:(M=K===null||K===void 0?void 0:K.xml.xmlCharKey)!==null&&M!==void 0?M:i.XML_CHARKEY}};return{name:t.deserializationPolicyName,async sendRequest(e,t){const n=await t(e);return deserializeResponseBody(U,j,n,ee,V)}}}function getOperationResponseMap(e){let t;const n=e.request;const i=(0,p.getOperationRequestInfo)(n);const o=i===null||i===void 0?void 0:i.operationSpec;if(o){if(!(i===null||i===void 0?void 0:i.operationResponseGetter)){t=o.responses[e.status]}else{t=i===null||i===void 0?void 0:i.operationResponseGetter(o,e)}}return t}function shouldDeserializeResponse(e){const t=e.request;const n=(0,p.getOperationRequestInfo)(t);const i=n===null||n===void 0?void 0:n.shouldDeserialize;let o;if(i===undefined){o=true}else if(typeof i==="boolean"){o=i}else{o=i(e)}return o}async function deserializeResponseBody(e,t,n,i,f){const y=await parse(e,t,n,i,f);if(!shouldDeserializeResponse(y)){return y}const v=(0,p.getOperationRequestInfo)(y.request);const D=v===null||v===void 0?void 0:v.operationSpec;if(!D||!D.responses){return y}const M=getOperationResponseMap(y);const{error:U,shouldReturnResponse:j}=handleErrorResponse(y,D,M,i);if(U){throw U}else if(j){return y}if(M){if(M.bodyMapper){let e=y.parsedBody;if(D.isXML&&M.bodyMapper.type.name===d.MapperTypeNames.Sequence){e=typeof e==="object"?e[M.bodyMapper.xmlElementName]:[]}try{y.parsedBody=D.serializer.deserialize(M.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){const t=new o.RestError(`Error ${e} occurred in deserializing the responseBody - ${y.bodyAsText}`,{statusCode:y.status,request:y.request,response:y});throw t}}else if(D.httpMethod==="HEAD"){y.parsedBody=n.status>=200&&n.status<300}if(M.headersMapper){y.parsedHeaders=D.serializer.deserialize(M.headersMapper,y.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return y}function isOperationSpecEmpty(e){const t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]==="default"}function handleErrorResponse(e,t,n,i){var p,f,y,v,D;const M=200<=e.status&&e.status<300;const U=isOperationSpecEmpty(t)?M:!!n;if(U){if(n){if(!n.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const j=n!==null&&n!==void 0?n:t.responses.default;const V=((p=e.request.streamResponseStatusCodes)===null||p===void 0?void 0:p.has(e.status))?`Unexpected status code: ${e.status}`:e.bodyAsText;const K=new o.RestError(V,{statusCode:e.status,request:e.request,response:e});if(!j&&!(((y=(f=e.parsedBody)===null||f===void 0?void 0:f.error)===null||y===void 0?void 0:y.code)&&((D=(v=e.parsedBody)===null||v===void 0?void 0:v.error)===null||D===void 0?void 0:D.message))){throw K}const ee=j===null||j===void 0?void 0:j.bodyMapper;const te=j===null||j===void 0?void 0:j.headersMapper;try{if(e.parsedBody){const n=e.parsedBody;let o;if(ee){let e=n;if(t.isXML&&ee.type.name===d.MapperTypeNames.Sequence){e=[];const t=ee.xmlElementName;if(typeof n==="object"&&t){e=n[t]}}o=t.serializer.deserialize(ee,e,"error.response.parsedBody",i)}const p=n.error||o||n;K.code=p.code;if(p.message){K.message=p.message}if(ee){K.response.parsedBody=o}}if(e.headers&&te){K.response.parsedHeaders=t.serializer.deserialize(te,e.headers.toJSON(),"operationRes.parsedHeaders")}}catch(t){K.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:K,shouldReturnResponse:false}}async function parse(e,t,n,i,d){var p;if(!((p=n.request.streamResponseStatusCodes)===null||p===void 0?void 0:p.has(n.status))&&n.bodyAsText){const p=n.bodyAsText;const f=n.headers.get("Content-Type")||"";const y=!f?[]:f.split(";").map((e=>e.toLowerCase()));try{if(y.length===0||y.some((t=>e.indexOf(t)!==-1))){n.parsedBody=JSON.parse(p);return n}else if(y.some((e=>t.indexOf(e)!==-1))){if(!d){throw new Error("Parsing XML not supported.")}const e=await d(p,i.xml);n.parsedBody=e;return n}}catch(e){const t=`Error "${e}" occurred while parsing the response body - ${n.bodyAsText}.`;const i=e.code||o.RestError.PARSE_ERROR;const d=new o.RestError(t,{code:i,statusCode:n.status,request:n.request,response:n});throw d}}return n}},33368:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const i=n(54786);let o;function getCachedDefaultHttpClient(){if(!o){o=(0,i.createDefaultHttpClient)()}return o}},9235:(e,t,n)=>{"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 i=n(25019);Object.defineProperty(t,"createSerializer",{enumerable:true,get:function(){return i.createSerializer}});Object.defineProperty(t,"MapperTypeNames",{enumerable:true,get:function(){return i.MapperTypeNames}});var o=n(37435);Object.defineProperty(t,"ServiceClient",{enumerable:true,get:function(){return o.ServiceClient}});var d=n(13225);Object.defineProperty(t,"createClientPipeline",{enumerable:true,get:function(){return d.createClientPipeline}});var p=n(38839);Object.defineProperty(t,"XML_ATTRKEY",{enumerable:true,get:function(){return p.XML_ATTRKEY}});Object.defineProperty(t,"XML_CHARKEY",{enumerable:true,get:function(){return p.XML_CHARKEY}});var f=n(76268);Object.defineProperty(t,"deserializationPolicy",{enumerable:true,get:function(){return f.deserializationPolicy}});Object.defineProperty(t,"deserializationPolicyName",{enumerable:true,get:function(){return f.deserializationPolicyName}});var y=n(65873);Object.defineProperty(t,"serializationPolicy",{enumerable:true,get:function(){return y.serializationPolicy}});Object.defineProperty(t,"serializationPolicyName",{enumerable:true,get:function(){return y.serializationPolicyName}});var v=n(90247);Object.defineProperty(t,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return v.authorizeRequestOnClaimChallenge}});var D=n(62785);Object.defineProperty(t,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return D.authorizeRequestOnTenantChallenge}})},58739:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;t.getPathStringFromParameter=getPathStringFromParameter;const i=n(25019);function getStreamingResponseStatusCodes(e){const t=new Set;for(const n in e.responses){const o=e.responses[n];if(o.bodyMapper&&o.bodyMapper.type.name===i.MapperTypeNames.Stream){t.add(Number(n))}}return t}function getPathStringFromParameter(e){const{parameterPath:t,mapper:n}=e;let i;if(typeof t==="string"){i=t}else if(Array.isArray(t)){i=t.join(".")}else{i=n.serializedName}return i}},38839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=void 0;t.XML_ATTRKEY="$";t.XML_CHARKEY="_"},64341:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const i=n(42549);t.logger=(0,i.createClientLogger)("core-client")},93609:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;t.getOperationRequestInfo=getOperationRequestInfo;const i=n(48166);function getOperationArgumentValueFromParameter(e,t,n){let i=t.parameterPath;const o=t.mapper;let d;if(typeof i==="string"){i=[i]}if(Array.isArray(i)){if(i.length>0){if(o.isConstant){d=o.defaultValue}else{let t=getPropertyFromParameterPath(e,i);if(!t.propertyFound&&n){t=getPropertyFromParameterPath(n,i)}let p=false;if(!t.propertyFound){p=o.required||i[0]==="options"&&i.length===2}d=p?o.defaultValue:t.propertyValue}}}else{if(o.required){d={}}for(const t in i){const p=o.type.modelProperties[t];const f=i[t];const y=getOperationArgumentValueFromParameter(e,{parameterPath:f,mapper:p},n);if(y!==undefined){if(!d){d={}}d[t]=y}}}return d}function getPropertyFromParameterPath(e,t){const n={propertyFound:false};let i=0;for(;i<t.length;++i){const n=t[i];if(e&&n in e){e=e[n]}else{break}}if(i===t.length){n.propertyValue=e;n.propertyFound=true}return n}const o=Symbol.for("@azure/core-client original request");function hasOriginalRequest(e){return o in e}function getOperationRequestInfo(e){if(hasOriginalRequest(e)){return getOperationRequestInfo(e[o])}let t=i.state.operationRequestMap.get(e);if(!t){t={};i.state.operationRequestMap.set(e,t)}return t}},13225:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createClientPipeline=createClientPipeline;const i=n(76268);const o=n(54786);const d=n(65873);function createClientPipeline(e={}){const t=(0,o.createPipelineFromOptions)(e!==null&&e!==void 0?e:{});if(e.credentialOptions){t.addPolicy((0,o.bearerTokenAuthenticationPolicy)({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes}))}t.addPolicy((0,d.serializationPolicy)(e.serializationOptions),{phase:"Serialize"});t.addPolicy((0,i.deserializationPolicy)(e.deserializationOptions),{phase:"Deserialize"});return t}},65873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.serializationPolicyName=void 0;t.serializationPolicy=serializationPolicy;t.serializeHeaders=serializeHeaders;t.serializeRequestBody=serializeRequestBody;const i=n(38839);const o=n(93609);const d=n(25019);const p=n(58739);t.serializationPolicyName="serializationPolicy";function serializationPolicy(e={}){const n=e.stringifyXML;return{name:t.serializationPolicyName,async sendRequest(e,t){const i=(0,o.getOperationRequestInfo)(e);const d=i===null||i===void 0?void 0:i.operationSpec;const p=i===null||i===void 0?void 0:i.operationArguments;if(d&&p){serializeHeaders(e,p,d);serializeRequestBody(e,p,d,n)}return t(e)}}}function serializeHeaders(e,t,n){var i,d;if(n.headerParameters){for(const i of n.headerParameters){let d=(0,o.getOperationArgumentValueFromParameter)(t,i);if(d!==null&&d!==undefined||i.mapper.required){d=n.serializer.serialize(i.mapper,d,(0,p.getPathStringFromParameter)(i));const t=i.mapper.headerCollectionPrefix;if(t){for(const n of Object.keys(d)){e.headers.set(t+n,d[n])}}else{e.headers.set(i.mapper.serializedName||(0,p.getPathStringFromParameter)(i),d)}}}}const f=(d=(i=t.options)===null||i===void 0?void 0:i.requestOptions)===null||d===void 0?void 0:d.customHeaders;if(f){for(const t of Object.keys(f)){e.headers.set(t,f[t])}}}function serializeRequestBody(e,t,n,f=function(){throw new Error("XML serialization unsupported!")}){var y,v,D,M,U;const j=(y=t.options)===null||y===void 0?void 0:y.serializerOptions;const V={xml:{rootName:(v=j===null||j===void 0?void 0:j.xml.rootName)!==null&&v!==void 0?v:"",includeRoot:(D=j===null||j===void 0?void 0:j.xml.includeRoot)!==null&&D!==void 0?D:false,xmlCharKey:(M=j===null||j===void 0?void 0:j.xml.xmlCharKey)!==null&&M!==void 0?M:i.XML_CHARKEY}};const K=V.xml.xmlCharKey;if(n.requestBody&&n.requestBody.mapper){e.body=(0,o.getOperationArgumentValueFromParameter)(t,n.requestBody);const i=n.requestBody.mapper;const{required:y,serializedName:v,xmlName:D,xmlElementName:M,xmlNamespace:j,xmlNamespacePrefix:ee,nullable:te}=i;const re=i.type.name;try{if(e.body!==undefined&&e.body!==null||te&&e.body===null||y){const t=(0,p.getPathStringFromParameter)(n.requestBody);e.body=n.serializer.serialize(i,e.body,t,V);const o=re===d.MapperTypeNames.Stream;if(n.isXML){const t=ee?`xmlns:${ee}`:"xmlns";const n=getXmlValueWithNamespace(j,t,re,e.body,V);if(re===d.MapperTypeNames.Sequence){e.body=f(prepareXMLRootList(n,M||D||v,t,j),{rootName:D||v,xmlCharKey:K})}else if(!o){e.body=f(n,{rootName:D||v,xmlCharKey:K})}}else if(re===d.MapperTypeNames.String&&(((U=n.contentType)===null||U===void 0?void 0:U.match("text/plain"))||n.mediaType==="text")){return}else if(!o){e.body=JSON.stringify(e.body)}}}catch(e){throw new Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(v,undefined," ")}.`)}}else if(n.formDataParameters&&n.formDataParameters.length>0){e.formData={};for(const i of n.formDataParameters){const d=(0,o.getOperationArgumentValueFromParameter)(t,i);if(d!==undefined&&d!==null){const t=i.mapper.serializedName||(0,p.getPathStringFromParameter)(i);e.formData[t]=n.serializer.serialize(i.mapper,d,(0,p.getPathStringFromParameter)(i),V)}}}}function getXmlValueWithNamespace(e,t,n,o,d){if(e&&!["Composite","Sequence","Dictionary"].includes(n)){const n={};n[d.xml.xmlCharKey]=o;n[i.XML_ATTRKEY]={[t]:e};return n}return o}function prepareXMLRootList(e,t,n,o){if(!Array.isArray(e)){e=[e]}if(!n||!o){return{[t]:e}}const d={[t]:e};d[i.XML_ATTRKEY]={[n]:o};return d}},25019:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MapperTypeNames=void 0;t.createSerializer=createSerializer;const i=n(31577);const o=i.__importStar(n(36732));const d=n(38839);const p=n(40398);class SerializerImpl{constructor(e={},t=false){this.modelMappers=e;this.isXML=t}validateConstraints(e,t,n){const failValidation=(e,i)=>{throw new Error(`"${n}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&t!==undefined&&t!==null){const{ExclusiveMaximum:n,ExclusiveMinimum:i,InclusiveMaximum:o,InclusiveMinimum:d,MaxItems:p,MaxLength:f,MinItems:y,MinLength:v,MultipleOf:D,Pattern:M,UniqueItems:U}=e.constraints;if(n!==undefined&&t>=n){failValidation("ExclusiveMaximum",n)}if(i!==undefined&&t<=i){failValidation("ExclusiveMinimum",i)}if(o!==undefined&&t>o){failValidation("InclusiveMaximum",o)}if(d!==undefined&&t<d){failValidation("InclusiveMinimum",d)}if(p!==undefined&&t.length>p){failValidation("MaxItems",p)}if(f!==undefined&&t.length>f){failValidation("MaxLength",f)}if(y!==undefined&&t.length<y){failValidation("MinItems",y)}if(v!==undefined&&t.length<v){failValidation("MinLength",v)}if(D!==undefined&&t%D!==0){failValidation("MultipleOf",D)}if(M){const e=typeof M==="string"?new RegExp(M):M;if(typeof t!=="string"||t.match(e)===null){failValidation("Pattern",M)}}if(U&&t.some(((e,t,n)=>n.indexOf(e)!==t))){failValidation("UniqueItems",U)}}}serialize(e,t,n,i={xml:{}}){var o,p,f;const y={xml:{rootName:(o=i.xml.rootName)!==null&&o!==void 0?o:"",includeRoot:(p=i.xml.includeRoot)!==null&&p!==void 0?p:false,xmlCharKey:(f=i.xml.xmlCharKey)!==null&&f!==void 0?f:d.XML_CHARKEY}};let v={};const D=e.type.name;if(!n){n=e.serializedName}if(D.match(/^Sequence$/i)!==null){v=[]}if(e.isConstant){t=e.defaultValue}const{required:M,nullable:U}=e;if(M&&U&&t===undefined){throw new Error(`${n} cannot be undefined.`)}if(M&&!U&&(t===undefined||t===null)){throw new Error(`${n} cannot be null or undefined.`)}if(!M&&U===false&&t===null){throw new Error(`${n} cannot be null.`)}if(t===undefined||t===null){v=t}else{if(D.match(/^any$/i)!==null){v=t}else if(D.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){v=serializeBasicTypes(D,n,t)}else if(D.match(/^Enum$/i)!==null){const i=e;v=serializeEnumType(n,i.type.allowedValues,t)}else if(D.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){v=serializeDateTypes(D,t,n)}else if(D.match(/^ByteArray$/i)!==null){v=serializeByteArrayType(n,t)}else if(D.match(/^Base64Url$/i)!==null){v=serializeBase64UrlType(n,t)}else if(D.match(/^Sequence$/i)!==null){v=serializeSequenceType(this,e,t,n,Boolean(this.isXML),y)}else if(D.match(/^Dictionary$/i)!==null){v=serializeDictionaryType(this,e,t,n,Boolean(this.isXML),y)}else if(D.match(/^Composite$/i)!==null){v=serializeCompositeType(this,e,t,n,Boolean(this.isXML),y)}}return v}deserialize(e,t,n,i={xml:{}}){var p,f,y,v;const D={xml:{rootName:(p=i.xml.rootName)!==null&&p!==void 0?p:"",includeRoot:(f=i.xml.includeRoot)!==null&&f!==void 0?f:false,xmlCharKey:(y=i.xml.xmlCharKey)!==null&&y!==void 0?y:d.XML_CHARKEY},ignoreUnknownProperties:(v=i.ignoreUnknownProperties)!==null&&v!==void 0?v: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 M;const U=e.type.name;if(!n){n=e.serializedName}if(U.match(/^Composite$/i)!==null){M=deserializeCompositeType(this,e,t,n,D)}else{if(this.isXML){const e=D.xml.xmlCharKey;if(t[d.XML_ATTRKEY]!==undefined&&t[e]!==undefined){t=t[e]}}if(U.match(/^Number$/i)!==null){M=parseFloat(t);if(isNaN(M)){M=t}}else if(U.match(/^Boolean$/i)!==null){if(t==="true"){M=true}else if(t==="false"){M=false}else{M=t}}else if(U.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){M=t}else if(U.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){M=new Date(t)}else if(U.match(/^UnixTime$/i)!==null){M=unixTimeToDate(t)}else if(U.match(/^ByteArray$/i)!==null){M=o.decodeString(t)}else if(U.match(/^Base64Url$/i)!==null){M=base64UrlToByteArray(t)}else if(U.match(/^Sequence$/i)!==null){M=deserializeSequenceType(this,e,t,n,D)}else if(U.match(/^Dictionary$/i)!==null){M=deserializeDictionaryType(this,e,t,n,D)}}if(e.isConstant){M=e.defaultValue}return M}}function createSerializer(e={},t=false){return new SerializerImpl(e,t)}function trimEnd(e,t){let n=e.length;while(n-1>=0&&e[n-1]===t){--n}return e.substr(0,n)}function bufferToBase64Url(e){if(!e){return undefined}if(!(e instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const t=o.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 o.decodeString(e)}function splitSerializeName(e){const t=[];let n="";if(e){const i=e.split(".");for(const e of i){if(e.charAt(e.length-1)==="\\"){n+=e.substr(0,e.length-1)+"."}else{n+=e;t.push(n);n=""}}}return t}function dateToUnixTime(e){if(!e){return undefined}if(typeof e.valueOf()==="string"){e=new Date(e)}return Math.floor(e.getTime()/1e3)}function unixTimeToDate(e){if(!e){return undefined}return new Date(e*1e3)}function serializeBasicTypes(e,t,n){if(n!==null&&n!==undefined){if(e.match(/^Number$/i)!==null){if(typeof n!=="number"){throw new Error(`${t} with value ${n} must be of type number.`)}}else if(e.match(/^String$/i)!==null){if(typeof n.valueOf()!=="string"){throw new Error(`${t} with value "${n}" must be of type string.`)}}else if(e.match(/^Uuid$/i)!==null){if(!(typeof n.valueOf()==="string"&&(0,p.isValidUuid)(n))){throw new Error(`${t} with value "${n}" must be of type string and a valid uuid.`)}}else if(e.match(/^Boolean$/i)!==null){if(typeof n!=="boolean"){throw new Error(`${t} with value ${n} must be of type boolean.`)}}else if(e.match(/^Stream$/i)!==null){const e=typeof n;if(e!=="string"&&typeof n.pipe!=="function"&&typeof n.tee!=="function"&&!(n instanceof ArrayBuffer)&&!ArrayBuffer.isView(n)&&!((typeof Blob==="function"||typeof Blob==="object")&&n instanceof Blob)&&e!=="function"){throw new Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return n}function serializeEnumType(e,t,n){if(!t){throw new Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`)}const i=t.some((e=>{if(typeof e.valueOf()==="string"){return e.toLowerCase()===n.toLowerCase()}return e===n}));if(!i){throw new Error(`${n} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`)}return n}function serializeByteArrayType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=o.encodeByteArray(t)}return t}function serializeBase64UrlType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=bufferToBase64Url(t)}return t}function serializeDateTypes(e,t,n){if(t!==undefined&&t!==null){if(e.match(/^Date$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${n} must be an instanceof Date or a string in ISO8601 format.`)}t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(e.match(/^DateTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${n} must be an instanceof Date or a string in ISO8601 format.`)}t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(e.match(/^DateTimeRfc1123$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${n} must be an instanceof Date or a string in RFC-1123 format.`)}t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(e.match(/^UnixTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${n} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}t=dateToUnixTime(t)}else if(e.match(/^TimeSpan$/i)!==null){if(!(0,p.isDuration)(t)){throw new Error(`${n} must be a string in ISO 8601 format. Instead was "${t}".`)}}}return t}function serializeSequenceType(e,t,n,i,o,p){var f;if(!Array.isArray(n)){throw new Error(`${i} must be of type Array.`)}let y=t.type.element;if(!y||typeof y!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${i}.`)}if(y.type.name==="Composite"&&y.type.className){y=(f=e.modelMappers[y.type.className])!==null&&f!==void 0?f:y}const v=[];for(let t=0;t<n.length;t++){const f=e.serialize(y,n[t],i,p);if(o&&y.xmlNamespace){const e=y.xmlNamespacePrefix?`xmlns:${y.xmlNamespacePrefix}`:"xmlns";if(y.type.name==="Composite"){v[t]=Object.assign({},f);v[t][d.XML_ATTRKEY]={[e]:y.xmlNamespace}}else{v[t]={};v[t][p.xml.xmlCharKey]=f;v[t][d.XML_ATTRKEY]={[e]:y.xmlNamespace}}}else{v[t]=f}}return v}function serializeDictionaryType(e,t,n,i,o,p){if(typeof n!=="object"){throw new Error(`${i} must be of type object.`)}const f=t.type.value;if(!f||typeof f!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${i}.`)}const y={};for(const t of Object.keys(n)){const d=e.serialize(f,n[t],i,p);y[t]=getXmlObjectValue(f,d,o,p)}if(o&&t.xmlNamespace){const e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";const n=y;n[d.XML_ATTRKEY]={[e]:t.xmlNamespace};return n}return y}function resolveAdditionalProperties(e,t,n){const i=t.type.additionalProperties;if(!i&&t.type.className){const i=resolveReferencedMapper(e,t,n);return i===null||i===void 0?void 0:i.type.additionalProperties}return i}function resolveReferencedMapper(e,t,n){const i=t.type.className;if(!i){throw new Error(`Class name for model "${n}" is not provided in the mapper "${JSON.stringify(t,undefined,2)}".`)}return e.modelMappers[i]}function resolveModelProperties(e,t,n){let i=t.type.modelProperties;if(!i){const o=resolveReferencedMapper(e,t,n);if(!o){throw new Error(`mapper() cannot be null or undefined for model "${t.type.className}".`)}i=o===null||o===void 0?void 0:o.type.modelProperties;if(!i){throw new Error(`modelProperties cannot be null or undefined in the `+`mapper "${JSON.stringify(o)}" of type "${t.type.className}" for object "${n}".`)}}return i}function serializeCompositeType(e,t,n,i,o,p){if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,n,"clientName")}if(n!==undefined&&n!==null){const f={};const y=resolveModelProperties(e,t,i);for(const v of Object.keys(y)){const D=y[v];if(D.readOnly){continue}let M;let U=f;if(e.isXML){if(D.xmlIsWrapped){M=D.xmlName}else{M=D.xmlElementName||D.xmlName}}else{const e=splitSerializeName(D.serializedName);M=e.pop();for(const t of e){const e=U[t];if((e===undefined||e===null)&&(n[v]!==undefined&&n[v]!==null||D.defaultValue!==undefined)){U[t]={}}U=U[t]}}if(U!==undefined&&U!==null){if(o&&t.xmlNamespace){const e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";U[d.XML_ATTRKEY]=Object.assign(Object.assign({},U[d.XML_ATTRKEY]),{[e]:t.xmlNamespace})}const f=D.serializedName!==""?i+"."+D.serializedName:i;let y=n[v];const j=getPolymorphicDiscriminatorRecursively(e,t);if(j&&j.clientName===v&&(y===undefined||y===null)){y=t.serializedName}const V=e.serialize(D,y,f,p);if(V!==undefined&&M!==undefined&&M!==null){const e=getXmlObjectValue(D,V,o,p);if(o&&D.xmlIsAttribute){U[d.XML_ATTRKEY]=U[d.XML_ATTRKEY]||{};U[d.XML_ATTRKEY][M]=V}else if(o&&D.xmlIsWrapped){U[M]={[D.xmlElementName]:e}}else{U[M]=e}}}}const v=resolveAdditionalProperties(e,t,i);if(v){const t=Object.keys(y);for(const o in n){const d=t.every((e=>e!==o));if(d){f[o]=e.serialize(v,n[o],i+'["'+o+'"]',p)}}}return f}return n}function getXmlObjectValue(e,t,n,i){if(!n||!e.xmlNamespace){return t}const o=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";const p={[o]:e.xmlNamespace};if(["Composite"].includes(e.type.name)){if(t[d.XML_ATTRKEY]){return t}else{const e=Object.assign({},t);e[d.XML_ATTRKEY]=p;return e}}const f={};f[i.xml.xmlCharKey]=t;f[d.XML_ATTRKEY]=p;return f}function isSpecialXmlProperty(e,t){return[d.XML_ATTRKEY,t.xml.xmlCharKey].includes(e)}function deserializeCompositeType(e,t,n,i,o){var p,f;const y=(p=o.xml.xmlCharKey)!==null&&p!==void 0?p:d.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,n,"serializedName")}const v=resolveModelProperties(e,t,i);let D={};const M=[];for(const p of Object.keys(v)){const U=v[p];const j=splitSerializeName(v[p].serializedName);M.push(j[0]);const{serializedName:V,xmlName:K,xmlElementName:ee}=U;let te=i;if(V!==""&&V!==undefined){te=i+"."+V}const re=U.headerCollectionPrefix;if(re){const t={};for(const i of Object.keys(n)){if(i.startsWith(re)){t[i.substring(re.length)]=e.deserialize(U.type.value,n[i],te,o)}M.push(i)}D[p]=t}else if(e.isXML){if(U.xmlIsAttribute&&n[d.XML_ATTRKEY]){D[p]=e.deserialize(U,n[d.XML_ATTRKEY][K],te,o)}else if(U.xmlIsMsText){if(n[y]!==undefined){D[p]=n[y]}else if(typeof n==="string"){D[p]=n}}else{const t=ee||K||V;if(U.xmlIsWrapped){const t=n[K];const i=(f=t===null||t===void 0?void 0:t[ee])!==null&&f!==void 0?f:[];D[p]=e.deserialize(U,i,te,o);M.push(K)}else{const i=n[t];D[p]=e.deserialize(U,i,te,o);M.push(t)}}}else{let i;let d=n;let f=0;for(const e of j){if(!d)break;f++;d=d[e]}if(d===null&&f<j.length){d=undefined}i=d;const y=t.type.polymorphicDiscriminator;if(y&&p===y.clientName&&(i===undefined||i===null)){i=t.serializedName}let M;if(Array.isArray(n[p])&&v[p].serializedName===""){i=n[p];const t=e.deserialize(U,i,te,o);for(const[e,n]of Object.entries(D)){if(!Object.prototype.hasOwnProperty.call(t,e)){t[e]=n}}D=t}else if(i!==undefined||U.defaultValue!==undefined){M=e.deserialize(U,i,te,o);D[p]=M}}}const U=t.type.additionalProperties;if(U){const isAdditionalProperty=e=>{for(const t in v){const n=splitSerializeName(v[t].serializedName);if(n[0]===e){return false}}return true};for(const t in n){if(isAdditionalProperty(t)){D[t]=e.deserialize(U,n[t],i+'["'+t+'"]',o)}}}else if(n&&!o.ignoreUnknownProperties){for(const e of Object.keys(n)){if(D[e]===undefined&&!M.includes(e)&&!isSpecialXmlProperty(e,o)){D[e]=n[e]}}}return D}function deserializeDictionaryType(e,t,n,i,o){const d=t.type.value;if(!d||typeof d!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${i}`)}if(n){const t={};for(const p of Object.keys(n)){t[p]=e.deserialize(d,n[p],i,o)}return t}return n}function deserializeSequenceType(e,t,n,i,o){var d;let p=t.type.element;if(!p||typeof p!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${i}`)}if(n){if(!Array.isArray(n)){n=[n]}if(p.type.name==="Composite"&&p.type.className){p=(d=e.modelMappers[p.type.className])!==null&&d!==void 0?d:p}const t=[];for(let d=0;d<n.length;d++){t[d]=e.deserialize(p,n[d],`${i}[${d}]`,o)}return t}return n}function getIndexDiscriminator(e,t,n){const i=[n];while(i.length){const n=i.shift();const o=t===n?t:n+"."+t;if(Object.prototype.hasOwnProperty.call(e,o)){return e[o]}else{for(const[t,o]of Object.entries(e)){if(t.startsWith(n+".")&&o.type.uberParent===n&&o.type.className){i.push(o.type.className)}}}}return undefined}function getPolymorphicMapper(e,t,n,i){var o;const d=getPolymorphicDiscriminatorRecursively(e,t);if(d){let p=d[i];if(p){if(i==="serializedName"){p=p.replace(/\\/gi,"")}const d=n[p];const f=(o=t.type.uberParent)!==null&&o!==void 0?o:t.type.className;if(typeof d==="string"&&f){const n=getIndexDiscriminator(e.modelMappers.discriminators,d,f);if(n){t=n}}}}return t}function getPolymorphicDiscriminatorRecursively(e,t){return t.type.polymorphicDiscriminator||getPolymorphicDiscriminatorSafely(e,t.type.uberParent)||getPolymorphicDiscriminatorSafely(e,t.type.className)}function getPolymorphicDiscriminatorSafely(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}t.MapperTypeNames={Base64Url:"Base64Url",Boolean:"Boolean",ByteArray:"ByteArray",Composite:"Composite",Date:"Date",DateTime:"DateTime",DateTimeRfc1123:"DateTimeRfc1123",Dictionary:"Dictionary",Enum:"Enum",Number:"Number",Object:"Object",Sequence:"Sequence",String:"String",Stream:"Stream",TimeSpan:"TimeSpan",UnixTime:"UnixTime"}},37435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ServiceClient=void 0;const i=n(54786);const o=n(13225);const d=n(40398);const p=n(33368);const f=n(93609);const y=n(52825);const v=n(58739);const D=n(64341);class ServiceClient{constructor(e={}){var t,n;this._requestContentType=e.requestContentType;this._endpoint=(t=e.endpoint)!==null&&t!==void 0?t:e.baseUri;if(e.baseUri){D.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=e.allowInsecureConnection;this._httpClient=e.httpClient||(0,p.getCachedDefaultHttpClient)();this.pipeline=e.pipeline||createDefaultPipeline(e);if((n=e.additionalPolicies)===null||n===void 0?void 0:n.length){for(const{policy:t,position:n}of e.additionalPolicies){const e=n==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(t,{afterPhase:e})}}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){const n=t.baseUrl||this._endpoint;if(!n){throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.")}const o=(0,y.getRequestUrl)(n,t,e,this);const p=(0,i.createPipelineRequest)({url:o});p.method=t.httpMethod;const D=(0,f.getOperationRequestInfo)(p);D.operationSpec=t;D.operationArguments=e;const M=t.contentType||this._requestContentType;if(M&&t.requestBody){p.headers.set("Content-Type",M)}const U=e.options;if(U){const e=U.requestOptions;if(e){if(e.timeout){p.timeout=e.timeout}if(e.onUploadProgress){p.onUploadProgress=e.onUploadProgress}if(e.onDownloadProgress){p.onDownloadProgress=e.onDownloadProgress}if(e.shouldDeserialize!==undefined){D.shouldDeserialize=e.shouldDeserialize}if(e.allowInsecureConnection){p.allowInsecureConnection=true}}if(U.abortSignal){p.abortSignal=U.abortSignal}if(U.tracingOptions){p.tracingOptions=U.tracingOptions}}if(this._allowInsecureConnection){p.allowInsecureConnection=true}if(p.streamResponseStatusCodes===undefined){p.streamResponseStatusCodes=(0,v.getStreamingResponseStatusCodes)(t)}try{const e=await this.sendRequest(p);const n=(0,d.flattenResponse)(e,t.responses[e.status]);if(U===null||U===void 0?void 0:U.onResponse){U.onResponse(e,n)}return n}catch(e){if(typeof e==="object"&&(e===null||e===void 0?void 0:e.response)){const n=e.response;const i=(0,d.flattenResponse)(n,t.responses[e.statusCode]||t.responses["default"]);e.details=i;if(U===null||U===void 0?void 0:U.onResponse){U.onResponse(n,i,e)}}throw e}}}t.ServiceClient=ServiceClient;function createDefaultPipeline(e){const t=getCredentialScopes(e);const n=e.credential&&t?{credentialScopes:t,credential:e.credential}:undefined;return(0,o.createClientPipeline)(Object.assign(Object.assign({},e),{credentialOptions:n}))}function getCredentialScopes(e){if(e.credentialScopes){return e.credentialScopes}if(e.endpoint){return`${e.endpoint}/.default`}if(e.baseUri){return`${e.baseUri}/.default`}if(e.credential&&!e.credentialScopes){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}},48166:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.state=void 0;t.state={operationRequestMap:new WeakMap}},52825:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getRequestUrl=getRequestUrl;t.appendQueryParams=appendQueryParams;const i=n(93609);const o=n(58739);const d={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(e,t,n,i){const o=calculateUrlReplacements(t,n,i);let d=false;let p=replaceAll(e,o);if(t.path){let e=replaceAll(t.path,o);if(t.path==="/{nextLink}"&&e.startsWith("/")){e=e.substring(1)}if(isAbsoluteUrl(e)){p=e;d=true}else{p=appendPath(p,e)}}const{queryParams:f,sequenceParams:y}=calculateQueryParameters(t,n,i);p=appendQueryParams(p,f,y,d);return p}function replaceAll(e,t){let n=e;for(const[e,i]of t){n=n.split(e).join(i)}return n}function calculateUrlReplacements(e,t,n){var d;const p=new Map;if((d=e.urlParameters)===null||d===void 0?void 0:d.length){for(const d of e.urlParameters){let f=(0,i.getOperationArgumentValueFromParameter)(t,d,n);const y=(0,o.getPathStringFromParameter)(d);f=e.serializer.serialize(d.mapper,f,y);if(!d.skipEncoding){f=encodeURIComponent(f)}p.set(`{${d.mapper.serializedName||y}}`,f)}}return p}function isAbsoluteUrl(e){return e.includes("://")}function appendPath(e,t){if(!t){return e}const n=new URL(e);let i=n.pathname;if(!i.endsWith("/")){i=`${i}/`}if(t.startsWith("/")){t=t.substring(1)}const o=t.indexOf("?");if(o!==-1){const e=t.substring(0,o);const d=t.substring(o+1);i=i+e;if(d){n.search=n.search?`${n.search}&${d}`:d}}else{i=i+t}n.pathname=i;return n.toString()}function calculateQueryParameters(e,t,n){var p;const f=new Map;const y=new Set;if((p=e.queryParameters)===null||p===void 0?void 0:p.length){for(const p of e.queryParameters){if(p.mapper.type.name==="Sequence"&&p.mapper.serializedName){y.add(p.mapper.serializedName)}let v=(0,i.getOperationArgumentValueFromParameter)(t,p,n);if(v!==undefined&&v!==null||p.mapper.required){v=e.serializer.serialize(p.mapper,v,(0,o.getPathStringFromParameter)(p));const t=p.collectionFormat?d[p.collectionFormat]:"";if(Array.isArray(v)){v=v.map((e=>{if(e===null||e===undefined){return""}return e}))}if(p.collectionFormat==="Multi"&&v.length===0){continue}else if(Array.isArray(v)&&(p.collectionFormat==="SSV"||p.collectionFormat==="TSV")){v=v.join(t)}if(!p.skipEncoding){if(Array.isArray(v)){v=v.map((e=>encodeURIComponent(e)))}else{v=encodeURIComponent(v)}}if(Array.isArray(v)&&(p.collectionFormat==="CSV"||p.collectionFormat==="Pipes")){v=v.join(t)}f.set(p.mapper.serializedName||(0,o.getPathStringFromParameter)(p),v)}}}return{queryParams:f,sequenceParams:y}}function simpleParseQueryParams(e){const t=new Map;if(!e||e[0]!=="?"){return t}e=e.slice(1);const n=e.split("&");for(const e of n){const[n,i]=e.split("=",2);const o=t.get(n);if(o){if(Array.isArray(o)){o.push(i)}else{t.set(n,[o,i])}}else{t.set(n,i)}}return t}function appendQueryParams(e,t,n,i=false){if(t.size===0){return e}const o=new URL(e);const d=simpleParseQueryParams(o.search);for(const[e,o]of t){const t=d.get(e);if(Array.isArray(t)){if(Array.isArray(o)){t.push(...o);const n=new Set(t);d.set(e,Array.from(n))}else{t.push(o)}}else if(t){if(Array.isArray(o)){o.unshift(t)}else if(n.has(e)){d.set(e,[t,o])}if(!i){d.set(e,o)}}else{d.set(e,o)}}const p=[];for(const[e,t]of d){if(typeof t==="string"){p.push(`${e}=${t}`)}else if(Array.isArray(t)){for(const n of t){p.push(`${e}=${n}`)}}else{p.push(`${e}=${t}`)}}o.search=p.length?`?${p.join("&")}`:"";return o.toString()}},40398:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isPrimitiveBody=isPrimitiveBody;t.isDuration=isDuration;t.isValidUuid=isValidUuid;t.flattenResponse=flattenResponse;function isPrimitiveBody(e,t){return t!=="Composite"&&t!=="Dictionary"&&(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||(t===null||t===void 0?void 0:t.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i))!==null||e===undefined||e===null)}const n=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function isDuration(e){return n.test(e)}const i=/^[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 i.test(e)}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 n,i;const o=e.parsedHeaders;if(e.request.method==="HEAD"){return Object.assign(Object.assign({},o),{body:e.parsedBody})}const d=t&&t.bodyMapper;const p=Boolean(d===null||d===void 0?void 0:d.nullable);const f=d===null||d===void 0?void 0:d.type.name;if(f==="Stream"){return Object.assign(Object.assign({},o),{blobBody:e.blobBody,readableStreamBody:e.readableStreamBody})}const y=f==="Composite"&&d.type.modelProperties||{};const v=Object.keys(y).some((e=>y[e].serializedName===""));if(f==="Sequence"||v){const t=(n=e.parsedBody)!==null&&n!==void 0?n:[];for(const n of Object.keys(y)){if(y[n].serializedName){t[n]=(i=e.parsedBody)===null||i===void 0?void 0:i[n]}}if(o){for(const e of Object.keys(o)){t[e]=o[e]}}return p&&!e.parsedBody&&!o&&Object.getOwnPropertyNames(y).length===0?null:t}return handleNullableResponseAndWrappableBody({body:e.parsedBody,headers:o,hasNullableType:p,shouldWrapBody:isPrimitiveBody(e.parsedBody,f)})}},47828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtendedServiceClient=void 0;const i=n(87215);const o=n(54786);const d=n(9235);const p=n(37209);class ExtendedServiceClient extends d.ServiceClient{constructor(e){var t,n;super(e);if(((t=e.keepAliveOptions)===null||t===void 0?void 0:t.enable)===false&&!(0,i.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,i.createDisableKeepAlivePolicy)())}if(((n=e.redirectOptions)===null||n===void 0?void 0:n.handleRedirects)===false){this.pipeline.removePolicy({name:o.redirectPolicyName})}}async sendOperationRequest(e,t){var n;const i=(n=e===null||e===void 0?void 0:e.options)===null||n===void 0?void 0:n.onResponse;let o;function onResponse(e,t,n){o=e;if(i){i(e,t,n)}}e.options=Object.assign(Object.assign({},e.options),{onResponse:onResponse});const d=await super.sendOperationRequest(e,t);if(o){Object.defineProperty(d,"_response",{value:(0,p.toCompatResponse)(o)})}return d}}t.ExtendedServiceClient=ExtendedServiceClient},1582:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.convertHttpClient=convertHttpClient;const i=n(37209);const o=n(24970);function convertHttpClient(e){return{sendRequest:async t=>{const n=await e.sendRequest((0,o.toWebResourceLike)(t,{createProxy:true}));return(0,i.toPipelineResponse)(n)}}}},62464:(e,t,n)=>{"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 i=n(47828);Object.defineProperty(t,"ExtendedServiceClient",{enumerable:true,get:function(){return i.ExtendedServiceClient}});var o=n(83533);Object.defineProperty(t,"requestPolicyFactoryPolicyName",{enumerable:true,get:function(){return o.requestPolicyFactoryPolicyName}});Object.defineProperty(t,"createRequestPolicyFactoryPolicy",{enumerable:true,get:function(){return o.createRequestPolicyFactoryPolicy}});Object.defineProperty(t,"HttpPipelineLogLevel",{enumerable:true,get:function(){return o.HttpPipelineLogLevel}});var d=n(87215);Object.defineProperty(t,"disableKeepAlivePolicyName",{enumerable:true,get:function(){return d.disableKeepAlivePolicyName}});var p=n(1582);Object.defineProperty(t,"convertHttpClient",{enumerable:true,get:function(){return p.convertHttpClient}});var f=n(24970);Object.defineProperty(t,"toHttpHeadersLike",{enumerable:true,get:function(){return f.toHttpHeadersLike}})},87215:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.disableKeepAlivePolicyName=void 0;t.createDisableKeepAlivePolicy=createDisableKeepAlivePolicy;t.pipelineContainsDisableKeepAlivePolicy=pipelineContainsDisableKeepAlivePolicy;t.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:t.disableKeepAlivePolicyName,async sendRequest(e,t){e.disableKeepAlive=true;return t(e)}}}function pipelineContainsDisableKeepAlivePolicy(e){return e.getOrderedPolicies().some((e=>e.name===t.disableKeepAlivePolicyName))}},83533:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.requestPolicyFactoryPolicyName=t.HttpPipelineLogLevel=void 0;t.createRequestPolicyFactoryPolicy=createRequestPolicyFactoryPolicy;const i=n(24970);const o=n(37209);var d;(function(e){e[e["ERROR"]=1]="ERROR";e[e["INFO"]=3]="INFO";e[e["OFF"]=0]="OFF";e[e["WARNING"]=2]="WARNING"})(d||(t.HttpPipelineLogLevel=d={}));const p={log(e,t){},shouldLog(e){return false}};t.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(e){const n=e.slice().reverse();return{name:t.requestPolicyFactoryPolicyName,async sendRequest(e,t){let d={async sendRequest(e){const n=await t((0,i.toPipelineRequest)(e));return(0,o.toCompatResponse)(n,{createProxy:true})}};for(const e of n){d=e.create(d,p)}const f=(0,i.toWebResourceLike)(e,{createProxy:true});const y=await d.sendRequest(f);return(0,o.toPipelineResponse)(y)}}}},37209:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toCompatResponse=toCompatResponse;t.toPipelineResponse=toPipelineResponse;const i=n(54786);const o=n(24970);const d=Symbol("Original FullOperationResponse");function toCompatResponse(e,t){let n=(0,o.toWebResourceLike)(e.request);let i=(0,o.toHttpHeadersLike)(e.headers);if(t===null||t===void 0?void 0:t.createProxy){return new Proxy(e,{get(t,o,p){if(o==="headers"){return i}else if(o==="request"){return n}else if(o===d){return e}return Reflect.get(t,o,p)},set(e,t,o,d){if(t==="headers"){i=o}else if(t==="request"){n=o}return Reflect.set(e,t,o,d)}})}else{return Object.assign(Object.assign({},e),{request:n,headers:i})}}function toPipelineResponse(e){const t=e;const n=t[d];const p=(0,i.createHttpHeaders)(e.headers.toJson({preserveCase:true}));if(n){n.headers=p;return n}else{return Object.assign(Object.assign({},e),{headers:p,request:(0,o.toPipelineRequest)(e.request)})}}},24970:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HttpHeaders=void 0;t.toPipelineRequest=toPipelineRequest;t.toWebResourceLike=toWebResourceLike;t.toHttpHeadersLike=toHttpHeadersLike;const i=n(54786);const o=Symbol("Original PipelineRequest");const d=Symbol.for("@azure/core-client original request");function toPipelineRequest(e,t={}){const n=e;const p=n[o];const f=(0,i.createHttpHeaders)(e.headers.toJson({preserveCase:true}));if(p){p.headers=f;return p}else{const n=(0,i.createPipelineRequest)({url:e.url,method:e.method,headers:f,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});if(t.originalRequest){n[d]=t.originalRequest}return n}}function toWebResourceLike(e,t){var n;const i=(n=t===null||t===void 0?void 0:t.originalRequest)!==null&&n!==void 0?n:e;const d={url:e.url,method:e.method,headers:toHttpHeadersLike(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};if(t===null||t===void 0?void 0:t.createProxy){return new Proxy(d,{get(t,n,p){if(n===o){return e}else if(n==="clone"){return()=>toWebResourceLike(toPipelineRequest(d,{originalRequest:i}),{createProxy:true,originalRequest:i})}return Reflect.get(t,n,p)},set(t,n,i,o){if(n==="keepAlive"){e.disableKeepAlive=!i}const d=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof n==="string"&&d.includes(n)){e[n]=i}return Reflect.set(t,n,i,o)}})}else{return d}}function toHttpHeadersLike(e){return new HttpHeaders(e.toJSON({preserveCase:true}))}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 n=0;n<t.length;++n){e.push(t[n].name)}return e}headerValues(){const e=[];const t=this.headersArray();for(let n=0;n<t.length;++n){e.push(t[n].value)}return e}toJson(e={}){const t={};if(e.preserveCase){for(const e in this._headersMap){const n=this._headersMap[e];t[n.name]=n.value}}else{for(const e in this._headersMap){const n=this._headersMap[e];t[getHeaderKey(n.name)]=n.value}}return t}toString(){return JSON.stringify(this.toJson({preserveCase:true}))}clone(){const e={};for(const t in this._headersMap){const n=this._headersMap[t];e[n.name]=n.value}return new HttpHeaders(e)}}t.HttpHeaders=HttpHeaders},67146:(e,t,n)=>{"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 i=n(90804);const o=n(41932);function getOperationLocationPollingUrl(e){const{azureAsyncOperation:t,operationLocation:n}=e;return n!==null&&n!==void 0?n:t}function getLocationHeader(e){return e.headers["location"]}function getOperationLocationHeader(e){return e.headers["operation-location"]}function getAzureAsyncOperationHeader(e){return e.headers["azure-asyncoperation"]}function findResourceLocation(e){var t;const{location:n,requestMethod:i,requestPath:o,resourceLocationConfig:d}=e;switch(i){case"PUT":{return o}case"DELETE":{return undefined}case"PATCH":{return(t=getDefault())!==null&&t!==void 0?t:o}default:{return getDefault()}}function getDefault(){switch(d){case"azure-async-operation":{return undefined}case"original-uri":{return o}case"location":default:{return n}}}}function inferLroMode(e){const{rawResponse:t,requestMethod:n,requestPath:i,resourceLocationConfig:o}=e;const d=getOperationLocationHeader(t);const p=getAzureAsyncOperationHeader(t);const f=getOperationLocationPollingUrl({operationLocation:d,azureAsyncOperation:p});const y=getLocationHeader(t);const v=n===null||n===void 0?void 0:n.toLocaleUpperCase();if(f!==undefined){return{mode:"OperationLocation",operationLocation:f,resourceLocation:findResourceLocation({requestMethod:v,location:y,requestPath:i,resourceLocationConfig:o})}}else if(y!==undefined){return{mode:"ResourceLocation",operationLocation:y}}else if(v==="PUT"&&i){return{mode:"Body",operationLocation:i}}else{return undefined}}t.inferLroMode=inferLroMode;function transformStatus(e){const{status:t,statusCode:n}=e;if(typeof t!=="string"&&t!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${t}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(t===null||t===void 0?void 0:t.toLocaleLowerCase()){case undefined:return toOperationStatus(n);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:{o.logger.verbose(`LRO: unrecognized operation status: ${t}`);return t}}}function getStatus(e){var t;const{status:n}=(t=e.body)!==null&&t!==void 0?t:{};return transformStatus({status:n,statusCode:e.statusCode})}function getProvisioningState(e){var t,n;const{properties:i,provisioningState:o}=(t=e.body)!==null&&t!==void 0?t:{};const d=(n=i===null||i===void 0?void 0:i.provisioningState)!==null&&n!==void 0?n:o;return transformStatus({status:d,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){o.logger.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!t.code||!t.message){o.logger.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return t}t.getErrorFromResponse=getErrorFromResponse;function calculatePollingIntervalFromDate(e){const t=Math.floor((new Date).getTime());const n=e.getTime();if(t<n){return n-t}return undefined}function getStatusFromInitialResponse(e){const{response:t,state:n,operationLocation:i}=e;function helper(){var e;const i=(e=n.config.metadata)===null||e===void 0?void 0:e["mode"];switch(i){case undefined:return toOperationStatus(t.rawResponse.statusCode);case"Body":return getOperationStatus(t,n);default:return"running"}}const o=helper();return o==="running"&&i===undefined?"succeeded":o}t.getStatusFromInitialResponse=getStatusFromInitialResponse;async function initHttpOperation(e){const{stateProxy:t,resourceLocationConfig:n,processResult:o,lro:d,setErrorAsResult:p}=e;return(0,i.initOperation)({init:async()=>{const e=await d.sendInitialRequest();const t=inferLroMode({rawResponse:e.rawResponse,requestPath:d.requestPath,requestMethod:d.requestMethod,resourceLocationConfig:n});return Object.assign({response:e,operationLocation:t===null||t===void 0?void 0:t.operationLocation,resourceLocation:t===null||t===void 0?void 0:t.resourceLocation},(t===null||t===void 0?void 0:t.mode)?{metadata:{mode:t.mode}}:{})},stateProxy:t,processResult:o?({flatResponse:e},t)=>o(e,t):({flatResponse:e})=>e,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:p})}t.initHttpOperation=initHttpOperation;function getOperationLocation({rawResponse:e},t){var n;const i=(n=t.config.metadata)===null||n===void 0?void 0:n["mode"];switch(i){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(e),azureAsyncOperation:getAzureAsyncOperationHeader(e)})}case"ResourceLocation":{return getLocationHeader(e)}case"Body":default:{return undefined}}}t.getOperationLocation=getOperationLocation;function getOperationStatus({rawResponse:e},t){var n;const i=(n=t.config.metadata)===null||n===void 0?void 0:n["mode"];switch(i){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: ${i}`)}}t.getOperationStatus=getOperationStatus;function accessBodyProperty({flatResponse:e,rawResponse:t},n){var i,o;return(i=e===null||e===void 0?void 0:e[n])!==null&&i!==void 0?i:(o=t.body)===null||o===void 0?void 0:o[n]}function getResourceLocation(e,t){const n=accessBodyProperty(e,"resourceLocation");if(n&&typeof n==="string"){t.config.resourceLocation=n}return t.config.resourceLocation}t.getResourceLocation=getResourceLocation;function isOperationError(e){return e.name==="RestError"}t.isOperationError=isOperationError;async function pollHttpOperation(e){const{lro:t,stateProxy:n,options:o,processResult:d,updateState:p,setDelay:f,state:y,setErrorAsResult:v}=e;return(0,i.pollOperation)({state:y,stateProxy:n,setDelay:f,processResult:d?({flatResponse:e},t)=>d(e,t):({flatResponse:e})=>e,getError:getErrorFromResponse,updateState:p,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:o,poll:async(e,n)=>t.sendPollRequest(e,n),setErrorAsResult:v})}t.pollHttpOperation=pollHttpOperation},80561:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createHttpPoller=void 0;const i=n(67146);const o=n(31975);async function createHttpPoller(e,t){const{resourceLocationConfig:n,intervalInMs:d,processResult:p,restoreFrom:f,updateState:y,withOperationLocation:v,resolveOnUnsuccessful:D=false}=t||{};return(0,o.buildCreatePoller)({getStatusFromInitialResponse:i.getStatusFromInitialResponse,getStatusFromPollResponse:i.getOperationStatus,isOperationError:i.isOperationError,getOperationLocation:i.getOperationLocation,getResourceLocation:i.getResourceLocation,getPollingInterval:i.parseRetryAfter,getError:i.getErrorFromResponse,resolveOnUnsuccessful:D})({init:async()=>{const t=await e.sendInitialRequest();const o=(0,i.inferLroMode)({rawResponse:t.rawResponse,requestPath:e.requestPath,requestMethod:e.requestMethod,resourceLocationConfig:n});return Object.assign({response:t,operationLocation:o===null||o===void 0?void 0:o.operationLocation,resourceLocation:o===null||o===void 0?void 0:o.resourceLocation},(o===null||o===void 0?void 0:o.mode)?{metadata:{mode:o.mode}}:{})},poll:e.sendPollRequest},{intervalInMs:d,withOperationLocation:v,restoreFrom:f,updateState:y,processResult:p?({flatResponse:e},t)=>p(e,t):({flatResponse:e})=>e})}t.createHttpPoller=createHttpPoller},22670:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createHttpPoller=void 0;const i=n(31577);var o=n(80561);Object.defineProperty(t,"createHttpPoller",{enumerable:true,get:function(){return o.createHttpPoller}});i.__exportStar(n(66026),t);i.__exportStar(n(85804),t);i.__exportStar(n(22290),t)},66026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LroEngine=void 0;var i=n(59331);Object.defineProperty(t,"LroEngine",{enumerable:true,get:function(){return i.LroEngine}})},59331:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LroEngine=void 0;const i=n(24951);const o=n(52216);const d=n(85804);const p=n(90804);class LroEngine extends d.Poller{constructor(e,t){const{intervalInMs:n=o.POLL_INTERVAL_IN_MS,resumeFrom:d,resolveOnUnsuccessful:f=false,isDone:y,lroResourceLocationConfig:v,processResult:D,updateState:M}=t||{};const U=d?(0,p.deserializeState)(d):{};const j=new i.GenericPollOperation(U,e,!f,v,D,M,y);super(j);this.resolveOnUnsuccessful=f;this.config={intervalInMs:n};j.setPollerConfig(this.config)}delay(){return new Promise((e=>setTimeout((()=>e()),this.config.intervalInMs)))}}t.LroEngine=LroEngine},24951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GenericPollOperation=void 0;const i=n(67146);const o=n(41932);const createStateProxy=()=>({initState:e=>({config:e,isStarted:true}),setCanceled:e=>e.isCancelled=true,setError:(e,t)=>e.error=t,setResult:(e,t)=>e.result=t,setRunning:e=>e.isStarted=true,setSucceeded:e=>e.isCompleted=true,setFailed:()=>{},getError:e=>e.error,getResult:e=>e.result,isCanceled:e=>!!e.isCancelled,isFailed:e=>!!e.error,isRunning:e=>!!e.isStarted,isSucceeded:e=>Boolean(e.isCompleted&&!e.isCancelled&&!e.error)});class GenericPollOperation{constructor(e,t,n,i,o,d,p){this.state=e;this.lro=t;this.setErrorAsResult=n;this.lroResourceLocationConfig=i;this.processResult=o;this.updateState=d;this.isDone=p}setPollerConfig(e){this.pollerConfig=e}async update(e){var t;const n=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await(0,i.initHttpOperation)({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const o=this.updateState;const d=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await(0,i.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:o?(e,{rawResponse:t})=>o(e,t):undefined,isDone:d?({flatResponse:e},t)=>d(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(){o.logger.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}t.GenericPollOperation=GenericPollOperation},22290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},85804:(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},41932:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const i=n(42549);t.logger=(0,i.createClientLogger)("core-lro")},52216:(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"]},90804:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pollOperation=t.initOperation=t.deserializeState=void 0;const i=n(41932);const o=n(52216);function deserializeState(e){try{return JSON.parse(e).state}catch(t){throw new Error(`Unable to deserialize input state: ${e}`)}}t.deserializeState=deserializeState;function setStateError(e){const{state:t,stateProxy:n,isOperationError:i}=e;return e=>{if(i(e)){n.setError(t,e);n.setFailed(t)}throw e}}function appendReadableErrorMessage(e,t){let n=e;if(n.slice(-1)!=="."){n=n+"."}return n+" "+t}function simplifyError(e){let t=e.message;let n=e.code;let i=e;while(i.innererror){i=i.innererror;n=i.code;t=appendReadableErrorMessage(t,i.message)}return{code:n,message:t}}function processOperationStatus(e){const{state:t,stateProxy:n,status:o,isDone:d,processResult:p,getError:f,response:y,setErrorAsResult:v}=e;switch(o){case"succeeded":{n.setSucceeded(t);break}case"failed":{const e=f===null||f===void 0?void 0:f(y);let o="";if(e){const{code:t,message:n}=simplifyError(e);o=`. ${t}. ${n}`}const d=`The long-running operation has failed${o}`;n.setError(t,new Error(d));n.setFailed(t);i.logger.warning(d);break}case"canceled":{n.setCanceled(t);break}}if((d===null||d===void 0?void 0:d(y,t))||d===undefined&&["succeeded","canceled"].concat(v?[]:["failed"]).includes(o)){n.setResult(t,buildResult({response:y,state:t,processResult:p}))}}function buildResult(e){const{processResult:t,response:n,state:i}=e;return t?t(n,i):n}async function initOperation(e){const{init:t,stateProxy:n,processResult:o,getOperationStatus:d,withOperationLocation:p,setErrorAsResult:f}=e;const{operationLocation:y,resourceLocation:v,metadata:D,response:M}=await t();if(y)p===null||p===void 0?void 0:p(y,false);const U={metadata:D,operationLocation:y,resourceLocation:v};i.logger.verbose(`LRO: Operation description:`,U);const j=n.initState(U);const V=d({response:M,state:j,operationLocation:y});processOperationStatus({state:j,status:V,stateProxy:n,response:M,setErrorAsResult:f,processResult:o});return j}t.initOperation=initOperation;async function pollOperationHelper(e){const{poll:t,state:n,stateProxy:d,operationLocation:p,getOperationStatus:f,getResourceLocation:y,isOperationError:v,options:D}=e;const M=await t(p,D).catch(setStateError({state:n,stateProxy:d,isOperationError:v}));const U=f(M,n);i.logger.verbose(`LRO: Status:\n\tPolling from: ${n.config.operationLocation}\n\tOperation status: ${U}\n\tPolling status: ${o.terminalStates.includes(U)?"Stopped":"Running"}`);if(U==="succeeded"){const e=y(M,n);if(e!==undefined){return{response:await t(e).catch(setStateError({state:n,stateProxy:d,isOperationError:v})),status:U}}}return{response:M,status:U}}async function pollOperation(e){const{poll:t,state:n,stateProxy:i,options:d,getOperationStatus:p,getResourceLocation:f,getOperationLocation:y,isOperationError:v,withOperationLocation:D,getPollingInterval:M,processResult:U,getError:j,updateState:V,setDelay:K,isDone:ee,setErrorAsResult:te}=e;const{operationLocation:re}=n.config;if(re!==undefined){const{response:e,status:ne}=await pollOperationHelper({poll:t,getOperationStatus:p,state:n,stateProxy:i,operationLocation:re,getResourceLocation:f,isOperationError:v,options:d});processOperationStatus({status:ne,response:e,state:n,stateProxy:i,isDone:ee,processResult:U,getError:j,setErrorAsResult:te});if(!o.terminalStates.includes(ne)){const t=M===null||M===void 0?void 0:M(e);if(t)K(t);const i=y===null||y===void 0?void 0:y(e,n);if(i!==undefined){const e=re!==i;n.config.operationLocation=i;D===null||D===void 0?void 0:D(i,e)}else D===null||D===void 0?void 0:D(re,false)}V===null||V===void 0?void 0:V(n,e)}}t.pollOperation=pollOperation},31975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildCreatePoller=void 0;const i=n(90804);const o=n(52216);const d=n(91276);const createStateProxy=()=>({initState:e=>({status:"running",config:e}),setCanceled:e=>e.status="canceled",setError:(e,t)=>e.error=t,setResult:(e,t)=>e.result=t,setRunning:e=>e.status="running",setSucceeded:e=>e.status="succeeded",setFailed:e=>e.status="failed",getError:e=>e.error,getResult:e=>e.result,isCanceled:e=>e.status==="canceled",isFailed:e=>e.status==="failed",isRunning:e=>e.status==="running",isSucceeded:e=>e.status==="succeeded"});function buildCreatePoller(e){const{getOperationLocation:t,getStatusFromInitialResponse:n,getStatusFromPollResponse:p,isOperationError:f,getResourceLocation:y,getPollingInterval:v,getError:D,resolveOnUnsuccessful:M}=e;return async({init:e,poll:U},j)=>{const{processResult:V,updateState:K,withOperationLocation:ee,intervalInMs:te=o.POLL_INTERVAL_IN_MS,restoreFrom:re}=j||{};const ne=createStateProxy();const se=ee?(()=>{let e=false;return(t,n)=>{if(n)ee(t);else if(!e)ee(t);e=true}})():undefined;const ie=re?(0,i.deserializeState)(re):await(0,i.initOperation)({init:e,stateProxy:ne,processResult:V,getOperationStatus:n,withOperationLocation:se,setErrorAsResult:!M});let oe;const ae=new AbortController;const Ae=new Map;const handleProgressEvents=async()=>Ae.forEach((e=>e(ie)));const ce="Operation was canceled";let le=te;const ue={getOperationState:()=>ie,getResult:()=>ie.result,isDone:()=>["succeeded","failed","canceled"].includes(ie.status),isStopped:()=>oe===undefined,stopPolling:()=>{ae.abort()},toString:()=>JSON.stringify({state:ie}),onProgress:e=>{const t=Symbol();Ae.set(t,e);return()=>Ae.delete(t)},pollUntilDone:e=>oe!==null&&oe!==void 0?oe:oe=(async()=>{const{abortSignal:t}=e||{};function abortListener(){ae.abort()}const n=ae.signal;if(t===null||t===void 0?void 0:t.aborted){ae.abort()}else if(!n.aborted){t===null||t===void 0?void 0:t.addEventListener("abort",abortListener,{once:true})}try{if(!ue.isDone()){await ue.poll({abortSignal:n});while(!ue.isDone()){await(0,d.delay)(le,{abortSignal:n});await ue.poll({abortSignal:n})}}}finally{t===null||t===void 0?void 0:t.removeEventListener("abort",abortListener)}if(M){return ue.getResult()}else{switch(ie.status){case"succeeded":return ue.getResult();case"canceled":throw new Error(ce);case"failed":throw ie.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{oe=undefined})),async poll(e){if(M){if(ue.isDone())return}else{switch(ie.status){case"succeeded":return;case"canceled":throw new Error(ce);case"failed":throw ie.error}}await(0,i.pollOperation)({poll:U,state:ie,stateProxy:ne,getOperationLocation:t,isOperationError:f,withOperationLocation:se,getPollingInterval:v,getOperationStatus:p,getResourceLocation:y,processResult:V,getError:D,updateState:K,options:e,setDelay:e=>{le=e},setErrorAsResult:!M});await handleProgressEvents();if(!M){switch(ie.status){case"canceled":throw new Error(ce);case"failed":throw ie.error}}}};return ue}}t.buildCreatePoller=buildCreatePoller},19:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_RETRY_POLICY_COUNT=t.SDK_VERSION=void 0;t.SDK_VERSION="1.22.0";t.DEFAULT_RETRY_POLICY_COUNT=3},10582:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPipelineFromOptions=createPipelineFromOptions;const i=n(84557);const o=n(75310);const d=n(83871);const p=n(49335);const f=n(43879);const y=n(16791);const v=n(60962);const D=n(91201);const M=n(91276);const U=n(59847);const j=n(81150);const V=n(53138);const K=n(53230);const ee=n(25373);const te=n(15922);function createPipelineFromOptions(e){var t;const n=(0,o.createEmptyPipeline)();if(M.isNodeLike){if(e.agent){n.addPolicy((0,V.agentPolicy)(e.agent))}if(e.tlsOptions){n.addPolicy((0,K.tlsPolicy)(e.tlsOptions))}n.addPolicy((0,U.proxyPolicy)(e.proxyOptions));n.addPolicy((0,y.decompressResponsePolicy)())}n.addPolicy((0,te.wrapAbortSignalLikePolicy)());n.addPolicy((0,D.formDataPolicy)(),{beforePolicies:[f.multipartPolicyName]});n.addPolicy((0,p.userAgentPolicy)(e.userAgentOptions));n.addPolicy((0,j.setClientRequestIdPolicy)((t=e.telemetryOptions)===null||t===void 0?void 0:t.clientRequestIdHeaderName));n.addPolicy((0,f.multipartPolicy)(),{afterPhase:"Deserialize"});n.addPolicy((0,v.defaultRetryPolicy)(e.retryOptions),{phase:"Retry"});n.addPolicy((0,ee.tracingPolicy)(Object.assign(Object.assign({},e.userAgentOptions),e.loggingOptions)),{afterPhase:"Retry"});if(M.isNodeLike){n.addPolicy((0,d.redirectPolicy)(e.redirectOptions),{afterPhase:"Retry"})}n.addPolicy((0,i.logPolicy)(e.loggingOptions),{afterPhase:"Sign"});return n}},46896:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDefaultHttpClient=createDefaultHttpClient;const i=n(67810);const o=n(79049);function createDefaultHttpClient(){const e=(0,i.createDefaultHttpClient)();return{async sendRequest(t){const{abortSignal:n,cleanup:i}=t.abortSignal?(0,o.wrapAbortSignalLike)(t.abortSignal):{};try{t.abortSignal=n;return await e.sendRequest(t)}finally{i===null||i===void 0?void 0:i()}}}}},18536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createHttpHeaders=createHttpHeaders;const i=n(67810);function createHttpHeaders(e){return(0,i.createHttpHeaders)(e)}},54786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createFileFromStream=t.createFile=t.agentPolicyName=t.agentPolicy=t.auxiliaryAuthenticationHeaderPolicyName=t.auxiliaryAuthenticationHeaderPolicy=t.ndJsonPolicyName=t.ndJsonPolicy=t.bearerTokenAuthenticationPolicyName=t.bearerTokenAuthenticationPolicy=t.formDataPolicyName=t.formDataPolicy=t.tlsPolicyName=t.tlsPolicy=t.userAgentPolicyName=t.userAgentPolicy=t.defaultRetryPolicy=t.tracingPolicyName=t.tracingPolicy=t.retryPolicy=t.throttlingRetryPolicyName=t.throttlingRetryPolicy=t.systemErrorRetryPolicyName=t.systemErrorRetryPolicy=t.redirectPolicyName=t.redirectPolicy=t.getDefaultProxySettings=t.proxyPolicyName=t.proxyPolicy=t.multipartPolicyName=t.multipartPolicy=t.logPolicyName=t.logPolicy=t.setClientRequestIdPolicyName=t.setClientRequestIdPolicy=t.exponentialRetryPolicyName=t.exponentialRetryPolicy=t.decompressResponsePolicyName=t.decompressResponsePolicy=t.isRestError=t.RestError=t.createPipelineRequest=t.createHttpHeaders=t.createDefaultHttpClient=t.createPipelineFromOptions=t.createEmptyPipeline=void 0;var i=n(75310);Object.defineProperty(t,"createEmptyPipeline",{enumerable:true,get:function(){return i.createEmptyPipeline}});var o=n(10582);Object.defineProperty(t,"createPipelineFromOptions",{enumerable:true,get:function(){return o.createPipelineFromOptions}});var d=n(46896);Object.defineProperty(t,"createDefaultHttpClient",{enumerable:true,get:function(){return d.createDefaultHttpClient}});var p=n(18536);Object.defineProperty(t,"createHttpHeaders",{enumerable:true,get:function(){return p.createHttpHeaders}});var f=n(22181);Object.defineProperty(t,"createPipelineRequest",{enumerable:true,get:function(){return f.createPipelineRequest}});var y=n(15186);Object.defineProperty(t,"RestError",{enumerable:true,get:function(){return y.RestError}});Object.defineProperty(t,"isRestError",{enumerable:true,get:function(){return y.isRestError}});var v=n(16791);Object.defineProperty(t,"decompressResponsePolicy",{enumerable:true,get:function(){return v.decompressResponsePolicy}});Object.defineProperty(t,"decompressResponsePolicyName",{enumerable:true,get:function(){return v.decompressResponsePolicyName}});var D=n(72332);Object.defineProperty(t,"exponentialRetryPolicy",{enumerable:true,get:function(){return D.exponentialRetryPolicy}});Object.defineProperty(t,"exponentialRetryPolicyName",{enumerable:true,get:function(){return D.exponentialRetryPolicyName}});var M=n(81150);Object.defineProperty(t,"setClientRequestIdPolicy",{enumerable:true,get:function(){return M.setClientRequestIdPolicy}});Object.defineProperty(t,"setClientRequestIdPolicyName",{enumerable:true,get:function(){return M.setClientRequestIdPolicyName}});var U=n(84557);Object.defineProperty(t,"logPolicy",{enumerable:true,get:function(){return U.logPolicy}});Object.defineProperty(t,"logPolicyName",{enumerable:true,get:function(){return U.logPolicyName}});var j=n(43879);Object.defineProperty(t,"multipartPolicy",{enumerable:true,get:function(){return j.multipartPolicy}});Object.defineProperty(t,"multipartPolicyName",{enumerable:true,get:function(){return j.multipartPolicyName}});var V=n(59847);Object.defineProperty(t,"proxyPolicy",{enumerable:true,get:function(){return V.proxyPolicy}});Object.defineProperty(t,"proxyPolicyName",{enumerable:true,get:function(){return V.proxyPolicyName}});Object.defineProperty(t,"getDefaultProxySettings",{enumerable:true,get:function(){return V.getDefaultProxySettings}});var K=n(83871);Object.defineProperty(t,"redirectPolicy",{enumerable:true,get:function(){return K.redirectPolicy}});Object.defineProperty(t,"redirectPolicyName",{enumerable:true,get:function(){return K.redirectPolicyName}});var ee=n(41374);Object.defineProperty(t,"systemErrorRetryPolicy",{enumerable:true,get:function(){return ee.systemErrorRetryPolicy}});Object.defineProperty(t,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return ee.systemErrorRetryPolicyName}});var te=n(6444);Object.defineProperty(t,"throttlingRetryPolicy",{enumerable:true,get:function(){return te.throttlingRetryPolicy}});Object.defineProperty(t,"throttlingRetryPolicyName",{enumerable:true,get:function(){return te.throttlingRetryPolicyName}});var re=n(16269);Object.defineProperty(t,"retryPolicy",{enumerable:true,get:function(){return re.retryPolicy}});var ne=n(25373);Object.defineProperty(t,"tracingPolicy",{enumerable:true,get:function(){return ne.tracingPolicy}});Object.defineProperty(t,"tracingPolicyName",{enumerable:true,get:function(){return ne.tracingPolicyName}});var se=n(60962);Object.defineProperty(t,"defaultRetryPolicy",{enumerable:true,get:function(){return se.defaultRetryPolicy}});var ie=n(49335);Object.defineProperty(t,"userAgentPolicy",{enumerable:true,get:function(){return ie.userAgentPolicy}});Object.defineProperty(t,"userAgentPolicyName",{enumerable:true,get:function(){return ie.userAgentPolicyName}});var oe=n(53230);Object.defineProperty(t,"tlsPolicy",{enumerable:true,get:function(){return oe.tlsPolicy}});Object.defineProperty(t,"tlsPolicyName",{enumerable:true,get:function(){return oe.tlsPolicyName}});var ae=n(91201);Object.defineProperty(t,"formDataPolicy",{enumerable:true,get:function(){return ae.formDataPolicy}});Object.defineProperty(t,"formDataPolicyName",{enumerable:true,get:function(){return ae.formDataPolicyName}});var Ae=n(13733);Object.defineProperty(t,"bearerTokenAuthenticationPolicy",{enumerable:true,get:function(){return Ae.bearerTokenAuthenticationPolicy}});Object.defineProperty(t,"bearerTokenAuthenticationPolicyName",{enumerable:true,get:function(){return Ae.bearerTokenAuthenticationPolicyName}});var ce=n(90227);Object.defineProperty(t,"ndJsonPolicy",{enumerable:true,get:function(){return ce.ndJsonPolicy}});Object.defineProperty(t,"ndJsonPolicyName",{enumerable:true,get:function(){return ce.ndJsonPolicyName}});var le=n(41566);Object.defineProperty(t,"auxiliaryAuthenticationHeaderPolicy",{enumerable:true,get:function(){return le.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(t,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:true,get:function(){return le.auxiliaryAuthenticationHeaderPolicyName}});var ue=n(53138);Object.defineProperty(t,"agentPolicy",{enumerable:true,get:function(){return ue.agentPolicy}});Object.defineProperty(t,"agentPolicyName",{enumerable:true,get:function(){return ue.agentPolicyName}});var de=n(99273);Object.defineProperty(t,"createFile",{enumerable:true,get:function(){return de.createFile}});Object.defineProperty(t,"createFileFromStream",{enumerable:true,get:function(){return de.createFileFromStream}})},43016:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const i=n(42549);t.logger=(0,i.createClientLogger)("core-rest-pipeline")},75310:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createEmptyPipeline=createEmptyPipeline;const i=n(67810);function createEmptyPipeline(){return(0,i.createEmptyPipeline)()}},22181:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPipelineRequest=createPipelineRequest;const i=n(67810);function createPipelineRequest(e){return(0,i.createPipelineRequest)(e)}},53138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.agentPolicyName=void 0;t.agentPolicy=agentPolicy;const i=n(25068);t.agentPolicyName=i.agentPolicyName;function agentPolicy(e){return(0,i.agentPolicy)(e)}},41566:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.auxiliaryAuthenticationHeaderPolicyName=void 0;t.auxiliaryAuthenticationHeaderPolicy=auxiliaryAuthenticationHeaderPolicy;const i=n(59130);const o=n(43016);t.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";const d="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(e){var t,n;const{scopes:i,getAccessToken:o,request:d}=e;const p={abortSignal:d.abortSignal,tracingOptions:d.tracingOptions};return(n=(t=await o(i,p))===null||t===void 0?void 0:t.token)!==null&&n!==void 0?n:""}function auxiliaryAuthenticationHeaderPolicy(e){const{credentials:n,scopes:p}=e;const f=e.logger||o.logger;const y=new WeakMap;return{name:t.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(e,o){if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!n||n.length===0){f.info(`${t.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`);return o(e)}const v=[];for(const t of n){let n=y.get(t);if(!n){n=(0,i.createTokenCycler)(t);y.set(t,n)}v.push(sendAuthorizeRequest({scopes:Array.isArray(p)?p:[p],request:e,getAccessToken:n,logger:f}))}const D=(await Promise.all(v)).filter((e=>Boolean(e)));if(D.length===0){f.warning(`None of the auxiliary tokens are valid. ${d} header will not be set.`);return o(e)}e.headers.set(d,D.map((e=>`Bearer ${e}`)).join(", "));return o(e)}}}},13733:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.bearerTokenAuthenticationPolicyName=void 0;t.bearerTokenAuthenticationPolicy=bearerTokenAuthenticationPolicy;t.parseChallenges=parseChallenges;const i=n(59130);const o=n(43016);const d=n(15186);t.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function trySendRequest(e,t){try{return[await t(e),undefined]}catch(e){if((0,d.isRestError)(e)&&e.response){return[e.response,e]}else{throw e}}}async function defaultAuthorizeRequest(e){const{scopes:t,getAccessToken:n,request:i}=e;const o={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:true};const d=await n(t,o);if(d){e.request.headers.set("Authorization",`Bearer ${d.token}`)}}function isChallengeResponse(e){return e.status===401&&e.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(e,t){var n;const{scopes:i}=e;const o=await e.getAccessToken(i,{enableCae:true,claims:t});if(!o){return false}e.request.headers.set("Authorization",`${(n=o.tokenType)!==null&&n!==void 0?n:"Bearer"} ${o.token}`);return true}function bearerTokenAuthenticationPolicy(e){var n,d,p;const{credential:f,scopes:y,challengeCallbacks:v}=e;const D=e.logger||o.logger;const M={authorizeRequest:(d=(n=v===null||v===void 0?void 0:v.authorizeRequest)===null||n===void 0?void 0:n.bind(v))!==null&&d!==void 0?d:defaultAuthorizeRequest,authorizeRequestOnChallenge:(p=v===null||v===void 0?void 0:v.authorizeRequestOnChallenge)===null||p===void 0?void 0:p.bind(v)};const U=f?(0,i.createTokenCycler)(f):()=>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 M.authorizeRequest({scopes:Array.isArray(y)?y:[y],request:e,getAccessToken:U,logger:D});let n;let i;let o;[n,i]=await trySendRequest(e,t);if(isChallengeResponse(n)){let d=getCaeChallengeClaims(n.headers.get("WWW-Authenticate"));if(d){let p;try{p=atob(d)}catch(e){D.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${d}`);return n}o=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(y)?y:[y],response:n,request:e,getAccessToken:U,logger:D},p);if(o){[n,i]=await trySendRequest(e,t)}}else if(M.authorizeRequestOnChallenge){o=await M.authorizeRequestOnChallenge({scopes:Array.isArray(y)?y:[y],request:e,response:n,getAccessToken:U,logger:D});if(o){[n,i]=await trySendRequest(e,t)}if(isChallengeResponse(n)){d=getCaeChallengeClaims(n.headers.get("WWW-Authenticate"));if(d){let p;try{p=atob(d)}catch(e){D.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${d}`);return n}o=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(y)?y:[y],response:n,request:e,getAccessToken:U,logger:D},p);if(o){[n,i]=await trySendRequest(e,t)}}}}}if(i){throw i}else{return n}}}}function parseChallenges(e){const t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const n=/(\w+)="([^"]*)"/g;const i=[];let o;while((o=t.exec(e))!==null){const e=o[1];const t=o[2];const d={};let p;while((p=n.exec(t))!==null){d[p[1]]=p[2]}i.push({scheme:e,params:d})}return i}function getCaeChallengeClaims(e){var t;if(!e){return}const n=parseChallenges(e);return(t=n.find((e=>e.scheme==="Bearer"&&e.params.claims&&e.params.error==="insufficient_claims")))===null||t===void 0?void 0:t.params.claims}},16791:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.decompressResponsePolicyName=void 0;t.decompressResponsePolicy=decompressResponsePolicy;const i=n(25068);t.decompressResponsePolicyName=i.decompressResponsePolicyName;function decompressResponsePolicy(){return(0,i.decompressResponsePolicy)()}},60962:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRetryPolicyName=void 0;t.defaultRetryPolicy=defaultRetryPolicy;const i=n(25068);t.defaultRetryPolicyName=i.defaultRetryPolicyName;function defaultRetryPolicy(e={}){return(0,i.defaultRetryPolicy)(e)}},72332:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryPolicyName=void 0;t.exponentialRetryPolicy=exponentialRetryPolicy;const i=n(25068);t.exponentialRetryPolicyName=i.exponentialRetryPolicyName;function exponentialRetryPolicy(e={}){return(0,i.exponentialRetryPolicy)(e)}},91201:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.formDataPolicyName=void 0;t.formDataPolicy=formDataPolicy;const i=n(25068);t.formDataPolicyName=i.formDataPolicyName;function formDataPolicy(){return(0,i.formDataPolicy)()}},84557:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logPolicyName=void 0;t.logPolicy=logPolicy;const i=n(43016);const o=n(25068);t.logPolicyName=o.logPolicyName;function logPolicy(e={}){return(0,o.logPolicy)(Object.assign({logger:i.logger.info},e))}},43879:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.multipartPolicyName=void 0;t.multipartPolicy=multipartPolicy;const i=n(25068);const o=n(99273);t.multipartPolicyName=i.multipartPolicyName;function multipartPolicy(){const e=(0,i.multipartPolicy)();return{name:t.multipartPolicyName,sendRequest:async(t,n)=>{if(t.multipartBody){for(const e of t.multipartBody.parts){if((0,o.hasRawContent)(e.body)){e.body=(0,o.getRawContent)(e.body)}}}return e.sendRequest(t,n)}}}},90227:(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)}}}},59847:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.proxyPolicyName=void 0;t.getDefaultProxySettings=getDefaultProxySettings;t.proxyPolicy=proxyPolicy;const i=n(25068);t.proxyPolicyName=i.proxyPolicyName;function getDefaultProxySettings(e){return(0,i.getDefaultProxySettings)(e)}function proxyPolicy(e,t){return(0,i.proxyPolicy)(e,t)}},83871:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.redirectPolicyName=void 0;t.redirectPolicy=redirectPolicy;const i=n(25068);t.redirectPolicyName=i.redirectPolicyName;function redirectPolicy(e={}){return(0,i.redirectPolicy)(e)}},16269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.retryPolicy=retryPolicy;const i=n(42549);const o=n(19);const d=n(25068);const p=(0,i.createClientLogger)("core-rest-pipeline retryPolicy");function retryPolicy(e,t={maxRetries:o.DEFAULT_RETRY_POLICY_COUNT}){return(0,d.retryPolicy)(e,Object.assign({logger:p},t))}},81150:(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,n){if(!t.headers.has(e)){t.headers.set(e,t.requestId)}return n(t)}}}},41374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.systemErrorRetryPolicyName=void 0;t.systemErrorRetryPolicy=systemErrorRetryPolicy;const i=n(25068);t.systemErrorRetryPolicyName=i.systemErrorRetryPolicyName;function systemErrorRetryPolicy(e={}){return(0,i.systemErrorRetryPolicy)(e)}},6444:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.throttlingRetryPolicyName=void 0;t.throttlingRetryPolicy=throttlingRetryPolicy;const i=n(25068);t.throttlingRetryPolicyName=i.throttlingRetryPolicyName;function throttlingRetryPolicy(e={}){return(0,i.throttlingRetryPolicy)(e)}},53230:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.tlsPolicyName=void 0;t.tlsPolicy=tlsPolicy;const i=n(25068);t.tlsPolicyName=i.tlsPolicyName;function tlsPolicy(e){return(0,i.tlsPolicy)(e)}},25373:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.tracingPolicyName=void 0;t.tracingPolicy=tracingPolicy;const i=n(92245);const o=n(19);const d=n(21127);const p=n(43016);const f=n(91276);const y=n(15186);const v=n(37954);t.tracingPolicyName="tracingPolicy";function tracingPolicy(e={}){const n=(0,d.getUserAgentValue)(e.userAgentPrefix);const i=new v.Sanitizer({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});const o=tryCreateTracingClient();return{name:t.tracingPolicyName,async sendRequest(e,t){var d;if(!o){return t(e)}const p=await n;const f={"http.url":i.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":p,requestId:e.requestId};if(p){f["http.user_agent"]=p}const{span:y,tracingContext:v}=(d=tryCreateSpan(o,e,f))!==null&&d!==void 0?d:{};if(!y||!v){return t(e)}try{const n=await o.withContext(v,t,e);tryProcessResponse(y,n);return n}catch(e){tryProcessError(y,e);throw e}}}}function tryCreateTracingClient(){try{return(0,i.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:o.SDK_VERSION})}catch(e){p.logger.warning(`Error when creating the TracingClient: ${(0,f.getErrorMessage)(e)}`);return undefined}}function tryCreateSpan(e,t,n){try{const{span:i,updatedOptions:o}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:n});if(!i.isRecording()){i.end();return undefined}const d=e.createRequestHeaders(o.tracingOptions.tracingContext);for(const[e,n]of Object.entries(d)){t.headers.set(e,n)}return{span:i,tracingContext:o.tracingOptions.tracingContext}}catch(e){p.logger.warning(`Skipping creating a tracing span due to an error: ${(0,f.getErrorMessage)(e)}`);return undefined}}function tryProcessError(e,t){try{e.setStatus({status:"error",error:(0,f.isError)(t)?t:undefined});if((0,y.isRestError)(t)&&t.statusCode){e.setAttribute("http.status_code",t.statusCode)}e.end()}catch(e){p.logger.warning(`Skipping tracing span processing due to an error: ${(0,f.getErrorMessage)(e)}`)}}function tryProcessResponse(e,t){try{e.setAttribute("http.status_code",t.status);const n=t.headers.get("x-ms-request-id");if(n){e.setAttribute("serviceRequestId",n)}if(t.status>=400){e.setStatus({status:"error"})}e.end()}catch(e){p.logger.warning(`Skipping tracing span processing due to an error: ${(0,f.getErrorMessage)(e)}`)}}},49335:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.userAgentPolicyName=void 0;t.userAgentPolicy=userAgentPolicy;const i=n(21127);const o=(0,i.getUserAgentHeaderName)();t.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(e={}){const n=(0,i.getUserAgentValue)(e.userAgentPrefix);return{name:t.userAgentPolicyName,async sendRequest(e,t){if(!e.headers.has(o)){e.headers.set(o,await n)}return t(e)}}}},15922:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapAbortSignalLikePolicyName=void 0;t.wrapAbortSignalLikePolicy=wrapAbortSignalLikePolicy;const i=n(79049);t.wrapAbortSignalLikePolicyName="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:t.wrapAbortSignalLikePolicyName,sendRequest:async(e,t)=>{if(!e.abortSignal){return t(e)}const{abortSignal:n,cleanup:o}=(0,i.wrapAbortSignalLike)(e.abortSignal);e.abortSignal=n;try{return await t(e)}finally{o===null||o===void 0?void 0:o()}}}}},15186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RestError=void 0;t.isRestError=isRestError;const i=n(67810);t.RestError=i.RestError;function isRestError(e){return(0,i.isRestError)(e)}},99273:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.hasRawContent=hasRawContent;t.getRawContent=getRawContent;t.createFileFromStream=createFileFromStream;t.createFile=createFile;const i=n(91276);function isNodeReadableStream(e){return Boolean(e&&typeof e["pipe"]==="function")}const o={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}};const d=Symbol("rawContent");function hasRawContent(e){return typeof e[d]==="function"}function getRawContent(e){if(hasRawContent(e)){return e[d]()}else{return e}}function createFileFromStream(e,t,n={}){var i,p,f,y;return Object.assign(Object.assign({},o),{type:(i=n.type)!==null&&i!==void 0?i:"",lastModified:(p=n.lastModified)!==null&&p!==void 0?p:(new Date).getTime(),webkitRelativePath:(f=n.webkitRelativePath)!==null&&f!==void 0?f:"",size:(y=n.size)!==null&&y!==void 0?y:-1,name:t,stream:()=>{const t=e();if(isNodeReadableStream(t)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return t},[d]:e})}function createFile(e,t,n={}){var p,f,y;if(i.isNodeLike){return Object.assign(Object.assign({},o),{type:(p=n.type)!==null&&p!==void 0?p:"",lastModified:(f=n.lastModified)!==null&&f!==void 0?f:(new Date).getTime(),webkitRelativePath:(y=n.webkitRelativePath)!==null&&y!==void 0?y:"",size:e.byteLength,name:t,arrayBuffer:async()=>e.buffer,stream:()=>new Blob([e]).stream(),[d]:()=>e})}else{return new File([e],t,n)}}},59130:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_CYCLER_OPTIONS=void 0;t.createTokenCycler=createTokenCycler;const i=n(91276);t.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(e,t,n){async function tryGetAccessToken(){if(Date.now()<n){try{return await e()}catch(e){return null}}else{const t=await e();if(t===null){throw new Error("Failed to refresh access token.")}return t}}let o=await tryGetAccessToken();while(o===null){await(0,i.delay)(t);o=await tryGetAccessToken()}return o}function createTokenCycler(e,n){let i=null;let o=null;let d;const p=Object.assign(Object.assign({},t.DEFAULT_CYCLER_OPTIONS),n);const f={get isRefreshing(){return i!==null},get shouldRefresh(){var e;if(f.isRefreshing){return false}if((o===null||o===void 0?void 0:o.refreshAfterTimestamp)&&o.refreshAfterTimestamp<Date.now()){return true}return((e=o===null||o===void 0?void 0:o.expiresOnTimestamp)!==null&&e!==void 0?e:0)-p.refreshWindowInMs<Date.now()},get mustRefresh(){return o===null||o.expiresOnTimestamp-p.forcedRefreshWindowInMs<Date.now()}};function refresh(t,n){var y;if(!f.isRefreshing){const tryGetAccessToken=()=>e.getToken(t,n);i=beginRefresh(tryGetAccessToken,p.retryIntervalInMs,(y=o===null||o===void 0?void 0:o.expiresOnTimestamp)!==null&&y!==void 0?y:Date.now()).then((e=>{i=null;o=e;d=n.tenantId;return o})).catch((e=>{i=null;o=null;d=undefined;throw e}))}return i}return async(e,t)=>{const n=Boolean(t.claims);const i=d!==t.tenantId;if(n){o=null}const p=i||n||f.mustRefresh;if(p){return refresh(e,t)}if(f.shouldRefresh){refresh(e,t)}return o}}},21127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentHeaderName=getUserAgentHeaderName;t.getUserAgentValue=getUserAgentValue;const i=n(98672);const o=n(19);function getUserAgentString(e){const t=[];for(const[n,i]of e){const e=i?`${n}/${i}`:n;t.push(e)}return t.join(" ")}function getUserAgentHeaderName(){return(0,i.getHeaderName)()}async function getUserAgentValue(e){const t=new Map;t.set("core-rest-pipeline",o.SDK_VERSION);await(0,i.setPlatformSpecificData)(t);const n=getUserAgentString(t);const d=e?`${e} ${n}`:n;return d}},98672:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHeaderName=getHeaderName;t.setPlatformSpecificData=setPlatformSpecificData;const i=n(31577);const o=i.__importStar(n(48161));const d=i.__importStar(n(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(e){if(d&&d.versions){const t=d.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",`(${o.arch()}-${o.type()}-${o.release()})`)}},79049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wrapAbortSignalLike=wrapAbortSignalLike;function wrapAbortSignalLike(e){if(e instanceof AbortSignal){return{abortSignal:e}}if(e.aborted){return{abortSignal:AbortSignal.abort(e.reason)}}const t=new AbortController;let n=true;function cleanup(){if(n){e.removeEventListener("abort",listener);n=false}}function listener(){t.abort(e.reason);cleanup()}e.addEventListener("abort",listener);return{abortSignal:t.signal,cleanup:cleanup}}},92245:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createTracingClient=t.useInstrumenter=void 0;var i=n(84939);Object.defineProperty(t,"useInstrumenter",{enumerable:true,get:function(){return i.useInstrumenter}});var o=n(63960);Object.defineProperty(t,"createTracingClient",{enumerable:true,get:function(){return o.createTracingClient}})},84939:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDefaultTracingSpan=createDefaultTracingSpan;t.createDefaultInstrumenter=createDefaultInstrumenter;t.useInstrumenter=useInstrumenter;t.getInstrumenter=getInstrumenter;const i=n(57428);const o=n(19016);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(e,t)=>({span:createDefaultTracingSpan(),tracingContext:(0,i.createTracingContext)({parentContext:t.tracingContext})}),withContext(e,t,...n){return t(...n)}}}function useInstrumenter(e){o.state.instrumenterImplementation=e}function getInstrumenter(){if(!o.state.instrumenterImplementation){o.state.instrumenterImplementation=createDefaultInstrumenter()}return o.state.instrumenterImplementation}},19016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.state=void 0;t.state={instrumenterImplementation:undefined}},63960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createTracingClient=createTracingClient;const i=n(84939);const o=n(57428);function createTracingClient(e){const{namespace:t,packageName:n,packageVersion:d}=e;function startSpan(e,p,f){var y;const v=(0,i.getInstrumenter)().startSpan(e,Object.assign(Object.assign({},f),{packageName:n,packageVersion:d,tracingContext:(y=p===null||p===void 0?void 0:p.tracingOptions)===null||y===void 0?void 0:y.tracingContext}));let D=v.tracingContext;const M=v.span;if(!D.getValue(o.knownContextKeys.namespace)){D=D.setValue(o.knownContextKeys.namespace,t)}M.setAttribute("az.namespace",D.getValue(o.knownContextKeys.namespace));const U=Object.assign({},p,{tracingOptions:Object.assign(Object.assign({},p===null||p===void 0?void 0:p.tracingOptions),{tracingContext:D})});return{span:M,updatedOptions:U}}async function withSpan(e,t,n,i){const{span:o,updatedOptions:d}=startSpan(e,t,i);try{const e=await withContext(d.tracingOptions.tracingContext,(()=>Promise.resolve(n(d,o))));o.setStatus({status:"success"});return e}catch(e){o.setStatus({status:"error",error:e});throw e}finally{o.end()}}function withContext(e,t,...n){return(0,i.getInstrumenter)().withContext(e,t,...n)}function parseTraceparentHeader(e){return(0,i.getInstrumenter)().parseTraceparentHeader(e)}function createRequestHeaders(e){return(0,i.getInstrumenter)().createRequestHeaders(e)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},57428:(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 n=new TracingContextImpl(e.parentContext);if(e.span){n=n.setValue(t.knownContextKeys.span,e.span)}if(e.namespace){n=n.setValue(t.knownContextKeys.namespace,e.namespace)}return n}class TracingContextImpl{constructor(e){this._contextMap=e instanceof TracingContextImpl?new Map(e._contextMap):new Map}setValue(e,t){const n=new TracingContextImpl(this);n._contextMap.set(e,t);return n}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new TracingContextImpl(this);t._contextMap.delete(e);return t}}t.TracingContextImpl=TracingContextImpl},64904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(e,t){var n,i;const o=new AbortController;function abortHandler(){o.abort()}(n=t===null||t===void 0?void 0:t.abortSignal)===null||n===void 0?void 0:n.addEventListener("abort",abortHandler);try{return await Promise.race(e.map((e=>e({abortSignal:o.signal}))))}finally{o.abort();(i=t===null||t===void 0?void 0:t.abortSignal)===null||i===void 0?void 0:i.removeEventListener("abort",abortHandler)}}},28677:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createAbortablePromise=createAbortablePromise;const i=n(764);function createAbortablePromise(e,t){const{cleanupBeforeAbort:n,abortSignal:o,abortErrorMsg:d}=t!==null&&t!==void 0?t:{};return new Promise(((t,p)=>{function rejectOnAbort(){p(new i.AbortError(d!==null&&d!==void 0?d:"The operation was aborted."))}function removeListeners(){o===null||o===void 0?void 0:o.removeEventListener("abort",onAbort)}function onAbort(){n===null||n===void 0?void 0:n();removeListeners();rejectOnAbort()}if(o===null||o===void 0?void 0:o.aborted){return rejectOnAbort()}try{e((e=>{removeListeners();t(e)}),(e=>{removeListeners();p(e)}))}catch(e){p(e)}o===null||o===void 0?void 0:o.addEventListener("abort",onAbort)}))}},50419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.delay=delay;t.calculateRetryDelay=calculateRetryDelay;const i=n(28677);const o=n(37954);const d="The delay was aborted.";function delay(e,t){let n;const{abortSignal:o,abortErrorMsg:p}=t!==null&&t!==void 0?t:{};return(0,i.createAbortablePromise)((t=>{n=setTimeout(t,e)}),{cleanupBeforeAbort:()=>clearTimeout(n),abortSignal:o,abortErrorMsg:p!==null&&p!==void 0?p:d})}function calculateRetryDelay(e,t){const n=t.retryDelayInMs*Math.pow(2,e);const i=Math.min(t.maxRetryDelayInMs,n);const d=i/2+(0,o.getRandomIntegerInclusive)(0,i/2);return{retryAfterInMs:d}}},3030:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getErrorMessage=getErrorMessage;const i=n(37954);function getErrorMessage(e){if((0,i.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}`}}},91276:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isWebWorker=t.isReactNative=t.isNodeRuntime=t.isNodeLike=t.isNode=t.isDeno=t.isBun=t.isBrowser=t.objectHasProperty=t.isObjectWithProperties=t.isDefined=t.getErrorMessage=t.delay=t.createAbortablePromise=t.cancelablePromiseRace=void 0;t.calculateRetryDelay=calculateRetryDelay;t.computeSha256Hash=computeSha256Hash;t.computeSha256Hmac=computeSha256Hmac;t.getRandomIntegerInclusive=getRandomIntegerInclusive;t.isError=isError;t.isObject=isObject;t.randomUUID=randomUUID;t.uint8ArrayToString=uint8ArrayToString;t.stringToUint8Array=stringToUint8Array;const i=n(31577);const o=i.__importStar(n(37954));var d=n(64904);Object.defineProperty(t,"cancelablePromiseRace",{enumerable:true,get:function(){return d.cancelablePromiseRace}});var p=n(28677);Object.defineProperty(t,"createAbortablePromise",{enumerable:true,get:function(){return p.createAbortablePromise}});var f=n(50419);Object.defineProperty(t,"delay",{enumerable:true,get:function(){return f.delay}});var y=n(3030);Object.defineProperty(t,"getErrorMessage",{enumerable:true,get:function(){return y.getErrorMessage}});var v=n(34552);Object.defineProperty(t,"isDefined",{enumerable:true,get:function(){return v.isDefined}});Object.defineProperty(t,"isObjectWithProperties",{enumerable:true,get:function(){return v.isObjectWithProperties}});Object.defineProperty(t,"objectHasProperty",{enumerable:true,get:function(){return v.objectHasProperty}});function calculateRetryDelay(e,t){return o.calculateRetryDelay(e,t)}function computeSha256Hash(e,t){return o.computeSha256Hash(e,t)}function computeSha256Hmac(e,t,n){return o.computeSha256Hmac(e,t,n)}function getRandomIntegerInclusive(e,t){return o.getRandomIntegerInclusive(e,t)}function isError(e){return o.isError(e)}function isObject(e){return o.isObject(e)}function randomUUID(){return o.randomUUID()}t.isBrowser=o.isBrowser;t.isBun=o.isBun;t.isDeno=o.isDeno;t.isNode=o.isNodeLike;t.isNodeLike=o.isNodeLike;t.isNodeRuntime=o.isNodeRuntime;t.isReactNative=o.isReactNative;t.isWebWorker=o.isWebWorker;function uint8ArrayToString(e,t){return o.uint8ArrayToString(e,t)}function stringToUint8Array(e,t){return o.stringToUint8Array(e,t)}},34552:(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 n of t){if(!objectHasProperty(e,n)){return false}}return true}function objectHasProperty(e,t){return isDefined(e)&&typeof e==="object"&&t in e}},64993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=t.parseXML=t.stringifyXML=void 0;var i=n(38468);Object.defineProperty(t,"stringifyXML",{enumerable:true,get:function(){return i.stringifyXML}});Object.defineProperty(t,"parseXML",{enumerable:true,get:function(){return i.parseXML}});var o=n(39653);Object.defineProperty(t,"XML_ATTRKEY",{enumerable:true,get:function(){return o.XML_ATTRKEY}});Object.defineProperty(t,"XML_CHARKEY",{enumerable:true,get:function(){return o.XML_CHARKEY}})},39653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.XML_CHARKEY=t.XML_ATTRKEY=void 0;t.XML_ATTRKEY="$";t.XML_CHARKEY="_"},38468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stringifyXML=stringifyXML;t.parseXML=parseXML;const i=n(89421);const o=n(39653);function getCommonOptions(e){var t;return{attributesGroupName:o.XML_ATTRKEY,textNodeName:(t=e.xmlCharKey)!==null&&t!==void 0?t:o.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(e={}){var t,n;return Object.assign(Object.assign({},getCommonOptions(e)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(t=e.rootName)!==null&&t!==void 0?t:"root",cdataPropName:(n=e.cdataPropName)!==null&&n!==void 0?n:"__cdata"})}function getParserOptions(e={}){return Object.assign(Object.assign({},getCommonOptions(e)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:true,trimValues:false})}function stringifyXML(e,t={}){const n=getSerializerOptions(t);const o=new i.XMLBuilder(n);const d={[n.rootNodeName]:e};const p=o.build(d);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${p}`.replace(/\n/g,"")}async function parseXML(e,t={}){if(!e){throw new Error("Document is empty")}const n=i.XMLValidator.validate(e);if(n!==true){throw n}const o=new i.XMLParser(getParserOptions(t));const d=o.parse(e);if(d["?xml"]){delete d["?xml"]}if(!t.includeRoot){for(const e of Object.keys(d)){const t=d[e];return typeof t==="object"?Object.assign({},t):t}}return d}},42549:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AzureLogger=void 0;t.setLogLevel=setLogLevel;t.getLogLevel=getLogLevel;t.createClientLogger=createClientLogger;const i=n(5334);const o=(0,i.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});t.AzureLogger=o.logger;function setLogLevel(e){o.setLogLevel(e)}function getLogLevel(){return o.getLogLevel()}function createClientLogger(e){return o.createClientLogger(e)}},56917:(e,t,n)=>{"use strict";const i=n(57075).Writable;const o=n(57975).inherits;const d=n(80439);const p=n(55341);const f=n(66890);const y=45;const v=Buffer.from("-");const D=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}i.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 f(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}o(Dicer,i);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{i.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,n){if(!this._hparser&&!this._bparser){return n()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new p(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<e.length){e=e.slice(t)}else{return n()}}if(this._firstWrite){this._bparser.push(D);this._firstWrite=false}this._bparser.push(e);if(this._pause){this._cb=n}else{n()}};Dicer.prototype.reset=function(){this._part=undefined;this._bparser=undefined;this._hparser=undefined};Dicer.prototype.setBoundary=function(e){const t=this;this._bparser=new d("\r\n--"+e);this._bparser.on("info",(function(e,n,i,o){t._oninfo(e,n,i,o)}))};Dicer.prototype._ignore=function(){if(this._part&&!this._ignoreData){this._ignoreData=true;this._part.on("error",EMPTY_FN);this._part.resume()}};Dicer.prototype._oninfo=function(e,t,n,i){let o;const d=this;let f=0;let D;let M=true;if(!this._part&&this._justMatched&&t){while(this._dashes<2&&n+f<i){if(t[n+f]===y){++f;++this._dashes}else{if(this._dashes){o=v}this._dashes=0;break}}if(this._dashes===2){if(n+f<i&&this.listenerCount("trailer")!==0){this.emit("trailer",t.slice(n+f,i))}this.reset();this._finished=true;if(d._parts===0){d._realFinish=true;d.emit("finish");d._realFinish=false}}if(this._dashes){return}}if(this._justMatched){this._justMatched=false}if(!this._part){this._part=new p(this._partOpts);this._part._read=function(e){d._unpause()};if(this._isPreamble&&this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else if(this._isPreamble!==true&&this.listenerCount("part")!==0){this.emit("part",this._part)}else{this._ignore()}if(!this._isPreamble){this._inHeader=true}}if(t&&n<i&&!this._ignoreData){if(this._isPreamble||!this._inHeader){if(o){M=this._part.push(o)}M=this._part.push(t.slice(n,i));if(!M){this._pause=true}}else if(!this._isPreamble&&this._inHeader){if(o){this._hparser.push(o)}D=this._hparser.push(t.slice(n,i));if(!this._inHeader&&D!==undefined&&D<i){this._oninfo(false,t,n+D,i)}}}if(e){this._hparser.reset();if(this._isPreamble){this._isPreamble=false}else{if(n!==i){++this._parts;this._part.on("end",(function(){if(--d._parts===0){if(d._finished){d._realFinish=true;d.emit("finish");d._realFinish=false}else{d._unpause()}}}))}}this._part.push(null);this._part=undefined;this._ignoreData=false;this._justMatched=true;this._dashes=0}};Dicer.prototype._unpause=function(){if(!this._pause){return}this._pause=false;if(this._cb){const e=this._cb;this._cb=undefined;e()}};e.exports=Dicer},66890:(e,t,n)=>{"use strict";const i=n(78474).EventEmitter;const o=n(57975).inherits;const d=n(31954);const p=n(80439);const f=Buffer.from("\r\n\r\n");const y=/\r\n/g;const v=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){i.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=d(e,"maxHeaderPairs",2e3);this.maxHeaderSize=d(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new p(f);this.ss.on("info",(function(e,n,i,o){if(n&&!t.maxed){if(t.nread+o-i>=t.maxHeaderSize){o=t.maxHeaderSize-t.nread+i;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=o-i}t.buffer+=n.toString("binary",i,o)}if(e){t._finish()}}))}o(HeaderParser,i);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(y);const t=e.length;let n,i;for(var o=0;o<t;++o){if(e[o].length===0){continue}if(e[o][0]==="\t"||e[o][0]===" "){if(i){this.header[i][this.header[i].length-1]+=e[o];continue}}const t=e[o].indexOf(":");if(t===-1||t===0){return}n=v.exec(e[o]);i=n[1].toLowerCase();this.header[i]=this.header[i]||[];this.header[i].push(n[2]||"");if(++this.npairs===this.maxHeaderPairs){break}}};e.exports=HeaderParser},55341:(e,t,n)=>{"use strict";const i=n(57975).inherits;const o=n(57075).Readable;function PartStream(e){o.call(this,e)}i(PartStream,o);PartStream.prototype._read=function(e){};e.exports=PartStream},80439:(e,t,n)=>{"use strict";const i=n(78474).EventEmitter;const o=n(57975).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var n=0;n<t-1;++n){this._occ[e[n]]=t-1-n}}o(SBMH,i);SBMH.prototype.reset=function(){this._lookbehind_size=0;this.matches=0;this._bufpos=0};SBMH.prototype.push=function(e,t){if(!Buffer.isBuffer(e)){e=Buffer.from(e,"binary")}const n=e.length;this._bufpos=t||0;let i;while(i!==n&&this.matches<this.maxMatches){i=this._sbmh_feed(e)}return i};SBMH.prototype._sbmh_feed=function(e){const t=e.length;const n=this._needle;const i=n.length;const o=n[i-1];let d=-this._lookbehind_size;let p;if(d<0){while(d<0&&d<=t-i){p=this._sbmh_lookup_char(e,d+i-1);if(p===o&&this._sbmh_memcmp(e,d,i-1)){this._lookbehind_size=0;++this.matches;this.emit("info",true);return this._bufpos=d+i}d+=this._occ[p]}if(d<0){while(d<0&&!this._sbmh_memcmp(e,d,t-d)){++d}}if(d>=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const n=this._lookbehind_size+d;if(n>0){this.emit("info",false,this._lookbehind,0,n)}this._lookbehind.copy(this._lookbehind,0,n,this._lookbehind_size-n);this._lookbehind_size-=n;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}d+=(d>=0)*this._bufpos;if(e.indexOf(n,d)!==-1){d=e.indexOf(n,d);++this.matches;if(d>0){this.emit("info",true,e,this._bufpos,d)}else{this.emit("info",true)}return this._bufpos=d+i}else{d=t-i}while(d<t&&(e[d]!==n[0]||Buffer.compare(e.subarray(d,d+t-d),n.subarray(0,t-d))!==0)){++d}if(d<t){e.copy(this._lookbehind,0,d,d+(t-d));this._lookbehind_size=t-d}if(d>0){this.emit("info",false,e,this._bufpos,d<t?d:t)}this._bufpos=t;return t};SBMH.prototype._sbmh_lookup_char=function(e,t){return t<0?this._lookbehind[this._lookbehind_size+t]:e[t]};SBMH.prototype._sbmh_memcmp=function(e,t,n){for(var i=0;i<n;++i){if(this._sbmh_lookup_char(e,t+i)!==this._needle[i]){return false}}return true};e.exports=SBMH},69766:(e,t,n)=>{"use strict";const i=n(57075).Writable;const{inherits:o}=n(57975);const d=n(56917);const p=n(84945);const f=n(31724);const y=n(66812);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...n}=e;this.opts={autoDestroy:false,...n};i.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}o(Busboy,i);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}i.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=y(e["content-type"]);const n={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(p.detect.test(t[0])){return new p(this,n)}if(f.detect.test(t[0])){return new f(this,n)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,n){this._parser.write(e,n)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=d},84945:(e,t,n)=>{"use strict";const{Readable:i}=n(57075);const{inherits:o}=n(57975);const d=n(56917);const p=n(66812);const f=n(3772);const y=n(14935);const v=n(31954);const D=/^boundary$/i;const M=/^form-data$/i;const U=/^charset$/i;const j=/^filename$/i;const V=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let n;let i;const o=this;let K;const ee=t.limits;const te=t.isPartAFile||((e,t,n)=>t==="application/octet-stream"||n!==undefined);const re=t.parsedConType||[];const ne=t.defCharset||"utf8";const se=t.preservePath;const ie={highWaterMark:t.fileHwm};for(n=0,i=re.length;n<i;++n){if(Array.isArray(re[n])&&D.test(re[n][0])){K=re[n][1];break}}function checkFinished(){if(fe===0&&ye&&!e._done){ye=false;o.end()}}if(typeof K!=="string"){throw new Error("Multipart: Boundary not found")}const oe=v(ee,"fieldSize",1*1024*1024);const ae=v(ee,"fileSize",Infinity);const Ae=v(ee,"files",Infinity);const ce=v(ee,"fields",Infinity);const le=v(ee,"parts",Infinity);const ue=v(ee,"headerPairs",2e3);const de=v(ee,"headerSize",80*1024);let pe=0;let ge=0;let fe=0;let he;let me;let ye=false;this._needDrain=false;this._pause=false;this._cb=undefined;this._nparts=0;this._boy=e;const Ee={boundary:K,maxHeaderPairs:ue,maxHeaderSize:de,partHwm:ie.highWaterMark,highWaterMark:t.highWaterMark};this.parser=new d(Ee);this.parser.on("drain",(function(){o._needDrain=false;if(o._cb&&!o._pause){const e=o._cb;o._cb=undefined;e()}})).on("part",(function onPart(t){if(++o._nparts>le){o.parser.removeListener("part",onPart);o.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(me){const e=me;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(d){let v;let D;let K;let ee;let re;let le;let ue=0;if(d["content-type"]){K=p(d["content-type"][0]);if(K[0]){v=K[0].toLowerCase();for(n=0,i=K.length;n<i;++n){if(U.test(K[n][0])){ee=K[n][1].toLowerCase();break}}}}if(v===undefined){v="text/plain"}if(ee===undefined){ee=ne}if(d["content-disposition"]){K=p(d["content-disposition"][0]);if(!M.test(K[0])){return skipPart(t)}for(n=0,i=K.length;n<i;++n){if(V.test(K[n][0])){D=K[n][1]}else if(j.test(K[n][0])){le=K[n][1];if(!se){le=y(le)}}}}else{return skipPart(t)}if(d["content-transfer-encoding"]){re=d["content-transfer-encoding"][0].toLowerCase()}else{re="7bit"}let de,ye;if(te(D,v,le)){if(pe===Ae){if(!e.hitFilesLimit){e.hitFilesLimit=true;e.emit("filesLimit")}return skipPart(t)}++pe;if(e.listenerCount("file")===0){o.parser._ignore();return}++fe;const n=new FileStream(ie);he=n;n.on("end",(function(){--fe;o._pause=false;checkFinished();if(o._cb&&!o._needDrain){const e=o._cb;o._cb=undefined;e()}}));n._read=function(e){if(!o._pause){return}o._pause=false;if(o._cb&&!o._needDrain){const e=o._cb;o._cb=undefined;e()}};e.emit("file",D,n,le,re,v);de=function(e){if((ue+=e.length)>ae){const i=ae-ue+e.length;if(i>0){n.push(e.slice(0,i))}n.truncated=true;n.bytesRead=ae;t.removeAllListeners("data");n.emit("limit");return}else if(!n.push(e)){o._pause=true}n.bytesRead=ue};ye=function(){he=undefined;n.push(null)}}else{if(ge===ce){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++ge;++fe;let n="";let i=false;me=t;de=function(e){if((ue+=e.length)>oe){const o=oe-(ue-e.length);n+=e.toString("binary",0,o);i=true;t.removeAllListeners("data")}else{n+=e.toString("binary")}};ye=function(){me=undefined;if(n.length){n=f(n,"binary",ee)}e.emit("field",D,n,false,i,re,v);--fe;checkFinished()}}t._readableState.sync=false;t.on("data",de);t.on("end",ye)})).on("error",(function(e){if(he){he.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){ye=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const n=this.parser.write(e);if(n&&!this._pause){t()}else{this._needDrain=!n;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){i.call(this,e);this.bytesRead=0;this.truncated=false}o(FileStream,i);FileStream.prototype._read=function(e){};e.exports=Multipart},31724:(e,t,n)=>{"use strict";const i=n(70393);const o=n(3772);const d=n(31954);const p=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const n=t.limits;const o=t.parsedConType;this.boy=e;this.fieldSizeLimit=d(n,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=d(n,"fieldNameSize",100);this.fieldsLimit=d(n,"fields",Infinity);let f;for(var y=0,v=o.length;y<v;++y){if(Array.isArray(o[y])&&p.test(o[y][0])){f=o[y][1].toLowerCase();break}}if(f===undefined){f=t.defCharset||"utf8"}this.decoder=new i;this.charset=f;this._fields=0;this._state="key";this._checkingBytes=true;this._bytesKey=0;this._bytesVal=0;this._key="";this._val="";this._keyTrunc=false;this._valTrunc=false;this._hitLimit=false}UrlEncoded.prototype.write=function(e,t){if(this._fields===this.fieldsLimit){if(!this.boy.hitFieldsLimit){this.boy.hitFieldsLimit=true;this.boy.emit("fieldsLimit")}return t()}let n;let i;let d;let p=0;const f=e.length;while(p<f){if(this._state==="key"){n=i=undefined;for(d=p;d<f;++d){if(!this._checkingBytes){++p}if(e[d]===61){n=d;break}else if(e[d]===38){i=d;break}if(this._checkingBytes&&this._bytesKey===this.fieldNameSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesKey}}if(n!==undefined){if(n>p){this._key+=this.decoder.write(e.toString("binary",p,n))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();p=n+1}else if(i!==undefined){++this._fields;let n;const d=this._keyTrunc;if(i>p){n=this._key+=this.decoder.write(e.toString("binary",p,i))}else{n=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(n.length){this.boy.emit("field",o(n,"binary",this.charset),"",d,false)}p=i+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(d>p){this._key+=this.decoder.write(e.toString("binary",p,d))}p=d;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(p<f){this._key+=this.decoder.write(e.toString("binary",p))}p=f}}else{i=undefined;for(d=p;d<f;++d){if(!this._checkingBytes){++p}if(e[d]===38){i=d;break}if(this._checkingBytes&&this._bytesVal===this.fieldSizeLimit){this._hitLimit=true;break}else if(this._checkingBytes){++this._bytesVal}}if(i!==undefined){++this._fields;if(i>p){this._val+=this.decoder.write(e.toString("binary",p,i))}this.boy.emit("field",o(this._key,"binary",this.charset),o(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();p=i+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(d>p){this._val+=this.decoder.write(e.toString("binary",p,d))}p=d;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(p<f){this._val+=this.decoder.write(e.toString("binary",p))}p=f}}}t()};UrlEncoded.prototype.end=function(){if(this.boy._done){return}if(this._state==="key"&&this._key.length>0){this.boy.emit("field",o(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},70393:e=>{"use strict";const t=/\+/g;const n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let i="";let o=0;let d=0;const p=e.length;for(;o<p;++o){if(this.buffer!==undefined){if(!n[e.charCodeAt(o)]){i+="%"+this.buffer;this.buffer=undefined;--o}else{this.buffer+=e[o];++d;if(this.buffer.length===2){i+=String.fromCharCode(parseInt(this.buffer,16));this.buffer=undefined}}}else if(e[o]==="%"){if(o>d){i+=e.substring(d,o);d=o}this.buffer="";++d}}if(d<p&&this.buffer===undefined){i+=e.substring(d)}return i};Decoder.prototype.reset=function(){this.buffer=undefined};e.exports=Decoder},14935:e=>{"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}},3772:function(e){"use strict";const t=new TextDecoder("utf-8");const n=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return i.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 i.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return i.utf16le;case"base64":return i.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return i.other.bind(e)}}}const i={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(n.has(this.toString())){try{return n.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,n){if(e){return getDecoder(n)(e,t)}return e}e.exports=decodeText},31954:e=>{"use strict";e.exports=function getLimit(e,t,n){if(!e||e[t]===undefined||e[t]===null){return n}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},66812:(e,t,n)=>{"use strict";const i=n(3772);const o=/%[a-fA-F0-9][a-fA-F0-9]/g;const d={"%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 d[e]}const p=0;const f=1;const y=2;const v=3;function parseParams(e){const t=[];let n=p;let d="";let D=false;let M=false;let U=0;let j="";const V=e.length;for(var K=0;K<V;++K){const V=e[K];if(V==="\\"&&D){if(M){M=false}else{M=true;continue}}else if(V==='"'){if(!M){if(D){D=false;n=p}else{D=true}continue}else{M=false}}else{if(M&&D){j+="\\"}M=false;if((n===y||n===v)&&V==="'"){if(n===y){n=v;d=j.substring(1)}else{n=f}j="";continue}else if(n===p&&(V==="*"||V==="=")&&t.length){n=V==="*"?y:f;t[U]=[j,undefined];j="";continue}else if(!D&&V===";"){n=p;if(d){if(j.length){j=i(j.replace(o,encodedReplacer),"binary",d)}d=""}else if(j.length){j=i(j,"binary","utf8")}if(t[U]===undefined){t[U]=j}else{t[U][1]=j}j="";++U;continue}else if(!D&&(V===" "||V==="\t")){continue}}j+=V}if(d&&j.length){j=i(j.replace(o,encodedReplacer),"binary",d)}else if(j){j=i(j,"binary","utf8")}if(t[U]===undefined){if(j){t[U]=j}}else{t[U][1]=j}return t}e.exports=parseParams},84260:(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},8007:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isOAuth2TokenCredential=isOAuth2TokenCredential;t.isBearerTokenCredential=isBearerTokenCredential;t.isBasicCredential=isBasicCredential;t.isApiKeyCredential=isApiKeyCredential;function isOAuth2TokenCredential(e){return"getOAuth2Token"in e}function isBearerTokenCredential(e){return"getBearerToken"in e}function isBasicCredential(e){return"username"in e&&"password"in e}function isApiKeyCredential(e){return"key"in e}},98517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},32157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},28540:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.apiVersionPolicyName=void 0;t.apiVersionPolicy=apiVersionPolicy;t.apiVersionPolicyName="ApiVersionPolicy";function apiVersionPolicy(e){return{name:t.apiVersionPolicyName,sendRequest:(t,n)=>{const i=new URL(t.url);if(!i.searchParams.get("api-version")&&e.apiVersion){t.url=`${t.url}${Array.from(i.searchParams.keys()).length>0?"&":"?"}api-version=${e.apiVersion}`}return n(t)}}}},38052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDefaultPipeline=createDefaultPipeline;t.getCachedDefaultHttpsClient=getCachedDefaultHttpsClient;const i=n(41264);const o=n(38358);const d=n(28540);const p=n(8007);const f=n(86987);const y=n(6664);const v=n(66849);const D=n(71143);let M;function createDefaultPipeline(e={}){const t=(0,o.createPipelineFromOptions)(e);t.addPolicy((0,d.apiVersionPolicy)(e));const{credential:n,authSchemes:i,allowInsecureConnection:M}=e;if(n){if((0,p.isApiKeyCredential)(n)){t.addPolicy((0,f.apiKeyAuthenticationPolicy)({authSchemes:i,credential:n,allowInsecureConnection:M}))}else if((0,p.isBasicCredential)(n)){t.addPolicy((0,y.basicAuthenticationPolicy)({authSchemes:i,credential:n,allowInsecureConnection:M}))}else if((0,p.isBearerTokenCredential)(n)){t.addPolicy((0,v.bearerAuthenticationPolicy)({authSchemes:i,credential:n,allowInsecureConnection:M}))}else if((0,p.isOAuth2TokenCredential)(n)){t.addPolicy((0,D.oauth2AuthenticationPolicy)({authSchemes:i,credential:n,allowInsecureConnection:M}))}}return t}function getCachedDefaultHttpsClient(){if(!M){M=(0,i.createDefaultHttpClient)()}return M}},20587:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getClient=getClient;const i=n(38052);const o=n(36451);const d=n(12500);const p=n(98402);function getClient(e,t={}){var n,o,p;const f=(n=t.pipeline)!==null&&n!==void 0?n:(0,i.createDefaultPipeline)(t);if((o=t.additionalPolicies)===null||o===void 0?void 0:o.length){for(const{policy:e,position:n}of t.additionalPolicies){const t=n==="perRetry"?"Sign":undefined;f.addPolicy(e,{afterPhase:t})}}const{allowInsecureConnection:y,httpClient:v}=t;const D=(p=t.endpoint)!==null&&p!==void 0?p:e;const client=(e,...t)=>{const getUrl=n=>(0,d.buildRequestUrl)(D,e,t,Object.assign({allowInsecureConnection:y},n));return{get:(e={})=>buildOperation("GET",getUrl(e),f,e,y,v),post:(e={})=>buildOperation("POST",getUrl(e),f,e,y,v),put:(e={})=>buildOperation("PUT",getUrl(e),f,e,y,v),patch:(e={})=>buildOperation("PATCH",getUrl(e),f,e,y,v),delete:(e={})=>buildOperation("DELETE",getUrl(e),f,e,y,v),head:(e={})=>buildOperation("HEAD",getUrl(e),f,e,y,v),options:(e={})=>buildOperation("OPTIONS",getUrl(e),f,e,y,v),trace:(e={})=>buildOperation("TRACE",getUrl(e),f,e,y,v)}};return{path:client,pathUnchecked:client,pipeline:f}}function buildOperation(e,t,n,i,d,f){var y;d=(y=i.allowInsecureConnection)!==null&&y!==void 0?y:d;return{then:function(p,y){return(0,o.sendRequest)(e,t,n,Object.assign(Object.assign({},i),{allowInsecureConnection:d}),f).then(p,y)},async asBrowserStream(){if(p.isNodeLike){throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.")}else{return(0,o.sendRequest)(e,t,n,Object.assign(Object.assign({},i),{allowInsecureConnection:d,responseAsStream:true}),f)}},async asNodeStream(){if(p.isNodeLike){return(0,o.sendRequest)(e,t,n,Object.assign(Object.assign({},i),{allowInsecureConnection:d,responseAsStream:true}),f)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}},20140:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildBodyPart=buildBodyPart;t.buildMultipartBody=buildMultipartBody;const i=n(79058);const o=n(43688);const d=n(28917);const p=n(1093);function getHeaderValue(e,t){if(e.headers){const n=Object.keys(e.headers).find((e=>e.toLowerCase()===t.toLowerCase()));if(n){return e.headers[n]}}return undefined}function getPartContentType(e){const t=getHeaderValue(e,"content-type");if(t){return t}if(e.contentType===null){return undefined}if(e.contentType){return e.contentType}const{body:n}=e;if(n===null||n===undefined){return undefined}if(typeof n==="string"||typeof n==="number"||typeof n==="boolean"){return"text/plain; charset=UTF-8"}if(n instanceof Blob){return n.type||"application/octet-stream"}if((0,p.isBinaryBody)(n)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(e){return JSON.stringify(e)}function getContentDisposition(e){var t;const n=getHeaderValue(e,"content-disposition");if(n){return n}if(e.dispositionType===undefined&&e.name===undefined&&e.filename===undefined){return undefined}const i=(t=e.dispositionType)!==null&&t!==void 0?t:"form-data";let o=i;if(e.name){o+=`; name=${escapeDispositionField(e.name)}`}let d=undefined;if(e.filename){d=e.filename}else if(typeof File!=="undefined"&&e.body instanceof File){const t=e.body.name;if(t!==""){d=t}}if(d){o+=`; filename=${escapeDispositionField(d)}`}return o}function normalizeBody(e,t){if(e===undefined){return new Uint8Array([])}if((0,p.isBinaryBody)(e)){return e}if(typeof e==="string"||typeof e==="number"||typeof e==="boolean"){return(0,d.stringToUint8Array)(String(e),"utf-8")}if(t&&/application\/(.+\+)?json(;.+)?/i.test(String(t))){return(0,d.stringToUint8Array)(JSON.stringify(e),"utf-8")}throw new i.RestError(`Unsupported body/content-type combination: ${e}, ${t}`)}function buildBodyPart(e){var t;const n=getPartContentType(e);const i=getContentDisposition(e);const d=(0,o.createHttpHeaders)((t=e.headers)!==null&&t!==void 0?t:{});if(n){d.set("content-type",n)}if(i){d.set("content-disposition",i)}const p=normalizeBody(e.body,n);return{headers:d,body:p}}function buildMultipartBody(e){return{parts:e.map(buildBodyPart)}}},82831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.operationOptionsToRequestParameters=operationOptionsToRequestParameters;function operationOptionsToRequestParameters(e){var t,n,i,o,d,p;return{allowInsecureConnection:(t=e.requestOptions)===null||t===void 0?void 0:t.allowInsecureConnection,timeout:(n=e.requestOptions)===null||n===void 0?void 0:n.timeout,skipUrlEncoding:(i=e.requestOptions)===null||i===void 0?void 0:i.skipUrlEncoding,abortSignal:e.abortSignal,onUploadProgress:(o=e.requestOptions)===null||o===void 0?void 0:o.onUploadProgress,onDownloadProgress:(d=e.requestOptions)===null||d===void 0?void 0:d.onDownloadProgress,headers:Object.assign({},(p=e.requestOptions)===null||p===void 0?void 0:p.headers),onResponse:e.onResponse}}},26920:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRestError=createRestError;const i=n(79058);const o=n(43688);function createRestError(e,t){var n,o,d;const p=typeof e==="string"?t:e;const f=(o=(n=p.body)===null||n===void 0?void 0:n.error)!==null&&o!==void 0?o:p.body;const y=typeof e==="string"?e:(d=f===null||f===void 0?void 0:f.message)!==null&&d!==void 0?d:`Unexpected status code: ${p.status}`;return new i.RestError(y,{statusCode:statusCodeToNumber(p.status),code:f===null||f===void 0?void 0:f.code,request:p.request,response:toPipelineResponse(p)})}function toPipelineResponse(e){var t;return{headers:(0,o.createHttpHeaders)(e.headers),request:e.request,status:(t=statusCodeToNumber(e.status))!==null&&t!==void 0?t:-1}}function statusCodeToNumber(e){const t=Number.parseInt(e);return Number.isNaN(t)?undefined:t}},36451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.sendRequest=sendRequest;const i=n(79058);const o=n(43688);const d=n(61605);const p=n(38052);const f=n(1093);const y=n(20140);async function sendRequest(e,t,n,o={},d){var f;const y=d!==null&&d!==void 0?d:(0,p.getCachedDefaultHttpsClient)();const v=buildPipelineRequest(e,t,o);try{const e=await n.sendRequest(y,v);const t=e.headers.toJSON();const i=(f=e.readableStreamBody)!==null&&f!==void 0?f:e.browserStreamBody;const d=o.responseAsStream||i!==undefined?undefined:getResponseBody(e);const p=i!==null&&i!==void 0?i:d;if(o===null||o===void 0?void 0:o.onResponse){o.onResponse(Object.assign(Object.assign({},e),{request:v,rawHeaders:t,parsedBody:d}))}return{request:v,headers:t,status:`${e.status}`,body:p}}catch(e){if((0,i.isRestError)(e)&&e.response&&o.onResponse){const{response:t}=e;const n=t.headers.toJSON();o===null||o===void 0?void 0:o.onResponse(Object.assign(Object.assign({},t),{request:v,rawHeaders:n}),e)}throw e}}function getRequestContentType(e={}){var t,n,i;return(i=(t=e.contentType)!==null&&t!==void 0?t:(n=e.headers)===null||n===void 0?void 0:n["content-type"])!==null&&i!==void 0?i:getContentType(e.body)}function getContentType(e){if(ArrayBuffer.isView(e)){return"application/octet-stream"}if(typeof e==="string"){try{JSON.parse(e);return"application/json"}catch(e){return undefined}}return"application/json"}function buildPipelineRequest(e,t,n={}){var i,p,f;const y=getRequestContentType(n);const{body:v,multipartBody:D}=getRequestBody(n.body,y);const M=v!==undefined||D!==undefined;const U=(0,o.createHttpHeaders)(Object.assign(Object.assign(Object.assign({},n.headers?n.headers:{}),{accept:(f=(i=n.accept)!==null&&i!==void 0?i:(p=n.headers)===null||p===void 0?void 0:p.accept)!==null&&f!==void 0?f:"application/json"}),M&&y&&{"content-type":y}));return(0,d.createPipelineRequest)({url:t,method:e,body:v,multipartBody:D,headers:U,allowInsecureConnection:n.allowInsecureConnection,abortSignal:n.abortSignal,onUploadProgress:n.onUploadProgress,onDownloadProgress:n.onDownloadProgress,timeout:n.timeout,enableBrowserStreams:true,streamResponseStatusCodes:n.responseAsStream?new Set([Number.POSITIVE_INFINITY]):undefined})}function getRequestBody(e,t=""){if(e===undefined){return{body:undefined}}if(typeof FormData!=="undefined"&&e instanceof FormData){return{body:e}}if((0,f.isReadableStream)(e)){return{body:e}}if(ArrayBuffer.isView(e)){return{body:e instanceof Uint8Array?e:JSON.stringify(e)}}const n=t.split(";")[0];switch(n){case"application/json":return{body:JSON.stringify(e)};case"multipart/form-data":if(Array.isArray(e)){return{multipartBody:(0,y.buildMultipartBody)(e)}}return{body:JSON.stringify(e)};case"text/plain":return{body:String(e)};default:if(typeof e==="string"){return{body:e}}return{body:JSON.stringify(e)}}}function getResponseBody(e){var t,n;const i=(t=e.headers.get("content-type"))!==null&&t!==void 0?t:"";const o=i.split(";")[0];const d=(n=e.bodyAsText)!==null&&n!==void 0?n:"";if(o==="text/plain"){return String(d)}try{return d?JSON.parse(d):undefined}catch(t){if(o==="application/json"){throw createParseError(e,t)}return String(d)}}function createParseError(e,t){var n;const o=`Error "${t}" occurred while parsing the response body - ${e.bodyAsText}.`;const d=(n=t.code)!==null&&n!==void 0?n:i.RestError.PARSE_ERROR;return new i.RestError(o,{code:d,statusCode:e.status,request:e.request,response:e})}},12500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildRequestUrl=buildRequestUrl;t.buildBaseUrl=buildBaseUrl;t.replaceAll=replaceAll;function isQueryParameterWithOptions(e){const t=e.value;return t!==undefined&&t.toString!==undefined&&typeof t.toString==="function"}function buildRequestUrl(e,t,n,i={}){if(t.startsWith("https://")||t.startsWith("http://")){return t}e=buildBaseUrl(e,i);t=buildRoutePath(t,n,i);const o=appendQueryParams(`${e}/${t}`,i);const d=new URL(o);return d.toString().replace(/([^:]\/)\/+/g,"$1")}function getQueryParamValue(e,t,n,i){let o;if(n==="pipeDelimited"){o="|"}else if(n==="spaceDelimited"){o="%20"}else{o=","}let d;if(Array.isArray(i)){d=i}else if(typeof i==="object"&&i.toString===Object.prototype.toString){d=Object.entries(i).flat()}else{d=[i]}const p=d.map((n=>{if(n===null||n===undefined){return""}if(!n.toString||typeof n.toString!=="function"){throw new Error(`Query parameters must be able to be represented as string, ${e} can't`)}const i=n.toISOString!==undefined?n.toISOString():n.toString();return t?i:encodeURIComponent(i)})).join(o);return`${t?e:encodeURIComponent(e)}=${p}`}function appendQueryParams(e,t={}){var n,i,o,d;if(!t.queryParameters){return e}const p=new URL(e);const f=t.queryParameters;const y=[];for(const e of Object.keys(f)){const p=f[e];if(p===undefined||p===null){continue}const v=isQueryParameterWithOptions(p);const D=v?p.value:p;const M=v?(n=p.explode)!==null&&n!==void 0?n:false:false;const U=v&&p.style?p.style:"form";if(M){if(Array.isArray(D)){for(const n of D){y.push(getQueryParamValue(e,(i=t.skipUrlEncoding)!==null&&i!==void 0?i:false,U,n))}}else if(typeof D==="object"){for(const[e,n]of Object.entries(D)){y.push(getQueryParamValue(e,(o=t.skipUrlEncoding)!==null&&o!==void 0?o:false,U,n))}}else{throw new Error("explode can only be set to true for objects and arrays")}}else{y.push(getQueryParamValue(e,(d=t.skipUrlEncoding)!==null&&d!==void 0?d:false,U,D))}}if(p.search!==""){p.search+="&"}p.search+=y.join("&");return p.toString()}function buildBaseUrl(e,t){var n;if(!t.pathParameters){return e}const i=t.pathParameters;for(const[o,d]of Object.entries(i)){if(d===undefined||d===null){throw new Error(`Path parameters ${o} must not be undefined or null`)}if(!d.toString||typeof d.toString!=="function"){throw new Error(`Path parameters must be able to be represented as string, ${o} can't`)}let i=d.toISOString!==undefined?d.toISOString():String(d);if(!t.skipUrlEncoding){i=encodeURIComponent(d)}e=(n=replaceAll(e,`{${o}}`,i))!==null&&n!==void 0?n:""}return e}function buildRoutePath(e,t,n={}){var i;for(const o of t){const t=typeof o==="object"&&((i=o.allowReserved)!==null&&i!==void 0?i:false);let d=typeof o==="object"?o.value:o;if(!n.skipUrlEncoding&&!t){d=encodeURIComponent(d)}e=e.replace(/\{[\w-]+\}/,String(d))}return e}function replaceAll(e,t,n){return!e||!t?e:e.split(t).join(n||"")}},88819:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_RETRY_POLICY_COUNT=t.SDK_VERSION=void 0;t.SDK_VERSION="0.3.0";t.DEFAULT_RETRY_POLICY_COUNT=3},38358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPipelineFromOptions=createPipelineFromOptions;const i=n(85613);const o=n(53390);const d=n(56959);const p=n(92375);const f=n(29815);const y=n(14786);const v=n(70337);const D=n(98402);const M=n(53511);const U=n(51250);const j=n(55726);const V=n(75303);function createPipelineFromOptions(e){const t=(0,o.createEmptyPipeline)();if(D.isNodeLike){if(e.agent){t.addPolicy((0,U.agentPolicy)(e.agent))}if(e.tlsOptions){t.addPolicy((0,j.tlsPolicy)(e.tlsOptions))}t.addPolicy((0,M.proxyPolicy)(e.proxyOptions));t.addPolicy((0,f.decompressResponsePolicy)())}t.addPolicy((0,v.formDataPolicy)(),{beforePolicies:[V.multipartPolicyName]});t.addPolicy((0,p.userAgentPolicy)(e.userAgentOptions));t.addPolicy((0,V.multipartPolicy)(),{afterPhase:"Deserialize"});t.addPolicy((0,y.defaultRetryPolicy)(e.retryOptions),{phase:"Retry"});if(D.isNodeLike){t.addPolicy((0,d.redirectPolicy)(e.redirectOptions),{afterPhase:"Retry"})}t.addPolicy((0,i.logPolicy)(e.loggingOptions),{afterPhase:"Sign"});return t}},41264:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDefaultHttpClient=createDefaultHttpClient;const i=n(93003);function createDefaultHttpClient(){return(0,i.createNodeHttpClient)()}},43688:(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,n]of this._headersMap){t[e]=n.value}}return t}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(e){return new HttpHeadersImpl(e)}},67810:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createRestError=t.operationOptionsToRequestParameters=t.getClient=t.createDefaultHttpClient=t.uint8ArrayToString=t.stringToUint8Array=t.isRestError=t.RestError=t.createEmptyPipeline=t.createPipelineRequest=t.createHttpHeaders=t.TypeSpecRuntimeLogger=t.setLogLevel=t.getLogLevel=t.createClientLogger=t.AbortError=void 0;const i=n(31577);var o=n(84260);Object.defineProperty(t,"AbortError",{enumerable:true,get:function(){return o.AbortError}});var d=n(34135);Object.defineProperty(t,"createClientLogger",{enumerable:true,get:function(){return d.createClientLogger}});Object.defineProperty(t,"getLogLevel",{enumerable:true,get:function(){return d.getLogLevel}});Object.defineProperty(t,"setLogLevel",{enumerable:true,get:function(){return d.setLogLevel}});Object.defineProperty(t,"TypeSpecRuntimeLogger",{enumerable:true,get:function(){return d.TypeSpecRuntimeLogger}});var p=n(43688);Object.defineProperty(t,"createHttpHeaders",{enumerable:true,get:function(){return p.createHttpHeaders}});i.__exportStar(n(32157),t);i.__exportStar(n(98517),t);var f=n(61605);Object.defineProperty(t,"createPipelineRequest",{enumerable:true,get:function(){return f.createPipelineRequest}});var y=n(53390);Object.defineProperty(t,"createEmptyPipeline",{enumerable:true,get:function(){return y.createEmptyPipeline}});var v=n(79058);Object.defineProperty(t,"RestError",{enumerable:true,get:function(){return v.RestError}});Object.defineProperty(t,"isRestError",{enumerable:true,get:function(){return v.isRestError}});var D=n(28917);Object.defineProperty(t,"stringToUint8Array",{enumerable:true,get:function(){return D.stringToUint8Array}});Object.defineProperty(t,"uint8ArrayToString",{enumerable:true,get:function(){return D.uint8ArrayToString}});var M=n(41264);Object.defineProperty(t,"createDefaultHttpClient",{enumerable:true,get:function(){return M.createDefaultHttpClient}});var U=n(20587);Object.defineProperty(t,"getClient",{enumerable:true,get:function(){return U.getClient}});var j=n(82831);Object.defineProperty(t,"operationOptionsToRequestParameters",{enumerable:true,get:function(){return j.operationOptionsToRequestParameters}});var V=n(26920);Object.defineProperty(t,"createRestError",{enumerable:true,get:function(){return V.createRestError}})},76488:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logger=void 0;const i=n(34135);t.logger=(0,i.createClientLogger)("ts-http-runtime")},91424:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=n(60513);const o=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let d;let p=[];let f=[];const y=[];if(o){enable(o)}const v=Object.assign((e=>createDebugger(e)),{enable:enable,enabled:enabled,disable:disable,log:i.log});function enable(e){d=e;p=[];f=[];const t=/\*/g;const n=e.split(",").map((e=>e.trim().replace(t,".*?")));for(const e of n){if(e.startsWith("-")){f.push(new RegExp(`^${e.substr(1)}$`))}else{p.push(new RegExp(`^${e}$`))}}for(const e of y){e.enabled=enabled(e.namespace)}}function enabled(e){if(e.endsWith("*")){return true}for(const t of f){if(t.test(e)){return false}}for(const t of p){if(t.test(e)){return true}}return false}function disable(){const e=d||"";enable("");return e}function createDebugger(e){const t=Object.assign(debug,{enabled:enabled(e),destroy:destroy,log:v.log,namespace:e,extend:extend});function debug(...n){if(!t.enabled){return}if(n.length>0){n[0]=`${e} ${n[0]}`}t.log(...n)}y.push(t);return t}function destroy(){const e=y.indexOf(this);if(e>=0){y.splice(e,1);return true}return false}function extend(e){const t=createDebugger(`${this.namespace}:${e}`);t.log=this.log;return t}t["default"]=v},5334:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createLoggerContext=void 0;var i=n(34135);Object.defineProperty(t,"createLoggerContext",{enumerable:true,get:function(){return i.createLoggerContext}})},60513:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.log=log;const i=n(31577);const o=n(48161);const d=i.__importDefault(n(57975));const p=i.__importStar(n(1708));function log(e,...t){p.stderr.write(`${d.default.format(e,...t)}${o.EOL}`)}},34135:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TypeSpecRuntimeLogger=void 0;t.createLoggerContext=createLoggerContext;t.setLogLevel=setLogLevel;t.getLogLevel=getLogLevel;t.createClientLogger=createClientLogger;const i=n(31577);const o=i.__importDefault(n(91424));const d=["verbose","info","warning","error"];const p={verbose:400,info:300,warning:200,error:100};function patchLogMethod(e,t){t.log=(...t)=>{e.log(...t)}}function isTypeSpecRuntimeLogLevel(e){return d.includes(e)}function createLoggerContext(e){const t=new Set;const n=typeof process!=="undefined"&&process.env&&process.env[e.logLevelEnvVarName]||undefined;let i;const f=(0,o.default)(e.namespace);f.log=(...e)=>{o.default.log(...e)};function contextSetLogLevel(e){if(e&&!isTypeSpecRuntimeLogLevel(e)){throw new Error(`Unknown log level '${e}'. Acceptable values: ${d.join(",")}`)}i=e;const n=[];for(const e of t){if(shouldEnable(e)){n.push(e.namespace)}}o.default.enable(n.join(","))}if(n){if(isTypeSpecRuntimeLogLevel(n)){contextSetLogLevel(n)}else{console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${d.join(", ")}.`)}}function shouldEnable(e){return Boolean(i&&p[e.level]<=p[i])}function createLogger(e,n){const i=Object.assign(e.extend(n),{level:n});patchLogMethod(e,i);if(shouldEnable(i)){const e=o.default.disable();o.default.enable(e+","+i.namespace)}t.add(i);return i}function contextGetLogLevel(){return i}function contextCreateClientLogger(e){const t=f.extend(e);patchLogMethod(f,t);return{error:createLogger(t,"error"),warning:createLogger(t,"warning"),info:createLogger(t,"info"),verbose:createLogger(t,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:f}}const f=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});t.TypeSpecRuntimeLogger=f.logger;function setLogLevel(e){f.setLogLevel(e)}function getLogLevel(){return f.getLogLevel()}function createClientLogger(e){return f.createClientLogger(e)}},93003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getBodyLength=getBodyLength;t.createNodeHttpClient=createNodeHttpClient;const i=n(31577);const o=i.__importStar(n(37067));const d=i.__importStar(n(44708));const p=i.__importStar(n(38522));const f=n(57075);const y=n(84260);const v=n(43688);const D=n(79058);const M=n(76488);const U=n(56620);const j={};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 f.Transform{_transform(e,t,n){this.push(e);this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes});n()}catch(e){n(e)}}constructor(e){super();this.loadedBytes=0;this.progressCallback=e}}class NodeHttpClient{constructor(){this.cachedHttpsAgents=new WeakMap}async sendRequest(e){var t,n,i;const o=new AbortController;let d;if(e.abortSignal){if(e.abortSignal.aborted){throw new y.AbortError("The operation was aborted. Request has already been canceled.")}d=e=>{if(e.type==="abort"){o.abort()}};e.abortSignal.addEventListener("abort",d)}let p;if(e.timeout>0){p=setTimeout((()=>{const t=new U.Sanitizer;M.logger.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`);o.abort()}),e.timeout)}const f=e.headers.get("Accept-Encoding");const v=(f===null||f===void 0?void 0:f.includes("gzip"))||(f===null||f===void 0?void 0:f.includes("deflate"));let D=typeof e.body==="function"?e.body():e.body;if(D&&!e.headers.has("Content-Length")){const t=getBodyLength(D);if(t!==null){e.headers.set("Content-Length",t)}}let j;try{if(D&&e.onUploadProgress){const t=e.onUploadProgress;const n=new ReportTransform(t);n.on("error",(e=>{M.logger.error("Error in upload progress",e)}));if(isReadableStream(D)){D.pipe(n)}else{n.end(D)}D=n}const d=await this.makeRequest(e,o,D);if(p!==undefined){clearTimeout(p)}const f=getResponseHeaders(d);const y=(t=d.statusCode)!==null&&t!==void 0?t:0;const U={status:y,headers:f,request:e};if(e.method==="HEAD"){d.resume();return U}j=v?getDecodedResponseStream(d,f):d;const V=e.onDownloadProgress;if(V){const e=new ReportTransform(V);e.on("error",(e=>{M.logger.error("Error in download progress",e)}));j.pipe(e);j=e}if(((n=e.streamResponseStatusCodes)===null||n===void 0?void 0:n.has(Number.POSITIVE_INFINITY))||((i=e.streamResponseStatusCodes)===null||i===void 0?void 0:i.has(U.status))){U.readableStreamBody=j}else{U.bodyAsText=await streamToText(j)}return U}finally{if(e.abortSignal&&d){let t=Promise.resolve();if(isReadableStream(D)){t=isStreamComplete(D)}let n=Promise.resolve();if(isReadableStream(j)){n=isStreamComplete(j)}Promise.all([t,n]).then((()=>{var t;if(d){(t=e.abortSignal)===null||t===void 0?void 0:t.removeEventListener("abort",d)}})).catch((e=>{M.logger.warning("Error when cleaning up abortListener on httpRequest",e)}))}}}makeRequest(e,t,n){var i;const p=new URL(e.url);const f=p.protocol!=="https:";if(f&&!e.allowInsecureConnection){throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`)}const v=(i=e.agent)!==null&&i!==void 0?i:this.getOrCreateAgent(e,f);const U=Object.assign({agent:v,hostname:p.hostname,path:`${p.pathname}${p.search}`,port:p.port,method:e.method,headers:e.headers.toJSON({preserveCase:true})},e.requestOverrides);return new Promise(((i,p)=>{const v=f?o.request(U,i):d.request(U,i);v.once("error",(t=>{var n;p(new D.RestError(t.message,{code:(n=t.code)!==null&&n!==void 0?n:D.RestError.REQUEST_SEND_ERROR,request:e}))}));t.signal.addEventListener("abort",(()=>{const e=new y.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");v.destroy(e);p(e)}));if(n&&isReadableStream(n)){n.pipe(v)}else if(n){if(typeof n==="string"||Buffer.isBuffer(n)){v.end(n)}else if(isArrayBuffer(n)){v.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n))}else{M.logger.error("Unrecognized body type",n);p(new D.RestError("Unrecognized body type"))}}else{v.end()}}))}getOrCreateAgent(e,t){var n;const i=e.disableKeepAlive;if(t){if(i){return o.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new o.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(i&&!e.tlsSettings){return d.globalAgent}const t=(n=e.tlsSettings)!==null&&n!==void 0?n:j;let o=this.cachedHttpsAgents.get(t);if(o&&o.options.keepAlive===!i){return o}M.logger.info("No cached TLS Agent exist, creating a new Agent");o=new d.Agent(Object.assign({keepAlive:!i},t));this.cachedHttpsAgents.set(t,o);return o}}}function getResponseHeaders(e){const t=(0,v.createHttpHeaders)();for(const n of Object.keys(e.headers)){const i=e.headers[n];if(Array.isArray(i)){if(i.length>0){t.set(n,i[0])}}else if(i){t.set(n,i)}}return t}function getDecodedResponseStream(e,t){const n=t.get("Content-Encoding");if(n==="gzip"){const t=p.createGunzip();e.pipe(t);return t}else if(n==="deflate"){const t=p.createInflate();e.pipe(t);return t}return e}function streamToText(e){return new Promise(((t,n)=>{const i=[];e.on("data",(e=>{if(Buffer.isBuffer(e)){i.push(e)}else{i.push(Buffer.from(e))}}));e.on("end",(()=>{t(Buffer.concat(i).toString("utf8"))}));e.on("error",(e=>{if(e&&(e===null||e===void 0?void 0:e.name)==="AbortError"){n(e)}else{n(new D.RestError(`Error reading response as text: ${e.message}`,{code:D.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}},53390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createEmptyPipeline=createEmptyPipeline;const n=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&&!n.has(t.phase)){throw new Error(`Invalid phase name: ${t.phase}`)}if(t.afterPhase&&!n.has(t.afterPhase)){throw new Error(`Invalid afterPhase name: ${t.afterPhase}`)}this._policies.push({policy:e,options:t});this._orderedPolicies=undefined}removePolicy(e){const t=[];this._policies=this._policies.filter((n=>{if(e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase){t.push(n.policy);return false}else{return true}}));this._orderedPolicies=undefined;return t}sendRequest(e,t){const n=this.getOrderedPolicies();const i=n.reduceRight(((e,t)=>n=>t.sendRequest(n,e)),(t=>e.sendRequest(t)));return i(t)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const e=[];const t=new Map;function createPhase(e){return{name:e,policies:new Set,hasRun:false,hasAfterPolicies:false}}const n=createPhase("Serialize");const i=createPhase("None");const o=createPhase("Deserialize");const d=createPhase("Retry");const p=createPhase("Sign");const f=[n,i,o,d,p];function getPhase(e){if(e==="Retry"){return d}else if(e==="Serialize"){return n}else if(e==="Deserialize"){return o}else if(e==="Sign"){return p}else{return i}}for(const e of this._policies){const n=e.policy;const i=e.options;const o=n.name;if(t.has(o)){throw new Error("Duplicate policy names not allowed in pipeline")}const d={policy:n,dependsOn:new Set,dependants:new Set};if(i.afterPhase){d.afterPhase=getPhase(i.afterPhase);d.afterPhase.hasAfterPolicies=true}t.set(o,d);const p=getPhase(i.phase);p.policies.add(d)}for(const e of this._policies){const{policy:n,options:i}=e;const o=n.name;const d=t.get(o);if(!d){throw new Error(`Missing node for policy ${o}`)}if(i.afterPolicies){for(const e of i.afterPolicies){const n=t.get(e);if(n){d.dependsOn.add(n);n.dependants.add(d)}}}if(i.beforePolicies){for(const e of i.beforePolicies){const n=t.get(e);if(n){n.dependsOn.add(d);d.dependants.add(n)}}}}function walkPhase(n){n.hasRun=true;for(const i of n.policies){if(i.afterPhase&&(!i.afterPhase.hasRun||i.afterPhase.policies.size)){continue}if(i.dependsOn.size===0){e.push(i.policy);for(const e of i.dependants){e.dependsOn.delete(i)}t.delete(i.policy.name);n.policies.delete(i)}}}function walkPhases(){for(const e of f){walkPhase(e);if(e.policies.size>0&&e!==i){if(!i.hasRun){walkPhase(i)}return}if(e.hasAfterPolicies){walkPhase(i)}}}let y=0;while(t.size>0){y++;const t=e.length;walkPhases();if(e.length<=t&&y>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return e}}function createEmptyPipeline(){return HttpPipeline.create()}},61605:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createPipelineRequest=createPipelineRequest;const i=n(43688);const o=n(90955);class PipelineRequestImpl{constructor(e){var t,n,d,p,f,y,v;this.url=e.url;this.body=e.body;this.headers=(t=e.headers)!==null&&t!==void 0?t:(0,i.createHttpHeaders)();this.method=(n=e.method)!==null&&n!==void 0?n:"GET";this.timeout=(d=e.timeout)!==null&&d!==void 0?d:0;this.multipartBody=e.multipartBody;this.formData=e.formData;this.disableKeepAlive=(p=e.disableKeepAlive)!==null&&p!==void 0?p:false;this.proxySettings=e.proxySettings;this.streamResponseStatusCodes=e.streamResponseStatusCodes;this.withCredentials=(f=e.withCredentials)!==null&&f!==void 0?f:false;this.abortSignal=e.abortSignal;this.onUploadProgress=e.onUploadProgress;this.onDownloadProgress=e.onDownloadProgress;this.requestId=e.requestId||(0,o.randomUUID)();this.allowInsecureConnection=(y=e.allowInsecureConnection)!==null&&y!==void 0?y:false;this.enableBrowserStreams=(v=e.enableBrowserStreams)!==null&&v!==void 0?v:false;this.requestOverrides=e.requestOverrides;this.authSchemes=e.authSchemes}}function createPipelineRequest(e){return new PipelineRequestImpl(e)}},51250:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.agentPolicyName=void 0;t.agentPolicy=agentPolicy;t.agentPolicyName="agentPolicy";function agentPolicy(e){return{name:t.agentPolicyName,sendRequest:async(t,n)=>{if(!t.agent){t.agent=e}return n(t)}}}},86987:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.apiKeyAuthenticationPolicyName=void 0;t.apiKeyAuthenticationPolicy=apiKeyAuthenticationPolicy;const i=n(75626);t.apiKeyAuthenticationPolicyName="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy(e){return{name:t.apiKeyAuthenticationPolicyName,async sendRequest(t,n){var o,d;(0,i.ensureSecureConnection)(t,e);const p=(d=(o=t.authSchemes)!==null&&o!==void 0?o:e.authSchemes)===null||d===void 0?void 0:d.find((e=>e.kind==="apiKey"));if(!p){return n(t)}if(p.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${p.apiKeyLocation}`)}t.headers.set(p.name,e.credential.key);return n(t)}}}},6664:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.basicAuthenticationPolicyName=void 0;t.basicAuthenticationPolicy=basicAuthenticationPolicy;const i=n(28917);const o=n(75626);t.basicAuthenticationPolicyName="bearerAuthenticationPolicy";function basicAuthenticationPolicy(e){return{name:t.basicAuthenticationPolicyName,async sendRequest(t,n){var d,p;(0,o.ensureSecureConnection)(t,e);const f=(p=(d=t.authSchemes)!==null&&d!==void 0?d:e.authSchemes)===null||p===void 0?void 0:p.find((e=>e.kind==="http"&&e.scheme==="basic"));if(!f){return n(t)}const{username:y,password:v}=e.credential;const D=(0,i.uint8ArrayToString)((0,i.stringToUint8Array)(`${y}:${v}`,"utf-8"),"base64");t.headers.set("Authorization",`Basic ${D}`);return n(t)}}}},66849:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.bearerAuthenticationPolicyName=void 0;t.bearerAuthenticationPolicy=bearerAuthenticationPolicy;const i=n(75626);t.bearerAuthenticationPolicyName="bearerAuthenticationPolicy";function bearerAuthenticationPolicy(e){return{name:t.bearerAuthenticationPolicyName,async sendRequest(t,n){var o,d;(0,i.ensureSecureConnection)(t,e);const p=(d=(o=t.authSchemes)!==null&&o!==void 0?o:e.authSchemes)===null||d===void 0?void 0:d.find((e=>e.kind==="http"&&e.scheme==="bearer"));if(!p){return n(t)}const f=await e.credential.getBearerToken({abortSignal:t.abortSignal});t.headers.set("Authorization",`Bearer ${f}`);return n(t)}}}},75626:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ensureSecureConnection=ensureSecureConnection;const i=n(76488);let o=false;function allowInsecureConnection(e,t){if(t.allowInsecureConnection&&e.allowInsecureConnection){const t=new URL(e.url);if(t.hostname==="localhost"||t.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const e="Sending token over insecure transport. Assume any token issued is compromised.";i.logger.warning(e);if(typeof(process===null||process===void 0?void 0:process.emitWarning)==="function"&&!o){o=true;process.emitWarning(e)}}function ensureSecureConnection(e,t){if(!e.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(e,t)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}},71143:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.oauth2AuthenticationPolicyName=void 0;t.oauth2AuthenticationPolicy=oauth2AuthenticationPolicy;const i=n(75626);t.oauth2AuthenticationPolicyName="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy(e){return{name:t.oauth2AuthenticationPolicyName,async sendRequest(t,n){var o,d;(0,i.ensureSecureConnection)(t,e);const p=(d=(o=t.authSchemes)!==null&&o!==void 0?o:e.authSchemes)===null||d===void 0?void 0:d.find((e=>e.kind==="oauth2"));if(!p){return n(t)}const f=await e.credential.getOAuth2Token(p.flows,{abortSignal:t.abortSignal});t.headers.set("Authorization",`Bearer ${f}`);return n(t)}}}},29815:(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)}}}},14786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.defaultRetryPolicyName=void 0;t.defaultRetryPolicy=defaultRetryPolicy;const i=n(22714);const o=n(7524);const d=n(67021);const p=n(88819);t.defaultRetryPolicyName="defaultRetryPolicy";function defaultRetryPolicy(e={}){var n;return{name:t.defaultRetryPolicyName,sendRequest:(0,d.retryPolicy)([(0,o.throttlingRetryStrategy)(),(0,i.exponentialRetryStrategy)(e)],{maxRetries:(n=e.maxRetries)!==null&&n!==void 0?n:p.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},28332:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryPolicyName=void 0;t.exponentialRetryPolicy=exponentialRetryPolicy;const i=n(22714);const o=n(67021);const d=n(88819);t.exponentialRetryPolicyName="exponentialRetryPolicy";function exponentialRetryPolicy(e={}){var t;return(0,o.retryPolicy)([(0,i.exponentialRetryStrategy)(Object.assign(Object.assign({},e),{ignoreSystemErrors:true}))],{maxRetries:(t=e.maxRetries)!==null&&t!==void 0?t:d.DEFAULT_RETRY_POLICY_COUNT})}},70337:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.formDataPolicyName=void 0;t.formDataPolicy=formDataPolicy;const i=n(28917);const o=n(98402);const d=n(43688);t.formDataPolicyName="formDataPolicy";function formDataToFormDataMap(e){var t;const n={};for(const[i,o]of e.entries()){(t=n[i])!==null&&t!==void 0?t:n[i]=[];n[i].push(o)}return n}function formDataPolicy(){return{name:t.formDataPolicyName,async sendRequest(e,t){if(o.isNodeLike&&typeof FormData!=="undefined"&&e.body instanceof FormData){e.formData=formDataToFormDataMap(e.body);e.body=undefined}if(e.formData){const t=e.headers.get("Content-Type");if(t&&t.indexOf("application/x-www-form-urlencoded")!==-1){e.body=wwwFormUrlEncode(e.formData)}else{await prepareFormData(e.formData,e)}e.formData=undefined}return t(e)}}}function wwwFormUrlEncode(e){const t=new URLSearchParams;for(const[n,i]of Object.entries(e)){if(Array.isArray(i)){for(const e of i){t.append(n,e.toString())}}else{t.append(n,i.toString())}}return t.toString()}async function prepareFormData(e,t){const n=t.headers.get("Content-Type");if(n&&!n.startsWith("multipart/form-data")){return}t.headers.set("Content-Type",n!==null&&n!==void 0?n:"multipart/form-data");const o=[];for(const[t,n]of Object.entries(e)){for(const e of Array.isArray(n)?n:[n]){if(typeof e==="string"){o.push({headers:(0,d.createHttpHeaders)({"Content-Disposition":`form-data; name="${t}"`}),body:(0,i.stringToUint8Array)(e,"utf-8")})}else if(e===undefined||e===null||typeof e!=="object"){throw new Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`)}else{const n=e.name||"blob";const i=(0,d.createHttpHeaders)();i.set("Content-Disposition",`form-data; name="${t}"; filename="${n}"`);i.set("Content-Type",e.type||"application/octet-stream");o.push({headers:i,body:e})}}}t.multipartBody={parts:o}}},25068:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.userAgentPolicyName=t.userAgentPolicy=t.tlsPolicyName=t.tlsPolicy=t.redirectPolicyName=t.redirectPolicy=t.getDefaultProxySettings=t.proxyPolicyName=t.proxyPolicy=t.multipartPolicyName=t.multipartPolicy=t.logPolicyName=t.logPolicy=t.formDataPolicyName=t.formDataPolicy=t.throttlingRetryPolicyName=t.throttlingRetryPolicy=t.systemErrorRetryPolicyName=t.systemErrorRetryPolicy=t.retryPolicy=t.exponentialRetryPolicyName=t.exponentialRetryPolicy=t.defaultRetryPolicyName=t.defaultRetryPolicy=t.decompressResponsePolicyName=t.decompressResponsePolicy=t.agentPolicyName=t.agentPolicy=void 0;var i=n(51250);Object.defineProperty(t,"agentPolicy",{enumerable:true,get:function(){return i.agentPolicy}});Object.defineProperty(t,"agentPolicyName",{enumerable:true,get:function(){return i.agentPolicyName}});var o=n(29815);Object.defineProperty(t,"decompressResponsePolicy",{enumerable:true,get:function(){return o.decompressResponsePolicy}});Object.defineProperty(t,"decompressResponsePolicyName",{enumerable:true,get:function(){return o.decompressResponsePolicyName}});var d=n(14786);Object.defineProperty(t,"defaultRetryPolicy",{enumerable:true,get:function(){return d.defaultRetryPolicy}});Object.defineProperty(t,"defaultRetryPolicyName",{enumerable:true,get:function(){return d.defaultRetryPolicyName}});var p=n(28332);Object.defineProperty(t,"exponentialRetryPolicy",{enumerable:true,get:function(){return p.exponentialRetryPolicy}});Object.defineProperty(t,"exponentialRetryPolicyName",{enumerable:true,get:function(){return p.exponentialRetryPolicyName}});var f=n(67021);Object.defineProperty(t,"retryPolicy",{enumerable:true,get:function(){return f.retryPolicy}});var y=n(79998);Object.defineProperty(t,"systemErrorRetryPolicy",{enumerable:true,get:function(){return y.systemErrorRetryPolicy}});Object.defineProperty(t,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return y.systemErrorRetryPolicyName}});var v=n(48492);Object.defineProperty(t,"throttlingRetryPolicy",{enumerable:true,get:function(){return v.throttlingRetryPolicy}});Object.defineProperty(t,"throttlingRetryPolicyName",{enumerable:true,get:function(){return v.throttlingRetryPolicyName}});var D=n(70337);Object.defineProperty(t,"formDataPolicy",{enumerable:true,get:function(){return D.formDataPolicy}});Object.defineProperty(t,"formDataPolicyName",{enumerable:true,get:function(){return D.formDataPolicyName}});var M=n(85613);Object.defineProperty(t,"logPolicy",{enumerable:true,get:function(){return M.logPolicy}});Object.defineProperty(t,"logPolicyName",{enumerable:true,get:function(){return M.logPolicyName}});var U=n(75303);Object.defineProperty(t,"multipartPolicy",{enumerable:true,get:function(){return U.multipartPolicy}});Object.defineProperty(t,"multipartPolicyName",{enumerable:true,get:function(){return U.multipartPolicyName}});var j=n(53511);Object.defineProperty(t,"proxyPolicy",{enumerable:true,get:function(){return j.proxyPolicy}});Object.defineProperty(t,"proxyPolicyName",{enumerable:true,get:function(){return j.proxyPolicyName}});Object.defineProperty(t,"getDefaultProxySettings",{enumerable:true,get:function(){return j.getDefaultProxySettings}});var V=n(56959);Object.defineProperty(t,"redirectPolicy",{enumerable:true,get:function(){return V.redirectPolicy}});Object.defineProperty(t,"redirectPolicyName",{enumerable:true,get:function(){return V.redirectPolicyName}});var K=n(55726);Object.defineProperty(t,"tlsPolicy",{enumerable:true,get:function(){return K.tlsPolicy}});Object.defineProperty(t,"tlsPolicyName",{enumerable:true,get:function(){return K.tlsPolicyName}});var ee=n(92375);Object.defineProperty(t,"userAgentPolicy",{enumerable:true,get:function(){return ee.userAgentPolicy}});Object.defineProperty(t,"userAgentPolicyName",{enumerable:true,get:function(){return ee.userAgentPolicyName}})},85613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.logPolicyName=void 0;t.logPolicy=logPolicy;const i=n(76488);const o=n(56620);t.logPolicyName="logPolicy";function logPolicy(e={}){var n;const d=(n=e.logger)!==null&&n!==void 0?n:i.logger.info;const p=new o.Sanitizer({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:t.logPolicyName,async sendRequest(e,t){if(!d.enabled){return t(e)}d(`Request: ${p.sanitize(e)}`);const n=await t(e);d(`Response status code: ${n.status}`);d(`Headers: ${p.sanitize(n.headers)}`);return n}}}},75303:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.multipartPolicyName=void 0;t.multipartPolicy=multipartPolicy;const i=n(28917);const o=n(1093);const d=n(90955);const p=n(93407);function generateBoundary(){return`----AzSDKFormBoundary${(0,d.randomUUID)()}`}function encodeHeaders(e){let t="";for(const[n,i]of e){t+=`${n}: ${i}\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 n of e){const e=getLength(n);if(e===undefined){return undefined}else{t+=e}}return t}async function buildRequestBody(e,t,n){const o=[(0,i.stringToUint8Array)(`--${n}`,"utf-8"),...t.flatMap((e=>[(0,i.stringToUint8Array)("\r\n","utf-8"),(0,i.stringToUint8Array)(encodeHeaders(e.headers),"utf-8"),(0,i.stringToUint8Array)("\r\n","utf-8"),e.body,(0,i.stringToUint8Array)(`\r\n--${n}`,"utf-8")])),(0,i.stringToUint8Array)("--\r\n\r\n","utf-8")];const d=getTotalLength(o);if(d){e.headers.set("Content-Length",d)}e.body=await(0,p.concat)(o)}t.multipartPolicyName="multipartPolicy";const f=70;const y=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(e){if(e.length>f){throw new Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`)}if(Array.from(e).some((e=>!y.has(e)))){throw new Error(`Multipart boundary "${e}" contains invalid characters`)}}function multipartPolicy(){return{name:t.multipartPolicyName,async sendRequest(e,t){var n;if(!e.multipartBody){return t(e)}if(e.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let i=e.multipartBody.boundary;const o=(n=e.headers.get("Content-Type"))!==null&&n!==void 0?n:"multipart/mixed";const d=o.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!d){throw new Error(`Got multipart request body, but content-type header was not multipart: ${o}`)}const[,p,f]=d;if(f&&i&&f!==i){throw new Error(`Multipart boundary was specified as ${f} in the header, but got ${i} in the request body`)}i!==null&&i!==void 0?i:i=f;if(i){assertValidBoundary(i)}else{i=generateBoundary()}e.headers.set("Content-Type",`${p}; boundary=${i}`);await buildRequestBody(e,e.multipartBody.parts,i);e.multipartBody=undefined;return t(e)}}}},53511:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.globalNoProxyList=t.proxyPolicyName=void 0;t.loadNoProxy=loadNoProxy;t.getDefaultProxySettings=getDefaultProxySettings;t.proxyPolicy=proxyPolicy;const i=n(84708);const o=n(64702);const d=n(76488);const p="HTTPS_PROXY";const f="HTTP_PROXY";const y="ALL_PROXY";const v="NO_PROXY";t.proxyPolicyName="proxyPolicy";t.globalNoProxyList=[];let D=false;const M=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(p);const t=getEnvironmentValue(y);const n=getEnvironmentValue(f);return e||t||n}function isBypassed(e,t,n){if(t.length===0){return false}const i=new URL(e).hostname;if(n===null||n===void 0?void 0:n.has(i)){return n.get(i)}let o=false;for(const e of t){if(e[0]==="."){if(i.endsWith(e)){o=true}else{if(i.length===e.length-1&&i===e.slice(1)){o=true}}}else{if(i===e){o=true}}}n===null||n===void 0?void 0:n.set(i,o);return o}function loadNoProxy(){const e=getEnvironmentValue(v);D=true;if(e){return e.split(",").map((e=>e.trim())).filter((e=>e.length))}return[]}function getDefaultProxySettings(e){if(!e){e=loadEnvironmentProxyValue();if(!e){return undefined}}const t=new URL(e);const n=t.protocol?t.protocol+"//":"";return{host:n+t.hostname,port:Number.parseInt(t.port||"80"),username:t.username,password:t.password}}function getDefaultProxySettingsInternal(){const e=loadEnvironmentProxyValue();return e?new URL(e):undefined}function getUrlFromProxySettings(e){let t;try{t=new URL(e.host)}catch(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,n){if(e.agent){return}const p=new URL(e.url);const f=p.protocol!=="https:";if(e.tlsSettings){d.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const y=e.headers.toJSON();if(f){if(!t.httpProxyAgent){t.httpProxyAgent=new o.HttpProxyAgent(n,{headers:y})}e.agent=t.httpProxyAgent}else{if(!t.httpsProxyAgent){t.httpsProxyAgent=new i.HttpsProxyAgent(n,{headers:y})}e.agent=t.httpsProxyAgent}}function proxyPolicy(e,n){if(!D){t.globalNoProxyList.push(...loadNoProxy())}const i=e?getUrlFromProxySettings(e):getDefaultProxySettingsInternal();const o={};return{name:t.proxyPolicyName,async sendRequest(e,d){var p;if(!e.proxySettings&&i&&!isBypassed(e.url,(p=n===null||n===void 0?void 0:n.customNoProxyList)!==null&&p!==void 0?p:t.globalNoProxyList,(n===null||n===void 0?void 0:n.customNoProxyList)?undefined:M)){setProxyAgentOnRequest(e,o,i)}else if(e.proxySettings){setProxyAgentOnRequest(e,o,getUrlFromProxySettings(e.proxySettings))}return d(e)}}}},56959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.redirectPolicyName=void 0;t.redirectPolicy=redirectPolicy;t.redirectPolicyName="redirectPolicy";const n=["GET","HEAD"];function redirectPolicy(e={}){const{maxRetries:n=20}=e;return{name:t.redirectPolicyName,async sendRequest(e,t){const i=await t(e);return handleRedirect(t,i,n)}}}async function handleRedirect(e,t,i,o=0){const{request:d,status:p,headers:f}=t;const y=f.get("location");if(y&&(p===300||p===301&&n.includes(d.method)||p===302&&n.includes(d.method)||p===303&&d.method==="POST"||p===307)&&o<i){const t=new URL(y,d.url);d.url=t.toString();if(p===303){d.method="GET";d.headers.delete("Content-Length");delete d.body}d.headers.delete("Authorization");const n=await e(d);return handleRedirect(e,n,i,o+1)}return t}},67021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.retryPolicy=retryPolicy;const i=n(19490);const o=n(84260);const d=n(34135);const p=n(88819);const f=(0,d.createClientLogger)("ts-http-runtime retryPolicy");const y="retryPolicy";function retryPolicy(e,t={maxRetries:p.DEFAULT_RETRY_POLICY_COUNT}){const n=t.logger||f;return{name:y,async sendRequest(d,f){var y,v;let D;let M;let U=-1;e:while(true){U+=1;D=undefined;M=undefined;try{n.info(`Retry ${U}: Attempting to send request`,d.requestId);D=await f(d);n.info(`Retry ${U}: Received a response from request`,d.requestId)}catch(e){n.error(`Retry ${U}: Received an error from request`,d.requestId);M=e;if(!e||M.name!=="RestError"){throw e}D=M.response}if((y=d.abortSignal)===null||y===void 0?void 0:y.aborted){n.error(`Retry ${U}: Request aborted.`);const e=new o.AbortError;throw e}if(U>=((v=t.maxRetries)!==null&&v!==void 0?v:p.DEFAULT_RETRY_POLICY_COUNT)){n.info(`Retry ${U}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(M){throw M}else if(D){return D}else{throw new Error("Maximum retries reached with no response or error to throw")}}n.info(`Retry ${U}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||n;e.info(`Retry ${U}: Processing retry strategy ${t.name}.`);const o=t.retry({retryCount:U,response:D,responseError:M});if(o.skipStrategy){e.info(`Retry ${U}: Skipped.`);continue t}const{errorToThrow:p,retryAfterInMs:f,redirectTo:y}=o;if(p){e.error(`Retry ${U}: Retry strategy ${t.name} throws error:`,p);throw p}if(f||f===0){e.info(`Retry ${U}: Retry strategy ${t.name} retries after ${f}`);await(0,i.delay)(f,undefined,{abortSignal:d.abortSignal});continue e}if(y){e.info(`Retry ${U}: Retry strategy ${t.name} redirects to ${y}`);d.url=y;continue e}}if(M){n.info(`None of the retry strategies could work with the received error. Throwing it.`);throw M}if(D){n.info(`None of the retry strategies could work with the received response. Returning it.`);return D}}}}}},79998:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.systemErrorRetryPolicyName=void 0;t.systemErrorRetryPolicy=systemErrorRetryPolicy;const i=n(22714);const o=n(67021);const d=n(88819);t.systemErrorRetryPolicyName="systemErrorRetryPolicy";function systemErrorRetryPolicy(e={}){var n;return{name:t.systemErrorRetryPolicyName,sendRequest:(0,o.retryPolicy)([(0,i.exponentialRetryStrategy)(Object.assign(Object.assign({},e),{ignoreHttpStatusCodes:true}))],{maxRetries:(n=e.maxRetries)!==null&&n!==void 0?n:d.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},48492:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.throttlingRetryPolicyName=void 0;t.throttlingRetryPolicy=throttlingRetryPolicy;const i=n(7524);const o=n(67021);const d=n(88819);t.throttlingRetryPolicyName="throttlingRetryPolicy";function throttlingRetryPolicy(e={}){var n;return{name:t.throttlingRetryPolicyName,sendRequest:(0,o.retryPolicy)([(0,i.throttlingRetryStrategy)()],{maxRetries:(n=e.maxRetries)!==null&&n!==void 0?n:d.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},55726:(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,n)=>{if(!t.tlsSettings){t.tlsSettings=e}return n(t)}}}},92375:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.userAgentPolicyName=void 0;t.userAgentPolicy=userAgentPolicy;const i=n(295);const o=(0,i.getUserAgentHeaderName)();t.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(e={}){const n=(0,i.getUserAgentValue)(e.userAgentPrefix);return{name:t.userAgentPolicyName,async sendRequest(e,t){if(!e.headers.has(o)){e.headers.set(o,await n)}return t(e)}}}},79058:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RestError=void 0;t.isRestError=isRestError;const i=n(29769);const o=n(39067);const d=n(56620);const p=new d.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.defineProperty(this,o.custom,{value:()=>`RestError: ${this.message} \n ${p.sanitize(Object.assign(Object.assign({},this),{request:this.request,response:this.response}))}`,enumerable:false});Object.setPrototypeOf(this,RestError.prototype)}}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,i.isError)(e)&&e.name==="RestError"}},22714:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exponentialRetryStrategy=exponentialRetryStrategy;t.isExponentialRetryResponse=isExponentialRetryResponse;t.isSystemError=isSystemError;const i=n(36812);const o=n(7524);const d=1e3;const p=1e3*64;function exponentialRetryStrategy(e={}){var t,n;const f=(t=e.retryDelayInMs)!==null&&t!==void 0?t:d;const y=(n=e.maxRetryDelayInMs)!==null&&n!==void 0?n:p;return{name:"exponentialRetryStrategy",retry({retryCount:t,response:n,responseError:d}){const p=isSystemError(d);const v=p&&e.ignoreSystemErrors;const D=isExponentialRetryResponse(n);const M=D&&e.ignoreHttpStatusCodes;const U=n&&((0,o.isThrottlingRetryResponse)(n)||!D);if(U||M||v){return{skipStrategy:true}}if(d&&!p&&!D){return{errorToThrow:d}}return(0,i.calculateRetryDelay)(t,{retryDelayInMs:f,maxRetryDelayInMs:y})}}}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"}},7524:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isThrottlingRetryResponse=isThrottlingRetryResponse;t.throttlingRetryStrategy=throttlingRetryStrategy;const i=n(19490);const o="Retry-After";const d=["retry-after-ms","x-ms-retry-after-ms",o];function getRetryAfterInMs(e){if(!(e&&[429,503].includes(e.status)))return undefined;try{for(const t of d){const n=(0,i.parseHeaderValueAsNumber)(e,t);if(n===0||n){const e=t===o?1e3:1;return n*e}}const t=e.headers.get(o);if(!t)return;const n=Date.parse(t);const p=n-Date.now();return Number.isFinite(p)?Math.max(0,p):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}}}}},28917:(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)}},98402:(e,t)=>{"use strict";var n,i,o,d;Object.defineProperty(t,"__esModule",{value:true});t.isReactNative=t.isNodeRuntime=t.isNodeLike=t.isBun=t.isDeno=t.isWebWorker=t.isBrowser=void 0;t.isBrowser=typeof window!=="undefined"&&typeof window.document!=="undefined";t.isWebWorker=typeof self==="object"&&typeof(self===null||self===void 0?void 0:self.importScripts)==="function"&&(((n=self.constructor)===null||n===void 0?void 0:n.name)==="DedicatedWorkerGlobalScope"||((i=self.constructor)===null||i===void 0?void 0:i.name)==="ServiceWorkerGlobalScope"||((o=self.constructor)===null||o===void 0?void 0:o.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((d=globalThis.process.versions)===null||d===void 0?void 0:d.node);t.isNodeRuntime=t.isNodeLike&&!t.isBun&&!t.isDeno;t.isReactNative=typeof navigator!=="undefined"&&(navigator===null||navigator===void 0?void 0:navigator.product)==="ReactNative"},93407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.concat=concat;const i=n(31577);const o=n(2203);const d=n(1093);function streamAsyncIterator(){return i.__asyncGenerator(this,arguments,(function*streamAsyncIterator_1(){const e=this.getReader();try{while(true){const{done:t,value:n}=yield i.__await(e.read());if(t){return yield i.__await(void 0)}yield yield i.__await(n)}}finally{e.releaseLock()}}))}function makeAsyncIterable(e){if(!e[Symbol.asyncIterator]){e[Symbol.asyncIterator]=streamAsyncIterator.bind(e)}if(!e.values){e.values=streamAsyncIterator.bind(e)}}function ensureNodeStream(e){if(e instanceof ReadableStream){makeAsyncIterable(e);return o.Readable.fromWeb(e)}else{return e}}function toStream(e){if(e instanceof Uint8Array){return o.Readable.from(Buffer.from(e))}else if((0,d.isBlob)(e)){return ensureNodeStream(e.stream())}else{return ensureNodeStream(e)}}async function concat(e){return function(){const t=e.map((e=>typeof e==="function"?e():e)).map(toStream);return o.Readable.from(function(){return i.__asyncGenerator(this,arguments,(function*(){var e,n,o,d;for(const v of t){try{for(var p=true,f=(n=void 0,i.__asyncValues(v)),y;y=yield i.__await(f.next()),e=y.done,!e;p=true){d=y.value;p=false;const e=d;yield yield i.__await(e)}}catch(e){n={error:e}}finally{try{if(!p&&!e&&(o=f.return))yield i.__await(o.call(f))}finally{if(n)throw n.error}}}}))}())}}},36812:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.calculateRetryDelay=calculateRetryDelay;const i=n(81988);function calculateRetryDelay(e,t){const n=t.retryDelayInMs*Math.pow(2,e);const o=Math.min(t.maxRetryDelayInMs,n);const d=o/2+(0,i.getRandomIntegerInclusive)(0,o/2);return{retryAfterInMs:d}}},29769:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isError=isError;const i=n(51900);function isError(e){if((0,i.isObject)(e)){const t=typeof e.name==="string";const n=typeof e.message==="string";return t&&n}return false}},19490:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.delay=delay;t.parseHeaderValueAsNumber=parseHeaderValueAsNumber;const i=n(84260);const o="The operation was aborted.";function delay(e,t,n){return new Promise(((d,p)=>{let f=undefined;let y=undefined;const rejectOnAbort=()=>p(new i.AbortError((n===null||n===void 0?void 0:n.abortErrorMsg)?n===null||n===void 0?void 0:n.abortErrorMsg:o));const removeListeners=()=>{if((n===null||n===void 0?void 0:n.abortSignal)&&y){n.abortSignal.removeEventListener("abort",y)}};y=()=>{if(f){clearTimeout(f)}removeListeners();return rejectOnAbort()};if((n===null||n===void 0?void 0:n.abortSignal)&&n.abortSignal.aborted){return rejectOnAbort()}f=setTimeout((()=>{removeListeners();d(t)}),e);if(n===null||n===void 0?void 0:n.abortSignal){n.abortSignal.addEventListener("abort",y)}}))}function parseHeaderValueAsNumber(e,t){const n=e.headers.get(t);if(!n)return;const i=Number(n);if(Number.isNaN(i))return;return i}},39067:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.custom=void 0;const i=n(57975);t.custom=i.inspect.custom},37954:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Sanitizer=t.uint8ArrayToString=t.stringToUint8Array=t.isWebWorker=t.isReactNative=t.isDeno=t.isNodeRuntime=t.isNodeLike=t.isBun=t.isBrowser=t.randomUUID=t.computeSha256Hmac=t.computeSha256Hash=t.isError=t.isObject=t.getRandomIntegerInclusive=t.calculateRetryDelay=void 0;var i=n(36812);Object.defineProperty(t,"calculateRetryDelay",{enumerable:true,get:function(){return i.calculateRetryDelay}});var o=n(81988);Object.defineProperty(t,"getRandomIntegerInclusive",{enumerable:true,get:function(){return o.getRandomIntegerInclusive}});var d=n(51900);Object.defineProperty(t,"isObject",{enumerable:true,get:function(){return d.isObject}});var p=n(29769);Object.defineProperty(t,"isError",{enumerable:true,get:function(){return p.isError}});var f=n(53876);Object.defineProperty(t,"computeSha256Hash",{enumerable:true,get:function(){return f.computeSha256Hash}});Object.defineProperty(t,"computeSha256Hmac",{enumerable:true,get:function(){return f.computeSha256Hmac}});var y=n(90955);Object.defineProperty(t,"randomUUID",{enumerable:true,get:function(){return y.randomUUID}});var v=n(98402);Object.defineProperty(t,"isBrowser",{enumerable:true,get:function(){return v.isBrowser}});Object.defineProperty(t,"isBun",{enumerable:true,get:function(){return v.isBun}});Object.defineProperty(t,"isNodeLike",{enumerable:true,get:function(){return v.isNodeLike}});Object.defineProperty(t,"isNodeRuntime",{enumerable:true,get:function(){return v.isNodeRuntime}});Object.defineProperty(t,"isDeno",{enumerable:true,get:function(){return v.isDeno}});Object.defineProperty(t,"isReactNative",{enumerable:true,get:function(){return v.isReactNative}});Object.defineProperty(t,"isWebWorker",{enumerable:true,get:function(){return v.isWebWorker}});var D=n(28917);Object.defineProperty(t,"stringToUint8Array",{enumerable:true,get:function(){return D.stringToUint8Array}});Object.defineProperty(t,"uint8ArrayToString",{enumerable:true,get:function(){return D.uint8ArrayToString}});var M=n(56620);Object.defineProperty(t,"Sanitizer",{enumerable:true,get:function(){return M.Sanitizer}})},51900:(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)}},81988:(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 n=Math.floor(Math.random()*(t-e+1));return n+e}},56620:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Sanitizer=void 0;const i=n(51900);const o="REDACTED";const d=["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 p=["api-version"];class Sanitizer{constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=d.concat(e);t=p.concat(t);this.allowedHeaderNames=new Set(e.map((e=>e.toLowerCase())));this.allowedQueryParameters=new Set(t.map((e=>e.toLowerCase())))}sanitize(e){const t=new Set;return JSON.stringify(e,((e,n)=>{if(n instanceof Error){return Object.assign(Object.assign({},n),{name:n.name,message:n.message})}if(e==="headers"){return this.sanitizeHeaders(n)}else if(e==="url"){return this.sanitizeUrl(n)}else if(e==="query"){return this.sanitizeQuery(n)}else if(e==="body"){return undefined}else if(e==="response"){return undefined}else if(e==="operationSpec"){return undefined}else if(Array.isArray(n)||(0,i.isObject)(n)){if(t.has(n)){return"[Circular]"}t.add(n)}return n}),2)}sanitizeUrl(e){if(typeof e!=="string"||e===null||e===""){return e}const t=new URL(e);if(!t.search){return e}for(const[e]of t.searchParams){if(!this.allowedQueryParameters.has(e.toLowerCase())){t.searchParams.set(e,o)}}return t.toString()}sanitizeHeaders(e){const t={};for(const n of Object.keys(e)){if(this.allowedHeaderNames.has(n.toLowerCase())){t[n]=e[n]}else{t[n]=o}}return t}sanitizeQuery(e){if(typeof e!=="object"||e===null){return e}const t={};for(const n of Object.keys(e)){if(this.allowedQueryParameters.has(n.toLowerCase())){t[n]=e[n]}else{t[n]=o}}return t}}t.Sanitizer=Sanitizer},53876:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.computeSha256Hmac=computeSha256Hmac;t.computeSha256Hash=computeSha256Hash;const i=n(77598);async function computeSha256Hmac(e,t,n){const o=Buffer.from(e,"base64");return(0,i.createHmac)("sha256",o).update(t).digest(n)}async function computeSha256Hash(e,t){return(0,i.createHash)("sha256").update(e).digest(t)}},1093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isNodeReadableStream=isNodeReadableStream;t.isWebReadableStream=isWebReadableStream;t.isBinaryBody=isBinaryBody;t.isReadableStream=isReadableStream;t.isBlob=isBlob;function isNodeReadableStream(e){return Boolean(e&&typeof e["pipe"]==="function")}function isWebReadableStream(e){return Boolean(e&&typeof e.getReader==="function"&&typeof e.tee==="function")}function isBinaryBody(e){return e!==undefined&&(e instanceof Uint8Array||isReadableStream(e)||typeof e==="function"||e instanceof Blob)}function isReadableStream(e){return isNodeReadableStream(e)||isWebReadableStream(e)}function isBlob(e){return typeof e.stream==="function"}},295:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getUserAgentHeaderName=getUserAgentHeaderName;t.getUserAgentValue=getUserAgentValue;const i=n(89776);const o=n(88819);function getUserAgentString(e){const t=[];for(const[n,i]of e){const e=i?`${n}/${i}`:n;t.push(e)}return t.join(" ")}function getUserAgentHeaderName(){return(0,i.getHeaderName)()}async function getUserAgentValue(e){const t=new Map;t.set("ts-http-runtime",o.SDK_VERSION);await(0,i.setPlatformSpecificData)(t);const n=getUserAgentString(t);const d=e?`${e} ${n}`:n;return d}},89776:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getHeaderName=getHeaderName;t.setPlatformSpecificData=setPlatformSpecificData;const i=n(31577);const o=i.__importStar(n(48161));const d=i.__importStar(n(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(e){if(d&&d.versions){const t=d.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",`(${o.arch()}-${o.type()}-${o.release()})`)}},90955:(e,t,n)=>{"use strict";var i;Object.defineProperty(t,"__esModule",{value:true});t.randomUUID=randomUUID;const o=n(77598);const d=typeof((i=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||i===void 0?void 0:i.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):o.randomUUID;function randomUUID(){return d()}},39227:(e,t,n)=>{"use strict";var i=n(1553);var o=n(22911);var d=n(47320);var p=n(51917);var f=n(51021);var y=n(504);var v=n(42508);function resolveCollection(e,t,n,i,o,d){const p=n.type==="block-map"?f.resolveBlockMap(e,t,n,i,d):n.type==="block-seq"?y.resolveBlockSeq(e,t,n,i,d):v.resolveFlowCollection(e,t,n,i,d);const D=p.constructor;if(o==="!"||o===D.tagName){p.tag=D.tagName;return p}if(o)p.tag=o;return p}function composeCollection(e,t,n,f,y){const v=f.tag;const D=!v?null:t.directives.tagName(v.source,(e=>y(v,"TAG_RESOLVE_FAILED",e)));if(n.type==="block-seq"){const{anchor:e,newlineAfterProp:t}=f;const n=e&&v?e.offset>v.offset?e:v:e??v;if(n&&(!t||t.offset<n.offset)){const e="Missing newline after block sequence props";y(n,"MISSING_CHAR",e)}}const M=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!v||!D||D==="!"||D===d.YAMLMap.tagName&&M==="map"||D===p.YAMLSeq.tagName&&M==="seq"){return resolveCollection(e,t,n,y,D)}let U=t.schema.tags.find((e=>e.tag===D&&e.collection===M));if(!U){const i=t.schema.knownTags[D];if(i&&i.collection===M){t.schema.tags.push(Object.assign({},i,{default:false}));U=i}else{if(i?.collection){y(v,"BAD_COLLECTION_TYPE",`${i.tag} used for ${M} collection, but expects ${i.collection}`,true)}else{y(v,"TAG_RESOLVE_FAILED",`Unresolved tag: ${D}`,true)}return resolveCollection(e,t,n,y,D)}}const j=resolveCollection(e,t,n,y,D,U);const V=U.resolve?.(j,(e=>y(v,"TAG_RESOLVE_FAILED",e)),t.options)??j;const K=i.isNode(V)?V:new o.Scalar(V);K.range=j.range;K.tag=D;if(U?.format)K.format=U.format;return K}t.composeCollection=composeCollection},93025:(e,t,n)=>{"use strict";var i=n(71795);var o=n(23571);var d=n(70478);var p=n(52777);function composeDoc(e,t,{offset:n,start:f,value:y,end:v},D){const M=Object.assign({_directives:t},e);const U=new i.Document(undefined,M);const j={atKey:false,atRoot:true,directives:U.directives,options:U.options,schema:U.schema};const V=p.resolveProps(f,{indicator:"doc-start",next:y??v?.[0],offset:n,onError:D,parentIndent:0,startOnNewline:true});if(V.found){U.directives.docStart=true;if(y&&(y.type==="block-map"||y.type==="block-seq")&&!V.hasNewline)D(V.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")}U.contents=y?o.composeNode(j,y,V,D):o.composeEmptyNode(j,V.end,f,null,V,D);const K=U.contents.range[2];const ee=d.resolveEnd(v,K,false,D);if(ee.comment)U.comment=ee.comment;U.range=[n,K,ee.offset];return U}t.composeDoc=composeDoc},23571:(e,t,n)=>{"use strict";var i=n(66175);var o=n(1553);var d=n(39227);var p=n(56043);var f=n(70478);var y=n(52805);const v={composeNode:composeNode,composeEmptyNode:composeEmptyNode};function composeNode(e,t,n,i){const f=e.atKey;const{spaceBefore:y,comment:D,anchor:M,tag:U}=n;let j;let V=true;switch(t.type){case"alias":j=composeAlias(e,t,i);if(M||U)i(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":j=p.composeScalar(e,t,U,i);if(M)j.anchor=M.source.substring(1);break;case"block-map":case"block-seq":case"flow-collection":j=d.composeCollection(v,e,t,n,i);if(M)j.anchor=M.source.substring(1);break;default:{const o=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;i(t,"UNEXPECTED_TOKEN",o);j=composeEmptyNode(e,t.offset,undefined,null,n,i);V=false}}if(M&&j.anchor==="")i(M,"BAD_ALIAS","Anchor cannot be an empty string");if(f&&e.options.stringKeys&&(!o.isScalar(j)||typeof j.value!=="string"||j.tag&&j.tag!=="tag:yaml.org,2002:str")){const e="With stringKeys, all keys must be strings";i(U??t,"NON_STRING_KEY",e)}if(y)j.spaceBefore=true;if(D){if(t.type==="scalar"&&t.source==="")j.comment=D;else j.commentBefore=D}if(e.options.keepSourceTokens&&V)j.srcToken=t;return j}function composeEmptyNode(e,t,n,i,{spaceBefore:o,comment:d,anchor:f,tag:v,end:D},M){const U={type:"scalar",offset:y.emptyScalarPosition(t,n,i),indent:-1,source:""};const j=p.composeScalar(e,U,v,M);if(f){j.anchor=f.source.substring(1);if(j.anchor==="")M(f,"BAD_ALIAS","Anchor cannot be an empty string")}if(o)j.spaceBefore=true;if(d){j.comment=d;j.range[2]=D}return j}function composeAlias({options:e},{offset:t,source:n,end:o},d){const p=new i.Alias(n.substring(1));if(p.source==="")d(t,"BAD_ALIAS","Alias cannot be an empty string");if(p.source.endsWith(":"))d(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",true);const y=t+n.length;const v=f.resolveEnd(o,y,e.strict,d);p.range=[t,y,v.offset];if(v.comment)p.comment=v.comment;return p}t.composeEmptyNode=composeEmptyNode;t.composeNode=composeNode},56043:(e,t,n)=>{"use strict";var i=n(1553);var o=n(22911);var d=n(79839);var p=n(53544);function composeScalar(e,t,n,f){const{value:y,type:v,comment:D,range:M}=t.type==="block-scalar"?d.resolveBlockScalar(e,t,f):p.resolveFlowScalar(t,e.options.strict,f);const U=n?e.directives.tagName(n.source,(e=>f(n,"TAG_RESOLVE_FAILED",e))):null;let j;if(e.options.stringKeys&&e.atKey){j=e.schema[i.SCALAR]}else if(U)j=findScalarTagByName(e.schema,y,U,n,f);else if(t.type==="scalar")j=findScalarTagByTest(e,y,t,f);else j=e.schema[i.SCALAR];let V;try{const d=j.resolve(y,(e=>f(n??t,"TAG_RESOLVE_FAILED",e)),e.options);V=i.isScalar(d)?d:new o.Scalar(d)}catch(e){const i=e instanceof Error?e.message:String(e);f(n??t,"TAG_RESOLVE_FAILED",i);V=new o.Scalar(y)}V.range=M;V.source=y;if(v)V.type=v;if(U)V.tag=U;if(j.format)V.format=j.format;if(D)V.comment=D;return V}function findScalarTagByName(e,t,n,o,d){if(n==="!")return e[i.SCALAR];const p=[];for(const t of e.tags){if(!t.collection&&t.tag===n){if(t.default&&t.test)p.push(t);else return t}}for(const e of p)if(e.test?.test(t))return e;const f=e.knownTags[n];if(f&&!f.collection){e.tags.push(Object.assign({},f,{default:false,test:undefined}));return f}d(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str");return e[i.SCALAR]}function findScalarTagByTest({atKey:e,directives:t,schema:n},o,d,p){const f=n.tags.find((t=>(t.default===true||e&&t.default==="key")&&t.test?.test(o)))||n[i.SCALAR];if(n.compat){const e=n.compat.find((e=>e.default&&e.test?.test(o)))??n[i.SCALAR];if(f.tag!==e.tag){const n=t.tagString(f.tag);const i=t.tagString(e.tag);const o=`Value may be parsed as either ${n} or ${i}`;p(d,"TAG_RESOLVE_FAILED",o,true)}}return f}t.composeScalar=composeScalar},56854:(e,t,n)=>{"use strict";var i=n(1708);var o=n(26408);var d=n(71795);var p=n(32602);var f=n(1553);var y=n(93025);var v=n(70478);function getErrorPos(e){if(typeof e==="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n==="string"?n.length:1)]}function parsePrelude(e){let t="";let n=false;let i=false;for(let o=0;o<e.length;++o){const d=e[o];switch(d[0]){case"#":t+=(t===""?"":i?"\n\n":"\n")+(d.substring(1)||" ");n=true;i=false;break;case"%":if(e[o+1]?.[0]!=="#")o+=1;n=false;break;default:if(!n)i=true;n=false}}return{comment:t,afterEmptyLine:i}}class Composer{constructor(e={}){this.doc=null;this.atDirectives=false;this.prelude=[];this.errors=[];this.warnings=[];this.onError=(e,t,n,i)=>{const o=getErrorPos(e);if(i)this.warnings.push(new p.YAMLWarning(o,t,n));else this.errors.push(new p.YAMLParseError(o,t,n))};this.directives=new o.Directives({version:e.version||"1.2"});this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:i}=parsePrelude(this.prelude);if(n){const o=e.contents;if(t){e.comment=e.comment?`${e.comment}\n${n}`:n}else if(i||e.directives.docStart||!o){e.commentBefore=n}else if(f.isCollection(o)&&!o.flow&&o.items.length>0){let e=o.items[0];if(f.isPair(e))e=e.key;const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore;o.commentBefore=e?`${n}\n${e}`:n}}if(t){Array.prototype.push.apply(e.errors,this.errors);Array.prototype.push.apply(e.warnings,this.warnings)}else{e.errors=this.errors;e.warnings=this.warnings}this.prelude=[];this.errors=[];this.warnings=[]}streamInfo(){return{comment:parsePrelude(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=false,n=-1){for(const t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){if(i.env.LOG_STREAM)console.dir(e,{depth:null});switch(e.type){case"directive":this.directives.add(e.source,((t,n,i)=>{const o=getErrorPos(e);o[0]+=t;this.onError(o,"BAD_DIRECTIVE",n,i)}));this.prelude.push(e.source);this.atDirectives=true;break;case"document":{const t=y.composeDoc(this.options,this.directives,e,this.onError);if(this.atDirectives&&!t.directives.docStart)this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line");this.decorate(t,false);if(this.doc)yield this.doc;this.doc=t;this.atDirectives=false;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message;const n=new p.YAMLParseError(getErrorPos(e),"UNEXPECTED_TOKEN",t);if(this.atDirectives||!this.doc)this.errors.push(n);else this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new p.YAMLParseError(getErrorPos(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=true;const t=v.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);this.decorate(this.doc,true);if(t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new p.YAMLParseError(getErrorPos(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=false,t=-1){if(this.doc){this.decorate(this.doc,true);yield this.doc;this.doc=null}else if(e){const e=Object.assign({_directives:this.directives},this.options);const n=new d.Document(undefined,e);if(this.atDirectives)this.onError(t,"MISSING_CHAR","Missing directives-end indicator line");n.range=[0,t,t];this.decorate(n,false);yield n}}}t.Composer=Composer},51021:(e,t,n)=>{"use strict";var i=n(66487);var o=n(47320);var d=n(52777);var p=n(18305);var f=n(75437);var y=n(82661);const v="All mapping items must start at the same column";function resolveBlockMap({composeNode:e,composeEmptyNode:t},n,D,M,U){const j=U?.nodeClass??o.YAMLMap;const V=new j(n.schema);if(n.atRoot)n.atRoot=false;let K=D.offset;let ee=null;for(const o of D.items){const{start:U,key:j,sep:te,value:re}=o;const ne=d.resolveProps(U,{indicator:"explicit-key-ind",next:j??te?.[0],offset:K,onError:M,parentIndent:D.indent,startOnNewline:true});const se=!ne.found;if(se){if(j){if(j.type==="block-seq")M(K,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key");else if("indent"in j&&j.indent!==D.indent)M(K,"BAD_INDENT",v)}if(!ne.anchor&&!ne.tag&&!te){ee=ne.end;if(ne.comment){if(V.comment)V.comment+="\n"+ne.comment;else V.comment=ne.comment}continue}if(ne.newlineAfterProp||p.containsNewline(j)){M(j??U[U.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}}else if(ne.found?.indent!==D.indent){M(K,"BAD_INDENT",v)}n.atKey=true;const ie=ne.end;const oe=j?e(n,j,ne,M):t(n,ie,U,null,ne,M);if(n.schema.compat)f.flowIndentCheck(D.indent,j,M);n.atKey=false;if(y.mapIncludes(n,V.items,oe))M(ie,"DUPLICATE_KEY","Map keys must be unique");const ae=d.resolveProps(te??[],{indicator:"map-value-ind",next:re,offset:oe.range[2],onError:M,parentIndent:D.indent,startOnNewline:!j||j.type==="block-scalar"});K=ae.end;if(ae.found){if(se){if(re?.type==="block-map"&&!ae.hasNewline)M(K,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings");if(n.options.strict&&ne.start<ae.found.offset-1024)M(oe.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key")}const d=re?e(n,re,ae,M):t(n,K,te,null,ae,M);if(n.schema.compat)f.flowIndentCheck(D.indent,re,M);K=d.range[2];const p=new i.Pair(oe,d);if(n.options.keepSourceTokens)p.srcToken=o;V.items.push(p)}else{if(se)M(oe.range,"MISSING_CHAR","Implicit map keys need to be followed by map values");if(ae.comment){if(oe.comment)oe.comment+="\n"+ae.comment;else oe.comment=ae.comment}const e=new i.Pair(oe);if(n.options.keepSourceTokens)e.srcToken=o;V.items.push(e)}}if(ee&&ee<K)M(ee,"IMPOSSIBLE","Map comment with trailing content");V.range=[D.offset,K,ee??K];return V}t.resolveBlockMap=resolveBlockMap},79839:(e,t,n)=>{"use strict";var i=n(22911);function resolveBlockScalar(e,t,n){const o=t.offset;const d=parseBlockScalarHeader(t,e.options.strict,n);if(!d)return{value:"",type:null,comment:"",range:[o,o,o]};const p=d.mode===">"?i.Scalar.BLOCK_FOLDED:i.Scalar.BLOCK_LITERAL;const f=t.source?splitLines(t.source):[];let y=f.length;for(let e=f.length-1;e>=0;--e){const t=f[e][1];if(t===""||t==="\r")y=e;else break}if(y===0){const e=d.chomp==="+"&&f.length>0?"\n".repeat(Math.max(1,f.length-1)):"";let n=o+d.length;if(t.source)n+=t.source.length;return{value:e,type:p,comment:d.comment,range:[o,n,n]}}let v=t.indent+d.indent;let D=t.offset+d.length;let M=0;for(let t=0;t<y;++t){const[i,o]=f[t];if(o===""||o==="\r"){if(d.indent===0&&i.length>v)v=i.length}else{if(i.length<v){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(D+i.length,"MISSING_CHAR",e)}if(d.indent===0)v=i.length;M=t;if(v===0&&!e.atRoot){const e="Block scalar values in collections must be indented";n(D,"BAD_INDENT",e)}break}D+=i.length+o.length+1}for(let e=f.length-1;e>=y;--e){if(f[e][0].length>v)y=e+1}let U="";let j="";let V=false;for(let e=0;e<M;++e)U+=f[e][0].slice(v)+"\n";for(let e=M;e<y;++e){let[t,o]=f[e];D+=t.length+o.length+1;const y=o[o.length-1]==="\r";if(y)o=o.slice(0,-1);if(o&&t.length<v){const e=d.indent?"explicit indentation indicator":"first line";const i=`Block scalar lines must not be less indented than their ${e}`;n(D-o.length-(y?2:1),"BAD_INDENT",i);t=""}if(p===i.Scalar.BLOCK_LITERAL){U+=j+t.slice(v)+o;j="\n"}else if(t.length>v||o[0]==="\t"){if(j===" ")j="\n";else if(!V&&j==="\n")j="\n\n";U+=j+t.slice(v)+o;j="\n";V=true}else if(o===""){if(j==="\n")U+="\n";else j="\n"}else{U+=j+o;j=" ";V=false}}switch(d.chomp){case"-":break;case"+":for(let e=y;e<f.length;++e)U+="\n"+f[e][0].slice(v);if(U[U.length-1]!=="\n")U+="\n";break;default:U+="\n"}const K=o+d.length+t.source.length;return{value:U,type:p,comment:d.comment,range:[o,K,K]}}function parseBlockScalarHeader({offset:e,props:t},n,i){if(t[0].type!=="block-scalar-header"){i(t[0],"IMPOSSIBLE","Block scalar header not found");return null}const{source:o}=t[0];const d=o[0];let p=0;let f="";let y=-1;for(let t=1;t<o.length;++t){const n=o[t];if(!f&&(n==="-"||n==="+"))f=n;else{const i=Number(n);if(!p&&i)p=i;else if(y===-1)y=e+t}}if(y!==-1)i(y,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let v=false;let D="";let M=o.length;for(let e=1;e<t.length;++e){const o=t[e];switch(o.type){case"space":v=true;case"newline":M+=o.source.length;break;case"comment":if(n&&!v){const e="Comments must be separated from other tokens by white space characters";i(o,"MISSING_CHAR",e)}M+=o.source.length;D=o.source.substring(1);break;case"error":i(o,"UNEXPECTED_TOKEN",o.message);M+=o.source.length;break;default:{const e=`Unexpected token in block scalar header: ${o.type}`;i(o,"UNEXPECTED_TOKEN",e);const t=o.source;if(t&&typeof t==="string")M+=t.length}}}return{mode:d,indent:p,chomp:f,comment:D,length:M}}function splitLines(e){const t=e.split(/\n( *)/);const n=t[0];const i=n.match(/^( *)/);const o=i?.[1]?[i[1],n.slice(i[1].length)]:["",n];const d=[o];for(let e=1;e<t.length;e+=2)d.push([t[e],t[e+1]]);return d}t.resolveBlockScalar=resolveBlockScalar},504:(e,t,n)=>{"use strict";var i=n(51917);var o=n(52777);var d=n(75437);function resolveBlockSeq({composeNode:e,composeEmptyNode:t},n,p,f,y){const v=y?.nodeClass??i.YAMLSeq;const D=new v(n.schema);if(n.atRoot)n.atRoot=false;if(n.atKey)n.atKey=false;let M=p.offset;let U=null;for(const{start:i,value:y}of p.items){const v=o.resolveProps(i,{indicator:"seq-item-ind",next:y,offset:M,onError:f,parentIndent:p.indent,startOnNewline:true});if(!v.found){if(v.anchor||v.tag||y){if(y&&y.type==="block-seq")f(v.end,"BAD_INDENT","All sequence items must start at the same column");else f(M,"MISSING_CHAR","Sequence item without - indicator")}else{U=v.end;if(v.comment)D.comment=v.comment;continue}}const j=y?e(n,y,v,f):t(n,v.end,i,null,v,f);if(n.schema.compat)d.flowIndentCheck(p.indent,y,f);M=j.range[2];D.items.push(j)}D.range=[p.offset,M,U??M];return D}t.resolveBlockSeq=resolveBlockSeq},70478:(e,t)=>{"use strict";function resolveEnd(e,t,n,i){let o="";if(e){let d=false;let p="";for(const f of e){const{source:e,type:y}=f;switch(y){case"space":d=true;break;case"comment":{if(n&&!d)i(f,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";if(!o)o=t;else o+=p+t;p="";break}case"newline":if(o)p+=e;d=true;break;default:i(f,"UNEXPECTED_TOKEN",`Unexpected ${y} at node end`)}t+=e.length}}return{comment:o,offset:t}}t.resolveEnd=resolveEnd},42508:(e,t,n)=>{"use strict";var i=n(1553);var o=n(66487);var d=n(47320);var p=n(51917);var f=n(70478);var y=n(52777);var v=n(18305);var D=n(82661);const M="Block collections are not allowed within flow collections";const isBlock=e=>e&&(e.type==="block-map"||e.type==="block-seq");function resolveFlowCollection({composeNode:e,composeEmptyNode:t},n,U,j,V){const K=U.start.source==="{";const ee=K?"flow map":"flow sequence";const te=V?.nodeClass??(K?d.YAMLMap:p.YAMLSeq);const re=new te(n.schema);re.flow=true;const ne=n.atRoot;if(ne)n.atRoot=false;if(n.atKey)n.atKey=false;let se=U.offset+U.start.source.length;for(let p=0;p<U.items.length;++p){const f=U.items[p];const{start:V,key:te,sep:ne,value:ie}=f;const oe=y.resolveProps(V,{flow:ee,indicator:"explicit-key-ind",next:te??ne?.[0],offset:se,onError:j,parentIndent:U.indent,startOnNewline:false});if(!oe.found){if(!oe.anchor&&!oe.tag&&!ne&&!ie){if(p===0&&oe.comma)j(oe.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${ee}`);else if(p<U.items.length-1)j(oe.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${ee}`);if(oe.comment){if(re.comment)re.comment+="\n"+oe.comment;else re.comment=oe.comment}se=oe.end;continue}if(!K&&n.options.strict&&v.containsNewline(te))j(te,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(p===0){if(oe.comma)j(oe.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${ee}`)}else{if(!oe.comma)j(oe.start,"MISSING_CHAR",`Missing , between ${ee} items`);if(oe.comment){let e="";e:for(const t of V){switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}}if(e){let t=re.items[re.items.length-1];if(i.isPair(t))t=t.value??t.key;if(t.comment)t.comment+="\n"+e;else t.comment=e;oe.comment=oe.comment.substring(e.length+1)}}}if(!K&&!ne&&!oe.found){const i=ie?e(n,ie,oe,j):t(n,oe.end,ne,null,oe,j);re.items.push(i);se=i.range[2];if(isBlock(ie))j(i.range,"BLOCK_IN_FLOW",M)}else{n.atKey=true;const i=oe.end;const p=te?e(n,te,oe,j):t(n,i,V,null,oe,j);if(isBlock(te))j(p.range,"BLOCK_IN_FLOW",M);n.atKey=false;const v=y.resolveProps(ne??[],{flow:ee,indicator:"map-value-ind",next:ie,offset:p.range[2],onError:j,parentIndent:U.indent,startOnNewline:false});if(v.found){if(!K&&!oe.found&&n.options.strict){if(ne)for(const e of ne){if(e===v.found)break;if(e.type==="newline"){j(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}if(oe.start<v.found.offset-1024)j(v.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else if(ie){if("source"in ie&&ie.source&&ie.source[0]===":")j(ie,"MISSING_CHAR",`Missing space after : in ${ee}`);else j(v.start,"MISSING_CHAR",`Missing , or : between ${ee} items`)}const ae=ie?e(n,ie,v,j):v.found?t(n,v.end,ne,null,v,j):null;if(ae){if(isBlock(ie))j(ae.range,"BLOCK_IN_FLOW",M)}else if(v.comment){if(p.comment)p.comment+="\n"+v.comment;else p.comment=v.comment}const Ae=new o.Pair(p,ae);if(n.options.keepSourceTokens)Ae.srcToken=f;if(K){const e=re;if(D.mapIncludes(n,e.items,p))j(i,"DUPLICATE_KEY","Map keys must be unique");e.items.push(Ae)}else{const e=new d.YAMLMap(n.schema);e.flow=true;e.items.push(Ae);const t=(ae??p).range;e.range=[p.range[0],t[1],t[2]];re.items.push(e)}se=ae?ae.range[2]:v.end}}const ie=K?"}":"]";const[oe,...ae]=U.end;let Ae=se;if(oe&&oe.source===ie)Ae=oe.offset+oe.source.length;else{const e=ee[0].toUpperCase()+ee.substring(1);const t=ne?`${e} must end with a ${ie}`:`${e} in block collection must be sufficiently indented and end with a ${ie}`;j(se,ne?"MISSING_CHAR":"BAD_INDENT",t);if(oe&&oe.source.length!==1)ae.unshift(oe)}if(ae.length>0){const e=f.resolveEnd(ae,Ae,n.options.strict,j);if(e.comment){if(re.comment)re.comment+="\n"+e.comment;else re.comment=e.comment}re.range=[U.offset,Ae,e.offset]}else{re.range=[U.offset,Ae,Ae]}return re}t.resolveFlowCollection=resolveFlowCollection},53544:(e,t,n)=>{"use strict";var i=n(22911);var o=n(70478);function resolveFlowScalar(e,t,n){const{offset:d,type:p,source:f,end:y}=e;let v;let D;const _onError=(e,t,i)=>n(d+e,t,i);switch(p){case"scalar":v=i.Scalar.PLAIN;D=plainValue(f,_onError);break;case"single-quoted-scalar":v=i.Scalar.QUOTE_SINGLE;D=singleQuotedValue(f,_onError);break;case"double-quoted-scalar":v=i.Scalar.QUOTE_DOUBLE;D=doubleQuotedValue(f,_onError);break;default:n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${p}`);return{value:"",type:null,comment:"",range:[d,d+f.length,d+f.length]}}const M=d+f.length;const U=o.resolveEnd(y,M,t,n);return{value:D,type:v,comment:U.comment,range:[d,M,U.offset]}}function plainValue(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}if(n)t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return foldLines(e)}function singleQuotedValue(e,t){if(e[e.length-1]!=="'"||e.length===1)t(e.length,"MISSING_CHAR","Missing closing 'quote");return foldLines(e.slice(1,-1)).replace(/''/g,"'")}function foldLines(e){let t,n;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy");n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy;n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let i=t.exec(e);if(!i)return e;let o=i[1];let d=" ";let p=t.lastIndex;n.lastIndex=p;while(i=n.exec(e)){if(i[1]===""){if(d==="\n")o+=d;else d="\n"}else{o+=d+i[1];d=" "}p=n.lastIndex}const f=/[ \t]*(.*)/sy;f.lastIndex=p;i=f.exec(e);return o+d+(i?.[1]??"")}function doubleQuotedValue(e,t){let n="";for(let i=1;i<e.length-1;++i){const o=e[i];if(o==="\r"&&e[i+1]==="\n")continue;if(o==="\n"){const{fold:t,offset:o}=foldNewline(e,i);n+=t;i=o}else if(o==="\\"){let o=e[++i];const p=d[o];if(p)n+=p;else if(o==="\n"){o=e[i+1];while(o===" "||o==="\t")o=e[++i+1]}else if(o==="\r"&&e[i+1]==="\n"){o=e[++i+1];while(o===" "||o==="\t")o=e[++i+1]}else if(o==="x"||o==="u"||o==="U"){const d={x:2,u:4,U:8}[o];n+=parseCharCode(e,i+1,d,t);i+=d}else{const o=e.substr(i-1,2);t(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`);n+=o}}else if(o===" "||o==="\t"){const t=i;let d=e[i+1];while(d===" "||d==="\t")d=e[++i+1];if(d!=="\n"&&!(d==="\r"&&e[i+2]==="\n"))n+=i>t?e.slice(t,i+1):o}else{n+=o}}if(e[e.length-1]!=='"'||e.length===1)t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}function foldNewline(e,t){let n="";let i=e[t+1];while(i===" "||i==="\t"||i==="\n"||i==="\r"){if(i==="\r"&&e[t+2]!=="\n")break;if(i==="\n")n+="\n";t+=1;i=e[t+1]}if(!n)n=" ";return{fold:n,offset:t}}const d={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function parseCharCode(e,t,n,i){const o=e.substr(t,n);const d=o.length===n&&/^[0-9a-fA-F]+$/.test(o);const p=d?parseInt(o,16):NaN;if(isNaN(p)){const o=e.substr(t-2,n+2);i(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`);return o}return String.fromCodePoint(p)}t.resolveFlowScalar=resolveFlowScalar},52777:(e,t)=>{"use strict";function resolveProps(e,{flow:t,indicator:n,next:i,offset:o,onError:d,parentIndent:p,startOnNewline:f}){let y=false;let v=f;let D=f;let M="";let U="";let j=false;let V=false;let K=null;let ee=null;let te=null;let re=null;let ne=null;let se=null;let ie=null;for(const o of e){if(V){if(o.type!=="space"&&o.type!=="newline"&&o.type!=="comma")d(o.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space");V=false}if(K){if(v&&o.type!=="comment"&&o.type!=="newline"){d(K,"TAB_AS_INDENT","Tabs are not allowed as indentation")}K=null}switch(o.type){case"space":if(!t&&(n!=="doc-start"||i?.type!=="flow-collection")&&o.source.includes("\t")){K=o}D=true;break;case"comment":{if(!D)d(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=o.source.substring(1)||" ";if(!M)M=e;else M+=U+e;U="";v=false;break}case"newline":if(v){if(M)M+=o.source;else if(!se||n!=="seq-item-ind")y=true}else U+=o.source;v=true;j=true;if(ee||te)re=o;D=true;break;case"anchor":if(ee)d(o,"MULTIPLE_ANCHORS","A node can have at most one anchor");if(o.source.endsWith(":"))d(o.offset+o.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",true);ee=o;if(ie===null)ie=o.offset;v=false;D=false;V=true;break;case"tag":{if(te)d(o,"MULTIPLE_TAGS","A node can have at most one tag");te=o;if(ie===null)ie=o.offset;v=false;D=false;V=true;break}case n:if(ee||te)d(o,"BAD_PROP_ORDER",`Anchors and tags must be after the ${o.source} indicator`);if(se)d(o,"UNEXPECTED_TOKEN",`Unexpected ${o.source} in ${t??"collection"}`);se=o;v=n==="seq-item-ind"||n==="explicit-key-ind";D=false;break;case"comma":if(t){if(ne)d(o,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`);ne=o;v=false;D=false;break}default:d(o,"UNEXPECTED_TOKEN",`Unexpected ${o.type} token`);v=false;D=false}}const oe=e[e.length-1];const ae=oe?oe.offset+oe.source.length:o;if(V&&i&&i.type!=="space"&&i.type!=="newline"&&i.type!=="comma"&&(i.type!=="scalar"||i.source!=="")){d(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space")}if(K&&(v&&K.indent<=p||i?.type==="block-map"||i?.type==="block-seq"))d(K,"TAB_AS_INDENT","Tabs are not allowed as indentation");return{comma:ne,found:se,spaceBefore:y,comment:M,hasNewline:j,anchor:ee,tag:te,newlineAfterProp:re,end:ae,start:ie??ae}}t.resolveProps=resolveProps},18305:(e,t)=>{"use strict";function containsNewline(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return true;if(e.end)for(const t of e.end)if(t.type==="newline")return true;return false;case"flow-collection":for(const t of e.items){for(const e of t.start)if(e.type==="newline")return true;if(t.sep)for(const e of t.sep)if(e.type==="newline")return true;if(containsNewline(t.key)||containsNewline(t.value))return true}return false;default:return true}}t.containsNewline=containsNewline},52805:(e,t)=>{"use strict";function emptyScalarPosition(e,t,n){if(t){if(n===null)n=t.length;for(let i=n-1;i>=0;--i){let n=t[i];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}n=t[++i];while(n?.type==="space"){e+=n.source.length;n=t[++i]}break}}return e}t.emptyScalarPosition=emptyScalarPosition},75437:(e,t,n)=>{"use strict";var i=n(18305);function flowIndentCheck(e,t,n){if(t?.type==="flow-collection"){const o=t.end[0];if(o.indent===e&&(o.source==="]"||o.source==="}")&&i.containsNewline(t)){const e="Flow end indicator should be more indented than parent";n(o,"BAD_INDENT",e,true)}}}t.flowIndentCheck=flowIndentCheck},82661:(e,t,n)=>{"use strict";var i=n(1553);function mapIncludes(e,t,n){const{uniqueKeys:o}=e.options;if(o===false)return false;const d=typeof o==="function"?o:(e,t)=>e===t||i.isScalar(e)&&i.isScalar(t)&&e.value===t.value;return t.some((e=>d(e.key,n)))}t.mapIncludes=mapIncludes},71795:(e,t,n)=>{"use strict";var i=n(66175);var o=n(67535);var d=n(1553);var p=n(66487);var f=n(26133);var y=n(526);var v=n(4639);var D=n(90910);var M=n(56151);var U=n(61534);var j=n(26408);class Document{constructor(e,t,n){this.commentBefore=null;this.comment=null;this.errors=[];this.warnings=[];Object.defineProperty(this,d.NODE_TYPE,{value:d.DOC});let i=null;if(typeof t==="function"||Array.isArray(t)){i=t}else if(n===undefined&&t){n=t;t=undefined}const o=Object.assign({intAsBigInt:false,keepSourceTokens:false,logLevel:"warn",prettyErrors:true,strict:true,stringKeys:false,uniqueKeys:true,version:"1.2"},n);this.options=o;let{version:p}=o;if(n?._directives){this.directives=n._directives.atDocument();if(this.directives.yaml.explicit)p=this.directives.yaml.version}else this.directives=new j.Directives({version:p});this.setSchema(p,n);this.contents=e===undefined?null:this.createNode(e,i,n)}clone(){const e=Object.create(Document.prototype,{[d.NODE_TYPE]:{value:d.DOC}});e.commentBefore=this.commentBefore;e.comment=this.comment;e.errors=this.errors.slice();e.warnings=this.warnings.slice();e.options=Object.assign({},this.options);if(this.directives)e.directives=this.directives.clone();e.schema=this.schema.clone();e.contents=d.isNode(this.contents)?this.contents.clone(e.schema):this.contents;if(this.range)e.range=this.range.slice();return e}add(e){if(assertCollection(this.contents))this.contents.add(e)}addIn(e,t){if(assertCollection(this.contents))this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=D.anchorNames(this);e.anchor=!t||n.has(t)?D.findNewAnchor(t||"a",n):t}return new i.Alias(e.anchor)}createNode(e,t,n){let i=undefined;if(typeof t==="function"){e=t.call({"":e},"",e);i=t}else if(Array.isArray(t)){const keyToStr=e=>typeof e==="number"||e instanceof String||e instanceof Number;const e=t.filter(keyToStr).map(String);if(e.length>0)t=t.concat(e);i=t}else if(n===undefined&&t){n=t;t=undefined}const{aliasDuplicateObjects:o,anchorPrefix:p,flow:f,keepUndefined:y,onTagObj:v,tag:M}=n??{};const{onAnchor:j,setAnchors:V,sourceObjects:K}=D.createNodeAnchors(this,p||"a");const ee={aliasDuplicateObjects:o??true,keepUndefined:y??false,onAnchor:j,onTagObj:v,replacer:i,schema:this.schema,sourceObjects:K};const te=U.createNode(e,M,ee);if(f&&d.isCollection(te))te.flow=true;V();return te}createPair(e,t,n={}){const i=this.createNode(e,null,n);const o=this.createNode(t,null,n);return new p.Pair(i,o)}delete(e){return assertCollection(this.contents)?this.contents.delete(e):false}deleteIn(e){if(o.isEmptyPath(e)){if(this.contents==null)return false;this.contents=null;return true}return assertCollection(this.contents)?this.contents.deleteIn(e):false}get(e,t){return d.isCollection(this.contents)?this.contents.get(e,t):undefined}getIn(e,t){if(o.isEmptyPath(e))return!t&&d.isScalar(this.contents)?this.contents.value:this.contents;return d.isCollection(this.contents)?this.contents.getIn(e,t):undefined}has(e){return d.isCollection(this.contents)?this.contents.has(e):false}hasIn(e){if(o.isEmptyPath(e))return this.contents!==undefined;return d.isCollection(this.contents)?this.contents.hasIn(e):false}set(e,t){if(this.contents==null){this.contents=o.collectionFromPath(this.schema,[e],t)}else if(assertCollection(this.contents)){this.contents.set(e,t)}}setIn(e,t){if(o.isEmptyPath(e)){this.contents=t}else if(this.contents==null){this.contents=o.collectionFromPath(this.schema,Array.from(e),t)}else if(assertCollection(this.contents)){this.contents.setIn(e,t)}}setSchema(e,t={}){if(typeof e==="number")e=String(e);let n;switch(e){case"1.1":if(this.directives)this.directives.yaml.version="1.1";else this.directives=new j.Directives({version:"1.1"});n={resolveKnownTags:false,schema:"yaml-1.1"};break;case"1.2":case"next":if(this.directives)this.directives.yaml.version=e;else this.directives=new j.Directives({version:e});n={resolveKnownTags:true,schema:"core"};break;case null:if(this.directives)delete this.directives;n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new y.Schema(Object.assign(n,t));else throw new Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:i,onAnchor:o,reviver:d}={}){const p={anchors:new Map,doc:this,keep:!e,mapAsMap:n===true,mapKeyWarned:false,maxAliasCount:typeof i==="number"?i:100};const y=f.toJS(this.contents,t??"",p);if(typeof o==="function")for(const{count:e,res:t}of p.anchors.values())o(t,e);return typeof d==="function"?M.applyReviver(d,{"":y},"",y):y}toJSON(e,t){return this.toJS({json:true,jsonArg:e,mapAsMap:false,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return v.stringifyDocument(this,e)}}function assertCollection(e){if(d.isCollection(e))return true;throw new Error("Expected a YAML collection as document contents")}t.Document=Document},90910:(e,t,n)=>{"use strict";var i=n(1553);var o=n(1766);function anchorIsValid(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);const n=`Anchor must not contain whitespace or control characters: ${t}`;throw new Error(n)}return true}function anchorNames(e){const t=new Set;o.visit(e,{Value(e,n){if(n.anchor)t.add(n.anchor)}});return t}function findNewAnchor(e,t){for(let n=1;true;++n){const i=`${e}${n}`;if(!t.has(i))return i}}function createNodeAnchors(e,t){const n=[];const o=new Map;let d=null;return{onAnchor:i=>{n.push(i);if(!d)d=anchorNames(e);const o=findNewAnchor(t,d);d.add(o);return o},setAnchors:()=>{for(const e of n){const t=o.get(e);if(typeof t==="object"&&t.anchor&&(i.isScalar(t.node)||i.isCollection(t.node))){t.node.anchor=t.anchor}else{const t=new Error("Failed to resolve repeated object (this should not happen)");t.source=e;throw t}}},sourceObjects:o}}t.anchorIsValid=anchorIsValid;t.anchorNames=anchorNames;t.createNodeAnchors=createNodeAnchors;t.findNewAnchor=findNewAnchor},56151:(e,t)=>{"use strict";function applyReviver(e,t,n,i){if(i&&typeof i==="object"){if(Array.isArray(i)){for(let t=0,n=i.length;t<n;++t){const n=i[t];const o=applyReviver(e,i,String(t),n);if(o===undefined)delete i[t];else if(o!==n)i[t]=o}}else if(i instanceof Map){for(const t of Array.from(i.keys())){const n=i.get(t);const o=applyReviver(e,i,t,n);if(o===undefined)i.delete(t);else if(o!==n)i.set(t,o)}}else if(i instanceof Set){for(const t of Array.from(i)){const n=applyReviver(e,i,t,t);if(n===undefined)i.delete(t);else if(n!==t){i.delete(t);i.add(n)}}}else{for(const[t,n]of Object.entries(i)){const o=applyReviver(e,i,t,n);if(o===undefined)delete i[t];else if(o!==n)i[t]=o}}}return e.call(t,n,i)}t.applyReviver=applyReviver},61534:(e,t,n)=>{"use strict";var i=n(66175);var o=n(1553);var d=n(22911);const p="tag:yaml.org,2002:";function findTagObject(e,t,n){if(t){const e=n.filter((e=>e.tag===t));const i=e.find((e=>!e.format))??e[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find((t=>t.identify?.(e)&&!t.format))}function createNode(e,t,n){if(o.isDocument(e))e=e.contents;if(o.isNode(e))return e;if(o.isPair(e)){const t=n.schema[o.MAP].createNode?.(n.schema,null,n);t.items.push(e);return t}if(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt!=="undefined"&&e instanceof BigInt){e=e.valueOf()}const{aliasDuplicateObjects:f,onAnchor:y,onTagObj:v,schema:D,sourceObjects:M}=n;let U=undefined;if(f&&e&&typeof e==="object"){U=M.get(e);if(U){if(!U.anchor)U.anchor=y(e);return new i.Alias(U.anchor)}else{U={anchor:null,node:null};M.set(e,U)}}if(t?.startsWith("!!"))t=p+t.slice(2);let j=findTagObject(e,t,D.tags);if(!j){if(e&&typeof e.toJSON==="function"){e=e.toJSON()}if(!e||typeof e!=="object"){const t=new d.Scalar(e);if(U)U.node=t;return t}j=e instanceof Map?D[o.MAP]:Symbol.iterator in Object(e)?D[o.SEQ]:D[o.MAP]}if(v){v(j);delete n.onTagObj}const V=j?.createNode?j.createNode(n.schema,e,n):typeof j?.nodeClass?.from==="function"?j.nodeClass.from(n.schema,e,n):new d.Scalar(e);if(t)V.tag=t;else if(!j.default)V.tag=j.tag;if(U)U.node=V;return V}t.createNode=createNode},26408:(e,t,n)=>{"use strict";var i=n(1553);var o=n(1766);const d={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};const escapeTagName=e=>e.replace(/[!,[\]{}]/g,(e=>d[e]));class Directives{constructor(e,t){this.docStart=null;this.docEnd=false;this.yaml=Object.assign({},Directives.defaultYaml,e);this.tags=Object.assign({},Directives.defaultTags,t)}clone(){const e=new Directives(this.yaml,this.tags);e.docStart=this.docStart;return e}atDocument(){const e=new Directives(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=true;break;case"1.2":this.atNextDocument=false;this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.2"};this.tags=Object.assign({},Directives.defaultTags);break}return e}add(e,t){if(this.atNextDocument){this.yaml={explicit:Directives.defaultYaml.explicit,version:"1.1"};this.tags=Object.assign({},Directives.defaultTags);this.atNextDocument=false}const n=e.trim().split(/[ \t]+/);const i=n.shift();switch(i){case"%TAG":{if(n.length!==2){t(0,"%TAG directive should contain exactly two parts");if(n.length<2)return false}const[e,i]=n;this.tags[e]=i;return true}case"%YAML":{this.yaml.explicit=true;if(n.length!==1){t(0,"%YAML directive should contain exactly one part");return false}const[e]=n;if(e==="1.1"||e==="1.2"){this.yaml.version=e;return true}else{const n=/^\d+\.\d+$/.test(e);t(6,`Unsupported YAML version ${e}`,n);return false}}default:t(0,`Unknown directive ${i}`,true);return false}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!"){t(`Not a valid tag: ${e}`);return null}if(e[1]==="<"){const n=e.slice(2,-1);if(n==="!"||n==="!!"){t(`Verbatim tags aren't resolved, so ${e} is invalid.`);return null}if(e[e.length-1]!==">")t("Verbatim tags must end with a >");return n}const[,n,i]=e.match(/^(.*!)([^!]*)$/s);if(!i)t(`The ${e} tag has no suffix`);const o=this.tags[n];if(o){try{return o+decodeURIComponent(i)}catch(e){t(String(e));return null}}if(n==="!")return e;t(`Could not resolve tag: ${e}`);return null}tagString(e){for(const[t,n]of Object.entries(this.tags)){if(e.startsWith(n))return t+escapeTagName(e.substring(n.length))}return e[0]==="!"?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[];const n=Object.entries(this.tags);let d;if(e&&n.length>0&&i.isNode(e.contents)){const t={};o.visit(e.contents,((e,n)=>{if(i.isNode(n)&&n.tag)t[n.tag]=true}));d=Object.keys(t)}else d=[];for(const[i,o]of n){if(i==="!!"&&o==="tag:yaml.org,2002:")continue;if(!e||d.some((e=>e.startsWith(o))))t.push(`%TAG ${i} ${o}`)}return t.join("\n")}}Directives.defaultYaml={explicit:false,version:"1.2"};Directives.defaultTags={"!!":"tag:yaml.org,2002:"};t.Directives=Directives},32602:(e,t)=>{"use strict";class YAMLError extends Error{constructor(e,t,n,i){super();this.name=e;this.code=n;this.message=i;this.pos=t}}class YAMLParseError extends YAMLError{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class YAMLWarning extends YAMLError{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const prettifyError=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:i,col:o}=n.linePos[0];n.message+=` at line ${i}, column ${o}`;let d=o-1;let p=e.substring(t.lineStarts[i-1],t.lineStarts[i]).replace(/[\n\r]+$/,"");if(d>=60&&p.length>80){const e=Math.min(d-39,p.length-79);p="…"+p.substring(e);d-=e-1}if(p.length>80)p=p.substring(0,79)+"…";if(i>1&&/^ *$/.test(p.substring(0,d))){let n=e.substring(t.lineStarts[i-2],t.lineStarts[i-1]);if(n.length>80)n=n.substring(0,79)+"…\n";p=n+p}if(/[^ ]/.test(p)){let e=1;const t=n.linePos[1];if(t&&t.line===i&&t.col>o){e=Math.max(1,Math.min(t.col-o,80-d))}const f=" ".repeat(d)+"^".repeat(e);n.message+=`:\n\n${p}\n${f}\n`}};t.YAMLError=YAMLError;t.YAMLParseError=YAMLParseError;t.YAMLWarning=YAMLWarning;t.prettifyError=prettifyError},87669:(e,t,n)=>{"use strict";var i=n(56854);var o=n(71795);var d=n(526);var p=n(32602);var f=n(66175);var y=n(1553);var v=n(66487);var D=n(22911);var M=n(47320);var U=n(51917);var j=n(77595);var V=n(38051);var K=n(29090);var ee=n(77734);var te=n(16101);var re=n(1766);t.Composer=i.Composer;t.Document=o.Document;t.Schema=d.Schema;t.YAMLError=p.YAMLError;t.YAMLParseError=p.YAMLParseError;t.YAMLWarning=p.YAMLWarning;t.Alias=f.Alias;t.isAlias=y.isAlias;t.isCollection=y.isCollection;t.isDocument=y.isDocument;t.isMap=y.isMap;t.isNode=y.isNode;t.isPair=y.isPair;t.isScalar=y.isScalar;t.isSeq=y.isSeq;t.Pair=v.Pair;t.Scalar=D.Scalar;t.YAMLMap=M.YAMLMap;t.YAMLSeq=U.YAMLSeq;t.CST=j;t.Lexer=V.Lexer;t.LineCounter=K.LineCounter;t.Parser=ee.Parser;t.parse=te.parse;t.parseAllDocuments=te.parseAllDocuments;t.parseDocument=te.parseDocument;t.stringify=te.stringify;t.visit=re.visit;t.visitAsync=re.visitAsync},97851:(e,t,n)=>{"use strict";var i=n(1708);function debug(e,...t){if(e==="debug")console.log(...t)}function warn(e,t){if(e==="debug"||e==="warn"){if(typeof i.emitWarning==="function")i.emitWarning(t);else console.warn(t)}}t.debug=debug;t.warn=warn},66175:(e,t,n)=>{"use strict";var i=n(90910);var o=n(1766);var d=n(1553);var p=n(93279);var f=n(26133);class Alias extends p.NodeBase{constructor(e){super(d.ALIAS);this.source=e;Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t=undefined;o.visit(e,{Node:(e,n)=>{if(n===this)return o.visit.BREAK;if(n.anchor===this.source)t=n}});return t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:i,maxAliasCount:o}=t;const d=this.resolve(i);if(!d){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let p=n.get(d);if(!p){f.toJS(d,null,t);p=n.get(d)}if(!p||p.res===undefined){const e="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(e)}if(o>=0){p.count+=1;if(p.aliasCount===0)p.aliasCount=getAliasCount(i,d,n);if(p.count*p.aliasCount>o){const e="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(e)}}return p.res}toString(e,t,n){const o=`*${this.source}`;if(e){i.anchorIsValid(this.source);if(e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${o} `}return o}}function getAliasCount(e,t,n){if(d.isAlias(t)){const i=t.resolve(e);const o=n&&i&&n.get(i);return o?o.count*o.aliasCount:0}else if(d.isCollection(t)){let i=0;for(const o of t.items){const t=getAliasCount(e,o,n);if(t>i)i=t}return i}else if(d.isPair(t)){const i=getAliasCount(e,t.key,n);const o=getAliasCount(e,t.value,n);return Math.max(i,o)}return 1}t.Alias=Alias},67535:(e,t,n)=>{"use strict";var i=n(61534);var o=n(1553);var d=n(93279);function collectionFromPath(e,t,n){let o=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if(typeof n==="number"&&Number.isInteger(n)&&n>=0){const e=[];e[n]=o;o=e}else{o=new Map([[n,o]])}}return i.createNode(o,undefined,{aliasDuplicateObjects:false,keepUndefined:false,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const isEmptyPath=e=>e==null||typeof e==="object"&&!!e[Symbol.iterator]().next().done;class Collection extends d.NodeBase{constructor(e,t){super(e);Object.defineProperty(this,"schema",{value:t,configurable:true,enumerable:false,writable:true})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(e)t.schema=e;t.items=t.items.map((t=>o.isNode(t)||o.isPair(t)?t.clone(e):t));if(this.range)t.range=this.range.slice();return t}addIn(e,t){if(isEmptyPath(e))this.add(t);else{const[n,...i]=e;const d=this.get(n,true);if(o.isCollection(d))d.addIn(i,t);else if(d===undefined&&this.schema)this.set(n,collectionFromPath(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(e){const[t,...n]=e;if(n.length===0)return this.delete(t);const i=this.get(t,true);if(o.isCollection(i))return i.deleteIn(n);else throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...i]=e;const d=this.get(n,true);if(i.length===0)return!t&&o.isScalar(d)?d.value:d;else return o.isCollection(d)?d.getIn(i,t):undefined}hasAllNullValues(e){return this.items.every((t=>{if(!o.isPair(t))return false;const n=t.value;return n==null||e&&o.isScalar(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(n.length===0)return this.has(t);const i=this.get(t,true);return o.isCollection(i)?i.hasIn(n):false}setIn(e,t){const[n,...i]=e;if(i.length===0){this.set(n,t)}else{const e=this.get(n,true);if(o.isCollection(e))e.setIn(i,t);else if(e===undefined&&this.schema)this.set(n,collectionFromPath(this.schema,i,t));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}}t.Collection=Collection;t.collectionFromPath=collectionFromPath;t.isEmptyPath=isEmptyPath},93279:(e,t,n)=>{"use strict";var i=n(56151);var o=n(1553);var d=n(26133);class NodeBase{constructor(e){Object.defineProperty(this,o.NODE_TYPE,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(this.range)e.range=this.range.slice();return e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:p,reviver:f}={}){if(!o.isDocument(e))throw new TypeError("A document argument is required");const y={anchors:new Map,doc:e,keep:true,mapAsMap:t===true,mapKeyWarned:false,maxAliasCount:typeof n==="number"?n:100};const v=d.toJS(this,"",y);if(typeof p==="function")for(const{count:e,res:t}of y.anchors.values())p(t,e);return typeof f==="function"?i.applyReviver(f,{"":v},"",v):v}}t.NodeBase=NodeBase},66487:(e,t,n)=>{"use strict";var i=n(61534);var o=n(92398);var d=n(79358);var p=n(1553);function createPair(e,t,n){const o=i.createNode(e,undefined,n);const d=i.createNode(t,undefined,n);return new Pair(o,d)}class Pair{constructor(e,t=null){Object.defineProperty(this,p.NODE_TYPE,{value:p.PAIR});this.key=e;this.value=t}clone(e){let{key:t,value:n}=this;if(p.isNode(t))t=t.clone(e);if(p.isNode(n))n=n.clone(e);return new Pair(t,n)}toJSON(e,t){const n=t?.mapAsMap?new Map:{};return d.addPairToJSMap(t,n,this)}toString(e,t,n){return e?.doc?o.stringifyPair(this,e,t,n):JSON.stringify(this)}}t.Pair=Pair;t.createPair=createPair},22911:(e,t,n)=>{"use strict";var i=n(1553);var o=n(93279);var d=n(26133);const isScalarValue=e=>!e||typeof e!=="function"&&typeof e!=="object";class Scalar extends o.NodeBase{constructor(e){super(i.SCALAR);this.value=e}toJSON(e,t){return t?.keep?this.value:d.toJS(this.value,e,t)}toString(){return String(this.value)}}Scalar.BLOCK_FOLDED="BLOCK_FOLDED";Scalar.BLOCK_LITERAL="BLOCK_LITERAL";Scalar.PLAIN="PLAIN";Scalar.QUOTE_DOUBLE="QUOTE_DOUBLE";Scalar.QUOTE_SINGLE="QUOTE_SINGLE";t.Scalar=Scalar;t.isScalarValue=isScalarValue},47320:(e,t,n)=>{"use strict";var i=n(22974);var o=n(79358);var d=n(67535);var p=n(1553);var f=n(66487);var y=n(22911);function findPair(e,t){const n=p.isScalar(t)?t.value:t;for(const i of e){if(p.isPair(i)){if(i.key===t||i.key===n)return i;if(p.isScalar(i.key)&&i.key.value===n)return i}}return undefined}class YAMLMap extends d.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(p.MAP,e);this.items=[]}static from(e,t,n){const{keepUndefined:i,replacer:o}=n;const d=new this(e);const add=(e,p)=>{if(typeof o==="function")p=o.call(t,e,p);else if(Array.isArray(o)&&!o.includes(e))return;if(p!==undefined||i)d.items.push(f.createPair(e,p,n))};if(t instanceof Map){for(const[e,n]of t)add(e,n)}else if(t&&typeof t==="object"){for(const e of Object.keys(t))add(e,t[e])}if(typeof e.sortMapEntries==="function"){d.items.sort(e.sortMapEntries)}return d}add(e,t){let n;if(p.isPair(e))n=e;else if(!e||typeof e!=="object"||!("key"in e)){n=new f.Pair(e,e?.value)}else n=new f.Pair(e.key,e.value);const i=findPair(this.items,n.key);const o=this.schema?.sortMapEntries;if(i){if(!t)throw new Error(`Key ${n.key} already set`);if(p.isScalar(i.value)&&y.isScalarValue(n.value))i.value.value=n.value;else i.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));if(e===-1)this.items.push(n);else this.items.splice(e,0,n)}else{this.items.push(n)}}delete(e){const t=findPair(this.items,e);if(!t)return false;const n=this.items.splice(this.items.indexOf(t),1);return n.length>0}get(e,t){const n=findPair(this.items,e);const i=n?.value;return(!t&&p.isScalar(i)?i.value:i)??undefined}has(e){return!!findPair(this.items,e)}set(e,t){this.add(new f.Pair(e,t),true)}toJSON(e,t,n){const i=n?new n:t?.mapAsMap?new Map:{};if(t?.onCreate)t.onCreate(i);for(const e of this.items)o.addPairToJSMap(t,i,e);return i}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items){if(!p.isPair(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`)}if(!e.allNullValues&&this.hasAllNullValues(false))e=Object.assign({},e,{allNullValues:true});return i.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}t.YAMLMap=YAMLMap;t.findPair=findPair},51917:(e,t,n)=>{"use strict";var i=n(61534);var o=n(22974);var d=n(67535);var p=n(1553);var f=n(22911);var y=n(26133);class YAMLSeq extends d.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(p.SEQ,e);this.items=[]}add(e){this.items.push(e)}delete(e){const t=asItemIndex(e);if(typeof t!=="number")return false;const n=this.items.splice(t,1);return n.length>0}get(e,t){const n=asItemIndex(e);if(typeof n!=="number")return undefined;const i=this.items[n];return!t&&p.isScalar(i)?i.value:i}has(e){const t=asItemIndex(e);return typeof t==="number"&&t<this.items.length}set(e,t){const n=asItemIndex(e);if(typeof n!=="number")throw new Error(`Expected a valid index, not ${e}.`);const i=this.items[n];if(p.isScalar(i)&&f.isScalarValue(t))i.value=t;else this.items[n]=t}toJSON(e,t){const n=[];if(t?.onCreate)t.onCreate(n);let i=0;for(const e of this.items)n.push(y.toJS(e,String(i++),t));return n}toString(e,t,n){if(!e)return JSON.stringify(this);return o.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t})}static from(e,t,n){const{replacer:o}=n;const d=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let p of t){if(typeof o==="function"){const n=t instanceof Set?p:String(e++);p=o.call(t,n,p)}d.items.push(i.createNode(p,undefined,n))}}return d}}function asItemIndex(e){let t=p.isScalar(e)?e.value:e;if(t&&typeof t==="string")t=Number(t);return typeof t==="number"&&Number.isInteger(t)&&t>=0?t:null}t.YAMLSeq=YAMLSeq},79358:(e,t,n)=>{"use strict";var i=n(97851);var o=n(86234);var d=n(81882);var p=n(1553);var f=n(26133);function addPairToJSMap(e,t,{key:n,value:i}){if(p.isNode(n)&&n.addToJSMap)n.addToJSMap(e,t,i);else if(o.isMergeKey(e,n))o.addMergeToJSMap(e,t,i);else{const o=f.toJS(n,"",e);if(t instanceof Map){t.set(o,f.toJS(i,o,e))}else if(t instanceof Set){t.add(o)}else{const d=stringifyKey(n,o,e);const p=f.toJS(i,d,e);if(d in t)Object.defineProperty(t,d,{value:p,writable:true,enumerable:true,configurable:true});else t[d]=p}}return t}function stringifyKey(e,t,n){if(t===null)return"";if(typeof t!=="object")return String(t);if(p.isNode(e)&&n?.doc){const t=d.createStringifyContext(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=true;t.inStringifyKey=true;const o=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(o);if(e.length>40)e=e.substring(0,36)+'..."';i.warn(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`);n.mapKeyWarned=true}return o}return JSON.stringify(t)}t.addPairToJSMap=addPairToJSMap},1553:(e,t)=>{"use strict";const n=Symbol.for("yaml.alias");const i=Symbol.for("yaml.document");const o=Symbol.for("yaml.map");const d=Symbol.for("yaml.pair");const p=Symbol.for("yaml.scalar");const f=Symbol.for("yaml.seq");const y=Symbol.for("yaml.node.type");const isAlias=e=>!!e&&typeof e==="object"&&e[y]===n;const isDocument=e=>!!e&&typeof e==="object"&&e[y]===i;const isMap=e=>!!e&&typeof e==="object"&&e[y]===o;const isPair=e=>!!e&&typeof e==="object"&&e[y]===d;const isScalar=e=>!!e&&typeof e==="object"&&e[y]===p;const isSeq=e=>!!e&&typeof e==="object"&&e[y]===f;function isCollection(e){if(e&&typeof e==="object")switch(e[y]){case o:case f:return true}return false}function isNode(e){if(e&&typeof e==="object")switch(e[y]){case n:case o:case p:case f:return true}return false}const hasAnchor=e=>(isScalar(e)||isCollection(e))&&!!e.anchor;t.ALIAS=n;t.DOC=i;t.MAP=o;t.NODE_TYPE=y;t.PAIR=d;t.SCALAR=p;t.SEQ=f;t.hasAnchor=hasAnchor;t.isAlias=isAlias;t.isCollection=isCollection;t.isDocument=isDocument;t.isMap=isMap;t.isNode=isNode;t.isPair=isPair;t.isScalar=isScalar;t.isSeq=isSeq},26133:(e,t,n)=>{"use strict";var i=n(1553);function toJS(e,t,n){if(Array.isArray(e))return e.map(((e,t)=>toJS(e,String(t),n)));if(e&&typeof e.toJSON==="function"){if(!n||!i.hasAnchor(e))return e.toJSON(t,n);const o={aliasCount:0,count:1,res:undefined};n.anchors.set(e,o);n.onCreate=e=>{o.res=e;delete n.onCreate};const d=e.toJSON(t,n);if(n.onCreate)n.onCreate(d);return d}if(typeof e==="bigint"&&!n?.keep)return Number(e);return e}t.toJS=toJS},97500:(e,t,n)=>{"use strict";var i=n(79839);var o=n(53544);var d=n(32602);var p=n(27323);function resolveAsScalar(e,t=true,n){if(e){const _onError=(e,t,i)=>{const o=typeof e==="number"?e:Array.isArray(e)?e[0]:e.offset;if(n)n(o,t,i);else throw new d.YAMLParseError([o,o+1],t,i)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return o.resolveFlowScalar(e,t,_onError);case"block-scalar":return i.resolveBlockScalar({options:{strict:t}},e,_onError)}}return null}function createScalarToken(e,t){const{implicitKey:n=false,indent:i,inFlow:o=false,offset:d=-1,type:f="PLAIN"}=t;const y=p.stringifyString({type:f,value:e},{implicitKey:n,indent:i>0?" ".repeat(i):"",inFlow:o,options:{blockQuote:true,lineWidth:-1}});const v=t.end??[{type:"newline",offset:-1,indent:i,source:"\n"}];switch(y[0]){case"|":case">":{const e=y.indexOf("\n");const t=y.substring(0,e);const n=y.substring(e+1)+"\n";const o=[{type:"block-scalar-header",offset:d,indent:i,source:t}];if(!addEndtoBlockProps(o,v))o.push({type:"newline",offset:-1,indent:i,source:"\n"});return{type:"block-scalar",offset:d,indent:i,props:o,source:n}}case'"':return{type:"double-quoted-scalar",offset:d,indent:i,source:y,end:v};case"'":return{type:"single-quoted-scalar",offset:d,indent:i,source:y,end:v};default:return{type:"scalar",offset:d,indent:i,source:y,end:v}}}function setScalarValue(e,t,n={}){let{afterKey:i=false,implicitKey:o=false,inFlow:d=false,type:f}=n;let y="indent"in e?e.indent:null;if(i&&typeof y==="number")y+=2;if(!f)switch(e.type){case"single-quoted-scalar":f="QUOTE_SINGLE";break;case"double-quoted-scalar":f="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if(t.type!=="block-scalar-header")throw new Error("Invalid block scalar header");f=t.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:f="PLAIN"}const v=p.stringifyString({type:f,value:t},{implicitKey:o||y===null,indent:y!==null&&y>0?" ".repeat(y):"",inFlow:d,options:{blockQuote:true,lineWidth:-1}});switch(v[0]){case"|":case">":setBlockScalarValue(e,v);break;case'"':setFlowScalarValue(e,v,"double-quoted-scalar");break;case"'":setFlowScalarValue(e,v,"single-quoted-scalar");break;default:setFlowScalarValue(e,v,"scalar")}}function setBlockScalarValue(e,t){const n=t.indexOf("\n");const i=t.substring(0,n);const o=t.substring(n+1)+"\n";if(e.type==="block-scalar"){const t=e.props[0];if(t.type!=="block-scalar-header")throw new Error("Invalid block scalar header");t.source=i;e.source=o}else{const{offset:t}=e;const n="indent"in e?e.indent:-1;const d=[{type:"block-scalar-header",offset:t,indent:n,source:i}];if(!addEndtoBlockProps(d,"end"in e?e.end:undefined))d.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const t of Object.keys(e))if(t!=="type"&&t!=="offset")delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:d,source:o})}}function addEndtoBlockProps(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":e.push(n);return true}return false}function setFlowScalarValue(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n;e.source=t;break;case"block-scalar":{const i=e.props.slice(1);let o=t.length;if(e.props[0].type==="block-scalar-header")o-=e.props[0].source.length;for(const e of i)e.offset+=o;delete e.props;Object.assign(e,{type:n,source:t,end:i});break}case"block-map":case"block-seq":{const i=e.offset+t.length;const o={type:"newline",offset:i,indent:e.indent,source:"\n"};delete e.items;Object.assign(e,{type:n,source:t,end:[o]});break}default:{const i="indent"in e?e.indent:-1;const o="end"in e&&Array.isArray(e.end)?e.end.filter((e=>e.type==="space"||e.type==="comment"||e.type==="newline")):[];for(const t of Object.keys(e))if(t!=="type"&&t!=="offset")delete e[t];Object.assign(e,{type:n,indent:i,source:t,end:o})}}}t.createScalarToken=createScalarToken;t.resolveAsScalar=resolveAsScalar;t.setScalarValue=setScalarValue},26711:(e,t)=>{"use strict";const stringify=e=>"type"in e?stringifyToken(e):stringifyItem(e);function stringifyToken(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=stringifyToken(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=stringifyItem(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=stringifyItem(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=stringifyItem(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function stringifyItem({start:e,key:t,sep:n,value:i}){let o="";for(const t of e)o+=t.source;if(t)o+=stringifyToken(t);if(n)for(const e of n)o+=e.source;if(i)o+=stringifyToken(i);return o}t.stringify=stringify},40937:(e,t)=>{"use strict";const n=Symbol("break visit");const i=Symbol("skip children");const o=Symbol("remove item");function visit(e,t){if("type"in e&&e.type==="document")e={start:e.start,value:e.value};_visit(Object.freeze([]),e,t)}visit.BREAK=n;visit.SKIP=i;visit.REMOVE=o;visit.itemAtPath=(e,t)=>{let n=e;for(const[e,i]of t){const t=n?.[e];if(t&&"items"in t){n=t.items[i]}else return undefined}return n};visit.parentCollection=(e,t)=>{const n=visit.itemAtPath(e,t.slice(0,-1));const i=t[t.length-1][0];const o=n?.[i];if(o&&"items"in o)return o;throw new Error("Parent collection not found")};function _visit(e,t,i){let d=i(t,e);if(typeof d==="symbol")return d;for(const p of["key","value"]){const f=t[p];if(f&&"items"in f){for(let t=0;t<f.items.length;++t){const d=_visit(Object.freeze(e.concat([[p,t]])),f.items[t],i);if(typeof d==="number")t=d-1;else if(d===n)return n;else if(d===o){f.items.splice(t,1);t-=1}}if(typeof d==="function"&&p==="key")d=d(t,e)}}return typeof d==="function"?d(t,e):d}t.visit=visit},77595:(e,t,n)=>{"use strict";var i=n(97500);var o=n(26711);var d=n(40937);const p="\ufeff";const f="";const y="";const v="";const isCollection=e=>!!e&&"items"in e;const isScalar=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function prettyToken(e){switch(e){case p:return"<BOM>";case f:return"<DOC>";case y:return"<FLOW_END>";case v:return"<SCALAR>";default:return JSON.stringify(e)}}function tokenType(e){switch(e){case p:return"byte-order-mark";case f:return"doc-mode";case y:return"flow-error-end";case v:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}t.createScalarToken=i.createScalarToken;t.resolveAsScalar=i.resolveAsScalar;t.setScalarValue=i.setScalarValue;t.stringify=o.stringify;t.visit=d.visit;t.BOM=p;t.DOCUMENT=f;t.FLOW_END=y;t.SCALAR=v;t.isCollection=isCollection;t.isScalar=isScalar;t.prettyToken=prettyToken;t.tokenType=tokenType},38051:(e,t,n)=>{"use strict";var i=n(77595);function isEmpty(e){switch(e){case undefined:case" ":case"\n":case"\r":case"\t":return true;default:return false}}const o=new Set("0123456789ABCDEFabcdef");const d=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");const p=new Set(",[]{}");const f=new Set(" ,[]{}\n\r\t");const isNotAnchorChar=e=>!e||f.has(e);class Lexer{constructor(){this.atEnd=false;this.blockScalarIndent=-1;this.blockScalarKeep=false;this.buffer="";this.flowKey=false;this.flowLevel=0;this.indentNext=0;this.indentValue=0;this.lineEndPos=null;this.next=null;this.pos=0}*lex(e,t=false){if(e){if(typeof e!=="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e;this.lineEndPos=null}this.atEnd=!t;let n=this.next??"stream";while(n&&(t||this.hasChars(1)))n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos;let t=this.buffer[e];while(t===" "||t==="\t")t=this.buffer[++e];if(!t||t==="#"||t==="\n")return true;if(t==="\r")return this.buffer[e+1]==="\n";return false}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;while(t===" ")t=this.buffer[++n+e];if(t==="\r"){const t=this.buffer[n+e+1];if(t==="\n"||!t&&!this.atEnd)return e+n+1}return t==="\n"||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if(t==="-"||t==="."){const t=this.buffer.substr(e,3);if((t==="---"||t==="...")&&isEmpty(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;if(typeof e!=="number"||e!==-1&&e<this.pos){e=this.buffer.indexOf("\n",this.pos);this.lineEndPos=e}if(e===-1)return this.atEnd?this.buffer.substring(this.pos):null;if(this.buffer[e-1]==="\r")e-=1;return this.buffer.substring(this.pos,e)}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){this.buffer=this.buffer.substring(this.pos);this.pos=0;this.lineEndPos=null;this.next=e;return null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext("stream");if(e[0]===i.BOM){yield*this.pushCount(1);e=e.substring(1)}if(e[0]==="%"){let t=e.length;let n=e.indexOf("#");while(n!==-1){const i=e[n-1];if(i===" "||i==="\t"){t=n-1;break}else{n=e.indexOf("#",n+1)}}while(true){const n=e[t-1];if(n===" "||n==="\t")t-=1;else break}const i=(yield*this.pushCount(t))+(yield*this.pushSpaces(true));yield*this.pushCount(e.length-i);this.pushNewline();return"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(true);yield*this.pushCount(e.length-t);yield*this.pushNewline();return"stream"}yield i.DOCUMENT;return yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if(e==="-"||e==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if((e==="---"||e==="...")&&isEmpty(this.charAt(3))){yield*this.pushCount(3);this.indentValue=0;this.indentNext=0;return e==="---"?"doc":"stream"}}this.indentValue=yield*this.pushSpaces(false);if(this.indentNext>this.indentValue&&!isEmpty(this.charAt(1)))this.indentNext=this.indentValue;return yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&isEmpty(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(true));this.indentNext=this.indentValue+1;this.indentValue+=e;return yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(true);const e=this.getLine();if(e===null)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case undefined:yield*this.pushNewline();return yield*this.parseLineStart();case"{":case"[":yield*this.pushCount(1);this.flowKey=false;this.flowLevel=1;return"flow";case"}":case"]":yield*this.pushCount(1);return"doc";case"*":yield*this.pushUntil(isNotAnchorChar);return"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":t+=(yield*this.parseBlockScalarHeader());t+=(yield*this.pushSpaces(true));yield*this.pushCount(e.length-t);yield*this.pushNewline();return yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t;let n=-1;do{e=yield*this.pushNewline();if(e>0){t=yield*this.pushSpaces(false);this.indentValue=n=t}else{t=0}t+=(yield*this.pushSpaces(true))}while(e+t>0);const o=this.getLine();if(o===null)return this.setNext("flow");if(n!==-1&&n<this.indentNext&&o[0]!=="#"||n===0&&(o.startsWith("---")||o.startsWith("..."))&&isEmpty(o[3])){const e=n===this.indentNext-1&&this.flowLevel===1&&(o[0]==="]"||o[0]==="}");if(!e){this.flowLevel=0;yield i.FLOW_END;return yield*this.parseLineStart()}}let d=0;while(o[d]===","){d+=(yield*this.pushCount(1));d+=(yield*this.pushSpaces(true));this.flowKey=false}d+=(yield*this.pushIndicators());switch(o[d]){case undefined:return"flow";case"#":yield*this.pushCount(o.length-d);return"flow";case"{":case"[":yield*this.pushCount(1);this.flowKey=false;this.flowLevel+=1;return"flow";case"}":case"]":yield*this.pushCount(1);this.flowKey=true;this.flowLevel-=1;return this.flowLevel?"flow":"doc";case"*":yield*this.pushUntil(isNotAnchorChar);return"flow";case'"':case"'":this.flowKey=true;return yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||isEmpty(e)||e===","){this.flowKey=false;yield*this.pushCount(1);yield*this.pushSpaces(true);return"flow"}}default:this.flowKey=false;return yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if(e==="'"){while(t!==-1&&this.buffer[t+1]==="'")t=this.buffer.indexOf("'",t+2)}else{while(t!==-1){let e=0;while(this.buffer[t-1-e]==="\\")e+=1;if(e%2===0)break;t=this.buffer.indexOf('"',t+1)}}const n=this.buffer.substring(0,t);let i=n.indexOf("\n",this.pos);if(i!==-1){while(i!==-1){const e=this.continueScalar(i+1);if(e===-1)break;i=n.indexOf("\n",e)}if(i!==-1){t=i-(n[i-1]==="\r"?2:1)}}if(t===-1){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}yield*this.pushToIndex(t+1,false);return this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1;this.blockScalarKeep=false;let e=this.pos;while(true){const t=this.buffer[++e];if(t==="+")this.blockScalarKeep=true;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if(t!=="-")break}return yield*this.pushUntil((e=>isEmpty(e)||e==="#"))}*parseBlockScalar(){let e=this.pos-1;let t=0;let n;e:for(let i=this.pos;n=this.buffer[i];++i){switch(n){case" ":t+=1;break;case"\n":e=i;t=0;break;case"\r":{const e=this.buffer[i+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if(e==="\n")break}default:break e}}if(!n&&!this.atEnd)return this.setNext("block-scalar");if(t>=this.indentNext){if(this.blockScalarIndent===-1)this.indentNext=t;else{this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext)}do{const t=this.continueScalar(e+1);if(t===-1)break;e=this.buffer.indexOf("\n",t)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let o=e+1;n=this.buffer[o];while(n===" ")n=this.buffer[++o];if(n==="\t"){while(n==="\t"||n===" "||n==="\r"||n==="\n")n=this.buffer[++o];e=o-1}else if(!this.blockScalarKeep){do{let n=e-1;let i=this.buffer[n];if(i==="\r")i=this.buffer[--n];const o=n;while(i===" ")i=this.buffer[--n];if(i==="\n"&&n>=this.pos&&n+1+t>o)e=n;else break}while(true)}yield i.SCALAR;yield*this.pushToIndex(e+1,true);return yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t=this.pos-1;let n=this.pos-1;let o;while(o=this.buffer[++n]){if(o===":"){const i=this.buffer[n+1];if(isEmpty(i)||e&&p.has(i))break;t=n}else if(isEmpty(o)){let i=this.buffer[n+1];if(o==="\r"){if(i==="\n"){n+=1;o="\n";i=this.buffer[n+1]}else t=n}if(i==="#"||e&&p.has(i))break;if(o==="\n"){const e=this.continueScalar(n+1);if(e===-1)break;n=Math.max(n,e-2)}}else{if(e&&p.has(o))break;t=n}}if(!o&&!this.atEnd)return this.setNext("plain-scalar");yield i.SCALAR;yield*this.pushToIndex(t+1,true);return e?"flow":"doc"}*pushCount(e){if(e>0){yield this.buffer.substr(this.pos,e);this.pos+=e;return e}return 0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);if(n){yield n;this.pos+=n.length;return n.length}else if(t)yield"";return 0}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(true))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(isNotAnchorChar))+(yield*this.pushSpaces(true))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0;const t=this.charAt(1);if(isEmpty(t)||e&&p.has(t)){if(!e)this.indentNext=this.indentValue+1;else if(this.flowKey)this.flowKey=false;return(yield*this.pushCount(1))+(yield*this.pushSpaces(true))+(yield*this.pushIndicators())}}}return 0}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2;let t=this.buffer[e];while(!isEmpty(t)&&t!==">")t=this.buffer[++e];return yield*this.pushToIndex(t===">"?e+1:e,false)}else{let e=this.pos+1;let t=this.buffer[e];while(t){if(d.has(t))t=this.buffer[++e];else if(t==="%"&&o.has(this.buffer[e+1])&&o.has(this.buffer[e+2])){t=this.buffer[e+=3]}else break}return yield*this.pushToIndex(e,false)}}*pushNewline(){const e=this.buffer[this.pos];if(e==="\n")return yield*this.pushCount(1);else if(e==="\r"&&this.charAt(1)==="\n")return yield*this.pushCount(2);else return 0}*pushSpaces(e){let t=this.pos-1;let n;do{n=this.buffer[++t]}while(n===" "||e&&n==="\t");const i=t-this.pos;if(i>0){yield this.buffer.substr(this.pos,i);this.pos=t}return i}*pushUntil(e){let t=this.pos;let n=this.buffer[t];while(!e(n))n=this.buffer[++t];return yield*this.pushToIndex(t,false)}}t.Lexer=Lexer},29090:(e,t)=>{"use strict";class LineCounter{constructor(){this.lineStarts=[];this.addNewLine=e=>this.lineStarts.push(e);this.linePos=e=>{let t=0;let n=this.lineStarts.length;while(t<n){const i=t+n>>1;if(this.lineStarts[i]<e)t=i+1;else n=i}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};const i=this.lineStarts[t-1];return{line:t,col:e-i+1}}}}t.LineCounter=LineCounter},77734:(e,t,n)=>{"use strict";var i=n(1708);var o=n(77595);var d=n(38051);function includesToken(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return true;return false}function findNonEmptyIndex(e){for(let t=0;t<e.length;++t){switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}}return-1}function isFlowToken(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return true;default:return false}}function getPrevProps(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function getFirstKeyStartProps(e){if(e.length===0)return[];let t=e.length;e:while(--t>=0){switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}}while(e[++t]?.type==="space"){}return e.splice(t,e.length)}function fixFlowSeqItems(e){if(e.start.type==="flow-seq-start"){for(const t of e.items){if(t.sep&&!t.value&&!includesToken(t.start,"explicit-key-ind")&&!includesToken(t.sep,"map-value-ind")){if(t.key)t.value=t.key;delete t.key;if(isFlowToken(t.value)){if(t.value.end)Array.prototype.push.apply(t.value.end,t.sep);else t.value.end=t.sep}else Array.prototype.push.apply(t.start,t.sep);delete t.sep}}}}class Parser{constructor(e){this.atNewLine=true;this.atScalar=false;this.indent=0;this.offset=0;this.onKeyLine=false;this.stack=[];this.source="";this.type="";this.lexer=new d.Lexer;this.onNewLine=e}*parse(e,t=false){if(this.onNewLine&&this.offset===0)this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);if(!t)yield*this.end()}*next(e){this.source=e;if(i.env.LOG_TOKENS)console.log("|",o.prettyToken(e));if(this.atScalar){this.atScalar=false;yield*this.step();this.offset+=e.length;return}const t=o.tokenType(e);if(!t){const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e});this.offset+=e.length}else if(t==="scalar"){this.atNewLine=false;this.atScalar=true;this.type="scalar"}else{this.type=t;yield*this.step();switch(t){case"newline":this.atNewLine=true;this.indent=0;if(this.onNewLine)this.onNewLine(this.offset+e.length);break;case"space":if(this.atNewLine&&e[0]===" ")this.indent+=e.length;break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":if(this.atNewLine)this.indent+=e.length;break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=false}this.offset+=e.length}}*end(){while(this.stack.length>0)yield*this.pop()}get sourceToken(){const e={type:this.type,offset:this.offset,indent:this.indent,source:this.source};return e}*step(){const e=this.peek(1);if(this.type==="doc-end"&&(!e||e.type!=="doc-end")){while(this.stack.length>0)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(!t){const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}else if(this.stack.length===0){yield t}else{const e=this.peek(1);if(t.type==="block-scalar"){t.indent="indent"in e?e.indent:0}else if(t.type==="flow-collection"&&e.type==="document"){t.indent=0}if(t.type==="flow-collection")fixFlowSeqItems(t);switch(e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]});this.onKeyLine=true;return}else if(n.sep){n.value=t}else{Object.assign(n,{key:t,sep:[]});this.onKeyLine=!n.explicitKey;return}break}case"block-seq":{const n=e.items[e.items.length-1];if(n.value)e.items.push({start:[],value:t});else n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];if(!n||n.value)e.items.push({start:[],key:t,sep:[]});else if(n.sep)n.value=t;else Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop();yield*this.pop(t)}if((e.type==="document"||e.type==="block-map"||e.type==="block-seq")&&(t.type==="block-map"||t.type==="block-seq")){const n=t.items[t.items.length-1];if(n&&!n.sep&&!n.value&&n.start.length>0&&findNonEmptyIndex(n.start)===-1&&(t.indent===0||n.start.every((e=>e.type!=="comment"||e.indent<t.indent)))){if(e.type==="document")e.end=n.start;else e.items.push({start:n.start});t.items.splice(-1,1)}}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};if(this.type==="doc-start")e.start.push(this.sourceToken);this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":{if(findNonEmptyIndex(e.start)!==-1){yield*this.pop();yield*this.step()}else e.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}const t=this.startBlockValue(e);if(t)this.stack.push(t);else{yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}}*scalar(e){if(this.type==="map-value-ind"){const t=getPrevProps(this.peek(2));const n=getFirstKeyStartProps(t);let i;if(e.end){i=e.end;i.push(this.sourceToken);delete e.end}else i=[this.sourceToken];const o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:i}]};this.onKeyLine=true;this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":e.source=this.source;this.atNewLine=true;this.indent=0;if(this.onNewLine){let e=this.source.indexOf("\n")+1;while(e!==0){this.onNewLine(this.offset+e);e=this.source.indexOf("\n",e)+1}}yield*this.pop();break;default:yield*this.pop();yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":this.onKeyLine=false;if(t.value){const n="end"in t.value?t.value.end:undefined;const i=Array.isArray(n)?n[n.length-1]:undefined;if(i?.type==="comment")n?.push(this.sourceToken);else e.items.push({start:[this.sourceToken]})}else if(t.sep){t.sep.push(this.sourceToken)}else{t.start.push(this.sourceToken)}return;case"space":case"comment":if(t.value){e.items.push({start:[this.sourceToken]})}else if(t.sep){t.sep.push(this.sourceToken)}else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2];const i=n?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,t.start);i.push(this.sourceToken);e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const n=!this.onKeyLine&&this.indent===e.indent;const i=n&&(t.sep||t.explicitKey)&&this.type!=="seq-item-ind";let o=[];if(i&&t.sep&&!t.value){const n=[];for(let i=0;i<t.sep.length;++i){const o=t.sep[i];switch(o.type){case"newline":n.push(i);break;case"space":break;case"comment":if(o.indent>e.indent)n.length=0;break;default:n.length=0}}if(n.length>=2)o=t.sep.splice(n[1])}switch(this.type){case"anchor":case"tag":if(i||t.value){o.push(this.sourceToken);e.items.push({start:o});this.onKeyLine=true}else if(t.sep){t.sep.push(this.sourceToken)}else{t.start.push(this.sourceToken)}return;case"explicit-key-ind":if(!t.sep&&!t.explicitKey){t.start.push(this.sourceToken);t.explicitKey=true}else if(i||t.value){o.push(this.sourceToken);e.items.push({start:o,explicitKey:true})}else{this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:true}]})}this.onKeyLine=true;return;case"map-value-ind":if(t.explicitKey){if(!t.sep){if(includesToken(t.start,"newline")){Object.assign(t,{key:null,sep:[this.sourceToken]})}else{const e=getFirstKeyStartProps(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}}else if(t.value){e.items.push({start:[],key:null,sep:[this.sourceToken]})}else if(includesToken(t.sep,"map-value-ind")){this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else if(isFlowToken(t.key)&&!includesToken(t.sep,"newline")){const e=getFirstKeyStartProps(t.start);const n=t.key;const i=t.sep;i.push(this.sourceToken);delete t.key;delete t.sep;this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:i}]})}else if(o.length>0){t.sep=t.sep.concat(o,this.sourceToken)}else{t.sep.push(this.sourceToken)}}else{if(!t.sep){Object.assign(t,{key:null,sep:[this.sourceToken]})}else if(t.value||i){e.items.push({start:o,key:null,sep:[this.sourceToken]})}else if(includesToken(t.sep,"map-value-ind")){this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]})}else{t.sep.push(this.sourceToken)}}this.onKeyLine=true;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);if(i||t.value){e.items.push({start:o,key:n,sep:[]});this.onKeyLine=true}else if(t.sep){this.stack.push(n)}else{Object.assign(t,{key:n,sep:[]});this.onKeyLine=true}return}default:{const t=this.startBlockValue(e);if(t){if(n&&t.type!=="block-seq"){e.items.push({start:o})}this.stack.push(t);return}}}}yield*this.pop();yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:undefined;const i=Array.isArray(n)?n[n.length-1]:undefined;if(i?.type==="comment")n?.push(this.sourceToken);else e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2];const i=n?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,t.start);i.push(this.sourceToken);e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;if(t.value||includesToken(t.start,"seq-item-ind"))e.items.push({start:[this.sourceToken]});else t.start.push(this.sourceToken);return}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop();yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if(this.type==="flow-error-end"){let e;do{yield*this.pop();e=this.peek(1)}while(e&&e.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":if(!t||t.sep)e.items.push({start:[this.sourceToken]});else t.start.push(this.sourceToken);return;case"map-value-ind":if(!t||t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":if(!t||t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);if(!t||t.value)e.items.push({start:[],key:n,sep:[]});else if(t.sep)this.stack.push(n);else Object.assign(t,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}const n=this.startBlockValue(e);if(n)this.stack.push(n);else{yield*this.pop();yield*this.step()}}else{const t=this.peek(2);if(t.type==="block-map"&&(this.type==="map-value-ind"&&t.indent===e.indent||this.type==="newline"&&!t.items[t.items.length-1].sep)){yield*this.pop();yield*this.step()}else if(this.type==="map-value-ind"&&t.type!=="flow-collection"){const n=getPrevProps(t);const i=getFirstKeyStartProps(n);fixFlowSeqItems(e);const o=e.end.splice(1,e.end.length);o.push(this.sourceToken);const d={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:i,key:e,sep:o}]};this.onKeyLine=true;this.stack[this.stack.length-1]=d}else{yield*this.lineEnd(e)}}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;while(e!==0){this.onNewLine(this.offset+e);e=this.source.indexOf("\n",e)+1}}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=true;const t=getPrevProps(e);const n=getFirstKeyStartProps(t);n.push(this.sourceToken);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:true}]}}case"map-value-ind":{this.onKeyLine=true;const t=getPrevProps(e);const n=getFirstKeyStartProps(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){if(this.type!=="comment")return false;if(this.indent<=t)return false;return e.every((e=>e.type==="newline"||e.type==="space"))}*documentEnd(e){if(this.type!=="doc-mode"){if(e.end)e.end.push(this.sourceToken);else e.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop();yield*this.step();break;case"newline":this.onKeyLine=false;case"space":case"comment":default:if(e.end)e.end.push(this.sourceToken);else e.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}}t.Parser=Parser},16101:(e,t,n)=>{"use strict";var i=n(56854);var o=n(71795);var d=n(32602);var p=n(97851);var f=n(1553);var y=n(29090);var v=n(77734);function parseOptions(e){const t=e.prettyErrors!==false;const n=e.lineCounter||t&&new y.LineCounter||null;return{lineCounter:n,prettyErrors:t}}function parseAllDocuments(e,t={}){const{lineCounter:n,prettyErrors:o}=parseOptions(t);const p=new v.Parser(n?.addNewLine);const f=new i.Composer(t);const y=Array.from(f.compose(p.parse(e)));if(o&&n)for(const t of y){t.errors.forEach(d.prettifyError(e,n));t.warnings.forEach(d.prettifyError(e,n))}if(y.length>0)return y;return Object.assign([],{empty:true},f.streamInfo())}function parseDocument(e,t={}){const{lineCounter:n,prettyErrors:o}=parseOptions(t);const p=new v.Parser(n?.addNewLine);const f=new i.Composer(t);let y=null;for(const t of f.compose(p.parse(e),true,e.length)){if(!y)y=t;else if(y.options.logLevel!=="silent"){y.errors.push(new d.YAMLParseError(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}if(o&&n){y.errors.forEach(d.prettifyError(e,n));y.warnings.forEach(d.prettifyError(e,n))}return y}function parse(e,t,n){let i=undefined;if(typeof t==="function"){i=t}else if(n===undefined&&t&&typeof t==="object"){n=t}const o=parseDocument(e,n);if(!o)return null;o.warnings.forEach((e=>p.warn(o.options.logLevel,e)));if(o.errors.length>0){if(o.options.logLevel!=="silent")throw o.errors[0];else o.errors=[]}return o.toJS(Object.assign({reviver:i},n))}function stringify(e,t,n){let i=null;if(typeof t==="function"||Array.isArray(t)){i=t}else if(n===undefined&&t){n=t}if(typeof n==="string")n=n.length;if(typeof n==="number"){const e=Math.round(n);n=e<1?undefined:e>8?{indent:8}:{indent:e}}if(e===undefined){const{keepUndefined:e}=n??t??{};if(!e)return undefined}if(f.isDocument(e)&&!i)return e.toString(n);return new o.Document(e,i,n).toString(n)}t.parse=parse;t.parseAllDocuments=parseAllDocuments;t.parseDocument=parseDocument;t.stringify=stringify},526:(e,t,n)=>{"use strict";var i=n(1553);var o=n(42413);var d=n(91896);var p=n(64014);var f=n(32912);const sortMapEntriesByKey=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class Schema{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:y,schema:v,sortMapEntries:D,toStringDefaults:M}){this.compat=Array.isArray(e)?f.getTags(e,"compat"):e?f.getTags(null,e):null;this.name=typeof v==="string"&&v||"core";this.knownTags=y?f.coreKnownTags:{};this.tags=f.getTags(t,this.name,n);this.toStringOptions=M??null;Object.defineProperty(this,i.MAP,{value:o.map});Object.defineProperty(this,i.SCALAR,{value:p.string});Object.defineProperty(this,i.SEQ,{value:d.seq});this.sortMapEntries=typeof D==="function"?D:D===true?sortMapEntriesByKey:null}clone(){const e=Object.create(Schema.prototype,Object.getOwnPropertyDescriptors(this));e.tags=this.tags.slice();return e}}t.Schema=Schema},42413:(e,t,n)=>{"use strict";var i=n(1553);var o=n(47320);const d={collection:"map",default:true,nodeClass:o.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(e,t){if(!i.isMap(e))t("Expected a mapping for this tag");return e},createNode:(e,t,n)=>o.YAMLMap.from(e,t,n)};t.map=d},86010:(e,t,n)=>{"use strict";var i=n(22911);const o={identify:e=>e==null,createNode:()=>new i.Scalar(null),default:true,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new i.Scalar(null),stringify:({source:e},t)=>typeof e==="string"&&o.test.test(e)?e:t.options.nullStr};t.nullTag=o},91896:(e,t,n)=>{"use strict";var i=n(1553);var o=n(51917);const d={collection:"seq",default:true,nodeClass:o.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(e,t){if(!i.isSeq(e))t("Expected a sequence for this tag");return e},createNode:(e,t,n)=>o.YAMLSeq.from(e,t,n)};t.seq=d},64014:(e,t,n)=>{"use strict";var i=n(27323);const o={identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,o){t=Object.assign({actualString:true},t);return i.stringifyString(e,t,n,o)}};t.string=o},29805:(e,t,n)=>{"use strict";var i=n(22911);const o={identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new i.Scalar(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&o.test.test(e)){const n=e[0]==="t"||e[0]==="T";if(t===n)return e}return t?n.options.trueStr:n.options.falseStr}};t.boolTag=o},12323:(e,t,n)=>{"use strict";var i=n(22911);var o=n(37859);const d={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:o.stringifyNumber};const p={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}};const f={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new i.Scalar(parseFloat(e));const n=e.indexOf(".");if(n!==-1&&e[e.length-1]==="0")t.minFractionDigits=e.length-n-1;return t},stringify:o.stringifyNumber};t.float=f;t.floatExp=p;t.floatNaN=d},68868:(e,t,n)=>{"use strict";var i=n(37859);const intIdentify=e=>typeof e==="bigint"||Number.isInteger(e);const intResolve=(e,t,n,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(t),n);function intStringify(e,t,n){const{value:o}=e;if(intIdentify(o)&&o>=0)return n+o.toString(t);return i.stringifyNumber(e)}const o={identify:e=>intIdentify(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>intResolve(e,2,8,n),stringify:e=>intStringify(e,8,"0o")};const d={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>intResolve(e,0,10,n),stringify:i.stringifyNumber};const p={identify:e=>intIdentify(e)&&e>=0,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>intResolve(e,2,16,n),stringify:e=>intStringify(e,16,"0x")};t.int=d;t.intHex=p;t.intOct=o},45042:(e,t,n)=>{"use strict";var i=n(42413);var o=n(86010);var d=n(91896);var p=n(64014);var f=n(29805);var y=n(12323);var v=n(68868);const D=[i.map,d.seq,p.string,o.nullTag,f.boolTag,v.intOct,v.int,v.intHex,y.floatNaN,y.floatExp,y.float];t.schema=D},86909:(e,t,n)=>{"use strict";var i=n(22911);var o=n(42413);var d=n(91896);function intIdentify(e){return typeof e==="bigint"||Number.isInteger(e)}const stringifyJSON=({value:e})=>JSON.stringify(e);const p=[{identify:e=>typeof e==="string",default:true,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:stringifyJSON},{identify:e=>e==null,createNode:()=>new i.Scalar(null),default:true,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:stringifyJSON},{identify:e=>typeof e==="boolean",default:true,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:stringifyJSON},{identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>intIdentify(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:stringifyJSON}];const f={default:true,tag:"",test:/^/,resolve(e,t){t(`Unresolved plain scalar ${JSON.stringify(e)}`);return e}};const y=[o.map,d.seq].concat(p,f);t.schema=y},32912:(e,t,n)=>{"use strict";var i=n(42413);var o=n(86010);var d=n(91896);var p=n(64014);var f=n(29805);var y=n(12323);var v=n(68868);var D=n(45042);var M=n(86909);var U=n(57097);var j=n(86234);var V=n(23957);var K=n(4863);var ee=n(78579);var te=n(1242);var re=n(41554);const ne=new Map([["core",D.schema],["failsafe",[i.map,d.seq,p.string]],["json",M.schema],["yaml11",ee.schema],["yaml-1.1",ee.schema]]);const se={binary:U.binary,bool:f.boolTag,float:y.float,floatExp:y.floatExp,floatNaN:y.floatNaN,floatTime:re.floatTime,int:v.int,intHex:v.intHex,intOct:v.intOct,intTime:re.intTime,map:i.map,merge:j.merge,null:o.nullTag,omap:V.omap,pairs:K.pairs,seq:d.seq,set:te.set,timestamp:re.timestamp};const ie={"tag:yaml.org,2002:binary":U.binary,"tag:yaml.org,2002:merge":j.merge,"tag:yaml.org,2002:omap":V.omap,"tag:yaml.org,2002:pairs":K.pairs,"tag:yaml.org,2002:set":te.set,"tag:yaml.org,2002:timestamp":re.timestamp};function getTags(e,t,n){const i=ne.get(t);if(i&&!e){return n&&!i.includes(j.merge)?i.concat(j.merge):i.slice()}let o=i;if(!o){if(Array.isArray(e))o=[];else{const e=Array.from(ne.keys()).filter((e=>e!=="yaml11")).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}}if(Array.isArray(e)){for(const t of e)o=o.concat(t)}else if(typeof e==="function"){o=e(o.slice())}if(n)o=o.concat(j.merge);return o.reduce(((e,t)=>{const n=typeof t==="string"?se[t]:t;if(!n){const e=JSON.stringify(t);const n=Object.keys(se).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag ${e}; use one of ${n}`)}if(!e.includes(n))e.push(n);return e}),[])}t.coreKnownTags=ie;t.getTags=getTags},57097:(e,t,n)=>{"use strict";var i=n(4573);var o=n(22911);var d=n(27323);const p={identify:e=>e instanceof Uint8Array,default:false,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof i.Buffer==="function"){return i.Buffer.from(e,"base64")}else if(typeof atob==="function"){const t=atob(e.replace(/[\n\r]/g,""));const n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}else{t("This environment does not support reading binary tags; either Buffer or atob is required");return e}},stringify({comment:e,type:t,value:n},p,f,y){const v=n;let D;if(typeof i.Buffer==="function"){D=v instanceof i.Buffer?v.toString("base64"):i.Buffer.from(v.buffer).toString("base64")}else if(typeof btoa==="function"){let e="";for(let t=0;t<v.length;++t)e+=String.fromCharCode(v[t]);D=btoa(e)}else{throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required")}if(!t)t=o.Scalar.BLOCK_LITERAL;if(t!==o.Scalar.QUOTE_DOUBLE){const e=Math.max(p.options.lineWidth-p.indent.length,p.options.minContentWidth);const n=Math.ceil(D.length/e);const i=new Array(n);for(let t=0,o=0;t<n;++t,o+=e){i[t]=D.substr(o,e)}D=i.join(t===o.Scalar.BLOCK_LITERAL?"\n":" ")}return d.stringifyString({comment:e,type:t,value:D},p,f,y)}};t.binary=p},73028:(e,t,n)=>{"use strict";var i=n(22911);function boolStringify({value:e,source:t},n){const i=e?o:d;if(t&&i.test.test(t))return t;return e?n.options.trueStr:n.options.falseStr}const o={identify:e=>e===true,default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new i.Scalar(true),stringify:boolStringify};const d={identify:e=>e===false,default:true,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new i.Scalar(false),stringify:boolStringify};t.falseTag=d;t.trueTag=o},12788:(e,t,n)=>{"use strict";var i=n(22911);var o=n(37859);const d={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:o.stringifyNumber};const p={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}};const f={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new i.Scalar(parseFloat(e.replace(/_/g,"")));const n=e.indexOf(".");if(n!==-1){const i=e.substring(n+1).replace(/_/g,"");if(i[i.length-1]==="0")t.minFractionDigits=i.length}return t},stringify:o.stringifyNumber};t.float=f;t.floatExp=p;t.floatNaN=d},37843:(e,t,n)=>{"use strict";var i=n(37859);const intIdentify=e=>typeof e==="bigint"||Number.isInteger(e);function intResolve(e,t,n,{intAsBigInt:i}){const o=e[0];if(o==="-"||o==="+")t+=1;e=e.substring(t).replace(/_/g,"");if(i){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const t=BigInt(e);return o==="-"?BigInt(-1)*t:t}const d=parseInt(e,n);return o==="-"?-1*d:d}function intStringify(e,t,n){const{value:o}=e;if(intIdentify(o)){const e=o.toString(t);return o<0?"-"+n+e.substr(1):n+e}return i.stringifyNumber(e)}const o={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>intResolve(e,2,2,n),stringify:e=>intStringify(e,2,"0b")};const d={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>intResolve(e,1,8,n),stringify:e=>intStringify(e,8,"0")};const p={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>intResolve(e,0,10,n),stringify:i.stringifyNumber};const f={identify:intIdentify,default:true,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>intResolve(e,2,16,n),stringify:e=>intStringify(e,16,"0x")};t.int=p;t.intBin=o;t.intHex=f;t.intOct=d},86234:(e,t,n)=>{"use strict";var i=n(1553);var o=n(22911);const d="<<";const p={identify:e=>e===d||typeof e==="symbol"&&e.description===d,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new o.Scalar(Symbol(d)),{addToJSMap:addMergeToJSMap}),stringify:()=>d};const isMergeKey=(e,t)=>(p.identify(t)||i.isScalar(t)&&(!t.type||t.type===o.Scalar.PLAIN)&&p.identify(t.value))&&e?.doc.schema.tags.some((e=>e.tag===p.tag&&e.default));function addMergeToJSMap(e,t,n){n=e&&i.isAlias(n)?n.resolve(e.doc):n;if(i.isSeq(n))for(const i of n.items)mergeValue(e,t,i);else if(Array.isArray(n))for(const i of n)mergeValue(e,t,i);else mergeValue(e,t,n)}function mergeValue(e,t,n){const o=e&&i.isAlias(n)?n.resolve(e.doc):n;if(!i.isMap(o))throw new Error("Merge sources must be maps or map aliases");const d=o.toJSON(null,e,Map);for(const[e,n]of d){if(t instanceof Map){if(!t.has(e))t.set(e,n)}else if(t instanceof Set){t.add(e)}else if(!Object.prototype.hasOwnProperty.call(t,e)){Object.defineProperty(t,e,{value:n,writable:true,enumerable:true,configurable:true})}}return t}t.addMergeToJSMap=addMergeToJSMap;t.isMergeKey=isMergeKey;t.merge=p},23957:(e,t,n)=>{"use strict";var i=n(1553);var o=n(26133);var d=n(47320);var p=n(51917);var f=n(4863);class YAMLOMap extends p.YAMLSeq{constructor(){super();this.add=d.YAMLMap.prototype.add.bind(this);this.delete=d.YAMLMap.prototype.delete.bind(this);this.get=d.YAMLMap.prototype.get.bind(this);this.has=d.YAMLMap.prototype.has.bind(this);this.set=d.YAMLMap.prototype.set.bind(this);this.tag=YAMLOMap.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;if(t?.onCreate)t.onCreate(n);for(const e of this.items){let d,p;if(i.isPair(e)){d=o.toJS(e.key,"",t);p=o.toJS(e.value,d,t)}else{d=o.toJS(e,"",t)}if(n.has(d))throw new Error("Ordered maps must not include duplicate keys");n.set(d,p)}return n}static from(e,t,n){const i=f.createPairs(e,t,n);const o=new this;o.items=i.items;return o}}YAMLOMap.tag="tag:yaml.org,2002:omap";const y={collection:"seq",identify:e=>e instanceof Map,nodeClass:YAMLOMap,default:false,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=f.resolvePairs(e,t);const o=[];for(const{key:e}of n.items){if(i.isScalar(e)){if(o.includes(e.value)){t(`Ordered maps must not include duplicate keys: ${e.value}`)}else{o.push(e.value)}}}return Object.assign(new YAMLOMap,n)},createNode:(e,t,n)=>YAMLOMap.from(e,t,n)};t.YAMLOMap=YAMLOMap;t.omap=y},4863:(e,t,n)=>{"use strict";var i=n(1553);var o=n(66487);var d=n(22911);var p=n(51917);function resolvePairs(e,t){if(i.isSeq(e)){for(let n=0;n<e.items.length;++n){let p=e.items[n];if(i.isPair(p))continue;else if(i.isMap(p)){if(p.items.length>1)t("Each pair must have its own sequence indicator");const e=p.items[0]||new o.Pair(new d.Scalar(null));if(p.commentBefore)e.key.commentBefore=e.key.commentBefore?`${p.commentBefore}\n${e.key.commentBefore}`:p.commentBefore;if(p.comment){const t=e.value??e.key;t.comment=t.comment?`${p.comment}\n${t.comment}`:p.comment}p=e}e.items[n]=i.isPair(p)?p:new o.Pair(p)}}else t("Expected a sequence for this tag");return e}function createPairs(e,t,n){const{replacer:i}=n;const d=new p.YAMLSeq(e);d.tag="tag:yaml.org,2002:pairs";let f=0;if(t&&Symbol.iterator in Object(t))for(let e of t){if(typeof i==="function")e=i.call(t,String(f++),e);let p,y;if(Array.isArray(e)){if(e.length===2){p=e[0];y=e[1]}else throw new TypeError(`Expected [key, value] tuple: ${e}`)}else if(e&&e instanceof Object){const t=Object.keys(e);if(t.length===1){p=t[0];y=e[p]}else{throw new TypeError(`Expected tuple with one key, not ${t.length} keys`)}}else{p=e}d.items.push(o.createPair(p,y,n))}return d}const f={collection:"seq",default:false,tag:"tag:yaml.org,2002:pairs",resolve:resolvePairs,createNode:createPairs};t.createPairs=createPairs;t.pairs=f;t.resolvePairs=resolvePairs},78579:(e,t,n)=>{"use strict";var i=n(42413);var o=n(86010);var d=n(91896);var p=n(64014);var f=n(57097);var y=n(73028);var v=n(12788);var D=n(37843);var M=n(86234);var U=n(23957);var j=n(4863);var V=n(1242);var K=n(41554);const ee=[i.map,d.seq,p.string,o.nullTag,y.trueTag,y.falseTag,D.intBin,D.intOct,D.int,D.intHex,v.floatNaN,v.floatExp,v.float,f.binary,M.merge,U.omap,j.pairs,V.set,K.intTime,K.floatTime,K.timestamp];t.schema=ee},1242:(e,t,n)=>{"use strict";var i=n(1553);var o=n(66487);var d=n(47320);class YAMLSet extends d.YAMLMap{constructor(e){super(e);this.tag=YAMLSet.tag}add(e){let t;if(i.isPair(e))t=e;else if(e&&typeof e==="object"&&"key"in e&&"value"in e&&e.value===null)t=new o.Pair(e.key,null);else t=new o.Pair(e,null);const n=d.findPair(this.items,t.key);if(!n)this.items.push(t)}get(e,t){const n=d.findPair(this.items,e);return!t&&i.isPair(n)?i.isScalar(n.key)?n.key.value:n.key:n}set(e,t){if(typeof t!=="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const n=d.findPair(this.items,e);if(n&&!t){this.items.splice(this.items.indexOf(n),1)}else if(!n&&t){this.items.push(new o.Pair(e))}}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(true))return super.toString(Object.assign({},e,{allNullValues:true}),t,n);else throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:i}=n;const d=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t){if(typeof i==="function")e=i.call(t,e,e);d.items.push(o.createPair(e,null,n))}return d}}YAMLSet.tag="tag:yaml.org,2002:set";const p={collection:"map",identify:e=>e instanceof Set,nodeClass:YAMLSet,default:false,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>YAMLSet.from(e,t,n),resolve(e,t){if(i.isMap(e)){if(e.hasAllNullValues(true))return Object.assign(new YAMLSet,e);else t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};t.YAMLSet=YAMLSet;t.set=p},41554:(e,t,n)=>{"use strict";var i=n(37859);function parseSexagesimal(e,t){const n=e[0];const i=n==="-"||n==="+"?e.substring(1):e;const num=e=>t?BigInt(e):Number(e);const o=i.replace(/_/g,"").split(":").reduce(((e,t)=>e*num(60)+num(t)),num(0));return n==="-"?num(-1)*o:o}function stringifySexagesimal(e){let{value:t}=e;let num=e=>e;if(typeof t==="bigint")num=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return i.stringifyNumber(e);let n="";if(t<0){n="-";t*=num(-1)}const o=num(60);const d=[t%o];if(t<60){d.unshift(0)}else{t=(t-d[0])/o;d.unshift(t%o);if(t>=60){t=(t-d[0])/o;d.unshift(t)}}return n+d.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const o={identify:e=>typeof e==="bigint"||Number.isInteger(e),default:true,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>parseSexagesimal(e,n),stringify:stringifySexagesimal};const d={identify:e=>typeof e==="number",default:true,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>parseSexagesimal(e,false),stringify:stringifySexagesimal};const p={identify:e=>e instanceof Date,default:true,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})"+"(?:"+"(?:t|T|[ \\t]+)"+"([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)"+"(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?"+")?$"),resolve(e){const t=e.match(p.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,i,o,d,f,y]=t.map(Number);const v=t[7]?Number((t[7]+"00").substr(1,3)):0;let D=Date.UTC(n,i-1,o,d||0,f||0,y||0,v);const M=t[8];if(M&&M!=="Z"){let e=parseSexagesimal(M,false);if(Math.abs(e)<30)e*=60;D-=6e4*e}return new Date(D)},stringify:({value:e})=>e.toISOString().replace(/(T00:00:00)?\.000Z$/,"")};t.floatTime=d;t.intTime=o;t.timestamp=p},50345:(e,t)=>{"use strict";const n="flow";const i="block";const o="quoted";function foldFlowLines(e,t,n="flow",{indentAtStart:d,lineWidth:p=80,minContentWidth:f=20,onFold:y,onOverflow:v}={}){if(!p||p<0)return e;if(p<f)f=0;const D=Math.max(1+f,1+p-t.length);if(e.length<=D)return e;const M=[];const U={};let j=p-t.length;if(typeof d==="number"){if(d>p-Math.max(2,f))M.push(0);else j=p-d}let V=undefined;let K=undefined;let ee=false;let te=-1;let re=-1;let ne=-1;if(n===i){te=consumeMoreIndentedLines(e,te,t.length);if(te!==-1)j=te+D}for(let d;d=e[te+=1];){if(n===o&&d==="\\"){re=te;switch(e[te+1]){case"x":te+=3;break;case"u":te+=5;break;case"U":te+=9;break;default:te+=1}ne=te}if(d==="\n"){if(n===i)te=consumeMoreIndentedLines(e,te,t.length);j=te+t.length+D;V=undefined}else{if(d===" "&&K&&K!==" "&&K!=="\n"&&K!=="\t"){const t=e[te+1];if(t&&t!==" "&&t!=="\n"&&t!=="\t")V=te}if(te>=j){if(V){M.push(V);j=V+D;V=undefined}else if(n===o){while(K===" "||K==="\t"){K=d;d=e[te+=1];ee=true}const t=te>ne+1?te-2:re-1;if(U[t])return e;M.push(t);U[t]=true;j=t+D;V=undefined}else{ee=true}}}K=d}if(ee&&v)v();if(M.length===0)return e;if(y)y();let se=e.slice(0,M[0]);for(let i=0;i<M.length;++i){const d=M[i];const p=M[i+1]||e.length;if(d===0)se=`\n${t}${e.slice(0,p)}`;else{if(n===o&&U[d])se+=`${e[d]}\\`;se+=`\n${t}${e.slice(d+1,p)}`}}return se}function consumeMoreIndentedLines(e,t,n){let i=t;let o=t+1;let d=e[o];while(d===" "||d==="\t"){if(t<o+n){d=e[++t]}else{do{d=e[++t]}while(d&&d!=="\n");i=t;o=t+1;d=e[o]}}return i}t.FOLD_BLOCK=i;t.FOLD_FLOW=n;t.FOLD_QUOTED=o;t.foldFlowLines=foldFlowLines},81882:(e,t,n)=>{"use strict";var i=n(90910);var o=n(1553);var d=n(13773);var p=n(27323);function createStringifyContext(e,t){const n=Object.assign({blockQuote:true,commentString:d.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:false,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:true,indentSeq:true,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:false,singleQuote:null,trueStr:"true",verifyAliasOrder:true},e.schema.toStringOptions,t);let i;switch(n.collectionStyle){case"block":i=false;break;case"flow":i=true;break;default:i=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent==="number"?" ".repeat(n.indent):" ",inFlow:i,options:n}}function getTagObject(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n=undefined;let i;if(o.isScalar(t)){i=t.value;let o=e.filter((e=>e.identify?.(i)));if(o.length>1){const e=o.filter((e=>e.test));if(e.length>0)o=e}n=o.find((e=>e.format===t.format))??o.find((e=>!e.format))}else{i=t;n=e.find((e=>e.nodeClass&&i instanceof e.nodeClass))}if(!n){const e=i?.constructor?.name??typeof i;throw new Error(`Tag not resolved for ${e} value`)}return n}function stringifyProps(e,t,{anchors:n,doc:d}){if(!d.directives)return"";const p=[];const f=(o.isScalar(e)||o.isCollection(e))&&e.anchor;if(f&&i.anchorIsValid(f)){n.add(f);p.push(`&${f}`)}const y=e.tag?e.tag:t.default?null:t.tag;if(y)p.push(d.directives.tagString(y));return p.join(" ")}function stringify(e,t,n,i){if(o.isPair(e))return e.toString(t,n,i);if(o.isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e)){throw new TypeError(`Cannot stringify circular structure without alias nodes`)}else{if(t.resolvedAliases)t.resolvedAliases.add(e);else t.resolvedAliases=new Set([e]);e=e.resolve(t.doc)}}let d=undefined;const f=o.isNode(e)?e:t.doc.createNode(e,{onTagObj:e=>d=e});if(!d)d=getTagObject(t.doc.schema.tags,f);const y=stringifyProps(f,d,t);if(y.length>0)t.indentAtStart=(t.indentAtStart??0)+y.length+1;const v=typeof d.stringify==="function"?d.stringify(f,t,n,i):o.isScalar(f)?p.stringifyString(f,t,n,i):f.toString(t,n,i);if(!y)return v;return o.isScalar(f)||v[0]==="{"||v[0]==="["?`${y} ${v}`:`${y}\n${t.indent}${v}`}t.createStringifyContext=createStringifyContext;t.stringify=stringify},22974:(e,t,n)=>{"use strict";var i=n(1553);var o=n(81882);var d=n(13773);function stringifyCollection(e,t,n){const i=t.inFlow??e.flow;const o=i?stringifyFlowCollection:stringifyBlockCollection;return o(e,t,n)}function stringifyBlockCollection({comment:e,items:t},n,{blockItemPrefix:p,flowChars:f,itemIndent:y,onChompKeep:v,onComment:D}){const{indent:M,options:{commentString:U}}=n;const j=Object.assign({},n,{indent:y,type:null});let V=false;const K=[];for(let e=0;e<t.length;++e){const f=t[e];let v=null;if(i.isNode(f)){if(!V&&f.spaceBefore)K.push("");addCommentBefore(n,K,f.commentBefore,V);if(f.comment)v=f.comment}else if(i.isPair(f)){const e=i.isNode(f.key)?f.key:null;if(e){if(!V&&e.spaceBefore)K.push("");addCommentBefore(n,K,e.commentBefore,V)}}V=false;let D=o.stringify(f,j,(()=>v=null),(()=>V=true));if(v)D+=d.lineComment(D,y,U(v));if(V&&v)V=false;K.push(p+D)}let ee;if(K.length===0){ee=f.start+f.end}else{ee=K[0];for(let e=1;e<K.length;++e){const t=K[e];ee+=t?`\n${M}${t}`:"\n"}}if(e){ee+="\n"+d.indentComment(U(e),M);if(D)D()}else if(V&&v)v();return ee}function stringifyFlowCollection({items:e},t,{flowChars:n,itemIndent:p}){const{indent:f,indentStep:y,flowCollectionPadding:v,options:{commentString:D}}=t;p+=y;const M=Object.assign({},t,{indent:p,inFlow:true,type:null});let U=false;let j=0;const V=[];for(let n=0;n<e.length;++n){const f=e[n];let y=null;if(i.isNode(f)){if(f.spaceBefore)V.push("");addCommentBefore(t,V,f.commentBefore,false);if(f.comment)y=f.comment}else if(i.isPair(f)){const e=i.isNode(f.key)?f.key:null;if(e){if(e.spaceBefore)V.push("");addCommentBefore(t,V,e.commentBefore,false);if(e.comment)U=true}const n=i.isNode(f.value)?f.value:null;if(n){if(n.comment)y=n.comment;if(n.commentBefore)U=true}else if(f.value==null&&e?.comment){y=e.comment}}if(y)U=true;let v=o.stringify(f,M,(()=>y=null));if(n<e.length-1)v+=",";if(y)v+=d.lineComment(v,p,D(y));if(!U&&(V.length>j||v.includes("\n")))U=true;V.push(v);j=V.length}const{start:K,end:ee}=n;if(V.length===0){return K+ee}else{if(!U){const e=V.reduce(((e,t)=>e+t.length+2),2);U=t.options.lineWidth>0&&e>t.options.lineWidth}if(U){let e=K;for(const t of V)e+=t?`\n${y}${f}${t}`:"\n";return`${e}\n${f}${ee}`}else{return`${K}${v}${V.join(" ")}${v}${ee}`}}}function addCommentBefore({indent:e,options:{commentString:t}},n,i,o){if(i&&o)i=i.replace(/^\n+/,"");if(i){const o=d.indentComment(t(i),e);n.push(o.trimStart())}}t.stringifyCollection=stringifyCollection},13773:(e,t)=>{"use strict";const stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function indentComment(e,t){if(/^\n+$/.test(e))return e.substring(1);return t?e.replace(/^(?! *$)/gm,t):e}const lineComment=(e,t,n)=>e.endsWith("\n")?indentComment(n,t):n.includes("\n")?"\n"+indentComment(n,t):(e.endsWith(" ")?"":" ")+n;t.indentComment=indentComment;t.lineComment=lineComment;t.stringifyComment=stringifyComment},4639:(e,t,n)=>{"use strict";var i=n(1553);var o=n(81882);var d=n(13773);function stringifyDocument(e,t){const n=[];let p=t.directives===true;if(t.directives!==false&&e.directives){const t=e.directives.toString(e);if(t){n.push(t);p=true}else if(e.directives.docStart)p=true}if(p)n.push("---");const f=o.createStringifyContext(e,t);const{commentString:y}=f.options;if(e.commentBefore){if(n.length!==1)n.unshift("");const t=y(e.commentBefore);n.unshift(d.indentComment(t,""))}let v=false;let D=null;if(e.contents){if(i.isNode(e.contents)){if(e.contents.spaceBefore&&p)n.push("");if(e.contents.commentBefore){const t=y(e.contents.commentBefore);n.push(d.indentComment(t,""))}f.forceBlockIndent=!!e.comment;D=e.contents.comment}const t=D?undefined:()=>v=true;let M=o.stringify(e.contents,f,(()=>D=null),t);if(D)M+=d.lineComment(M,"",y(D));if((M[0]==="|"||M[0]===">")&&n[n.length-1]==="---"){n[n.length-1]=`--- ${M}`}else n.push(M)}else{n.push(o.stringify(e.contents,f))}if(e.directives?.docEnd){if(e.comment){const t=y(e.comment);if(t.includes("\n")){n.push("...");n.push(d.indentComment(t,""))}else{n.push(`... ${t}`)}}else{n.push("...")}}else{let t=e.comment;if(t&&v)t=t.replace(/^\n+/,"");if(t){if((!v||D)&&n[n.length-1]!=="")n.push("");n.push(d.indentComment(y(t),""))}}return n.join("\n")+"\n"}t.stringifyDocument=stringifyDocument},37859:(e,t)=>{"use strict";function stringifyNumber({format:e,minFractionDigits:t,tag:n,value:i}){if(typeof i==="bigint")return String(i);const o=typeof i==="number"?i:Number(i);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let d=JSON.stringify(i);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(d)){let e=d.indexOf(".");if(e<0){e=d.length;d+="."}let n=t-(d.length-e-1);while(n-- >0)d+="0"}return d}t.stringifyNumber=stringifyNumber},92398:(e,t,n)=>{"use strict";var i=n(1553);var o=n(22911);var d=n(81882);var p=n(13773);function stringifyPair({key:e,value:t},n,f,y){const{allNullValues:v,doc:D,indent:M,indentStep:U,options:{commentString:j,indentSeq:V,simpleKeys:K}}=n;let ee=i.isNode(e)&&e.comment||null;if(K){if(ee){throw new Error("With simple keys, key nodes cannot have comments")}if(i.isCollection(e)||!i.isNode(e)&&typeof e==="object"){const e="With simple keys, collection cannot be used as a key value";throw new Error(e)}}let te=!K&&(!e||ee&&t==null&&!n.inFlow||i.isCollection(e)||(i.isScalar(e)?e.type===o.Scalar.BLOCK_FOLDED||e.type===o.Scalar.BLOCK_LITERAL:typeof e==="object"));n=Object.assign({},n,{allNullValues:false,implicitKey:!te&&(K||!v),indent:M+U});let re=false;let ne=false;let se=d.stringify(e,n,(()=>re=true),(()=>ne=true));if(!te&&!n.inFlow&&se.length>1024){if(K)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");te=true}if(n.inFlow){if(v||t==null){if(re&&f)f();return se===""?"?":te?`? ${se}`:se}}else if(v&&!K||t==null&&te){se=`? ${se}`;if(ee&&!re){se+=p.lineComment(se,n.indent,j(ee))}else if(ne&&y)y();return se}if(re)ee=null;if(te){if(ee)se+=p.lineComment(se,n.indent,j(ee));se=`? ${se}\n${M}:`}else{se=`${se}:`;if(ee)se+=p.lineComment(se,n.indent,j(ee))}let ie,oe,ae;if(i.isNode(t)){ie=!!t.spaceBefore;oe=t.commentBefore;ae=t.comment}else{ie=false;oe=null;ae=null;if(t&&typeof t==="object")t=D.createNode(t)}n.implicitKey=false;if(!te&&!ee&&i.isScalar(t))n.indentAtStart=se.length+1;ne=false;if(!V&&U.length>=2&&!n.inFlow&&!te&&i.isSeq(t)&&!t.flow&&!t.tag&&!t.anchor){n.indent=n.indent.substring(2)}let Ae=false;const ce=d.stringify(t,n,(()=>Ae=true),(()=>ne=true));let le=" ";if(ee||ie||oe){le=ie?"\n":"";if(oe){const e=j(oe);le+=`\n${p.indentComment(e,n.indent)}`}if(ce===""&&!n.inFlow){if(le==="\n")le="\n\n"}else{le+=`\n${n.indent}`}}else if(!te&&i.isCollection(t)){const e=ce[0];const i=ce.indexOf("\n");const o=i!==-1;const d=n.inFlow??t.flow??t.items.length===0;if(o||!d){let t=false;if(o&&(e==="&"||e==="!")){let n=ce.indexOf(" ");if(e==="&"&&n!==-1&&n<i&&ce[n+1]==="!"){n=ce.indexOf(" ",n+1)}if(n===-1||i<n)t=true}if(!t)le=`\n${n.indent}`}}else if(ce===""||ce[0]==="\n"){le=""}se+=le+ce;if(n.inFlow){if(Ae&&f)f()}else if(ae&&!Ae){se+=p.lineComment(se,n.indent,j(ae))}else if(ne&&y){y()}return se}t.stringifyPair=stringifyPair},27323:(e,t,n)=>{"use strict";var i=n(22911);var o=n(50345);const getFoldOptions=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth});const containsDocumentMarker=e=>/^(%|---|\.\.\.)/m.test(e);function lineLengthOverLimit(e,t,n){if(!t||t<0)return false;const i=t-n;const o=e.length;if(o<=i)return false;for(let t=0,n=0;t<o;++t){if(e[t]==="\n"){if(t-n>i)return true;n=t+1;if(o-n<=i)return false}}return true}function doubleQuotedString(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:i}=t;const d=t.options.doubleQuotedMinMultiLineLength;const p=t.indent||(containsDocumentMarker(e)?" ":"");let f="";let y=0;for(let e=0,t=n[e];t;t=n[++e]){if(t===" "&&n[e+1]==="\\"&&n[e+2]==="n"){f+=n.slice(y,e)+"\\ ";e+=1;y=e;t="\\"}if(t==="\\")switch(n[e+1]){case"u":{f+=n.slice(y,e);const t=n.substr(e+2,4);switch(t){case"0000":f+="\\0";break;case"0007":f+="\\a";break;case"000b":f+="\\v";break;case"001b":f+="\\e";break;case"0085":f+="\\N";break;case"00a0":f+="\\_";break;case"2028":f+="\\L";break;case"2029":f+="\\P";break;default:if(t.substr(0,2)==="00")f+="\\x"+t.substr(2);else f+=n.substr(e,6)}e+=5;y=e+1}break;case"n":if(i||n[e+2]==='"'||n.length<d){e+=1}else{f+=n.slice(y,e)+"\n\n";while(n[e+2]==="\\"&&n[e+3]==="n"&&n[e+4]!=='"'){f+="\n";e+=2}f+=p;if(n[e+2]===" ")f+="\\";e+=1;y=e+1}break;default:e+=1}}f=y?f+n.slice(y):n;return i?f:o.foldFlowLines(f,p,o.FOLD_QUOTED,getFoldOptions(t,false))}function singleQuotedString(e,t){if(t.options.singleQuote===false||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return doubleQuotedString(e,t);const n=t.indent||(containsDocumentMarker(e)?" ":"");const i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'";return t.implicitKey?i:o.foldFlowLines(i,n,o.FOLD_FLOW,getFoldOptions(t,false))}function quotedString(e,t){const{singleQuote:n}=t.options;let i;if(n===false)i=doubleQuotedString;else{const t=e.includes('"');const o=e.includes("'");if(t&&!o)i=singleQuotedString;else if(o&&!t)i=doubleQuotedString;else i=n?singleQuotedString:doubleQuotedString}return i(e,t)}let d;try{d=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{d=/\n+(?!\n|$)/g}function blockString({comment:e,type:t,value:n},p,f,y){const{blockQuote:v,commentString:D,lineWidth:M}=p.options;if(!v||/\n[\t ]+$/.test(n)||/^\s*$/.test(n)){return quotedString(n,p)}const U=p.indent||(p.forceBlockIndent||containsDocumentMarker(n)?" ":"");const j=v==="literal"?true:v==="folded"||t===i.Scalar.BLOCK_FOLDED?false:t===i.Scalar.BLOCK_LITERAL?true:!lineLengthOverLimit(n,M,U.length);if(!n)return j?"|\n":">\n";let V;let K;for(K=n.length;K>0;--K){const e=n[K-1];if(e!=="\n"&&e!=="\t"&&e!==" ")break}let ee=n.substring(K);const te=ee.indexOf("\n");if(te===-1){V="-"}else if(n===ee||te!==ee.length-1){V="+";if(y)y()}else{V=""}if(ee){n=n.slice(0,-ee.length);if(ee[ee.length-1]==="\n")ee=ee.slice(0,-1);ee=ee.replace(d,`$&${U}`)}let re=false;let ne;let se=-1;for(ne=0;ne<n.length;++ne){const e=n[ne];if(e===" ")re=true;else if(e==="\n")se=ne;else break}let ie=n.substring(0,se<ne?se+1:ne);if(ie){n=n.substring(ie.length);ie=ie.replace(/\n+/g,`$&${U}`)}const oe=U?"2":"1";let ae=(re?oe:"")+V;if(e){ae+=" "+D(e.replace(/ ?[\r\n]+/g," "));if(f)f()}if(!j){const e=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${U}`);let d=false;const f=getFoldOptions(p,true);if(v!=="folded"&&t!==i.Scalar.BLOCK_FOLDED){f.onOverflow=()=>{d=true}}const y=o.foldFlowLines(`${ie}${e}${ee}`,U,o.FOLD_BLOCK,f);if(!d)return`>${ae}\n${U}${y}`}n=n.replace(/\n+/g,`$&${U}`);return`|${ae}\n${U}${ie}${n}${ee}`}function plainString(e,t,n,d){const{type:p,value:f}=e;const{actualString:y,implicitKey:v,indent:D,indentStep:M,inFlow:U}=t;if(v&&f.includes("\n")||U&&/[[\]{},]/.test(f)){return quotedString(f,t)}if(!f||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(f)){return v||U||!f.includes("\n")?quotedString(f,t):blockString(e,t,n,d)}if(!v&&!U&&p!==i.Scalar.PLAIN&&f.includes("\n")){return blockString(e,t,n,d)}if(containsDocumentMarker(f)){if(D===""){t.forceBlockIndent=true;return blockString(e,t,n,d)}else if(v&&D===M){return quotedString(f,t)}}const j=f.replace(/\n+/g,`$&\n${D}`);if(y){const test=e=>e.default&&e.tag!=="tag:yaml.org,2002:str"&&e.test?.test(j);const{compat:e,tags:n}=t.doc.schema;if(n.some(test)||e?.some(test))return quotedString(f,t)}return v?j:o.foldFlowLines(j,D,o.FOLD_FLOW,getFoldOptions(t,false))}function stringifyString(e,t,n,o){const{implicitKey:d,inFlow:p}=t;const f=typeof e.value==="string"?e:Object.assign({},e,{value:String(e.value)});let{type:y}=e;if(y!==i.Scalar.QUOTE_DOUBLE){if(/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(f.value))y=i.Scalar.QUOTE_DOUBLE}const _stringify=e=>{switch(e){case i.Scalar.BLOCK_FOLDED:case i.Scalar.BLOCK_LITERAL:return d||p?quotedString(f.value,t):blockString(f,t,n,o);case i.Scalar.QUOTE_DOUBLE:return doubleQuotedString(f.value,t);case i.Scalar.QUOTE_SINGLE:return singleQuotedString(f.value,t);case i.Scalar.PLAIN:return plainString(f,t,n,o);default:return null}};let v=_stringify(y);if(v===null){const{defaultKeyType:e,defaultStringType:n}=t.options;const i=d&&e||n;v=_stringify(i);if(v===null)throw new Error(`Unsupported default string type ${i}`)}return v}t.stringifyString=stringifyString},1766:(e,t,n)=>{"use strict";var i=n(1553);const o=Symbol("break visit");const d=Symbol("skip children");const p=Symbol("remove node");function visit(e,t){const n=initVisitor(t);if(i.isDocument(e)){const t=visit_(null,e.contents,n,Object.freeze([e]));if(t===p)e.contents=null}else visit_(null,e,n,Object.freeze([]))}visit.BREAK=o;visit.SKIP=d;visit.REMOVE=p;function visit_(e,t,n,d){const f=callVisitor(e,t,n,d);if(i.isNode(f)||i.isPair(f)){replaceNode(e,d,f);return visit_(e,f,n,d)}if(typeof f!=="symbol"){if(i.isCollection(t)){d=Object.freeze(d.concat(t));for(let e=0;e<t.items.length;++e){const i=visit_(e,t.items[e],n,d);if(typeof i==="number")e=i-1;else if(i===o)return o;else if(i===p){t.items.splice(e,1);e-=1}}}else if(i.isPair(t)){d=Object.freeze(d.concat(t));const e=visit_("key",t.key,n,d);if(e===o)return o;else if(e===p)t.key=null;const i=visit_("value",t.value,n,d);if(i===o)return o;else if(i===p)t.value=null}}return f}async function visitAsync(e,t){const n=initVisitor(t);if(i.isDocument(e)){const t=await visitAsync_(null,e.contents,n,Object.freeze([e]));if(t===p)e.contents=null}else await visitAsync_(null,e,n,Object.freeze([]))}visitAsync.BREAK=o;visitAsync.SKIP=d;visitAsync.REMOVE=p;async function visitAsync_(e,t,n,d){const f=await callVisitor(e,t,n,d);if(i.isNode(f)||i.isPair(f)){replaceNode(e,d,f);return visitAsync_(e,f,n,d)}if(typeof f!=="symbol"){if(i.isCollection(t)){d=Object.freeze(d.concat(t));for(let e=0;e<t.items.length;++e){const i=await visitAsync_(e,t.items[e],n,d);if(typeof i==="number")e=i-1;else if(i===o)return o;else if(i===p){t.items.splice(e,1);e-=1}}}else if(i.isPair(t)){d=Object.freeze(d.concat(t));const e=await visitAsync_("key",t.key,n,d);if(e===o)return o;else if(e===p)t.key=null;const i=await visitAsync_("value",t.value,n,d);if(i===o)return o;else if(i===p)t.value=null}}return f}function initVisitor(e){if(typeof e==="object"&&(e.Collection||e.Node||e.Value)){return Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e)}return e}function callVisitor(e,t,n,o){if(typeof n==="function")return n(e,t,o);if(i.isMap(t))return n.Map?.(e,t,o);if(i.isSeq(t))return n.Seq?.(e,t,o);if(i.isPair(t))return n.Pair?.(e,t,o);if(i.isScalar(t))return n.Scalar?.(e,t,o);if(i.isAlias(t))return n.Alias?.(e,t,o);return undefined}function replaceNode(e,t,n){const o=t[t.length-1];if(i.isCollection(o)){o.items[e]=n}else if(i.isPair(o)){if(e==="key")o.key=n;else o.value=n}else if(i.isDocument(o)){o.contents=n}else{const e=i.isAlias(o)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}}t.visit=visit;t.visitAsync=visitAsync},89421:e=>{(()=>{"use strict";var t={d:(e,n)=>{for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{XMLBuilder:()=>ft,XMLParser:()=>st,XMLValidator:()=>re});const i=":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",o=new RegExp("^["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(e,t){const n=[];let i=t.exec(e);for(;i;){const o=[];o.startIndex=t.lastIndex-i[0].length;const d=i.length;for(let e=0;e<d;e++)o.push(i[e]);n.push(o),i=t.exec(e)}return n}const r=function(e){return!(null==o.exec(e))},d={allowBooleanAttributes:!1,unpairedTags:[]};function a(e,t){t=Object.assign({},d,t);const n=[];let i=!1,o=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let d=0;d<e.length;d++)if("<"===e[d]&&"?"===e[d+1]){if(d+=2,d=u(e,d),d.err)return d}else{if("<"!==e[d]){if(l(e[d]))continue;return x("InvalidChar","char '"+e[d]+"' is not expected.",N(e,d))}{let p=d;if(d++,"!"===e[d]){d=h(e,d);continue}{let f=!1;"/"===e[d]&&(f=!0,d++);let y="";for(;d<e.length&&">"!==e[d]&&" "!==e[d]&&"\t"!==e[d]&&"\n"!==e[d]&&"\r"!==e[d];d++)y+=e[d];if(y=y.trim(),"/"===y[y.length-1]&&(y=y.substring(0,y.length-1),d--),!r(y)){let t;return t=0===y.trim().length?"Invalid space after '<'.":"Tag '"+y+"' is an invalid name.",x("InvalidTag",t,N(e,d))}const v=c(e,d);if(!1===v)return x("InvalidAttr","Attributes for '"+y+"' have open quote.",N(e,d));let D=v.value;if(d=v.index,"/"===D[D.length-1]){const n=d-D.length;D=D.substring(0,D.length-1);const o=g(D,t);if(!0!==o)return x(o.err.code,o.err.msg,N(e,n+o.err.line));i=!0}else if(f){if(!v.tagClosed)return x("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",N(e,d));if(D.trim().length>0)return x("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",N(e,p));if(0===n.length)return x("InvalidTag","Closing tag '"+y+"' has not been opened.",N(e,p));{const t=n.pop();if(y!==t.tagName){let n=N(e,t.tagStartPos);return x("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+y+"'.",N(e,p))}0==n.length&&(o=!0)}}else{const f=g(D,t);if(!0!==f)return x(f.err.code,f.err.msg,N(e,d-D.length+f.err.line));if(!0===o)return x("InvalidXml","Multiple possible root nodes found.",N(e,d));-1!==t.unpairedTags.indexOf(y)||n.push({tagName:y,tagStartPos:p}),i=!0}for(d++;d<e.length;d++)if("<"===e[d]){if("!"===e[d+1]){d++,d=h(e,d);continue}if("?"!==e[d+1])break;if(d=u(e,++d),d.err)return d}else if("&"===e[d]){const t=m(e,d);if(-1==t)return x("InvalidChar","char '&' is not expected.",N(e,d));d=t}else if(!0===o&&!l(e[d]))return x("InvalidXml","Extra text at the end",N(e,d));"<"===e[d]&&d--}}}return i?1==n.length?x("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",N(e,n[0].tagStartPos)):!(n.length>0)||x("InvalidXml","Invalid '"+JSON.stringify(n.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):x("InvalidXml","Start tag expected.",1)}function l(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function u(e,t){const n=t;for(;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{const i=e.substr(n,t-n);if(t>5&&"xml"===i)return x("InvalidXml","XML declaration allowed only at the start of the document.",N(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function h(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&(n--,0===n))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}const p='"',f="'";function c(e,t){let n="",i="",o=!1;for(;t<e.length;t++){if(e[t]===p||e[t]===f)""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){o=!0;break}n+=e[t]}return""===i&&{value:n,index:t,tagClosed:o}}const y=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function g(e,t){const n=s(e,y),i={};for(let e=0;e<n.length;e++){if(0===n[e][1].length)return x("InvalidAttr","Attribute '"+n[e][2]+"' has no space in starting.",E(n[e]));if(void 0!==n[e][3]&&void 0===n[e][4])return x("InvalidAttr","Attribute '"+n[e][2]+"' is without value.",E(n[e]));if(void 0===n[e][3]&&!t.allowBooleanAttributes)return x("InvalidAttr","boolean attribute '"+n[e][2]+"' is not allowed.",E(n[e]));const o=n[e][2];if(!b(o))return x("InvalidAttr","Attribute '"+o+"' is an invalid name.",E(n[e]));if(i.hasOwnProperty(o))return x("InvalidAttr","Attribute '"+o+"' is repeated.",E(n[e]));i[o]=1}return!0}function m(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){let n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return-1}(e,++t);let n=0;for(;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(";"===e[t])break;return-1}return t}function x(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function b(e){return r(e)}function N(e,t){const n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function E(e){return e.startIndex+e[1].length}const v={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1};let D;D="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class T{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][D]={startIndex:t})}static getMetaDataSymbol(){return D}}function w(e,t){const n={};if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])throw new Error("Invalid Tag instead of DOCTYPE");{t+=9;let i=1,o=!1,d=!1,p="";for(;t<e.length;t++)if("<"!==e[t]||d)if(">"===e[t]){if(d?"-"===e[t-1]&&"-"===e[t-2]&&(d=!1,i--):i--,0===i)break}else"["===e[t]?o=!0:p+=e[t];else{if(o&&C(e,"!ENTITY",t)){let i,o;t+=7,[i,o,t]=O(e,t+1),-1===o.indexOf("&")&&(n[i]={regx:RegExp(`&${i};`,"g"),val:o})}else if(o&&C(e,"!ELEMENT",t)){t+=8;const{index:n}=S(e,t+1);t=n}else if(o&&C(e,"!ATTLIST",t))t+=8;else if(o&&C(e,"!NOTATION",t)){t+=9;const{index:n}=A(e,t+1);t=n}else{if(!C(e,"!--",t))throw new Error("Invalid DOCTYPE");d=!0}i++,p=""}if(0!==i)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:t}}const P=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function O(e,t){t=P(e,t);let n="";for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)n+=e[t],t++;if($(n),t=P(e,t),"SYSTEM"===e.substring(t,t+6).toUpperCase())throw new Error("External entities are not supported");if("%"===e[t])throw new Error("Parameter entities are not supported");let i="";return[t,i]=I(e,t,"entity"),[n,i,--t]}function A(e,t){t=P(e,t);let n="";for(;t<e.length&&!/\s/.test(e[t]);)n+=e[t],t++;$(n),t=P(e,t);const i=e.substring(t,t+6).toUpperCase();if("SYSTEM"!==i&&"PUBLIC"!==i)throw new Error(`Expected SYSTEM or PUBLIC, found "${i}"`);t+=i.length,t=P(e,t);let o=null,d=null;if("PUBLIC"===i)[t,o]=I(e,t,"publicIdentifier"),'"'!==e[t=P(e,t)]&&"'"!==e[t]||([t,d]=I(e,t,"systemIdentifier"));else if("SYSTEM"===i&&([t,d]=I(e,t,"systemIdentifier"),!d))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:n,publicIdentifier:o,systemIdentifier:d,index:--t}}function I(e,t,n){let i="";const o=e[t];if('"'!==o&&"'"!==o)throw new Error(`Expected quoted string, found "${o}"`);for(t++;t<e.length&&e[t]!==o;)i+=e[t],t++;if(e[t]!==o)throw new Error(`Unterminated ${n} value`);return[++t,i]}function S(e,t){t=P(e,t);let n="";for(;t<e.length&&!/\s/.test(e[t]);)n+=e[t],t++;if(!$(n))throw new Error(`Invalid element name: "${n}"`);let i="";if("E"===e[t=P(e,t)]&&C(e,"MPTY",t))t+=4;else if("A"===e[t]&&C(e,"NY",t))t+=2;else{if("("!==e[t])throw new Error(`Invalid Element Expression, found "${e[t]}"`);for(t++;t<e.length&&")"!==e[t];)i+=e[t],t++;if(")"!==e[t])throw new Error("Unterminated content model")}return{elementName:n,contentModel:i.trim(),index:t}}function C(e,t,n){for(let i=0;i<t.length;i++)if(t[i]!==e[n+i+1])return!1;return!0}function $(e){if(r(e))return e;throw new Error(`Invalid entity name ${e}`)}const M=/^[-+]?0x[a-fA-F0-9]+$/,U=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,j={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};const V=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function _(e){return"function"==typeof e?e:Array.isArray(e)?t=>{for(const n of e){if("string"==typeof n&&t===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}}:()=>!1}class k{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.fromCodePoint(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCodePoint(Number.parseInt(t,16))}},this.addExternalEntities=F,this.parseXml=X,this.parseTextData=L,this.resolveNameSpace=B,this.buildAttributesMap=G,this.isItStopNode=Z,this.replaceEntitiesValue=R,this.readStopNodeData=J,this.saveTextToParentTag=q,this.addChild=Y,this.ignoreAttributesFn=_(this.options.ignoreAttributes)}}function F(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const i=t[n];this.lastEntities[i]={regex:new RegExp("&"+i+";","g"),val:e[i]}}}function L(e,t,n,i,o,d,p){if(void 0!==e&&(this.options.trimValues&&!i&&(e=e.trim()),e.length>0)){p||(e=this.replaceEntitiesValue(e));const i=this.options.tagValueProcessor(t,e,n,o,d);return null==i?e:typeof i!=typeof e||i!==e?i:this.options.trimValues||e.trim()===e?H(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function B(e){if(this.options.removeNSPrefix){const t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}const K=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function G(e,t,n){if(!0!==this.options.ignoreAttributes&&"string"==typeof e){const n=s(e,K),i=n.length,o={};for(let e=0;e<i;e++){const i=this.resolveNameSpace(n[e][1]);if(this.ignoreAttributesFn(i,t))continue;let d=n[e][4],p=this.options.attributeNamePrefix+i;if(i.length)if(this.options.transformAttributeName&&(p=this.options.transformAttributeName(p)),"__proto__"===p&&(p="#__proto__"),void 0!==d){this.options.trimValues&&(d=d.trim()),d=this.replaceEntitiesValue(d);const e=this.options.attributeValueProcessor(i,d,t);o[p]=null==e?d:typeof e!=typeof d||e!==d?e:H(d,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[p]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=o,e}return o}}const X=function(e){e=e.replace(/\r\n?/g,"\n");const t=new T("!xml");let n=t,i="",o="";for(let d=0;d<e.length;d++)if("<"===e[d])if("/"===e[d+1]){const t=W(e,">",d,"Closing Tag is not closed.");let p=e.substring(d+2,t).trim();if(this.options.removeNSPrefix){const e=p.indexOf(":");-1!==e&&(p=p.substr(e+1))}this.options.transformTagName&&(p=this.options.transformTagName(p)),n&&(i=this.saveTextToParentTag(i,n,o));const f=o.substring(o.lastIndexOf(".")+1);if(p&&-1!==this.options.unpairedTags.indexOf(p))throw new Error(`Unpaired tag can not be used as closing tag: </${p}>`);let y=0;f&&-1!==this.options.unpairedTags.indexOf(f)?(y=o.lastIndexOf(".",o.lastIndexOf(".")-1),this.tagsNodeStack.pop()):y=o.lastIndexOf("."),o=o.substring(0,y),n=this.tagsNodeStack.pop(),i="",d=t}else if("?"===e[d+1]){let t=z(e,d,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(i=this.saveTextToParentTag(i,n,o),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new T(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,o,t.tagName)),this.addChild(n,e,o,d)}d=t.closeIndex+1}else if("!--"===e.substr(d+1,3)){const t=W(e,"--\x3e",d+4,"Comment is not closed.");if(this.options.commentPropName){const p=e.substring(d+4,t-2);i=this.saveTextToParentTag(i,n,o),n.add(this.options.commentPropName,[{[this.options.textNodeName]:p}])}d=t}else if("!D"===e.substr(d+1,2)){const t=w(e,d);this.docTypeEntities=t.entities,d=t.i}else if("!["===e.substr(d+1,2)){const t=W(e,"]]>",d,"CDATA is not closed.")-2,p=e.substring(d+9,t);i=this.saveTextToParentTag(i,n,o);let f=this.parseTextData(p,n.tagname,o,!0,!1,!0,!0);null==f&&(f=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:p}]):n.add(this.options.textNodeName,f),d=t+2}else{let p=z(e,d,this.options.removeNSPrefix),f=p.tagName;const y=p.rawTagName;let v=p.tagExp,D=p.attrExpPresent,M=p.closeIndex;this.options.transformTagName&&(f=this.options.transformTagName(f)),n&&i&&"!xml"!==n.tagname&&(i=this.saveTextToParentTag(i,n,o,!1));const U=n;U&&-1!==this.options.unpairedTags.indexOf(U.tagname)&&(n=this.tagsNodeStack.pop(),o=o.substring(0,o.lastIndexOf("."))),f!==t.tagname&&(o+=o?"."+f:f);const j=d;if(this.isItStopNode(this.options.stopNodes,o,f)){let t="";if(v.length>0&&v.lastIndexOf("/")===v.length-1)"/"===f[f.length-1]?(f=f.substr(0,f.length-1),o=o.substr(0,o.length-1),v=f):v=v.substr(0,v.length-1),d=p.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(f))d=p.closeIndex;else{const n=this.readStopNodeData(e,y,M+1);if(!n)throw new Error(`Unexpected end of ${y}`);d=n.i,t=n.tagContent}const i=new T(f);f!==v&&D&&(i[":@"]=this.buildAttributesMap(v,o,f)),t&&(t=this.parseTextData(t,f,o,!0,D,!0,!0)),o=o.substr(0,o.lastIndexOf(".")),i.add(this.options.textNodeName,t),this.addChild(n,i,o,j)}else{if(v.length>0&&v.lastIndexOf("/")===v.length-1){"/"===f[f.length-1]?(f=f.substr(0,f.length-1),o=o.substr(0,o.length-1),v=f):v=v.substr(0,v.length-1),this.options.transformTagName&&(f=this.options.transformTagName(f));const e=new T(f);f!==v&&D&&(e[":@"]=this.buildAttributesMap(v,o,f)),this.addChild(n,e,o,j),o=o.substr(0,o.lastIndexOf("."))}else{const e=new T(f);this.tagsNodeStack.push(n),f!==v&&D&&(e[":@"]=this.buildAttributesMap(v,o,f)),this.addChild(n,e,o,j),n=e}i="",d=M}}else i+=e[d];return t.child};function Y(e,t,n,i){this.options.captureMetaData||(i=void 0);const o=this.options.updateTag(t.tagname,n,t[":@"]);!1===o||("string"==typeof o?(t.tagname=o,e.addChild(t,i)):e.addChild(t,i))}const R=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){const n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function q(e,t,n,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function Z(e,t,n){const i="*."+n;for(const n in e){const o=e[n];if(i===o||t===o)return!0}return!1}function W(e,t,n,i){const o=e.indexOf(t,n);if(-1===o)throw new Error(i);return o+t.length-1}function z(e,t,n,i=">"){const o=function(e,t,n=">"){let i,o="";for(let d=t;d<e.length;d++){let t=e[d];if(i)t===i&&(i="");else if('"'===t||"'"===t)i=t;else if(t===n[0]){if(!n[1])return{data:o,index:d};if(e[d+1]===n[1])return{data:o,index:d}}else"\t"===t&&(t=" ");o+=t}}(e,t+1,i);if(!o)return;let d=o.data;const p=o.index,f=d.search(/\s/);let y=d,v=!0;-1!==f&&(y=d.substring(0,f),d=d.substring(f+1).trimStart());const D=y;if(n){const e=y.indexOf(":");-1!==e&&(y=y.substr(e+1),v=y!==o.data.substr(e+1))}return{tagName:y,tagExp:d,closeIndex:p,attrExpPresent:v,rawTagName:D}}function J(e,t,n){const i=n;let o=1;for(;n<e.length;n++)if("<"===e[n])if("/"===e[n+1]){const d=W(e,">",n,`${t} is not closed`);if(e.substring(n+2,d).trim()===t&&(o--,0===o))return{tagContent:e.substring(i,n),i:d};n=d}else if("?"===e[n+1])n=W(e,"?>",n+1,"StopNode is not closed.");else if("!--"===e.substr(n+1,3))n=W(e,"--\x3e",n+3,"StopNode is not closed.");else if("!["===e.substr(n+1,2))n=W(e,"]]>",n,"StopNode is not closed.")-2;else{const i=z(e,n,">");i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&o++,n=i.closeIndex)}}function H(e,t,n){if(t&&"string"==typeof e){const t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},j,t),!e||"string"!=typeof e)return e;let n=e.trim();if(void 0!==t.skipLike&&t.skipLike.test(n))return e;if("0"===e)return 0;if(t.hex&&M.test(n))return function(e){if(parseInt)return parseInt(e,16);if(Number.parseInt)return Number.parseInt(e,16);if(window&&window.parseInt)return window.parseInt(e,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(n);if(-1!==n.search(/.+[eE].+/))return function(e,t,n){if(!n.eNotation)return e;const i=t.match(V);if(i){let o=i[1]||"";const d=-1===i[3].indexOf("e")?"E":"e",p=i[2],f=o?e[p.length+1]===d:e[p.length]===d;return p.length>1&&f?e:1!==p.length||!i[3].startsWith(`.${d}`)&&i[3][0]!==d?n.leadingZeros&&!f?(t=(i[1]||"")+i[3],Number(t)):e:Number(t)}return e}(e,n,t);{const o=U.exec(n);if(o){const d=o[1]||"",p=o[2];let f=(i=o[3])&&-1!==i.indexOf(".")?("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1)),i):i;const y=d?"."===e[p.length+1]:"."===e[p.length];if(!t.leadingZeros&&(p.length>1||1===p.length&&!y))return e;{const i=Number(n),o=String(i);if(0===i||-0===i)return i;if(-1!==o.search(/[eE]/))return t.eNotation?i:e;if(-1!==n.indexOf("."))return"0"===o||o===f||o===`${d}${f}`?i:e;let y=p?f:n;return p?y===o||d+y===o?i:e:y===o||y===d+o?i:e}}return e}var i}(e,n)}return void 0!==e?e:""}const ee=T.getMetaDataSymbol();function Q(e,t){return tt(e,t)}function tt(e,t,n){let i;const o={};for(let d=0;d<e.length;d++){const p=e[d],f=et(p);let y="";if(y=void 0===n?f:n+"."+f,f===t.textNodeName)void 0===i?i=p[f]:i+=""+p[f];else{if(void 0===f)continue;if(p[f]){let e=tt(p[f],t,y);const n=it(e,t);void 0!==p[ee]&&(e[ee]=p[ee]),p[":@"]?nt(e,p[":@"],y,t):1!==Object.keys(e).length||void 0===e[t.textNodeName]||t.alwaysCreateTextNode?0===Object.keys(e).length&&(t.alwaysCreateTextNode?e[t.textNodeName]="":e=""):e=e[t.textNodeName],void 0!==o[f]&&o.hasOwnProperty(f)?(Array.isArray(o[f])||(o[f]=[o[f]]),o[f].push(e)):t.isArray(f,y,n)?o[f]=[e]:o[f]=e}}}return"string"==typeof i?i.length>0&&(o[t.textNodeName]=i):void 0!==i&&(o[t.textNodeName]=i),o}function et(e){const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=t[e];if(":@"!==n)return n}}function nt(e,t,n,i){if(t){const o=Object.keys(t),d=o.length;for(let p=0;p<d;p++){const d=o[p];i.isArray(d,n+"."+d,!0,!0)?e[d]=[t[d]]:e[d]=t[d]}}}function it(e,t){const{textNodeName:n}=t,i=Object.keys(e).length;return 0===i||!(1!==i||!e[n]&&"boolean"!=typeof e[n]&&0!==e[n])}class st{constructor(e){this.externalEntities={},this.options=function(e){return Object.assign({},v,e)}(e)}parse(e,t){if("string"==typeof e);else{if(!e.toString)throw new Error("XML data is accepted in String or Bytes[] form.");e=e.toString()}if(t){!0===t&&(t={});const n=a(e,t);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}const n=new k(this.options);n.addExternalEntities(this.externalEntities);const i=n.parseXml(e);return this.options.preserveOrder||void 0===i?i:Q(i,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if("&"===t)throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return T.getMetaDataSymbol()}}function rt(e,t){let n="";return t.format&&t.indentBy.length>0&&(n="\n"),ot(e,t,"",n)}function ot(e,t,n,i){let o="",d=!1;for(let p=0;p<e.length;p++){const f=e[p],y=at(f);if(void 0===y)continue;let v="";if(v=0===n.length?y:`${n}.${y}`,y===t.textNodeName){let e=f[y];ut(v,t)||(e=t.tagValueProcessor(y,e),e=ht(e,t)),d&&(o+=i),o+=e,d=!1;continue}if(y===t.cdataPropName){d&&(o+=i),o+=`<![CDATA[${f[y][0][t.textNodeName]}]]>`,d=!1;continue}if(y===t.commentPropName){o+=i+`\x3c!--${f[y][0][t.textNodeName]}--\x3e`,d=!0;continue}if("?"===y[0]){const e=lt(f[":@"],t),n="?xml"===y?"":i;let p=f[y][0][t.textNodeName];p=0!==p.length?" "+p:"",o+=n+`<${y}${p}${e}?>`,d=!0;continue}let D=i;""!==D&&(D+=t.indentBy);const M=i+`<${y}${lt(f[":@"],t)}`,U=ot(f[y],t,v,D);-1!==t.unpairedTags.indexOf(y)?t.suppressUnpairedNode?o+=M+">":o+=M+"/>":U&&0!==U.length||!t.suppressEmptyNode?U&&U.endsWith(">")?o+=M+`>${U}${i}</${y}>`:(o+=M+">",U&&""!==i&&(U.includes("/>")||U.includes("</"))?o+=i+t.indentBy+U+i:o+=U,o+=`</${y}>`):o+=M+"/>",d=!0}return o}function at(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const i=t[n];if(e.hasOwnProperty(i)&&":@"!==i)return i}}function lt(e,t){let n="";if(e&&!t.ignoreAttributes)for(let i in e){if(!e.hasOwnProperty(i))continue;let o=t.attributeValueProcessor(i,e[i]);o=ht(o,t),!0===o&&t.suppressBooleanAttributes?n+=` ${i.substr(t.attributeNamePrefix.length)}`:n+=` ${i.substr(t.attributeNamePrefix.length)}="${o}"`}return n}function ut(e,t){let n=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(".")+1);for(let i in t.stopNodes)if(t.stopNodes[i]===e||t.stopNodes[i]==="*."+n)return!0;return!1}function ht(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){const i=t.entities[n];e=e.replace(i.regex,i.val)}return e}const te={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,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:!0,stopNodes:[],oneListGroup:!1};function ft(e){this.options=Object.assign({},te,e),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=_(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=gt),this.processTextOrObjNode=ct,this.options.format?(this.indentate=pt,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function ct(e,t,n,i){const o=this.j2x(e,n+1,i.concat(t));return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,n):this.buildObjectNode(o.val,t,o.attrStr,n)}function pt(e){return this.options.indentBy.repeat(e)}function gt(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}ft.prototype.build=function(e){return this.options.preserveOrder?rt(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)},ft.prototype.j2x=function(e,t,n){let i="",o="";const d=n.join(".");for(let p in e)if(Object.prototype.hasOwnProperty.call(e,p))if(void 0===e[p])this.isAttribute(p)&&(o+="");else if(null===e[p])this.isAttribute(p)||p===this.options.cdataPropName?o+="":"?"===p[0]?o+=this.indentate(t)+"<"+p+"?"+this.tagEndChar:o+=this.indentate(t)+"<"+p+"/"+this.tagEndChar;else if(e[p]instanceof Date)o+=this.buildTextValNode(e[p],p,"",t);else if("object"!=typeof e[p]){const n=this.isAttribute(p);if(n&&!this.ignoreAttributesFn(n,d))i+=this.buildAttrPairStr(n,""+e[p]);else if(!n)if(p===this.options.textNodeName){let t=this.options.tagValueProcessor(p,""+e[p]);o+=this.replaceEntitiesValue(t)}else o+=this.buildTextValNode(e[p],p,"",t)}else if(Array.isArray(e[p])){const i=e[p].length;let d="",f="";for(let y=0;y<i;y++){const i=e[p][y];if(void 0===i);else if(null===i)"?"===p[0]?o+=this.indentate(t)+"<"+p+"?"+this.tagEndChar:o+=this.indentate(t)+"<"+p+"/"+this.tagEndChar;else if("object"==typeof i)if(this.options.oneListGroup){const e=this.j2x(i,t+1,n.concat(p));d+=e.val,this.options.attributesGroupName&&i.hasOwnProperty(this.options.attributesGroupName)&&(f+=e.attrStr)}else d+=this.processTextOrObjNode(i,p,t,n);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(p,i);e=this.replaceEntitiesValue(e),d+=e}else d+=this.buildTextValNode(i,p,"",t)}this.options.oneListGroup&&(d=this.buildObjectNode(d,p,f,t)),o+=d}else if(this.options.attributesGroupName&&p===this.options.attributesGroupName){const t=Object.keys(e[p]),n=t.length;for(let o=0;o<n;o++)i+=this.buildAttrPairStr(t[o],""+e[p][t[o]])}else o+=this.processTextOrObjNode(e[p],p,t,n);return{attrStr:i,val:o}},ft.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+t+'"'},ft.prototype.buildObjectNode=function(e,t,n,i){if(""===e)return"?"===t[0]?this.indentate(i)+"<"+t+n+"?"+this.tagEndChar:this.indentate(i)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let o="</"+t+this.tagEndChar,d="";return"?"===t[0]&&(d="?",o=""),!n&&""!==n||-1!==e.indexOf("<")?!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===d.length?this.indentate(i)+`\x3c!--${e}--\x3e`+this.newLine:this.indentate(i)+"<"+t+n+d+this.tagEndChar+e+this.indentate(i)+o:this.indentate(i)+"<"+t+n+d+">"+e+o}},ft.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},ft.prototype.buildTextValNode=function(e,t,n,i){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(i)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(i)+`\x3c!--${e}--\x3e`+this.newLine;if("?"===t[0])return this.indentate(i)+"<"+t+n+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(t,e);return o=this.replaceEntitiesValue(o),""===o?this.indentate(i)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+n+">"+o+"</"+t+this.tagEndChar}},ft.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const n=this.options.entities[t];e=e.replace(n.regex,n.val)}return e};const re={validate:a};e.exports=n})()},44917:e=>{"use strict";e.exports=JSON.parse('{"name":"@actions/cache","version":"4.1.0","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4","typescript":"^5.2.2"}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var n=__webpack_module_cache__[e]={exports:{}};var i=true;try{__webpack_modules__[e].call(n.exports,n,n.exports,__nccwpck_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(21046);module.exports=__webpack_exports__})(); |