require('./sourcemap-register.js');(()=>{var i={76846:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__exportStar||function(i,u){for(var A in i)if(A!=="default"&&!Object.prototype.hasOwnProperty.call(u,A))I(u,i,A)};Object.defineProperty(u,"__esModule",{value:true});const Q=A(64487);B(A(13776),u);B(A(45655),u);B(A(64487),u);const P=new Q.DefaultArtifactClient;u["default"]=P},35592:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Timestamp=void 0;const I=A(68886);const B=A(68886);const Q=A(68886);const P=A(68886);const D=A(68886);const L=A(68886);const U=A(68886);class Timestamp$Type extends U.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const i=this.create();const u=Date.now();i.seconds=L.PbLong.from(Math.floor(u/1e3)).toString();i.nanos=u%1e3*1e6;return i}toDate(i){return new Date(L.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){const u=this.create();const A=i.getTime();u.seconds=L.PbLong.from(Math.floor(A/1e3)).toString();u.nanos=A%1e3*1e6;return u}internalJsonWrite(i,u){let A=L.PbLong.from(i.seconds).toNumber()*1e3;if(ADate.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(i.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let I="Z";if(i.nanos>0){let u=(i.nanos+1e9).toString().substring(1);if(u.substring(3)==="000000")I="."+u.substring(0,3)+"Z";else if(u.substring(6)==="000")I="."+u.substring(0,6)+"Z";else I="."+u+"Z"}return new Date(A).toISOString().replace(".000Z",I)}internalJsonRead(i,u,A){if(typeof i!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,D.typeofJsonValue)(i)+".");let I=i.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!I)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let B=Date.parse(I[1]+"-"+I[2]+"-"+I[3]+"T"+I[4]+":"+I[5]+":"+I[6]+(I[8]?I[8]:"Z"));if(Number.isNaN(B))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(BDate.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!A)A=this.create();A.seconds=L.PbLong.from(B/1e3).toString();A.nanos=0;if(I[7])A.nanos=parseInt("1"+I[7]+"0".repeat(9-I[7].length))-1e9;return A}create(i){const u={seconds:"0",nanos:0};globalThis.Object.defineProperty(u,P.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,Q.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let Q=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.pos{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.BytesValue=u.StringValue=u.BoolValue=u.UInt32Value=u.Int32Value=u.UInt64Value=u.Int64Value=u.FloatValue=u.DoubleValue=void 0;const I=A(68886);const B=A(68886);const Q=A(68886);const P=A(68886);const D=A(68886);const L=A(68886);const U=A(68886);class DoubleValue$Type extends U.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(i,u){return this.refJsonWriter.scalar(2,i.value,"value",false,true)}internalJsonRead(i,u,A){if(!A)A=this.create();A.value=this.refJsonReader.scalar(i,1,undefined,"value");return A}create(i){const u={value:0};globalThis.Object.defineProperty(u,L.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,D.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),Q=i.pos+u;while(i.pos{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ArtifactService=u.DeleteArtifactResponse=u.DeleteArtifactRequest=u.GetSignedArtifactURLResponse=u.GetSignedArtifactURLRequest=u.ListArtifactsResponse_MonolithArtifact=u.ListArtifactsResponse=u.ListArtifactsRequest=u.FinalizeArtifactResponse=u.FinalizeArtifactRequest=u.CreateArtifactResponse=u.CreateArtifactRequest=u.FinalizeMigratedArtifactResponse=u.FinalizeMigratedArtifactRequest=u.MigrateArtifactResponse=u.MigrateArtifactRequest=void 0;const I=A(44420);const B=A(68886);const Q=A(68886);const P=A(68886);const D=A(68886);const L=A(68886);const U=A(78806);const G=A(78806);const z=A(35592);class MigrateArtifactRequest$Type extends L.MessageType{constructor(){super("github.actions.results.api.v1.MigrateArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"expires_at",kind:"message",T:()=>z.Timestamp}])}create(i){const u={workflowRunBackendId:"",name:""};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.posz.Timestamp},{no:5,name:"version",kind:"scalar",T:5}])}create(i){const u={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.posG.StringValue}])}create(i){const u={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.posG.StringValue},{no:4,name:"id_filter",kind:"message",T:()=>U.Int64Value}])}create(i){const u={workflowRunBackendId:"",workflowJobRunBackendId:""};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.posu.ListArtifactsResponse_MonolithArtifact}])}create(i){const u={artifacts:[]};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,A,I,B){let P=B!==null&&B!==void 0?B:this.create(),D=i.pos+A;while(i.posz.Timestamp},{no:7,name:"digest",kind:"message",T:()=>G.StringValue}])}create(i){const u={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.pos{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ArtifactServiceClientProtobuf=u.ArtifactServiceClientJSON=void 0;const I=A(68614);class ArtifactServiceClientJSON{constructor(i){this.rpc=i;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(i){const u=I.CreateArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/json",u);return A.then((i=>I.CreateArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}FinalizeArtifact(i){const u=I.FinalizeArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",u);return A.then((i=>I.FinalizeArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}ListArtifacts(i){const u=I.ListArtifactsRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",u);return A.then((i=>I.ListArtifactsResponse.fromJson(i,{ignoreUnknownFields:true})))}GetSignedArtifactURL(i){const u=I.GetSignedArtifactURLRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",u);return A.then((i=>I.GetSignedArtifactURLResponse.fromJson(i,{ignoreUnknownFields:true})))}DeleteArtifact(i){const u=I.DeleteArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",u);return A.then((i=>I.DeleteArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}}u.ArtifactServiceClientJSON=ArtifactServiceClientJSON;class ArtifactServiceClientProtobuf{constructor(i){this.rpc=i;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(i){const u=I.CreateArtifactRequest.toBinary(i);const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/protobuf",u);return A.then((i=>I.CreateArtifactResponse.fromBinary(i)))}FinalizeArtifact(i){const u=I.FinalizeArtifactRequest.toBinary(i);const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/protobuf",u);return A.then((i=>I.FinalizeArtifactResponse.fromBinary(i)))}ListArtifacts(i){const u=I.ListArtifactsRequest.toBinary(i);const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/protobuf",u);return A.then((i=>I.ListArtifactsResponse.fromBinary(i)))}GetSignedArtifactURL(i){const u=I.GetSignedArtifactURLRequest.toBinary(i);const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/protobuf",u);return A.then((i=>I.GetSignedArtifactURLResponse.fromBinary(i)))}DeleteArtifact(i){const u=I.DeleteArtifactRequest.toBinary(i);const A=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/protobuf",u);return A.then((i=>I.DeleteArtifactResponse.fromBinary(i)))}}u.ArtifactServiceClientProtobuf=ArtifactServiceClientProtobuf},64487:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};var B=this&&this.__rest||function(i,u){var A={};for(var I in i)if(Object.prototype.hasOwnProperty.call(i,I)&&u.indexOf(I)<0)A[I]=i[I];if(i!=null&&typeof Object.getOwnPropertySymbols==="function")for(var B=0,I=Object.getOwnPropertySymbols(i);B1){D=P.artifacts.sort(((i,u)=>Number(u.databaseId)-Number(i.databaseId)))[0];(0,B.debug)(`More than one artifact found for a single name, returning newest (id: ${D.databaseId})`)}const L={workflowRunBackendId:D.workflowRunBackendId,workflowJobRunBackendId:D.workflowJobRunBackendId,name:D.name};const U=yield u.DeleteArtifact(L);(0,B.info)(`Artifact '${i}' (ID: ${U.artifactId}) deleted`);return{id:Number(U.artifactId)}}))}},93542:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{const u=new URL(i);u.search="";return u.toString()};function exists(i){return P(this,void 0,void 0,(function*(){try{yield L.default.access(i);return true}catch(i){if(i.code==="ENOENT"){return false}else{throw i}}}))}function streamExtract(i,u){return P(this,void 0,void 0,(function*(){let A=0;while(A<5){try{return yield streamExtractExternal(i,u)}catch(i){A++;W.debug(`Failed to download artifact after ${A} retries due to ${i.message}. Retrying in 5 seconds...`);yield new Promise((i=>setTimeout(i,5e3)))}}throw new Error(`Artifact download failed after ${A} retries.`)}))}function streamExtractExternal(i,u){return P(this,arguments,void 0,(function*(i,u,A={timeout:30*1e3}){const I=new Y.HttpClient((0,$.getUserAgentString)());const B=yield I.get(i);if(B.message.statusCode!==200){throw new Error(`Unexpected HTTP response from blob storage: ${B.message.statusCode} ${B.message.statusMessage}`)}let Q=undefined;return new Promise(((i,I)=>{const timerFn=()=>{const i=new Error(`Blob storage chunk did not respond in ${A.timeout}ms`);B.message.destroy(i);I(i)};const P=setTimeout(timerFn,A.timeout);const D=U.createHash("sha256").setEncoding("hex");const L=new G.PassThrough;B.message.pipe(L);L.pipe(D);const z=L;z.on("data",(()=>{P.refresh()})).on("error",(i=>{W.debug(`response.message: Artifact download failed: ${i.message}`);clearTimeout(P);I(i)})).pipe(J.default.Extract({path:u})).on("close",(()=>{clearTimeout(P);if(D){D.end();Q=D.read();W.info(`SHA256 digest of downloaded artifact is ${Q}`)}i({sha256Digest:`sha256:${Q}`})})).on("error",(i=>{I(i)}))}))}))}function downloadArtifactPublic(i,u,A,I,B){return P(this,void 0,void 0,(function*(){const Q=yield resolveOrCreateDirectory(B===null||B===void 0?void 0:B.path);const P=z.getOctokit(I);let D=false;W.info(`Downloading artifact '${i}' from '${u}/${A}'`);const{headers:L,status:U}=yield P.rest.actions.downloadArtifact({owner:u,repo:A,artifact_id:i,archive_format:"zip",request:{redirect:"manual"}});if(U!==302){throw new Error(`Unable to download artifact. Unexpected status: ${U}`)}const{location:G}=L;if(!G){throw new Error(`Unable to redirect to artifact download url`)}W.info(`Redirecting to blob download url: ${scrubQueryParameters(G)}`);try{W.info(`Starting download of artifact to: ${Q}`);const i=yield streamExtract(G,Q);W.info(`Artifact download completed successfully.`);if(B===null||B===void 0?void 0:B.expectedHash){if((B===null||B===void 0?void 0:B.expectedHash)!==i.sha256Digest){D=true;W.debug(`Computed digest: ${i.sha256Digest}`);W.debug(`Expected digest: ${B.expectedHash}`)}}}catch(i){throw new Error(`Unable to download and extract artifact: ${i.message}`)}return{downloadPath:Q,digestMismatch:D}}))}function downloadArtifactInternal(i,u){return P(this,void 0,void 0,(function*(){const A=yield resolveOrCreateDirectory(u===null||u===void 0?void 0:u.path);const I=(0,X.internalArtifactTwirpClient)();let B=false;const{workflowRunBackendId:Q,workflowJobRunBackendId:P}=(0,Ae.getBackendIdsFromToken)();const D={workflowRunBackendId:Q,workflowJobRunBackendId:P,idFilter:he.Int64Value.create({value:i.toString()})};const{artifacts:L}=yield I.ListArtifacts(D);if(L.length===0){throw new ye.ArtifactNotFoundError(`No artifacts found for ID: ${i}\nAre you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`)}if(L.length>1){W.warning("Multiple artifacts found, defaulting to first.")}const U={workflowRunBackendId:L[0].workflowRunBackendId,workflowJobRunBackendId:L[0].workflowJobRunBackendId,name:L[0].name};const{signedUrl:G}=yield I.GetSignedArtifactURL(U);W.info(`Redirecting to blob download url: ${scrubQueryParameters(G)}`);try{W.info(`Starting download of artifact to: ${A}`);const i=yield streamExtract(G,A);W.info(`Artifact download completed successfully.`);if(u===null||u===void 0?void 0:u.expectedHash){if((u===null||u===void 0?void 0:u.expectedHash)!==i.sha256Digest){B=true;W.debug(`Computed digest: ${i.sha256Digest}`);W.debug(`Expected digest: ${u.expectedHash}`)}}}catch(i){throw new Error(`Unable to download and extract artifact: ${i.message}`)}return{downloadPath:A,digestMismatch:B}}))}function resolveOrCreateDirectory(){return P(this,arguments,void 0,(function*(i=(0,K.getGitHubWorkspaceDir)()){if(!(yield exists(i))){W.debug(`Artifact destination folder does not exist, creating: ${i}`);yield L.default.mkdir(i,{recursive:true})}else{W.debug(`Artifact destination folder already exists: ${i}`)}return i}))}},2327:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q1){Ae=he.data.artifacts.sort(((i,u)=>u.id-i.id))[0];U.debug(`More than one artifact found for a single name, returning newest (id: ${Ae.id})`)}return{artifact:{name:Ae.name,id:Ae.id,size:Ae.size_in_bytes,createdAt:Ae.created_at?new Date(Ae.created_at):undefined,digest:Ae.digest}}}))}function getArtifactInternal(i){return P(this,void 0,void 0,(function*(){var u;const A=(0,$.internalArtifactTwirpClient)();const{workflowRunBackendId:I,workflowJobRunBackendId:B}=(0,Y.getBackendIdsFromToken)();const Q={workflowRunBackendId:I,workflowJobRunBackendId:B,nameFilter:K.StringValue.create({value:i})};const P=yield A.ListArtifacts(Q);if(P.artifacts.length===0){throw new X.ArtifactNotFoundError(`Artifact not found for name: ${i}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`)}let D=P.artifacts[0];if(P.artifacts.length>1){D=P.artifacts.sort(((i,u)=>Number(u.databaseId)-Number(i.databaseId)))[0];U.debug(`More than one artifact found for a single name, returning newest (id: ${D.databaseId})`)}return{artifact:{name:D.name,id:Number(D.databaseId),size:Number(D.size),createdAt:D.createdAt?K.Timestamp.toDate(D.createdAt):undefined,digest:(u=D.digest)===null||u===void 0?void 0:u.value}}}))}},8808:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.listArtifactsPublic=listArtifactsPublic;u.listArtifactsInternal=listArtifactsInternal;const B=A(37484);const Q=A(93228);const P=A(89387);const D=A(38361);const L=A(38006);const U=A(6966);const G=A(33450);const z=A(87417);const W=A(41631);const Y=A(72938);const J=A(44216);const $=(0,Y.getMaxArtifactListCount)();const K=100;const X=Math.ceil($/K);function listArtifactsPublic(i,u,A,z){return I(this,arguments,void 0,(function*(i,u,A,I,z=false){(0,B.info)(`Fetching artifact list for workflow run ${i} in repository ${u}/${A}`);let W=[];const[Y,J]=(0,D.getRetryOptions)(L.defaults);const he={log:undefined,userAgent:(0,P.getUserAgentString)(),previews:undefined,retry:Y,request:J};const Ae=(0,Q.getOctokit)(I,he,G.retry,U.requestLog);let ye=1;const{data:be}=yield Ae.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:u,repo:A,run_id:i,per_page:K,page:ye});let Ee=Math.ceil(be.total_count/K);const Ce=be.total_count;if(Ce>$){(0,B.warning)(`Workflow run ${i} has ${Ce} artifacts, exceeding the limit of ${$}. Results will be incomplete as only the first ${$} artifacts will be returned`);Ee=X}for(const i of be.artifacts){W.push({name:i.name,id:i.id,size:i.size_in_bytes,createdAt:i.created_at?new Date(i.created_at):undefined,digest:i.digest})}ye++;for(ye;ye<=Ee;ye++){(0,B.debug)(`Fetching page ${ye} of artifact list`);const{data:I}=yield Ae.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:u,repo:A,run_id:i,per_page:K,page:ye});for(const i of I.artifacts){W.push({name:i.name,id:i.id,size:i.size_in_bytes,createdAt:i.created_at?new Date(i.created_at):undefined,digest:i.digest})}}if(z){W=filterLatest(W)}(0,B.info)(`Found ${W.length} artifact(s)`);return{artifacts:W}}))}function listArtifactsInternal(){return I(this,arguments,void 0,(function*(i=false){const u=(0,z.internalArtifactTwirpClient)();const{workflowRunBackendId:A,workflowJobRunBackendId:I}=(0,W.getBackendIdsFromToken)();const Q={workflowRunBackendId:A,workflowJobRunBackendId:I};const P=yield u.ListArtifacts(Q);let D=P.artifacts.map((i=>{var u;return{name:i.name,id:Number(i.databaseId),size:Number(i.size),createdAt:i.createdAt?J.Timestamp.toDate(i.createdAt):undefined,digest:(u=i.digest)===null||u===void 0?void 0:u.value}}));if(i){D=filterLatest(D)}(0,B.info)(`Found ${D.length} artifact(s)`);return{artifacts:D}}))}function filterLatest(i){i.sort(((i,u)=>u.id-i.id));const u=[];const A=new Set;for(const I of i){if(!A.has(I.name)){u.push(I);A.add(I.name)}}return u}},38361:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q0){B.doNotRetry=A}const Q=Object.assign(Object.assign({},i.request),{retries:u});P.debug(`GitHub client configured with: (retries: ${Q.retries}, retry-exempt-status-code: ${(I=B.doNotRetry)!==null&&I!==void 0?I:"octokit default: [400, 401, 403, 404, 422]"})`);return[B,Q]}},87417:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.internalArtifactTwirpClient=internalArtifactTwirpClient;const B=A(54844);const Q=A(44552);const P=A(37484);const D=A(44216);const L=A(72938);const U=A(89387);const G=A(45655);const z=A(41631);class ArtifactHttpClient{constructor(i,u,A,I){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const P=(0,L.getRuntimeToken)();this.baseUrl=(0,L.getResultsServiceUrl)();if(u){this.maxAttempts=u}if(A){this.baseRetryIntervalMilliseconds=A}if(I){this.retryMultiplier=I}this.httpClient=new B.HttpClient(i,[new Q.BearerCredentialHandler(P)])}request(i,u,A,B){return I(this,void 0,void 0,(function*(){const Q=new URL(`/twirp/${i}/${u}`,this.baseUrl).href;(0,P.debug)(`[Request] ${u} ${Q}`);const D={"Content-Type":A};try{const{body:i}=yield this.retryableRequest((()=>I(this,void 0,void 0,(function*(){return this.httpClient.post(Q,JSON.stringify(B),D)}))));return i}catch(i){throw new Error(`Failed to ${u}: ${i.message}`)}}))}retryableRequest(i){return I(this,void 0,void 0,(function*(){let u=0;let A="";let I="";while(u=200&&i<300}isRetryableHttpStatusCode(i){if(!i)return false;const u=[B.HttpCodes.BadGateway,B.HttpCodes.GatewayTimeout,B.HttpCodes.InternalServerError,B.HttpCodes.ServiceUnavailable,B.HttpCodes.TooManyRequests];return u.includes(i)}sleep(i){return I(this,void 0,void 0,(function*(){return new Promise((u=>setTimeout(u,i)))}))}getExponentialRetryTimeMilliseconds(i){if(i<0){throw new Error("attempt should be a positive integer")}if(i===0){return this.baseRetryIntervalMilliseconds}const u=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,i);const A=u*this.retryMultiplier;return Math.trunc(Math.random()*(A-u)+u)}}function internalArtifactTwirpClient(i){const u=new ArtifactHttpClient((0,U.getUserAgentString)(),i===null||i===void 0?void 0:i.maxAttempts,i===null||i===void 0?void 0:i.retryIntervalMs,i===null||i===void 0?void 0:i.retryMultiplier);return new D.ArtifactServiceClientJSON(u)}},72938:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.getUploadChunkSize=getUploadChunkSize;u.getRuntimeToken=getRuntimeToken;u.getResultsServiceUrl=getResultsServiceUrl;u.isGhes=isGhes;u.getGitHubWorkspaceDir=getGitHubWorkspaceDir;u.getConcurrency=getConcurrency;u.getUploadChunkTimeout=getUploadChunkTimeout;u.getMaxArtifactListCount=getMaxArtifactListCount;const B=I(A(70857));const Q=A(37484);function getUploadChunkSize(){return 8*1024*1024}function getRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"];if(!i){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return i}function getResultsServiceUrl(){const i=process.env["ACTIONS_RESULTS_URL"];if(!i){throw new Error("Unable to get the ACTIONS_RESULTS_URL env variable")}return new URL(i).origin}function isGhes(){const i=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const u=i.hostname.trimEnd().toUpperCase();const A=u==="GITHUB.COM";const I=u.endsWith(".GHE.COM");const B=u.endsWith(".LOCALHOST");return!A&&!I&&!B}function getGitHubWorkspaceDir(){const i=process.env["GITHUB_WORKSPACE"];if(!i){throw new Error("Unable to get the GITHUB_WORKSPACE env variable")}return i}function getConcurrency(){const i=B.default.cpus().length;let u=32;if(i>4){const A=16*i;u=A>300?300:A}const A=process.env["ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY"];if(A){const i=parseInt(A);if(isNaN(i)||i<1){throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable")}if(i{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.UsageError=u.NetworkError=u.GHESNotSupportedError=u.ArtifactNotFoundError=u.InvalidResponseError=u.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(i=[]){let u="No files were found to upload";if(i.length>0){u+=`: ${i.join(", ")}`}super(u);this.files=i;this.name="FilesNotFoundError"}}u.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(i){super(i);this.name="InvalidResponseError"}}u.InvalidResponseError=InvalidResponseError;class ArtifactNotFoundError extends Error{constructor(i="Artifact not found"){super(i);this.name="ArtifactNotFoundError"}}u.ArtifactNotFoundError=ArtifactNotFoundError;class GHESNotSupportedError extends Error{constructor(i="@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES."){super(i);this.name="GHESNotSupportedError"}}u.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(i){const u=`Unable to make request: ${i}\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(u);this.code=i;this.name="NetworkError"}}u.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=i=>{if(!i)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(i)};class UsageError extends Error{constructor(){const i=`Artifact storage quota has been hit. Unable to upload any new artifacts. 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(i);this.name="UsageError"}}u.UsageError=UsageError;UsageError.isUsageErrorMessage=i=>{if(!i)return false;return i.includes("insufficient usage")}},13776:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true})},89387:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getUserAgentString=getUserAgentString;const I=A(2822);function getUserAgentString(){return`@actions/artifact-${I.version}`}},41631:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;QP(this,void 0,void 0,(function*(){return new Promise(((u,A)=>{const Q=setInterval((()=>{if(Date.now()-I>i){A(new Error("Upload progress stalled."))}}),i);B.signal.addEventListener("abort",(()=>{clearInterval(Q);u()}))}))}));const Q=(0,L.getConcurrency)();const Y=(0,L.getUploadChunkSize)();const J=new D.BlobClient(i);const $=J.getBlockBlobClient();U.debug(`Uploading artifact zip to blob storage with maxConcurrency: ${Q}, bufferSize: ${Y}`);const uploadCallback=i=>{U.info(`Uploaded bytes ${i.loadedBytes}`);A=i.loadedBytes;I=Date.now()};const K={blobHTTPHeaders:{blobContentType:"zip"},onProgress:uploadCallback,abortSignal:B.signal};let X=undefined;const he=new z.PassThrough;const Ae=G.createHash("sha256");u.pipe(he);u.pipe(Ae).setEncoding("hex");U.info("Beginning upload of artifact content to blob storage");try{yield Promise.race([$.uploadStream(he,Y,Q,K),chunkTimer((0,L.getUploadChunkTimeout)())])}catch(i){if(W.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new W.NetworkError(i===null||i===void 0?void 0:i.code)}throw i}finally{B.abort()}U.info("Finished uploading artifact content to blob storage!");Ae.end();X=Ae.read();U.info(`SHA256 digest of uploaded artifact zip is ${X}`);if(A===0){U.warning(`No data was uploaded to blob storage. Reported upload byte count is 0.`)}return{uploadSize:A,sha256Hash:X}}))}},89190:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.validateArtifactName=validateArtifactName;u.validateFilePath=validateFilePath;const I=A(37484);const B=new Map([['"',' Double quote "'],[":"," Colon :"],["<"," Less than <"],[">"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],["\n"," Line feed \\n"]]);const Q=new Map([...B,["\\"," Backslash \\"],["/"," Forward slash /"]]);function validateArtifactName(i){if(!i){throw new Error(`Provided artifact name input during validation is empty`)}for(const[u,A]of Q){if(i.includes(u)){throw new Error(`The artifact name is not valid: ${i}. Contains the following character: ${A}\n \nInvalid characters include: ${Array.from(Q.values()).toString()}\n \nThese characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.`)}}(0,I.info)(`Artifact name is valid!`)}function validateFilePath(i){if(!i){throw new Error(`Provided file path input during validation is empty`)}for(const[u,A]of B){if(i.includes(u)){throw new Error(`The path for one of the files in artifact is not valid: ${i}. Contains the following character: ${A}\n \nInvalid characters include: ${Array.from(B.values()).toString()}\n \nThe following characters are not allowed in files that are uploaded due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.\n `)}}}},47252:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qi.sourcePath?[i.sourcePath]:[])))}const Q=(0,W.getBackendIdsFromToken)();const P=(0,G.internalArtifactTwirpClient)();const X={workflowRunBackendId:Q.workflowRunBackendId,workflowJobRunBackendId:Q.workflowJobRunBackendId,name:i,version:4};const he=(0,L.getExpiration)(I===null||I===void 0?void 0:I.retentionDays);if(he){X.expiresAt=he}const Ae=yield P.CreateArtifact(X);if(!Ae.ok){throw new K.InvalidResponseError("CreateArtifact: response from backend was not ok")}const ye=yield(0,J.createZipUploadStream)(B,I===null||I===void 0?void 0:I.compressionLevel);const be=yield(0,Y.uploadZipToBlobStorage)(Ae.signedUploadUrl,ye);const Ee={workflowRunBackendId:Q.workflowRunBackendId,workflowJobRunBackendId:Q.workflowJobRunBackendId,name:i,size:be.uploadSize?be.uploadSize.toString():"0"};if(be.sha256Hash){Ee.hash=$.StringValue.create({value:`sha256:${be.sha256Hash}`})}D.info(`Finalizing artifact upload`);const Ce=yield P.FinalizeArtifact(Ee);if(!Ce.ok){throw new K.InvalidResponseError("FinalizeArtifact: response from backend was not ok")}const we=BigInt(Ce.artifactId);D.info(`Artifact ${i}.zip successfully finalized. Artifact ID ${we}`);return{size:be.uploadSize,digest:be.sha256Hash,id:Number(we)}}))}},5067:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{G.error("An error has occurred while creating the zip file for upload");G.info(i);throw new Error("An error has occurred during zip creation for the artifact")};const zipWarningCallback=i=>{if(i.code==="ENOENT"){G.warning("ENOENT warning during artifact zip creation. No such file or directory");G.info(i)}else{G.warning(`A non-blocking warning has occurred during artifact zip creation: ${i.code}`);G.info(i)}};const zipFinishCallback=()=>{G.debug("Zip stream for upload has finished.")};const zipEndCallback=()=>{G.debug("Zip stream for upload has ended.")}},5116:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.saveCache=u.restoreCache=u.isFeatureAvailable=u.FinalizeCacheError=u.ReserveCacheError=u.ValidationError=void 0;const D=Q(A(37484));const L=Q(A(16928));const U=Q(A(98299));const G=Q(A(73171));const z=Q(A(96819));const W=A(17606);const Y=A(95321);const J=A(54844);class ValidationError extends Error{constructor(i){super(i);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}u.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(i){super(i);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}u.ReserveCacheError=ReserveCacheError;class FinalizeCacheError extends Error{constructor(i){super(i);this.name="FinalizeCacheError";Object.setPrototypeOf(this,FinalizeCacheError.prototype)}}u.FinalizeCacheError=FinalizeCacheError;function checkPaths(i){if(!i||i.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(i){if(i.length>512){throw new ValidationError(`Key Validation Error: ${i} cannot be larger than 512 characters.`)}const u=/^[^,]*$/;if(!u.test(i)){throw new ValidationError(`Key Validation Error: ${i} cannot contain commas.`)}}function isFeatureAvailable(){const i=(0,W.getCacheServiceVersion)();switch(i){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}u.isFeatureAvailable=isFeatureAvailable;function restoreCache(i,u,A,I,B=false){return P(this,void 0,void 0,(function*(){const Q=(0,W.getCacheServiceVersion)();D.debug(`Cache service version: ${Q}`);checkPaths(i);switch(Q){case"v2":return yield restoreCacheV2(i,u,A,I,B);case"v1":default:return yield restoreCacheV1(i,u,A,I,B)}}))}u.restoreCache=restoreCache;function restoreCacheV1(i,u,A,I,B=false){return P(this,void 0,void 0,(function*(){A=A||[];const Q=[u,...A];D.debug("Resolved Keys:");D.debug(JSON.stringify(Q));if(Q.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const i of Q){checkKey(i)}const P=yield U.getCompressionMethod();let z="";try{const u=yield G.getCacheEntry(Q,i,{compressionMethod:P,enableCrossOsArchive:B});if(!(u===null||u===void 0?void 0:u.archiveLocation)){return undefined}if(I===null||I===void 0?void 0:I.lookupOnly){D.info("Lookup only - skipping download");return u.cacheKey}z=L.join(yield U.createTempDirectory(),U.getCacheFileName(P));D.debug(`Archive Path: ${z}`);yield G.downloadCache(u.archiveLocation,z,I);if(D.isDebug()){yield(0,Y.listTar)(z,P)}const A=U.getArchiveFileSizeInBytes(z);D.info(`Cache Size: ~${Math.round(A/(1024*1024))} MB (${A} B)`);yield(0,Y.extractTar)(z,P);D.info("Cache restored successfully");return u.cacheKey}catch(i){const u=i;if(u.name===ValidationError.name){throw i}else{if(u instanceof J.HttpClientError&&typeof u.statusCode==="number"&&u.statusCode>=500){D.error(`Failed to restore: ${i.message}`)}else{D.warning(`Failed to restore: ${i.message}`)}}}finally{try{yield U.unlinkFile(z)}catch(i){D.debug(`Failed to delete archive: ${i}`)}}return undefined}))}function restoreCacheV2(i,u,A,I,B=false){return P(this,void 0,void 0,(function*(){I=Object.assign(Object.assign({},I),{useAzureSdk:true});A=A||[];const Q=[u,...A];D.debug("Resolved Keys:");D.debug(JSON.stringify(Q));if(Q.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const i of Q){checkKey(i)}let P="";try{const W=z.internalCacheTwirpClient();const J=yield U.getCompressionMethod();const $={key:u,restoreKeys:A,version:U.getCacheVersion(i,J,B)};const K=yield W.GetCacheEntryDownloadURL($);if(!K.ok){D.debug(`Cache not found for version ${$.version} of keys: ${Q.join(", ")}`);return undefined}const X=$.key!==K.matchedKey;if(X){D.info(`Cache hit for restore-key: ${K.matchedKey}`)}else{D.info(`Cache hit for: ${K.matchedKey}`)}if(I===null||I===void 0?void 0:I.lookupOnly){D.info("Lookup only - skipping download");return K.matchedKey}P=L.join(yield U.createTempDirectory(),U.getCacheFileName(J));D.debug(`Archive path: ${P}`);D.debug(`Starting download of archive to: ${P}`);yield G.downloadCache(K.signedDownloadUrl,P,I);const he=U.getArchiveFileSizeInBytes(P);D.info(`Cache Size: ~${Math.round(he/(1024*1024))} MB (${he} B)`);if(D.isDebug()){yield(0,Y.listTar)(P,J)}yield(0,Y.extractTar)(P,J);D.info("Cache restored successfully");return K.matchedKey}catch(i){const u=i;if(u.name===ValidationError.name){throw i}else{if(u instanceof J.HttpClientError&&typeof u.statusCode==="number"&&u.statusCode>=500){D.error(`Failed to restore: ${i.message}`)}else{D.warning(`Failed to restore: ${i.message}`)}}}finally{try{if(P){yield U.unlinkFile(P)}}catch(i){D.debug(`Failed to delete archive: ${i}`)}}return undefined}))}function saveCache(i,u,A,I=false){return P(this,void 0,void 0,(function*(){const B=(0,W.getCacheServiceVersion)();D.debug(`Cache service version: ${B}`);checkPaths(i);checkKey(u);switch(B){case"v2":return yield saveCacheV2(i,u,A,I);case"v1":default:return yield saveCacheV1(i,u,A,I)}}))}u.saveCache=saveCache;function saveCacheV1(i,u,A,I=false){var B,Q,z,$,K;return P(this,void 0,void 0,(function*(){const P=yield U.getCompressionMethod();let X=-1;const he=yield U.resolvePaths(i);D.debug("Cache Paths:");D.debug(`${JSON.stringify(he)}`);if(he.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 Ae=yield U.createTempDirectory();const ye=L.join(Ae,U.getCacheFileName(P));D.debug(`Archive Path: ${ye}`);try{yield(0,Y.createTar)(Ae,he,P);if(D.isDebug()){yield(0,Y.listTar)(ye,P)}const L=10*1024*1024*1024;const J=U.getArchiveFileSizeInBytes(ye);D.debug(`File Size: ${J}`);if(J>L&&!(0,W.isGhes)()){throw new Error(`Cache size of ~${Math.round(J/(1024*1024))} MB (${J} B) is over the 10GB limit, not saving cache.`)}D.debug("Reserving Cache");const be=yield G.reserveCache(u,i,{compressionMethod:P,enableCrossOsArchive:I,cacheSize:J});if((B=be===null||be===void 0?void 0:be.result)===null||B===void 0?void 0:B.cacheId){X=(Q=be===null||be===void 0?void 0:be.result)===null||Q===void 0?void 0:Q.cacheId}else if((be===null||be===void 0?void 0:be.statusCode)===400){throw new Error(($=(z=be===null||be===void 0?void 0:be.error)===null||z===void 0?void 0:z.message)!==null&&$!==void 0?$:`Cache size of ~${Math.round(J/(1024*1024))} MB (${J} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${u}, another job may be creating this cache. More details: ${(K=be===null||be===void 0?void 0:be.error)===null||K===void 0?void 0:K.message}`)}D.debug(`Saving Cache (ID: ${X})`);yield G.saveCache(X,ye,"",A)}catch(i){const u=i;if(u.name===ValidationError.name){throw i}else if(u.name===ReserveCacheError.name){D.info(`Failed to save: ${u.message}`)}else{if(u instanceof J.HttpClientError&&typeof u.statusCode==="number"&&u.statusCode>=500){D.error(`Failed to save: ${u.message}`)}else{D.warning(`Failed to save: ${u.message}`)}}}finally{try{yield U.unlinkFile(ye)}catch(i){D.debug(`Failed to delete archive: ${i}`)}}return X}))}function saveCacheV2(i,u,A,I=false){return P(this,void 0,void 0,(function*(){A=Object.assign(Object.assign({},A),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const B=yield U.getCompressionMethod();const Q=z.internalCacheTwirpClient();let P=-1;const W=yield U.resolvePaths(i);D.debug("Cache Paths:");D.debug(`${JSON.stringify(W)}`);if(W.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 $=yield U.createTempDirectory();const K=L.join($,U.getCacheFileName(B));D.debug(`Archive Path: ${K}`);try{yield(0,Y.createTar)($,W,B);if(D.isDebug()){yield(0,Y.listTar)(K,B)}const L=U.getArchiveFileSizeInBytes(K);D.debug(`File Size: ${L}`);A.archiveSizeBytes=L;D.debug("Reserving Cache");const z=U.getCacheVersion(i,B,I);const J={key:u,version:z};let X;try{const i=yield Q.CreateCacheEntry(J);if(!i.ok){if(i.message){D.warning(`Cache reservation failed: ${i.message}`)}throw new Error(i.message||"Response was not ok")}X=i.signedUploadUrl}catch(i){D.debug(`Failed to reserve cache: ${i}`);throw new ReserveCacheError(`Unable to reserve cache with key ${u}, another job may be creating this cache.`)}D.debug(`Attempting to upload cache located at: ${K}`);yield G.saveCache(P,K,X,A);const he={key:u,version:z,sizeBytes:`${L}`};const Ae=yield Q.FinalizeCacheEntryUpload(he);D.debug(`FinalizeCacheEntryUploadResponse: ${Ae.ok}`);if(!Ae.ok){if(Ae.message){throw new FinalizeCacheError(Ae.message)}throw new Error(`Unable to finalize cache with key ${u}, another job may be finalizing this cache.`)}P=parseInt(Ae.entryId)}catch(i){const u=i;if(u.name===ValidationError.name){throw i}else if(u.name===ReserveCacheError.name){D.info(`Failed to save: ${u.message}`)}else if(u.name===FinalizeCacheError.name){D.warning(u.message)}else{if(u instanceof J.HttpClientError&&typeof u.statusCode==="number"&&u.statusCode>=500){D.error(`Failed to save: ${u.message}`)}else{D.warning(`Failed to save: ${u.message}`)}}}finally{try{yield U.unlinkFile(K)}catch(i){D.debug(`Failed to delete archive: ${i}`)}}return P}))}},93156:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.CacheService=u.GetCacheEntryDownloadURLResponse=u.GetCacheEntryDownloadURLRequest=u.FinalizeCacheEntryUploadResponse=u.FinalizeCacheEntryUploadRequest=u.CreateCacheEntryResponse=u.CreateCacheEntryRequest=void 0;const I=A(44420);const B=A(68886);const Q=A(68886);const P=A(68886);const D=A(68886);const L=A(68886);const U=A(89444);class CreateCacheEntryRequest$Type extends L.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>U.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(i){const u={key:"",version:""};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.posU.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(i){const u={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.posU.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(i){const u={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(u,D.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,P.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.pos{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.CacheServiceClientProtobuf=u.CacheServiceClientJSON=void 0;const I=A(93156);class CacheServiceClientJSON{constructor(i){this.rpc=i;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(i){const u=I.CreateCacheEntryRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const A=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",u);return A.then((i=>I.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(i){const u=I.FinalizeCacheEntryUploadRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const A=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",u);return A.then((i=>I.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(i){const u=I.GetCacheEntryDownloadURLRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const A=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",u);return A.then((i=>I.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:true})))}}u.CacheServiceClientJSON=CacheServiceClientJSON;class CacheServiceClientProtobuf{constructor(i){this.rpc=i;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(i){const u=I.CreateCacheEntryRequest.toBinary(i);const A=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",u);return A.then((i=>I.CreateCacheEntryResponse.fromBinary(i)))}FinalizeCacheEntryUpload(i){const u=I.FinalizeCacheEntryUploadRequest.toBinary(i);const A=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",u);return A.then((i=>I.FinalizeCacheEntryUploadResponse.fromBinary(i)))}GetCacheEntryDownloadURL(i){const u=I.GetCacheEntryDownloadURLRequest.toBinary(i);const A=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",u);return A.then((i=>I.GetCacheEntryDownloadURLResponse.fromBinary(i)))}}u.CacheServiceClientProtobuf=CacheServiceClientProtobuf},89444:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.CacheMetadata=void 0;const I=A(68886);const B=A(68886);const Q=A(68886);const P=A(68886);const D=A(68886);const L=A(29425);class CacheMetadata$Type extends D.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>L.CacheScope}])}create(i){const u={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(u,P.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,Q.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let Q=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.pos{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.CacheScope=void 0;const I=A(68886);const B=A(68886);const Q=A(68886);const P=A(68886);const D=A(68886);class CacheScope$Type extends D.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(i){const u={scope:"",permission:"0"};globalThis.Object.defineProperty(u,P.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,Q.reflectionMergePartial)(this,u,i);return u}internalBinaryRead(i,u,A,I){let Q=I!==null&&I!==void 0?I:this.create(),P=i.pos+u;while(i.posP(this,void 0,void 0,(function*(){return I.getJson(getCacheApiUrl(Q))}))));if(L.statusCode===204){if(D.isDebug()){yield printCachesListForDiagnostics(i[0],I,B)}return null}if(!(0,K.isSuccessStatusCode)(L.statusCode)){throw new Error(`Cache service responded with ${L.statusCode}`)}const U=L.result;const G=U===null||U===void 0?void 0:U.archiveLocation;if(!G){throw new Error("Cache not found.")}D.setSecret(G);D.debug(`Cache Result:`);D.debug(JSON.stringify(U));return U}))}u.getCacheEntry=getCacheEntry;function printCachesListForDiagnostics(i,u,A){return P(this,void 0,void 0,(function*(){const I=`caches?key=${encodeURIComponent(i)}`;const B=yield(0,K.retryTypedResponse)("listCache",(()=>P(this,void 0,void 0,(function*(){return u.getJson(getCacheApiUrl(I))}))));if(B.statusCode===200){const u=B.result;const I=u===null||u===void 0?void 0:u.totalCount;if(I&&I>0){D.debug(`No matching cache found for cache key '${i}', version '${A} 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 i of(u===null||u===void 0?void 0:u.artifactCaches)||[]){D.debug(`Cache Key: ${i===null||i===void 0?void 0:i.cacheKey}, Cache Version: ${i===null||i===void 0?void 0:i.cacheVersion}, Cache Scope: ${i===null||i===void 0?void 0:i.scope}, Cache Created: ${i===null||i===void 0?void 0:i.creationTime}`)}}}}))}function downloadCache(i,u,A){return P(this,void 0,void 0,(function*(){const I=new z.URL(i);const B=(0,$.getDownloadOptions)(A);if(I.hostname.endsWith(".blob.core.windows.net")){if(B.useAzureSdk){yield(0,J.downloadCacheStorageSDK)(i,u,B)}else if(B.concurrentBlobDownloads){yield(0,J.downloadCacheHttpClientConcurrent)(i,u,B)}else{yield(0,J.downloadCacheHttpClient)(i,u)}}else{yield(0,J.downloadCacheHttpClient)(i,u)}}))}u.downloadCache=downloadCache;function reserveCache(i,u,A){return P(this,void 0,void 0,(function*(){const I=createHttpClient();const B=W.getCacheVersion(u,A===null||A===void 0?void 0:A.compressionMethod,A===null||A===void 0?void 0:A.enableCrossOsArchive);const Q={key:i,version:B,cacheSize:A===null||A===void 0?void 0:A.cacheSize};const D=yield(0,K.retryTypedResponse)("reserveCache",(()=>P(this,void 0,void 0,(function*(){return I.postJson(getCacheApiUrl("caches"),Q)}))));return D}))}u.reserveCache=reserveCache;function getContentRange(i,u){return`bytes ${i}-${u}/*`}function uploadChunk(i,u,A,I,B){return P(this,void 0,void 0,(function*(){D.debug(`Uploading chunk of size ${B-I+1} bytes at offset ${I} with content range: ${getContentRange(I,B)}`);const Q={"Content-Type":"application/octet-stream","Content-Range":getContentRange(I,B)};const L=yield(0,K.retryHttpClientResponse)(`uploadChunk (start: ${I}, end: ${B})`,(()=>P(this,void 0,void 0,(function*(){return i.sendStream("PATCH",u,A(),Q)}))));if(!(0,K.isSuccessStatusCode)(L.message.statusCode)){throw new Error(`Cache service responded with ${L.message.statusCode} during upload chunk.`)}}))}function uploadFile(i,u,A,I){return P(this,void 0,void 0,(function*(){const B=W.getArchiveFileSizeInBytes(A);const Q=getCacheApiUrl(`caches/${u.toString()}`);const L=G.openSync(A,"r");const U=(0,$.getUploadOptions)(I);const z=W.assertDefined("uploadConcurrency",U.uploadConcurrency);const Y=W.assertDefined("uploadChunkSize",U.uploadChunkSize);const J=[...new Array(z).keys()];D.debug("Awaiting all uploads");let K=0;try{yield Promise.all(J.map((()=>P(this,void 0,void 0,(function*(){while(KG.createReadStream(A,{fd:L,start:I,end:P,autoClose:false}).on("error",(i=>{throw new Error(`Cache upload failed because file read failed with ${i.message}`)}))),I,P)}})))))}finally{G.closeSync(L)}return}))}function commitCache(i,u,A){return P(this,void 0,void 0,(function*(){const I={size:A};return yield(0,K.retryTypedResponse)("commitCache",(()=>P(this,void 0,void 0,(function*(){return i.postJson(getCacheApiUrl(`caches/${u.toString()}`),I)}))))}))}function saveCache(i,u,A,I){return P(this,void 0,void 0,(function*(){const B=(0,$.getUploadOptions)(I);if(B.useAzureSdk){if(!A){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield(0,Y.uploadCacheArchiveSDK)(A,u,I)}else{const A=createHttpClient();D.debug("Upload cache");yield uploadFile(A,i,u,I);D.debug("Commiting cache");const B=W.getArchiveFileSizeInBytes(u);D.info(`Cache Size: ~${Math.round(B/(1024*1024))} MB (${B} B)`);const Q=yield commitCache(A,i,B);if(!(0,K.isSuccessStatusCode)(Q.statusCode)){throw new Error(`Cache service responded with ${Q.statusCode} during commit cache.`)}D.info("Cache saved successfully")}}))}u.saveCache=saveCache},98299:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};var D=this&&this.__asyncValues||function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=i[Symbol.asyncIterator],A;return u?u.call(i):(i=typeof __values==="function"?__values(i):i[Symbol.iterator](),A={},verb("next"),verb("throw"),verb("return"),A[Symbol.asyncIterator]=function(){return this},A);function verb(u){A[u]=i[u]&&function(A){return new Promise((function(I,B){A=i[u](A),settle(I,B,A.done,A.value)}))}}function settle(i,u,A,I){Promise.resolve(I).then((function(u){i({value:u,done:A})}),u)}};Object.defineProperty(u,"__esModule",{value:true});u.getRuntimeToken=u.getCacheVersion=u.assertDefined=u.getGnuTarPathOnWindows=u.getCacheFileName=u.getCompressionMethod=u.unlinkFile=u.resolvePaths=u.getArchiveFileSizeInBytes=u.createTempDirectory=void 0;const L=Q(A(37484));const U=Q(A(95236));const G=Q(A(47206));const z=Q(A(94994));const W=Q(A(76982));const Y=Q(A(79896));const J=Q(A(16928));const $=Q(A(53272));const K=Q(A(39023));const X=A(58287);const he="1.0";function createTempDirectory(){return P(this,void 0,void 0,(function*(){const i=process.platform==="win32";let u=process.env["RUNNER_TEMP"]||"";if(!u){let A;if(i){A=process.env["USERPROFILE"]||"C:\\"}else{if(process.platform==="darwin"){A="/Users"}else{A="/home"}}u=J.join(A,"actions","temp")}const A=J.join(u,W.randomUUID());yield z.mkdirP(A);return A}))}u.createTempDirectory=createTempDirectory;function getArchiveFileSizeInBytes(i){return Y.statSync(i).size}u.getArchiveFileSizeInBytes=getArchiveFileSizeInBytes;function resolvePaths(i){var u,A,I,B;var Q;return P(this,void 0,void 0,(function*(){const P=[];const U=(Q=process.env["GITHUB_WORKSPACE"])!==null&&Q!==void 0?Q:process.cwd();const z=yield G.create(i.join("\n"),{implicitDescendants:false});try{for(var W=true,Y=D(z.globGenerator()),$;$=yield Y.next(),u=$.done,!u;W=true){B=$.value;W=false;const i=B;const u=J.relative(U,i).replace(new RegExp(`\\${J.sep}`,"g"),"/");L.debug(`Matched: ${u}`);if(u===""){P.push(".")}else{P.push(`${u}`)}}}catch(i){A={error:i}}finally{try{if(!W&&!u&&(I=Y.return))yield I.call(Y)}finally{if(A)throw A.error}}return P}))}u.resolvePaths=resolvePaths;function unlinkFile(i){return P(this,void 0,void 0,(function*(){return K.promisify(Y.unlink)(i)}))}u.unlinkFile=unlinkFile;function getVersion(i,u=[]){return P(this,void 0,void 0,(function*(){let A="";u.push("--version");L.debug(`Checking ${i} ${u.join(" ")}`);try{yield U.exec(`${i}`,u,{ignoreReturnCode:true,silent:true,listeners:{stdout:i=>A+=i.toString(),stderr:i=>A+=i.toString()}})}catch(i){L.debug(i.message)}A=A.trim();L.debug(A);return A}))}function getCompressionMethod(){return P(this,void 0,void 0,(function*(){const i=yield getVersion("zstd",["--quiet"]);const u=$.clean(i);L.debug(`zstd version: ${u}`);if(i===""){return X.CompressionMethod.Gzip}else{return X.CompressionMethod.ZstdWithoutLong}}))}u.getCompressionMethod=getCompressionMethod;function getCacheFileName(i){return i===X.CompressionMethod.Gzip?X.CacheFilename.Gzip:X.CacheFilename.Zstd}u.getCacheFileName=getCacheFileName;function getGnuTarPathOnWindows(){return P(this,void 0,void 0,(function*(){if(Y.existsSync(X.GnuTarPathOnWindows)){return X.GnuTarPathOnWindows}const i=yield getVersion("tar");return i.toLowerCase().includes("gnu tar")?z.which("tar"):""}))}u.getGnuTarPathOnWindows=getGnuTarPathOnWindows;function assertDefined(i,u){if(u===undefined){throw Error(`Expected ${i} but value was undefiend`)}return u}u.assertDefined=assertDefined;function getCacheVersion(i,u,A=false){const I=i.slice();if(u){I.push(u)}if(process.platform==="win32"&&!A){I.push("windows-only")}I.push(he);return W.createHash("sha256").update(I.join("|")).digest("hex")}u.getCacheVersion=getCacheVersion;function getRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"];if(!i){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return i}u.getRuntimeToken=getRuntimeToken},17606:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getCacheServiceURL=u.getCacheServiceVersion=u.isGhes=void 0;function isGhes(){const i=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const u=i.hostname.trimEnd().toUpperCase();const A=u==="GITHUB.COM";const I=u.endsWith(".GHE.COM");const B=u.endsWith(".LOCALHOST");return!A&&!I&&!B}u.isGhes=isGhes;function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}u.getCacheServiceVersion=getCacheServiceVersion;function getCacheServiceURL(){const i=getCacheServiceVersion();switch(i){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: ${i}`)}}u.getCacheServiceURL=getCacheServiceURL},58287:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.CacheFileSizeLimit=u.ManifestFilename=u.TarFilename=u.SystemTarPathOnWindows=u.GnuTarPathOnWindows=u.SocketTimeout=u.DefaultRetryDelay=u.DefaultRetryAttempts=u.ArchiveToolType=u.CompressionMethod=u.CacheFilename=void 0;var A;(function(i){i["Gzip"]="cache.tgz";i["Zstd"]="cache.tzst"})(A||(u.CacheFilename=A={}));var I;(function(i){i["Gzip"]="gzip";i["ZstdWithoutLong"]="zstd-without-long";i["Zstd"]="zstd"})(I||(u.CompressionMethod=I={}));var B;(function(i){i["GNU"]="gnu";i["BSD"]="bsd"})(B||(u.ArchiveToolType=B={}));u.DefaultRetryAttempts=2;u.DefaultRetryDelay=5e3;u.SocketTimeout=5e3;u.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;u.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;u.TarFilename="cache.tar";u.ManifestFilename="manifest.txt";u.CacheFileSizeLimit=10*Math.pow(1024,3)},75067:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.downloadCacheStorageSDK=u.downloadCacheHttpClientConcurrent=u.downloadCacheHttpClient=u.DownloadProgress=void 0;const D=Q(A(37484));const L=A(54844);const U=A(71400);const G=Q(A(20181));const z=Q(A(79896));const W=Q(A(2203));const Y=Q(A(39023));const J=Q(A(98299));const $=A(58287);const K=A(32846);const X=A(39048);function pipeResponseToStream(i,u){return P(this,void 0,void 0,(function*(){const A=Y.promisify(W.pipeline);yield A(i.message,u)}))}class DownloadProgress{constructor(i){this.contentLength=i;this.segmentIndex=0;this.segmentSize=0;this.segmentOffset=0;this.receivedBytes=0;this.displayedComplete=false;this.startTime=Date.now()}nextSegment(i){this.segmentOffset=this.segmentOffset+this.segmentSize;this.segmentIndex=this.segmentIndex+1;this.segmentSize=i;this.receivedBytes=0;D.debug(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(i){this.receivedBytes=i}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const i=this.segmentOffset+this.receivedBytes;const u=(100*(i/this.contentLength)).toFixed(1);const A=Date.now()-this.startTime;const I=(i/(1024*1024)/(A/1e3)).toFixed(1);D.info(`Received ${i} of ${this.contentLength} (${u}%), ${I} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return i=>{this.setReceivedBytes(i.loadedBytes)}}startDisplayTimer(i=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,i)}};this.timeoutHandle=setTimeout(displayCallback,i)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}u.DownloadProgress=DownloadProgress;function downloadCacheHttpClient(i,u){return P(this,void 0,void 0,(function*(){const A=z.createWriteStream(u);const I=new L.HttpClient("actions/cache");const B=yield(0,K.retryHttpClientResponse)("downloadCache",(()=>P(this,void 0,void 0,(function*(){return I.get(i)}))));B.message.socket.setTimeout($.SocketTimeout,(()=>{B.message.destroy();D.debug(`Aborting download, socket timed out after ${$.SocketTimeout} ms`)}));yield pipeResponseToStream(B,A);const Q=B.message.headers["content-length"];if(Q){const i=parseInt(Q);const A=J.getArchiveFileSizeInBytes(u);if(A!==i){throw new Error(`Incomplete download. Expected file size: ${i}, actual file size: ${A}`)}}else{D.debug("Unable to validate download, no Content-Length header")}}))}u.downloadCacheHttpClient=downloadCacheHttpClient;function downloadCacheHttpClientConcurrent(i,u,A){var I;return P(this,void 0,void 0,(function*(){const B=yield z.promises.open(u,"w");const Q=new L.HttpClient("actions/cache",undefined,{socketTimeout:A.timeoutInMs,keepAlive:true});try{const u=yield(0,K.retryHttpClientResponse)("downloadCacheMetadata",(()=>P(this,void 0,void 0,(function*(){return yield Q.request("HEAD",i,null,{})}))));const D=u.message.headers["content-length"];if(D===undefined||D===null){throw new Error("Content-Length not found on blob response")}const L=parseInt(D);if(Number.isNaN(L)){throw new Error(`Could not interpret Content-Length: ${L}`)}const U=[];const G=4*1024*1024;for(let u=0;uP(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(Q,i,u,A)}))})}U.reverse();let z=0;let W=0;const Y=new DownloadProgress(L);Y.startDisplayTimer();const J=Y.onProgress();const $=[];let X;const waitAndWrite=()=>P(this,void 0,void 0,(function*(){const i=yield Promise.race(Object.values($));yield B.write(i.buffer,0,i.count,i.offset);z--;delete $[i.offset];W+=i.count;J({loadedBytes:W})}));while(X=U.pop()){$[X.offset]=X.promiseGetter();z++;if(z>=((I=A.downloadConcurrency)!==null&&I!==void 0?I:10)){yield waitAndWrite()}}while(z>0){yield waitAndWrite()}}finally{Q.dispose();yield B.close()}}))}u.downloadCacheHttpClientConcurrent=downloadCacheHttpClientConcurrent;function downloadSegmentRetry(i,u,A,I){return P(this,void 0,void 0,(function*(){const B=5;let Q=0;while(true){try{const B=3e4;const Q=yield promiseWithTimeout(B,downloadSegment(i,u,A,I));if(typeof Q==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return Q}catch(i){if(Q>=B){throw i}Q++}}}))}function downloadSegment(i,u,A,I){return P(this,void 0,void 0,(function*(){const B=yield(0,K.retryHttpClientResponse)("downloadCachePart",(()=>P(this,void 0,void 0,(function*(){return yield i.get(u,{Range:`bytes=${A}-${A+I-1}`})}))));if(!B.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:A,count:I,buffer:yield B.readBodyBuffer()}}))}function downloadCacheStorageSDK(i,u,A){var I;return P(this,void 0,void 0,(function*(){const B=new U.BlockBlobClient(i,undefined,{retryOptions:{tryTimeoutInMs:A.timeoutInMs}});const Q=yield B.getProperties();const P=(I=Q.contentLength)!==null&&I!==void 0?I:-1;if(P<0){D.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(i,u)}else{const i=Math.min(134217728,G.constants.MAX_LENGTH);const I=new DownloadProgress(P);const Q=z.openSync(u,"w");try{I.startDisplayTimer();const u=new X.AbortController;const D=u.signal;while(!I.isDone()){const L=I.segmentOffset+I.segmentSize;const U=Math.min(i,P-L);I.nextSegment(U);const G=yield promiseWithTimeout(A.segmentTimeoutInMs||36e5,B.downloadToBuffer(L,U,{abortSignal:D,concurrency:A.downloadConcurrency,onProgress:I.onProgress()}));if(G==="timeout"){u.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(G)){z.writeFileSync(Q,G)}}}finally{I.stopDisplayTimer();z.closeSync(Q)}}}))}u.downloadCacheStorageSDK=downloadCacheStorageSDK;const promiseWithTimeout=(i,u)=>P(void 0,void 0,void 0,(function*(){let A;const I=new Promise((u=>{A=setTimeout((()=>u("timeout")),i)}));return Promise.race([u,I]).then((i=>{clearTimeout(A);return i}))}))},32846:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.retryHttpClientResponse=u.retryTypedResponse=u.retry=u.isRetryableStatusCode=u.isServerErrorStatusCode=u.isSuccessStatusCode=void 0;const D=Q(A(37484));const L=A(54844);const U=A(58287);function isSuccessStatusCode(i){if(!i){return false}return i>=200&&i<300}u.isSuccessStatusCode=isSuccessStatusCode;function isServerErrorStatusCode(i){if(!i){return true}return i>=500}u.isServerErrorStatusCode=isServerErrorStatusCode;function isRetryableStatusCode(i){if(!i){return false}const u=[L.HttpCodes.BadGateway,L.HttpCodes.ServiceUnavailable,L.HttpCodes.GatewayTimeout];return u.includes(i)}u.isRetryableStatusCode=isRetryableStatusCode;function sleep(i){return P(this,void 0,void 0,(function*(){return new Promise((u=>setTimeout(u,i)))}))}function retry(i,u,A,I=U.DefaultRetryAttempts,B=U.DefaultRetryDelay,Q=undefined){return P(this,void 0,void 0,(function*(){let P="";let L=1;while(L<=I){let U=undefined;let G=undefined;let z=false;try{U=yield u()}catch(i){if(Q){U=Q(i)}z=true;P=i.message}if(U){G=A(U);if(!isServerErrorStatusCode(G)){return U}}if(G){z=isRetryableStatusCode(G);P=`Cache service responded with ${G}`}D.debug(`${i} - Attempt ${L} of ${I} failed with error: ${P}`);if(!z){D.debug(`${i} - Error is not retryable`);break}yield sleep(B);L++}throw Error(`${i} failed: ${P}`)}))}u.retry=retry;function retryTypedResponse(i,u,A=U.DefaultRetryAttempts,I=U.DefaultRetryDelay){return P(this,void 0,void 0,(function*(){return yield retry(i,u,(i=>i.statusCode),A,I,(i=>{if(i instanceof L.HttpClientError){return{statusCode:i.statusCode,result:null,headers:{},error:i}}else{return undefined}}))}))}u.retryTypedResponse=retryTypedResponse;function retryHttpClientResponse(i,u,A=U.DefaultRetryAttempts,I=U.DefaultRetryDelay){return P(this,void 0,void 0,(function*(){return yield retry(i,u,(i=>i.message.statusCode),A,I)}))}u.retryHttpClientResponse=retryHttpClientResponse},96819:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.internalCacheTwirpClient=void 0;const B=A(37484);const Q=A(41899);const P=A(50263);const D=A(17606);const L=A(98299);const U=A(44552);const G=A(54844);const z=A(11486);const W=A(27564);class CacheServiceClient{constructor(i,u,A,I){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const B=(0,L.getRuntimeToken)();this.baseUrl=(0,D.getCacheServiceURL)();if(u){this.maxAttempts=u}if(A){this.baseRetryIntervalMilliseconds=A}if(I){this.retryMultiplier=I}this.httpClient=new G.HttpClient(i,[new U.BearerCredentialHandler(B)])}request(i,u,A,Q){return I(this,void 0,void 0,(function*(){const P=new URL(`/twirp/${i}/${u}`,this.baseUrl).href;(0,B.debug)(`[Request] ${u} ${P}`);const D={"Content-Type":A};try{const{body:i}=yield this.retryableRequest((()=>I(this,void 0,void 0,(function*(){return this.httpClient.post(P,JSON.stringify(Q),D)}))));return i}catch(i){throw new Error(`Failed to ${u}: ${i.message}`)}}))}retryableRequest(i){return I(this,void 0,void 0,(function*(){let u=0;let A="";let I="";while(u=200&&i<300}isRetryableHttpStatusCode(i){if(!i)return false;const u=[G.HttpCodes.BadGateway,G.HttpCodes.GatewayTimeout,G.HttpCodes.InternalServerError,G.HttpCodes.ServiceUnavailable,G.HttpCodes.TooManyRequests];return u.includes(i)}sleep(i){return I(this,void 0,void 0,(function*(){return new Promise((u=>setTimeout(u,i)))}))}getExponentialRetryTimeMilliseconds(i){if(i<0){throw new Error("attempt should be a positive integer")}if(i===0){return this.baseRetryIntervalMilliseconds}const u=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,i);const A=u*this.retryMultiplier;return Math.trunc(Math.random()*(A-u)+u)}}function internalCacheTwirpClient(i){const u=new CacheServiceClient((0,Q.getUserAgentString)(),i===null||i===void 0?void 0:i.maxAttempts,i===null||i===void 0?void 0:i.retryIntervalMs,i===null||i===void 0?void 0:i.retryMultiplier);return new z.CacheServiceClientJSON(u)}u.internalCacheTwirpClient=internalCacheTwirpClient},50263:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.UsageError=u.NetworkError=u.GHESNotSupportedError=u.CacheNotFoundError=u.InvalidResponseError=u.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(i=[]){let u="No files were found to upload";if(i.length>0){u+=`: ${i.join(", ")}`}super(u);this.files=i;this.name="FilesNotFoundError"}}u.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(i){super(i);this.name="InvalidResponseError"}}u.InvalidResponseError=InvalidResponseError;class CacheNotFoundError extends Error{constructor(i="Cache not found"){super(i);this.name="CacheNotFoundError"}}u.CacheNotFoundError=CacheNotFoundError;class GHESNotSupportedError extends Error{constructor(i="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(i);this.name="GHESNotSupportedError"}}u.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(i){const u=`Unable to make request: ${i}\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(u);this.code=i;this.name="NetworkError"}}u.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=i=>{if(!i)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(i)};class UsageError extends Error{constructor(){const i=`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(i);this.name="UsageError"}}u.UsageError=UsageError;UsageError.isUsageErrorMessage=i=>{if(!i)return false;return i.includes("insufficient usage")}},41899:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getUserAgentString=void 0;const I=A(64012);function getUserAgentString(){return`@actions/cache-${I.version}`}u.getUserAgentString=getUserAgentString},27564:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.maskSecretUrls=u.maskSigUrl=void 0;const I=A(37484);function maskSigUrl(i){if(!i)return;try{const u=new URL(i);const A=u.searchParams.get("sig");if(A){(0,I.setSecret)(A);(0,I.setSecret)(encodeURIComponent(A))}}catch(u){(0,I.debug)(`Failed to parse URL: ${i} ${u instanceof Error?u.message:String(u)}`)}}u.maskSigUrl=maskSigUrl;function maskSecretUrls(i){if(typeof i!=="object"||i===null){(0,I.debug)("body is not an object or is null");return}if("signed_upload_url"in i&&typeof i.signed_upload_url==="string"){maskSigUrl(i.signed_upload_url)}if("signed_download_url"in i&&typeof i.signed_download_url==="string"){maskSigUrl(i.signed_download_url)}}u.maskSecretUrls=maskSecretUrls},95321:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.createTar=u.extractTar=u.listTar=void 0;const D=A(95236);const L=Q(A(94994));const U=A(79896);const G=Q(A(16928));const z=Q(A(98299));const W=A(58287);const Y=process.platform==="win32";function getTarPath(){return P(this,void 0,void 0,(function*(){switch(process.platform){case"win32":{const i=yield z.getGnuTarPathOnWindows();const u=W.SystemTarPathOnWindows;if(i){return{path:i,type:W.ArchiveToolType.GNU}}else if((0,U.existsSync)(u)){return{path:u,type:W.ArchiveToolType.BSD}}break}case"darwin":{const i=yield L.which("gtar",false);if(i){return{path:i,type:W.ArchiveToolType.GNU}}else{return{path:yield L.which("tar",true),type:W.ArchiveToolType.BSD}}}default:break}return{path:yield L.which("tar",true),type:W.ArchiveToolType.GNU}}))}function getTarArgs(i,u,A,I=""){return P(this,void 0,void 0,(function*(){const B=[`"${i.path}"`];const Q=z.getCacheFileName(u);const P="cache.tar";const D=getWorkingDirectory();const L=i.type===W.ArchiveToolType.BSD&&u!==W.CompressionMethod.Gzip&&Y;switch(A){case"create":B.push("--posix","-cf",L?P:Q.replace(new RegExp(`\\${G.sep}`,"g"),"/"),"--exclude",L?P:Q.replace(new RegExp(`\\${G.sep}`,"g"),"/"),"-P","-C",D.replace(new RegExp(`\\${G.sep}`,"g"),"/"),"--files-from",W.ManifestFilename);break;case"extract":B.push("-xf",L?P:I.replace(new RegExp(`\\${G.sep}`,"g"),"/"),"-P","-C",D.replace(new RegExp(`\\${G.sep}`,"g"),"/"));break;case"list":B.push("-tf",L?P:I.replace(new RegExp(`\\${G.sep}`,"g"),"/"),"-P");break}if(i.type===W.ArchiveToolType.GNU){switch(process.platform){case"win32":B.push("--force-local");break;case"darwin":B.push("--delay-directory-restore");break}}return B}))}function getCommands(i,u,A=""){return P(this,void 0,void 0,(function*(){let I;const B=yield getTarPath();const Q=yield getTarArgs(B,i,u,A);const P=u!=="create"?yield getDecompressionProgram(B,i,A):yield getCompressionProgram(B,i);const D=B.type===W.ArchiveToolType.BSD&&i!==W.CompressionMethod.Gzip&&Y;if(D&&u!=="create"){I=[[...P].join(" "),[...Q].join(" ")]}else{I=[[...Q].join(" "),[...P].join(" ")]}if(D){return I}return[I.join(" ")]}))}function getWorkingDirectory(){var i;return(i=process.env["GITHUB_WORKSPACE"])!==null&&i!==void 0?i:process.cwd()}function getDecompressionProgram(i,u,A){return P(this,void 0,void 0,(function*(){const I=i.type===W.ArchiveToolType.BSD&&u!==W.CompressionMethod.Gzip&&Y;switch(u){case W.CompressionMethod.Zstd:return I?["zstd -d --long=30 --force -o",W.TarFilename,A.replace(new RegExp(`\\${G.sep}`,"g"),"/")]:["--use-compress-program",Y?'"zstd -d --long=30"':"unzstd --long=30"];case W.CompressionMethod.ZstdWithoutLong:return I?["zstd -d --force -o",W.TarFilename,A.replace(new RegExp(`\\${G.sep}`,"g"),"/")]:["--use-compress-program",Y?'"zstd -d"':"unzstd"];default:return["-z"]}}))}function getCompressionProgram(i,u){return P(this,void 0,void 0,(function*(){const A=z.getCacheFileName(u);const I=i.type===W.ArchiveToolType.BSD&&u!==W.CompressionMethod.Gzip&&Y;switch(u){case W.CompressionMethod.Zstd:return I?["zstd -T0 --long=30 --force -o",A.replace(new RegExp(`\\${G.sep}`,"g"),"/"),W.TarFilename]:["--use-compress-program",Y?'"zstd -T0 --long=30"':"zstdmt --long=30"];case W.CompressionMethod.ZstdWithoutLong:return I?["zstd -T0 --force -o",A.replace(new RegExp(`\\${G.sep}`,"g"),"/"),W.TarFilename]:["--use-compress-program",Y?'"zstd -T0"':"zstdmt"];default:return["-z"]}}))}function execCommands(i,u){return P(this,void 0,void 0,(function*(){for(const A of i){try{yield(0,D.exec)(A,undefined,{cwd:u,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(i){throw new Error(`${A.split(" ")[0]} failed with error: ${i===null||i===void 0?void 0:i.message}`)}}}))}function listTar(i,u){return P(this,void 0,void 0,(function*(){const A=yield getCommands(u,"list",i);yield execCommands(A)}))}u.listTar=listTar;function extractTar(i,u){return P(this,void 0,void 0,(function*(){const A=getWorkingDirectory();yield L.mkdirP(A);const I=yield getCommands(u,"extract",i);yield execCommands(I)}))}u.extractTar=extractTar;function createTar(i,u,A){return P(this,void 0,void 0,(function*(){(0,U.writeFileSync)(G.join(i,W.ManifestFilename),u.join("\n"));const I=yield getCommands(A,"create");yield execCommands(I,i)}))}u.createTar=createTar},35268:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.uploadCacheArchiveSDK=u.UploadProgress=void 0;const D=Q(A(37484));const L=A(71400);const U=A(50263);class UploadProgress{constructor(i){this.contentLength=i;this.sentBytes=0;this.displayedComplete=false;this.startTime=Date.now()}setSentBytes(i){this.sentBytes=i}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const i=this.sentBytes;const u=(100*(i/this.contentLength)).toFixed(1);const A=Date.now()-this.startTime;const I=(i/(1024*1024)/(A/1e3)).toFixed(1);D.info(`Sent ${i} of ${this.contentLength} (${u}%), ${I} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return i=>{this.setSentBytes(i.loadedBytes)}}startDisplayTimer(i=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,i)}};this.timeoutHandle=setTimeout(displayCallback,i)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}u.UploadProgress=UploadProgress;function uploadCacheArchiveSDK(i,u,A){var I;return P(this,void 0,void 0,(function*(){const B=new L.BlobClient(i);const Q=B.getBlockBlobClient();const P=new UploadProgress((I=A===null||A===void 0?void 0:A.archiveSizeBytes)!==null&&I!==void 0?I:0);const G={blockSize:A===null||A===void 0?void 0:A.uploadChunkSize,concurrency:A===null||A===void 0?void 0:A.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:P.onProgress()};try{P.startDisplayTimer();D.debug(`BlobClient: ${B.name}:${B.accountName}:${B.containerName}`);const i=yield Q.uploadFile(u,G);if(i._response.status>=400){throw new U.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${i._response.status}`)}return i}catch(i){D.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${i.message}`);throw i}finally{P.stopDisplayTimer()}}))}u.uploadCacheArchiveSDK=uploadCacheArchiveSDK},98356:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.getDownloadOptions=u.getUploadOptions=void 0;const P=Q(A(37484));function getUploadOptions(i){const u={useAzureSdk:false,uploadConcurrency:4,uploadChunkSize:32*1024*1024};if(i){if(typeof i.useAzureSdk==="boolean"){u.useAzureSdk=i.useAzureSdk}if(typeof i.uploadConcurrency==="number"){u.uploadConcurrency=i.uploadConcurrency}if(typeof i.uploadChunkSize==="number"){u.uploadChunkSize=i.uploadChunkSize}}u.uploadConcurrency=!isNaN(Number(process.env["CACHE_UPLOAD_CONCURRENCY"]))?Math.min(32,Number(process.env["CACHE_UPLOAD_CONCURRENCY"])):u.uploadConcurrency;u.uploadChunkSize=!isNaN(Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"]))?Math.min(128*1024*1024,Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"])*1024*1024):u.uploadChunkSize;P.debug(`Use Azure SDK: ${u.useAzureSdk}`);P.debug(`Upload concurrency: ${u.uploadConcurrency}`);P.debug(`Upload chunk size: ${u.uploadChunkSize}`);return u}u.getUploadOptions=getUploadOptions;function getDownloadOptions(i){const u={useAzureSdk:false,concurrentBlobDownloads:true,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:false};if(i){if(typeof i.useAzureSdk==="boolean"){u.useAzureSdk=i.useAzureSdk}if(typeof i.concurrentBlobDownloads==="boolean"){u.concurrentBlobDownloads=i.concurrentBlobDownloads}if(typeof i.downloadConcurrency==="number"){u.downloadConcurrency=i.downloadConcurrency}if(typeof i.timeoutInMs==="number"){u.timeoutInMs=i.timeoutInMs}if(typeof i.segmentTimeoutInMs==="number"){u.segmentTimeoutInMs=i.segmentTimeoutInMs}if(typeof i.lookupOnly==="boolean"){u.lookupOnly=i.lookupOnly}}const A=process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"];if(A&&!isNaN(Number(A))&&isFinite(Number(A))){u.segmentTimeoutInMs=Number(A)*60*1e3}P.debug(`Use Azure SDK: ${u.useAzureSdk}`);P.debug(`Download concurrency: ${u.downloadConcurrency}`);P.debug(`Request timeout (ms): ${u.timeoutInMs}`);P.debug(`Cache segment download timeout mins env var: ${process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"]}`);P.debug(`Segment download timeout (ms): ${u.segmentTimeoutInMs}`);P.debug(`Lookup only: ${u.lookupOnly}`);return u}u.getDownloadOptions=getDownloadOptions},39048:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});const A=new WeakMap;const I=new WeakMap;class AbortSignal{constructor(){this.onabort=null;A.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(i,u){if(!A.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const I=A.get(this);I.push(u)}removeEventListener(i,u){if(!A.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const I=A.get(this);const B=I.indexOf(u);if(B>-1){I.splice(B,1)}}dispatchEvent(i){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(i){if(i.aborted){return}if(i.onabort){i.onabort.call(i)}const u=A.get(i);if(u){u.slice().forEach((u=>{u.call(i,{type:"abort"})}))}I.set(i,true)}class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}class AbortController{constructor(i){this._signal=new AbortSignal;if(!i){return}if(!Array.isArray(i)){i=arguments}for(const u of i){if(u.aborted){this.abort()}else{u.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(i){const u=new AbortSignal;const A=setTimeout(abortSignal,i,u);if(typeof A.unref==="function"){A.unref()}return u}}u.AbortController=AbortController;u.AbortError=AbortError;u.AbortSignal=AbortSignal},53272:(i,u)=>{u=i.exports=SemVer;var A;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){A=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{A=function(){}}u.SEMVER_SPEC_VERSION="2.0.0";var I=256;var B=Number.MAX_SAFE_INTEGER||9007199254740991;var Q=16;var P=I-6;var D=u.re=[];var L=u.safeRe=[];var U=u.src=[];var G=u.tokens={};var z=0;function tok(i){G[i]=z++}var W="[a-zA-Z0-9-]";var Y=[["\\s",1],["\\d",I],[W,P]];function makeSafeRe(i){for(var u=0;u)?=?)";tok("XRANGEIDENTIFIERLOOSE");U[G.XRANGEIDENTIFIERLOOSE]=U[G.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");U[G.XRANGEIDENTIFIER]=U[G.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");U[G.XRANGEPLAIN]="[v=\\s]*("+U[G.XRANGEIDENTIFIER]+")"+"(?:\\.("+U[G.XRANGEIDENTIFIER]+")"+"(?:\\.("+U[G.XRANGEIDENTIFIER]+")"+"(?:"+U[G.PRERELEASE]+")?"+U[G.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");U[G.XRANGEPLAINLOOSE]="[v=\\s]*("+U[G.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+U[G.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+U[G.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+U[G.PRERELEASELOOSE]+")?"+U[G.BUILD]+"?"+")?)?";tok("XRANGE");U[G.XRANGE]="^"+U[G.GTLT]+"\\s*"+U[G.XRANGEPLAIN]+"$";tok("XRANGELOOSE");U[G.XRANGELOOSE]="^"+U[G.GTLT]+"\\s*"+U[G.XRANGEPLAINLOOSE]+"$";tok("COERCE");U[G.COERCE]="(^|[^\\d])"+"(\\d{1,"+Q+"})"+"(?:\\.(\\d{1,"+Q+"}))?"+"(?:\\.(\\d{1,"+Q+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");D[G.COERCERTL]=new RegExp(U[G.COERCE],"g");L[G.COERCERTL]=new RegExp(makeSafeRe(U[G.COERCE]),"g");tok("LONETILDE");U[G.LONETILDE]="(?:~>?)";tok("TILDETRIM");U[G.TILDETRIM]="(\\s*)"+U[G.LONETILDE]+"\\s+";D[G.TILDETRIM]=new RegExp(U[G.TILDETRIM],"g");L[G.TILDETRIM]=new RegExp(makeSafeRe(U[G.TILDETRIM]),"g");var J="$1~";tok("TILDE");U[G.TILDE]="^"+U[G.LONETILDE]+U[G.XRANGEPLAIN]+"$";tok("TILDELOOSE");U[G.TILDELOOSE]="^"+U[G.LONETILDE]+U[G.XRANGEPLAINLOOSE]+"$";tok("LONECARET");U[G.LONECARET]="(?:\\^)";tok("CARETTRIM");U[G.CARETTRIM]="(\\s*)"+U[G.LONECARET]+"\\s+";D[G.CARETTRIM]=new RegExp(U[G.CARETTRIM],"g");L[G.CARETTRIM]=new RegExp(makeSafeRe(U[G.CARETTRIM]),"g");var $="$1^";tok("CARET");U[G.CARET]="^"+U[G.LONECARET]+U[G.XRANGEPLAIN]+"$";tok("CARETLOOSE");U[G.CARETLOOSE]="^"+U[G.LONECARET]+U[G.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");U[G.COMPARATORLOOSE]="^"+U[G.GTLT]+"\\s*("+U[G.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");U[G.COMPARATOR]="^"+U[G.GTLT]+"\\s*("+U[G.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");U[G.COMPARATORTRIM]="(\\s*)"+U[G.GTLT]+"\\s*("+U[G.LOOSEPLAIN]+"|"+U[G.XRANGEPLAIN]+")";D[G.COMPARATORTRIM]=new RegExp(U[G.COMPARATORTRIM],"g");L[G.COMPARATORTRIM]=new RegExp(makeSafeRe(U[G.COMPARATORTRIM]),"g");var K="$1$2$3";tok("HYPHENRANGE");U[G.HYPHENRANGE]="^\\s*("+U[G.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+U[G.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");U[G.HYPHENRANGELOOSE]="^\\s*("+U[G.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+U[G.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");U[G.STAR]="(<|>)?=?\\s*\\*";for(var X=0;XI){return null}var A=u.loose?L[G.LOOSE]:L[G.FULL];if(!A.test(i)){return null}try{return new SemVer(i,u)}catch(i){return null}}u.valid=valid;function valid(i,u){var A=parse(i,u);return A?A.version:null}u.clean=clean;function clean(i,u){var A=parse(i.trim().replace(/^[=v]+/,""),u);return A?A.version:null}u.SemVer=SemVer;function SemVer(i,u){if(!u||typeof u!=="object"){u={loose:!!u,includePrerelease:false}}if(i instanceof SemVer){if(i.loose===u.loose){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError("Invalid Version: "+i)}if(i.length>I){throw new TypeError("version is longer than "+I+" characters")}if(!(this instanceof SemVer)){return new SemVer(i,u)}A("SemVer",i,u);this.options=u;this.loose=!!u.loose;var Q=i.trim().match(u.loose?L[G.LOOSE]:L[G.FULL]);if(!Q){throw new TypeError("Invalid Version: "+i)}this.raw=i;this.major=+Q[1];this.minor=+Q[2];this.patch=+Q[3];if(this.major>B||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>B||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>B||this.patch<0){throw new TypeError("Invalid patch version")}if(!Q[4]){this.prerelease=[]}else{this.prerelease=Q[4].split(".").map((function(i){if(/^[0-9]+$/.test(i)){var u=+i;if(u>=0&&u=0){if(typeof this.prerelease[A]==="number"){this.prerelease[A]++;A=-2}}if(A===-1){this.prerelease.push(0)}}if(u){if(this.prerelease[0]===u){if(isNaN(this.prerelease[1])){this.prerelease=[u,0]}}else{this.prerelease=[u,0]}}break;default:throw new Error("invalid increment argument: "+i)}this.format();this.raw=this.version;return this};u.inc=inc;function inc(i,u,A,I){if(typeof A==="string"){I=A;A=undefined}try{return new SemVer(i,A).inc(u,I).version}catch(i){return null}}u.diff=diff;function diff(i,u){if(eq(i,u)){return null}else{var A=parse(i);var I=parse(u);var B="";if(A.prerelease.length||I.prerelease.length){B="pre";var Q="prerelease"}for(var P in A){if(P==="major"||P==="minor"||P==="patch"){if(A[P]!==I[P]){return B+P}}}return Q}}u.compareIdentifiers=compareIdentifiers;var he=/^[0-9]+$/;function compareIdentifiers(i,u){var A=he.test(i);var I=he.test(u);if(A&&I){i=+i;u=+u}return i===u?0:A&&!I?-1:I&&!A?1:i0}u.lt=lt;function lt(i,u,A){return compare(i,u,A)<0}u.eq=eq;function eq(i,u,A){return compare(i,u,A)===0}u.neq=neq;function neq(i,u,A){return compare(i,u,A)!==0}u.gte=gte;function gte(i,u,A){return compare(i,u,A)>=0}u.lte=lte;function lte(i,u,A){return compare(i,u,A)<=0}u.cmp=cmp;function cmp(i,u,A,I){switch(u){case"===":if(typeof i==="object")i=i.version;if(typeof A==="object")A=A.version;return i===A;case"!==":if(typeof i==="object")i=i.version;if(typeof A==="object")A=A.version;return i!==A;case"":case"=":case"==":return eq(i,A,I);case"!=":return neq(i,A,I);case">":return gt(i,A,I);case">=":return gte(i,A,I);case"<":return lt(i,A,I);case"<=":return lte(i,A,I);default:throw new TypeError("Invalid operator: "+u)}}u.Comparator=Comparator;function Comparator(i,u){if(!u||typeof u!=="object"){u={loose:!!u,includePrerelease:false}}if(i instanceof Comparator){if(i.loose===!!u.loose){return i}else{i=i.value}}if(!(this instanceof Comparator)){return new Comparator(i,u)}i=i.trim().split(/\s+/).join(" ");A("comparator",i,u);this.options=u;this.loose=!!u.loose;this.parse(i);if(this.semver===Ae){this.value=""}else{this.value=this.operator+this.semver.version}A("comp",this)}var Ae={};Comparator.prototype.parse=function(i){var u=this.options.loose?L[G.COMPARATORLOOSE]:L[G.COMPARATOR];var A=i.match(u);if(!A){throw new TypeError("Invalid comparator: "+i)}this.operator=A[1]!==undefined?A[1]:"";if(this.operator==="="){this.operator=""}if(!A[2]){this.semver=Ae}else{this.semver=new SemVer(A[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(i){A("Comparator.test",i,this.options.loose);if(this.semver===Ae||i===Ae){return true}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}return cmp(i,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(i,u){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!u||typeof u!=="object"){u={loose:!!u,includePrerelease:false}}var A;if(this.operator===""){if(this.value===""){return true}A=new Range(i.value,u);return satisfies(this.value,A,u)}else if(i.operator===""){if(i.value===""){return true}A=new Range(this.value,u);return satisfies(i.semver,A,u)}var I=(this.operator===">="||this.operator===">")&&(i.operator===">="||i.operator===">");var B=(this.operator==="<="||this.operator==="<")&&(i.operator==="<="||i.operator==="<");var Q=this.semver.version===i.semver.version;var P=(this.operator===">="||this.operator==="<=")&&(i.operator===">="||i.operator==="<=");var D=cmp(this.semver,"<",i.semver,u)&&((this.operator===">="||this.operator===">")&&(i.operator==="<="||i.operator==="<"));var L=cmp(this.semver,">",i.semver,u)&&((this.operator==="<="||this.operator==="<")&&(i.operator===">="||i.operator===">"));return I||B||Q&&P||D||L};u.Range=Range;function Range(i,u){if(!u||typeof u!=="object"){u={loose:!!u,includePrerelease:false}}if(i instanceof Range){if(i.loose===!!u.loose&&i.includePrerelease===!!u.includePrerelease){return i}else{return new Range(i.raw,u)}}if(i instanceof Comparator){return new Range(i.value,u)}if(!(this instanceof Range)){return new Range(i,u)}this.options=u;this.loose=!!u.loose;this.includePrerelease=!!u.includePrerelease;this.raw=i.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((function(i){return this.parseRange(i.trim())}),this).filter((function(i){return i.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(i){return i.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(i){var u=this.options.loose;var I=u?L[G.HYPHENRANGELOOSE]:L[G.HYPHENRANGE];i=i.replace(I,hyphenReplace);A("hyphen replace",i);i=i.replace(L[G.COMPARATORTRIM],K);A("comparator trim",i,L[G.COMPARATORTRIM]);i=i.replace(L[G.TILDETRIM],J);i=i.replace(L[G.CARETTRIM],$);i=i.split(/\s+/).join(" ");var B=u?L[G.COMPARATORLOOSE]:L[G.COMPARATOR];var Q=i.split(" ").map((function(i){return parseComparator(i,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){Q=Q.filter((function(i){return!!i.match(B)}))}Q=Q.map((function(i){return new Comparator(i,this.options)}),this);return Q};Range.prototype.intersects=function(i,u){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(A){return isSatisfiable(A,u)&&i.set.some((function(i){return isSatisfiable(i,u)&&A.every((function(A){return i.every((function(i){return A.intersects(i,u)}))}))}))}))};function isSatisfiable(i,u){var A=true;var I=i.slice();var B=I.pop();while(A&&I.length){A=I.every((function(i){return B.intersects(i,u)}));B=I.pop()}return A}u.toComparators=toComparators;function toComparators(i,u){return new Range(i,u).set.map((function(i){return i.map((function(i){return i.value})).join(" ").trim().split(" ")}))}function parseComparator(i,u){A("comp",i,u);i=replaceCarets(i,u);A("caret",i);i=replaceTildes(i,u);A("tildes",i);i=replaceXRanges(i,u);A("xrange",i);i=replaceStars(i,u);A("stars",i);return i}function isX(i){return!i||i.toLowerCase()==="x"||i==="*"}function replaceTildes(i,u){return i.trim().split(/\s+/).map((function(i){return replaceTilde(i,u)})).join(" ")}function replaceTilde(i,u){var I=u.loose?L[G.TILDELOOSE]:L[G.TILDE];return i.replace(I,(function(u,I,B,Q,P){A("tilde",i,u,I,B,Q,P);var D;if(isX(I)){D=""}else if(isX(B)){D=">="+I+".0.0 <"+(+I+1)+".0.0"}else if(isX(Q)){D=">="+I+"."+B+".0 <"+I+"."+(+B+1)+".0"}else if(P){A("replaceTilde pr",P);D=">="+I+"."+B+"."+Q+"-"+P+" <"+I+"."+(+B+1)+".0"}else{D=">="+I+"."+B+"."+Q+" <"+I+"."+(+B+1)+".0"}A("tilde return",D);return D}))}function replaceCarets(i,u){return i.trim().split(/\s+/).map((function(i){return replaceCaret(i,u)})).join(" ")}function replaceCaret(i,u){A("caret",i,u);var I=u.loose?L[G.CARETLOOSE]:L[G.CARET];return i.replace(I,(function(u,I,B,Q,P){A("caret",i,u,I,B,Q,P);var D;if(isX(I)){D=""}else if(isX(B)){D=">="+I+".0.0 <"+(+I+1)+".0.0"}else if(isX(Q)){if(I==="0"){D=">="+I+"."+B+".0 <"+I+"."+(+B+1)+".0"}else{D=">="+I+"."+B+".0 <"+(+I+1)+".0.0"}}else if(P){A("replaceCaret pr",P);if(I==="0"){if(B==="0"){D=">="+I+"."+B+"."+Q+"-"+P+" <"+I+"."+B+"."+(+Q+1)}else{D=">="+I+"."+B+"."+Q+"-"+P+" <"+I+"."+(+B+1)+".0"}}else{D=">="+I+"."+B+"."+Q+"-"+P+" <"+(+I+1)+".0.0"}}else{A("no pr");if(I==="0"){if(B==="0"){D=">="+I+"."+B+"."+Q+" <"+I+"."+B+"."+(+Q+1)}else{D=">="+I+"."+B+"."+Q+" <"+I+"."+(+B+1)+".0"}}else{D=">="+I+"."+B+"."+Q+" <"+(+I+1)+".0.0"}}A("caret return",D);return D}))}function replaceXRanges(i,u){A("replaceXRanges",i,u);return i.split(/\s+/).map((function(i){return replaceXRange(i,u)})).join(" ")}function replaceXRange(i,u){i=i.trim();var I=u.loose?L[G.XRANGELOOSE]:L[G.XRANGE];return i.replace(I,(function(I,B,Q,P,D,L){A("xRange",i,I,B,Q,P,D,L);var U=isX(Q);var G=U||isX(P);var z=G||isX(D);var W=z;if(B==="="&&W){B=""}L=u.includePrerelease?"-0":"";if(U){if(B===">"||B==="<"){I="<0.0.0-0"}else{I="*"}}else if(B&&W){if(G){P=0}D=0;if(B===">"){B=">=";if(G){Q=+Q+1;P=0;D=0}else{P=+P+1;D=0}}else if(B==="<="){B="<";if(G){Q=+Q+1}else{P=+P+1}}I=B+Q+"."+P+"."+D+L}else if(G){I=">="+Q+".0.0"+L+" <"+(+Q+1)+".0.0"+L}else if(z){I=">="+Q+"."+P+".0"+L+" <"+Q+"."+(+P+1)+".0"+L}A("xRange return",I);return I}))}function replaceStars(i,u){A("replaceStars",i,u);return i.trim().replace(L[G.STAR],"")}function hyphenReplace(i,u,A,I,B,Q,P,D,L,U,G,z,W){if(isX(A)){u=""}else if(isX(I)){u=">="+A+".0.0"}else if(isX(B)){u=">="+A+"."+I+".0"}else{u=">="+u}if(isX(L)){D=""}else if(isX(U)){D="<"+(+L+1)+".0.0"}else if(isX(G)){D="<"+L+"."+(+U+1)+".0"}else if(z){D="<="+L+"."+U+"."+G+"-"+z}else{D="<="+D}return(u+" "+D).trim()}Range.prototype.test=function(i){if(!i){return false}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}for(var u=0;u0){var Q=i[B].semver;if(Q.major===u.major&&Q.minor===u.minor&&Q.patch===u.patch){return true}}}return false}return true}u.satisfies=satisfies;function satisfies(i,u,A){try{u=new Range(u,A)}catch(i){return false}return u.test(i)}u.maxSatisfying=maxSatisfying;function maxSatisfying(i,u,A){var I=null;var B=null;try{var Q=new Range(u,A)}catch(i){return null}i.forEach((function(i){if(Q.test(i)){if(!I||B.compare(i)===-1){I=i;B=new SemVer(I,A)}}}));return I}u.minSatisfying=minSatisfying;function minSatisfying(i,u,A){var I=null;var B=null;try{var Q=new Range(u,A)}catch(i){return null}i.forEach((function(i){if(Q.test(i)){if(!I||B.compare(i)===1){I=i;B=new SemVer(I,A)}}}));return I}u.minVersion=minVersion;function minVersion(i,u){i=new Range(i,u);var A=new SemVer("0.0.0");if(i.test(A)){return A}A=new SemVer("0.0.0-0");if(i.test(A)){return A}A=null;for(var I=0;I":if(u.prerelease.length===0){u.patch++}else{u.prerelease.push(0)}u.raw=u.format();case"":case">=":if(!A||gt(A,u)){A=u}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}}))}if(A&&i.test(A)){return A}return null}u.validRange=validRange;function validRange(i,u){try{return new Range(i,u).range||"*"}catch(i){return null}}u.ltr=ltr;function ltr(i,u,A){return outside(i,u,"<",A)}u.gtr=gtr;function gtr(i,u,A){return outside(i,u,">",A)}u.outside=outside;function outside(i,u,A,I){i=new SemVer(i,I);u=new Range(u,I);var B,Q,P,D,L;switch(A){case">":B=gt;Q=lte;P=lt;D=">";L=">=";break;case"<":B=lt;Q=gte;P=gt;D="<";L="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(i,u,I)){return false}for(var U=0;U=0.0.0")}z=z||i;W=W||i;if(B(i.semver,z.semver,I)){z=i}else if(P(i.semver,W.semver,I)){W=i}}));if(z.operator===D||z.operator===L){return false}if((!W.operator||W.operator===D)&&Q(i,W.semver)){return false}else if(W.operator===L&&P(i,W.semver)){return false}}return true}u.prerelease=prerelease;function prerelease(i,u){var A=parse(i,u);return A&&A.prerelease.length?A.prerelease:null}u.intersects=intersects;function intersects(i,u,A){i=new Range(i,A);u=new Range(u,A);return i.intersects(u)}u.coerce=coerce;function coerce(i,u){if(i instanceof SemVer){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}u=u||{};var A=null;if(!u.rtl){A=i.match(L[G.COERCE])}else{var I;while((I=L[G.COERCERTL].exec(i))&&(!A||A.index+A[0].length!==i.length)){if(!A||I.index+I[0].length!==A.index+A[0].length){A=I}L[G.COERCERTL].lastIndex=I.index+I[1].length+I[2].length}L[G.COERCERTL].lastIndex=-1}if(A===null){return null}return parse(A[2]+"."+(A[3]||"0")+"."+(A[4]||"0"),u)}},44914:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.issue=u.issueCommand=void 0;const P=Q(A(70857));const D=A(30302);function issueCommand(i,u,A){const I=new Command(i,u,A);process.stdout.write(I.toString()+P.EOL)}u.issueCommand=issueCommand;function issue(i,u=""){issueCommand(i,{},u)}u.issue=issue;const L="::";class Command{constructor(i,u,A){if(!i){i="missing.command"}this.command=i;this.properties=u;this.message=A}toString(){let i=L+this.command;if(this.properties&&Object.keys(this.properties).length>0){i+=" ";let u=true;for(const A in this.properties){if(this.properties.hasOwnProperty(A)){const I=this.properties[A];if(I){if(u){u=false}else{i+=","}i+=`${A}=${escapeProperty(I)}`}}}}i+=`${L}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,D.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,D.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},37484:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.platform=u.toPlatformPath=u.toWin32Path=u.toPosixPath=u.markdownSummary=u.summary=u.getIDToken=u.getState=u.saveState=u.group=u.endGroup=u.startGroup=u.info=u.notice=u.warning=u.error=u.debug=u.isDebug=u.setFailed=u.setCommandEcho=u.setOutput=u.getBooleanInput=u.getMultilineInput=u.getInput=u.addPath=u.setSecret=u.exportVariable=u.ExitCode=void 0;const D=A(44914);const L=A(24753);const U=A(30302);const G=Q(A(70857));const z=Q(A(16928));const W=A(35306);var Y;(function(i){i[i["Success"]=0]="Success";i[i["Failure"]=1]="Failure"})(Y||(u.ExitCode=Y={}));function exportVariable(i,u){const A=(0,U.toCommandValue)(u);process.env[i]=A;const I=process.env["GITHUB_ENV"]||"";if(I){return(0,L.issueFileCommand)("ENV",(0,L.prepareKeyValueMessage)(i,u))}(0,D.issueCommand)("set-env",{name:i},A)}u.exportVariable=exportVariable;function setSecret(i){(0,D.issueCommand)("add-mask",{},i)}u.setSecret=setSecret;function addPath(i){const u=process.env["GITHUB_PATH"]||"";if(u){(0,L.issueFileCommand)("PATH",i)}else{(0,D.issueCommand)("add-path",{},i)}process.env["PATH"]=`${i}${z.delimiter}${process.env["PATH"]}`}u.addPath=addPath;function getInput(i,u){const A=process.env[`INPUT_${i.replace(/ /g,"_").toUpperCase()}`]||"";if(u&&u.required&&!A){throw new Error(`Input required and not supplied: ${i}`)}if(u&&u.trimWhitespace===false){return A}return A.trim()}u.getInput=getInput;function getMultilineInput(i,u){const A=getInput(i,u).split("\n").filter((i=>i!==""));if(u&&u.trimWhitespace===false){return A}return A.map((i=>i.trim()))}u.getMultilineInput=getMultilineInput;function getBooleanInput(i,u){const A=["true","True","TRUE"];const I=["false","False","FALSE"];const B=getInput(i,u);if(A.includes(B))return true;if(I.includes(B))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}u.getBooleanInput=getBooleanInput;function setOutput(i,u){const A=process.env["GITHUB_OUTPUT"]||"";if(A){return(0,L.issueFileCommand)("OUTPUT",(0,L.prepareKeyValueMessage)(i,u))}process.stdout.write(G.EOL);(0,D.issueCommand)("set-output",{name:i},(0,U.toCommandValue)(u))}u.setOutput=setOutput;function setCommandEcho(i){(0,D.issue)("echo",i?"on":"off")}u.setCommandEcho=setCommandEcho;function setFailed(i){process.exitCode=Y.Failure;error(i)}u.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}u.isDebug=isDebug;function debug(i){(0,D.issueCommand)("debug",{},i)}u.debug=debug;function error(i,u={}){(0,D.issueCommand)("error",(0,U.toCommandProperties)(u),i instanceof Error?i.toString():i)}u.error=error;function warning(i,u={}){(0,D.issueCommand)("warning",(0,U.toCommandProperties)(u),i instanceof Error?i.toString():i)}u.warning=warning;function notice(i,u={}){(0,D.issueCommand)("notice",(0,U.toCommandProperties)(u),i instanceof Error?i.toString():i)}u.notice=notice;function info(i){process.stdout.write(i+G.EOL)}u.info=info;function startGroup(i){(0,D.issue)("group",i)}u.startGroup=startGroup;function endGroup(){(0,D.issue)("endgroup")}u.endGroup=endGroup;function group(i,u){return P(this,void 0,void 0,(function*(){startGroup(i);let A;try{A=yield u()}finally{endGroup()}return A}))}u.group=group;function saveState(i,u){const A=process.env["GITHUB_STATE"]||"";if(A){return(0,L.issueFileCommand)("STATE",(0,L.prepareKeyValueMessage)(i,u))}(0,D.issueCommand)("save-state",{name:i},(0,U.toCommandValue)(u))}u.saveState=saveState;function getState(i){return process.env[`STATE_${i}`]||""}u.getState=getState;function getIDToken(i){return P(this,void 0,void 0,(function*(){return yield W.OidcClient.getIDToken(i)}))}u.getIDToken=getIDToken;var J=A(71847);Object.defineProperty(u,"summary",{enumerable:true,get:function(){return J.summary}});var $=A(71847);Object.defineProperty(u,"markdownSummary",{enumerable:true,get:function(){return $.markdownSummary}});var K=A(31976);Object.defineProperty(u,"toPosixPath",{enumerable:true,get:function(){return K.toPosixPath}});Object.defineProperty(u,"toWin32Path",{enumerable:true,get:function(){return K.toWin32Path}});Object.defineProperty(u,"toPlatformPath",{enumerable:true,get:function(){return K.toPlatformPath}});u.platform=Q(A(18968))},24753:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.prepareKeyValueMessage=u.issueFileCommand=void 0;const P=Q(A(76982));const D=Q(A(79896));const L=Q(A(70857));const U=A(30302);function issueFileCommand(i,u){const A=process.env[`GITHUB_${i}`];if(!A){throw new Error(`Unable to find environment variable for file command ${i}`)}if(!D.existsSync(A)){throw new Error(`Missing file at path: ${A}`)}D.appendFileSync(A,`${(0,U.toCommandValue)(u)}${L.EOL}`,{encoding:"utf8"})}u.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(i,u){const A=`ghadelimiter_${P.randomUUID()}`;const I=(0,U.toCommandValue)(u);if(i.includes(A)){throw new Error(`Unexpected input: name should not contain the delimiter "${A}"`)}if(I.includes(A)){throw new Error(`Unexpected input: value should not contain the delimiter "${A}"`)}return`${i}<<${A}${L.EOL}${I}${L.EOL}${A}`}u.prepareKeyValueMessage=prepareKeyValueMessage},35306:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.OidcClient=void 0;const B=A(54844);const Q=A(44552);const P=A(37484);class OidcClient{static createHttpClient(i=true,u=10){const A={allowRetries:i,maxRetries:u};return new B.HttpClient("actions/oidc-client",[new Q.BearerCredentialHandler(OidcClient.getRequestToken())],A)}static getRequestToken(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return i}static getIDTokenUrl(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return i}static getCall(i){var u;return I(this,void 0,void 0,(function*(){const A=OidcClient.createHttpClient();const I=yield A.getJson(i).catch((i=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const B=(u=I.result)===null||u===void 0?void 0:u.value;if(!B){throw new Error("Response json body do not have ID Token field")}return B}))}static getIDToken(i){return I(this,void 0,void 0,(function*(){try{let u=OidcClient.getIDTokenUrl();if(i){const A=encodeURIComponent(i);u=`${u}&audience=${A}`}(0,P.debug)(`ID token url is ${u}`);const A=yield OidcClient.getCall(u);(0,P.setSecret)(A);return A}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}u.OidcClient=OidcClient},31976:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.toPlatformPath=u.toWin32Path=u.toPosixPath=void 0;const P=Q(A(16928));function toPosixPath(i){return i.replace(/[\\]/g,"/")}u.toPosixPath=toPosixPath;function toWin32Path(i){return i.replace(/[/]/g,"\\")}u.toWin32Path=toWin32Path;function toPlatformPath(i){return i.replace(/[/\\]/g,P.sep)}u.toPlatformPath=toPlatformPath},18968:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};var D=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.getDetails=u.isLinux=u.isMacOS=u.isWindows=u.arch=u.platform=void 0;const L=D(A(70857));const U=Q(A(95236));const getWindowsInfo=()=>P(void 0,void 0,void 0,(function*(){const{stdout:i}=yield U.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:u}=yield U.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:u.trim(),version:i.trim()}}));const getMacOsInfo=()=>P(void 0,void 0,void 0,(function*(){var i,u,A,I;const{stdout:B}=yield U.getExecOutput("sw_vers",undefined,{silent:true});const Q=(u=(i=B.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&u!==void 0?u:"";const P=(I=(A=B.match(/ProductName:\s*(.+)/))===null||A===void 0?void 0:A[1])!==null&&I!==void 0?I:"";return{name:P,version:Q}}));const getLinuxInfo=()=>P(void 0,void 0,void 0,(function*(){const{stdout:i}=yield U.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[u,A]=i.trim().split("\n");return{name:u,version:A}}));u.platform=L.default.platform();u.arch=L.default.arch();u.isWindows=u.platform==="win32";u.isMacOS=u.platform==="darwin";u.isLinux=u.platform==="linux";function getDetails(){return P(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield u.isWindows?getWindowsInfo():u.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:u.platform,arch:u.arch,isWindows:u.isWindows,isMacOS:u.isMacOS,isLinux:u.isLinux})}))}u.getDetails=getDetails},71847:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.summary=u.markdownSummary=u.SUMMARY_DOCS_URL=u.SUMMARY_ENV_VAR=void 0;const B=A(70857);const Q=A(79896);const{access:P,appendFile:D,writeFile:L}=Q.promises;u.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";u.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 i=process.env[u.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${u.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield P(i,Q.constants.R_OK|Q.constants.W_OK)}catch(u){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,u,A={}){const I=Object.entries(A).map((([i,u])=>` ${i}="${u}"`)).join("");if(!u){return`<${i}${I}>`}return`<${i}${I}>${u}`}write(i){return I(this,void 0,void 0,(function*(){const u=!!(i===null||i===void 0?void 0:i.overwrite);const A=yield this.filePath();const I=u?L:D;yield I(A,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(i,u=false){this._buffer+=i;return u?this.addEOL():this}addEOL(){return this.addRaw(B.EOL)}addCodeBlock(i,u){const A=Object.assign({},u&&{lang:u});const I=this.wrap("pre",this.wrap("code",i),A);return this.addRaw(I).addEOL()}addList(i,u=false){const A=u?"ol":"ul";const I=i.map((i=>this.wrap("li",i))).join("");const B=this.wrap(A,I);return this.addRaw(B).addEOL()}addTable(i){const u=i.map((i=>{const u=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:u,data:A,colspan:I,rowspan:B}=i;const Q=u?"th":"td";const P=Object.assign(Object.assign({},I&&{colspan:I}),B&&{rowspan:B});return this.wrap(Q,A,P)})).join("");return this.wrap("tr",u)})).join("");const A=this.wrap("table",u);return this.addRaw(A).addEOL()}addDetails(i,u){const A=this.wrap("details",this.wrap("summary",i)+u);return this.addRaw(A).addEOL()}addImage(i,u,A){const{width:I,height:B}=A||{};const Q=Object.assign(Object.assign({},I&&{width:I}),B&&{height:B});const P=this.wrap("img",null,Object.assign({src:i,alt:u},Q));return this.addRaw(P).addEOL()}addHeading(i,u){const A=`h${u}`;const I=["h1","h2","h3","h4","h5","h6"].includes(A)?A:"h1";const B=this.wrap(I,i);return this.addRaw(B).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,u){const A=Object.assign({},u&&{cite:u});const I=this.wrap("blockquote",i,A);return this.addRaw(I).addEOL()}addLink(i,u){const A=this.wrap("a",i,{href:u});return this.addRaw(A).addEOL()}}const U=new Summary;u.markdownSummary=U;u.summary=U},30302:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.toCommandProperties=u.toCommandValue=void 0;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}u.toCommandValue=toCommandValue;function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}u.toCommandProperties=toCommandProperties},95236:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.getExecOutput=u.exec=void 0;const D=A(13193);const L=Q(A(6665));function exec(i,u,A){return P(this,void 0,void 0,(function*(){const I=L.argStringToArray(i);if(I.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const B=I[0];u=I.slice(1).concat(u||[]);const Q=new L.ToolRunner(B,u,A);return Q.exec()}))}u.exec=exec;function getExecOutput(i,u,A){var I,B;return P(this,void 0,void 0,(function*(){let Q="";let P="";const L=new D.StringDecoder("utf8");const U=new D.StringDecoder("utf8");const G=(I=A===null||A===void 0?void 0:A.listeners)===null||I===void 0?void 0:I.stdout;const z=(B=A===null||A===void 0?void 0:A.listeners)===null||B===void 0?void 0:B.stderr;const stdErrListener=i=>{P+=U.write(i);if(z){z(i)}};const stdOutListener=i=>{Q+=L.write(i);if(G){G(i)}};const W=Object.assign(Object.assign({},A===null||A===void 0?void 0:A.listeners),{stdout:stdOutListener,stderr:stdErrListener});const Y=yield exec(i,u,Object.assign(Object.assign({},A),{listeners:W}));Q+=L.end();P+=U.end();return{exitCode:Y,stdout:Q,stderr:P}}))}u.getExecOutput=getExecOutput},6665:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.argStringToArray=u.ToolRunner=void 0;const D=Q(A(70857));const L=Q(A(24434));const U=Q(A(35317));const G=Q(A(16928));const z=Q(A(94994));const W=Q(A(75207));const Y=A(53557);const J=process.platform==="win32";class ToolRunner extends L.EventEmitter{constructor(i,u,A){super();if(!i){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=i;this.args=u||[];this.options=A||{}}_debug(i){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(i)}}_getCommandString(i,u){const A=this._getSpawnFileName();const I=this._getSpawnArgs(i);let B=u?"":"[command]";if(J){if(this._isCmdFile()){B+=A;for(const i of I){B+=` ${i}`}}else if(i.windowsVerbatimArguments){B+=`"${A}"`;for(const i of I){B+=` ${i}`}}else{B+=this._windowsQuoteCmdArg(A);for(const i of I){B+=` ${this._windowsQuoteCmdArg(i)}`}}}else{B+=A;for(const i of I){B+=` ${i}`}}return B}_processLineBuffer(i,u,A){try{let I=u+i.toString();let B=I.indexOf(D.EOL);while(B>-1){const i=I.substring(0,B);A(i);I=I.substring(B+D.EOL.length);B=I.indexOf(D.EOL)}return I}catch(i){this._debug(`error processing line. Failed with error ${i}`);return""}}_getSpawnFileName(){if(J){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(i){if(J){if(this._isCmdFile()){let u=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const A of this.args){u+=" ";u+=i.windowsVerbatimArguments?A:this._windowsQuoteCmdArg(A)}u+='"';return[u]}}return this.args}_endsWith(i,u){return i.endsWith(u)}_isCmdFile(){const i=this.toolPath.toUpperCase();return this._endsWith(i,".CMD")||this._endsWith(i,".BAT")}_windowsQuoteCmdArg(i){if(!this._isCmdFile()){return this._uvQuoteCmdArg(i)}if(!i){return'""'}const u=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let A=false;for(const I of i){if(u.some((i=>i===I))){A=true;break}}if(!A){return i}let I='"';let B=true;for(let u=i.length;u>0;u--){I+=i[u-1];if(B&&i[u-1]==="\\"){I+="\\"}else if(i[u-1]==='"'){B=true;I+='"'}else{B=false}}I+='"';return I.split("").reverse().join("")}_uvQuoteCmdArg(i){if(!i){return'""'}if(!i.includes(" ")&&!i.includes("\t")&&!i.includes('"')){return i}if(!i.includes('"')&&!i.includes("\\")){return`"${i}"`}let u='"';let A=true;for(let I=i.length;I>0;I--){u+=i[I-1];if(A&&i[I-1]==="\\"){u+="\\"}else if(i[I-1]==='"'){A=true;u+="\\"}else{A=false}}u+='"';return u.split("").reverse().join("")}_cloneExecOptions(i){i=i||{};const u={cwd:i.cwd||process.cwd(),env:i.env||process.env,silent:i.silent||false,windowsVerbatimArguments:i.windowsVerbatimArguments||false,failOnStdErr:i.failOnStdErr||false,ignoreReturnCode:i.ignoreReturnCode||false,delay:i.delay||1e4};u.outStream=i.outStream||process.stdout;u.errStream=i.errStream||process.stderr;return u}_getSpawnOptions(i,u){i=i||{};const A={};A.cwd=i.cwd;A.env=i.env;A["windowsVerbatimArguments"]=i.windowsVerbatimArguments||this._isCmdFile();if(i.windowsVerbatimArguments){A.argv0=`"${u}"`}return A}exec(){return P(this,void 0,void 0,(function*(){if(!W.isRooted(this.toolPath)&&(this.toolPath.includes("/")||J&&this.toolPath.includes("\\"))){this.toolPath=G.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield z.which(this.toolPath,true);return new Promise(((i,u)=>P(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const i of this.args){this._debug(` ${i}`)}const A=this._cloneExecOptions(this.options);if(!A.silent&&A.outStream){A.outStream.write(this._getCommandString(A)+D.EOL)}const I=new ExecState(A,this.toolPath);I.on("debug",(i=>{this._debug(i)}));if(this.options.cwd&&!(yield W.exists(this.options.cwd))){return u(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const B=this._getSpawnFileName();const Q=U.spawn(B,this._getSpawnArgs(A),this._getSpawnOptions(this.options,B));let P="";if(Q.stdout){Q.stdout.on("data",(i=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(i)}if(!A.silent&&A.outStream){A.outStream.write(i)}P=this._processLineBuffer(i,P,(i=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(i)}}))}))}let L="";if(Q.stderr){Q.stderr.on("data",(i=>{I.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(i)}if(!A.silent&&A.errStream&&A.outStream){const u=A.failOnStdErr?A.errStream:A.outStream;u.write(i)}L=this._processLineBuffer(i,L,(i=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(i)}}))}))}Q.on("error",(i=>{I.processError=i.message;I.processExited=true;I.processClosed=true;I.CheckComplete()}));Q.on("exit",(i=>{I.processExitCode=i;I.processExited=true;this._debug(`Exit code ${i} received from tool '${this.toolPath}'`);I.CheckComplete()}));Q.on("close",(i=>{I.processExitCode=i;I.processExited=true;I.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);I.CheckComplete()}));I.on("done",((A,I)=>{if(P.length>0){this.emit("stdline",P)}if(L.length>0){this.emit("errline",L)}Q.removeAllListeners();if(A){u(A)}else{i(I)}}));if(this.options.input){if(!Q.stdin){throw new Error("child process missing stdin")}Q.stdin.end(this.options.input)}}))))}))}}u.ToolRunner=ToolRunner;function argStringToArray(i){const u=[];let A=false;let I=false;let B="";function append(i){if(I&&i!=='"'){B+="\\"}B+=i;I=false}for(let Q=0;Q0){u.push(B);B=""}continue}append(P)}if(B.length>0){u.push(B.trim())}return u}u.argStringToArray=argStringToArray;class ExecState extends L.EventEmitter{constructor(i,u){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(!u){throw new Error("toolPath must not be empty")}this.options=i;this.toolPath=u;if(i.delay){this.delay=i.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=Y.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(i){this.emit("debug",i)}_setResult(){let i;if(this.processExited){if(this.processError){i=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){i=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){i=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",i,this.processExitCode)}static HandleTimeout(i){if(i.done){return}if(!i.processClosed&&i.processExited){const u=`The STDIO streams did not close within ${i.delay/1e3} seconds of the exit event from process '${i.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;i._debug(u)}i._setResult()}}},51648:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Context=void 0;const I=A(79896);const B=A(70857);class Context{constructor(){var i,u,A;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,I.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,I.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${B.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10);this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(i=process.env.GITHUB_API_URL)!==null&&i!==void 0?i:`https://api.github.com`;this.serverUrl=(u=process.env.GITHUB_SERVER_URL)!==null&&u!==void 0?u:`https://github.com`;this.graphqlUrl=(A=process.env.GITHUB_GRAPHQL_URL)!==null&&A!==void 0?A:`https://api.github.com/graphql`}get issue(){const i=this.payload;return Object.assign(Object.assign({},this.repo),{number:(i.issue||i.pull_request||i).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[i,u]=process.env.GITHUB_REPOSITORY.split("/");return{owner:i,repo:u}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}u.Context=Context},93228:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.getOctokit=u.context=void 0;const P=Q(A(51648));const D=A(38006);u.context=new P.Context;function getOctokit(i,u,...A){const I=D.GitHub.plugin(...A);return new I((0,D.getOctokitOptions)(i,u))}u.getOctokit=getOctokit},65156:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.getApiBaseUrl=u.getProxyFetch=u.getProxyAgentDispatcher=u.getProxyAgent=u.getAuthString=void 0;const D=Q(A(54844));const L=A(46752);function getAuthString(i,u){if(!i&&!u.auth){throw new Error("Parameter token or opts.auth is required")}else if(i&&u.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof u.auth==="string"?u.auth:`token ${i}`}u.getAuthString=getAuthString;function getProxyAgent(i){const u=new D.HttpClient;return u.getAgent(i)}u.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(i){const u=new D.HttpClient;return u.getAgentDispatcher(i)}u.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(i){const u=getProxyAgentDispatcher(i);const proxyFetch=(i,A)=>P(this,void 0,void 0,(function*(){return(0,L.fetch)(i,Object.assign(Object.assign({},A),{dispatcher:u}))}));return proxyFetch}u.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}u.getApiBaseUrl=getApiBaseUrl},38006:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.getOctokitOptions=u.GitHub=u.defaults=u.context=void 0;const P=Q(A(51648));const D=Q(A(65156));const L=A(61897);const U=A(84935);const G=A(38082);u.context=new P.Context;const z=D.getApiBaseUrl();u.defaults={baseUrl:z,request:{agent:D.getProxyAgent(z),fetch:D.getProxyFetch(z)}};u.GitHub=L.Octokit.plugin(U.restEndpointMethods,G.paginateRest).defaults(u.defaults);function getOctokitOptions(i,u){const A=Object.assign({},u||{});const I=D.getAuthString(i,A);if(I){A.auth=I}return A}u.getOctokitOptions=getOctokitOptions},47206:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.create=void 0;const B=A(10103);function create(i,u){return I(this,void 0,void 0,(function*(){return yield B.DefaultGlobber.create(i,u)}))}u.create=create},18164:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.getOptions=void 0;const P=Q(A(37484));function getOptions(i){const u={followSymbolicLinks:true,implicitDescendants:true,omitBrokenSymbolicLinks:true};if(i){if(typeof i.followSymbolicLinks==="boolean"){u.followSymbolicLinks=i.followSymbolicLinks;P.debug(`followSymbolicLinks '${u.followSymbolicLinks}'`)}if(typeof i.implicitDescendants==="boolean"){u.implicitDescendants=i.implicitDescendants;P.debug(`implicitDescendants '${u.implicitDescendants}'`)}if(typeof i.omitBrokenSymbolicLinks==="boolean"){u.omitBrokenSymbolicLinks=i.omitBrokenSymbolicLinks;P.debug(`omitBrokenSymbolicLinks '${u.omitBrokenSymbolicLinks}'`)}}return u}u.getOptions=getOptions},10103:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};var D=this&&this.__asyncValues||function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=i[Symbol.asyncIterator],A;return u?u.call(i):(i=typeof __values==="function"?__values(i):i[Symbol.iterator](),A={},verb("next"),verb("throw"),verb("return"),A[Symbol.asyncIterator]=function(){return this},A);function verb(u){A[u]=i[u]&&function(A){return new Promise((function(I,B){A=i[u](A),settle(I,B,A.done,A.value)}))}}function settle(i,u,A,I){Promise.resolve(I).then((function(u){i({value:u,done:A})}),u)}};var L=this&&this.__await||function(i){return this instanceof L?(this.v=i,this):new L(i)};var U=this&&this.__asyncGenerator||function(i,u,A){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var I=A.apply(i,u||[]),B,Q=[];return B={},verb("next"),verb("throw"),verb("return"),B[Symbol.asyncIterator]=function(){return this},B;function verb(i){if(I[i])B[i]=function(u){return new Promise((function(A,I){Q.push([i,u,A,I])>1||resume(i,u)}))}}function resume(i,u){try{step(I[i](u))}catch(i){settle(Q[0][3],i)}}function step(i){i.value instanceof L?Promise.resolve(i.value.v).then(fulfill,reject):settle(Q[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,u){if(i(u),Q.shift(),Q.length)resume(Q[0][0],Q[0][1])}};Object.defineProperty(u,"__esModule",{value:true});u.DefaultGlobber=void 0;const G=Q(A(37484));const z=Q(A(79896));const W=Q(A(18164));const Y=Q(A(16928));const J=Q(A(98891));const $=A(62644);const K=A(25370);const X=A(79890);const he=process.platform==="win32";class DefaultGlobber{constructor(i){this.patterns=[];this.searchPaths=[];this.options=W.getOptions(i)}getSearchPaths(){return this.searchPaths.slice()}glob(){var i,u;return P(this,void 0,void 0,(function*(){const A=[];try{for(var I=D(this.globGenerator()),B;B=yield I.next(),!B.done;){const i=B.value;A.push(i)}}catch(u){i={error:u}}finally{try{if(B&&!B.done&&(u=I.return))yield u.call(I)}finally{if(i)throw i.error}}return A}))}globGenerator(){return U(this,arguments,(function*globGenerator_1(){const i=W.getOptions(this.options);const u=[];for(const A of this.patterns){u.push(A);if(i.implicitDescendants&&(A.trailingSeparator||A.segments[A.segments.length-1]!=="**")){u.push(new K.Pattern(A.negate,true,A.segments.concat("**")))}}const A=[];for(const i of J.getSearchPaths(u)){G.debug(`Search path '${i}'`);try{yield L(z.promises.lstat(i))}catch(i){if(i.code==="ENOENT"){continue}throw i}A.unshift(new X.SearchState(i,1))}const I=[];while(A.length){const B=A.pop();const Q=J.match(u,B.path);const P=!!Q||J.partialMatch(u,B.path);if(!Q&&!P){continue}const D=yield L(DefaultGlobber.stat(B,i,I));if(!D){continue}if(D.isDirectory()){if(Q&$.MatchKind.Directory){yield yield L(B.path)}else if(!P){continue}const i=B.level+1;const u=(yield L(z.promises.readdir(B.path))).map((u=>new X.SearchState(Y.join(B.path,u),i)));A.push(...u.reverse())}else if(Q&$.MatchKind.File){yield yield L(B.path)}}}))}static create(i,u){return P(this,void 0,void 0,(function*(){const A=new DefaultGlobber(u);if(he){i=i.replace(/\r\n/g,"\n");i=i.replace(/\r/g,"\n")}const I=i.split("\n").map((i=>i.trim()));for(const i of I){if(!i||i.startsWith("#")){continue}else{A.patterns.push(new K.Pattern(i))}}A.searchPaths.push(...J.getSearchPaths(A.patterns));return A}))}static stat(i,u,A){return P(this,void 0,void 0,(function*(){let I;if(u.followSymbolicLinks){try{I=yield z.promises.stat(i.path)}catch(A){if(A.code==="ENOENT"){if(u.omitBrokenSymbolicLinks){G.debug(`Broken symlink '${i.path}'`);return undefined}throw new Error(`No information found for the path '${i.path}'. This may indicate a broken symbolic link.`)}throw A}}else{I=yield z.promises.lstat(i.path)}if(I.isDirectory()&&u.followSymbolicLinks){const u=yield z.promises.realpath(i.path);while(A.length>=i.level){A.pop()}if(A.some((i=>i===u))){G.debug(`Symlink cycle detected for path '${i.path}' and realpath '${u}'`);return undefined}A.push(u)}return I}))}}u.DefaultGlobber=DefaultGlobber},62644:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MatchKind=void 0;var A;(function(i){i[i["None"]=0]="None";i[i["Directory"]=1]="Directory";i[i["File"]=2]="File";i[i["All"]=3]="All"})(A=u.MatchKind||(u.MatchKind={}))},84138:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.safeTrimTrailingSeparator=u.normalizeSeparators=u.hasRoot=u.hasAbsoluteRoot=u.ensureAbsoluteRoot=u.dirname=void 0;const D=Q(A(16928));const L=P(A(42613));const U=process.platform==="win32";function dirname(i){i=safeTrimTrailingSeparator(i);if(U&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(i)){return i}let u=D.dirname(i);if(U&&/^\\\\[^\\]+\\[^\\]+\\$/.test(u)){u=safeTrimTrailingSeparator(u)}return u}u.dirname=dirname;function ensureAbsoluteRoot(i,u){L.default(i,`ensureAbsoluteRoot parameter 'root' must not be empty`);L.default(u,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`);if(hasAbsoluteRoot(u)){return u}if(U){if(u.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let i=process.cwd();L.default(i.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${i}'`);if(u[0].toUpperCase()===i[0].toUpperCase()){if(u.length===2){return`${u[0]}:\\${i.substr(3)}`}else{if(!i.endsWith("\\")){i+="\\"}return`${u[0]}:\\${i.substr(3)}${u.substr(2)}`}}else{return`${u[0]}:\\${u.substr(2)}`}}else if(normalizeSeparators(u).match(/^\\$|^\\[^\\]/)){const i=process.cwd();L.default(i.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${i}'`);return`${i[0]}:\\${u.substr(1)}`}}L.default(hasAbsoluteRoot(i),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(i.endsWith("/")||U&&i.endsWith("\\")){}else{i+=D.sep}return i+u}u.ensureAbsoluteRoot=ensureAbsoluteRoot;function hasAbsoluteRoot(i){L.default(i,`hasAbsoluteRoot parameter 'itemPath' must not be empty`);i=normalizeSeparators(i);if(U){return i.startsWith("\\\\")||/^[A-Z]:\\/i.test(i)}return i.startsWith("/")}u.hasAbsoluteRoot=hasAbsoluteRoot;function hasRoot(i){L.default(i,`isRooted parameter 'itemPath' must not be empty`);i=normalizeSeparators(i);if(U){return i.startsWith("\\")||/^[A-Z]:/i.test(i)}return i.startsWith("/")}u.hasRoot=hasRoot;function normalizeSeparators(i){i=i||"";if(U){i=i.replace(/\//g,"\\");const u=/^\\\\+[^\\]/.test(i);return(u?"\\":"")+i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}u.normalizeSeparators=normalizeSeparators;function safeTrimTrailingSeparator(i){if(!i){return""}i=normalizeSeparators(i);if(!i.endsWith(D.sep)){return i}if(i===D.sep){return i}if(U&&/^[A-Z]:\\$/i.test(i)){return i}return i.substr(0,i.length-1)}u.safeTrimTrailingSeparator=safeTrimTrailingSeparator},76617:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.Path=void 0;const D=Q(A(16928));const L=Q(A(84138));const U=P(A(42613));const G=process.platform==="win32";class Path{constructor(i){this.segments=[];if(typeof i==="string"){U.default(i,`Parameter 'itemPath' must not be empty`);i=L.safeTrimTrailingSeparator(i);if(!L.hasRoot(i)){this.segments=i.split(D.sep)}else{let u=i;let A=L.dirname(u);while(A!==u){const i=D.basename(u);this.segments.unshift(i);u=A;A=L.dirname(u)}this.segments.unshift(u)}}else{U.default(i.length>0,`Parameter 'itemPath' must not be an empty array`);for(let u=0;u!i.negate));const u={};for(const A of i){const i=L?A.searchPath.toUpperCase():A.searchPath;u[i]="candidate"}const A=[];for(const I of i){const i=L?I.searchPath.toUpperCase():I.searchPath;if(u[i]==="included"){continue}let B=false;let Q=i;let D=P.dirname(Q);while(D!==Q){if(u[D]){B=true;break}Q=D;D=P.dirname(Q)}if(!B){A.push(I.searchPath);u[i]="included"}}return A}u.getSearchPaths=getSearchPaths;function match(i,u){let A=D.MatchKind.None;for(const I of i){if(I.negate){A&=~I.match(u)}else{A|=I.match(u)}}return A}u.match=match;function partialMatch(i,u){return i.some((i=>!i.negate&&i.partialMatch(u)))}u.partialMatch=partialMatch},25370:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.Pattern=void 0;const D=Q(A(70857));const L=Q(A(16928));const U=Q(A(84138));const G=P(A(42613));const z=A(43772);const W=A(62644);const Y=A(76617);const J=process.platform==="win32";class Pattern{constructor(i,u=false,A,I){this.negate=false;let B;if(typeof i==="string"){B=i.trim()}else{A=A||[];G.default(A.length,`Parameter 'segments' must not empty`);const u=Pattern.getLiteral(A[0]);G.default(u&&U.hasAbsoluteRoot(u),`Parameter 'segments' first element must be a root path`);B=new Y.Path(A).toString().trim();if(i){B=`!${B}`}}while(B.startsWith("!")){this.negate=!this.negate;B=B.substr(1).trim()}B=Pattern.fixupPattern(B,I);this.segments=new Y.Path(B).segments;this.trailingSeparator=U.normalizeSeparators(B).endsWith(L.sep);B=U.safeTrimTrailingSeparator(B);let Q=false;const P=this.segments.map((i=>Pattern.getLiteral(i))).filter((i=>!Q&&!(Q=i==="")));this.searchPath=new Y.Path(P).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(P[0]),J?"i":"");this.isImplicitPattern=u;const D={dot:true,nobrace:true,nocase:J,nocomment:true,noext:true,nonegate:true};B=J?B.replace(/\\/g,"/"):B;this.minimatch=new z.Minimatch(B,D)}match(i){if(this.segments[this.segments.length-1]==="**"){i=U.normalizeSeparators(i);if(!i.endsWith(L.sep)&&this.isImplicitPattern===false){i=`${i}${L.sep}`}}else{i=U.safeTrimTrailingSeparator(i)}if(this.minimatch.match(i)){return this.trailingSeparator?W.MatchKind.Directory:W.MatchKind.All}return W.MatchKind.None}partialMatch(i){i=U.safeTrimTrailingSeparator(i);if(U.dirname(i)===i){return this.rootRegExp.test(i)}return this.minimatch.matchOne(i.split(J?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(i){return(J?i:i.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(i,u){G.default(i,"pattern cannot be empty");const A=new Y.Path(i).segments.map((i=>Pattern.getLiteral(i)));G.default(A.every(((i,u)=>(i!=="."||u===0)&&i!=="..")),`Invalid pattern '${i}'. Relative pathing '.' and '..' is not allowed.`);G.default(!U.hasRoot(i)||A[0],`Invalid pattern '${i}'. Root segment must not contain globs.`);i=U.normalizeSeparators(i);if(i==="."||i.startsWith(`.${L.sep}`)){i=Pattern.globEscape(process.cwd())+i.substr(1)}else if(i==="~"||i.startsWith(`~${L.sep}`)){u=u||D.homedir();G.default(u,"Unable to determine HOME directory");G.default(U.hasAbsoluteRoot(u),`Expected HOME directory to be a rooted path. Actual '${u}'`);i=Pattern.globEscape(u)+i.substr(1)}else if(J&&(i.match(/^[A-Z]:$/i)||i.match(/^[A-Z]:[^\\]/i))){let u=U.ensureAbsoluteRoot("C:\\dummy-root",i.substr(0,2));if(i.length>2&&!u.endsWith("\\")){u+="\\"}i=Pattern.globEscape(u)+i.substr(2)}else if(J&&(i==="\\"||i.match(/^\\[^\\]/))){let u=U.ensureAbsoluteRoot("C:\\dummy-root","\\");if(!u.endsWith("\\")){u+="\\"}i=Pattern.globEscape(u)+i.substr(1)}else{i=U.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),i)}return U.normalizeSeparators(i)}static getLiteral(i){let u="";for(let A=0;A=0){if(I.length>1){return""}if(I){u+=I;A=B;continue}}}u+=I}return u}static regExpEscape(i){return i.replace(/[[\\^$.|?*+()]/g,"\\$&")}}u.Pattern=Pattern},79890:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.SearchState=void 0;class SearchState{constructor(i,u){this.path=i;this.level=u}}u.SearchState=SearchState},44552:function(i,u){"use strict";var A=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.PersonalAccessTokenCredentialHandler=u.BearerCredentialHandler=u.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(i,u){this.username=i;this.password=u}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return A(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}u.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return A(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}u.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return A(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}u.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},54844:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.HttpClient=u.isHttps=u.HttpClientResponse=u.HttpClientError=u.getProxyUrl=u.MediaTypes=u.Headers=u.HttpCodes=void 0;const D=Q(A(58611));const L=Q(A(65692));const U=Q(A(54988));const G=Q(A(20770));const z=A(46752);var W;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(W||(u.HttpCodes=W={}));var Y;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(Y||(u.Headers=Y={}));var J;(function(i){i["ApplicationJson"]="application/json"})(J||(u.MediaTypes=J={}));function getProxyUrl(i){const u=U.getProxyUrl(new URL(i));return u?u.href:""}u.getProxyUrl=getProxyUrl;const $=[W.MovedPermanently,W.ResourceMoved,W.SeeOther,W.TemporaryRedirect,W.PermanentRedirect];const K=[W.BadGateway,W.ServiceUnavailable,W.GatewayTimeout];const X=["OPTIONS","GET","DELETE","HEAD"];const he=10;const Ae=5;class HttpClientError extends Error{constructor(i,u){super(i);this.name="HttpClientError";this.statusCode=u;Object.setPrototypeOf(this,HttpClientError.prototype)}}u.HttpClientError=HttpClientError;class HttpClientResponse{constructor(i){this.message=i}readBody(){return P(this,void 0,void 0,(function*(){return new Promise((i=>P(this,void 0,void 0,(function*(){let u=Buffer.alloc(0);this.message.on("data",(i=>{u=Buffer.concat([u,i])}));this.message.on("end",(()=>{i(u.toString())}))}))))}))}readBodyBuffer(){return P(this,void 0,void 0,(function*(){return new Promise((i=>P(this,void 0,void 0,(function*(){const u=[];this.message.on("data",(i=>{u.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(u))}))}))))}))}}u.HttpClientResponse=HttpClientResponse;function isHttps(i){const u=new URL(i);return u.protocol==="https:"}u.isHttps=isHttps;class HttpClient{constructor(i,u,A){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=i;this.handlers=u||[];this.requestOptions=A;if(A){if(A.ignoreSslError!=null){this._ignoreSslError=A.ignoreSslError}this._socketTimeout=A.socketTimeout;if(A.allowRedirects!=null){this._allowRedirects=A.allowRedirects}if(A.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=A.allowRedirectDowngrade}if(A.maxRedirects!=null){this._maxRedirects=Math.max(A.maxRedirects,0)}if(A.keepAlive!=null){this._keepAlive=A.keepAlive}if(A.allowRetries!=null){this._allowRetries=A.allowRetries}if(A.maxRetries!=null){this._maxRetries=A.maxRetries}}}options(i,u){return P(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,u||{})}))}get(i,u){return P(this,void 0,void 0,(function*(){return this.request("GET",i,null,u||{})}))}del(i,u){return P(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,u||{})}))}post(i,u,A){return P(this,void 0,void 0,(function*(){return this.request("POST",i,u,A||{})}))}patch(i,u,A){return P(this,void 0,void 0,(function*(){return this.request("PATCH",i,u,A||{})}))}put(i,u,A){return P(this,void 0,void 0,(function*(){return this.request("PUT",i,u,A||{})}))}head(i,u){return P(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,u||{})}))}sendStream(i,u,A,I){return P(this,void 0,void 0,(function*(){return this.request(i,u,A,I)}))}getJson(i,u={}){return P(this,void 0,void 0,(function*(){u[Y.Accept]=this._getExistingOrDefaultHeader(u,Y.Accept,J.ApplicationJson);const A=yield this.get(i,u);return this._processResponse(A,this.requestOptions)}))}postJson(i,u,A={}){return P(this,void 0,void 0,(function*(){const I=JSON.stringify(u,null,2);A[Y.Accept]=this._getExistingOrDefaultHeader(A,Y.Accept,J.ApplicationJson);A[Y.ContentType]=this._getExistingOrDefaultHeader(A,Y.ContentType,J.ApplicationJson);const B=yield this.post(i,I,A);return this._processResponse(B,this.requestOptions)}))}putJson(i,u,A={}){return P(this,void 0,void 0,(function*(){const I=JSON.stringify(u,null,2);A[Y.Accept]=this._getExistingOrDefaultHeader(A,Y.Accept,J.ApplicationJson);A[Y.ContentType]=this._getExistingOrDefaultHeader(A,Y.ContentType,J.ApplicationJson);const B=yield this.put(i,I,A);return this._processResponse(B,this.requestOptions)}))}patchJson(i,u,A={}){return P(this,void 0,void 0,(function*(){const I=JSON.stringify(u,null,2);A[Y.Accept]=this._getExistingOrDefaultHeader(A,Y.Accept,J.ApplicationJson);A[Y.ContentType]=this._getExistingOrDefaultHeader(A,Y.ContentType,J.ApplicationJson);const B=yield this.patch(i,I,A);return this._processResponse(B,this.requestOptions)}))}request(i,u,A,I){return P(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const B=new URL(u);let Q=this._prepareRequest(i,B,I);const P=this._allowRetries&&X.includes(i)?this._maxRetries+1:1;let D=0;let L;do{L=yield this.requestRaw(Q,A);if(L&&L.message&&L.message.statusCode===W.Unauthorized){let i;for(const u of this.handlers){if(u.canHandleAuthentication(L)){i=u;break}}if(i){return i.handleAuthentication(this,Q,A)}else{return L}}let u=this._maxRedirects;while(L.message.statusCode&&$.includes(L.message.statusCode)&&this._allowRedirects&&u>0){const P=L.message.headers["location"];if(!P){break}const D=new URL(P);if(B.protocol==="https:"&&B.protocol!==D.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield L.readBody();if(D.hostname!==B.hostname){for(const i in I){if(i.toLowerCase()==="authorization"){delete I[i]}}}Q=this._prepareRequest(i,D,I);L=yield this.requestRaw(Q,A);u--}if(!L.message.statusCode||!K.includes(L.message.statusCode)){return L}D+=1;if(D{function callbackForResult(i,u){if(i){I(i)}else if(!u){I(new Error("Unknown error"))}else{A(u)}}this.requestRawWithCallback(i,u,callbackForResult)}))}))}requestRawWithCallback(i,u,A){if(typeof u==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(u,"utf8")}let I=false;function handleResult(i,u){if(!I){I=true;A(i,u)}}const B=i.httpModule.request(i.options,(i=>{const u=new HttpClientResponse(i);handleResult(undefined,u)}));let Q;B.on("socket",(i=>{Q=i}));B.setTimeout(this._socketTimeout||3*6e4,(()=>{if(Q){Q.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));B.on("error",(function(i){handleResult(i)}));if(u&&typeof u==="string"){B.write(u,"utf8")}if(u&&typeof u!=="string"){u.on("close",(function(){B.end()}));u.pipe(B)}else{B.end()}}getAgent(i){const u=new URL(i);return this._getAgent(u)}getAgentDispatcher(i){const u=new URL(i);const A=U.getProxyUrl(u);const I=A&&A.hostname;if(!I){return}return this._getProxyAgentDispatcher(u,A)}_prepareRequest(i,u,A){const I={};I.parsedUrl=u;const B=I.parsedUrl.protocol==="https:";I.httpModule=B?L:D;const Q=B?443:80;I.options={};I.options.host=I.parsedUrl.hostname;I.options.port=I.parsedUrl.port?parseInt(I.parsedUrl.port):Q;I.options.path=(I.parsedUrl.pathname||"")+(I.parsedUrl.search||"");I.options.method=i;I.options.headers=this._mergeHeaders(A);if(this.userAgent!=null){I.options.headers["user-agent"]=this.userAgent}I.options.agent=this._getAgent(I.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(I.options)}}return I}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,u,A){let I;if(this.requestOptions&&this.requestOptions.headers){I=lowercaseKeys(this.requestOptions.headers)[u]}return i[u]||I||A}_getAgent(i){let u;const A=U.getProxyUrl(i);const I=A&&A.hostname;if(this._keepAlive&&I){u=this._proxyAgent}if(!I){u=this._agent}if(u){return u}const B=i.protocol==="https:";let Q=100;if(this.requestOptions){Q=this.requestOptions.maxSockets||D.globalAgent.maxSockets}if(A&&A.hostname){const i={maxSockets:Q,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(A.username||A.password)&&{proxyAuth:`${A.username}:${A.password}`}),{host:A.hostname,port:A.port})};let I;const P=A.protocol==="https:";if(B){I=P?G.httpsOverHttps:G.httpsOverHttp}else{I=P?G.httpOverHttps:G.httpOverHttp}u=I(i);this._proxyAgent=u}if(!u){const i={keepAlive:this._keepAlive,maxSockets:Q};u=B?new L.Agent(i):new D.Agent(i);this._agent=u}if(B&&this._ignoreSslError){u.options=Object.assign(u.options||{},{rejectUnauthorized:false})}return u}_getProxyAgentDispatcher(i,u){let A;if(this._keepAlive){A=this._proxyAgentDispatcher}if(A){return A}const I=i.protocol==="https:";A=new z.ProxyAgent(Object.assign({uri:u.href,pipelining:!this._keepAlive?0:1},(u.username||u.password)&&{token:`Basic ${Buffer.from(`${u.username}:${u.password}`).toString("base64")}`}));this._proxyAgentDispatcher=A;if(I&&this._ignoreSslError){A.options=Object.assign(A.options.requestTls||{},{rejectUnauthorized:false})}return A}_performExponentialBackoff(i){return P(this,void 0,void 0,(function*(){i=Math.min(he,i);const u=Ae*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),u)))}))}_processResponse(i,u){return P(this,void 0,void 0,(function*(){return new Promise(((A,I)=>P(this,void 0,void 0,(function*(){const B=i.message.statusCode||0;const Q={statusCode:B,result:null,headers:{}};if(B===W.NotFound){A(Q)}function dateTimeDeserializer(i,u){if(typeof u==="string"){const i=new Date(u);if(!isNaN(i.valueOf())){return i}}return u}let P;let D;try{D=yield i.readBody();if(D&&D.length>0){if(u&&u.deserializeDates){P=JSON.parse(D,dateTimeDeserializer)}else{P=JSON.parse(D)}Q.result=P}Q.headers=i.message.headers}catch(i){}if(B>299){let i;if(P&&P.message){i=P.message}else if(D&&D.length>0){i=D}else{i=`Failed request: (${B})`}const u=new HttpClientError(i,B);u.result=Q.result;I(u)}else{A(Q)}}))))}))}}u.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((u,A)=>(u[A.toLowerCase()]=i[A],u)),{})},54988:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.checkBypass=u.getProxyUrl=void 0;function getProxyUrl(i){const u=i.protocol==="https:";if(checkBypass(i)){return undefined}const A=(()=>{if(u){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(A){try{return new DecodedURL(A)}catch(i){if(!A.startsWith("http://")&&!A.startsWith("https://"))return new DecodedURL(`http://${A}`)}}else{return undefined}}u.getProxyUrl=getProxyUrl;function checkBypass(i){if(!i.hostname){return false}const u=i.hostname;if(isLoopbackAddress(u)){return true}const A=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!A){return false}let I;if(i.port){I=Number(i.port)}else if(i.protocol==="http:"){I=80}else if(i.protocol==="https:"){I=443}const B=[i.hostname.toUpperCase()];if(typeof I==="number"){B.push(`${B[0]}:${I}`)}for(const i of A.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||B.some((u=>u===i||u.endsWith(`.${i}`)||i.startsWith(".")&&u.endsWith(`${i}`)))){return true}}return false}u.checkBypass=checkBypass;function isLoopbackAddress(i){const u=i.toLowerCase();return u==="localhost"||u.startsWith("127.")||u.startsWith("[::1]")||u.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(i,u){super(i,u);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},75207:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};var D;Object.defineProperty(u,"__esModule",{value:true});u.getCmdPath=u.tryGetExecutablePath=u.isRooted=u.isDirectory=u.exists=u.READONLY=u.UV_FS_O_EXLOCK=u.IS_WINDOWS=u.unlink=u.symlink=u.stat=u.rmdir=u.rm=u.rename=u.readlink=u.readdir=u.open=u.mkdir=u.lstat=u.copyFile=u.chmod=void 0;const L=Q(A(79896));const U=Q(A(16928));D=L.promises,u.chmod=D.chmod,u.copyFile=D.copyFile,u.lstat=D.lstat,u.mkdir=D.mkdir,u.open=D.open,u.readdir=D.readdir,u.readlink=D.readlink,u.rename=D.rename,u.rm=D.rm,u.rmdir=D.rmdir,u.stat=D.stat,u.symlink=D.symlink,u.unlink=D.unlink;u.IS_WINDOWS=process.platform==="win32";u.UV_FS_O_EXLOCK=268435456;u.READONLY=L.constants.O_RDONLY;function exists(i){return P(this,void 0,void 0,(function*(){try{yield u.stat(i)}catch(i){if(i.code==="ENOENT"){return false}throw i}return true}))}u.exists=exists;function isDirectory(i,A=false){return P(this,void 0,void 0,(function*(){const I=A?yield u.stat(i):yield u.lstat(i);return I.isDirectory()}))}u.isDirectory=isDirectory;function isRooted(i){i=normalizeSeparators(i);if(!i){throw new Error('isRooted() parameter "p" cannot be empty')}if(u.IS_WINDOWS){return i.startsWith("\\")||/^[A-Z]:/i.test(i)}return i.startsWith("/")}u.isRooted=isRooted;function tryGetExecutablePath(i,A){return P(this,void 0,void 0,(function*(){let I=undefined;try{I=yield u.stat(i)}catch(u){if(u.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${u}`)}}if(I&&I.isFile()){if(u.IS_WINDOWS){const u=U.extname(i).toUpperCase();if(A.some((i=>i.toUpperCase()===u))){return i}}else{if(isUnixExecutable(I)){return i}}}const B=i;for(const Q of A){i=B+Q;I=undefined;try{I=yield u.stat(i)}catch(u){if(u.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${u}`)}}if(I&&I.isFile()){if(u.IS_WINDOWS){try{const A=U.dirname(i);const I=U.basename(i).toUpperCase();for(const B of yield u.readdir(A)){if(I===B.toUpperCase()){i=U.join(A,B);break}}}catch(u){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${u}`)}return i}else{if(isUnixExecutable(I)){return i}}}}return""}))}u.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(i){i=i||"";if(u.IS_WINDOWS){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&i.gid===process.getgid()||(i.mode&64)>0&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}u.getCmdPath=getCmdPath},94994:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;Object.defineProperty(i,I,{enumerable:true,get:function(){return u[A]}})}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.findInPath=u.which=u.mkdirP=u.rmRF=u.mv=u.cp=void 0;const D=A(42613);const L=Q(A(16928));const U=Q(A(75207));function cp(i,u,A={}){return P(this,void 0,void 0,(function*(){const{force:I,recursive:B,copySourceDirectory:Q}=readCopyOptions(A);const P=(yield U.exists(u))?yield U.stat(u):null;if(P&&P.isFile()&&!I){return}const D=P&&P.isDirectory()&&Q?L.join(u,L.basename(i)):u;if(!(yield U.exists(i))){throw new Error(`no such file or directory: ${i}`)}const G=yield U.stat(i);if(G.isDirectory()){if(!B){throw new Error(`Failed to copy. ${i} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(i,D,0,I)}}else{if(L.relative(i,D)===""){throw new Error(`'${D}' and '${i}' are the same file`)}yield copyFile(i,D,I)}}))}u.cp=cp;function mv(i,u,A={}){return P(this,void 0,void 0,(function*(){if(yield U.exists(u)){let I=true;if(yield U.isDirectory(u)){u=L.join(u,L.basename(i));I=yield U.exists(u)}if(I){if(A.force==null||A.force){yield rmRF(u)}else{throw new Error("Destination already exists")}}}yield mkdirP(L.dirname(u));yield U.rename(i,u)}))}u.mv=mv;function rmRF(i){return P(this,void 0,void 0,(function*(){if(U.IS_WINDOWS){if(/[*"<>|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield U.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}u.rmRF=rmRF;function mkdirP(i){return P(this,void 0,void 0,(function*(){D.ok(i,"a path argument must be provided");yield U.mkdir(i,{recursive:true})}))}u.mkdirP=mkdirP;function which(i,u){return P(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(u){const u=yield which(i,false);if(!u){if(U.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${i}. 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: ${i}. 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 u}const A=yield findInPath(i);if(A&&A.length>0){return A[0]}return""}))}u.which=which;function findInPath(i){return P(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const u=[];if(U.IS_WINDOWS&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(L.delimiter)){if(i){u.push(i)}}}if(U.isRooted(i)){const A=yield U.tryGetExecutablePath(i,u);if(A){return[A]}return[]}if(i.includes(L.sep)){return[]}const A=[];if(process.env.PATH){for(const i of process.env.PATH.split(L.delimiter)){if(i){A.push(i)}}}const I=[];for(const B of A){const A=yield U.tryGetExecutablePath(L.join(B,i),u);if(A){I.push(A)}}return I}))}u.findInPath=findInPath;function readCopyOptions(i){const u=i.force==null?true:i.force;const A=Boolean(i.recursive);const I=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:u,recursive:A,copySourceDirectory:I}}function cpDirRecursive(i,u,A,I){return P(this,void 0,void 0,(function*(){if(A>=255)return;A++;yield mkdirP(u);const B=yield U.readdir(i);for(const Q of B){const B=`${i}/${Q}`;const P=`${u}/${Q}`;const D=yield U.lstat(B);if(D.isDirectory()){yield cpDirRecursive(B,P,A,I)}else{yield copyFile(B,P,I)}}yield U.chmod(u,(yield U.stat(i)).mode)}))}function copyFile(i,u,A){return P(this,void 0,void 0,(function*(){if((yield U.lstat(i)).isSymbolicLink()){try{yield U.lstat(u);yield U.unlink(u)}catch(i){if(i.code==="EPERM"){yield U.chmod(u,"0666");yield U.unlink(u)}}const A=yield U.readlink(i);yield U.symlink(A,u,U.IS_WINDOWS?"junction":null)}else if(!(yield U.exists(u))||A){yield U.copyFile(i,u)}}))}},58036:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u._readLinuxVersionFile=u._getOsVersion=u._findMatch=void 0;const D=Q(A(46193));const L=A(37484);const U=A(70857);const G=A(35317);const z=A(79896);function _findMatch(u,A,I,B){return P(this,void 0,void 0,(function*(){const Q=U.platform();let P;let G;let z;for(const P of I){const I=P.version;(0,L.debug)(`check ${I} satisfies ${u}`);if(D.satisfies(I,u)&&(!A||P.stable===A)){z=P.files.find((u=>{(0,L.debug)(`${u.arch}===${B} && ${u.platform}===${Q}`);let A=u.arch===B&&u.platform===Q;if(A&&u.platform_version){const I=i.exports._getOsVersion();if(I===u.platform_version){A=true}else{A=D.satisfies(I,u.platform_version)}}return A}));if(z){(0,L.debug)(`matched ${P.version}`);G=P;break}}}if(G&&z){P=Object.assign({},G);P.files=[z]}return P}))}u._findMatch=_findMatch;function _getOsVersion(){const u=U.platform();let A="";if(u==="darwin"){A=G.execSync("sw_vers -productVersion").toString()}else if(u==="linux"){const u=i.exports._readLinuxVersionFile();if(u){const i=u.split("\n");for(const u of i){const i=u.split("=");if(i.length===2&&(i[0].trim()==="VERSION_ID"||i[0].trim()==="DISTRIB_RELEASE")){A=i[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return A}u._getOsVersion=_getOsVersion;function _readLinuxVersionFile(){const i="/etc/lsb-release";const u="/etc/os-release";let A="";if(z.existsSync(i)){A=z.readFileSync(i).toString()}else if(z.existsSync(u)){A=z.readFileSync(u).toString()}return A}u._readLinuxVersionFile=_readLinuxVersionFile},67380:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.RetryHelper=void 0;const D=Q(A(37484));class RetryHelper{constructor(i,u,A){if(i<1){throw new Error("max attempts should be greater than or equal to 1")}this.maxAttempts=i;this.minSeconds=Math.floor(u);this.maxSeconds=Math.floor(A);if(this.minSeconds>this.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(i,u){return P(this,void 0,void 0,(function*(){let A=1;while(AsetTimeout(u,i*1e3)))}))}}u.RetryHelper=RetryHelper},33472:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.evaluateVersions=u.isExplicitVersion=u.findFromManifest=u.getManifestFromRepo=u.findAllVersions=u.find=u.cacheFile=u.cacheDir=u.extractZip=u.extractXar=u.extractTar=u.extract7z=u.downloadTool=u.HTTPError=void 0;const D=Q(A(37484));const L=Q(A(94994));const U=Q(A(76982));const G=Q(A(79896));const z=Q(A(58036));const W=Q(A(70857));const Y=Q(A(16928));const J=Q(A(54844));const $=Q(A(46193));const K=Q(A(2203));const X=Q(A(39023));const he=A(42613);const Ae=A(95236);const ye=A(67380);class HTTPError extends Error{constructor(i){super(`Unexpected HTTP response: ${i}`);this.httpStatusCode=i;Object.setPrototypeOf(this,new.target.prototype)}}u.HTTPError=HTTPError;const be=process.platform==="win32";const Ee=process.platform==="darwin";const Ce="actions/tool-cache";function downloadTool(i,u,A,I){return P(this,void 0,void 0,(function*(){u=u||Y.join(_getTempDirectory(),U.randomUUID());yield L.mkdirP(Y.dirname(u));D.debug(`Downloading ${i}`);D.debug(`Destination ${u}`);const B=3;const Q=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10);const G=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);const z=new ye.RetryHelper(B,Q,G);return yield z.execute((()=>P(this,void 0,void 0,(function*(){return yield downloadToolAttempt(i,u||"",A,I)}))),(i=>{if(i instanceof HTTPError&&i.httpStatusCode){if(i.httpStatusCode<500&&i.httpStatusCode!==408&&i.httpStatusCode!==429){return false}}return true}))}))}u.downloadTool=downloadTool;function downloadToolAttempt(i,u,A,I){return P(this,void 0,void 0,(function*(){if(G.existsSync(u)){throw new Error(`Destination file path ${u} already exists`)}const B=new J.HttpClient(Ce,[],{allowRetries:false});if(A){D.debug("set auth");if(I===undefined){I={}}I.authorization=A}const Q=yield B.get(i,I);if(Q.message.statusCode!==200){const u=new HTTPError(Q.message.statusCode);D.debug(`Failed to download from "${i}". Code(${Q.message.statusCode}) Message(${Q.message.statusMessage})`);throw u}const P=X.promisify(K.pipeline);const U=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>Q.message));const z=U();let W=false;try{yield P(z,G.createWriteStream(u));D.debug("download complete");W=true;return u}finally{if(!W){D.debug("download failed");try{yield L.rmRF(u)}catch(i){D.debug(`Failed to delete '${u}'. ${i.message}`)}}}}))}function extract7z(i,u,A){return P(this,void 0,void 0,(function*(){(0,he.ok)(be,"extract7z() not supported on current OS");(0,he.ok)(i,'parameter "file" is required');u=yield _createExtractFolder(u);const I=process.cwd();process.chdir(u);if(A){try{const u=D.isDebug()?"-bb1":"-bb0";const I=["x",u,"-bd","-sccUTF-8",i];const B={silent:true};yield(0,Ae.exec)(`"${A}"`,I,B)}finally{process.chdir(I)}}else{const A=Y.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const B=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const Q=u.replace(/'/g,"''").replace(/"|\n|\r/g,"");const P=`& '${A}' -Source '${B}' -Target '${Q}'`;const D=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",P];const U={silent:true};try{const i=yield L.which("powershell",true);yield(0,Ae.exec)(`"${i}"`,D,U)}finally{process.chdir(I)}}return u}))}u.extract7z=extract7z;function extractTar(i,u,A="xz"){return P(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'file' is required")}u=yield _createExtractFolder(u);D.debug("Checking tar --version");let I="";yield(0,Ae.exec)("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:i=>I+=i.toString(),stderr:i=>I+=i.toString()}});D.debug(I.trim());const B=I.toUpperCase().includes("GNU TAR");let Q;if(A instanceof Array){Q=A}else{Q=[A]}if(D.isDebug()&&!A.includes("v")){Q.push("-v")}let P=u;let L=i;if(be&&B){Q.push("--force-local");P=u.replace(/\\/g,"/");L=i.replace(/\\/g,"/")}if(B){Q.push("--warning=no-unknown-keyword");Q.push("--overwrite")}Q.push("-C",P,"-f",L);yield(0,Ae.exec)(`tar`,Q);return u}))}u.extractTar=extractTar;function extractXar(i,u,A=[]){return P(this,void 0,void 0,(function*(){(0,he.ok)(Ee,"extractXar() not supported on current OS");(0,he.ok)(i,'parameter "file" is required');u=yield _createExtractFolder(u);let I;if(A instanceof Array){I=A}else{I=[A]}I.push("-x","-C",u,"-f",i);if(D.isDebug()){I.push("-v")}const B=yield L.which("xar",true);yield(0,Ae.exec)(`"${B}"`,_unique(I));return u}))}u.extractXar=extractXar;function extractZip(i,u){return P(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'file' is required")}u=yield _createExtractFolder(u);if(be){yield extractZipWin(i,u)}else{yield extractZipNix(i,u)}return u}))}u.extractZip=extractZip;function extractZipWin(i,u){return P(this,void 0,void 0,(function*(){const A=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const I=u.replace(/'/g,"''").replace(/"|\n|\r/g,"");const B=yield L.which("pwsh",false);if(B){const i=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${A}', '${I}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${A}' -DestinationPath '${I}' -Force } else { throw $_ } } ;`].join(" ");const u=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];D.debug(`Using pwsh at path: ${B}`);yield(0,Ae.exec)(`"${B}"`,u)}else{const i=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${A}' -DestinationPath '${I}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${A}', '${I}', $true) }`].join(" ");const u=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];const B=yield L.which("powershell",true);D.debug(`Using powershell at path: ${B}`);yield(0,Ae.exec)(`"${B}"`,u)}}))}function extractZipNix(i,u){return P(this,void 0,void 0,(function*(){const A=yield L.which("unzip",true);const I=[i];if(!D.isDebug()){I.unshift("-q")}I.unshift("-o");yield(0,Ae.exec)(`"${A}"`,I,{cwd:u})}))}function cacheDir(i,u,A,I){return P(this,void 0,void 0,(function*(){A=$.clean(A)||A;I=I||W.arch();D.debug(`Caching tool ${u} ${A} ${I}`);D.debug(`source dir: ${i}`);if(!G.statSync(i).isDirectory()){throw new Error("sourceDir is not a directory")}const B=yield _createToolPath(u,A,I);for(const u of G.readdirSync(i)){const A=Y.join(i,u);yield L.cp(A,B,{recursive:true})}_completeToolPath(u,A,I);return B}))}u.cacheDir=cacheDir;function cacheFile(i,u,A,I,B){return P(this,void 0,void 0,(function*(){I=$.clean(I)||I;B=B||W.arch();D.debug(`Caching tool ${A} ${I} ${B}`);D.debug(`source file: ${i}`);if(!G.statSync(i).isFile()){throw new Error("sourceFile is not a file")}const Q=yield _createToolPath(A,I,B);const P=Y.join(Q,u);D.debug(`destination file ${P}`);yield L.cp(i,P);_completeToolPath(A,I,B);return Q}))}u.cacheFile=cacheFile;function find(i,u,A){if(!i){throw new Error("toolName parameter is required")}if(!u){throw new Error("versionSpec parameter is required")}A=A||W.arch();if(!isExplicitVersion(u)){const I=findAllVersions(i,A);const B=evaluateVersions(I,u);u=B}let I="";if(u){u=$.clean(u)||"";const B=Y.join(_getCacheDirectory(),i,u,A);D.debug(`checking cache: ${B}`);if(G.existsSync(B)&&G.existsSync(`${B}.complete`)){D.debug(`Found tool in cache ${i} ${u} ${A}`);I=B}else{D.debug("not found")}}return I}u.find=find;function findAllVersions(i,u){const A=[];u=u||W.arch();const I=Y.join(_getCacheDirectory(),i);if(G.existsSync(I)){const i=G.readdirSync(I);for(const B of i){if(isExplicitVersion(B)){const i=Y.join(I,B,u||"");if(G.existsSync(i)&&G.existsSync(`${i}.complete`)){A.push(B)}}}}return A}u.findAllVersions=findAllVersions;function getManifestFromRepo(i,u,A,I="master"){return P(this,void 0,void 0,(function*(){let B=[];const Q=`https://api.github.com/repos/${i}/${u}/git/trees/${I}`;const P=new J.HttpClient("tool-cache");const L={};if(A){D.debug("set auth");L.authorization=A}const U=yield P.getJson(Q,L);if(!U.result){return B}let G="";for(const i of U.result.tree){if(i.path==="versions-manifest.json"){G=i.url;break}}L["accept"]="application/vnd.github.VERSION.raw";let z=yield(yield P.get(G,L)).readBody();if(z){z=z.replace(/^\uFEFF/,"");try{B=JSON.parse(z)}catch(i){D.debug("Invalid json")}}return B}))}u.getManifestFromRepo=getManifestFromRepo;function findFromManifest(i,u,A,I=W.arch()){return P(this,void 0,void 0,(function*(){const B=yield z._findMatch(i,u,A,I);return B}))}u.findFromManifest=findFromManifest;function _createExtractFolder(i){return P(this,void 0,void 0,(function*(){if(!i){i=Y.join(_getTempDirectory(),U.randomUUID())}yield L.mkdirP(i);return i}))}function _createToolPath(i,u,A){return P(this,void 0,void 0,(function*(){const I=Y.join(_getCacheDirectory(),i,$.clean(u)||u,A||"");D.debug(`destination ${I}`);const B=`${I}.complete`;yield L.rmRF(I);yield L.rmRF(B);yield L.mkdirP(I);return I}))}function _completeToolPath(i,u,A){const I=Y.join(_getCacheDirectory(),i,$.clean(u)||u,A||"");const B=`${I}.complete`;G.writeFileSync(B,"");D.debug("finished caching tool")}function isExplicitVersion(i){const u=$.clean(i)||"";D.debug(`isExplicit: ${u}`);const A=$.valid(u)!=null;D.debug(`explicit? ${A}`);return A}u.isExplicitVersion=isExplicitVersion;function evaluateVersions(i,u){let A="";D.debug(`evaluating ${i.length} versions`);i=i.sort(((i,u)=>{if($.gt(i,u)){return 1}return-1}));for(let I=i.length-1;I>=0;I--){const B=i[I];const Q=$.satisfies(B,u);if(Q){A=B;break}}if(A){D.debug(`matched: ${A}`)}else{D.debug("match not found")}return A}u.evaluateVersions=evaluateVersions;function _getCacheDirectory(){const i=process.env["RUNNER_TOOL_CACHE"]||"";(0,he.ok)(i,"Expected RUNNER_TOOL_CACHE to be defined");return i}function _getTempDirectory(){const i=process.env["RUNNER_TEMP"]||"";(0,he.ok)(i,"Expected RUNNER_TEMP to be defined");return i}function _getGlobal(i,u){const A=global[i];return A!==undefined?A:u}function _unique(i){return Array.from(new Set(i))}},46193:(i,u)=>{u=i.exports=SemVer;var A;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){A=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{A=function(){}}u.SEMVER_SPEC_VERSION="2.0.0";var I=256;var B=Number.MAX_SAFE_INTEGER||9007199254740991;var Q=16;var P=I-6;var D=u.re=[];var L=u.safeRe=[];var U=u.src=[];var G=u.tokens={};var z=0;function tok(i){G[i]=z++}var W="[a-zA-Z0-9-]";var Y=[["\\s",1],["\\d",I],[W,P]];function makeSafeRe(i){for(var u=0;u)?=?)";tok("XRANGEIDENTIFIERLOOSE");U[G.XRANGEIDENTIFIERLOOSE]=U[G.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");U[G.XRANGEIDENTIFIER]=U[G.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");U[G.XRANGEPLAIN]="[v=\\s]*("+U[G.XRANGEIDENTIFIER]+")"+"(?:\\.("+U[G.XRANGEIDENTIFIER]+")"+"(?:\\.("+U[G.XRANGEIDENTIFIER]+")"+"(?:"+U[G.PRERELEASE]+")?"+U[G.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");U[G.XRANGEPLAINLOOSE]="[v=\\s]*("+U[G.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+U[G.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+U[G.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+U[G.PRERELEASELOOSE]+")?"+U[G.BUILD]+"?"+")?)?";tok("XRANGE");U[G.XRANGE]="^"+U[G.GTLT]+"\\s*"+U[G.XRANGEPLAIN]+"$";tok("XRANGELOOSE");U[G.XRANGELOOSE]="^"+U[G.GTLT]+"\\s*"+U[G.XRANGEPLAINLOOSE]+"$";tok("COERCE");U[G.COERCE]="(^|[^\\d])"+"(\\d{1,"+Q+"})"+"(?:\\.(\\d{1,"+Q+"}))?"+"(?:\\.(\\d{1,"+Q+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");D[G.COERCERTL]=new RegExp(U[G.COERCE],"g");L[G.COERCERTL]=new RegExp(makeSafeRe(U[G.COERCE]),"g");tok("LONETILDE");U[G.LONETILDE]="(?:~>?)";tok("TILDETRIM");U[G.TILDETRIM]="(\\s*)"+U[G.LONETILDE]+"\\s+";D[G.TILDETRIM]=new RegExp(U[G.TILDETRIM],"g");L[G.TILDETRIM]=new RegExp(makeSafeRe(U[G.TILDETRIM]),"g");var J="$1~";tok("TILDE");U[G.TILDE]="^"+U[G.LONETILDE]+U[G.XRANGEPLAIN]+"$";tok("TILDELOOSE");U[G.TILDELOOSE]="^"+U[G.LONETILDE]+U[G.XRANGEPLAINLOOSE]+"$";tok("LONECARET");U[G.LONECARET]="(?:\\^)";tok("CARETTRIM");U[G.CARETTRIM]="(\\s*)"+U[G.LONECARET]+"\\s+";D[G.CARETTRIM]=new RegExp(U[G.CARETTRIM],"g");L[G.CARETTRIM]=new RegExp(makeSafeRe(U[G.CARETTRIM]),"g");var $="$1^";tok("CARET");U[G.CARET]="^"+U[G.LONECARET]+U[G.XRANGEPLAIN]+"$";tok("CARETLOOSE");U[G.CARETLOOSE]="^"+U[G.LONECARET]+U[G.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");U[G.COMPARATORLOOSE]="^"+U[G.GTLT]+"\\s*("+U[G.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");U[G.COMPARATOR]="^"+U[G.GTLT]+"\\s*("+U[G.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");U[G.COMPARATORTRIM]="(\\s*)"+U[G.GTLT]+"\\s*("+U[G.LOOSEPLAIN]+"|"+U[G.XRANGEPLAIN]+")";D[G.COMPARATORTRIM]=new RegExp(U[G.COMPARATORTRIM],"g");L[G.COMPARATORTRIM]=new RegExp(makeSafeRe(U[G.COMPARATORTRIM]),"g");var K="$1$2$3";tok("HYPHENRANGE");U[G.HYPHENRANGE]="^\\s*("+U[G.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+U[G.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");U[G.HYPHENRANGELOOSE]="^\\s*("+U[G.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+U[G.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");U[G.STAR]="(<|>)?=?\\s*\\*";for(var X=0;XI){return null}var A=u.loose?L[G.LOOSE]:L[G.FULL];if(!A.test(i)){return null}try{return new SemVer(i,u)}catch(i){return null}}u.valid=valid;function valid(i,u){var A=parse(i,u);return A?A.version:null}u.clean=clean;function clean(i,u){var A=parse(i.trim().replace(/^[=v]+/,""),u);return A?A.version:null}u.SemVer=SemVer;function SemVer(i,u){if(!u||typeof u!=="object"){u={loose:!!u,includePrerelease:false}}if(i instanceof SemVer){if(i.loose===u.loose){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError("Invalid Version: "+i)}if(i.length>I){throw new TypeError("version is longer than "+I+" characters")}if(!(this instanceof SemVer)){return new SemVer(i,u)}A("SemVer",i,u);this.options=u;this.loose=!!u.loose;var Q=i.trim().match(u.loose?L[G.LOOSE]:L[G.FULL]);if(!Q){throw new TypeError("Invalid Version: "+i)}this.raw=i;this.major=+Q[1];this.minor=+Q[2];this.patch=+Q[3];if(this.major>B||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>B||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>B||this.patch<0){throw new TypeError("Invalid patch version")}if(!Q[4]){this.prerelease=[]}else{this.prerelease=Q[4].split(".").map((function(i){if(/^[0-9]+$/.test(i)){var u=+i;if(u>=0&&u=0){if(typeof this.prerelease[A]==="number"){this.prerelease[A]++;A=-2}}if(A===-1){this.prerelease.push(0)}}if(u){if(this.prerelease[0]===u){if(isNaN(this.prerelease[1])){this.prerelease=[u,0]}}else{this.prerelease=[u,0]}}break;default:throw new Error("invalid increment argument: "+i)}this.format();this.raw=this.version;return this};u.inc=inc;function inc(i,u,A,I){if(typeof A==="string"){I=A;A=undefined}try{return new SemVer(i,A).inc(u,I).version}catch(i){return null}}u.diff=diff;function diff(i,u){if(eq(i,u)){return null}else{var A=parse(i);var I=parse(u);var B="";if(A.prerelease.length||I.prerelease.length){B="pre";var Q="prerelease"}for(var P in A){if(P==="major"||P==="minor"||P==="patch"){if(A[P]!==I[P]){return B+P}}}return Q}}u.compareIdentifiers=compareIdentifiers;var he=/^[0-9]+$/;function compareIdentifiers(i,u){var A=he.test(i);var I=he.test(u);if(A&&I){i=+i;u=+u}return i===u?0:A&&!I?-1:I&&!A?1:i0}u.lt=lt;function lt(i,u,A){return compare(i,u,A)<0}u.eq=eq;function eq(i,u,A){return compare(i,u,A)===0}u.neq=neq;function neq(i,u,A){return compare(i,u,A)!==0}u.gte=gte;function gte(i,u,A){return compare(i,u,A)>=0}u.lte=lte;function lte(i,u,A){return compare(i,u,A)<=0}u.cmp=cmp;function cmp(i,u,A,I){switch(u){case"===":if(typeof i==="object")i=i.version;if(typeof A==="object")A=A.version;return i===A;case"!==":if(typeof i==="object")i=i.version;if(typeof A==="object")A=A.version;return i!==A;case"":case"=":case"==":return eq(i,A,I);case"!=":return neq(i,A,I);case">":return gt(i,A,I);case">=":return gte(i,A,I);case"<":return lt(i,A,I);case"<=":return lte(i,A,I);default:throw new TypeError("Invalid operator: "+u)}}u.Comparator=Comparator;function Comparator(i,u){if(!u||typeof u!=="object"){u={loose:!!u,includePrerelease:false}}if(i instanceof Comparator){if(i.loose===!!u.loose){return i}else{i=i.value}}if(!(this instanceof Comparator)){return new Comparator(i,u)}i=i.trim().split(/\s+/).join(" ");A("comparator",i,u);this.options=u;this.loose=!!u.loose;this.parse(i);if(this.semver===Ae){this.value=""}else{this.value=this.operator+this.semver.version}A("comp",this)}var Ae={};Comparator.prototype.parse=function(i){var u=this.options.loose?L[G.COMPARATORLOOSE]:L[G.COMPARATOR];var A=i.match(u);if(!A){throw new TypeError("Invalid comparator: "+i)}this.operator=A[1]!==undefined?A[1]:"";if(this.operator==="="){this.operator=""}if(!A[2]){this.semver=Ae}else{this.semver=new SemVer(A[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(i){A("Comparator.test",i,this.options.loose);if(this.semver===Ae||i===Ae){return true}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}return cmp(i,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(i,u){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!u||typeof u!=="object"){u={loose:!!u,includePrerelease:false}}var A;if(this.operator===""){if(this.value===""){return true}A=new Range(i.value,u);return satisfies(this.value,A,u)}else if(i.operator===""){if(i.value===""){return true}A=new Range(this.value,u);return satisfies(i.semver,A,u)}var I=(this.operator===">="||this.operator===">")&&(i.operator===">="||i.operator===">");var B=(this.operator==="<="||this.operator==="<")&&(i.operator==="<="||i.operator==="<");var Q=this.semver.version===i.semver.version;var P=(this.operator===">="||this.operator==="<=")&&(i.operator===">="||i.operator==="<=");var D=cmp(this.semver,"<",i.semver,u)&&((this.operator===">="||this.operator===">")&&(i.operator==="<="||i.operator==="<"));var L=cmp(this.semver,">",i.semver,u)&&((this.operator==="<="||this.operator==="<")&&(i.operator===">="||i.operator===">"));return I||B||Q&&P||D||L};u.Range=Range;function Range(i,u){if(!u||typeof u!=="object"){u={loose:!!u,includePrerelease:false}}if(i instanceof Range){if(i.loose===!!u.loose&&i.includePrerelease===!!u.includePrerelease){return i}else{return new Range(i.raw,u)}}if(i instanceof Comparator){return new Range(i.value,u)}if(!(this instanceof Range)){return new Range(i,u)}this.options=u;this.loose=!!u.loose;this.includePrerelease=!!u.includePrerelease;this.raw=i.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((function(i){return this.parseRange(i.trim())}),this).filter((function(i){return i.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(i){return i.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(i){var u=this.options.loose;var I=u?L[G.HYPHENRANGELOOSE]:L[G.HYPHENRANGE];i=i.replace(I,hyphenReplace);A("hyphen replace",i);i=i.replace(L[G.COMPARATORTRIM],K);A("comparator trim",i,L[G.COMPARATORTRIM]);i=i.replace(L[G.TILDETRIM],J);i=i.replace(L[G.CARETTRIM],$);i=i.split(/\s+/).join(" ");var B=u?L[G.COMPARATORLOOSE]:L[G.COMPARATOR];var Q=i.split(" ").map((function(i){return parseComparator(i,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){Q=Q.filter((function(i){return!!i.match(B)}))}Q=Q.map((function(i){return new Comparator(i,this.options)}),this);return Q};Range.prototype.intersects=function(i,u){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(A){return isSatisfiable(A,u)&&i.set.some((function(i){return isSatisfiable(i,u)&&A.every((function(A){return i.every((function(i){return A.intersects(i,u)}))}))}))}))};function isSatisfiable(i,u){var A=true;var I=i.slice();var B=I.pop();while(A&&I.length){A=I.every((function(i){return B.intersects(i,u)}));B=I.pop()}return A}u.toComparators=toComparators;function toComparators(i,u){return new Range(i,u).set.map((function(i){return i.map((function(i){return i.value})).join(" ").trim().split(" ")}))}function parseComparator(i,u){A("comp",i,u);i=replaceCarets(i,u);A("caret",i);i=replaceTildes(i,u);A("tildes",i);i=replaceXRanges(i,u);A("xrange",i);i=replaceStars(i,u);A("stars",i);return i}function isX(i){return!i||i.toLowerCase()==="x"||i==="*"}function replaceTildes(i,u){return i.trim().split(/\s+/).map((function(i){return replaceTilde(i,u)})).join(" ")}function replaceTilde(i,u){var I=u.loose?L[G.TILDELOOSE]:L[G.TILDE];return i.replace(I,(function(u,I,B,Q,P){A("tilde",i,u,I,B,Q,P);var D;if(isX(I)){D=""}else if(isX(B)){D=">="+I+".0.0 <"+(+I+1)+".0.0"}else if(isX(Q)){D=">="+I+"."+B+".0 <"+I+"."+(+B+1)+".0"}else if(P){A("replaceTilde pr",P);D=">="+I+"."+B+"."+Q+"-"+P+" <"+I+"."+(+B+1)+".0"}else{D=">="+I+"."+B+"."+Q+" <"+I+"."+(+B+1)+".0"}A("tilde return",D);return D}))}function replaceCarets(i,u){return i.trim().split(/\s+/).map((function(i){return replaceCaret(i,u)})).join(" ")}function replaceCaret(i,u){A("caret",i,u);var I=u.loose?L[G.CARETLOOSE]:L[G.CARET];return i.replace(I,(function(u,I,B,Q,P){A("caret",i,u,I,B,Q,P);var D;if(isX(I)){D=""}else if(isX(B)){D=">="+I+".0.0 <"+(+I+1)+".0.0"}else if(isX(Q)){if(I==="0"){D=">="+I+"."+B+".0 <"+I+"."+(+B+1)+".0"}else{D=">="+I+"."+B+".0 <"+(+I+1)+".0.0"}}else if(P){A("replaceCaret pr",P);if(I==="0"){if(B==="0"){D=">="+I+"."+B+"."+Q+"-"+P+" <"+I+"."+B+"."+(+Q+1)}else{D=">="+I+"."+B+"."+Q+"-"+P+" <"+I+"."+(+B+1)+".0"}}else{D=">="+I+"."+B+"."+Q+"-"+P+" <"+(+I+1)+".0.0"}}else{A("no pr");if(I==="0"){if(B==="0"){D=">="+I+"."+B+"."+Q+" <"+I+"."+B+"."+(+Q+1)}else{D=">="+I+"."+B+"."+Q+" <"+I+"."+(+B+1)+".0"}}else{D=">="+I+"."+B+"."+Q+" <"+(+I+1)+".0.0"}}A("caret return",D);return D}))}function replaceXRanges(i,u){A("replaceXRanges",i,u);return i.split(/\s+/).map((function(i){return replaceXRange(i,u)})).join(" ")}function replaceXRange(i,u){i=i.trim();var I=u.loose?L[G.XRANGELOOSE]:L[G.XRANGE];return i.replace(I,(function(I,B,Q,P,D,L){A("xRange",i,I,B,Q,P,D,L);var U=isX(Q);var G=U||isX(P);var z=G||isX(D);var W=z;if(B==="="&&W){B=""}L=u.includePrerelease?"-0":"";if(U){if(B===">"||B==="<"){I="<0.0.0-0"}else{I="*"}}else if(B&&W){if(G){P=0}D=0;if(B===">"){B=">=";if(G){Q=+Q+1;P=0;D=0}else{P=+P+1;D=0}}else if(B==="<="){B="<";if(G){Q=+Q+1}else{P=+P+1}}I=B+Q+"."+P+"."+D+L}else if(G){I=">="+Q+".0.0"+L+" <"+(+Q+1)+".0.0"+L}else if(z){I=">="+Q+"."+P+".0"+L+" <"+Q+"."+(+P+1)+".0"+L}A("xRange return",I);return I}))}function replaceStars(i,u){A("replaceStars",i,u);return i.trim().replace(L[G.STAR],"")}function hyphenReplace(i,u,A,I,B,Q,P,D,L,U,G,z,W){if(isX(A)){u=""}else if(isX(I)){u=">="+A+".0.0"}else if(isX(B)){u=">="+A+"."+I+".0"}else{u=">="+u}if(isX(L)){D=""}else if(isX(U)){D="<"+(+L+1)+".0.0"}else if(isX(G)){D="<"+L+"."+(+U+1)+".0"}else if(z){D="<="+L+"."+U+"."+G+"-"+z}else{D="<="+D}return(u+" "+D).trim()}Range.prototype.test=function(i){if(!i){return false}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}for(var u=0;u0){var Q=i[B].semver;if(Q.major===u.major&&Q.minor===u.minor&&Q.patch===u.patch){return true}}}return false}return true}u.satisfies=satisfies;function satisfies(i,u,A){try{u=new Range(u,A)}catch(i){return false}return u.test(i)}u.maxSatisfying=maxSatisfying;function maxSatisfying(i,u,A){var I=null;var B=null;try{var Q=new Range(u,A)}catch(i){return null}i.forEach((function(i){if(Q.test(i)){if(!I||B.compare(i)===-1){I=i;B=new SemVer(I,A)}}}));return I}u.minSatisfying=minSatisfying;function minSatisfying(i,u,A){var I=null;var B=null;try{var Q=new Range(u,A)}catch(i){return null}i.forEach((function(i){if(Q.test(i)){if(!I||B.compare(i)===1){I=i;B=new SemVer(I,A)}}}));return I}u.minVersion=minVersion;function minVersion(i,u){i=new Range(i,u);var A=new SemVer("0.0.0");if(i.test(A)){return A}A=new SemVer("0.0.0-0");if(i.test(A)){return A}A=null;for(var I=0;I":if(u.prerelease.length===0){u.patch++}else{u.prerelease.push(0)}u.raw=u.format();case"":case">=":if(!A||gt(A,u)){A=u}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}}))}if(A&&i.test(A)){return A}return null}u.validRange=validRange;function validRange(i,u){try{return new Range(i,u).range||"*"}catch(i){return null}}u.ltr=ltr;function ltr(i,u,A){return outside(i,u,"<",A)}u.gtr=gtr;function gtr(i,u,A){return outside(i,u,">",A)}u.outside=outside;function outside(i,u,A,I){i=new SemVer(i,I);u=new Range(u,I);var B,Q,P,D,L;switch(A){case">":B=gt;Q=lte;P=lt;D=">";L=">=";break;case"<":B=lt;Q=gte;P=gt;D="<";L="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(i,u,I)){return false}for(var U=0;U=0.0.0")}z=z||i;W=W||i;if(B(i.semver,z.semver,I)){z=i}else if(P(i.semver,W.semver,I)){W=i}}));if(z.operator===D||z.operator===L){return false}if((!W.operator||W.operator===D)&&Q(i,W.semver)){return false}else if(W.operator===L&&P(i,W.semver)){return false}}return true}u.prerelease=prerelease;function prerelease(i,u){var A=parse(i,u);return A&&A.prerelease.length?A.prerelease:null}u.intersects=intersects;function intersects(i,u,A){i=new Range(i,A);u=new Range(u,A);return i.intersects(u)}u.coerce=coerce;function coerce(i,u){if(i instanceof SemVer){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}u=u||{};var A=null;if(!u.rtl){A=i.match(L[G.COERCE])}else{var I;while((I=L[G.COERCERTL].exec(i))&&(!A||A.index+A[0].length!==i.length)){if(!A||I.index+I[0].length!==A.index+A[0].length){A=I}L[G.COERCERTL].lastIndex=I.index+I[1].length+I[2].length}L[G.COERCERTL].lastIndex=-1}if(A===null){return null}return parse(A[2]+"."+(A[3]||"0")+"."+(A[4]||"0"),u)}},55362:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{if(i.exitCode==0&&i.stdout.length>0){D.debug(`BuildKit.getVersionWithinImage image: ${i.stdout.trim()}`);return z.Docker.getExecOutput(["run","--rm",i.stdout.trim(),"--version"],{ignoreReturnCode:true,silent:true}).then((u=>{if(u.exitCode==0&&u.stdout.length>0){return`${i.stdout.trim()} => ${u.stdout.trim()}`}else if(u.stderr.length>0){throw new Error(i.stderr.trim())}return u.stdout.trim()}))}else if(i.stderr.length>0){throw new Error(i.stderr.trim())}return i.stdout.trim()}))}))}versionSatisfies(i,u,A){return P(this,void 0,void 0,(function*(){if(!A){A=yield new G.Builder({buildx:this.buildx}).inspect(i)}for(const i of A.nodes){let I=i.buildkit;D.debug(`BuildKit.versionSatisfies ${I}: ${u}`);if(!I){try{I=yield this.getVersionWithinImage(i.name||"")}catch(u){D.debug(`BuildKit.versionSatisfies ${i.name}: can't get version`);return false}}D.debug(`BuildKit.versionSatisfies ${i.name}: version ${I}`);if(A.driver=="docker"&&!I.endsWith("-moby")){return false}if(!L.satisfies(I.replace(/-moby$/,""),u)){return false}}return true}))}}u.BuildKit=BuildKit},17232:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.Config=void 0;const B=I(A(79896));const Q=A(32272);class Config{resolveFromString(i){return this.resolve(i,false)}resolveFromFile(i){return this.resolve(i,true)}resolve(i,u){if(u){if(!B.default.existsSync(i)){throw new Error(`config file ${i} not found`)}i=B.default.readFileSync(i,{encoding:"utf-8"})}const A=Q.Context.tmpName({tmpdir:Q.Context.tmpDir()});B.default.writeFileSync(A,i);return A}}u.Config=Config},35052:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Git=void 0;class Git{static parseURL(i){const u=i.match(Git.protoRegexp);if(u&&u.length>0){let A=u[0].toLowerCase();A=A.slice(0,A.lastIndexOf("://"));if(!(A in Git.supportedProtos)){throw new Error(`Invalid protocol: ${A}`)}return Git.fromURL(new URL(i))}throw new Error("Unknown protocol")}static fromURL(i){const u=new URL(i.toString());u.hash="";let A;if(i.username||i.password){A={username:i.username,password:i.password,passwordSet:i.password!==""}}return{scheme:i.protocol.slice(0,-1),user:A,host:`${i.hostname}${i.port?":"+i.port:""}`,path:i.pathname,fragment:Git.splitGitFragment(i.hash),remote:u.toString()}}static splitGitFragment(i){if(i===""){return undefined}const[u,A]=i.slice(1).split(":");return{ref:u,subdir:A}}static parseRef(i){const u={};let A;if(i.startsWith("./")||i.startsWith("../")){throw new Error("Invalid argument")}else if(i.startsWith("github.com/")){u.indistinguishableFromLocal=true;A=Git.fromURL(new URL("https://"+i))}else{A=Git.parseURL(i);if(["http","git"].includes(A.scheme)){u.unencryptedTCP=true}if(["http","https"].includes(A.scheme)&&!A.path.endsWith(".git")){throw new Error("Invalid argument")}}u.remote=A.remote;if(u.indistinguishableFromLocal){u.remote=u.remote.split("://")[1]}if(A.fragment){u.commit=A.fragment.ref;u.subDir=A.fragment.subdir}const I=u.remote.split("/");u.shortName=I[I.length-1].replace(".git","");return u}}u.Git=Git;Git.protoRegexp=new RegExp("^[a-zA-Z0-9]+://");Git.supportedProtos={http:{},https:{},ssh:{},git:{}}},98839:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};var B=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.Bake=void 0;const Q=B(A(79896));const P=B(A(16928));const D=A(61110);const L=A(53954);const U=A(32272);const G=A(55162);const z=A(23651);class Bake{constructor(i){this.buildx=(i===null||i===void 0?void 0:i.buildx)||new L.Buildx;this.metadataFilename=`bake-metadata-${z.Util.generateRandomString()}.json`}getMetadataFilePath(){return P.default.join(U.Context.tmpDir(),this.metadataFilename)}resolveMetadata(){const i=this.getMetadataFilePath();if(!Q.default.existsSync(i)){return undefined}const u=Q.default.readFileSync(i,{encoding:"utf-8"}).trim();if(u==="null"){return undefined}return JSON.parse(u)}resolveRefs(i){if(!i){i=this.resolveMetadata();if(!i){return undefined}}const u=new Array;for(const A in i){if("buildx.build.ref"in i[A]){u.push(i[A]["buildx.build.ref"])}}return u.length>0?u:undefined}resolveWarnings(i){if(!i){i=this.resolveMetadata();if(!i){return undefined}}if("buildx.build.warnings"in i){return i["buildx.build.warnings"]}return undefined}getDefinition(i,u){return I(this,void 0,void 0,(function*(){u=u||{ignoreReturnCode:true};u.ignoreReturnCode=true;if(i.githubToken){u.env=Object.assign({},process.env,{BUILDX_BAKE_GIT_AUTH_TOKEN:i.githubToken})}const A=["bake"];let I;const B=[];const Q=[...i.files||[],i.source];if(Q){for(const i of Q.map((i=>i?i.trim():""))){if(i.length==0){continue}if(!z.Util.isValidRef(i)){B.push(i);continue}if(I){throw new Error(`Only one remote bake definition can be defined`)}I=i}}if(I){A.push(I)}for(const i of B){A.push("--file",i)}if(i.overrides){for(const u of i.overrides){A.push("--set",u)}}if(i.allow){for(const u of i.allow){A.push("--allow",u)}}if(i.call){A.push("--call",i.call)}if(i.load){A.push("--load")}if(i.noCache){A.push("--no-cache")}if(i.provenance){A.push("--provenance",i.provenance)}if(i.push){A.push("--push")}if(i.sbom){A.push("--sbom",i.sbom)}const P=yield this.buildx.getCommand([...A,"--print",...i.targets||[]]);return yield G.Exec.getExecOutput(P.command,P.args,u).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){throw new Error(`cannot parse bake definitions: ${(I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error"}`)}return Bake.parseDefinition(i.stdout.trim())}))}))}static parseDefinition(i){const u=JSON.parse(i);for(const i in u.target){const A=u.target[i];if(A["attest"]&&Array.isArray(A["attest"])){A["attest"]=A["attest"].map((i=>Bake.parseAttestEntry(i)))}if(A["cache-from"]&&Array.isArray(A["cache-from"])){A["cache-from"]=A["cache-from"].map((i=>Bake.parseCacheEntry(i)))}if(A["cache-to"]&&Array.isArray(A["cache-to"])){A["cache-to"]=A["cache-to"].map((i=>Bake.parseCacheEntry(i)))}if(A["output"]&&Array.isArray(A["output"])){A["output"]=A["output"].map((i=>Bake.parseExportEntry(i)))}if(A["secret"]&&Array.isArray(A["secret"])){A["secret"]=A["secret"].map((i=>Bake.parseSecretEntry(i)))}if(A["ssh"]&&Array.isArray(A["ssh"])){A["ssh"]=A["ssh"].map((i=>Bake.parseSSHEntry(i)))}}return u}static parseAttestEntry(i){if(typeof i!=="string"){return i}const u={type:""};const A=(0,D.parse)(i,{relaxColumnCount:true,skipEmptyLines:true})[0];for(const i of A){const[A,I]=i.toString().split(/(?<=^[^=]+?)=/).map((i=>i.trim()));switch(A){case"type":u.type=I;break;case"disabled":u.disabled=z.Util.parseBool(I);break;default:u[A]=I}}return u}static parseCacheEntry(i){if(typeof i!=="string"){return i}const u={type:""};const A=(0,D.parse)(i,{relaxColumnCount:true,skipEmptyLines:true})[0];if(A.length===1&&!A[0].includes("=")){u.type="registry";u.ref=A[0];return u}for(const i of A){const[A,I]=i.toString().split(/(?<=^[^=]+?)=/).map((i=>i.trim()));switch(A){case"type":u.type=I;break;default:u[A]=I}}return u}static parseExportEntry(i){if(typeof i!=="string"){return i}const u={type:""};const A=(0,D.parse)(i,{relaxColumnCount:true,skipEmptyLines:true})[0];if(A.length===1&&A[0]===i&&!i.startsWith("type=")){if(i!=="-"){u.type="local";u.dest=i;return u}u.type="tar";u.dest=i;return u}for(const i of A){const[A,I]=i.toString().split(/(?<=^[^=]+?)=/).map((i=>i.trim()));switch(A){case"type":u.type=I;break;default:u[A]=I}}return u}static parseSecretEntry(i){if(typeof i!=="string"){return i}const u={};const A=(0,D.parse)(i,{relaxColumnCount:true,skipEmptyLines:true})[0];let I="";for(const i of A){const[A,B]=i.toString().split(/(?<=^[^=]+?)=/).map((i=>i.trim()));switch(A){case"type":I=B;break;case"id":u.id=B;break;case"source":case"src":u.src=B;break;case"env":u.env=B;break}}if(I==="env"&&!u.env){u.env=u.src;u.src=undefined}return u}static parseSSHEntry(i){if(typeof i!=="string"){return i}const u={};const[A,I]=i.split("=",2);u.id=A;if(I){u.paths=I.split(",")}return u}static hasLocalExporter(i){return Bake.hasExporterType("local",Bake.exporters(i))}static hasTarExporter(i){return Bake.hasExporterType("tar",Bake.exporters(i))}static hasDockerExporter(i,u){return u||Bake.hasExporterType("docker",Bake.exporters(i))}static hasExporterType(i,u){for(const A of u){if(A.type==i){return true}}return false}static exporters(i){const u=new Array;for(const A in i.target){const I=i.target[A];if(I.output){for(const i of I.output){u.push(Bake.parseExportEntry(i))}}}return u}static hasGitAuthTokenSecret(i){for(const u in i.target){const A=i.target[u];if(A.secret){for(const i of A.secret){if(Bake.parseSecretEntry(i).id==="GIT_AUTH_TOKEN"){return true}}}}return false}static hasProvenanceAttestation(i){return Bake.hasAttestationType("provenance",Bake.attestations(i))}static hasSBOMAttestation(i){return Bake.hasAttestationType("sbom",Bake.attestations(i))}static hasAttestationType(i,u){for(const A of u){if(A.type==i){return true}}return false}static attestations(i){const u=new Array;for(const A in i.target){const I=i.target[A];if(I.attest){for(const i of I.attest){u.push(Bake.parseAttestEntry(i))}}}return u}}u.Bake=Bake},84248:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qi.trim()));if(u[0]=="builder-id"){return i}}return`${i},builder-id=${Y.GitHub.workflowRunURL(true)}`}static resolveCacheToAttrs(i,u){if(!i){return i}let A="registry";let I="";let B="";const Q=(0,G.parse)(i,{relaxColumnCount:true,skipEmptyLines:true})[0];for(const i of Q){const u=i.toString().split(/(?<=^[^=]+?)=/).map((i=>i.trim()));if(u[0]==="type"){A=u[1]}else if(u[0]==="repository"){I=u[1]}else if(u[0]==="ghtoken"){B=u[1]}}if(A==="gha"){if(!I){i=`${i},repository=${Y.GitHub.repository}`}if(!B&&u){i=`${i},ghtoken=${u}`}}return i}static hasLocalExporter(i){return Build.hasExporterType("local",i)}static hasTarExporter(i){return Build.hasExporterType("tar",i)}static hasDockerExporter(i,u){return u||Build.hasExporterType("docker",i)}static hasExporterType(i,u){const A=(0,G.parse)(u.join(`\n`),{delimiter:",",trim:true,columns:false,relaxColumnCount:true});for(const u of A){if(u.length==1&&!u[0].startsWith("type=")){return i=="local"}for(const[A,I]of u.map((i=>i.split("=").map((i=>i.trim()))))){if(A=="type"&&I==i){return true}}}return false}static hasAttestationType(i,u){const A=(0,G.parse)(u,{delimiter:",",trim:true,columns:false,relaxColumnCount:true});for(const u of A){for(const[A,I]of u.map((i=>i.split("=").map((i=>i.trim()))))){if(A=="type"&&I==i){return true}}}return false}static resolveAttestationAttrs(i){const u=(0,G.parse)(i,{delimiter:",",trim:true,columns:false,relaxColumnCount:true});const A=[];for(const i of u){for(const u of i){try{const i=J.Util.parseBool(u);A.push(`disabled=${!i}`)}catch(i){A.push(u)}}}return A.join(",")}static hasGitAuthTokenSecret(i){for(const u of i){if(u.startsWith("GIT_AUTH_TOKEN=")){return true}}return false}static parseSecretKvp(i,u){const A=i.indexOf("=");const I=i.substring(0,A);const B=i.substring(A+1);if(I.length==0||B.length==0){throw new Error(`${i} is not a valid secret`)}if(u){U.setSecret(B)}return[I,B]}}u.Build=Build},12695:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{if(i.stderr.length>0&&i.exitCode!=0){D.debug(`Builder.exists cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{D.debug(`Builder.exists error: ${i}`);return false}));D.debug(`Builder.exists: ${A}`);return A}))}inspect(i){return P(this,void 0,void 0,(function*(){const u=Object.assign({},process.env,{DEBUG:"1"});const A=["inspect"];if(i){A.push(i)}const I=yield this.buildx.getCommand(A);return yield U.Exec.getExecOutput(I.command,I.args,{ignoreReturnCode:true,silent:true,env:u}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return Builder.parseInspect(i.stdout)}))}))}static parseInspect(i){const u={nodes:[]};let A;let I={};let B;let Q;let P;for(const D of i.trim().split(`\n`)){const[i,...L]=D.split(":");const U=i.toLowerCase();const G=L.map((i=>i.trim())).join(":");if(i.length==0){continue}switch(true){case U=="name":A=undefined;if(u.name==undefined){u.name=G}else{if(B&&I.gcPolicy){I.gcPolicy.push(B);B=undefined}if(I.name){u.nodes.push(I)}I={name:G}}break;case U=="driver":A=undefined;u.driver=G;break;case U=="last activity":A=undefined;u.lastActivity=new Date(G);break;case U=="endpoint":A=undefined;I.endpoint=G;break;case U=="driver options":A=undefined;I["driver-opts"]=(G.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map((i=>i.replace(/^(.*)="(.*)"$/g,"$1=$2")));break;case U=="status":A=undefined;I.status=G;break;case U=="buildkit daemon flags":case U=="flags":A=undefined;I["buildkitd-flags"]=G;break;case U=="buildkit version":case U=="buildkit":A=undefined;I.buildkit=G;break;case U=="platforms":{A=undefined;if(!G){break}let i=[];if(G.includes("*")){for(const u of G.split(", ")){if(u.includes("*")){i.push(u.replace(/\*/g,""))}}}else{i=G.split(", ")}I.platforms=i.join(",");break}case U=="features":A="features";I.features={};break;case U=="labels":A="label";I.labels={};break;case U=="devices":A="devices";I.devices=I.devices||[];break;case U.startsWith("gc policy rule#"):A="gcpolicy";if(I.gcPolicy&&B){I.gcPolicy.push(B);B=undefined}break;case U.startsWith("file#"):A="file";P=i.split("#")[1];I.files=I.files||{};I.files[P]="";break;default:{if(A&&A!=="devices"&&I.devices&&Q){I.devices.push(Q);Q=undefined}switch(A||""){case"features":{I.features=I.features||{};I.features[i.trim()]=Boolean(G);break}case"label":{I.labels=I.labels||{};I.labels[i.trim()]=G;break}case"devices":{switch(U.trim()){case"name":{if(I.devices&&Q){I.devices.push(Q)}Q={};Q.name=G;break}case"on-demand":{if(Q&&G){Q.onDemand=G=="true"}break}case"automatically allowed":{if(Q&&G){Q.autoAllow=G=="true"}break}case"annotations":{if(Q){Q.annotations=Q.annotations||{}}break}default:{if(Q&&Q.annotations){Q.annotations[i.trim()]=G}}}break}case"gcpolicy":{I.gcPolicy=I.gcPolicy||[];B=B||{};switch(U.trim()){case"all":{B.all=G=="true";break}case"filters":{if(G){B.filter=G.split(",")}break}case"keep duration":{B.keepDuration=G;break}case"keep bytes":{B.keepBytes=G;break}case"reserved space":{B.reservedSpace=G;break}case"max used space":{B.maxUsedSpace=G;break}case"min free space":{B.minFreeSpace=G;break}}break}case"file":{if(P&&I.files){if(I.files[P].length>0){I.files[P]+="\n"}I.files[P]+=D.replace(/^\s>\s?/,"")}break}}}}}if(Q&&I.devices){I.devices.push(Q)}if(B&&I.gcPolicy){I.gcPolicy.push(B)}if(I.name){u.nodes.push(I)}return u}}u.Builder=Builder},53954:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{if(i.stderr.length>0&&i.exitCode!=0){G.debug(`Buildx.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{G.debug(`Buildx.isAvailable error: ${i}`);return false}));G.debug(`Buildx.isAvailable: ${u}`);return u}))}version(){return P(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;const i=yield this.getCommand(["version"]);this._version=yield $.Exec.getExecOutput(i.command,i.args,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return Buildx.parseVersion(i.stdout.trim())}));return this._version}))}printVersion(){return P(this,void 0,void 0,(function*(){const i=yield this.getCommand(["version"]);yield $.Exec.exec(i.command,i.args,{failOnStdErr:false})}))}static parseVersion(i){const u=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(i);if(!u){throw new Error(`Cannot parse buildx version`)}return u[1]}versionSatisfies(i,u){return P(this,void 0,void 0,(function*(){const A=u!==null&&u!==void 0?u:yield this.version();if(!A){G.debug(`Buildx.versionSatisfies false: undefined version`);return false}const I=z.satisfies(A,i)||/^[0-9a-f]{7}$/.exec(A)!==null;G.debug(`Buildx.versionSatisfies ${A} statisfies ${i}: ${I}`);return I}))}static resolveCertsDriverOpts(i,u,A){let I;try{I=new URL(u)}catch(i){return[]}if(I.protocol!="tcp:"){return[]}const B=[];if(Object.keys(A).length==0){return B}let Q=I.hostname;if(I.port.length>0){Q+=`-${I.port}`}if(A.cacert!==undefined){const i=U.default.join(Buildx.certsDir,`cacert_${Q}.pem`);L.default.writeFileSync(i,A.cacert);B.push(`cacert=${i}`)}if(A.cert!==undefined){const i=U.default.join(Buildx.certsDir,`cert_${Q}.pem`);L.default.writeFileSync(i,A.cert);B.push(`cert=${i}`)}if(A.key!==undefined){const i=U.default.join(Buildx.certsDir,`key_${Q}.pem`);L.default.writeFileSync(i,A.key);B.push(`key=${i}`)}if(i!="remote"){return[]}return B}static localState(i,u){const[A,I,B]=i.split("/");if(!A||!I||!B){throw new Error(`Invalid build reference: ${i}`)}const Q=U.default.join(u||Buildx.refsDir,A,I,B);if(!L.default.existsSync(Q)){throw new Error(`Local state not found in ${Q}`)}return Buildx.fixLocalState(JSON.parse(L.default.readFileSync(Q,"utf8")))}static fixLocalState(i){const fnTrimToValidContext=function(i){const u=i.match(/(.*)(https?:\/{1,2}\S+|ssh:\/{1,2}\S+|git:\/{1,2}\S+)/i);if(u&&u.length==3){const i=u[1];let A=u[2];if(A.startsWith("https:/")&&!A.startsWith("https://")){A=A.replace("https:/","https://")}if(A.startsWith("http:/")&&!A.startsWith("http://")){A=A.replace("http:/","http://")}if(A.startsWith("ssh:/")&&!A.startsWith("ssh://")){A=A.replace("ssh:/","ssh://")}if(A.startsWith("git:/")&&!A.startsWith("git://")){A=A.replace("git:/","git://")}return[A,i,true]}return[i,"",false]};const[u,A,I]=fnTrimToValidContext(i.LocalPath);if(I){i.LocalPath=u;if(i.DockerfilePath.indexOf(A)===0){i.DockerfilePath=i.DockerfilePath.substring(A.length)}}i.LocalPath=i.LocalPath.endsWith("/-")?"-":i.LocalPath;i.DockerfilePath=i.DockerfilePath.endsWith("/-")?"-":i.DockerfilePath;return i}static refs(i,u={}){const{dir:A,builderName:I,nodeName:B,since:Q}=i;let P=U.default.resolve(A);if(i.builderName){P=U.default.join(P,i.builderName)}if(i.nodeName){P=U.default.join(P,i.nodeName)}if(!L.default.existsSync(P)){return u}const D=L.default.readdirSync(P);for(const A of D){const D=U.default.join(P,A);const G=L.default.statSync(D);if(G.isDirectory()){const Q=Object.assign({},i);if(!I){if(A==="__group__"){continue}Q.builderName=A}else if(!B){Q.nodeName=A}Buildx.refs(Q,u)}else{if(Q&&G.mtimeatob(i))).join(" ");let U=atob(u.short).replace(/\s\(line \d+\)$/,"");if(u.url){U+=`\nMore info: ${u.url}`}const z=u.range&&u.range.length>0?(Q=u.range[0])===null||Q===void 0?void 0:Q.start.line:undefined;let W=false;for(const u of P){if(u.remote||u.path.endsWith(i)&&u.content===A){D.push({title:L,message:U,file:u.path,startLine:z});W=true;break}}if(!W){G.debug(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${i}: ${L}`)}}return D}))}}u.Buildx=Buildx;Buildx.containerNamePrefix="buildx_buildkit_"},49342:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.ImageTools=void 0;const B=A(53954);const Q=A(55162);class ImageTools{constructor(i){this.buildx=(i===null||i===void 0?void 0:i.buildx)||new B.Buildx}getCommand(i){return I(this,void 0,void 0,(function*(){return yield this.buildx.getCommand(["imagetools",...i])}))}getInspectCommand(i){return I(this,void 0,void 0,(function*(){return yield this.getCommand(["inspect",...i])}))}inspectImage(i){return I(this,void 0,void 0,(function*(){const u=yield this.getInspectCommand([i,"--format","{{json .Image}}"]);return yield Q.Exec.getExecOutput(u.command,u.args,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}const u=JSON.parse(i.stdout);if(typeof u==="object"&&!Array.isArray(u)&&u!==null){if(Object.prototype.hasOwnProperty.call(u,"config")){return u}else{return u}}throw new Error("Unexpected output format")}))}))}inspectManifest(i){return I(this,void 0,void 0,(function*(){const u=yield this.getInspectCommand([i,"--format","{{json .Manifest}}"]);return yield Q.Exec.getExecOutput(u.command,u.args,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}const u=JSON.parse(i.stdout);if(typeof u==="object"&&!Array.isArray(u)&&u!==null){if(Object.prototype.hasOwnProperty.call(u,"manifests")){return u}else{return u}}throw new Error("Unexpected output format")}))}))}attestationDescriptors(i){return I(this,void 0,void 0,(function*(){const u=yield this.inspectManifest(i);if(typeof u==="object"&&u!==null&&"manifests"in u&&Array.isArray(u.manifests)){return u.manifests.filter((i=>i.annotations&&i.annotations["vnd.docker.reference.type"]==="attestation-manifest"))}throw new Error(`No attestation descriptors found for ${i}`)}))}attestationDigests(i){return I(this,void 0,void 0,(function*(){return(yield this.attestationDescriptors(i)).map((i=>i.digest))}))}}u.ImageTools=ImageTools},19735:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){throw new Error(`build failed with: ${(I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error"}`)}return`${Q}/buildx`}));const L=yield I.save(D);z.info(`Cached to ${L}`);return L}))}installStandalone(i,u){return P(this,void 0,void 0,(function*(){z.info("Standalone mode");u=u||X.Context.tmpDir();const A=G.default.join(u,"buildx-bin-standalone");if(!L.default.existsSync(A)){L.default.mkdirSync(A,{recursive:true})}const I=U.default.platform()=="win32"?"buildx.exe":"buildx";const B=G.default.join(A,I);L.default.copyFileSync(i,B);z.info("Fixing perms");L.default.chmodSync(B,"0755");z.addPath(A);z.info("Added Buildx to PATH");z.info(`Binary path: ${B}`);return B}))}installPlugin(i,u){return P(this,void 0,void 0,(function*(){z.info("Docker plugin mode");u=u||Ae.Docker.configDir;const A=G.default.join(u,"cli-plugins");if(!L.default.existsSync(A)){L.default.mkdirSync(A,{recursive:true})}const I=U.default.platform()=="win32"?"docker-buildx.exe":"docker-buildx";const B=G.default.join(A,I);L.default.copyFileSync(i,B);z.info("Fixing perms");L.default.chmodSync(B,"0755");z.info(`Plugin path: ${B}`);return B}))}buildCommand(i,u){return P(this,void 0,void 0,(function*(){const A=yield new $.Buildx({standalone:true}).isAvailable();const I=yield new $.Buildx({standalone:false}).isAvailable();let B=false;if((yield this.isStandalone())&&A){z.debug(`Install.buildCommand: Buildx standalone found, build with it`);B=true}else if(!(yield this.isStandalone())&&I){z.debug(`Install.buildCommand: Buildx plugin found, build with it`);B=false}else if(A){z.debug(`Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it`);B=true}else if(I){z.debug(`Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it`);B=false}else{throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${i}`)}const Q=["build","--target","binaries","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${u}`];if(process.env.GIT_AUTH_TOKEN){Q.push("--secret","id=GIT_AUTH_TOKEN")}Q.push(i);return yield new $.Buildx({standalone:B}).getCommand(Q)}))}isStandalone(){return P(this,void 0,void 0,(function*(){var i;const u=(i=this.standalone)!==null&&i!==void 0?i:!(yield Ae.Docker.isAvailable());z.debug(`Install.isStandalone: ${u}`);return u}))}filename(i){let u;switch(U.default.arch()){case"x64":{u="amd64";break}case"ppc64":{u="ppc64le";break}case"arm":{const i=process.config.variables.arm_version;u=i?"arm-v"+i:"arm";break}default:{u=U.default.arch();break}}const A=U.default.platform()=="win32"?"windows":U.default.platform();const I=U.default.platform()=="win32"?".exe":"";return J.format("buildx-v%s.%s-%s%s",i,A,u,I)}vspec(i){return P(this,void 0,void 0,(function*(){if(!Ee.Util.isValidRef(i)){const u=i.replace(/^v+|v+$/g,"");z.info(`Use ${u} version spec cache key for ${i}`);return u}let[u,A]=i.split("#");if(A.length==0){A="master"}let I;if(A.match(/^[0-9a-fA-F]{40}$/)){I=A}else{I=yield ye.Git.remoteSha(u,A,process.env.GIT_AUTH_TOKEN)}const[B,Q]=u.substring("https://github.com/".length).split("/");const P=`${B}/${Ee.Util.trimSuffix(Q,".git")}/${I}`;const D=Ee.Util.hash(P);z.info(`Use ${D} version spec cache key for ${P}`);return D}))}static getDownloadVersion(i){return P(this,void 0,void 0,(function*(){let[u,A]=i.split(":");if(!A){A=u;u="official"}if(u==="lab"){u="cloud"}switch(u){case"official":{return{key:u,version:A,downloadURL:"https://github.com/docker/buildx/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/buildx-releases.json"}}}case"cloud":{return{key:u,version:A,downloadURL:"https://github.com/docker/buildx-desktop/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/buildx-lab-releases.json"}}}default:{throw new Error(`Cannot find buildx version for ${i}`)}}}))}static getRelease(i,u){return P(this,void 0,void 0,(function*(){const A=new be.GitHub({token:u});const I=yield A.releases("Buildx",i.contentOpts);if(!I[i.version]){throw new Error(`Cannot find Buildx release ${i.version} in releases JSON`)}return I[i.version]}))}}u.Install=Install},70581:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{if(i.stderr.length>0&&i.exitCode!=0){D.debug(`Compose.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{D.debug(`Compose.isAvailable error: ${i}`);return false}));D.debug(`Compose.isAvailable: ${u}`);return u}))}version(){return P(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;const i=yield this.getCommand(["version"]);this._version=yield U.Exec.getExecOutput(i.command,i.args,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return Compose.parseVersion(i.stdout.trim())}));return this._version}))}printVersion(){return P(this,void 0,void 0,(function*(){const i=yield this.getCommand(["version"]);yield U.Exec.exec(i.command,i.args,{failOnStdErr:false})}))}static parseVersion(i){const u=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(i);if(!u){throw new Error(`Cannot parse compose version`)}return u[1]}}u.Compose=Compose},70587:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{if(i.stderr.length>0&&i.exitCode!=0){D.debug(`Cosign.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{D.debug(`Cosign.isAvailable error: ${i}`);return false}));D.debug(`Cosign.isAvailable: ${i}`);return i}))}version(){return P(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;this._version=yield U.Exec.getExecOutput(this.binPath,["version","--json"],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return JSON.parse(i.stdout.trim()).gitVersion}));return this._version}))}printVersion(){return P(this,void 0,void 0,(function*(){yield U.Exec.exec(this.binPath,["version","--json"],{failOnStdErr:false})}))}versionSatisfies(i,u){return P(this,void 0,void 0,(function*(){const A=u!==null&&u!==void 0?u:yield this.version();if(!A){D.debug(`Cosign.versionSatisfies false: undefined version`);return false}const I=G.satisfies(A,i)||/^[0-9a-f]{7}$/.exec(A)!==null;D.debug(`Cosign.versionSatisfies ${A} statisfies ${i}: ${I}`);return I}))}static parseCommandOutput(i){let u;let A;let I;let B;for(const Q of i.split(/\r?\n/)){const i=Q.trim();if(!i.startsWith("{")||!i.endsWith("}")){continue}let P;try{P=JSON.parse(i)}catch(i){continue}if(P&&Array.isArray(P.errors)&&P.errors.length>0){B=P.errors}if(!u&&P&&Array.isArray(P.manifests)&&P.manifests.length>0){const i=P.manifests[0];if((i===null||i===void 0?void 0:i.artifactType)===L.BUNDLE_V03_MEDIA_TYPE&&typeof i.digest==="string"){u=i.digest}else if((i===null||i===void 0?void 0:i.artifactType)===z.MEDIATYPE_EMPTY_JSON_V1&&typeof i.digest==="string"){A=i.digest}}if(!I&&P&&P.mediaType===L.BUNDLE_V03_MEDIA_TYPE){I=P}if(I&&u){break}}if(!B&&!I){throw new Error(`Cannot find signature bundle from cosign command output: ${i}`)}return{bundle:I,signatureManifestDigest:u||A,errors:B}}}u.Cosign=Cosign},13333:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.dockerfileContent=void 0;u.dockerfileContent=`\n# syntax=docker/dockerfile:1\n\nARG GO_VERSION="1.24"\nARG ALPINE_VERSION="3.22"\n\nFROM --platform=$BUILDPLATFORM tonistiigi/xx:1.7.0 AS xx\n\nFROM --platform=$BUILDPLATFORM golang:\${GO_VERSION}-alpine\${ALPINE_VERSION} AS builder-base\nCOPY --from=xx / /\nRUN apk add --no-cache git\nENV GOTOOLCHAIN=auto\nENV CGO_ENABLED=0\nWORKDIR /src\nRUN --mount=type=cache,target=/go/pkg/mod \\\n --mount=type=bind,source=go.mod,target=go.mod \\\n --mount=type=bind,source=go.sum,target=go.sum \\\n go mod download\n\nFROM builder-base AS version\nRUN --mount=type=bind,target=. <<'EOT'\n git rev-parse HEAD 2>/dev/null || {\n echo >&2 "Failed to get git revision, make sure --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 is set when building from Git directly"\n exit 1\n }\n set -ex\n export PKG=sigs.k8s.io BUILDDATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") TREESTATE=$(if ! git diff --no-ext-diff --quiet --exit-code; then echo dirty; else echo clean; fi) VERSION=$(git describe --match 'v[0-9]*' --dirty='.m' --always --tags) COMMIT=$(git rev-parse HEAD)$(if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi);\n echo "-X \${PKG}/release-utils/version.gitVersion=\${VERSION} -X \${PKG}/release-utils/version.gitCommit=\${COMMIT} -X \${PKG}/release-utils/version.gitTreeState=\${TREESTATE} -X \${PKG}/release-utils/version.buildDate=\${BUILDDATE}" > /tmp/.ldflags;\n echo -n "\${VERSION}" > /tmp/.version;\nEOT\n\nFROM builder-base AS builder\nARG TARGETPLATFORM\nRUN --mount=type=bind,target=. \\\n --mount=type=cache,target=/root/.cache,id=cosign-$TARGETPLATFORM \\\n --mount=source=/tmp/.ldflags,target=/tmp/.ldflags,from=version \\\n --mount=type=cache,target=/go/pkg/mod <{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){throw new Error(`build failed with: ${(I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error"}`)}return`${P}/cosign`}));const W=yield B.save(L,A);z.info(`Cached to ${W}`);return W}))}install(i,u){return P(this,void 0,void 0,(function*(){u=u||X.Context.tmpDir();const A=G.default.join(u,"cosign-bin");if(!L.default.existsSync(A)){L.default.mkdirSync(A,{recursive:true})}const I=U.default.platform()=="win32"?"cosign.exe":"cosign";const B=G.default.join(A,I);L.default.copyFileSync(i,B);z.info("Fixing perms");L.default.chmodSync(B,"0755");z.addPath(A);z.info("Added Cosign to PATH");z.info(`Binary path: ${B}`);return B}))}buildCommand(i,u){return P(this,void 0,void 0,(function*(){const A=yield new $.Buildx({standalone:true}).isAvailable();const I=yield new $.Buildx({standalone:false}).isAvailable();let B=false;if((yield this.buildx.isStandalone())&&A){z.debug(`Install.buildCommand: Buildx standalone found, build with it`);B=true}else if(!(yield this.buildx.isStandalone())&&I){z.debug(`Install.buildCommand: Buildx plugin found, build with it`);B=false}else if(A){z.debug(`Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it`);B=true}else if(I){z.debug(`Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it`);B=false}else{throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${i}`)}const Q=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${u}`];if(process.env.GIT_AUTH_TOKEN){Q.push("--secret","id=GIT_AUTH_TOKEN")}Q.push("-f-",i);return yield new $.Buildx({standalone:B}).getCommand(Q)}))}filename(){let i;switch(U.default.arch()){case"x64":{i="amd64";break}case"ppc64":{i="ppc64le";break}default:{i=U.default.arch();break}}const u=U.default.platform()=="win32"?"windows":U.default.platform();const A=U.default.platform()=="win32"?".exe":"";return J.format("cosign-%s-%s%s",u,i,A)}vspec(i){return P(this,void 0,void 0,(function*(){if(!be.Util.isValidRef(i)){const u=i.replace(/^v+|v+$/g,"");z.info(`Use ${u} version spec cache key for ${i}`);return u}let[u,A]=i.split("#");if(A.length==0){A="master"}let I;if(A.match(/^[0-9a-fA-F]{40}$/)){I=A}else{I=yield Ae.Git.remoteSha(u,A,process.env.GIT_AUTH_TOKEN)}const[B,Q]=u.substring("https://github.com/".length).split("/");const P=`${B}/${be.Util.trimSuffix(Q,".git")}/${I}`;const D=be.Util.hash(P);z.info(`Use ${D} version spec cache key for ${P}`);return D}))}static getDownloadVersion(i){return P(this,void 0,void 0,(function*(){return{version:i,downloadURL:"https://github.com/sigstore/cosign/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/cosign-releases.json"}}}))}static getRelease(i,u){return P(this,void 0,void 0,(function*(){const A=new ye.GitHub({token:u});const I=yield A.releases("Cosign",i.contentOpts);if(!I[i.version]){throw new Error(`Cannot find Cosign release ${i.version} in releases JSON`)}return I[i.version]}))}}u.Install=Install},73490:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{z.debug(`Docker.isAvailable ok: ${i}`);return true})).catch((i=>{z.debug(`Docker.isAvailable error: ${i}`);return false}))}))}static isDaemonRunning(){return P(this,void 0,void 0,(function*(){try{yield Docker.getExecOutput([`version`],{silent:true});return true}catch(i){return false}}))}static exec(i,u){return P(this,void 0,void 0,(function*(){return $.Exec.exec("docker",i,Docker.execOptions(u))}))}static getExecOutput(i,u){return P(this,void 0,void 0,(function*(){return $.Exec.getExecOutput("docker",i,Docker.execOptions(u))}))}static execOptions(i){if(!i){i={}}if(!i.env){i.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"})}else{i.env.DOCKER_CONTENT_TRUST="false"}return i}static context(i){return P(this,void 0,void 0,(function*(){const u=["context","inspect","--format","{{.Name}}"];if(i){u.push(i)}return yield Docker.getExecOutput(u,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr)}return i.stdout.trim()}))}))}static contextInspect(i){return P(this,void 0,void 0,(function*(){const u=["context","inspect","--format=json"];if(i){u.push(i)}return yield Docker.getExecOutput(u,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return JSON.parse(i.stdout.trim())[0]}))}))}static printVersion(){return P(this,void 0,void 0,(function*(){yield Docker.exec(["version"])}))}static printInfo(){return P(this,void 0,void 0,(function*(){yield Docker.exec(["info"])}))}static parseRepoTag(i){let u;const A=i.indexOf("@");const I=i.lastIndexOf(":");if(A>=0){u=A}else if(I>=0){u=I}else{return{repository:i,tag:"latest"}}const B=i.slice(u+1);if(B.indexOf("/")===-1){return{repository:i.slice(0,u),tag:B}}return{repository:i,tag:"latest"}}static pull(i,u){return P(this,void 0,void 0,(function*(){const A=Docker.parseRepoTag(i);const I=A.repository.replace(/[^a-zA-Z0-9.]+/g,"--");const B=A.tag.replace(/[^a-zA-Z0-9.]+/g,"--");const Q=new J.Cache({htcName:I,htcVersion:B,baseCacheDir:G.default.join(Docker.configDir,".cache","images",I),cacheFile:"image.tar"});let D;if(u){D=yield Q.find();if(D){z.info(`Image found from cache in ${D}`);yield Docker.getExecOutput(["load","-i",D],{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){z.warning(`Failed to load image from cache: ${(I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error"}`)}}))}}let L=true;yield Docker.getExecOutput(["pull",i],{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){L=false;const B=(I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error";if(D){z.warning(`Failed to pull image, using one from cache: ${B}`)}else{throw new Error(B)}}}));if(u&&L){const u=G.default.join(Y.Context.tmpDir(),`${K.Util.hash(i)}.tar`);yield Docker.getExecOutput(["save","-o",u,i],{ignoreReturnCode:true}).then((i=>P(this,void 0,void 0,(function*(){var A,I,B;if(i.stderr.length>0&&i.exitCode!=0){z.warning(`Failed to save image: ${(B=(I=(A=i.stderr.match(/(.*)\s*$/))===null||A===void 0?void 0:A[0])===null||I===void 0?void 0:I.trim())!==null&&B!==void 0?B:"unknown error"}`)}else{const i=yield Q.save(u);z.info(`Image cached to ${i}`)}}))))}}))}}u.Docker=Docker},55162:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qi==="true")).catch((()=>false))}))}static remoteSha(i,u,A){return P(this,void 0,void 0,(function*(){const I=i.match(/github.com\/([^/]+)\/([^/]+?)(?:\.git)?(\/|$)/);if(A&&I){D.setSecret(A);const B=new(L.Octokit.plugin(U.restEndpointMethods).defaults({baseUrl:z.GitHub.apiURL}))({auth:A});const[Q,P]=I.slice(1,3);try{return(yield B.rest.repos.listCommits({owner:Q,repo:P,sha:u,per_page:1})).data[0].sha}catch(A){throw new Error(`Cannot find remote ref for ${i}#${u}: ${A.message}`)}}return yield Git.exec(["ls-remote",i,u]).then((A=>{const[I]=A.split(/[\s\t]/);if(I.length==0){throw new Error(`Cannot find remote ref for ${i}#${u}`)}return I}))}))}static remoteURL(){return P(this,void 0,void 0,(function*(){return yield Git.exec(["remote","get-url","origin"]).then((i=>{if(i.length==0){return Git.exec(["remote","get-url","upstream"]).then((i=>{if(i.length==0){throw new Error(`Cannot find remote URL for origin or upstream`)}return i}))}return i}))}))}static ref(){return P(this,void 0,void 0,(function*(){const i=yield Git.isHeadDetached();if(i){return yield Git.getDetachedRef()}return yield Git.exec(["symbolic-ref","HEAD"])}))}static fullCommit(){return P(this,void 0,void 0,(function*(){return yield Git.exec(["show","--format=%H","HEAD","--quiet","--"])}))}static shortCommit(){return P(this,void 0,void 0,(function*(){return yield Git.exec(["show","--format=%h","HEAD","--quiet","--"])}))}static tag(){return P(this,void 0,void 0,(function*(){return yield Git.exec(["tag","--points-at","HEAD","--sort","-version:creatordate"]).then((i=>{if(i.length==0){return Git.exec(["describe","--tags","--abbrev=0"])}return i.split("\n")[0]}))}))}static isHeadDetached(){return P(this,void 0,void 0,(function*(){return yield Git.exec(["branch","--show-current"]).then((i=>i.length==0))}))}static getDetachedRef(){return P(this,void 0,void 0,(function*(){const i=yield Git.exec(["show","-s","--pretty=%D"]);D.debug(`detached HEAD ref: ${i}`);if(i==="HEAD"){return yield Git.inferRefFromHead()}const u=i.match(/^(grafted, )?HEAD, (.*)$/);if(!u||!u[2]){throw new Error(`Cannot find detached HEAD ref in "${i}"`)}const A=u[2].trim();if(A.startsWith("tag: ")){return`refs/tags/${A.split(":")[1].trim()}`}const I=A.match(/^pull\/\d+\/(head|merge)$/);if(I){return`refs/${A}`}const B=A.match(/^[^/]+\/[^/]+, (.+)$/);if(B){return`refs/heads/${B[1].trim()}`}const Q=A.match(/^[^/]+\/(.+)$/);if(Q){return`refs/heads/${Q[1].trim()}`}throw new Error(`Unsupported detached HEAD ref in "${i}"`)}))}static exec(){return P(this,arguments,void 0,(function*(i=[]){return yield G.Exec.getExecOutput(`git`,i,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr)}return i.stdout.trim()}))}))}static inferRefFromHead(){return P(this,void 0,void 0,(function*(){const i=yield Git.findContainingRef("refs/heads/");if(i){return i}const u=yield Git.findContainingRef("refs/remotes/");if(u){const i=u.match(/^refs\/remotes\/[^/]+\/(.+)$/);if(i){return`refs/heads/${i[1]}`}return u}const A=yield Git.exec(["tag","--contains","HEAD"]);const[I]=A.split("\n").map((i=>i.trim())).filter((i=>i.length>0));if(I){return`refs/tags/${I}`}throw new Error(`Cannot infer ref from detached HEAD`)}))}static findContainingRef(i){return P(this,void 0,void 0,(function*(){const u=yield Git.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",i]);const[A]=u.split("\n").map((i=>i.trim())).filter((i=>i.length>0));return A}))}static commitDate(i){return P(this,void 0,void 0,(function*(){return new Date(yield Git.exec(["show","-s",'--format="%ci"',i]))}))}}u.Git=Git},36060:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qi.data))}releases(i,u){return P(this,void 0,void 0,(function*(){let A;try{A=yield this.releasesRaw(i,u)}catch(I){if(!this.githubToken){throw I}A=yield this.releasesRaw(i,u,this.githubToken)}return A}))}releasesRaw(i,u,A){return P(this,void 0,void 0,(function*(){const I=`https://raw.githubusercontent.com/${u.owner}/${u.repo}/${u.ref}/${u.path}`;const B=new Ee.HttpClient("docker-actions-toolkit");const Q=yield B.get(I,A?{Authorization:`token ${A}`}:undefined);const P=yield Q.readBody();const D=Q.message.statusCode||500;if(D>=400){throw new Error(`Failed to get ${i} releases from ${I} with status code ${D}: ${P}`)}return JSON.parse(P)}))}static get context(){return be.context}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){return(0,K.isGhes)()}static get repository(){return`${be.context.repo.owner}/${be.context.repo.repo}`}static get workspace(){return process.env.GITHUB_WORKSPACE||process.cwd()}static get runId(){return process.env.GITHUB_RUN_ID?+process.env.GITHUB_RUN_ID:be.context.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(i){return`${GitHub.serverURL}/${GitHub.repository}/actions/runs/${GitHub.runId}${i?`/attempts/${GitHub.runAttempt}`:""}`}static get actionsRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"]||"";return i?(0,we.jwtDecode)(i):undefined}static printActionsRuntimeTokenACs(){return P(this,void 0,void 0,(function*(){let i;try{i=GitHub.actionsRuntimeToken}catch(i){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${i.message}`)}if(!i){throw new Error(`ACTIONS_RUNTIME_TOKEN not set`)}try{JSON.parse(`${i.ac}`).forEach((i=>{let u;switch(i.Permission){case 1:u="read";break;case 2:u="write";break;case 3:u="read/write";break;default:u=`unimplemented (${i.Permission})`}ye.info(`${i.Scope}: ${u}`)}))}catch(i){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${i.message}`)}}))}static uploadArtifact(i){return P(this,void 0,void 0,(function*(){if(GitHub.isGHES){throw new Error("@actions/artifact v2.0.0+ is currently not supported on GHES.")}const u=Y.default.basename(i.filename);const A=(0,X.getBackendIdsFromToken)();const I=(0,$.internalArtifactTwirpClient)();ye.info(`Uploading ${u} to blob storage`);const B={workflowRunBackendId:A.workflowRunBackendId,workflowJobRunBackendId:A.workflowJobRunBackendId,name:u,version:4};const Q=(0,he.getExpiration)(i===null||i===void 0?void 0:i.retentionDays);if(Q){B.expiresAt=Q}const P=yield I.CreateArtifact(B);if(!P.ok){throw new Ae.InvalidResponseError("cannot create artifact client")}let D=0;const G=new Ce.BlobClient(P.signedUploadUrl);const z=G.getBlockBlobClient();const W={blobContentDisposition:`attachment; filename="${u}"`};if(i.mimeType){W.blobContentType=i.mimeType}ye.debug(`Upload headers: ${JSON.stringify(W)}`);try{ye.info("Beginning upload of artifact content to blob storage");yield z.uploadFile(i.filename,{blobHTTPHeaders:W,onProgress:i=>{ye.info(`Uploaded bytes ${i.loadedBytes}`);D=i.loadedBytes}})}catch(i){if(Ae.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new Ae.NetworkError(i===null||i===void 0?void 0:i.code)}throw i}ye.info("Finished uploading artifact content to blob storage!");const K=L.default.createHash("sha256").update(U.default.readFileSync(i.filename)).digest("hex");ye.info(`SHA256 hash of uploaded artifact is ${K}`);const be={workflowRunBackendId:A.workflowRunBackendId,workflowJobRunBackendId:A.workflowJobRunBackendId,name:u,size:D?D.toString():"0"};if(K){be.hash=J.StringValue.create({value:`sha256:${K}`})}ye.info(`Finalizing artifact upload`);const Ee=yield I.FinalizeArtifact(be);if(!Ee.ok){throw new Ae.InvalidResponseError("Cannot finalize artifact upload")}const we=BigInt(Ee.artifactId);ye.info(`Artifact successfully finalized (${we})`);const ve=`${GitHub.workflowRunURL()}/artifacts/${we}`;ye.info(`Artifact download URL: ${ve}`);return{id:Number(we),filename:u,size:D,url:ve}}))}static writeBuildSummary(i){return P(this,void 0,void 0,(function*(){var u,A,I;const addLink=function(i,u,A=false){return`${i}`+(A?W.default.EOL:"")};const B=i.exportRes.refs.length;const Q=B>0?(u=i.exportRes.refs)===null||u===void 0?void 0:u[0]:undefined;const P=Q?(A=i.exportRes.summaries)===null||A===void 0?void 0:A[Q]:undefined;const D=i.driver==="cloud"&&i.endpoint?(I=i.endpoint)===null||I===void 0?void 0:I.replace(/^cloud:\/\//,"").split("/")[0]:undefined;const L=ye.summary.addHeading("Docker Build summary",2);if(D&&B===1&&Q&&P){const i=GitHub.formatDBCBuildURL(D,Q,P.defaultPlatform);L.addRaw(`

`).addRaw(`For a detailed look at the build, you can check the results at:`).addRaw("

").addRaw(`

`).addRaw(`:whale: ${addLink(`${i}`,i)}`).addRaw(`

`)}if(i.uploadRes){const u=`./${GitHub.runId}/${i.uploadRes.url.split("/").slice(-2).join("/")}`;if(D&&B===1){L.addRaw(`

`).addRaw(`You can also download the following build record archive and import it into Docker Desktop's Builds view. `).addBreak().addRaw(`Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

")}else{L.addRaw(`

`).addRaw(`For a detailed look at the build, download the following build record archive and import it into Docker Desktop's Builds view. `).addBreak().addRaw(`Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

")}L.addRaw(`

`).addRaw(`:arrow_down: ${addLink(`${ve.Util.stringToUnicodeEntities(i.uploadRes.filename)}`,u)} (${ve.Util.formatFileSize(i.uploadRes.size)} - includes ${B} build record${B>1?"s":""})`).addRaw(`

`)}else if(i.exportRes.summaries){L.addRaw(`

`).addRaw(`The following table provides a brief summary of your build.`).addBreak().addRaw(`For a detailed look at the build, including timing, dependencies, results, logs, traces, and other information, consider enabling the export of the build record so you can import it into Docker Desktop's Builds view. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw(`

`)}L.addRaw(`

`).addRaw(`Find this useful? `).addRaw(addLink("Let us know","https://docs.docker.com/feedback/gha-build-summary")).addRaw("

");if(i.exportRes.summaries){L.addRaw("

");const u=[[{header:true,data:"ID"},{header:true,data:"Name"},{header:true,data:"Status"},{header:true,data:"Cached"},{header:true,data:"Duration"},...D&&B>1?[{header:true,data:"Build result URL"}]:[]]];let A;for(const I in i.exportRes.summaries){if(Object.prototype.hasOwnProperty.call(i.exportRes.summaries,I)){const Q=i.exportRes.summaries[I];u.push([{data:`${I.substring(0,6).toUpperCase()}`},{data:`${ve.Util.stringToUnicodeEntities(Q.name)}`},{data:`${Q.status==="completed"?":white_check_mark:":Q.status==="canceled"?":no_entry_sign:":":x:"} ${Q.status}`},{data:`${Q.numCachedSteps>0?Math.round(Q.numCachedSteps/Q.numTotalSteps*100):0}%`},{data:Q.duration},...D&&B>1?[{data:addLink(":whale: Open",GitHub.formatDBCBuildURL(D,I,Q.defaultPlatform))}]:[]]);if(Q.error){A=Q.error}}}L.addTable([...u]);L.addRaw(`

`);if(A){L.addRaw(`
`);if(ve.Util.countLines(A)>10){L.addRaw(`
Error`).addCodeBlock(G.default.encode(A),"text").addRaw(`
`)}else{L.addRaw(`Error`).addBreak().addRaw(`

`).addCodeBlock(G.default.encode(A),"text").addRaw(`

`)}L.addRaw(`
`)}}if(i.inputs){L.addRaw(`
Build inputs`).addCodeBlock((0,z.dump)(i.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw(`
`)}if(i.bakeDefinition){L.addRaw(`
Bake definition`).addCodeBlock(JSON.stringify(i.bakeDefinition,null,2),"json").addRaw(`
`)}ye.info(`Writing summary`);yield L.addSeparator().write()}))}static formatDBCBuildURL(i,u,A){return`https://app.docker.com/build/accounts/${i}/builds/${(A!==null&&A!==void 0?A:"linux/amd64").replace("/","-")}/${u}`}}u.GitHub=GitHub},19995:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;QP(this,void 0,void 0,(function*(){yield L.Cache.post()}))))}}))}},24514:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return i.stdout}))}))}manifestGet(i){return P(this,void 0,void 0,(function*(){var u;return yield U.Exec.getExecOutput(this.binPath,["manifest","get",i.image,`--platform=${(u=i.platform)!==null&&u!==void 0?u:"local"}`,`--format={{json .}}`],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return JSON.parse(i.stdout.trim())}))}))}isAvailable(){return P(this,void 0,void 0,(function*(){const i=yield U.Exec.getExecOutput(this.binPath,[],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){D.debug(`Regctl.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{D.debug(`Regctl.isAvailable error: ${i}`);return false}));D.debug(`Regctl.isAvailable: ${i}`);return i}))}version(){return P(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;this._version=yield U.Exec.getExecOutput(this.binPath,["version","--format","{{.VCSTag}}"],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return i.stdout.trim()}));return this._version}))}printVersion(){return P(this,void 0,void 0,(function*(){yield U.Exec.exec(this.binPath,["version"],{failOnStdErr:false})}))}versionSatisfies(i,u){return P(this,void 0,void 0,(function*(){const A=u!==null&&u!==void 0?u:yield this.version();if(!A){D.debug(`Regctl.versionSatisfies false: undefined version`);return false}const I=L.satisfies(A,i)||/^[0-9a-f]{7}$/.exec(A)!==null;D.debug(`Regctl.versionSatisfies ${A} statisfies ${i}: ${I}`);return I}))}}u.Regctl=Regctl},50798:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;QP(this,void 0,void 0,(function*(){const i=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1","--new-bundle-format","--use-signing-config"];if(I){i.push("--tlog-upload=false")}z.info(`[command]cosign ${[...i,B].join(" ")}`);const Q=yield $.Exec.getExecOutput("cosign",["--verbose",...i,B],{ignoreReturnCode:true,silent:true,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});const P=J.Cosign.parseCommandOutput(Q.stderr.trim());if(Q.exitCode!=0){if(P.errors&&P.errors.length>0){const i=P.errors.map((i=>`- [${i.code}] ${i.message} : ${i.detail}`)).join("\n");throw new Error(`Cosign sign command failed with errors:\n${i}`)}else{throw new Error(`Cosign sign command failed with exit code ${Q.exitCode}`)}}const D=Sigstore.parseBundle((0,W.bundleFromJSON)(P.bundle));if(D.tlogID){z.info(`Uploaded to Rekor transparency log: ${Ae.SEARCH_URL}?logIndex=${D.tlogID}`)}z.info(`Signature manifest pushed: https://oci.dag.dev/?referrers=${B}`);u[B]=Object.assign(Object.assign({},D),{imageName:A})}))))}}}catch(i){throw new Error(`Signing BuildKit attestation manifests failed: ${i.message}`)}return u}))}verifySignedManifests(i,u){return P(this,void 0,void 0,(function*(){var A;const I={};const B=(A=i.retries)!==null&&A!==void 0?A:15;if(!(yield this.cosign.isAvailable())){throw new Error("Cosign is required to verify signed manifests")}let Q;for(const[A,D]of Object.entries(u)){yield z.group(`Verifying signature of ${A}`,(()=>P(this,void 0,void 0,(function*(){const u=["verify","--experimental-oci11","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",i.certificateIdentityRegexp];if(!D.tlogID){u.push("--use-signed-timestamps","--insecure-ignore-tlog")}z.info(`[command]cosign ${[...u,A].join(" ")}`);for(let i=0;i0){const u=L.errors.map((i=>`- [${i.code}] ${i.message} : ${i.detail}`)).join("\n");Q=new Error(`Cosign verify command failed with errors:\n${u}`);if(L.errors.some((i=>i.code==="MANIFEST_UNKNOWN"))){z.info(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${i+1}/${B}...\n${u}`);yield new Promise((u=>setTimeout(u,Math.pow(2,i)*100)))}else{throw Q}}else{throw new Error(`Cosign verify command failed: ${P.stderr}`)}}}}))))}if(Q){throw Q}return I}))}signProvenanceBlobs(i){return P(this,void 0,void 0,(function*(){const u={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL){throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.')}const A=this.signingEndpoints(i.noTransparencyLog);z.info(`Using Sigstore signing endpoint: ${A.fulcioURL}`);const I=Sigstore.getProvenanceBlobs(i);for(const B of Object.keys(I)){yield z.group(`Signing ${B}`,(()=>P(this,void 0,void 0,(function*(){var Q;const P=I[B];const D=G.default.join(G.default.dirname(B),`${(Q=i.name)!==null&&Q!==void 0?Q:"provenance"}.sigstore.json`);const L=Sigstore.getProvenanceSubjects(P);if(L.length===0){z.warning(`No subjects found in provenance ${B}, skip signing.`);return}const W=yield Sigstore.signPayload({data:P,type:he.MEDIATYPE_PAYLOAD},A);const Y=Sigstore.parseBundle(W);z.info(`Provenance blob signed for:`);for(const i of L){const[u,A]=Object.entries(i.digest)[0]||[];z.info(` - ${i.name} (${u}:${A})`)}if(Y.tlogID){z.info(`Attestation signature uploaded to Rekor transparency log: ${Ae.SEARCH_URL}?logIndex=${Y.tlogID}`)}z.info(`Writing Sigstore bundle to: ${D}`);U.default.writeFileSync(D,JSON.stringify(Y.payload,null,2),{encoding:"utf-8"});u[B]=Object.assign(Object.assign({},Y),{bundlePath:D,subjects:L})}))))}}catch(i){throw new Error(`Signing BuildKit provenance blobs failed: ${i.message}`)}return u}))}verifySignedArtifacts(i,u){return P(this,void 0,void 0,(function*(){const A={};if(!(yield this.cosign.isAvailable())){throw new Error("Cosign is required to verify signed artifacts")}for(const[I,B]of Object.entries(u)){const u=G.default.dirname(I);yield z.group(`Verifying signature bundle ${B.bundlePath}`,(()=>P(this,void 0,void 0,(function*(){for(const I of B.subjects){const Q=G.default.join(u,I.name);z.info(`Verifying signed artifact ${Q}`);const P=["verify-blob-attestation","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",i.certificateIdentityRegexp];if(!B.tlogID){P.push("--use-signed-timestamps","--insecure-ignore-tlog")}const D=yield $.Exec.getExecOutput("cosign",[...P,"--bundle",B.bundlePath,Q],{ignoreReturnCode:true});if(D.stderr.length>0&&D.exitCode!=0){throw new Error(D.stderr)}A[Q]={bundlePath:B.bundlePath,cosignArgs:P}}}))))}return A}))}signingEndpoints(i){i=Sigstore.noTransparencyLog(i);z.info(`Upload to transparency log: ${i?"disabled":"enabled"}`);return{fulcioURL:Ae.FULCIO_URL,rekorURL:i?undefined:Ae.REKOR_URL,tsaServerURL:Ae.TSASERVER_URL}}static noTransparencyLog(i){var u;return i!==null&&i!==void 0?i:(u=K.GitHub.context.payload.repository)===null||u===void 0?void 0:u.private}static getProvenanceBlobs(i){const u=G.default.join(i.localExportDir,"provenance.json");if(U.default.existsSync(u)){return{[u]:U.default.readFileSync(u)}}const A=U.default.readdirSync(i.localExportDir,{withFileTypes:true});const I=A.filter((i=>i.isDirectory()));if(I.length>0&&I.length===A.length&&I.every((u=>U.default.existsSync(G.default.join(i.localExportDir,u.name,"provenance.json"))))){const u={};for(const A of I){const I=G.default.join(i.localExportDir,A.name,"provenance.json");u[I]=U.default.readFileSync(I)}return u}throw new Error(`No valid provenance.json found in ${i.localExportDir}`)}static getProvenanceSubjects(i){const u=JSON.parse(i.toString());return u.subject.map((i=>({name:i.name,digest:i.digest})))}static signPayload(i,u,A,I){return P(this,void 0,void 0,(function*(){const B=[];const Q=new Y.FulcioSigner({identityProvider:new Y.CIContextProvider("sigstore"),fulcioBaseURL:u.fulcioURL,timeout:A,retry:I});if(u.rekorURL){B.push(new Y.RekorWitness({rekorBaseURL:u.rekorURL,fetchOnConflict:true,timeout:A,retry:I}))}if(u.tsaServerURL){B.push(new Y.TSAWitness({tsaBaseURL:u.tsaServerURL,timeout:A,retry:I}))}return new Y.DSSEBundleBuilder({signer:Q,witnesses:B}).create(i)}))}static parseBundle(i){let u;switch(i.verificationMaterial.content.$case){case"x509CertificateChain":u=i.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes;break;case"certificate":u=i.verificationMaterial.content.certificate.rawBytes;break;default:throw new Error("Bundle must contain an x509 certificate")}const A=new L.X509Certificate(u);const I=i.verificationMaterial.tlogEntries;const B=I.length>0?I[0].logIndex:undefined;return{payload:(0,W.bundleToJSON)(i),certificate:A.toString(),tlogID:B}}}u.Sigstore=Sigstore},78305:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Toolkit=void 0;const I=A(36060);const B=A(53954);const Q=A(84248);const P=A(98839);const D=A(19735);const L=A(12695);const U=A(55362);const G=A(83156);const z=A(70587);const W=A(11780);const Y=A(12352);const J=A(6258);const $=A(24514);const K=A(16634);const X=A(83211);const he=A(50798);class Toolkit{constructor(i={}){this.github=new I.GitHub({token:i.githubToken});this.buildx=new B.Buildx;this.buildxBuild=new Q.Build({buildx:this.buildx});this.buildxBake=new P.Bake({buildx:this.buildx});this.buildxInstall=new D.Install;this.builder=new L.Builder({buildx:this.buildx});this.buildkit=new U.BuildKit({buildx:this.buildx});this.compose=new G.Compose;this.composeInstall=new z.Install;this.cosign=new W.Cosign;this.cosignInstall=new Y.Install({buildx:this.buildx});this.regctl=new J.Regctl;this.regctlInstall=new $.Install;this.sigstore=new he.Sigstore;this.undock=new K.Undock;this.undockInstall=new X.Install}}u.Toolkit=Toolkit},75482:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MEDIATYPE_PREDICATE=u.MEDIATYPE_PAYLOAD=void 0;u.MEDIATYPE_PAYLOAD="application/vnd.in-toto+json";u.MEDIATYPE_PREDICATE="in-toto.io/predicate-type"},97691:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MEDIATYPE_IMAGE_CONFIG_V1=u.MEDIATYPE_EMPTY_JSON_V1=u.MEDIATYPE_IMAGE_LAYER_V1=u.MEDIATYPE_IMAGE_INDEX_V1=u.MEDIATYPE_IMAGE_MANIFEST_V1=u.MEDIATYPE_DESCRIPTOR_V1=void 0;u.MEDIATYPE_DESCRIPTOR_V1="application/vnd.oci.descriptor.v1+json";u.MEDIATYPE_IMAGE_MANIFEST_V1="application/vnd.oci.image.manifest.v1+json";u.MEDIATYPE_IMAGE_INDEX_V1="application/vnd.oci.image.index.v1+json";u.MEDIATYPE_IMAGE_LAYER_V1="application/vnd.oci.image.layer.v1.tar";u.MEDIATYPE_EMPTY_JSON_V1="application/vnd.oci.empty.v1+json";u.MEDIATYPE_IMAGE_CONFIG_V1="application/vnd.oci.image.config.v1+json"},89092:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.SEARCH_URL=u.TSASERVER_URL=u.REKOR_URL=u.FULCIO_URL=void 0;u.FULCIO_URL="https://fulcio.sigstore.dev";u.REKOR_URL="https://rekor.sigstore.dev";u.TSASERVER_URL="https://timestamp.sigstore.dev";u.SEARCH_URL="https://search.sigstore.dev"},83211:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{u.push(`--include=${i}`)}))}if(i.insecure){u.push("--insecure")}if(i.rmDist){u.push("--rm-dist")}if(i.wrap){u.push("--wrap")}u.push(i.source,i.dist);yield U.Exec.exec(this.binPath,u,{failOnStdErr:false})}))}isAvailable(){return P(this,void 0,void 0,(function*(){const i=yield U.Exec.getExecOutput(this.binPath,[],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){D.debug(`Undock.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{D.debug(`Undock.isAvailable error: ${i}`);return false}));D.debug(`Undock.isAvailable: ${i}`);return i}))}version(){return P(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;this._version=yield U.Exec.getExecOutput(this.binPath,["--version"],{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return i.stdout.trim()}));return this._version}))}printVersion(){return P(this,void 0,void 0,(function*(){yield U.Exec.exec(this.binPath,["--version"],{failOnStdErr:false})}))}versionSatisfies(i,u){return P(this,void 0,void 0,(function*(){const A=u!==null&&u!==void 0?u:yield this.version();if(!A){D.debug(`Undock.versionSatisfies false: undefined version`);return false}const I=L.satisfies(A,i)||/^[0-9a-f]{7}$/.exec(A)!==null;D.debug(`Undock.versionSatisfies ${A} statisfies ${i}: ${I}`);return I}))}}u.Undock=Undock},23651:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qi)).map((i=>i.trim()))}static getInputNumber(i){const u=z.getInput(i);if(!u){return undefined}return parseInt(u)}static asyncForEach(i,u){return P(this,void 0,void 0,(function*(){for(let A=0;AsetTimeout(u,i*1e3)))}static hash(i){return L.default.createHash("sha256").update(i).digest("hex")}static parseBool(i){switch(i){case"1":case"t":case"T":case"true":case"TRUE":case"True":return true;case"0":case"f":case"F":case"false":case"FALSE":case"False":return false;default:throw new Error(`parseBool syntax error: ${i}`)}}static formatFileSize(i){if(i===0)return"0 Bytes";const u=1024;const A=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];const I=Math.floor(Math.log(i)/Math.log(u));return parseFloat((i/Math.pow(u,I)).toFixed(2))+" "+A[I]}static generateRandomString(i=10){const u=L.default.randomBytes(Math.ceil(i/2));return u.toString("hex").slice(0,i)}static stringToUnicodeEntities(i){return Array.from(i).map((i=>`&#x${i.charCodeAt(0).toString(16)};`)).join("")}static countLines(i){return i.split(/\r\n|\r|\n/).length}static isPathRelativeTo(i,u){const A=G.default.resolve(i);const I=G.default.resolve(u);return I.startsWith(A.endsWith(G.default.sep)?A:`${A}${G.default.sep}`)}static formatDuration(i){if(i===0)return"0s";const u=Math.floor(i/1e9);const A=Math.floor(u/3600);const I=Math.floor(u%3600/60);const B=u%60;const Q=[];if(A)Q.push(`${A}h`);if(I)Q.push(`${I}m`);if(B||Q.length===0)Q.push(`${B}s`);return Q.join("")}}u.Util=Util},53355:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;QP(this,void 0,void 0,(function*(){let u=Buffer.alloc(0);this.message.on("data",(i=>{u=Buffer.concat([u,i])}));this.message.on("end",(()=>{i(u.toString())}))}))))}))}readBodyBuffer(){return P(this,void 0,void 0,(function*(){return new Promise((i=>P(this,void 0,void 0,(function*(){const u=[];this.message.on("data",(i=>{u.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(u))}))}))))}))}}u.HttpClientResponse=HttpClientResponse;function isHttps(i){const u=new URL(i);return u.protocol==="https:"}class HttpClient{constructor(i,u,A){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=this._getUserAgentWithOrchestrationId(i);this.handlers=u||[];this.requestOptions=A;if(A){if(A.ignoreSslError!=null){this._ignoreSslError=A.ignoreSslError}this._socketTimeout=A.socketTimeout;if(A.allowRedirects!=null){this._allowRedirects=A.allowRedirects}if(A.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=A.allowRedirectDowngrade}if(A.maxRedirects!=null){this._maxRedirects=Math.max(A.maxRedirects,0)}if(A.keepAlive!=null){this._keepAlive=A.keepAlive}if(A.allowRetries!=null){this._allowRetries=A.allowRetries}if(A.maxRetries!=null){this._maxRetries=A.maxRetries}}}options(i,u){return P(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,u||{})}))}get(i,u){return P(this,void 0,void 0,(function*(){return this.request("GET",i,null,u||{})}))}del(i,u){return P(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,u||{})}))}post(i,u,A){return P(this,void 0,void 0,(function*(){return this.request("POST",i,u,A||{})}))}patch(i,u,A){return P(this,void 0,void 0,(function*(){return this.request("PATCH",i,u,A||{})}))}put(i,u,A){return P(this,void 0,void 0,(function*(){return this.request("PUT",i,u,A||{})}))}head(i,u){return P(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,u||{})}))}sendStream(i,u,A,I){return P(this,void 0,void 0,(function*(){return this.request(i,u,A,I)}))}getJson(i){return P(this,arguments,void 0,(function*(i,u={}){u[Y.Accept]=this._getExistingOrDefaultHeader(u,Y.Accept,J.ApplicationJson);const A=yield this.get(i,u);return this._processResponse(A,this.requestOptions)}))}postJson(i,u){return P(this,arguments,void 0,(function*(i,u,A={}){const I=JSON.stringify(u,null,2);A[Y.Accept]=this._getExistingOrDefaultHeader(A,Y.Accept,J.ApplicationJson);A[Y.ContentType]=this._getExistingOrDefaultContentTypeHeader(A,J.ApplicationJson);const B=yield this.post(i,I,A);return this._processResponse(B,this.requestOptions)}))}putJson(i,u){return P(this,arguments,void 0,(function*(i,u,A={}){const I=JSON.stringify(u,null,2);A[Y.Accept]=this._getExistingOrDefaultHeader(A,Y.Accept,J.ApplicationJson);A[Y.ContentType]=this._getExistingOrDefaultContentTypeHeader(A,J.ApplicationJson);const B=yield this.put(i,I,A);return this._processResponse(B,this.requestOptions)}))}patchJson(i,u){return P(this,arguments,void 0,(function*(i,u,A={}){const I=JSON.stringify(u,null,2);A[Y.Accept]=this._getExistingOrDefaultHeader(A,Y.Accept,J.ApplicationJson);A[Y.ContentType]=this._getExistingOrDefaultContentTypeHeader(A,J.ApplicationJson);const B=yield this.patch(i,I,A);return this._processResponse(B,this.requestOptions)}))}request(i,u,A,I){return P(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const B=new URL(u);let Q=this._prepareRequest(i,B,I);const P=this._allowRetries&&X.includes(i)?this._maxRetries+1:1;let D=0;let L;do{L=yield this.requestRaw(Q,A);if(L&&L.message&&L.message.statusCode===W.Unauthorized){let i;for(const u of this.handlers){if(u.canHandleAuthentication(L)){i=u;break}}if(i){return i.handleAuthentication(this,Q,A)}else{return L}}let u=this._maxRedirects;while(L.message.statusCode&&$.includes(L.message.statusCode)&&this._allowRedirects&&u>0){const P=L.message.headers["location"];if(!P){break}const D=new URL(P);if(B.protocol==="https:"&&B.protocol!==D.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield L.readBody();if(D.hostname!==B.hostname){for(const i in I){if(i.toLowerCase()==="authorization"){delete I[i]}}}Q=this._prepareRequest(i,D,I);L=yield this.requestRaw(Q,A);u--}if(!L.message.statusCode||!K.includes(L.message.statusCode)){return L}D+=1;if(D{function callbackForResult(i,u){if(i){I(i)}else if(!u){I(new Error("Unknown error"))}else{A(u)}}this.requestRawWithCallback(i,u,callbackForResult)}))}))}requestRawWithCallback(i,u,A){if(typeof u==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(u,"utf8")}let I=false;function handleResult(i,u){if(!I){I=true;A(i,u)}}const B=i.httpModule.request(i.options,(i=>{const u=new HttpClientResponse(i);handleResult(undefined,u)}));let Q;B.on("socket",(i=>{Q=i}));B.setTimeout(this._socketTimeout||3*6e4,(()=>{if(Q){Q.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));B.on("error",(function(i){handleResult(i)}));if(u&&typeof u==="string"){B.write(u,"utf8")}if(u&&typeof u!=="string"){u.on("close",(function(){B.end()}));u.pipe(B)}else{B.end()}}getAgent(i){const u=new URL(i);return this._getAgent(u)}getAgentDispatcher(i){const u=new URL(i);const A=U.getProxyUrl(u);const I=A&&A.hostname;if(!I){return}return this._getProxyAgentDispatcher(u,A)}_prepareRequest(i,u,A){const I={};I.parsedUrl=u;const B=I.parsedUrl.protocol==="https:";I.httpModule=B?L:D;const Q=B?443:80;I.options={};I.options.host=I.parsedUrl.hostname;I.options.port=I.parsedUrl.port?parseInt(I.parsedUrl.port):Q;I.options.path=(I.parsedUrl.pathname||"")+(I.parsedUrl.search||"");I.options.method=i;I.options.headers=this._mergeHeaders(A);if(this.userAgent!=null){I.options.headers["user-agent"]=this.userAgent}I.options.agent=this._getAgent(I.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(I.options)}}return I}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,u,A){let I;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[u];if(i){I=typeof i==="number"?i.toString():i}}const B=i[u];if(B!==undefined){return typeof B==="number"?B.toString():B}if(I!==undefined){return I}return A}_getExistingOrDefaultContentTypeHeader(i,u){let A;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[Y.ContentType];if(i){if(typeof i==="number"){A=String(i)}else if(Array.isArray(i)){A=i.join(", ")}else{A=i}}}const I=i[Y.ContentType];if(I!==undefined){if(typeof I==="number"){return String(I)}else if(Array.isArray(I)){return I.join(", ")}else{return I}}if(A!==undefined){return A}return u}_getAgent(i){let u;const A=U.getProxyUrl(i);const I=A&&A.hostname;if(this._keepAlive&&I){u=this._proxyAgent}if(!I){u=this._agent}if(u){return u}const B=i.protocol==="https:";let Q=100;if(this.requestOptions){Q=this.requestOptions.maxSockets||D.globalAgent.maxSockets}if(A&&A.hostname){const i={maxSockets:Q,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(A.username||A.password)&&{proxyAuth:`${A.username}:${A.password}`}),{host:A.hostname,port:A.port})};let I;const P=A.protocol==="https:";if(B){I=P?G.httpsOverHttps:G.httpsOverHttp}else{I=P?G.httpOverHttps:G.httpOverHttp}u=I(i);this._proxyAgent=u}if(!u){const i={keepAlive:this._keepAlive,maxSockets:Q};u=B?new L.Agent(i):new D.Agent(i);this._agent=u}if(B&&this._ignoreSslError){u.options=Object.assign(u.options||{},{rejectUnauthorized:false})}return u}_getProxyAgentDispatcher(i,u){let A;if(this._keepAlive){A=this._proxyAgentDispatcher}if(A){return A}const I=i.protocol==="https:";A=new z.ProxyAgent(Object.assign({uri:u.href,pipelining:!this._keepAlive?0:1},(u.username||u.password)&&{token:`Basic ${Buffer.from(`${u.username}:${u.password}`).toString("base64")}`}));this._proxyAgentDispatcher=A;if(I&&this._ignoreSslError){A.options=Object.assign(A.options.requestTls||{},{rejectUnauthorized:false})}return A}_getUserAgentWithOrchestrationId(i){const u=i||"actions/http-client";const A=process.env["ACTIONS_ORCHESTRATION_ID"];if(A){const i=A.replace(/[^a-z0-9_.-]/gi,"_");return`${u} actions_orchestration_id/${i}`}return u}_performExponentialBackoff(i){return P(this,void 0,void 0,(function*(){i=Math.min(he,i);const u=Ae*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),u)))}))}_processResponse(i,u){return P(this,void 0,void 0,(function*(){return new Promise(((A,I)=>P(this,void 0,void 0,(function*(){const B=i.message.statusCode||0;const Q={statusCode:B,result:null,headers:{}};if(B===W.NotFound){A(Q)}function dateTimeDeserializer(i,u){if(typeof u==="string"){const i=new Date(u);if(!isNaN(i.valueOf())){return i}}return u}let P;let D;try{D=yield i.readBody();if(D&&D.length>0){if(u&&u.deserializeDates){P=JSON.parse(D,dateTimeDeserializer)}else{P=JSON.parse(D)}Q.result=P}Q.headers=i.message.headers}catch(i){}if(B>299){let i;if(P&&P.message){i=P.message}else if(D&&D.length>0){i=D}else{i=`Failed request: (${B})`}const u=new HttpClientError(i,B);u.result=Q.result;I(u)}else{A(Q)}}))))}))}}u.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((u,A)=>(u[A.toLowerCase()]=i[A],u)),{})},99159:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getProxyUrl=getProxyUrl;u.checkBypass=checkBypass;function getProxyUrl(i){const u=i.protocol==="https:";if(checkBypass(i)){return undefined}const A=(()=>{if(u){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(A){try{return new DecodedURL(A)}catch(i){if(!A.startsWith("http://")&&!A.startsWith("https://"))return new DecodedURL(`http://${A}`)}}else{return undefined}}function checkBypass(i){if(!i.hostname){return false}const u=i.hostname;if(isLoopbackAddress(u)){return true}const A=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!A){return false}let I;if(i.port){I=Number(i.port)}else if(i.protocol==="http:"){I=80}else if(i.protocol==="https:"){I=443}const B=[i.hostname.toUpperCase()];if(typeof I==="number"){B.push(`${B[0]}:${I}`)}for(const i of A.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||B.some((u=>u===i||u.endsWith(`.${i}`)||i.startsWith(".")&&u.endsWith(`${i}`)))){return true}}return false}function isLoopbackAddress(i){const u=i.toLowerCase();return u==="localhost"||u.startsWith("127.")||u.startsWith("[::1]")||u.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(i,u){super(i,u);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},88810:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qi.toUpperCase()===u))){return i}}else{if(isUnixExecutable(I)){return i}}}const B=i;for(const Q of A){i=B+Q;I=undefined;try{I=yield(0,u.stat)(i)}catch(u){if(u.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${u}`)}}if(I&&I.isFile()){if(u.IS_WINDOWS){try{const A=U.dirname(i);const I=U.basename(i).toUpperCase();for(const B of yield(0,u.readdir)(A)){if(I===B.toUpperCase()){i=U.join(A,B);break}}}catch(u){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${u}`)}return i}else{if(isUnixExecutable(I)){return i}}}}return""}))}function normalizeSeparators(i){i=i||"";if(u.IS_WINDOWS){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&process.getgid!==undefined&&i.gid===process.getgid()||(i.mode&64)>0&&process.getuid!==undefined&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}},76845:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield U.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}function mkdirP(i){return P(this,void 0,void 0,(function*(){(0,D.ok)(i,"a path argument must be provided");yield U.mkdir(i,{recursive:true})}))}function which(i,u){return P(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(u){const u=yield which(i,false);if(!u){if(U.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${i}. 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: ${i}. 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 u}const A=yield findInPath(i);if(A&&A.length>0){return A[0]}return""}))}function findInPath(i){return P(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const u=[];if(U.IS_WINDOWS&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(L.delimiter)){if(i){u.push(i)}}}if(U.isRooted(i)){const A=yield U.tryGetExecutablePath(i,u);if(A){return[A]}return[]}if(i.includes(L.sep)){return[]}const A=[];if(process.env.PATH){for(const i of process.env.PATH.split(L.delimiter)){if(i){A.push(i)}}}const I=[];for(const B of A){const A=yield U.tryGetExecutablePath(L.join(B,i),u);if(A){I.push(A)}}return I}))}function readCopyOptions(i){const u=i.force==null?true:i.force;const A=Boolean(i.recursive);const I=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:u,recursive:A,copySourceDirectory:I}}function cpDirRecursive(i,u,A,I){return P(this,void 0,void 0,(function*(){if(A>=255)return;A++;yield mkdirP(u);const B=yield U.readdir(i);for(const Q of B){const B=`${i}/${Q}`;const P=`${u}/${Q}`;const D=yield U.lstat(B);if(D.isDirectory()){yield cpDirRecursive(B,P,A,I)}else{yield copyFile(B,P,I)}}yield U.chmod(u,(yield U.stat(i)).mode)}))}function copyFile(i,u,A){return P(this,void 0,void 0,(function*(){if((yield U.lstat(i)).isSymbolicLink()){try{yield U.lstat(u);yield U.unlink(u)}catch(i){if(i.code==="EPERM"){yield U.chmod(u,"0666");yield U.unlink(u)}}const A=yield U.readlink(i);yield U.symlink(A,u,U.IS_WINDOWS?"junction":null)}else if(!(yield U.exists(u))||A){yield U.copyFile(i,u)}}))}},87721:(i,u,A)=>{"use strict";const I=A(69278);const B=A(64756);const{once:Q}=A(24434);const P=A(16460);const{normalizeOptions:D,cacheOptions:L}=A(46329);const{getProxy:U,getProxyAgent:G,proxyCache:z}=A(3799);const W=A(60260);const{Agent:Y}=A(98894);i.exports=class Agent extends Y{#e;#t;#r;#n;#i;constructor(i={}){const{timeouts:u,proxy:A,noProxy:I,...B}=D(i);super(B);this.#e=B;this.#t=u;if(A){this.#r=new URL(A);this.#n=I;this.#i=G(A)}}get proxy(){return this.#r?{url:this.#r}:{}}#s(i){if(!this.#r){return}const u=U(`${i.protocol}//${i.host}:${i.port}`,{proxy:this.#r,noProxy:this.#n});if(!u){return}const A=L({...i,...this.#e,timeouts:this.#t,proxy:u});if(z.has(A)){return z.get(A)}let I=this.#i;if(Array.isArray(I)){I=this.isSecureEndpoint(i)?I[1]:I[0]}const B=new I(u,{...this.#e,socketOptions:{family:this.#e.family}});z.set(A,B);return B}async#o({promises:i,options:u,timeout:A},I=new AbortController){if(A){const B=P.setTimeout(A,null,{signal:I.signal}).then((()=>{throw new W.ConnectionTimeoutError(`${u.host}:${u.port}`)})).catch((i=>{if(i.name==="AbortError"){return}throw i}));i.push(B)}let B;try{B=await Promise.race(i);I.abort()}catch(i){I.abort();throw i}return B}async connect(i,u){u.lookup??=this.#e.lookup;let A;let P=this.#t.connection;const D=this.isSecureEndpoint(u);const L=this.#s(u);if(L){const I=Date.now();A=await this.#o({options:u,timeout:P,promises:[L.connect(i,u)]});if(P){P=P-(Date.now()-I)}}else{A=(D?B:I).connect(u)}A.setKeepAlive(this.keepAlive,this.keepAliveMsecs);A.setNoDelay(this.keepAlive);const U=new AbortController;const{signal:G}=U;const z=A[D?"secureConnecting":"connecting"]?Q(A,D?"secureConnect":"connect",{signal:G}):Promise.resolve();await this.#o({options:u,timeout:P,promises:[z,Q(A,"error",{signal:G}).then((i=>{throw i[0]}))]},U);if(this.#t.idle){A.setTimeout(this.#t.idle,(()=>{A.destroy(new W.IdleTimeoutError(`${u.host}:${u.port}`))}))}return A}addRequest(i,u){const A=this.#s(u);if(A?.setRequestProps){A.setRequestProps(i,u)}i.setHeader("connection",this.keepAlive?"keep-alive":"close");if(this.#t.response){let u;i.once("finish",(()=>{setTimeout((()=>{i.destroy(new W.ResponseTimeoutError(i,this.#r))}),this.#t.response)}));i.once("response",(()=>{clearTimeout(u)}))}if(this.#t.transfer){let u;i.once("response",(A=>{setTimeout((()=>{A.destroy(new W.TransferTimeoutError(i,this.#r))}),this.#t.transfer);A.once("close",(()=>{clearTimeout(u)}))}))}return super.addRequest(i,u)}createSocket(i,u,A){super.createSocket(i,u,((I,B)=>{if(I){this.#a(i,u)}A(I,B)}))}#a(i,u){const A=this.getName(u);const I=this.requests[A];if(!I||I.length===0){return}const B=I.indexOf(i);if(B!==-1){I.splice(B,1)}if(I.length===0){delete this.requests[A];return}const Q=this.sockets[A]?this.sockets[A].length:0;if(Q>=this.maxSockets||this.totalSocketCount>=this.maxTotalSockets){return}const P=I.shift();if(I.length===0){delete this.requests[A]}this.createSocket(P,u,((i,u)=>{if(i){P.onSocket(null,i)}else{P.onSocket(u)}}))}}},42604:(i,u,A)=>{"use strict";const{LRUCache:I}=A(8416);const B=A(49869);const Q=new I({max:50});const getOptions=({family:i=0,hints:u=B.ADDRCONFIG,all:A=false,verbatim:I=undefined,ttl:P=5*60*1e3,lookup:D=B.lookup})=>({hints:u,lookup:(B,...L)=>{const U=L.pop();const G=L[0]??{};const z={family:i,hints:u,all:A,verbatim:I,...typeof G==="number"?{family:G}:G};const W=JSON.stringify({hostname:B,...z});if(Q.has(W)){const i=Q.get(W);return process.nextTick(U,null,...i)}D(B,z,((i,...u)=>{if(i){return U(i)}Q.set(W,u,{ttl:P});return U(null,...u)}))}});i.exports={cache:Q,getOptions:getOptions}},60260:i=>{"use strict";class InvalidProxyProtocolError extends Error{constructor(i){super(`Invalid protocol \`${i.protocol}\` connecting to proxy \`${i.host}\``);this.code="EINVALIDPROXY";this.proxy=i}}class ConnectionTimeoutError extends Error{constructor(i){super(`Timeout connecting to host \`${i}\``);this.code="ECONNECTIONTIMEOUT";this.host=i}}class IdleTimeoutError extends Error{constructor(i){super(`Idle timeout reached for host \`${i}\``);this.code="EIDLETIMEOUT";this.host=i}}class ResponseTimeoutError extends Error{constructor(i,u){let A="Response timeout ";if(u){A+=`from proxy \`${u.host}\` `}A+=`connecting to host \`${i.host}\``;super(A);this.code="ERESPONSETIMEOUT";this.proxy=u;this.request=i}}class TransferTimeoutError extends Error{constructor(i,u){let A="Transfer timeout ";if(u){A+=`from proxy \`${u.host}\` `}A+=`for \`${i.host}\``;super(A);this.code="ETRANSFERTIMEOUT";this.proxy=u;this.request=i}}i.exports={InvalidProxyProtocolError:InvalidProxyProtocolError,ConnectionTimeoutError:ConnectionTimeoutError,IdleTimeoutError:IdleTimeoutError,ResponseTimeoutError:ResponseTimeoutError,TransferTimeoutError:TransferTimeoutError}},57995:(i,u,A)=>{"use strict";const{LRUCache:I}=A(8416);const{normalizeOptions:B,cacheOptions:Q}=A(46329);const{getProxy:P,proxyCache:D}=A(3799);const L=A(42604);const U=A(87721);const G=new I({max:20});const getAgent=(i,{agent:u,proxy:A,noProxy:I,...D}={})=>{if(u!=null){return u}i=new URL(i);const L=P(i,{proxy:A,noProxy:I});const z={...B(D),proxy:L};const W=Q({...z,secureEndpoint:i.protocol==="https:"});if(G.has(W)){return G.get(W)}const Y=new U(z);G.set(W,Y);return Y};i.exports={getAgent:getAgent,Agent:U,HttpAgent:U,HttpsAgent:U,cache:{proxy:D,agent:G,dns:L.cache,clear:()=>{D.clear();G.clear();L.cache.clear()}}}},46329:(i,u,A)=>{"use strict";const I=A(42604);const normalizeOptions=i=>{const u=parseInt(i.family??"0",10);const A=i.keepAlive??true;const B={keepAliveMsecs:A?1e3:undefined,maxSockets:i.maxSockets??15,maxTotalSockets:Infinity,maxFreeSockets:A?256:undefined,scheduling:"fifo",...i,family:u,keepAlive:A,timeouts:{idle:i.timeout??0,connection:0,response:0,transfer:0,...i.timeouts},...I.getOptions({family:u,...i.dns})};delete B.timeout;delete B.headers;return B};const createKey=i=>{let u="";const A=Object.entries(i).sort(((i,u)=>i[0]-u[0]));for(let[i,I]of A){if(I==null){I="null"}else if(I instanceof URL){I=I.toString()}else if(typeof I==="object"){I=createKey(I)}u+=`${i}:${I}:`}return u};const cacheOptions=({secureEndpoint:i,...u})=>createKey({secureEndpoint:!!i,family:u.family,hints:u.hints,localAddress:u.localAddress,strictSsl:i?!!u.rejectUnauthorized:false,ca:i?u.ca:null,cert:i?u.cert:null,key:i?u.key:null,keepAlive:u.keepAlive,keepAliveMsecs:u.keepAliveMsecs,maxSockets:u.maxSockets,maxTotalSockets:u.maxTotalSockets,maxFreeSockets:u.maxFreeSockets,scheduling:u.scheduling,timeouts:u.timeouts,proxy:u.proxy});i.exports={normalizeOptions:normalizeOptions,cacheOptions:cacheOptions}},3799:(i,u,A)=>{"use strict";const{HttpProxyAgent:I}=A(81970);const{HttpsProxyAgent:B}=A(3669);const{SocksProxyAgent:Q}=A(53357);const{LRUCache:P}=A(8416);const{InvalidProxyProtocolError:D}=A(60260);const L=new P({max:20});const U=new Set(Q.protocols);const G=new Set(["https_proxy","http_proxy","proxy","no_proxy"]);const z=Object.entries(process.env).reduce(((i,[u,A])=>{u=u.toLowerCase();if(G.has(u)){i[u]=A}return i}),{});const getProxyAgent=i=>{i=new URL(i);const u=i.protocol.slice(0,-1);if(U.has(u)){return Q}if(u==="https"||u==="http"){return[I,B]}throw new D(i)};const isNoProxy=(i,u)=>{if(typeof u==="string"){u=u.split(",").map((i=>i.trim())).filter(Boolean)}if(!u||!u.length){return false}const A=i.hostname.split(".").reverse();return u.some((i=>{const u=i.split(".").filter(Boolean).reverse();if(!u.length){return false}for(let i=0;i{i=new URL(i);if(!u){u=i.protocol==="https:"?z.https_proxy:z.https_proxy||z.http_proxy||z.proxy}if(!A){A=z.no_proxy}if(!u||isNoProxy(i,A)){return null}return new URL(u)};i.exports={getProxyAgent:getProxyAgent,getProxy:getProxy,proxyCache:L}},84212:i=>{const getOptions=(i,{copy:u,wrap:A})=>{const I={};if(i&&typeof i==="object"){for(const A of u){if(i[A]!==undefined){I[A]=i[A]}}}else{I[A]=i}return I};i.exports=getOptions},6187:(i,u,A)=>{const I=A(62088);const satisfies=i=>I.satisfies(process.version,i,{includePrerelease:true});i.exports={satisfies:satisfies}},88314:(i,u,A)=>{"use strict";const{inspect:I}=A(39023);class SystemError{constructor(i,u,A){let I=`${u}: ${A.syscall} returned `+`${A.code} (${A.message})`;if(A.path!==undefined){I+=` ${A.path}`}if(A.dest!==undefined){I+=` => ${A.dest}`}this.code=i;Object.defineProperties(this,{name:{value:"SystemError",enumerable:false,writable:true,configurable:true},message:{value:I,enumerable:false,writable:true,configurable:true},info:{value:A,enumerable:true,configurable:true,writable:false},errno:{get(){return A.errno},set(i){A.errno=i},enumerable:true,configurable:true},syscall:{get(){return A.syscall},set(i){A.syscall=i},enumerable:true,configurable:true}});if(A.path!==undefined){Object.defineProperty(this,"path",{get(){return A.path},set(i){A.path=i},enumerable:true,configurable:true})}if(A.dest!==undefined){Object.defineProperty(this,"dest",{get(){return A.dest},set(i){A.dest=i},enumerable:true,configurable:true})}}toString(){return`${this.name} [${this.code}]: ${this.message}`}[Symbol.for("nodejs.util.inspect.custom")](i,u){return I(this,{...u,getters:true,customInspect:false})}}function E(u,A){i.exports[u]=class NodeError extends SystemError{constructor(i){super(u,A,i)}}}E("ERR_FS_CP_DIR_TO_NON_DIR","Cannot overwrite directory with non-directory");E("ERR_FS_CP_EEXIST","Target already exists");E("ERR_FS_CP_EINVAL","Invalid src or dest");E("ERR_FS_CP_FIFO_PIPE","Cannot copy a FIFO pipe");E("ERR_FS_CP_NON_DIR_TO_DIR","Cannot overwrite non-directory with directory");E("ERR_FS_CP_SOCKET","Cannot copy a socket file");E("ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY","Cannot overwrite symlink in subdirectory of self");E("ERR_FS_CP_UNKNOWN","Cannot copy an unknown file type");E("ERR_FS_EISDIR","Path is a directory");i.exports.ERR_INVALID_ARG_TYPE=class ERR_INVALID_ARG_TYPE extends Error{constructor(i,u,A){super();this.code="ERR_INVALID_ARG_TYPE";this.message=`The ${i} argument must be ${u}. Received ${typeof A}`}}},35189:(i,u,A)=>{const I=A(91943);const B=A(84212);const Q=A(6187);const P=A(76562);const D=Q.satisfies(">=16.7.0");const cp=async(i,u,A)=>{const Q=B(A,{copy:["dereference","errorOnExist","filter","force","preserveTimestamps","recursive"]});return D?I.cp(i,u,Q):P(i,u,Q)};i.exports=cp},76562:(i,u,A)=>{"use strict";const{ERR_FS_CP_DIR_TO_NON_DIR:I,ERR_FS_CP_EEXIST:B,ERR_FS_CP_EINVAL:Q,ERR_FS_CP_FIFO_PIPE:P,ERR_FS_CP_NON_DIR_TO_DIR:D,ERR_FS_CP_SOCKET:L,ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY:U,ERR_FS_CP_UNKNOWN:G,ERR_FS_EISDIR:z,ERR_INVALID_ARG_TYPE:W}=A(88314);const{constants:{errno:{EEXIST:Y,EISDIR:J,EINVAL:$,ENOTDIR:K}}}=A(70857);const{chmod:X,copyFile:he,lstat:Ae,mkdir:ye,readdir:be,readlink:Ee,stat:Ce,symlink:we,unlink:ve,utimes:Se}=A(91943);const{dirname:Re,isAbsolute:Ne,join:_e,parse:Oe,resolve:xe,sep:ke,toNamespacedPath:Qe}=A(16928);const{fileURLToPath:Pe}=A(87016);const De={dereference:false,errorOnExist:false,filter:undefined,force:true,preserveTimestamps:false,recursive:false};async function cp(i,u,A){if(A!=null&&typeof A!=="object"){throw new W("options",["Object"],A)}return cpFn(Qe(getValidatedPath(i)),Qe(getValidatedPath(u)),{...De,...A})}function getValidatedPath(i){const u=i!=null&&i.href&&i.origin?Pe(i):i;return u}async function cpFn(i,u,A){if(A.preserveTimestamps&&process.arch==="ia32"){const i="Using the preserveTimestamps option in 32-bit "+"node is not recommended";process.emitWarning(i,"TimestampPrecisionWarning")}const I=await checkPaths(i,u,A);const{srcStat:B,destStat:Q}=I;await checkParentPaths(i,B,u);if(A.filter){return handleFilter(checkParentDir,Q,i,u,A)}return checkParentDir(Q,i,u,A)}async function checkPaths(i,u,A){const{0:B,1:P}=await getStats(i,u,A);if(P){if(areIdentical(B,P)){throw new Q({message:"src and dest cannot be the same",path:u,syscall:"cp",errno:$})}if(B.isDirectory()&&!P.isDirectory()){throw new I({message:`cannot overwrite directory ${i} `+`with non-directory ${u}`,path:u,syscall:"cp",errno:J})}if(!B.isDirectory()&&P.isDirectory()){throw new D({message:`cannot overwrite non-directory ${i} `+`with directory ${u}`,path:u,syscall:"cp",errno:K})}}if(B.isDirectory()&&isSrcSubdir(i,u)){throw new Q({message:`cannot copy ${i} to a subdirectory of self ${u}`,path:u,syscall:"cp",errno:$})}return{srcStat:B,destStat:P}}function areIdentical(i,u){return u.ino&&u.dev&&u.ino===i.ino&&u.dev===i.dev}function getStats(i,u,A){const I=A.dereference?i=>Ce(i,{bigint:true}):i=>Ae(i,{bigint:true});return Promise.all([I(i),I(u).catch((i=>{if(i.code==="ENOENT"){return null}throw i}))])}async function checkParentDir(i,u,A,I){const B=Re(A);const Q=await pathExists(B);if(Q){return getStatsForCopy(i,u,A,I)}await ye(B,{recursive:true});return getStatsForCopy(i,u,A,I)}function pathExists(i){return Ce(i).then((()=>true),(i=>i.code==="ENOENT"?false:Promise.reject(i)))}async function checkParentPaths(i,u,A){const I=xe(Re(i));const B=xe(Re(A));if(B===I||B===Oe(B).root){return}let P;try{P=await Ce(B,{bigint:true})}catch(i){if(i.code==="ENOENT"){return}throw i}if(areIdentical(u,P)){throw new Q({message:`cannot copy ${i} to a subdirectory of self ${A}`,path:A,syscall:"cp",errno:$})}return checkParentPaths(i,u,B)}const normalizePathToArray=i=>xe(i).split(ke).filter(Boolean);function isSrcSubdir(i,u){const A=normalizePathToArray(i);const I=normalizePathToArray(u);return A.every(((i,u)=>I[u]===i))}async function handleFilter(i,u,A,I,B,Q){const P=await B.filter(A,I);if(P){return i(u,A,I,B,Q)}}function startCopy(i,u,A,I){if(I.filter){return handleFilter(getStatsForCopy,i,u,A,I)}return getStatsForCopy(i,u,A,I)}async function getStatsForCopy(i,u,A,I){const B=I.dereference?Ce:Ae;const Q=await B(u);if(Q.isDirectory()&&I.recursive){return onDir(Q,i,u,A,I)}else if(Q.isDirectory()){throw new z({message:`${u} is a directory (not copied)`,path:u,syscall:"cp",errno:$})}else if(Q.isFile()||Q.isCharacterDevice()||Q.isBlockDevice()){return onFile(Q,i,u,A,I)}else if(Q.isSymbolicLink()){return onLink(i,u,A)}else if(Q.isSocket()){throw new L({message:`cannot copy a socket file: ${A}`,path:A,syscall:"cp",errno:$})}else if(Q.isFIFO()){throw new P({message:`cannot copy a FIFO pipe: ${A}`,path:A,syscall:"cp",errno:$})}throw new G({message:`cannot copy an unknown file type: ${A}`,path:A,syscall:"cp",errno:$})}function onFile(i,u,A,I,B){if(!u){return _copyFile(i,A,I,B)}return mayCopyFile(i,A,I,B)}async function mayCopyFile(i,u,A,I){if(I.force){await ve(A);return _copyFile(i,u,A,I)}else if(I.errorOnExist){throw new B({message:`${A} already exists`,path:A,syscall:"cp",errno:Y})}}async function _copyFile(i,u,A,I){await he(u,A);if(I.preserveTimestamps){return handleTimestampsAndMode(i.mode,u,A)}return setDestMode(A,i.mode)}async function handleTimestampsAndMode(i,u,A){if(fileIsNotWritable(i)){await makeFileWritable(A,i);return setDestTimestampsAndMode(i,u,A)}return setDestTimestampsAndMode(i,u,A)}function fileIsNotWritable(i){return(i&128)===0}function makeFileWritable(i,u){return setDestMode(i,u|128)}async function setDestTimestampsAndMode(i,u,A){await setDestTimestamps(u,A);return setDestMode(A,i)}function setDestMode(i,u){return X(i,u)}async function setDestTimestamps(i,u){const A=await Ce(i);return Se(u,A.atime,A.mtime)}function onDir(i,u,A,I,B){if(!u){return mkDirAndCopy(i.mode,A,I,B)}return copyDir(A,I,B)}async function mkDirAndCopy(i,u,A,I){await ye(A);await copyDir(u,A,I);return setDestMode(A,i)}async function copyDir(i,u,A){const I=await be(i);for(let B=0;B{"use strict";const I=A(35189);const B=A(16974);const Q=A(99367);const P=A(64851);i.exports={cp:I,withTempDir:B,readdirScoped:Q,moveFile:P}},64851:(i,u,A)=>{const{dirname:I,join:B,resolve:Q,relative:P,isAbsolute:D}=A(16928);const L=A(91943);const pathExists=async i=>{try{await L.access(i);return true}catch(i){return i.code!=="ENOENT"}};const moveFile=async(i,u,A={},U=true,G=[])=>{if(!i||!u){throw new TypeError("`source` and `destination` file required")}A={overwrite:true,...A};if(!A.overwrite&&await pathExists(u)){throw new Error(`The destination file exists: ${u}`)}await L.mkdir(I(u),{recursive:true});try{await L.rename(i,u)}catch(I){if(I.code==="EXDEV"||I.code==="EPERM"){const I=await L.lstat(i);if(I.isDirectory()){const I=await L.readdir(i);await Promise.all(I.map((I=>moveFile(B(i,I),B(u,I),A,false,G))))}else if(I.isSymbolicLink()){G.push({source:i,destination:u})}else{await L.copyFile(i,u)}}else{throw I}}if(U){await Promise.all(G.map((async({source:i,destination:u})=>{let A=await L.readlink(i);if(D(A)){A=Q(u,P(i,A))}let B="file";try{B=await L.stat(Q(I(i),A));if(B.isDirectory()){B="junction"}}catch{}await L.symlink(A,u,B)})));await L.rm(i,{recursive:true,force:true})}};i.exports=moveFile},99367:(i,u,A)=>{const{readdir:I}=A(91943);const{join:B}=A(16928);const readdirScoped=async i=>{const u=[];for(const A of await I(i)){if(A.startsWith("@")){for(const Q of await I(B(i,A))){u.push(B(A,Q))}}else{u.push(A)}}return u};i.exports=readdirScoped},16974:(i,u,A)=>{const{join:I,sep:B}=A(16928);const Q=A(84212);const{mkdir:P,mkdtemp:D,rm:L}=A(91943);const withTempDir=async(i,u,A)=>{const U=Q(A,{copy:["tmpPrefix"]});await P(i,{recursive:true});const G=await D(I(`${i}${B}`,U.tmpPrefix||""));let z;let W;try{W=await u(G)}catch(i){z=i}try{await L(G,{force:true,recursive:true})}catch{}if(z){throw z}return W};i.exports=withTempDir},4027:(i,u,A)=>{const I=A(25456);const{redactUrlPassword:B}=A(47142);const Q="***";const redact=i=>{if(typeof i!=="string"||!i){return i}return B(i,Q).replace(I.NPM_SECRET.pattern,`npm_${Q}`).replace(I.UUID.pattern,Q)};const splitAndRedact=i=>{const u=/[\s=]/g;let A=null;let I="";let B=0;while(A=u.exec(i)){I+=redact(i.slice(B,A.index))+A[0];B=u.lastIndex}return I+redact(i.slice(B))};const redactLog=i=>{if(typeof i==="string"){return splitAndRedact(i)}else if(Array.isArray(i)){return i.map((i=>typeof i==="string"?splitAndRedact(i):i))}return i};i.exports={redact:redact,redactLog:redactLog}},25456:i=>{const u="regex";const A="url";const I="path";const B={type:u,pattern:/\b(npms?_)[a-zA-Z0-9]{36,48}\b/gi,replacement:`[REDACTED_NPM_SECRET]`};const Q={type:u,pattern:/\b(Basic\s+|Bearer\s+)[\w+=\-.]+\b/gi,replacement:`[REDACTED_AUTH_HEADER]`};const P={type:u,pattern:/\b[A-Za-z0-9-_]{10,}(?!\.\d+\.)\.[A-Za-z0-9-_]{3,}\.[A-Za-z0-9-_]{20,}\b/gi,replacement:`[REDACTED_JSON_WEB_TOKEN]`};const D={type:u,pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi,replacement:`[REDACTED_UUID]`};const L={type:u,pattern:/(?:https?|ftp):\/\/[^\s/"$.?#].[^\s"]*/gi,replacement:"[REDACTED_URL]"};const U={type:I,predicate:({path:i})=>i.endsWith(".headers.authorization"),replacement:"[REDACTED_HEADER_AUTHORIZATION]"};const G={type:I,predicate:({path:i})=>i.endsWith(".headers.set-cookie"),replacement:"[REDACTED_HEADER_SET_COOKIE]"};const z={type:I,predicate:({path:i})=>i.endsWith(".headers.cookie"),replacement:"[REDACTED_HEADER_COOKIE]"};const W={type:I,predicate:({path:i})=>i.endsWith(".request"),replacement:i=>({method:i?.method,path:i?.path,headers:i?.headers,url:i?.url})};const Y={type:I,predicate:({path:i})=>i.endsWith(".response"),replacement:i=>({data:i?.data,status:i?.status,headers:i?.headers})};i.exports={TYPE_REGEX:u,TYPE_URL:A,TYPE_PATH:I,NPM_SECRET:B,AUTH_HEADER:Q,JSON_WEB_TOKEN:P,UUID:D,URL_MATCHER:L,DEEP_HEADER_AUTHORIZATION:U,DEEP_HEADER_SET_COOKIE:G,DEEP_HEADER_COOKIE:z,REWRITE_REQUEST:W,REWRITE_RESPONSE:Y}},47142:(i,u,A)=>{const{URL_MATCHER:I,TYPE_URL:B,TYPE_REGEX:Q,TYPE_PATH:P}=A(25456);const asterisk=(i=0)=>{i=typeof i==="string"?i.length:i;if(i<8){return"*".repeat(8)}return"*".repeat(i)};const escapeRegExp=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`);const urlEncodeRegexGroup=i=>{const u=decodeURIComponent(i);const A=encodeURIComponent(i);const I=[...new Set([A,u,i])].map(escapeRegExp).join("|");return I};const urlEncodeRegexTag=(i,...u)=>{let A="";for(let I=0;I({type:B,predicate:({url:u})=>u.hostname===i,pattern:({url:i})=>urlEncodeRegexTag`(^${i.protocol}//${i.username}:.+@)?${i.hostname}`,replacement:`$1${u||asterisk()}`});const redactUrlSearchParamsMatcher=({param:i,replacement:u}={})=>({type:B,predicate:({url:u})=>u.searchParams.has(i),pattern:({url:u})=>urlEncodeRegexTag`(${i}=)${u.searchParams.get(i)}`,replacement:`$1${u||asterisk()}`});const redactUrlPasswordMatcher=({replacement:i}={})=>({type:B,predicate:({url:i})=>i.password,pattern:({url:i})=>urlEncodeRegexTag`(^${i.protocol}//${i.username}:)${i.password}`,replacement:`$1${i||asterisk()}`});const redactUrlReplacement=(...i)=>u=>{try{const A=new URL(u);return redactMatchers(...i)(u,{url:A})}catch(i){return u}};const redactUrlMatcher=(...i)=>({...I,replacement:redactUrlReplacement(...i)});const D={[Q]:i=>u=>{if(typeof u==="string"){u=u.replace(i.pattern,i.replacement)}return u},[B]:i=>(u,A)=>{if(typeof u==="string"){try{const I=A?.url||new URL(u);const{predicate:B,pattern:Q}=i;const P=B({url:I});if(P){u=u.replace(Q({url:I}),i.replacement)}}catch(i){return u}}return u},[P]:i=>(u,A)=>{const I=A?.path;const B=I.join(".").toLowerCase();const{predicate:Q,replacement:P}=i;const D=typeof P==="function"?P:()=>P;const L=Q({rawPath:I,path:B});if(L){u=D(u,{rawPath:I,path:B})}return u}};const redactMatcher=i=>D[i.type](i);const redactMatchers=(...i)=>(u,A)=>{const I=i.flat();return I.reduce(((i,u)=>{const I=typeof u==="function"?u:redactMatcher(u);return I(i,A)}),u)};const redactDynamicReplacement=()=>(i,u)=>{if(typeof u==="number"){return asterisk(i)}return u+asterisk(i.substring(u.length).length)};const redactFixedReplacement=i=>(u,A)=>{if(typeof A==="number"){return asterisk(i)}return A+asterisk(i)};const redactUrlPassword=(i,u)=>redactMatchers(redactUrlPasswordMatcher({replacement:u}))(i);i.exports={asterisk:asterisk,escapeRegExp:escapeRegExp,urlEncodeRegexGroup:urlEncodeRegexGroup,urlEncodeRegexTag:urlEncodeRegexTag,redactUrlHostnameMatcher:redactUrlHostnameMatcher,redactUrlSearchParamsMatcher:redactUrlSearchParamsMatcher,redactUrlPasswordMatcher:redactUrlPasswordMatcher,redactUrlMatcher:redactUrlMatcher,redactUrlReplacement:redactUrlReplacement,redactDynamicReplacement:redactDynamicReplacement,redactFixedReplacement:redactFixedReplacement,redactMatchers:redactMatchers,redactUrlPassword:redactUrlPassword}},77864:i=>{"use strict";var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{createTokenAuth:()=>U});i.exports=__toCommonJS(Q);var P=/^v1\./;var D=/^ghs_/;var L=/^ghu_/;async function auth(i){const u=i.split(/\./).length===3;const A=P.test(i)||D.test(i);const I=L.test(i);const B=u?"app":A?"installation":I?"user-to-server":"oauth";return{type:"token",token:i,tokenType:B}}function withAuthorizationPrefix(i){if(i.split(/\./).length===3){return`bearer ${i}`}return`token ${i}`}async function hook(i,u,A,I){const B=u.endpoint.merge(A,I);B.headers.authorization=withAuthorizationPrefix(i);return u(B)}var U=function createTokenAuth2(i){if(!i){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof i!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}i=i.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,i),{hook:hook.bind(null,i)})};0&&0},61897:(i,u,A)=>{"use strict";var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{Octokit:()=>X});i.exports=__toCommonJS(D);var L=A(33843);var U=A(52732);var G=A(66255);var z=A(70007);var W=A(77864);var Y="5.2.2";var noop=()=>{};var J=console.warn.bind(console);var $=console.error.bind(console);function createLogger(i={}){if(typeof i.debug!=="function"){i.debug=noop}if(typeof i.info!=="function"){i.info=noop}if(typeof i.warn!=="function"){i.warn=J}if(typeof i.error!=="function"){i.error=$}return i}var K=`octokit-core.js/${Y} ${(0,L.getUserAgent)()}`;var X=class{static{this.VERSION=Y}static defaults(i){const u=class extends(this){constructor(...u){const A=u[0]||{};if(typeof i==="function"){super(i(A));return}super(Object.assign({},i,A,A.userAgent&&i.userAgent?{userAgent:`${A.userAgent} ${i.userAgent}`}:null))}};return u}static{this.plugins=[]}static plugin(...i){const u=this.plugins;const A=class extends(this){static{this.plugins=u.concat(i.filter((i=>!u.includes(i))))}};return A}constructor(i={}){const u=new U.Collection;const A={baseUrl:G.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},i.request,{hook:u.bind(null,"request")}),mediaType:{previews:[],format:""}};A.headers["user-agent"]=i.userAgent?`${i.userAgent} ${K}`:K;if(i.baseUrl){A.baseUrl=i.baseUrl}if(i.previews){A.mediaType.previews=i.previews}if(i.timeZone){A.headers["time-zone"]=i.timeZone}this.request=G.request.defaults(A);this.graphql=(0,z.withCustomRequest)(this.request).defaults(A);this.log=createLogger(i.log);this.hook=u;if(!i.authStrategy){if(!i.auth){this.auth=async()=>({type:"unauthenticated"})}else{const A=(0,W.createTokenAuth)(i.auth);u.wrap("request",A.hook);this.auth=A}}else{const{authStrategy:A,...I}=i;const B=A(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:I},i.auth));u.wrap("request",B.hook);this.auth=B}const I=this.constructor;for(let u=0;u{"use strict";var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{endpoint:()=>Y});i.exports=__toCommonJS(D);var L=A(33843);var U="9.0.6";var G=`octokit-endpoint.js/${U} ${(0,L.getUserAgent)()}`;var z={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":G},mediaType:{format:""}};function lowercaseKeys(i){if(!i){return{}}return Object.keys(i).reduce(((u,A)=>{u[A.toLowerCase()]=i[A];return u}),{})}function isPlainObject(i){if(typeof i!=="object"||i===null)return false;if(Object.prototype.toString.call(i)!=="[object Object]")return false;const u=Object.getPrototypeOf(i);if(u===null)return true;const A=Object.prototype.hasOwnProperty.call(u,"constructor")&&u.constructor;return typeof A==="function"&&A instanceof A&&Function.prototype.call(A)===Function.prototype.call(i)}function mergeDeep(i,u){const A=Object.assign({},i);Object.keys(u).forEach((I=>{if(isPlainObject(u[I])){if(!(I in i))Object.assign(A,{[I]:u[I]});else A[I]=mergeDeep(i[I],u[I])}else{Object.assign(A,{[I]:u[I]})}}));return A}function removeUndefinedProperties(i){for(const u in i){if(i[u]===void 0){delete i[u]}}return i}function merge(i,u,A){if(typeof u==="string"){let[i,I]=u.split(" ");A=Object.assign(I?{method:i,url:I}:{url:i},A)}else{A=Object.assign({},u)}A.headers=lowercaseKeys(A.headers);removeUndefinedProperties(A);removeUndefinedProperties(A.headers);const I=mergeDeep(i||{},A);if(A.url==="/graphql"){if(i&&i.mediaType.previews?.length){I.mediaType.previews=i.mediaType.previews.filter((i=>!I.mediaType.previews.includes(i))).concat(I.mediaType.previews)}I.mediaType.previews=(I.mediaType.previews||[]).map((i=>i.replace(/-preview/,"")))}return I}function addQueryParameters(i,u){const A=/\?/.test(i)?"&":"?";const I=Object.keys(u);if(I.length===0){return i}return i+A+I.map((i=>{if(i==="q"){return"q="+u.q.split("+").map(encodeURIComponent).join("+")}return`${i}=${encodeURIComponent(u[i])}`})).join("&")}var W=/\{[^{}}]+\}/g;function removeNonChars(i){return i.replace(/(?:^\W+)|(?:(?i.concat(u)),[])}function omit(i,u){const A={__proto__:null};for(const I of Object.keys(i)){if(u.indexOf(I)===-1){A[I]=i[I]}}return A}function encodeReserved(i){return i.split(/(%[0-9A-Fa-f]{2})/g).map((function(i){if(!/%[0-9A-Fa-f]/.test(i)){i=encodeURI(i).replace(/%5B/g,"[").replace(/%5D/g,"]")}return i})).join("")}function encodeUnreserved(i){return encodeURIComponent(i).replace(/[!'()*]/g,(function(i){return"%"+i.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(i,u,A){u=i==="+"||i==="#"?encodeReserved(u):encodeUnreserved(u);if(A){return encodeUnreserved(A)+"="+u}else{return u}}function isDefined(i){return i!==void 0&&i!==null}function isKeyOperator(i){return i===";"||i==="&"||i==="?"}function getValues(i,u,A,I){var B=i[A],Q=[];if(isDefined(B)&&B!==""){if(typeof B==="string"||typeof B==="number"||typeof B==="boolean"){B=B.toString();if(I&&I!=="*"){B=B.substring(0,parseInt(I,10))}Q.push(encodeValue(u,B,isKeyOperator(u)?A:""))}else{if(I==="*"){if(Array.isArray(B)){B.filter(isDefined).forEach((function(i){Q.push(encodeValue(u,i,isKeyOperator(u)?A:""))}))}else{Object.keys(B).forEach((function(i){if(isDefined(B[i])){Q.push(encodeValue(u,B[i],i))}}))}}else{const i=[];if(Array.isArray(B)){B.filter(isDefined).forEach((function(A){i.push(encodeValue(u,A))}))}else{Object.keys(B).forEach((function(A){if(isDefined(B[A])){i.push(encodeUnreserved(A));i.push(encodeValue(u,B[A].toString()))}}))}if(isKeyOperator(u)){Q.push(encodeUnreserved(A)+"="+i.join(","))}else if(i.length!==0){Q.push(i.join(","))}}}}else{if(u===";"){if(isDefined(B)){Q.push(encodeUnreserved(A))}}else if(B===""&&(u==="&"||u==="?")){Q.push(encodeUnreserved(A)+"=")}else if(B===""){Q.push("")}}return Q}function parseUrl(i){return{expand:expand.bind(null,i)}}function expand(i,u){var A=["+","#",".","/",";","?","&"];i=i.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(i,I,B){if(I){let i="";const B=[];if(A.indexOf(I.charAt(0))!==-1){i=I.charAt(0);I=I.substr(1)}I.split(/,/g).forEach((function(A){var I=/([^:\*]*)(?::(\d+)|(\*))?/.exec(A);B.push(getValues(u,i,I[1],I[2]||I[3]))}));if(i&&i!=="+"){var Q=",";if(i==="?"){Q="&"}else if(i!=="#"){Q=i}return(B.length!==0?i:"")+B.join(Q)}else{return B.join(",")}}else{return encodeReserved(B)}}));if(i==="/"){return i}else{return i.replace(/\/$/,"")}}function parse(i){let u=i.method.toUpperCase();let A=(i.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let I=Object.assign({},i.headers);let B;let Q=omit(i,["method","baseUrl","url","headers","request","mediaType"]);const P=extractUrlVariableNames(A);A=parseUrl(A).expand(Q);if(!/^http/.test(A)){A=i.baseUrl+A}const D=Object.keys(i).filter((i=>P.includes(i))).concat("baseUrl");const L=omit(Q,D);const U=/application\/octet-stream/i.test(I.accept);if(!U){if(i.mediaType.format){I.accept=I.accept.split(/,/).map((u=>u.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${i.mediaType.format}`))).join(",")}if(A.endsWith("/graphql")){if(i.mediaType.previews?.length){const u=I.accept.match(/(?{const A=i.mediaType.format?`.${i.mediaType.format}`:"+json";return`application/vnd.github.${u}-preview${A}`})).join(",")}}}if(["GET","HEAD"].includes(u)){A=addQueryParameters(A,L)}else{if("data"in L){B=L.data}else{if(Object.keys(L).length){B=L}}}if(!I["content-type"]&&typeof B!=="undefined"){I["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(u)&&typeof B==="undefined"){B=""}return Object.assign({method:u,url:A,headers:I},typeof B!=="undefined"?{body:B}:null,i.request?{request:i.request}:null)}function endpointWithDefaults(i,u,A){return parse(merge(i,u,A))}function withDefaults(i,u){const A=merge(i,u);const I=endpointWithDefaults.bind(null,A);return Object.assign(I,{DEFAULTS:A,defaults:withDefaults.bind(null,A),merge:merge.bind(null,A),parse:parse})}var Y=withDefaults(null,z);0&&0},70007:(i,u,A)=>{"use strict";var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{GraphqlResponseError:()=>Y,graphql:()=>X,withCustomRequest:()=>withCustomRequest});i.exports=__toCommonJS(D);var L=A(66255);var U=A(33843);var G="7.1.1";var z=A(66255);var W=A(66255);function _buildMessageForResponseErrors(i){return`Request failed due to following response errors:\n`+i.errors.map((i=>` - ${i.message}`)).join("\n")}var Y=class extends Error{constructor(i,u,A){super(_buildMessageForResponseErrors(A));this.request=i;this.headers=u;this.response=A;this.name="GraphqlResponseError";this.errors=A.errors;this.data=A.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var J=["method","baseUrl","url","headers","request","query","mediaType"];var $=["query","method","url"];var K=/\/api\/v3\/?$/;function graphql(i,u,A){if(A){if(typeof u==="string"&&"query"in A){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const i in A){if(!$.includes(i))continue;return Promise.reject(new Error(`[@octokit/graphql] "${i}" cannot be used as variable name`))}}const I=typeof u==="string"?Object.assign({query:u},A):u;const B=Object.keys(I).reduce(((i,u)=>{if(J.includes(u)){i[u]=I[u];return i}if(!i.variables){i.variables={}}i.variables[u]=I[u];return i}),{});const Q=I.baseUrl||i.endpoint.DEFAULTS.baseUrl;if(K.test(Q)){B.url=Q.replace(K,"/api/graphql")}return i(B).then((i=>{if(i.data.errors){const u={};for(const A of Object.keys(i.headers)){u[A]=i.headers[A]}throw new Y(B,u,i.data)}return i.data.data}))}function withDefaults(i,u){const A=i.defaults(u);const newApi=(i,u)=>graphql(A,i,u);return Object.assign(newApi,{defaults:withDefaults.bind(null,A),endpoint:A.endpoint})}var X=withDefaults(L.request,{headers:{"user-agent":`octokit-graphql.js/${G} ${(0,U.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(i){return withDefaults(i,{method:"POST",url:"/graphql"})}0&&0},38082:i=>{"use strict";var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{composePaginateRest:()=>D,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>L});i.exports=__toCommonJS(Q);var P="9.2.2";function normalizePaginatedListResponse(i){if(!i.data){return{...i,data:[]}}const u="total_count"in i.data&&!("url"in i.data);if(!u)return i;const A=i.data.incomplete_results;const I=i.data.repository_selection;const B=i.data.total_count;delete i.data.incomplete_results;delete i.data.repository_selection;delete i.data.total_count;const Q=Object.keys(i.data)[0];const P=i.data[Q];i.data=P;if(typeof A!=="undefined"){i.data.incomplete_results=A}if(typeof I!=="undefined"){i.data.repository_selection=I}i.data.total_count=B;return i}function iterator(i,u,A){const I=typeof u==="function"?u.endpoint(A):i.request.endpoint(u,A);const B=typeof u==="function"?u:i.request;const Q=I.method;const P=I.headers;let D=I.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!D)return{done:true};try{const i=await B({method:Q,url:D,headers:P});const u=normalizePaginatedListResponse(i);D=((u.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1];return{value:u}}catch(i){if(i.status!==409)throw i;D="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(i,u,A,I){if(typeof A==="function"){I=A;A=void 0}return gather(i,[],iterator(i,u,A)[Symbol.asyncIterator](),I)}function gather(i,u,A,I){return A.next().then((B=>{if(B.done){return u}let Q=false;function done(){Q=true}u=u.concat(I?I(B.value,done):B.value.data);if(Q){return u}return gather(i,u,A,I)}))}var D=Object.assign(paginate,{iterator:iterator});var L=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(i){if(typeof i==="string"){return L.includes(i)}else{return false}}function paginateRest(i){return{paginate:Object.assign(paginate.bind(null,i),{iterator:iterator.bind(null,i)})}}paginateRest.VERSION=P;0&&0},6966:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});const A="1.0.4";function requestLog(i){i.hook.wrap("request",((u,A)=>{i.log.debug("request",A);const I=Date.now();const B=i.request.endpoint.parse(A);const Q=B.url.replace(A.baseUrl,"");return u(A).then((u=>{i.log.info(`${B.method} ${Q} - ${u.status} in ${Date.now()-I}ms`);return u})).catch((u=>{i.log.info(`${B.method} ${Q} - ${u.status} in ${Date.now()-I}ms`);throw u}))}))}requestLog.VERSION=A;u.requestLog=requestLog},84935:i=>{"use strict";var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});i.exports=__toCommonJS(Q);var P="10.4.1";var D={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var L=D;var U=new Map;for(const[i,u]of Object.entries(L)){for(const[A,I]of Object.entries(u)){const[u,B,Q]=I;const[P,D]=u.split(/ /);const L=Object.assign({method:P,url:D},B);if(!U.has(i)){U.set(i,new Map)}U.get(i).set(A,{scope:i,methodName:A,endpointDefaults:L,decorations:Q})}}var G={has({scope:i},u){return U.get(i).has(u)},getOwnPropertyDescriptor(i,u){return{value:this.get(i,u),configurable:true,writable:true,enumerable:true}},defineProperty(i,u,A){Object.defineProperty(i.cache,u,A);return true},deleteProperty(i,u){delete i.cache[u];return true},ownKeys({scope:i}){return[...U.get(i).keys()]},set(i,u,A){return i.cache[u]=A},get({octokit:i,scope:u,cache:A},I){if(A[I]){return A[I]}const B=U.get(u).get(I);if(!B){return void 0}const{endpointDefaults:Q,decorations:P}=B;if(P){A[I]=decorate(i,u,I,Q,P)}else{A[I]=i.request.defaults(Q)}return A[I]}};function endpointsToMethods(i){const u={};for(const A of U.keys()){u[A]=new Proxy({octokit:i,scope:A,cache:{}},G)}return u}function decorate(i,u,A,I,B){const Q=i.request.defaults(I);function withDecorations(...I){let P=Q.endpoint.merge(...I);if(B.mapToData){P=Object.assign({},P,{data:P[B.mapToData],[B.mapToData]:void 0});return Q(P)}if(B.renamed){const[I,Q]=B.renamed;i.log.warn(`octokit.${u}.${A}() has been renamed to octokit.${I}.${Q}()`)}if(B.deprecated){i.log.warn(B.deprecated)}if(B.renamedParameters){const P=Q.endpoint.merge(...I);for(const[I,Q]of Object.entries(B.renamedParameters)){if(I in P){i.log.warn(`"${I}" parameter is deprecated for "octokit.${u}.${A}()". Use "${Q}" instead`);if(!(Q in P)){P[Q]=P[I]}delete P[I]}}return Q(P)}return Q(...I)}return Object.assign(withDecorations,Q)}function restEndpointMethods(i){const u=endpointsToMethods(i);return{rest:u}}restEndpointMethods.VERSION=P;function legacyRestEndpointMethods(i){const u=endpointsToMethods(i);return{...u,rest:u}}legacyRestEndpointMethods.VERSION=P;0&&0},33450:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});function _interopDefault(i){return i&&typeof i==="object"&&"default"in i?i["default"]:i}var I=_interopDefault(A(63251));async function errorRequest(i,u,A,I){if(!A.request||!A.request.request){throw A}if(A.status>=400&&!u.doNotRetry.includes(A.status)){const B=I.request.retries!=null?I.request.retries:u.retries;const Q=Math.pow((I.request.retryCount||0)+1,2);throw i.retry.retryRequest(A,B,Q)}throw A}async function wrapRequest(i,u,A){const B=new I;B.on("failed",(function(u,I){const B=~~u.request.request.retries;const Q=~~u.request.request.retryAfter;A.request.retryCount=I.retryCount+1;if(B>I.retryCount){return Q*i.retryAfterBaseValue}}));return B.schedule(u,A)}const B="3.0.9";function retry(i,u){const A=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422],retries:3},u.retry);if(A.enabled){i.hook.error("request",errorRequest.bind(null,i,A));i.hook.wrap("request",wrapRequest.bind(null,A))}return{retry:{retryRequest:(i,u,A)=>{i.request.request=Object.assign({},i.request.request,{retries:u,retryAfter:A});return i}}}}retry.VERSION=B;u.VERSION=B;u.retry=retry},93708:(i,u,A)=>{"use strict";var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{RequestError:()=>J});i.exports=__toCommonJS(U);var G=A(14150);var z=__toESM(A(55560));var W=(0,z.default)((i=>console.warn(i)));var Y=(0,z.default)((i=>console.warn(i)));var J=class extends Error{constructor(i,u,A){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=u;let I;if("headers"in A&&typeof A.headers!=="undefined"){I=A.headers}if("response"in A){this.response=A.response;I=A.response.headers}const B=Object.assign({},A.request);if(A.request.headers.authorization){B.headers=Object.assign({},A.request.headers,{authorization:A.request.headers.authorization.replace(/(?{"use strict";var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{request:()=>W});i.exports=__toCommonJS(D);var L=A(54471);var U=A(33843);var G="8.4.1";function isPlainObject(i){if(typeof i!=="object"||i===null)return false;if(Object.prototype.toString.call(i)!=="[object Object]")return false;const u=Object.getPrototypeOf(i);if(u===null)return true;const A=Object.prototype.hasOwnProperty.call(u,"constructor")&&u.constructor;return typeof A==="function"&&A instanceof A&&Function.prototype.call(A)===Function.prototype.call(i)}var z=A(93708);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var u,A,I,B;const Q=i.request&&i.request.log?i.request.log:console;const P=((u=i.request)==null?void 0:u.parseSuccessResponseBody)!==false;if(isPlainObject(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let D={};let L;let U;let{fetch:G}=globalThis;if((A=i.request)==null?void 0:A.fetch){G=i.request.fetch}if(!G){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return G(i.url,{method:i.method,body:i.body,redirect:(I=i.request)==null?void 0:I.redirect,headers:i.headers,signal:(B=i.request)==null?void 0:B.signal,...i.body&&{duplex:"half"}}).then((async u=>{U=u.url;L=u.status;for(const i of u.headers){D[i[0]]=i[1]}if("deprecation"in D){const u=D.link&&D.link.match(/<([^<>]+)>; rel="deprecation"/);const A=u&&u.pop();Q.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${D.sunset}${A?`. See ${A}`:""}`)}if(L===204||L===205){return}if(i.method==="HEAD"){if(L<400){return}throw new z.RequestError(u.statusText,L,{response:{url:U,status:L,headers:D,data:void 0},request:i})}if(L===304){throw new z.RequestError("Not modified",L,{response:{url:U,status:L,headers:D,data:await getResponseData(u)},request:i})}if(L>=400){const A=await getResponseData(u);const I=new z.RequestError(toErrorMessage(A),L,{response:{url:U,status:L,headers:D,data:A},request:i});throw I}return P?await getResponseData(u):u.body})).then((i=>({status:L,url:U,headers:D,data:i}))).catch((u=>{if(u instanceof z.RequestError)throw u;else if(u.name==="AbortError")throw u;let A=u.message;if(u.name==="TypeError"&&"cause"in u){if(u.cause instanceof Error){A=u.cause.message}else if(typeof u.cause==="string"){A=u.cause}}throw new z.RequestError(A,500,{request:i})}))}async function getResponseData(i){const u=i.headers.get("content-type");if(/application\/json/.test(u)){return i.json().catch((()=>i.text())).catch((()=>""))}if(!u||/^text\/|charset=utf-8$/.test(u)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;let u;if("documentation_url"in i){u=` - ${i.documentation_url}`}else{u=""}if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}${u}`}return`${i.message}${u}`}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,u){const A=i.defaults(u);const newApi=function(i,u){const I=A.merge(i,u);if(!I.request||!I.request.hook){return fetchWrapper(A.parse(I))}const request2=(i,u)=>fetchWrapper(A.parse(A.merge(i,u)));Object.assign(request2,{endpoint:A,defaults:withDefaults.bind(null,A)});return I.request.hook(request2,I)};return Object.assign(newApi,{endpoint:A,defaults:withDefaults.bind(null,A)})}var W=withDefaults(L.endpoint,{headers:{"user-agent":`octokit-request.js/${G} ${(0,U.getUserAgent)()}`}});0&&0},37889:function(i,u){"use strict";var A=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(i,u,A,I,B,Q,P){this.method=i;this.requestHeaders=u;this.requests=A;this.headers=I;this.response=B;this.status=Q;this.trailers=P}then(i,u){return this.promiseFinished().then((u=>i?Promise.resolve(i(u)):u),(i=>u?Promise.resolve(u(i)):Promise.reject(i)))}promiseFinished(){return A(this,void 0,void 0,(function*(){let[i,u,A,I]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,response:u,status:A,trailers:I}}))}}u.ClientStreamingCall=ClientStreamingCall},71409:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Deferred=u.DeferredState=void 0;var A;(function(i){i[i["PENDING"]=0]="PENDING";i[i["REJECTED"]=1]="REJECTED";i[i["RESOLVED"]=2]="RESOLVED"})(A=u.DeferredState||(u.DeferredState={}));class Deferred{constructor(i=true){this._state=A.PENDING;this._promise=new Promise(((i,u)=>{this._resolve=i;this._reject=u}));if(i){this._promise.catch((i=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(i){if(this.state!==A.PENDING)throw new Error(`cannot resolve ${A[this.state].toLowerCase()}`);this._resolve(i);this._state=A.RESOLVED}reject(i){if(this.state!==A.PENDING)throw new Error(`cannot reject ${A[this.state].toLowerCase()}`);this._reject(i);this._state=A.REJECTED}resolvePending(i){if(this._state===A.PENDING)this.resolve(i)}rejectPending(i){if(this._state===A.PENDING)this.reject(i)}}u.Deferred=Deferred},36826:function(i,u){"use strict";var A=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(i,u,A,I,B,Q,P){this.method=i;this.requestHeaders=u;this.requests=A;this.headers=I;this.responses=B;this.status=Q;this.trailers=P}then(i,u){return this.promiseFinished().then((u=>i?Promise.resolve(i(u)):u),(i=>u?Promise.resolve(u(i)):Promise.reject(i)))}promiseFinished(){return A(this,void 0,void 0,(function*(){let[i,u,A]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,status:u,trailers:A}}))}}u.DuplexStreamingCall=DuplexStreamingCall},44420:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});var I=A(56892);Object.defineProperty(u,"ServiceType",{enumerable:true,get:function(){return I.ServiceType}});var B=A(62496);Object.defineProperty(u,"readMethodOptions",{enumerable:true,get:function(){return B.readMethodOptions}});Object.defineProperty(u,"readMethodOption",{enumerable:true,get:function(){return B.readMethodOption}});Object.defineProperty(u,"readServiceOption",{enumerable:true,get:function(){return B.readServiceOption}});var Q=A(78636);Object.defineProperty(u,"RpcError",{enumerable:true,get:function(){return Q.RpcError}});var P=A(28576);Object.defineProperty(u,"mergeRpcOptions",{enumerable:true,get:function(){return P.mergeRpcOptions}});var D=A(72726);Object.defineProperty(u,"RpcOutputStreamController",{enumerable:true,get:function(){return D.RpcOutputStreamController}});var L=A(79122);Object.defineProperty(u,"TestTransport",{enumerable:true,get:function(){return L.TestTransport}});var U=A(71409);Object.defineProperty(u,"Deferred",{enumerable:true,get:function(){return U.Deferred}});Object.defineProperty(u,"DeferredState",{enumerable:true,get:function(){return U.DeferredState}});var G=A(36826);Object.defineProperty(u,"DuplexStreamingCall",{enumerable:true,get:function(){return G.DuplexStreamingCall}});var z=A(37889);Object.defineProperty(u,"ClientStreamingCall",{enumerable:true,get:function(){return z.ClientStreamingCall}});var W=A(46173);Object.defineProperty(u,"ServerStreamingCall",{enumerable:true,get:function(){return W.ServerStreamingCall}});var Y=A(29288);Object.defineProperty(u,"UnaryCall",{enumerable:true,get:function(){return Y.UnaryCall}});var J=A(52849);Object.defineProperty(u,"stackIntercept",{enumerable:true,get:function(){return J.stackIntercept}});Object.defineProperty(u,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return J.stackDuplexStreamingInterceptors}});Object.defineProperty(u,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return J.stackClientStreamingInterceptors}});Object.defineProperty(u,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return J.stackServerStreamingInterceptors}});Object.defineProperty(u,"stackUnaryInterceptors",{enumerable:true,get:function(){return J.stackUnaryInterceptors}});var $=A(43352);Object.defineProperty(u,"ServerCallContextController",{enumerable:true,get:function(){return $.ServerCallContextController}})},62496:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.readServiceOption=u.readMethodOption=u.readMethodOptions=u.normalizeMethodInfo=void 0;const I=A(68886);function normalizeMethodInfo(i,u){var A,B,Q;let P=i;P.service=u;P.localName=(A=P.localName)!==null&&A!==void 0?A:I.lowerCamelCase(P.name);P.serverStreaming=!!P.serverStreaming;P.clientStreaming=!!P.clientStreaming;P.options=(B=P.options)!==null&&B!==void 0?B:{};P.idempotency=(Q=P.idempotency)!==null&&Q!==void 0?Q:undefined;return P}u.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(i,u,A,I){var B;const Q=(B=i.methods.find(((i,A)=>i.localName===u||A===u)))===null||B===void 0?void 0:B.options;return Q&&Q[A]?I.fromJson(Q[A]):undefined}u.readMethodOptions=readMethodOptions;function readMethodOption(i,u,A,I){var B;const Q=(B=i.methods.find(((i,A)=>i.localName===u||A===u)))===null||B===void 0?void 0:B.options;if(!Q){return undefined}const P=Q[A];if(P===undefined){return P}return I?I.fromJson(P):P}u.readMethodOption=readMethodOption;function readServiceOption(i,u,A){const I=i.options;if(!I){return undefined}const B=I[u];if(B===undefined){return B}return A?A.fromJson(B):B}u.readServiceOption=readServiceOption},78636:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.RpcError=void 0;class RpcError extends Error{constructor(i,u="UNKNOWN",A){super(i);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=u;this.meta=A!==null&&A!==void 0?A:{}}toString(){const i=[this.name+": "+this.message];if(this.code){i.push("");i.push("Code: "+this.code)}if(this.serviceName&&this.methodName){i.push("Method: "+this.serviceName+"/"+this.methodName)}let u=Object.entries(this.meta);if(u.length){i.push("");i.push("Meta:");for(let[A,I]of u){i.push(` ${A}: ${I}`)}}return i.join("\n")}}u.RpcError=RpcError},52849:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.stackDuplexStreamingInterceptors=u.stackClientStreamingInterceptors=u.stackServerStreamingInterceptors=u.stackUnaryInterceptors=u.stackIntercept=void 0;const I=A(68886);function stackIntercept(i,u,A,B,Q){var P,D,L,U;if(i=="unary"){let tail=(i,A,I)=>u.unary(i,A,I);for(const i of((P=B.interceptors)!==null&&P!==void 0?P:[]).filter((i=>i.interceptUnary)).reverse()){const u=tail;tail=(A,I,B)=>i.interceptUnary(u,A,I,B)}return tail(A,Q,B)}if(i=="serverStreaming"){let tail=(i,A,I)=>u.serverStreaming(i,A,I);for(const i of((D=B.interceptors)!==null&&D!==void 0?D:[]).filter((i=>i.interceptServerStreaming)).reverse()){const u=tail;tail=(A,I,B)=>i.interceptServerStreaming(u,A,I,B)}return tail(A,Q,B)}if(i=="clientStreaming"){let tail=(i,A)=>u.clientStreaming(i,A);for(const i of((L=B.interceptors)!==null&&L!==void 0?L:[]).filter((i=>i.interceptClientStreaming)).reverse()){const u=tail;tail=(A,I)=>i.interceptClientStreaming(u,A,I)}return tail(A,B)}if(i=="duplex"){let tail=(i,A)=>u.duplex(i,A);for(const i of((U=B.interceptors)!==null&&U!==void 0?U:[]).filter((i=>i.interceptDuplex)).reverse()){const u=tail;tail=(A,I)=>i.interceptDuplex(u,A,I)}return tail(A,B)}I.assertNever(i)}u.stackIntercept=stackIntercept;function stackUnaryInterceptors(i,u,A,I){return stackIntercept("unary",i,u,I,A)}u.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(i,u,A,I){return stackIntercept("serverStreaming",i,u,I,A)}u.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(i,u,A){return stackIntercept("clientStreaming",i,u,A)}u.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(i,u,A){return stackIntercept("duplex",i,u,A)}u.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},28576:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.mergeRpcOptions=void 0;const I=A(68886);function mergeRpcOptions(i,u){if(!u)return i;let A={};copy(i,A);copy(u,A);for(let B of Object.keys(u)){let Q=u[B];switch(B){case"jsonOptions":A.jsonOptions=I.mergeJsonOptions(i.jsonOptions,A.jsonOptions);break;case"binaryOptions":A.binaryOptions=I.mergeBinaryOptions(i.binaryOptions,A.binaryOptions);break;case"meta":A.meta={};copy(i.meta,A.meta);copy(u.meta,A.meta);break;case"interceptors":A.interceptors=i.interceptors?i.interceptors.concat(Q):Q.concat();break}}return A}u.mergeRpcOptions=mergeRpcOptions;function copy(i,u){if(!i)return;let A=u;for(let[u,I]of Object.entries(i)){if(I instanceof Date)A[u]=new Date(I.getTime());else if(Array.isArray(I))A[u]=I.concat();else A[u]=I}}},72726:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.RpcOutputStreamController=void 0;const I=A(71409);const B=A(68886);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(i){return this.addLis(i,this._lis.nxt)}onMessage(i){return this.addLis(i,this._lis.msg)}onError(i){return this.addLis(i,this._lis.err)}onComplete(i){return this.addLis(i,this._lis.cmp)}addLis(i,u){u.push(i);return()=>{let A=u.indexOf(i);if(A>=0)u.splice(A,1)}}clearLis(){for(let i of Object.values(this._lis))i.splice(0,i.length)}get closed(){return this._closed!==false}notifyNext(i,u,A){B.assert((i?1:0)+(u?1:0)+(A?1:0)<=1,"only one emission at a time");if(i)this.notifyMessage(i);if(u)this.notifyError(u);if(A)this.notifyComplete()}notifyMessage(i){B.assert(!this.closed,"stream is closed");this.pushIt({value:i,done:false});this._lis.msg.forEach((u=>u(i)));this._lis.nxt.forEach((u=>u(i,undefined,false)))}notifyError(i){B.assert(!this.closed,"stream is closed");this._closed=i;this.pushIt(i);this._lis.err.forEach((u=>u(i)));this._lis.nxt.forEach((u=>u(undefined,i,false)));this.clearLis()}notifyComplete(){B.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((i=>i()));this._lis.nxt.forEach((i=>i(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 i=this._itState;B.assert(i,"bad state");B.assert(!i.p,"iterator contract broken");let u=i.q.shift();if(u)return"value"in u?Promise.resolve(u):Promise.reject(u);i.p=new I.Deferred;return i.p.promise}}}pushIt(i){let u=this._itState;if(u.p){const A=u.p;B.assert(A.state==I.DeferredState.PENDING,"iterator contract broken");"value"in i?A.resolve(i):A.reject(i);delete u.p}else{u.q.push(i)}}}u.RpcOutputStreamController=RpcOutputStreamController},43352:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ServerCallContextController=void 0;class ServerCallContextController{constructor(i,u,A,I,B={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=i;this.headers=u;this.deadline=A;this.trailers={};this._sendRH=I;this.status=B}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let i of this._listeners){i()}}}sendResponseHeaders(i){this._sendRH(i)}get cancelled(){return this._cancelled}onCancel(i){const u=this._listeners;u.push(i);return()=>{let A=u.indexOf(i);if(A>=0)u.splice(A,1)}}}u.ServerCallContextController=ServerCallContextController},46173:function(i,u){"use strict";var A=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(i,u,A,I,B,Q,P){this.method=i;this.requestHeaders=u;this.request=A;this.headers=I;this.responses=B;this.status=Q;this.trailers=P}then(i,u){return this.promiseFinished().then((u=>i?Promise.resolve(i(u)):u),(i=>u?Promise.resolve(u(i)):Promise.reject(i)))}promiseFinished(){return A(this,void 0,void 0,(function*(){let[i,u,A]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,status:u,trailers:A}}))}}u.ServerStreamingCall=ServerStreamingCall},56892:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ServiceType=void 0;const I=A(62496);class ServiceType{constructor(i,u,A){this.typeName=i;this.methods=u.map((i=>I.normalizeMethodInfo(i,this)));this.options=A!==null&&A!==void 0?A:{}}}u.ServiceType=ServiceType},79122:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.TestTransport=void 0;const B=A(78636);const Q=A(68886);const P=A(72726);const D=A(28576);const L=A(29288);const U=A(46173);const G=A(37889);const z=A(36826);class TestTransport{constructor(i){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=i!==null&&i!==void 0?i:{}}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 i;const u=(i=this.data.headers)!==null&&i!==void 0?i:TestTransport.defaultHeaders;return u instanceof B.RpcError?Promise.reject(u):Promise.resolve(u)}promiseSingleResponse(i){if(this.data.response instanceof B.RpcError){return Promise.reject(this.data.response)}let u;if(Array.isArray(this.data.response)){Q.assert(this.data.response.length>0);u=this.data.response[0]}else if(this.data.response!==undefined){u=this.data.response}else{u=i.O.create()}Q.assert(i.O.is(u));return Promise.resolve(u)}streamResponses(i,u,A){return I(this,void 0,void 0,(function*(){const I=[];if(this.data.response===undefined){I.push(i.O.create())}else if(Array.isArray(this.data.response)){for(let u of this.data.response){Q.assert(i.O.is(u));I.push(u)}}else if(!(this.data.response instanceof B.RpcError)){Q.assert(i.O.is(this.data.response));I.push(this.data.response)}try{yield delay(this.responseDelay,A)(undefined)}catch(i){u.notifyError(i);return}if(this.data.response instanceof B.RpcError){u.notifyError(this.data.response);return}for(let i of I){u.notifyMessage(i);try{yield delay(this.betweenResponseDelay,A)(undefined)}catch(i){u.notifyError(i);return}}if(this.data.status instanceof B.RpcError){u.notifyError(this.data.status);return}if(this.data.trailers instanceof B.RpcError){u.notifyError(this.data.trailers);return}u.notifyComplete()}))}promiseStatus(){var i;const u=(i=this.data.status)!==null&&i!==void 0?i:TestTransport.defaultStatus;return u instanceof B.RpcError?Promise.reject(u):Promise.resolve(u)}promiseTrailers(){var i;const u=(i=this.data.trailers)!==null&&i!==void 0?i:TestTransport.defaultTrailers;return u instanceof B.RpcError?Promise.reject(u):Promise.resolve(u)}maybeSuppressUncaught(...i){if(this.suppressUncaughtRejections){for(let u of i){u.catch((()=>{}))}}}mergeOptions(i){return D.mergeRpcOptions({},i)}unary(i,u,A){var I;const B=(I=A.meta)!==null&&I!==void 0?I:{},Q=this.promiseHeaders().then(delay(this.headerDelay,A.abort)),P=Q.catch((i=>{})).then(delay(this.responseDelay,A.abort)).then((u=>this.promiseSingleResponse(i))),D=P.catch((i=>{})).then(delay(this.afterResponseDelay,A.abort)).then((i=>this.promiseStatus())),U=P.catch((i=>{})).then(delay(this.afterResponseDelay,A.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(D,U);this.lastInput={single:u};return new L.UnaryCall(i,B,u,Q,P,D,U)}serverStreaming(i,u,A){var I;const B=(I=A.meta)!==null&&I!==void 0?I:{},Q=this.promiseHeaders().then(delay(this.headerDelay,A.abort)),D=new P.RpcOutputStreamController,L=Q.then(delay(this.responseDelay,A.abort)).catch((()=>{})).then((()=>this.streamResponses(i,D,A.abort))).then(delay(this.afterResponseDelay,A.abort)),G=L.then((()=>this.promiseStatus())),z=L.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(G,z);this.lastInput={single:u};return new U.ServerStreamingCall(i,B,u,Q,D,G,z)}clientStreaming(i,u){var A;const I=(A=u.meta)!==null&&A!==void 0?A:{},B=this.promiseHeaders().then(delay(this.headerDelay,u.abort)),Q=B.catch((i=>{})).then(delay(this.responseDelay,u.abort)).then((u=>this.promiseSingleResponse(i))),P=Q.catch((i=>{})).then(delay(this.afterResponseDelay,u.abort)).then((i=>this.promiseStatus())),D=Q.catch((i=>{})).then(delay(this.afterResponseDelay,u.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(P,D);this.lastInput=new TestInputStream(this.data,u.abort);return new G.ClientStreamingCall(i,I,this.lastInput,B,Q,P,D)}duplex(i,u){var A;const I=(A=u.meta)!==null&&A!==void 0?A:{},B=this.promiseHeaders().then(delay(this.headerDelay,u.abort)),Q=new P.RpcOutputStreamController,D=B.then(delay(this.responseDelay,u.abort)).catch((()=>{})).then((()=>this.streamResponses(i,Q,u.abort))).then(delay(this.afterResponseDelay,u.abort)),L=D.then((()=>this.promiseStatus())),U=D.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(L,U);this.lastInput=new TestInputStream(this.data,u.abort);return new z.DuplexStreamingCall(i,I,this.lastInput,B,Q,L,U)}}u.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(i,u){return A=>new Promise(((I,Q)=>{if(u===null||u===void 0?void 0:u.aborted){Q(new B.RpcError("user cancel","CANCELLED"))}else{const P=setTimeout((()=>I(A)),i);if(u){u.addEventListener("abort",(i=>{clearTimeout(P);Q(new B.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(i,u){this._completed=false;this._sent=[];this.data=i;this.abort=u}get sent(){return this._sent}get completed(){return this._completed}send(i){if(this.data.inputMessage instanceof B.RpcError){return Promise.reject(this.data.inputMessage)}const u=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(i)})).then(delay(u,this.abort))}complete(){if(this.data.inputComplete instanceof B.RpcError){return Promise.reject(this.data.inputComplete)}const i=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(i,this.abort))}}},29288:function(i,u){"use strict";var A=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.UnaryCall=void 0;class UnaryCall{constructor(i,u,A,I,B,Q,P){this.method=i;this.requestHeaders=u;this.request=A;this.headers=I;this.response=B;this.status=Q;this.trailers=P}then(i,u){return this.promiseFinished().then((u=>i?Promise.resolve(i(u)):u),(i=>u?Promise.resolve(u(i)):Promise.reject(i)))}promiseFinished(){return A(this,void 0,void 0,(function*(){let[i,u,A,I]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,response:u,status:A,trailers:I}}))}}u.UnaryCall=UnaryCall},8602:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.assertFloat32=u.assertUInt32=u.assertInt32=u.assertNever=u.assert=void 0;function assert(i,u){if(!i){throw new Error(u)}}u.assert=assert;function assertNever(i,u){throw new Error(u!==null&&u!==void 0?u:"Unexpected object: "+i)}u.assertNever=assertNever;const A=34028234663852886e22,I=-34028234663852886e22,B=4294967295,Q=2147483647,P=-2147483648;function assertInt32(i){if(typeof i!=="number")throw new Error("invalid int 32: "+typeof i);if(!Number.isInteger(i)||i>Q||iB||i<0)throw new Error("invalid uint 32: "+i)}u.assertUInt32=assertUInt32;function assertFloat32(i){if(typeof i!=="number")throw new Error("invalid float 32: "+typeof i);if(!Number.isFinite(i))return;if(i>A||i{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.base64encode=u.base64decode=void 0;let A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let I=[];for(let i=0;i>4;D=P;Q=2;break;case 2:A[B++]=(D&15)<<4|(P&60)>>2;D=P;Q=3;break;case 3:A[B++]=(D&3)<<6|P;Q=0;break}}if(Q==1)throw Error(`invalid base64 string.`);return A.subarray(0,B)}u.base64decode=base64decode;function base64encode(i){let u="",I=0,B,Q=0;for(let P=0;P>2];Q=(B&3)<<4;I=1;break;case 1:u+=A[Q|B>>4];Q=(B&15)<<2;I=2;break;case 2:u+=A[Q|B>>6];u+=A[B&63];I=0;break}}if(I){u+=A[Q];u+="=";if(I==1)u+="="}return u}u.base64encode=base64encode},54816:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.WireType=u.mergeBinaryOptions=u.UnknownFieldHandler=void 0;var A;(function(i){i.symbol=Symbol.for("protobuf-ts/unknown");i.onRead=(u,A,I,B,Q)=>{let P=is(A)?A[i.symbol]:A[i.symbol]=[];P.push({no:I,wireType:B,data:Q})};i.onWrite=(u,A,I)=>{for(let{no:u,wireType:B,data:Q}of i.list(A))I.tag(u,B).raw(Q)};i.list=(u,A)=>{if(is(u)){let I=u[i.symbol];return A?I.filter((i=>i.no==A)):I}return[]};i.last=(u,A)=>i.list(u,A).slice(-1)[0];const is=u=>u&&Array.isArray(u[i.symbol])})(A=u.UnknownFieldHandler||(u.UnknownFieldHandler={}));function mergeBinaryOptions(i,u){return Object.assign(Object.assign({},i),u)}u.mergeBinaryOptions=mergeBinaryOptions;var I;(function(i){i[i["Varint"]=0]="Varint";i[i["Bit64"]=1]="Bit64";i[i["LengthDelimited"]=2]="LengthDelimited";i[i["StartGroup"]=3]="StartGroup";i[i["EndGroup"]=4]="EndGroup";i[i["Bit32"]=5]="Bit32"})(I=u.WireType||(u.WireType={}))},92889:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.BinaryReader=u.binaryReadOptions=void 0;const I=A(54816);const B=A(61753);const Q=A(93223);const P={readUnknownField:true,readerFactory:i=>new BinaryReader(i)};function binaryReadOptions(i){return i?Object.assign(Object.assign({},P),i):P}u.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(i,u){this.varint64=Q.varint64read;this.uint32=Q.varint32read;this.buf=i;this.len=i.length;this.pos=0;this.view=new DataView(i.buffer,i.byteOffset,i.byteLength);this.textDecoder=u!==null&&u!==void 0?u:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let i=this.uint32(),u=i>>>3,A=i&7;if(u<=0||A<0||A>5)throw new Error("illegal tag: field no "+u+" wire type "+A);return[u,A]}skip(i){let u=this.pos;switch(i){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 u=this.uint32();this.pos+=u;break;case I.WireType.StartGroup:let A;while((A=this.tag()[1])!==I.WireType.EndGroup){this.skip(A)}break;default:throw new Error("cant skip wire type "+i)}this.assertBounds();return this.buf.subarray(u,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let i=this.uint32();return i>>>1^-(i&1)}int64(){return new B.PbLong(...this.varint64())}uint64(){return new B.PbULong(...this.varint64())}sint64(){let[i,u]=this.varint64();let A=-(i&1);i=(i>>>1|(u&1)<<31)^A;u=u>>>1^A;return new B.PbLong(i,u)}bool(){let[i,u]=this.varint64();return i!==0||u!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new B.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new B.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 i=this.uint32();let u=this.pos;this.pos+=i;this.assertBounds();return this.buf.subarray(u,u+i)}string(){return this.textDecoder.decode(this.bytes())}}u.BinaryReader=BinaryReader},23957:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.BinaryWriter=u.binaryWriteOptions=void 0;const I=A(61753);const B=A(93223);const Q=A(8602);const P={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(i){return i?Object.assign(Object.assign({},P),i):P}u.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(i){this.stack=[];this.textEncoder=i!==null&&i!==void 0?i:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let i=0;for(let u=0;u>>0)}raw(i){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(i);return this}uint32(i){Q.assertUInt32(i);while(i>127){this.buf.push(i&127|128);i=i>>>7}this.buf.push(i);return this}int32(i){Q.assertInt32(i);B.varint32write(i,this.buf);return this}bool(i){this.buf.push(i?1:0);return this}bytes(i){this.uint32(i.byteLength);return this.raw(i)}string(i){let u=this.textEncoder.encode(i);this.uint32(u.byteLength);return this.raw(u)}float(i){Q.assertFloat32(i);let u=new Uint8Array(4);new DataView(u.buffer).setFloat32(0,i,true);return this.raw(u)}double(i){let u=new Uint8Array(8);new DataView(u.buffer).setFloat64(0,i,true);return this.raw(u)}fixed32(i){Q.assertUInt32(i);let u=new Uint8Array(4);new DataView(u.buffer).setUint32(0,i,true);return this.raw(u)}sfixed32(i){Q.assertInt32(i);let u=new Uint8Array(4);new DataView(u.buffer).setInt32(0,i,true);return this.raw(u)}sint32(i){Q.assertInt32(i);i=(i<<1^i>>31)>>>0;B.varint32write(i,this.buf);return this}sfixed64(i){let u=new Uint8Array(8);let A=new DataView(u.buffer);let B=I.PbLong.from(i);A.setInt32(0,B.lo,true);A.setInt32(4,B.hi,true);return this.raw(u)}fixed64(i){let u=new Uint8Array(8);let A=new DataView(u.buffer);let B=I.PbULong.from(i);A.setInt32(0,B.lo,true);A.setInt32(4,B.hi,true);return this.raw(u)}int64(i){let u=I.PbLong.from(i);B.varint64write(u.lo,u.hi,this.buf);return this}sint64(i){let u=I.PbLong.from(i),A=u.hi>>31,Q=u.lo<<1^A,P=(u.hi<<1|u.lo>>>31)^A;B.varint64write(Q,P,this.buf);return this}uint64(i){let u=I.PbULong.from(i);B.varint64write(u.lo,u.hi,this.buf);return this}}u.BinaryWriter=BinaryWriter},70257:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.listEnumNumbers=u.listEnumNames=u.listEnumValues=u.isEnumObject=void 0;function isEnumObject(i){if(typeof i!="object"||i===null){return false}if(!i.hasOwnProperty(0)){return false}for(let u of Object.keys(i)){let A=parseInt(u);if(!Number.isNaN(A)){let u=i[A];if(u===undefined)return false;if(i[u]!==A)return false}else{let A=i[u];if(A===undefined)return false;if(typeof A!=="number")return false;if(i[A]===undefined)return false}}return true}u.isEnumObject=isEnumObject;function listEnumValues(i){if(!isEnumObject(i))throw new Error("not a typescript enum object");let u=[];for(let[A,I]of Object.entries(i))if(typeof I=="number")u.push({name:A,number:I});return u}u.listEnumValues=listEnumValues;function listEnumNames(i){return listEnumValues(i).map((i=>i.name))}u.listEnumNames=listEnumNames;function listEnumNumbers(i){return listEnumValues(i).map((i=>i.number)).filter(((i,u,A)=>A.indexOf(i)==u))}u.listEnumNumbers=listEnumNumbers},93223:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.varint32read=u.varint32write=u.int64toString=u.int64fromString=u.varint64write=u.varint64read=void 0;function varint64read(){let i=0;let u=0;for(let A=0;A<28;A+=7){let I=this.buf[this.pos++];i|=(I&127)<>4;if((A&128)==0){this.assertBounds();return[i,u]}for(let A=3;A<=31;A+=7){let I=this.buf[this.pos++];u|=(I&127)<>>I;const Q=!(B>>>7==0&&u==0);const P=(Q?B|128:B)&255;A.push(P);if(!Q){return}}const I=i>>>28&15|(u&7)<<4;const B=!(u>>3==0);A.push((B?I|128:I)&255);if(!B){return}for(let i=3;i<31;i=i+7){const I=u>>>i;const B=!(I>>>7==0);const Q=(B?I|128:I)&255;A.push(Q);if(!B){return}}A.push(u>>>31&1)}u.varint64write=varint64write;const A=(1<<16)*(1<<16);function int64fromString(i){let u=i[0]=="-";if(u)i=i.slice(1);const I=1e6;let B=0;let Q=0;function add1e6digit(u,P){const D=Number(i.slice(u,P));Q*=I;B=B*I+D;if(B>=A){Q=Q+(B/A|0);B=B%A}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[u,B,Q]}u.int64fromString=int64fromString;function int64toString(i,u){if(u>>>0<=2097151){return""+(A*u+(i>>>0))}let I=i&16777215;let B=(i>>>24|u<<8)>>>0&16777215;let Q=u>>16&65535;let P=I+B*6777216+Q*6710656;let D=B+Q*8147497;let L=Q*2;let U=1e7;if(P>=U){D+=Math.floor(P/U);P%=U}if(D>=U){L+=Math.floor(D/U);D%=U}function decimalFrom1e7(i,u){let A=i?String(i):"";if(u){return"0000000".slice(A.length)+A}return A}return decimalFrom1e7(L,0)+decimalFrom1e7(D,L)+decimalFrom1e7(P,1)}u.int64toString=int64toString;function varint32write(i,u){if(i>=0){while(i>127){u.push(i&127|128);i=i>>>7}u.push(i)}else{for(let A=0;A<9;A++){u.push(i&127|128);i=i>>7}u.push(1)}}u.varint32write=varint32write;function varint32read(){let i=this.buf[this.pos++];let u=i&127;if((i&128)==0){this.assertBounds();return u}i=this.buf[this.pos++];u|=(i&127)<<7;if((i&128)==0){this.assertBounds();return u}i=this.buf[this.pos++];u|=(i&127)<<14;if((i&128)==0){this.assertBounds();return u}i=this.buf[this.pos++];u|=(i&127)<<21;if((i&128)==0){this.assertBounds();return u}i=this.buf[this.pos++];u|=(i&15)<<28;for(let u=5;(i&128)!==0&&u<10;u++)i=this.buf[this.pos++];if((i&128)!=0)throw new Error("invalid varint");this.assertBounds();return u>>>0}u.varint32read=varint32read},68886:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});var I=A(49999);Object.defineProperty(u,"typeofJsonValue",{enumerable:true,get:function(){return I.typeofJsonValue}});Object.defineProperty(u,"isJsonObject",{enumerable:true,get:function(){return I.isJsonObject}});var B=A(26335);Object.defineProperty(u,"base64decode",{enumerable:true,get:function(){return B.base64decode}});Object.defineProperty(u,"base64encode",{enumerable:true,get:function(){return B.base64encode}});var Q=A(58950);Object.defineProperty(u,"utf8read",{enumerable:true,get:function(){return Q.utf8read}});var P=A(54816);Object.defineProperty(u,"WireType",{enumerable:true,get:function(){return P.WireType}});Object.defineProperty(u,"mergeBinaryOptions",{enumerable:true,get:function(){return P.mergeBinaryOptions}});Object.defineProperty(u,"UnknownFieldHandler",{enumerable:true,get:function(){return P.UnknownFieldHandler}});var D=A(92889);Object.defineProperty(u,"BinaryReader",{enumerable:true,get:function(){return D.BinaryReader}});Object.defineProperty(u,"binaryReadOptions",{enumerable:true,get:function(){return D.binaryReadOptions}});var L=A(23957);Object.defineProperty(u,"BinaryWriter",{enumerable:true,get:function(){return L.BinaryWriter}});Object.defineProperty(u,"binaryWriteOptions",{enumerable:true,get:function(){return L.binaryWriteOptions}});var U=A(61753);Object.defineProperty(u,"PbLong",{enumerable:true,get:function(){return U.PbLong}});Object.defineProperty(u,"PbULong",{enumerable:true,get:function(){return U.PbULong}});var G=A(29367);Object.defineProperty(u,"jsonReadOptions",{enumerable:true,get:function(){return G.jsonReadOptions}});Object.defineProperty(u,"jsonWriteOptions",{enumerable:true,get:function(){return G.jsonWriteOptions}});Object.defineProperty(u,"mergeJsonOptions",{enumerable:true,get:function(){return G.mergeJsonOptions}});var z=A(43785);Object.defineProperty(u,"MESSAGE_TYPE",{enumerable:true,get:function(){return z.MESSAGE_TYPE}});var W=A(15106);Object.defineProperty(u,"MessageType",{enumerable:true,get:function(){return W.MessageType}});var Y=A(67910);Object.defineProperty(u,"ScalarType",{enumerable:true,get:function(){return Y.ScalarType}});Object.defineProperty(u,"LongType",{enumerable:true,get:function(){return Y.LongType}});Object.defineProperty(u,"RepeatType",{enumerable:true,get:function(){return Y.RepeatType}});Object.defineProperty(u,"normalizeFieldInfo",{enumerable:true,get:function(){return Y.normalizeFieldInfo}});Object.defineProperty(u,"readFieldOptions",{enumerable:true,get:function(){return Y.readFieldOptions}});Object.defineProperty(u,"readFieldOption",{enumerable:true,get:function(){return Y.readFieldOption}});Object.defineProperty(u,"readMessageOption",{enumerable:true,get:function(){return Y.readMessageOption}});var J=A(25167);Object.defineProperty(u,"ReflectionTypeCheck",{enumerable:true,get:function(){return J.ReflectionTypeCheck}});var $=A(75726);Object.defineProperty(u,"reflectionCreate",{enumerable:true,get:function(){return $.reflectionCreate}});var K=A(19526);Object.defineProperty(u,"reflectionScalarDefault",{enumerable:true,get:function(){return K.reflectionScalarDefault}});var X=A(98044);Object.defineProperty(u,"reflectionMergePartial",{enumerable:true,get:function(){return X.reflectionMergePartial}});var he=A(4827);Object.defineProperty(u,"reflectionEquals",{enumerable:true,get:function(){return he.reflectionEquals}});var Ae=A(89611);Object.defineProperty(u,"ReflectionBinaryReader",{enumerable:true,get:function(){return Ae.ReflectionBinaryReader}});var ye=A(66907);Object.defineProperty(u,"ReflectionBinaryWriter",{enumerable:true,get:function(){return ye.ReflectionBinaryWriter}});var be=A(46790);Object.defineProperty(u,"ReflectionJsonReader",{enumerable:true,get:function(){return be.ReflectionJsonReader}});var Ee=A(11094);Object.defineProperty(u,"ReflectionJsonWriter",{enumerable:true,get:function(){return Ee.ReflectionJsonWriter}});var Ce=A(59946);Object.defineProperty(u,"containsMessageType",{enumerable:true,get:function(){return Ce.containsMessageType}});var we=A(18063);Object.defineProperty(u,"isOneofGroup",{enumerable:true,get:function(){return we.isOneofGroup}});Object.defineProperty(u,"setOneofValue",{enumerable:true,get:function(){return we.setOneofValue}});Object.defineProperty(u,"getOneofValue",{enumerable:true,get:function(){return we.getOneofValue}});Object.defineProperty(u,"clearOneofValue",{enumerable:true,get:function(){return we.clearOneofValue}});Object.defineProperty(u,"getSelectedOneofValue",{enumerable:true,get:function(){return we.getSelectedOneofValue}});var ve=A(70257);Object.defineProperty(u,"listEnumValues",{enumerable:true,get:function(){return ve.listEnumValues}});Object.defineProperty(u,"listEnumNames",{enumerable:true,get:function(){return ve.listEnumNames}});Object.defineProperty(u,"listEnumNumbers",{enumerable:true,get:function(){return ve.listEnumNumbers}});Object.defineProperty(u,"isEnumObject",{enumerable:true,get:function(){return ve.isEnumObject}});var Se=A(4073);Object.defineProperty(u,"lowerCamelCase",{enumerable:true,get:function(){return Se.lowerCamelCase}});var Re=A(8602);Object.defineProperty(u,"assert",{enumerable:true,get:function(){return Re.assert}});Object.defineProperty(u,"assertNever",{enumerable:true,get:function(){return Re.assertNever}});Object.defineProperty(u,"assertInt32",{enumerable:true,get:function(){return Re.assertInt32}});Object.defineProperty(u,"assertUInt32",{enumerable:true,get:function(){return Re.assertUInt32}});Object.defineProperty(u,"assertFloat32",{enumerable:true,get:function(){return Re.assertFloat32}})},29367:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.mergeJsonOptions=u.jsonWriteOptions=u.jsonReadOptions=void 0;const A={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},I={ignoreUnknownFields:false};function jsonReadOptions(i){return i?Object.assign(Object.assign({},I),i):I}u.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(i){return i?Object.assign(Object.assign({},A),i):A}u.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(i,u){var A,I;let B=Object.assign(Object.assign({},i),u);B.typeRegistry=[...(A=i===null||i===void 0?void 0:i.typeRegistry)!==null&&A!==void 0?A:[],...(I=u===null||u===void 0?void 0:u.typeRegistry)!==null&&I!==void 0?I:[]];return B}u.mergeJsonOptions=mergeJsonOptions},49999:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isJsonObject=u.typeofJsonValue=void 0;function typeofJsonValue(i){let u=typeof i;if(u=="object"){if(Array.isArray(i))return"array";if(i===null)return"null"}return u}u.typeofJsonValue=typeofJsonValue;function isJsonObject(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}u.isJsonObject=isJsonObject},4073:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.lowerCamelCase=void 0;function lowerCamelCase(i){let u=false;const A=[];for(let I=0;I{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MESSAGE_TYPE=void 0;u.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},15106:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MessageType=void 0;const I=A(43785);const B=A(67910);const Q=A(25167);const P=A(46790);const D=A(11094);const L=A(89611);const U=A(66907);const G=A(75726);const z=A(98044);const W=A(49999);const Y=A(29367);const J=A(4827);const $=A(23957);const K=A(92889);const X=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const he=X[I.MESSAGE_TYPE]={};class MessageType{constructor(i,u,A){this.defaultCheckDepth=16;this.typeName=i;this.fields=u.map(B.normalizeFieldInfo);this.options=A!==null&&A!==void 0?A:{};he.value=this;this.messagePrototype=Object.create(null,X);this.refTypeCheck=new Q.ReflectionTypeCheck(this);this.refJsonReader=new P.ReflectionJsonReader(this);this.refJsonWriter=new D.ReflectionJsonWriter(this);this.refBinReader=new L.ReflectionBinaryReader(this);this.refBinWriter=new U.ReflectionBinaryWriter(this)}create(i){let u=G.reflectionCreate(this);if(i!==undefined){z.reflectionMergePartial(this,u,i)}return u}clone(i){let u=this.create();z.reflectionMergePartial(this,u,i);return u}equals(i,u){return J.reflectionEquals(this,i,u)}is(i,u=this.defaultCheckDepth){return this.refTypeCheck.is(i,u,false)}isAssignable(i,u=this.defaultCheckDepth){return this.refTypeCheck.is(i,u,true)}mergePartial(i,u){z.reflectionMergePartial(this,i,u)}fromBinary(i,u){let A=K.binaryReadOptions(u);return this.internalBinaryRead(A.readerFactory(i),i.byteLength,A)}fromJson(i,u){return this.internalJsonRead(i,Y.jsonReadOptions(u))}fromJsonString(i,u){let A=JSON.parse(i);return this.fromJson(A,u)}toJson(i,u){return this.internalJsonWrite(i,Y.jsonWriteOptions(u))}toJsonString(i,u){var A;let I=this.toJson(i,u);return JSON.stringify(I,null,(A=u===null||u===void 0?void 0:u.prettySpaces)!==null&&A!==void 0?A:0)}toBinary(i,u){let A=$.binaryWriteOptions(u);return this.internalBinaryWrite(i,A.writerFactory(),A).finish()}internalJsonRead(i,u,A){if(i!==null&&typeof i=="object"&&!Array.isArray(i)){let I=A!==null&&A!==void 0?A:this.create();this.refJsonReader.read(i,I,u);return I}throw new Error(`Unable to parse message ${this.typeName} from JSON ${W.typeofJsonValue(i)}.`)}internalJsonWrite(i,u){return this.refJsonWriter.write(i,u)}internalBinaryWrite(i,u,A){this.refBinWriter.write(i,u,A);return u}internalBinaryRead(i,u,A,I){let B=I!==null&&I!==void 0?I:this.create();this.refBinReader.read(i,B,A,u);return B}}u.MessageType=MessageType},18063:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getSelectedOneofValue=u.clearOneofValue=u.setUnknownOneofValue=u.setOneofValue=u.getOneofValue=u.isOneofGroup=void 0;function isOneofGroup(i){if(typeof i!="object"||i===null||!i.hasOwnProperty("oneofKind")){return false}switch(typeof i.oneofKind){case"string":if(i[i.oneofKind]===undefined)return false;return Object.keys(i).length==2;case"undefined":return Object.keys(i).length==1;default:return false}}u.isOneofGroup=isOneofGroup;function getOneofValue(i,u){return i[u]}u.getOneofValue=getOneofValue;function setOneofValue(i,u,A){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=u;if(A!==undefined){i[u]=A}}u.setOneofValue=setOneofValue;function setUnknownOneofValue(i,u,A){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=u;if(A!==undefined&&u!==undefined){i[u]=A}}u.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(i){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=undefined}u.clearOneofValue=clearOneofValue;function getSelectedOneofValue(i){if(i.oneofKind===undefined){return undefined}return i[i.oneofKind]}u.getSelectedOneofValue=getSelectedOneofValue},61753:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.PbLong=u.PbULong=u.detectBi=void 0;const I=A(93223);let B;function detectBi(){const i=new DataView(new ArrayBuffer(8));const u=globalThis.BigInt!==undefined&&typeof i.getBigInt64==="function"&&typeof i.getBigUint64==="function"&&typeof i.setBigInt64==="function"&&typeof i.setBigUint64==="function";B=u?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:i}:undefined}u.detectBi=detectBi;detectBi();function assertBi(i){if(!i)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const Q=/^-?[0-9]+$/;const P=4294967296;const D=2147483648;class SharedPbLong{constructor(i,u){this.lo=i|0;this.hi=u|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let i=this.hi*P+(this.lo>>>0);if(!Number.isSafeInteger(i))throw new Error("cannot convert to safe number");return i}}class PbULong extends SharedPbLong{static from(i){if(B)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=B.C(i);case"number":if(i===0)return this.ZERO;i=B.C(i);case"bigint":if(!i)return this.ZERO;if(iB.UMAX)throw new Error("ulong too large");B.V.setBigUint64(0,i,true);return new PbULong(B.V.getInt32(0,true),B.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!Q.test(i))throw new Error("string is no integer");let[u,A,B]=I.int64fromString(i);if(u)throw new Error("signed value for ulong");return new PbULong(A,B);case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");if(i<0)throw new Error("signed value for ulong");return new PbULong(i,i/P)}throw new Error("unknown value "+typeof i)}toString(){return B?this.toBigInt().toString():I.int64toString(this.lo,this.hi)}toBigInt(){assertBi(B);B.V.setInt32(0,this.lo,true);B.V.setInt32(4,this.hi,true);return B.V.getBigUint64(0,true)}}u.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(i){if(B)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=B.C(i);case"number":if(i===0)return this.ZERO;i=B.C(i);case"bigint":if(!i)return this.ZERO;if(iB.MAX)throw new Error("signed long too large");B.V.setBigInt64(0,i,true);return new PbLong(B.V.getInt32(0,true),B.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!Q.test(i))throw new Error("string is no integer");let[u,A,B]=I.int64fromString(i);if(u){if(B>D||B==D&&A!=0)throw new Error("signed long too small")}else if(B>=D)throw new Error("signed long too large");let L=new PbLong(A,B);return u?L.negate():L;case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");return i>0?new PbLong(i,i/P):new PbLong(-i,-i/P).negate()}throw new Error("unknown value "+typeof i)}isNegative(){return(this.hi&D)!==0}negate(){let i=~this.hi,u=this.lo;if(u)u=~u+1;else i+=1;return new PbLong(u,i)}toString(){if(B)return this.toBigInt().toString();if(this.isNegative()){let i=this.negate();return"-"+I.int64toString(i.lo,i.hi)}return I.int64toString(this.lo,this.hi)}toBigInt(){assertBi(B);B.V.setInt32(0,this.lo,true);B.V.setInt32(4,this.hi,true);return B.V.getBigInt64(0,true)}}u.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},58950:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.utf8read=void 0;const fromCharCodes=i=>String.fromCharCode.apply(String,i);function utf8read(i){if(i.length<1)return"";let u=0,A=[],I=[],B=0,Q;let P=i.length;while(u191&&Q<224)I[B++]=(Q&31)<<6|i[u++]&63;else if(Q>239&&Q<365){Q=((Q&7)<<18|(i[u++]&63)<<12|(i[u++]&63)<<6|i[u++]&63)-65536;I[B++]=55296+(Q>>10);I[B++]=56320+(Q&1023)}else I[B++]=(Q&15)<<12|(i[u++]&63)<<6|i[u++]&63;if(B>8191){A.push(fromCharCodes(I));B=0}}if(A.length){if(B)A.push(fromCharCodes(I.slice(0,B)));return A.join("")}return fromCharCodes(I.slice(0,B))}u.utf8read=utf8read},89611:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ReflectionBinaryReader=void 0;const I=A(54816);const B=A(67910);const Q=A(63402);const P=A(19526);class ReflectionBinaryReader{constructor(i){this.info=i}prepare(){var i;if(!this.fieldNoToField){const u=(i=this.info.fields)!==null&&i!==void 0?i:[];this.fieldNoToField=new Map(u.map((i=>[i.no,i])))}}read(i,u,A,Q){this.prepare();const P=Q===undefined?i.len:i.pos+Q;while(i.pos{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ReflectionBinaryWriter=void 0;const I=A(54816);const B=A(67910);const Q=A(8602);const P=A(61753);class ReflectionBinaryWriter{constructor(i){this.info=i}prepare(){if(!this.fields){const i=this.info.fields?this.info.fields.concat():[];this.fields=i.sort(((i,u)=>i.no-u.no))}}write(i,u,A){this.prepare();for(const I of this.fields){let P,D,L=I.repeat,U=I.localName;if(I.oneof){const u=i[I.oneof];if(u.oneofKind!==U)continue;P=u[U];D=true}else{P=i[U];D=false}switch(I.kind){case"scalar":case"enum":let i=I.kind=="enum"?B.ScalarType.INT32:I.T;if(L){Q.assert(Array.isArray(P));if(L==B.RepeatType.PACKED)this.packed(u,i,I.no,P);else for(const A of P)this.scalar(u,i,I.no,A,true)}else if(P===undefined)Q.assert(I.opt);else this.scalar(u,i,I.no,P,D||I.opt);break;case"message":if(L){Q.assert(Array.isArray(P));for(const i of P)this.message(u,A,I.T(),I.no,i)}else{this.message(u,A,I.T(),I.no,P)}break;case"map":Q.assert(typeof P=="object"&&P!==null);for(const[i,B]of Object.entries(P))this.mapEntry(u,A,I,i,B);break}}let P=A.writeUnknownFields;if(P!==false)(P===true?I.UnknownFieldHandler.onWrite:P)(this.info.typeName,i,u)}mapEntry(i,u,A,P,D){i.tag(A.no,I.WireType.LengthDelimited);i.fork();let L=P;switch(A.K){case B.ScalarType.INT32:case B.ScalarType.FIXED32:case B.ScalarType.UINT32:case B.ScalarType.SFIXED32:case B.ScalarType.SINT32:L=Number.parseInt(P);break;case B.ScalarType.BOOL:Q.assert(P=="true"||P=="false");L=P=="true";break}this.scalar(i,A.K,1,L,true);switch(A.V.kind){case"scalar":this.scalar(i,A.V.T,2,D,true);break;case"enum":this.scalar(i,B.ScalarType.INT32,2,D,true);break;case"message":this.message(i,u,A.V.T(),2,D);break}i.join()}message(i,u,A,B,Q){if(Q===undefined)return;A.internalBinaryWrite(Q,i.tag(B,I.WireType.LengthDelimited).fork(),u);i.join()}scalar(i,u,A,I,B){let[Q,P,D]=this.scalarInfo(u,I);if(!D||B){i.tag(A,Q);i[P](I)}}packed(i,u,A,P){if(!P.length)return;Q.assert(u!==B.ScalarType.BYTES&&u!==B.ScalarType.STRING);i.tag(A,I.WireType.LengthDelimited);i.fork();let[,D]=this.scalarInfo(u);for(let u=0;u{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.containsMessageType=void 0;const I=A(43785);function containsMessageType(i){return i[I.MESSAGE_TYPE]!=null}u.containsMessageType=containsMessageType},75726:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.reflectionCreate=void 0;const I=A(19526);const B=A(43785);function reflectionCreate(i){const u=i.messagePrototype?Object.create(i.messagePrototype):Object.defineProperty({},B.MESSAGE_TYPE,{value:i});for(let A of i.fields){let i=A.localName;if(A.opt)continue;if(A.oneof)u[A.oneof]={oneofKind:undefined};else if(A.repeat)u[i]=[];else switch(A.kind){case"scalar":u[i]=I.reflectionScalarDefault(A.T,A.L);break;case"enum":u[i]=0;break;case"map":u[i]={};break}}return u}u.reflectionCreate=reflectionCreate},4827:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.reflectionEquals=void 0;const I=A(67910);function reflectionEquals(i,u,A){if(u===A)return true;if(!u||!A)return false;for(let Q of i.fields){let i=Q.localName;let P=Q.oneof?u[Q.oneof][i]:u[i];let D=Q.oneof?A[Q.oneof][i]:A[i];switch(Q.kind){case"enum":case"scalar":let i=Q.kind=="enum"?I.ScalarType.INT32:Q.T;if(!(Q.repeat?repeatedPrimitiveEq(i,P,D):primitiveEq(i,P,D)))return false;break;case"map":if(!(Q.V.kind=="message"?repeatedMsgEq(Q.V.T(),B(P),B(D)):repeatedPrimitiveEq(Q.V.kind=="enum"?I.ScalarType.INT32:Q.V.T,B(P),B(D))))return false;break;case"message":let u=Q.T();if(!(Q.repeat?repeatedMsgEq(u,P,D):u.equals(P,D)))return false;break}}return true}u.reflectionEquals=reflectionEquals;const B=Object.values;function primitiveEq(i,u,A){if(u===A)return true;if(i!==I.ScalarType.BYTES)return false;let B=u;let Q=A;if(B.length!==Q.length)return false;for(let i=0;i{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.readMessageOption=u.readFieldOption=u.readFieldOptions=u.normalizeFieldInfo=u.RepeatType=u.LongType=u.ScalarType=void 0;const I=A(4073);var B;(function(i){i[i["DOUBLE"]=1]="DOUBLE";i[i["FLOAT"]=2]="FLOAT";i[i["INT64"]=3]="INT64";i[i["UINT64"]=4]="UINT64";i[i["INT32"]=5]="INT32";i[i["FIXED64"]=6]="FIXED64";i[i["FIXED32"]=7]="FIXED32";i[i["BOOL"]=8]="BOOL";i[i["STRING"]=9]="STRING";i[i["BYTES"]=12]="BYTES";i[i["UINT32"]=13]="UINT32";i[i["SFIXED32"]=15]="SFIXED32";i[i["SFIXED64"]=16]="SFIXED64";i[i["SINT32"]=17]="SINT32";i[i["SINT64"]=18]="SINT64"})(B=u.ScalarType||(u.ScalarType={}));var Q;(function(i){i[i["BIGINT"]=0]="BIGINT";i[i["STRING"]=1]="STRING";i[i["NUMBER"]=2]="NUMBER"})(Q=u.LongType||(u.LongType={}));var P;(function(i){i[i["NO"]=0]="NO";i[i["PACKED"]=1]="PACKED";i[i["UNPACKED"]=2]="UNPACKED"})(P=u.RepeatType||(u.RepeatType={}));function normalizeFieldInfo(i){var u,A,B,Q;i.localName=(u=i.localName)!==null&&u!==void 0?u:I.lowerCamelCase(i.name);i.jsonName=(A=i.jsonName)!==null&&A!==void 0?A:I.lowerCamelCase(i.name);i.repeat=(B=i.repeat)!==null&&B!==void 0?B:P.NO;i.opt=(Q=i.opt)!==null&&Q!==void 0?Q:i.repeat?false:i.oneof?false:i.kind=="message";return i}u.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(i,u,A,I){var B;const Q=(B=i.fields.find(((i,A)=>i.localName==u||A==u)))===null||B===void 0?void 0:B.options;return Q&&Q[A]?I.fromJson(Q[A]):undefined}u.readFieldOptions=readFieldOptions;function readFieldOption(i,u,A,I){var B;const Q=(B=i.fields.find(((i,A)=>i.localName==u||A==u)))===null||B===void 0?void 0:B.options;if(!Q){return undefined}const P=Q[A];if(P===undefined){return P}return I?I.fromJson(P):P}u.readFieldOption=readFieldOption;function readMessageOption(i,u,A){const I=i.options;const B=I[u];if(B===undefined){return B}return A?A.fromJson(B):B}u.readMessageOption=readMessageOption},46790:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ReflectionJsonReader=void 0;const I=A(49999);const B=A(26335);const Q=A(67910);const P=A(61753);const D=A(8602);const L=A(63402);class ReflectionJsonReader{constructor(i){this.info=i}prepare(){var i;if(this.fMap===undefined){this.fMap={};const u=(i=this.info.fields)!==null&&i!==void 0?i:[];for(const i of u){this.fMap[i.name]=i;this.fMap[i.jsonName]=i;this.fMap[i.localName]=i}}}assert(i,u,A){if(!i){let i=I.typeofJsonValue(A);if(i=="number"||i=="boolean")i=A.toString();throw new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${u}`)}}read(i,u,A){this.prepare();const B=[];for(const[P,D]of Object.entries(i)){const i=this.fMap[P];if(!i){if(!A.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${P}`);continue}const L=i.localName;let U;if(i.oneof){if(D===null&&(i.kind!=="enum"||i.T()[0]!=="google.protobuf.NullValue")){continue}if(B.includes(i.oneof))throw new Error(`Multiple members of the oneof group "${i.oneof}" of ${this.info.typeName} are present in JSON.`);B.push(i.oneof);U=u[i.oneof]={oneofKind:L}}else{U=u}if(i.kind=="map"){if(D===null){continue}this.assert(I.isJsonObject(D),i.name,D);const u=U[L];for(const[I,B]of Object.entries(D)){this.assert(B!==null,i.name+" map value",null);let P;switch(i.V.kind){case"message":P=i.V.T().internalJsonRead(B,A);break;case"enum":P=this.enum(i.V.T(),B,i.name,A.ignoreUnknownFields);if(P===false)continue;break;case"scalar":P=this.scalar(B,i.V.T,i.V.L,i.name);break}this.assert(P!==undefined,i.name+" map value",B);let D=I;if(i.K==Q.ScalarType.BOOL)D=D=="true"?true:D=="false"?false:D;D=this.scalar(D,i.K,Q.LongType.STRING,i.name).toString();u[D]=P}}else if(i.repeat){if(D===null)continue;this.assert(Array.isArray(D),i.name,D);const u=U[L];for(const I of D){this.assert(I!==null,i.name,null);let B;switch(i.kind){case"message":B=i.T().internalJsonRead(I,A);break;case"enum":B=this.enum(i.T(),I,i.name,A.ignoreUnknownFields);if(B===false)continue;break;case"scalar":B=this.scalar(I,i.T,i.L,i.name);break}this.assert(B!==undefined,i.name,D);u.push(B)}}else{switch(i.kind){case"message":if(D===null&&i.T().typeName!="google.protobuf.Value"){this.assert(i.oneof===undefined,i.name+" (oneof member)",null);continue}U[L]=i.T().internalJsonRead(D,A,U[L]);break;case"enum":if(D===null)continue;let u=this.enum(i.T(),D,i.name,A.ignoreUnknownFields);if(u===false)continue;U[L]=u;break;case"scalar":if(D===null)continue;U[L]=this.scalar(D,i.T,i.L,i.name);break}}}}enum(i,u,A,I){if(i[0]=="google.protobuf.NullValue")D.assert(u===null||u==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${A}, enum ${i[0]} only accepts null.`);if(u===null)return 0;switch(typeof u){case"number":D.assert(Number.isInteger(u),`Unable to parse field ${this.info.typeName}#${A}, enum can only be integral number, got ${u}.`);return u;case"string":let B=u;if(i[2]&&u.substring(0,i[2].length)===i[2])B=u.substring(i[2].length);let Q=i[1][B];if(typeof Q==="undefined"&&I){return false}D.assert(typeof Q=="number",`Unable to parse field ${this.info.typeName}#${A}, enum ${i[0]} has no value for "${u}".`);return Q}D.assert(false,`Unable to parse field ${this.info.typeName}#${A}, cannot parse enum value from ${typeof u}".`)}scalar(i,u,A,I){let U;try{switch(u){case Q.ScalarType.DOUBLE:case Q.ScalarType.FLOAT:if(i===null)return 0;if(i==="NaN")return Number.NaN;if(i==="Infinity")return Number.POSITIVE_INFINITY;if(i==="-Infinity")return Number.NEGATIVE_INFINITY;if(i===""){U="empty string";break}if(typeof i=="string"&&i.trim().length!==i.length){U="extra whitespace";break}if(typeof i!="string"&&typeof i!="number"){break}let I=Number(i);if(Number.isNaN(I)){U="not a number";break}if(!Number.isFinite(I)){U="too large or small";break}if(u==Q.ScalarType.FLOAT)D.assertFloat32(I);return I;case Q.ScalarType.INT32:case Q.ScalarType.FIXED32:case Q.ScalarType.SFIXED32:case Q.ScalarType.SINT32:case Q.ScalarType.UINT32:if(i===null)return 0;let G;if(typeof i=="number")G=i;else if(i==="")U="empty string";else if(typeof i=="string"){if(i.trim().length!==i.length)U="extra whitespace";else G=Number(i)}if(G===undefined)break;if(u==Q.ScalarType.UINT32)D.assertUInt32(G);else D.assertInt32(G);return G;case Q.ScalarType.INT64:case Q.ScalarType.SFIXED64:case Q.ScalarType.SINT64:if(i===null)return L.reflectionLongConvert(P.PbLong.ZERO,A);if(typeof i!="number"&&typeof i!="string")break;return L.reflectionLongConvert(P.PbLong.from(i),A);case Q.ScalarType.FIXED64:case Q.ScalarType.UINT64:if(i===null)return L.reflectionLongConvert(P.PbULong.ZERO,A);if(typeof i!="number"&&typeof i!="string")break;return L.reflectionLongConvert(P.PbULong.from(i),A);case Q.ScalarType.BOOL:if(i===null)return false;if(typeof i!=="boolean")break;return i;case Q.ScalarType.STRING:if(i===null)return"";if(typeof i!=="string"){U="extra whitespace";break}try{encodeURIComponent(i)}catch(U){U="invalid UTF8";break}return i;case Q.ScalarType.BYTES:if(i===null||i==="")return new Uint8Array(0);if(typeof i!=="string")break;return B.base64decode(i)}}catch(i){U=i.message}this.assert(false,I+(U?" - "+U:""),i)}}u.ReflectionJsonReader=ReflectionJsonReader},11094:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ReflectionJsonWriter=void 0;const I=A(26335);const B=A(61753);const Q=A(67910);const P=A(8602);class ReflectionJsonWriter{constructor(i){var u;this.fields=(u=i.fields)!==null&&u!==void 0?u:[]}write(i,u){const A={},I=i;for(const i of this.fields){if(!i.oneof){let B=this.field(i,I[i.localName],u);if(B!==undefined)A[u.useProtoFieldName?i.name:i.jsonName]=B;continue}const B=I[i.oneof];if(B.oneofKind!==i.localName)continue;const Q=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},u),{emitDefaultValues:true}):u;let D=this.field(i,B[i.localName],Q);P.assert(D!==undefined);A[u.useProtoFieldName?i.name:i.jsonName]=D}return A}field(i,u,A){let I=undefined;if(i.kind=="map"){P.assert(typeof u=="object"&&u!==null);const B={};switch(i.V.kind){case"scalar":for(const[A,I]of Object.entries(u)){const u=this.scalar(i.V.T,I,i.name,false,true);P.assert(u!==undefined);B[A.toString()]=u}break;case"message":const I=i.V.T();for(const[Q,D]of Object.entries(u)){const u=this.message(I,D,i.name,A);P.assert(u!==undefined);B[Q.toString()]=u}break;case"enum":const Q=i.V.T();for(const[I,D]of Object.entries(u)){P.assert(D===undefined||typeof D=="number");const u=this.enum(Q,D,i.name,false,true,A.enumAsInteger);P.assert(u!==undefined);B[I.toString()]=u}break}if(A.emitDefaultValues||Object.keys(B).length>0)I=B}else if(i.repeat){P.assert(Array.isArray(u));const B=[];switch(i.kind){case"scalar":for(let A=0;A0||A.emitDefaultValues)I=B}else{switch(i.kind){case"scalar":I=this.scalar(i.T,u,i.name,i.opt,A.emitDefaultValues);break;case"enum":I=this.enum(i.T(),u,i.name,i.opt,A.emitDefaultValues,A.enumAsInteger);break;case"message":I=this.message(i.T(),u,i.name,A);break}}return I}enum(i,u,A,I,B,Q){if(i[0]=="google.protobuf.NullValue")return!B&&!I?undefined:null;if(u===undefined){P.assert(I);return undefined}if(u===0&&!B&&!I)return undefined;P.assert(typeof u=="number");P.assert(Number.isInteger(u));if(Q||!i[1].hasOwnProperty(u))return u;if(i[2])return i[2]+i[1][u];return i[1][u]}message(i,u,A,I){if(u===undefined)return I.emitDefaultValues?null:undefined;return i.internalJsonWrite(u,I)}scalar(i,u,A,D,L){if(u===undefined){P.assert(D);return undefined}const U=L||D;switch(i){case Q.ScalarType.INT32:case Q.ScalarType.SFIXED32:case Q.ScalarType.SINT32:if(u===0)return U?0:undefined;P.assertInt32(u);return u;case Q.ScalarType.FIXED32:case Q.ScalarType.UINT32:if(u===0)return U?0:undefined;P.assertUInt32(u);return u;case Q.ScalarType.FLOAT:P.assertFloat32(u);case Q.ScalarType.DOUBLE:if(u===0)return U?0:undefined;P.assert(typeof u=="number");if(Number.isNaN(u))return"NaN";if(u===Number.POSITIVE_INFINITY)return"Infinity";if(u===Number.NEGATIVE_INFINITY)return"-Infinity";return u;case Q.ScalarType.STRING:if(u==="")return U?"":undefined;P.assert(typeof u=="string");return u;case Q.ScalarType.BOOL:if(u===false)return U?false:undefined;P.assert(typeof u=="boolean");return u;case Q.ScalarType.UINT64:case Q.ScalarType.FIXED64:P.assert(typeof u=="number"||typeof u=="string"||typeof u=="bigint");let i=B.PbULong.from(u);if(i.isZero()&&!U)return undefined;return i.toString();case Q.ScalarType.INT64:case Q.ScalarType.SFIXED64:case Q.ScalarType.SINT64:P.assert(typeof u=="number"||typeof u=="string"||typeof u=="bigint");let A=B.PbLong.from(u);if(A.isZero()&&!U)return undefined;return A.toString();case Q.ScalarType.BYTES:P.assert(u instanceof Uint8Array);if(!u.byteLength)return U?"":undefined;return I.base64encode(u)}}}u.ReflectionJsonWriter=ReflectionJsonWriter},63402:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.reflectionLongConvert=void 0;const I=A(67910);function reflectionLongConvert(i,u){switch(u){case I.LongType.BIGINT:return i.toBigInt();case I.LongType.NUMBER:return i.toNumber();default:return i.toString()}}u.reflectionLongConvert=reflectionLongConvert},98044:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.reflectionMergePartial=void 0;function reflectionMergePartial(i,u,A){let I,B=A,Q;for(let A of i.fields){let i=A.localName;if(A.oneof){const P=B[A.oneof];if((P===null||P===void 0?void 0:P.oneofKind)==undefined){continue}I=P[i];Q=u[A.oneof];Q.oneofKind=P.oneofKind;if(I==undefined){delete Q[i];continue}}else{I=B[i];Q=u;if(I==undefined){continue}}if(A.repeat)Q[i].length=I.length;switch(A.kind){case"scalar":case"enum":if(A.repeat)for(let u=0;u{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.reflectionScalarDefault=void 0;const I=A(67910);const B=A(63402);const Q=A(61753);function reflectionScalarDefault(i,u=I.LongType.STRING){switch(i){case I.ScalarType.BOOL:return false;case I.ScalarType.UINT64:case I.ScalarType.FIXED64:return B.reflectionLongConvert(Q.PbULong.ZERO,u);case I.ScalarType.INT64:case I.ScalarType.SFIXED64:case I.ScalarType.SINT64:return B.reflectionLongConvert(Q.PbLong.ZERO,u);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}}u.reflectionScalarDefault=reflectionScalarDefault},25167:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ReflectionTypeCheck=void 0;const I=A(67910);const B=A(18063);class ReflectionTypeCheck{constructor(i){var u;this.fields=(u=i.fields)!==null&&u!==void 0?u:[]}prepare(){if(this.data)return;const i=[],u=[],A=[];for(let I of this.fields){if(I.oneof){if(!A.includes(I.oneof)){A.push(I.oneof);i.push(I.oneof);u.push(I.oneof)}}else{u.push(I.localName);switch(I.kind){case"scalar":case"enum":if(!I.opt||I.repeat)i.push(I.localName);break;case"message":if(I.repeat)i.push(I.localName);break;case"map":i.push(I.localName);break}}}this.data={req:i,known:u,oneofs:Object.values(A)}}is(i,u,A=false){if(u<0)return true;if(i===null||i===undefined||typeof i!="object")return false;this.prepare();let I=Object.keys(i),Q=this.data;if(I.length!I.includes(i))))return false;if(!A){if(I.some((i=>!Q.known.includes(i))))return false}if(u<1){return true}for(const I of Q.oneofs){const Q=i[I];if(!B.isOneofGroup(Q))return false;if(Q.oneofKind===undefined)continue;const P=this.fields.find((i=>i.localName===Q.oneofKind));if(!P)return false;if(!this.field(Q[Q.oneofKind],P,A,u))return false}for(const I of this.fields){if(I.oneof!==undefined)continue;if(!this.field(i[I.localName],I,A,u))return false}return true}field(i,u,A,B){let Q=u.repeat;switch(u.kind){case"scalar":if(i===undefined)return u.opt;if(Q)return this.scalars(i,u.T,B,u.L);return this.scalar(i,u.T,u.L);case"enum":if(i===undefined)return u.opt;if(Q)return this.scalars(i,I.ScalarType.INT32,B);return this.scalar(i,I.ScalarType.INT32);case"message":if(i===undefined)return true;if(Q)return this.messages(i,u.T(),A,B);return this.message(i,u.T(),A,B);case"map":if(typeof i!="object"||i===null)return false;if(B<2)return true;if(!this.mapKeys(i,u.K,B))return false;switch(u.V.kind){case"scalar":return this.scalars(Object.values(i),u.V.T,B,u.V.L);case"enum":return this.scalars(Object.values(i),I.ScalarType.INT32,B);case"message":return this.messages(Object.values(i),u.V.T(),A,B)}break}return true}message(i,u,A,I){if(A){return u.isAssignable(i,I)}return u.is(i,I)}messages(i,u,A,I){if(!Array.isArray(i))return false;if(I<2)return true;if(A){for(let A=0;AparseInt(i))),u,A);case I.ScalarType.BOOL:return this.scalars(B.slice(0,A).map((i=>i=="true"?true:i=="false"?false:i)),u,A);default:return this.scalars(B,u,A,I.LongType.STRING)}}}u.ReflectionTypeCheck=ReflectionTypeCheck},18456:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.toMessageSignatureBundle=toMessageSignatureBundle;u.toDSSEBundle=toDSSEBundle;const I=A(19654);const B=A(37742);function toMessageSignatureBundle(i){return{mediaType:i.certificateChain?B.BUNDLE_V02_MEDIA_TYPE:B.BUNDLE_V03_MEDIA_TYPE,content:{$case:"messageSignature",messageSignature:{messageDigest:{algorithm:I.HashAlgorithm.SHA2_256,digest:i.digest},signature:i.signature}},verificationMaterial:toVerificationMaterial(i)}}function toDSSEBundle(i){return{mediaType:i.certificateChain?B.BUNDLE_V02_MEDIA_TYPE:B.BUNDLE_V03_MEDIA_TYPE,content:{$case:"dsseEnvelope",dsseEnvelope:toEnvelope(i)},verificationMaterial:toVerificationMaterial(i)}}function toEnvelope(i){return{payloadType:i.artifactType,payload:i.artifact,signatures:[toSignature(i)]}}function toSignature(i){return{keyid:i.keyHint||"",sig:i.signature}}function toVerificationMaterial(i){return{content:toKeyContent(i),tlogEntries:[],timestampVerificationData:{rfc3161Timestamps:[]}}}function toKeyContent(i){if(i.certificate){if(i.certificateChain){return{$case:"x509CertificateChain",x509CertificateChain:{certificates:[{rawBytes:i.certificate}]}}}else{return{$case:"certificate",certificate:{rawBytes:i.certificate}}}}else{return{$case:"publicKey",publicKey:{hint:i.keyHint||""}}}}},37742:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.BUNDLE_V03_MEDIA_TYPE=u.BUNDLE_V03_LEGACY_MEDIA_TYPE=u.BUNDLE_V02_MEDIA_TYPE=u.BUNDLE_V01_MEDIA_TYPE=void 0;u.isBundleWithCertificateChain=isBundleWithCertificateChain;u.isBundleWithPublicKey=isBundleWithPublicKey;u.isBundleWithMessageSignature=isBundleWithMessageSignature;u.isBundleWithDsseEnvelope=isBundleWithDsseEnvelope;u.BUNDLE_V01_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.1";u.BUNDLE_V02_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.2";u.BUNDLE_V03_LEGACY_MEDIA_TYPE="application/vnd.dev.sigstore.bundle+json;version=0.3";u.BUNDLE_V03_MEDIA_TYPE="application/vnd.dev.sigstore.bundle.v0.3+json";function isBundleWithCertificateChain(i){return i.verificationMaterial.content.$case==="x509CertificateChain"}function isBundleWithPublicKey(i){return i.verificationMaterial.content.$case==="publicKey"}function isBundleWithMessageSignature(i){return i.content.$case==="messageSignature"}function isBundleWithDsseEnvelope(i){return i.content.$case==="dsseEnvelope"}},47714:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ValidationError=void 0;class ValidationError extends Error{constructor(i,u){super(i);this.fields=u}}u.ValidationError=ValidationError},61040:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isBundleV01=u.assertBundleV02=u.assertBundleV01=u.assertBundleLatest=u.assertBundle=u.envelopeToJSON=u.envelopeFromJSON=u.bundleToJSON=u.bundleFromJSON=u.ValidationError=u.isBundleWithPublicKey=u.isBundleWithMessageSignature=u.isBundleWithDsseEnvelope=u.isBundleWithCertificateChain=u.BUNDLE_V03_MEDIA_TYPE=u.BUNDLE_V03_LEGACY_MEDIA_TYPE=u.BUNDLE_V02_MEDIA_TYPE=u.BUNDLE_V01_MEDIA_TYPE=u.toMessageSignatureBundle=u.toDSSEBundle=void 0;var I=A(18456);Object.defineProperty(u,"toDSSEBundle",{enumerable:true,get:function(){return I.toDSSEBundle}});Object.defineProperty(u,"toMessageSignatureBundle",{enumerable:true,get:function(){return I.toMessageSignatureBundle}});var B=A(37742);Object.defineProperty(u,"BUNDLE_V01_MEDIA_TYPE",{enumerable:true,get:function(){return B.BUNDLE_V01_MEDIA_TYPE}});Object.defineProperty(u,"BUNDLE_V02_MEDIA_TYPE",{enumerable:true,get:function(){return B.BUNDLE_V02_MEDIA_TYPE}});Object.defineProperty(u,"BUNDLE_V03_LEGACY_MEDIA_TYPE",{enumerable:true,get:function(){return B.BUNDLE_V03_LEGACY_MEDIA_TYPE}});Object.defineProperty(u,"BUNDLE_V03_MEDIA_TYPE",{enumerable:true,get:function(){return B.BUNDLE_V03_MEDIA_TYPE}});Object.defineProperty(u,"isBundleWithCertificateChain",{enumerable:true,get:function(){return B.isBundleWithCertificateChain}});Object.defineProperty(u,"isBundleWithDsseEnvelope",{enumerable:true,get:function(){return B.isBundleWithDsseEnvelope}});Object.defineProperty(u,"isBundleWithMessageSignature",{enumerable:true,get:function(){return B.isBundleWithMessageSignature}});Object.defineProperty(u,"isBundleWithPublicKey",{enumerable:true,get:function(){return B.isBundleWithPublicKey}});var Q=A(47714);Object.defineProperty(u,"ValidationError",{enumerable:true,get:function(){return Q.ValidationError}});var P=A(23404);Object.defineProperty(u,"bundleFromJSON",{enumerable:true,get:function(){return P.bundleFromJSON}});Object.defineProperty(u,"bundleToJSON",{enumerable:true,get:function(){return P.bundleToJSON}});Object.defineProperty(u,"envelopeFromJSON",{enumerable:true,get:function(){return P.envelopeFromJSON}});Object.defineProperty(u,"envelopeToJSON",{enumerable:true,get:function(){return P.envelopeToJSON}});var D=A(9352);Object.defineProperty(u,"assertBundle",{enumerable:true,get:function(){return D.assertBundle}});Object.defineProperty(u,"assertBundleLatest",{enumerable:true,get:function(){return D.assertBundleLatest}});Object.defineProperty(u,"assertBundleV01",{enumerable:true,get:function(){return D.assertBundleV01}});Object.defineProperty(u,"assertBundleV02",{enumerable:true,get:function(){return D.assertBundleV02}});Object.defineProperty(u,"isBundleV01",{enumerable:true,get:function(){return D.isBundleV01}})},23404:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.envelopeToJSON=u.envelopeFromJSON=u.bundleToJSON=u.bundleFromJSON=void 0;const I=A(19654);const B=A(37742);const Q=A(9352);const bundleFromJSON=i=>{const u=I.Bundle.fromJSON(i);switch(u.mediaType){case B.BUNDLE_V01_MEDIA_TYPE:(0,Q.assertBundleV01)(u);break;case B.BUNDLE_V02_MEDIA_TYPE:(0,Q.assertBundleV02)(u);break;default:(0,Q.assertBundleLatest)(u);break}return u};u.bundleFromJSON=bundleFromJSON;const bundleToJSON=i=>I.Bundle.toJSON(i);u.bundleToJSON=bundleToJSON;const envelopeFromJSON=i=>I.Envelope.fromJSON(i);u.envelopeFromJSON=envelopeFromJSON;const envelopeToJSON=i=>I.Envelope.toJSON(i);u.envelopeToJSON=envelopeToJSON},9352:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.assertBundle=assertBundle;u.assertBundleV01=assertBundleV01;u.isBundleV01=isBundleV01;u.assertBundleV02=assertBundleV02;u.assertBundleLatest=assertBundleLatest;const I=A(47714);function assertBundle(i){const u=validateBundleBase(i);if(u.length>0){throw new I.ValidationError("invalid bundle",u)}}function assertBundleV01(i){const u=[];u.push(...validateBundleBase(i));u.push(...validateInclusionPromise(i));if(u.length>0){throw new I.ValidationError("invalid v0.1 bundle",u)}}function isBundleV01(i){try{assertBundleV01(i);return true}catch(i){return false}}function assertBundleV02(i){const u=[];u.push(...validateBundleBase(i));u.push(...validateInclusionProof(i));if(u.length>0){throw new I.ValidationError("invalid v0.2 bundle",u)}}function assertBundleLatest(i){const u=[];u.push(...validateBundleBase(i));u.push(...validateInclusionProof(i));u.push(...validateNoCertificateChain(i));if(u.length>0){throw new I.ValidationError("invalid bundle",u)}}function validateBundleBase(i){const u=[];if(i.mediaType===undefined||!i.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\+json;version=\d\.\d/)&&!i.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\.v\d\.\d\+json/)){u.push("mediaType")}if(i.content===undefined){u.push("content")}else{switch(i.content.$case){case"messageSignature":if(i.content.messageSignature.messageDigest===undefined){u.push("content.messageSignature.messageDigest")}else{if(i.content.messageSignature.messageDigest.digest.length===0){u.push("content.messageSignature.messageDigest.digest")}}if(i.content.messageSignature.signature.length===0){u.push("content.messageSignature.signature")}break;case"dsseEnvelope":if(i.content.dsseEnvelope.payload.length===0){u.push("content.dsseEnvelope.payload")}if(i.content.dsseEnvelope.signatures.length!==1){u.push("content.dsseEnvelope.signatures")}else{if(i.content.dsseEnvelope.signatures[0].sig.length===0){u.push("content.dsseEnvelope.signatures[0].sig")}}break}}if(i.verificationMaterial===undefined){u.push("verificationMaterial")}else{if(i.verificationMaterial.content===undefined){u.push("verificationMaterial.content")}else{switch(i.verificationMaterial.content.$case){case"x509CertificateChain":if(i.verificationMaterial.content.x509CertificateChain.certificates.length===0){u.push("verificationMaterial.content.x509CertificateChain.certificates")}i.verificationMaterial.content.x509CertificateChain.certificates.forEach(((i,A)=>{if(i.rawBytes.length===0){u.push(`verificationMaterial.content.x509CertificateChain.certificates[${A}].rawBytes`)}}));break;case"certificate":if(i.verificationMaterial.content.certificate.rawBytes.length===0){u.push("verificationMaterial.content.certificate.rawBytes")}break}}if(i.verificationMaterial.tlogEntries===undefined){u.push("verificationMaterial.tlogEntries")}else{if(i.verificationMaterial.tlogEntries.length>0){i.verificationMaterial.tlogEntries.forEach(((i,A)=>{if(i.logId===undefined){u.push(`verificationMaterial.tlogEntries[${A}].logId`)}if(i.kindVersion===undefined){u.push(`verificationMaterial.tlogEntries[${A}].kindVersion`)}}))}}}return u}function validateInclusionPromise(i){const u=[];if(i.verificationMaterial&&i.verificationMaterial.tlogEntries?.length>0){i.verificationMaterial.tlogEntries.forEach(((i,A)=>{if(i.inclusionPromise===undefined){u.push(`verificationMaterial.tlogEntries[${A}].inclusionPromise`)}}))}return u}function validateInclusionProof(i){const u=[];if(i.verificationMaterial&&i.verificationMaterial.tlogEntries?.length>0){i.verificationMaterial.tlogEntries.forEach(((i,A)=>{if(i.inclusionProof===undefined){u.push(`verificationMaterial.tlogEntries[${A}].inclusionProof`)}else{if(i.inclusionProof.checkpoint===undefined){u.push(`verificationMaterial.tlogEntries[${A}].inclusionProof.checkpoint`)}}}))}return u}function validateNoCertificateChain(i){const u=[];if(i.verificationMaterial?.content?.$case==="x509CertificateChain"){u.push("verificationMaterial.content.$case")}return u}},11121:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ASN1TypeError=u.ASN1ParseError=void 0;class ASN1ParseError extends Error{}u.ASN1ParseError=ASN1ParseError;class ASN1TypeError extends Error{}u.ASN1TypeError=ASN1TypeError},86027:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ASN1Obj=void 0;var I=A(50990);Object.defineProperty(u,"ASN1Obj",{enumerable:true,get:function(){return I.ASN1Obj}})},84243:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.decodeLength=decodeLength;u.encodeLength=encodeLength;const I=A(11121);function decodeLength(i){const u=i.getUint8();if((u&128)===0){return u}const A=u&127;if(A>6){throw new I.ASN1ParseError("length exceeds 6 byte limit")}let B=0;for(let u=0;u0n){A.unshift(Number(u&255n));u=u>>8n}return Buffer.from([128|A.length,...A])}},50990:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ASN1Obj=void 0;const I=A(1673);const B=A(11121);const Q=A(84243);const P=A(81044);const D=A(59343);class ASN1Obj{tag;subs;value;constructor(i,u,A){this.tag=i;this.value=u;this.subs=A}static parseBuffer(i){return parseStream(new I.ByteStream(i))}toDER(){const i=new I.ByteStream;if(this.subs.length>0){for(const u of this.subs){i.appendView(u.toDER())}}else{i.appendView(this.value)}const u=i.buffer;const A=new I.ByteStream;A.appendChar(this.tag.toDER());A.appendView((0,Q.encodeLength)(u.length));A.appendView(u);return A.buffer}toBoolean(){if(!this.tag.isBoolean()){throw new B.ASN1TypeError("not a boolean")}return(0,P.parseBoolean)(this.value)}toInteger(){if(!this.tag.isInteger()){throw new B.ASN1TypeError("not an integer")}return(0,P.parseInteger)(this.value)}toOID(){if(!this.tag.isOID()){throw new B.ASN1TypeError("not an OID")}return(0,P.parseOID)(this.value)}toDate(){switch(true){case this.tag.isUTCTime():return(0,P.parseTime)(this.value,true);case this.tag.isGeneralizedTime():return(0,P.parseTime)(this.value,false);default:throw new B.ASN1TypeError("not a date")}}toBitString(){if(!this.tag.isBitString()){throw new B.ASN1TypeError("not a bit string")}return(0,P.parseBitString)(this.value)}}u.ASN1Obj=ASN1Obj;function parseStream(i){const u=new D.ASN1Tag(i.getUint8());const A=(0,Q.decodeLength)(i);const I=i.slice(i.position,A);const B=i.position;let P=[];if(u.constructed){P=collectSubs(i,A)}else if(u.isOctetString()){try{P=collectSubs(i,A)}catch(i){}}if(P.length===0){i.seek(B+A)}return new ASN1Obj(u,I,P)}function collectSubs(i,u){const A=i.position+u;if(A>i.length){throw new B.ASN1ParseError("invalid length")}const I=[];while(i.position{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.parseInteger=parseInteger;u.parseStringASCII=parseStringASCII;u.parseTime=parseTime;u.parseOID=parseOID;u.parseBoolean=parseBoolean;u.parseBitString=parseBitString;const A=/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/;const I=/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\d{3})?Z$/;function parseInteger(i){let u=0;const A=i.length;let I=i[u];const B=I>127;const Q=B?255:0;while(I==Q&&++u=50?1900:2e3;Q[1]=i.toString()}return new Date(`${Q[1]}-${Q[2]}-${Q[3]}T${Q[4]}:${Q[5]}:${Q[6]}Z`)}function parseOID(i){let u=0;const A=i.length;let I=i[u++];const B=Math.floor(I/40);const Q=I%40;let P=`${B}.${Q}`;let D=0;for(;u=P;--i){B.push(A>>i&1)}}return B}},59343:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ASN1Tag=void 0;const I=A(11121);const B={BOOLEAN:1,INTEGER:2,BIT_STRING:3,OCTET_STRING:4,OBJECT_IDENTIFIER:6,SEQUENCE:16,SET:17,PRINTABLE_STRING:19,UTC_TIME:23,GENERALIZED_TIME:24};const Q={UNIVERSAL:0,APPLICATION:1,CONTEXT_SPECIFIC:2,PRIVATE:3};class ASN1Tag{number;constructed;class;constructor(i){this.number=i&31;this.constructed=(i&32)===32;this.class=i>>6;if(this.number===31){throw new I.ASN1ParseError("long form tags not supported")}if(this.class===Q.UNIVERSAL&&this.number===0){throw new I.ASN1ParseError("unsupported tag 0x00")}}isUniversal(){return this.class===Q.UNIVERSAL}isContextSpecific(i){const u=this.class===Q.CONTEXT_SPECIFIC;return i!==undefined?u&&this.number===i:u}isBoolean(){return this.isUniversal()&&this.number===B.BOOLEAN}isInteger(){return this.isUniversal()&&this.number===B.INTEGER}isBitString(){return this.isUniversal()&&this.number===B.BIT_STRING}isOctetString(){return this.isUniversal()&&this.number===B.OCTET_STRING}isOID(){return this.isUniversal()&&this.number===B.OBJECT_IDENTIFIER}isUTCTime(){return this.isUniversal()&&this.number===B.UTC_TIME}isGeneralizedTime(){return this.isUniversal()&&this.number===B.GENERALIZED_TIME}toDER(){return this.number|(this.constructed?32:0)|this.class<<6}}u.ASN1Tag=ASN1Tag},69368:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.createPublicKey=createPublicKey;u.digest=digest;u.verify=verify;u.bufferEqual=bufferEqual;const B=I(A(76982));function createPublicKey(i,u="spki"){if(typeof i==="string"){if(i.startsWith("-----")){return B.default.createPublicKey(i)}else{return B.default.createPublicKey({key:Buffer.from(i,"base64"),format:"der",type:u})}}else{return B.default.createPublicKey({key:i,format:"der",type:u})}}function digest(i,...u){const A=B.default.createHash(i);for(const i of u){A.update(i)}return A.digest()}function verify(i,u,A,I){try{return B.default.verify(I,i,u,A)}catch(i){return false}}function bufferEqual(i,u){try{return B.default.timingSafeEqual(i,u)}catch{return false}}},49032:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.preAuthEncoding=preAuthEncoding;const A="DSSEv1";function preAuthEncoding(i,u){const I=Buffer.from(i,"utf-8");return Buffer.concat([Buffer.from(`${A} ${I.length} `,"ascii"),I,Buffer.from(` ${u.length} `,"ascii"),u])}},52788:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.base64Encode=base64Encode;u.base64Decode=base64Decode;const A="base64";const I="utf-8";function base64Encode(i){return Buffer.from(i,I).toString(A)}function base64Decode(i){return Buffer.from(i,A).toString(I)}},83917:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.canonicalize=canonicalize;function canonicalize(i){let u="";if(i===null||typeof i!=="object"||i.toJSON!=null){u+=JSON.stringify(i)}else if(Array.isArray(i)){u+="[";let A=true;i.forEach((i=>{if(!A){u+=","}A=false;u+=canonicalize(i)}));u+="]"}else{u+="{";let A=true;Object.keys(i).sort().forEach((I=>{if(!A){u+=","}A=false;u+=JSON.stringify(I);u+=":";u+=canonicalize(i[I])}));u+="}"}return u}},91817:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.SHA2_HASH_ALGOS=u.RSA_SIGNATURE_ALGOS=u.ECDSA_SIGNATURE_ALGOS=void 0;u.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};u.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};u.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}},1055:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.toDER=toDER;u.fromDER=fromDER;const A=/-----BEGIN (.*)-----/;const I=/-----END (.*)-----/;function toDER(i){let u="";i.split("\n").forEach((i=>{if(i.match(A)||i.match(I)){return}u+=i}));return Buffer.from(u,"base64")}function fromDER(i,u="CERTIFICATE"){const A=i.toString("base64");const I=A.match(/.{1,64}/g)||"";return[`-----BEGIN ${u}-----`,...I,`-----END ${u}-----`].join("\n").concat("\n")}},97512:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.RFC3161TimestampVerificationError=void 0;class RFC3161TimestampVerificationError extends Error{}u.RFC3161TimestampVerificationError=RFC3161TimestampVerificationError},20994:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.RFC3161Timestamp=void 0;var I=A(92714);Object.defineProperty(u,"RFC3161Timestamp",{enumerable:true,get:function(){return I.RFC3161Timestamp}})},92714:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qi.tag.isContextSpecific(0)));return i.subs[0]}get encapContentInfoObj(){return this.signedDataObj.subs[2]}get signerInfosObj(){const i=this.signedDataObj;return i.subs[i.subs.length-1]}get signerInfoObj(){return this.signerInfosObj.subs[0]}get eContentTypeObj(){return this.encapContentInfoObj.subs[0]}get eContentObj(){return this.encapContentInfoObj.subs[1]}get signedAttrsObj(){const i=this.signerInfoObj.subs.find((i=>i.tag.isContextSpecific(0)));return i}get messageDigestAttributeObj(){const i=this.signedAttrsObj.subs.find((i=>i.subs[0].tag.isOID()&&i.subs[0].toOID()===Y));return i}get signerSidObj(){return this.signerInfoObj.subs[1]}get signerDigestAlgorithmObj(){return this.signerInfoObj.subs[2]}get signatureAlgorithmObj(){return this.signerInfoObj.subs[4]}get signatureValueObj(){return this.signerInfoObj.subs[5]}}u.RFC3161Timestamp=RFC3161Timestamp},62925:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ByteStream=void 0;class StreamError extends Error{}class ByteStream{static BLOCK_SIZE=1024;buf;view;start=0;constructor(i){if(i){this.buf=i;this.view=Buffer.from(i)}else{this.buf=Buffer.alloc(0);this.view=Buffer.from(this.buf)}}get buffer(){return this.view.subarray(0,this.start)}get length(){return this.view.byteLength}get position(){return this.start}seek(i){this.start=i}slice(i,u){const A=i+u;if(A>this.length){throw new StreamError("request past end of buffer")}return this.view.subarray(i,A)}appendChar(i){this.ensureCapacity(1);this.view[this.start]=i;this.start+=1}appendUint16(i){this.ensureCapacity(2);const u=new Uint16Array([i]);const A=new Uint8Array(u.buffer);this.view[this.start]=A[1];this.view[this.start+1]=A[0];this.start+=2}appendUint24(i){this.ensureCapacity(3);const u=new Uint32Array([i]);const A=new Uint8Array(u.buffer);this.view[this.start]=A[2];this.view[this.start+1]=A[1];this.view[this.start+2]=A[0];this.start+=3}appendView(i){this.ensureCapacity(i.length);this.view.set(i,this.start);this.start+=i.length}getBlock(i){if(i<=0){return Buffer.alloc(0)}if(this.start+i>this.view.length){throw new Error("request past end of buffer")}const u=this.view.subarray(this.start,this.start+i);this.start+=i;return u}getUint8(){return this.getBlock(1)[0]}getUint16(){const i=this.getBlock(2);return i[0]<<8|i[1]}ensureCapacity(i){if(this.start+i>this.view.byteLength){const u=ByteStream.BLOCK_SIZE+(i>ByteStream.BLOCK_SIZE?i:0);this.realloc(this.view.byteLength+u)}}realloc(i){const u=Buffer.alloc(i);const A=Buffer.from(u);A.set(this.view);this.buf=u;this.view=A}}u.ByteStream=ByteStream},83566:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qu.subs[0].toOID()===i))}get tbsCertificateObj(){return this.root.subs[0]}get signatureAlgorithmObj(){return this.root.subs[1]}get signatureValueObj(){return this.root.subs[2]}get versionObj(){return this.tbsCertificateObj.subs[0]}get serialNumberObj(){return this.tbsCertificateObj.subs[1]}get issuerObj(){return this.tbsCertificateObj.subs[3]}get validityObj(){return this.tbsCertificateObj.subs[4]}get subjectObj(){return this.tbsCertificateObj.subs[5]}get subjectPublicKeyInfoObj(){return this.tbsCertificateObj.subs[6]}get extensionsObj(){return this.tbsCertificateObj.subs.find((i=>i.tag.isContextSpecific(3)))}}u.X509Certificate=X509Certificate},96389:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.X509SCTExtension=u.X509SubjectKeyIDExtension=u.X509AuthorityKeyIDExtension=u.X509SubjectAlternativeNameExtension=u.X509KeyUsageExtension=u.X509BasicConstraintsExtension=u.X509Extension=void 0;const I=A(1673);const B=A(6144);class X509Extension{root;constructor(i){this.root=i}get oid(){return this.root.subs[0].toOID()}get critical(){return this.root.subs.length===3?this.root.subs[1].toBoolean():false}get value(){return this.extnValueObj.value}get valueObj(){return this.extnValueObj}get extnValueObj(){return this.root.subs[this.root.subs.length-1]}}u.X509Extension=X509Extension;class X509BasicConstraintsExtension extends X509Extension{get isCA(){return this.sequence.subs[0]?.toBoolean()??false}get pathLenConstraint(){return this.sequence.subs.length>1?this.sequence.subs[1].toInteger():undefined}get sequence(){return this.extnValueObj.subs[0]}}u.X509BasicConstraintsExtension=X509BasicConstraintsExtension;class X509KeyUsageExtension extends X509Extension{get digitalSignature(){return this.bitString[0]===1}get keyCertSign(){return this.bitString[5]===1}get crlSign(){return this.bitString[6]===1}get bitString(){return this.extnValueObj.subs[0].toBitString()}}u.X509KeyUsageExtension=X509KeyUsageExtension;class X509SubjectAlternativeNameExtension extends X509Extension{get rfc822Name(){return this.findGeneralName(1)?.value.toString("ascii")}get uri(){return this.findGeneralName(6)?.value.toString("ascii")}otherName(i){const u=this.findGeneralName(0);if(u===undefined){return undefined}const A=u.subs[0].toOID();if(A!==i){return undefined}const I=u.subs[1];return I.subs[0].value.toString("ascii")}findGeneralName(i){return this.generalNames.find((u=>u.tag.isContextSpecific(i)))}get generalNames(){return this.extnValueObj.subs[0].subs}}u.X509SubjectAlternativeNameExtension=X509SubjectAlternativeNameExtension;class X509AuthorityKeyIDExtension extends X509Extension{get keyIdentifier(){return this.findSequenceMember(0)?.value}findSequenceMember(i){return this.sequence.subs.find((u=>u.tag.isContextSpecific(i)))}get sequence(){return this.extnValueObj.subs[0]}}u.X509AuthorityKeyIDExtension=X509AuthorityKeyIDExtension;class X509SubjectKeyIDExtension extends X509Extension{get keyIdentifier(){return this.extnValueObj.subs[0].value}}u.X509SubjectKeyIDExtension=X509SubjectKeyIDExtension;class X509SCTExtension extends X509Extension{constructor(i){super(i)}get signedCertificateTimestamps(){const i=this.extnValueObj.subs[0].value;const u=new I.ByteStream(i);const A=u.getUint16()+2;const Q=[];while(u.position{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.X509SCTExtension=u.X509Certificate=u.EXTENSION_OID_SCT=void 0;var I=A(83566);Object.defineProperty(u,"EXTENSION_OID_SCT",{enumerable:true,get:function(){return I.EXTENSION_OID_SCT}});Object.defineProperty(u,"X509Certificate",{enumerable:true,get:function(){return I.X509Certificate}});var B=A(96389);Object.defineProperty(u,"X509SCTExtension",{enumerable:true,get:function(){return B.X509SCTExtension}})},6144:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q0){A.appendView(this.extensions)}return P.verify(A.buffer,u,this.signature,this.algorithm)}static parse(i){const u=new D.ByteStream(i);const A=u.getUint8();const I=u.getBlock(32);const B=u.getBlock(8);const Q=u.getUint16();const P=u.getBlock(Q);const L=u.getUint8();const U=u.getUint8();const G=u.getUint16();const z=u.getBlock(G);if(u.position!==i.length){throw new Error("SCT buffer length mismatch")}return new SignedCertificateTimestamp({version:A,logID:I,timestamp:B,extensions:P,hashAlgorithm:L,signatureAlgorithm:U,signature:z})}}u.SignedCertificateTimestamp=SignedCertificateTimestamp},47030:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Signature=u.Envelope=void 0;u.Envelope={fromJSON(i){return{payload:isSet(i.payload)?Buffer.from(bytesFromBase64(i.payload)):Buffer.alloc(0),payloadType:isSet(i.payloadType)?globalThis.String(i.payloadType):"",signatures:globalThis.Array.isArray(i?.signatures)?i.signatures.map((i=>u.Signature.fromJSON(i))):[]}},toJSON(i){const A={};if(i.payload.length!==0){A.payload=base64FromBytes(i.payload)}if(i.payloadType!==""){A.payloadType=i.payloadType}if(i.signatures?.length){A.signatures=i.signatures.map((i=>u.Signature.toJSON(i)))}return A}};u.Signature={fromJSON(i){return{sig:isSet(i.sig)?Buffer.from(bytesFromBase64(i.sig)):Buffer.alloc(0),keyid:isSet(i.keyid)?globalThis.String(i.keyid):""}},toJSON(i){const u={};if(i.sig.length!==0){u.sig=base64FromBytes(i.sig)}if(i.keyid!==""){u.keyid=i.keyid}return u}};function bytesFromBase64(i){return Uint8Array.from(globalThis.Buffer.from(i,"base64"))}function base64FromBytes(i){return globalThis.Buffer.from(i).toString("base64")}function isSet(i){return i!==null&&i!==undefined}},45e3:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Timestamp=void 0;u.Timestamp={fromJSON(i){return{seconds:isSet(i.seconds)?globalThis.String(i.seconds):"0",nanos:isSet(i.nanos)?globalThis.Number(i.nanos):0}},toJSON(i){const u={};if(i.seconds!=="0"){u.seconds=i.seconds}if(i.nanos!==0){u.nanos=Math.round(i.nanos)}return u}};function isSet(i){return i!==null&&i!==undefined}},36764:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.DSSELogEntryV002=u.DSSERequestV002=void 0;const I=A(47030);const B=A(5334);const Q=A(7543);u.DSSERequestV002={fromJSON(i){return{envelope:isSet(i.envelope)?I.Envelope.fromJSON(i.envelope):undefined,verifiers:globalThis.Array.isArray(i?.verifiers)?i.verifiers.map((i=>Q.Verifier.fromJSON(i))):[]}},toJSON(i){const u={};if(i.envelope!==undefined){u.envelope=I.Envelope.toJSON(i.envelope)}if(i.verifiers?.length){u.verifiers=i.verifiers.map((i=>Q.Verifier.toJSON(i)))}return u}};u.DSSELogEntryV002={fromJSON(i){return{payloadHash:isSet(i.payloadHash)?B.HashOutput.fromJSON(i.payloadHash):undefined,signatures:globalThis.Array.isArray(i?.signatures)?i.signatures.map((i=>Q.Signature.fromJSON(i))):[]}},toJSON(i){const u={};if(i.payloadHash!==undefined){u.payloadHash=B.HashOutput.toJSON(i.payloadHash)}if(i.signatures?.length){u.signatures=i.signatures.map((i=>Q.Signature.toJSON(i)))}return u}};function isSet(i){return i!==null&&i!==undefined}},381:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.CreateEntryRequest=u.Spec=u.Entry=void 0;const I=A(36764);const B=A(4969);u.Entry={fromJSON(i){return{kind:isSet(i.kind)?globalThis.String(i.kind):"",apiVersion:isSet(i.apiVersion)?globalThis.String(i.apiVersion):"",spec:isSet(i.spec)?u.Spec.fromJSON(i.spec):undefined}},toJSON(i){const A={};if(i.kind!==""){A.kind=i.kind}if(i.apiVersion!==""){A.apiVersion=i.apiVersion}if(i.spec!==undefined){A.spec=u.Spec.toJSON(i.spec)}return A}};u.Spec={fromJSON(i){return{spec:isSet(i.hashedRekordV002)?{$case:"hashedRekordV002",hashedRekordV002:B.HashedRekordLogEntryV002.fromJSON(i.hashedRekordV002)}:isSet(i.dsseV002)?{$case:"dsseV002",dsseV002:I.DSSELogEntryV002.fromJSON(i.dsseV002)}:undefined}},toJSON(i){const u={};if(i.spec?.$case==="hashedRekordV002"){u.hashedRekordV002=B.HashedRekordLogEntryV002.toJSON(i.spec.hashedRekordV002)}else if(i.spec?.$case==="dsseV002"){u.dsseV002=I.DSSELogEntryV002.toJSON(i.spec.dsseV002)}return u}};u.CreateEntryRequest={fromJSON(i){return{spec:isSet(i.hashedRekordRequestV002)?{$case:"hashedRekordRequestV002",hashedRekordRequestV002:B.HashedRekordRequestV002.fromJSON(i.hashedRekordRequestV002)}:isSet(i.dsseRequestV002)?{$case:"dsseRequestV002",dsseRequestV002:I.DSSERequestV002.fromJSON(i.dsseRequestV002)}:undefined}},toJSON(i){const u={};if(i.spec?.$case==="hashedRekordRequestV002"){u.hashedRekordRequestV002=B.HashedRekordRequestV002.toJSON(i.spec.hashedRekordRequestV002)}else if(i.spec?.$case==="dsseRequestV002"){u.dsseRequestV002=I.DSSERequestV002.toJSON(i.spec.dsseRequestV002)}return u}};function isSet(i){return i!==null&&i!==undefined}},4969:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.HashedRekordLogEntryV002=u.HashedRekordRequestV002=void 0;const I=A(5334);const B=A(7543);u.HashedRekordRequestV002={fromJSON(i){return{digest:isSet(i.digest)?Buffer.from(bytesFromBase64(i.digest)):Buffer.alloc(0),signature:isSet(i.signature)?B.Signature.fromJSON(i.signature):undefined}},toJSON(i){const u={};if(i.digest.length!==0){u.digest=base64FromBytes(i.digest)}if(i.signature!==undefined){u.signature=B.Signature.toJSON(i.signature)}return u}};u.HashedRekordLogEntryV002={fromJSON(i){return{data:isSet(i.data)?I.HashOutput.fromJSON(i.data):undefined,signature:isSet(i.signature)?B.Signature.fromJSON(i.signature):undefined}},toJSON(i){const u={};if(i.data!==undefined){u.data=I.HashOutput.toJSON(i.data)}if(i.signature!==undefined){u.signature=B.Signature.toJSON(i.signature)}return u}};function bytesFromBase64(i){return Uint8Array.from(globalThis.Buffer.from(i,"base64"))}function base64FromBytes(i){return globalThis.Buffer.from(i).toString("base64")}function isSet(i){return i!==null&&i!==undefined}},7543:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Signature=u.Verifier=u.PublicKey=void 0;const I=A(5334);u.PublicKey={fromJSON(i){return{rawBytes:isSet(i.rawBytes)?Buffer.from(bytesFromBase64(i.rawBytes)):Buffer.alloc(0)}},toJSON(i){const u={};if(i.rawBytes.length!==0){u.rawBytes=base64FromBytes(i.rawBytes)}return u}};u.Verifier={fromJSON(i){return{verifier:isSet(i.publicKey)?{$case:"publicKey",publicKey:u.PublicKey.fromJSON(i.publicKey)}:isSet(i.x509Certificate)?{$case:"x509Certificate",x509Certificate:I.X509Certificate.fromJSON(i.x509Certificate)}:undefined,keyDetails:isSet(i.keyDetails)?(0,I.publicKeyDetailsFromJSON)(i.keyDetails):0}},toJSON(i){const A={};if(i.verifier?.$case==="publicKey"){A.publicKey=u.PublicKey.toJSON(i.verifier.publicKey)}else if(i.verifier?.$case==="x509Certificate"){A.x509Certificate=I.X509Certificate.toJSON(i.verifier.x509Certificate)}if(i.keyDetails!==0){A.keyDetails=(0,I.publicKeyDetailsToJSON)(i.keyDetails)}return A}};u.Signature={fromJSON(i){return{content:isSet(i.content)?Buffer.from(bytesFromBase64(i.content)):Buffer.alloc(0),verifier:isSet(i.verifier)?u.Verifier.fromJSON(i.verifier):undefined}},toJSON(i){const A={};if(i.content.length!==0){A.content=base64FromBytes(i.content)}if(i.verifier!==undefined){A.verifier=u.Verifier.toJSON(i.verifier)}return A}};function bytesFromBase64(i){return Uint8Array.from(globalThis.Buffer.from(i,"base64"))}function base64FromBytes(i){return globalThis.Buffer.from(i).toString("base64")}function isSet(i){return i!==null&&i!==undefined}},70715:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Bundle=u.VerificationMaterial=u.TimestampVerificationData=void 0;const I=A(47030);const B=A(5334);const Q=A(85204);u.TimestampVerificationData={fromJSON(i){return{rfc3161Timestamps:globalThis.Array.isArray(i?.rfc3161Timestamps)?i.rfc3161Timestamps.map((i=>B.RFC3161SignedTimestamp.fromJSON(i))):[]}},toJSON(i){const u={};if(i.rfc3161Timestamps?.length){u.rfc3161Timestamps=i.rfc3161Timestamps.map((i=>B.RFC3161SignedTimestamp.toJSON(i)))}return u}};u.VerificationMaterial={fromJSON(i){return{content:isSet(i.publicKey)?{$case:"publicKey",publicKey:B.PublicKeyIdentifier.fromJSON(i.publicKey)}:isSet(i.x509CertificateChain)?{$case:"x509CertificateChain",x509CertificateChain:B.X509CertificateChain.fromJSON(i.x509CertificateChain)}:isSet(i.certificate)?{$case:"certificate",certificate:B.X509Certificate.fromJSON(i.certificate)}:undefined,tlogEntries:globalThis.Array.isArray(i?.tlogEntries)?i.tlogEntries.map((i=>Q.TransparencyLogEntry.fromJSON(i))):[],timestampVerificationData:isSet(i.timestampVerificationData)?u.TimestampVerificationData.fromJSON(i.timestampVerificationData):undefined}},toJSON(i){const A={};if(i.content?.$case==="publicKey"){A.publicKey=B.PublicKeyIdentifier.toJSON(i.content.publicKey)}else if(i.content?.$case==="x509CertificateChain"){A.x509CertificateChain=B.X509CertificateChain.toJSON(i.content.x509CertificateChain)}else if(i.content?.$case==="certificate"){A.certificate=B.X509Certificate.toJSON(i.content.certificate)}if(i.tlogEntries?.length){A.tlogEntries=i.tlogEntries.map((i=>Q.TransparencyLogEntry.toJSON(i)))}if(i.timestampVerificationData!==undefined){A.timestampVerificationData=u.TimestampVerificationData.toJSON(i.timestampVerificationData)}return A}};u.Bundle={fromJSON(i){return{mediaType:isSet(i.mediaType)?globalThis.String(i.mediaType):"",verificationMaterial:isSet(i.verificationMaterial)?u.VerificationMaterial.fromJSON(i.verificationMaterial):undefined,content:isSet(i.messageSignature)?{$case:"messageSignature",messageSignature:B.MessageSignature.fromJSON(i.messageSignature)}:isSet(i.dsseEnvelope)?{$case:"dsseEnvelope",dsseEnvelope:I.Envelope.fromJSON(i.dsseEnvelope)}:undefined}},toJSON(i){const A={};if(i.mediaType!==""){A.mediaType=i.mediaType}if(i.verificationMaterial!==undefined){A.verificationMaterial=u.VerificationMaterial.toJSON(i.verificationMaterial)}if(i.content?.$case==="messageSignature"){A.messageSignature=B.MessageSignature.toJSON(i.content.messageSignature)}else if(i.content?.$case==="dsseEnvelope"){A.dsseEnvelope=I.Envelope.toJSON(i.content.dsseEnvelope)}return A}};function isSet(i){return i!==null&&i!==undefined}},5334:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TimeRange=u.X509CertificateChain=u.SubjectAlternativeName=u.X509Certificate=u.DistinguishedName=u.ObjectIdentifierValuePair=u.ObjectIdentifier=u.PublicKeyIdentifier=u.PublicKey=u.RFC3161SignedTimestamp=u.LogId=u.MessageSignature=u.HashOutput=u.SubjectAlternativeNameType=u.PublicKeyDetails=u.HashAlgorithm=void 0;u.hashAlgorithmFromJSON=hashAlgorithmFromJSON;u.hashAlgorithmToJSON=hashAlgorithmToJSON;u.publicKeyDetailsFromJSON=publicKeyDetailsFromJSON;u.publicKeyDetailsToJSON=publicKeyDetailsToJSON;u.subjectAlternativeNameTypeFromJSON=subjectAlternativeNameTypeFromJSON;u.subjectAlternativeNameTypeToJSON=subjectAlternativeNameTypeToJSON;const I=A(45e3);var B;(function(i){i[i["HASH_ALGORITHM_UNSPECIFIED"]=0]="HASH_ALGORITHM_UNSPECIFIED";i[i["SHA2_256"]=1]="SHA2_256";i[i["SHA2_384"]=2]="SHA2_384";i[i["SHA2_512"]=3]="SHA2_512";i[i["SHA3_256"]=4]="SHA3_256";i[i["SHA3_384"]=5]="SHA3_384"})(B||(u.HashAlgorithm=B={}));function hashAlgorithmFromJSON(i){switch(i){case 0:case"HASH_ALGORITHM_UNSPECIFIED":return B.HASH_ALGORITHM_UNSPECIFIED;case 1:case"SHA2_256":return B.SHA2_256;case 2:case"SHA2_384":return B.SHA2_384;case 3:case"SHA2_512":return B.SHA2_512;case 4:case"SHA3_256":return B.SHA3_256;case 5:case"SHA3_384":return B.SHA3_384;default:throw new globalThis.Error("Unrecognized enum value "+i+" for enum HashAlgorithm")}}function hashAlgorithmToJSON(i){switch(i){case B.HASH_ALGORITHM_UNSPECIFIED:return"HASH_ALGORITHM_UNSPECIFIED";case B.SHA2_256:return"SHA2_256";case B.SHA2_384:return"SHA2_384";case B.SHA2_512:return"SHA2_512";case B.SHA3_256:return"SHA3_256";case B.SHA3_384:return"SHA3_384";default:throw new globalThis.Error("Unrecognized enum value "+i+" for enum HashAlgorithm")}}var Q;(function(i){i[i["PUBLIC_KEY_DETAILS_UNSPECIFIED"]=0]="PUBLIC_KEY_DETAILS_UNSPECIFIED";i[i["PKCS1_RSA_PKCS1V5"]=1]="PKCS1_RSA_PKCS1V5";i[i["PKCS1_RSA_PSS"]=2]="PKCS1_RSA_PSS";i[i["PKIX_RSA_PKCS1V5"]=3]="PKIX_RSA_PKCS1V5";i[i["PKIX_RSA_PSS"]=4]="PKIX_RSA_PSS";i[i["PKIX_RSA_PKCS1V15_2048_SHA256"]=9]="PKIX_RSA_PKCS1V15_2048_SHA256";i[i["PKIX_RSA_PKCS1V15_3072_SHA256"]=10]="PKIX_RSA_PKCS1V15_3072_SHA256";i[i["PKIX_RSA_PKCS1V15_4096_SHA256"]=11]="PKIX_RSA_PKCS1V15_4096_SHA256";i[i["PKIX_RSA_PSS_2048_SHA256"]=16]="PKIX_RSA_PSS_2048_SHA256";i[i["PKIX_RSA_PSS_3072_SHA256"]=17]="PKIX_RSA_PSS_3072_SHA256";i[i["PKIX_RSA_PSS_4096_SHA256"]=18]="PKIX_RSA_PSS_4096_SHA256";i[i["PKIX_ECDSA_P256_HMAC_SHA_256"]=6]="PKIX_ECDSA_P256_HMAC_SHA_256";i[i["PKIX_ECDSA_P256_SHA_256"]=5]="PKIX_ECDSA_P256_SHA_256";i[i["PKIX_ECDSA_P384_SHA_384"]=12]="PKIX_ECDSA_P384_SHA_384";i[i["PKIX_ECDSA_P521_SHA_512"]=13]="PKIX_ECDSA_P521_SHA_512";i[i["PKIX_ED25519"]=7]="PKIX_ED25519";i[i["PKIX_ED25519_PH"]=8]="PKIX_ED25519_PH";i[i["PKIX_ECDSA_P384_SHA_256"]=19]="PKIX_ECDSA_P384_SHA_256";i[i["PKIX_ECDSA_P521_SHA_256"]=20]="PKIX_ECDSA_P521_SHA_256";i[i["LMS_SHA256"]=14]="LMS_SHA256";i[i["LMOTS_SHA256"]=15]="LMOTS_SHA256";i[i["ML_DSA_44"]=23]="ML_DSA_44";i[i["ML_DSA_65"]=21]="ML_DSA_65";i[i["ML_DSA_87"]=22]="ML_DSA_87"})(Q||(u.PublicKeyDetails=Q={}));function publicKeyDetailsFromJSON(i){switch(i){case 0:case"PUBLIC_KEY_DETAILS_UNSPECIFIED":return Q.PUBLIC_KEY_DETAILS_UNSPECIFIED;case 1:case"PKCS1_RSA_PKCS1V5":return Q.PKCS1_RSA_PKCS1V5;case 2:case"PKCS1_RSA_PSS":return Q.PKCS1_RSA_PSS;case 3:case"PKIX_RSA_PKCS1V5":return Q.PKIX_RSA_PKCS1V5;case 4:case"PKIX_RSA_PSS":return Q.PKIX_RSA_PSS;case 9:case"PKIX_RSA_PKCS1V15_2048_SHA256":return Q.PKIX_RSA_PKCS1V15_2048_SHA256;case 10:case"PKIX_RSA_PKCS1V15_3072_SHA256":return Q.PKIX_RSA_PKCS1V15_3072_SHA256;case 11:case"PKIX_RSA_PKCS1V15_4096_SHA256":return Q.PKIX_RSA_PKCS1V15_4096_SHA256;case 16:case"PKIX_RSA_PSS_2048_SHA256":return Q.PKIX_RSA_PSS_2048_SHA256;case 17:case"PKIX_RSA_PSS_3072_SHA256":return Q.PKIX_RSA_PSS_3072_SHA256;case 18:case"PKIX_RSA_PSS_4096_SHA256":return Q.PKIX_RSA_PSS_4096_SHA256;case 6:case"PKIX_ECDSA_P256_HMAC_SHA_256":return Q.PKIX_ECDSA_P256_HMAC_SHA_256;case 5:case"PKIX_ECDSA_P256_SHA_256":return Q.PKIX_ECDSA_P256_SHA_256;case 12:case"PKIX_ECDSA_P384_SHA_384":return Q.PKIX_ECDSA_P384_SHA_384;case 13:case"PKIX_ECDSA_P521_SHA_512":return Q.PKIX_ECDSA_P521_SHA_512;case 7:case"PKIX_ED25519":return Q.PKIX_ED25519;case 8:case"PKIX_ED25519_PH":return Q.PKIX_ED25519_PH;case 19:case"PKIX_ECDSA_P384_SHA_256":return Q.PKIX_ECDSA_P384_SHA_256;case 20:case"PKIX_ECDSA_P521_SHA_256":return Q.PKIX_ECDSA_P521_SHA_256;case 14:case"LMS_SHA256":return Q.LMS_SHA256;case 15:case"LMOTS_SHA256":return Q.LMOTS_SHA256;case 23:case"ML_DSA_44":return Q.ML_DSA_44;case 21:case"ML_DSA_65":return Q.ML_DSA_65;case 22:case"ML_DSA_87":return Q.ML_DSA_87;default:throw new globalThis.Error("Unrecognized enum value "+i+" for enum PublicKeyDetails")}}function publicKeyDetailsToJSON(i){switch(i){case Q.PUBLIC_KEY_DETAILS_UNSPECIFIED:return"PUBLIC_KEY_DETAILS_UNSPECIFIED";case Q.PKCS1_RSA_PKCS1V5:return"PKCS1_RSA_PKCS1V5";case Q.PKCS1_RSA_PSS:return"PKCS1_RSA_PSS";case Q.PKIX_RSA_PKCS1V5:return"PKIX_RSA_PKCS1V5";case Q.PKIX_RSA_PSS:return"PKIX_RSA_PSS";case Q.PKIX_RSA_PKCS1V15_2048_SHA256:return"PKIX_RSA_PKCS1V15_2048_SHA256";case Q.PKIX_RSA_PKCS1V15_3072_SHA256:return"PKIX_RSA_PKCS1V15_3072_SHA256";case Q.PKIX_RSA_PKCS1V15_4096_SHA256:return"PKIX_RSA_PKCS1V15_4096_SHA256";case Q.PKIX_RSA_PSS_2048_SHA256:return"PKIX_RSA_PSS_2048_SHA256";case Q.PKIX_RSA_PSS_3072_SHA256:return"PKIX_RSA_PSS_3072_SHA256";case Q.PKIX_RSA_PSS_4096_SHA256:return"PKIX_RSA_PSS_4096_SHA256";case Q.PKIX_ECDSA_P256_HMAC_SHA_256:return"PKIX_ECDSA_P256_HMAC_SHA_256";case Q.PKIX_ECDSA_P256_SHA_256:return"PKIX_ECDSA_P256_SHA_256";case Q.PKIX_ECDSA_P384_SHA_384:return"PKIX_ECDSA_P384_SHA_384";case Q.PKIX_ECDSA_P521_SHA_512:return"PKIX_ECDSA_P521_SHA_512";case Q.PKIX_ED25519:return"PKIX_ED25519";case Q.PKIX_ED25519_PH:return"PKIX_ED25519_PH";case Q.PKIX_ECDSA_P384_SHA_256:return"PKIX_ECDSA_P384_SHA_256";case Q.PKIX_ECDSA_P521_SHA_256:return"PKIX_ECDSA_P521_SHA_256";case Q.LMS_SHA256:return"LMS_SHA256";case Q.LMOTS_SHA256:return"LMOTS_SHA256";case Q.ML_DSA_44:return"ML_DSA_44";case Q.ML_DSA_65:return"ML_DSA_65";case Q.ML_DSA_87:return"ML_DSA_87";default:throw new globalThis.Error("Unrecognized enum value "+i+" for enum PublicKeyDetails")}}var P;(function(i){i[i["SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED"]=0]="SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED";i[i["EMAIL"]=1]="EMAIL";i[i["URI"]=2]="URI";i[i["OTHER_NAME"]=3]="OTHER_NAME"})(P||(u.SubjectAlternativeNameType=P={}));function subjectAlternativeNameTypeFromJSON(i){switch(i){case 0:case"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED":return P.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED;case 1:case"EMAIL":return P.EMAIL;case 2:case"URI":return P.URI;case 3:case"OTHER_NAME":return P.OTHER_NAME;default:throw new globalThis.Error("Unrecognized enum value "+i+" for enum SubjectAlternativeNameType")}}function subjectAlternativeNameTypeToJSON(i){switch(i){case P.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED:return"SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED";case P.EMAIL:return"EMAIL";case P.URI:return"URI";case P.OTHER_NAME:return"OTHER_NAME";default:throw new globalThis.Error("Unrecognized enum value "+i+" for enum SubjectAlternativeNameType")}}u.HashOutput={fromJSON(i){return{algorithm:isSet(i.algorithm)?hashAlgorithmFromJSON(i.algorithm):0,digest:isSet(i.digest)?Buffer.from(bytesFromBase64(i.digest)):Buffer.alloc(0)}},toJSON(i){const u={};if(i.algorithm!==0){u.algorithm=hashAlgorithmToJSON(i.algorithm)}if(i.digest.length!==0){u.digest=base64FromBytes(i.digest)}return u}};u.MessageSignature={fromJSON(i){return{messageDigest:isSet(i.messageDigest)?u.HashOutput.fromJSON(i.messageDigest):undefined,signature:isSet(i.signature)?Buffer.from(bytesFromBase64(i.signature)):Buffer.alloc(0)}},toJSON(i){const A={};if(i.messageDigest!==undefined){A.messageDigest=u.HashOutput.toJSON(i.messageDigest)}if(i.signature.length!==0){A.signature=base64FromBytes(i.signature)}return A}};u.LogId={fromJSON(i){return{keyId:isSet(i.keyId)?Buffer.from(bytesFromBase64(i.keyId)):Buffer.alloc(0)}},toJSON(i){const u={};if(i.keyId.length!==0){u.keyId=base64FromBytes(i.keyId)}return u}};u.RFC3161SignedTimestamp={fromJSON(i){return{signedTimestamp:isSet(i.signedTimestamp)?Buffer.from(bytesFromBase64(i.signedTimestamp)):Buffer.alloc(0)}},toJSON(i){const u={};if(i.signedTimestamp.length!==0){u.signedTimestamp=base64FromBytes(i.signedTimestamp)}return u}};u.PublicKey={fromJSON(i){return{rawBytes:isSet(i.rawBytes)?Buffer.from(bytesFromBase64(i.rawBytes)):undefined,keyDetails:isSet(i.keyDetails)?publicKeyDetailsFromJSON(i.keyDetails):0,validFor:isSet(i.validFor)?u.TimeRange.fromJSON(i.validFor):undefined}},toJSON(i){const A={};if(i.rawBytes!==undefined){A.rawBytes=base64FromBytes(i.rawBytes)}if(i.keyDetails!==0){A.keyDetails=publicKeyDetailsToJSON(i.keyDetails)}if(i.validFor!==undefined){A.validFor=u.TimeRange.toJSON(i.validFor)}return A}};u.PublicKeyIdentifier={fromJSON(i){return{hint:isSet(i.hint)?globalThis.String(i.hint):""}},toJSON(i){const u={};if(i.hint!==""){u.hint=i.hint}return u}};u.ObjectIdentifier={fromJSON(i){return{id:globalThis.Array.isArray(i?.id)?i.id.map((i=>globalThis.Number(i))):[]}},toJSON(i){const u={};if(i.id?.length){u.id=i.id.map((i=>Math.round(i)))}return u}};u.ObjectIdentifierValuePair={fromJSON(i){return{oid:isSet(i.oid)?u.ObjectIdentifier.fromJSON(i.oid):undefined,value:isSet(i.value)?Buffer.from(bytesFromBase64(i.value)):Buffer.alloc(0)}},toJSON(i){const A={};if(i.oid!==undefined){A.oid=u.ObjectIdentifier.toJSON(i.oid)}if(i.value.length!==0){A.value=base64FromBytes(i.value)}return A}};u.DistinguishedName={fromJSON(i){return{organization:isSet(i.organization)?globalThis.String(i.organization):"",commonName:isSet(i.commonName)?globalThis.String(i.commonName):""}},toJSON(i){const u={};if(i.organization!==""){u.organization=i.organization}if(i.commonName!==""){u.commonName=i.commonName}return u}};u.X509Certificate={fromJSON(i){return{rawBytes:isSet(i.rawBytes)?Buffer.from(bytesFromBase64(i.rawBytes)):Buffer.alloc(0)}},toJSON(i){const u={};if(i.rawBytes.length!==0){u.rawBytes=base64FromBytes(i.rawBytes)}return u}};u.SubjectAlternativeName={fromJSON(i){return{type:isSet(i.type)?subjectAlternativeNameTypeFromJSON(i.type):0,identity:isSet(i.regexp)?{$case:"regexp",regexp:globalThis.String(i.regexp)}:isSet(i.value)?{$case:"value",value:globalThis.String(i.value)}:undefined}},toJSON(i){const u={};if(i.type!==0){u.type=subjectAlternativeNameTypeToJSON(i.type)}if(i.identity?.$case==="regexp"){u.regexp=i.identity.regexp}else if(i.identity?.$case==="value"){u.value=i.identity.value}return u}};u.X509CertificateChain={fromJSON(i){return{certificates:globalThis.Array.isArray(i?.certificates)?i.certificates.map((i=>u.X509Certificate.fromJSON(i))):[]}},toJSON(i){const A={};if(i.certificates?.length){A.certificates=i.certificates.map((i=>u.X509Certificate.toJSON(i)))}return A}};u.TimeRange={fromJSON(i){return{start:isSet(i.start)?fromJsonTimestamp(i.start):undefined,end:isSet(i.end)?fromJsonTimestamp(i.end):undefined}},toJSON(i){const u={};if(i.start!==undefined){u.start=i.start.toISOString()}if(i.end!==undefined){u.end=i.end.toISOString()}return u}};function bytesFromBase64(i){return Uint8Array.from(globalThis.Buffer.from(i,"base64"))}function base64FromBytes(i){return globalThis.Buffer.from(i).toString("base64")}function fromTimestamp(i){let u=(globalThis.Number(i.seconds)||0)*1e3;u+=(i.nanos||0)/1e6;return new globalThis.Date(u)}function fromJsonTimestamp(i){if(i instanceof globalThis.Date){return i}else if(typeof i==="string"){return new globalThis.Date(i)}else{return fromTimestamp(I.Timestamp.fromJSON(i))}}function isSet(i){return i!==null&&i!==undefined}},85204:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TransparencyLogEntry=u.InclusionPromise=u.InclusionProof=u.Checkpoint=u.KindVersion=void 0;const I=A(5334);u.KindVersion={fromJSON(i){return{kind:isSet(i.kind)?globalThis.String(i.kind):"",version:isSet(i.version)?globalThis.String(i.version):""}},toJSON(i){const u={};if(i.kind!==""){u.kind=i.kind}if(i.version!==""){u.version=i.version}return u}};u.Checkpoint={fromJSON(i){return{envelope:isSet(i.envelope)?globalThis.String(i.envelope):""}},toJSON(i){const u={};if(i.envelope!==""){u.envelope=i.envelope}return u}};u.InclusionProof={fromJSON(i){return{logIndex:isSet(i.logIndex)?globalThis.String(i.logIndex):"0",rootHash:isSet(i.rootHash)?Buffer.from(bytesFromBase64(i.rootHash)):Buffer.alloc(0),treeSize:isSet(i.treeSize)?globalThis.String(i.treeSize):"0",hashes:globalThis.Array.isArray(i?.hashes)?i.hashes.map((i=>Buffer.from(bytesFromBase64(i)))):[],checkpoint:isSet(i.checkpoint)?u.Checkpoint.fromJSON(i.checkpoint):undefined}},toJSON(i){const A={};if(i.logIndex!=="0"){A.logIndex=i.logIndex}if(i.rootHash.length!==0){A.rootHash=base64FromBytes(i.rootHash)}if(i.treeSize!=="0"){A.treeSize=i.treeSize}if(i.hashes?.length){A.hashes=i.hashes.map((i=>base64FromBytes(i)))}if(i.checkpoint!==undefined){A.checkpoint=u.Checkpoint.toJSON(i.checkpoint)}return A}};u.InclusionPromise={fromJSON(i){return{signedEntryTimestamp:isSet(i.signedEntryTimestamp)?Buffer.from(bytesFromBase64(i.signedEntryTimestamp)):Buffer.alloc(0)}},toJSON(i){const u={};if(i.signedEntryTimestamp.length!==0){u.signedEntryTimestamp=base64FromBytes(i.signedEntryTimestamp)}return u}};u.TransparencyLogEntry={fromJSON(i){return{logIndex:isSet(i.logIndex)?globalThis.String(i.logIndex):"0",logId:isSet(i.logId)?I.LogId.fromJSON(i.logId):undefined,kindVersion:isSet(i.kindVersion)?u.KindVersion.fromJSON(i.kindVersion):undefined,integratedTime:isSet(i.integratedTime)?globalThis.String(i.integratedTime):"0",inclusionPromise:isSet(i.inclusionPromise)?u.InclusionPromise.fromJSON(i.inclusionPromise):undefined,inclusionProof:isSet(i.inclusionProof)?u.InclusionProof.fromJSON(i.inclusionProof):undefined,canonicalizedBody:isSet(i.canonicalizedBody)?Buffer.from(bytesFromBase64(i.canonicalizedBody)):Buffer.alloc(0)}},toJSON(i){const A={};if(i.logIndex!=="0"){A.logIndex=i.logIndex}if(i.logId!==undefined){A.logId=I.LogId.toJSON(i.logId)}if(i.kindVersion!==undefined){A.kindVersion=u.KindVersion.toJSON(i.kindVersion)}if(i.integratedTime!=="0"){A.integratedTime=i.integratedTime}if(i.inclusionPromise!==undefined){A.inclusionPromise=u.InclusionPromise.toJSON(i.inclusionPromise)}if(i.inclusionProof!==undefined){A.inclusionProof=u.InclusionProof.toJSON(i.inclusionProof)}if(i.canonicalizedBody.length!==0){A.canonicalizedBody=base64FromBytes(i.canonicalizedBody)}return A}};function bytesFromBase64(i){return Uint8Array.from(globalThis.Buffer.from(i,"base64"))}function base64FromBytes(i){return globalThis.Buffer.from(i).toString("base64")}function isSet(i){return i!==null&&i!==undefined}},61997:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ClientTrustConfig=u.ServiceConfiguration=u.Service=u.SigningConfig=u.TrustedRoot=u.CertificateAuthority=u.TransparencyLogInstance=u.ServiceSelector=void 0;u.serviceSelectorFromJSON=serviceSelectorFromJSON;u.serviceSelectorToJSON=serviceSelectorToJSON;const I=A(5334);var B;(function(i){i[i["SERVICE_SELECTOR_UNDEFINED"]=0]="SERVICE_SELECTOR_UNDEFINED";i[i["ALL"]=1]="ALL";i[i["ANY"]=2]="ANY";i[i["EXACT"]=3]="EXACT"})(B||(u.ServiceSelector=B={}));function serviceSelectorFromJSON(i){switch(i){case 0:case"SERVICE_SELECTOR_UNDEFINED":return B.SERVICE_SELECTOR_UNDEFINED;case 1:case"ALL":return B.ALL;case 2:case"ANY":return B.ANY;case 3:case"EXACT":return B.EXACT;default:throw new globalThis.Error("Unrecognized enum value "+i+" for enum ServiceSelector")}}function serviceSelectorToJSON(i){switch(i){case B.SERVICE_SELECTOR_UNDEFINED:return"SERVICE_SELECTOR_UNDEFINED";case B.ALL:return"ALL";case B.ANY:return"ANY";case B.EXACT:return"EXACT";default:throw new globalThis.Error("Unrecognized enum value "+i+" for enum ServiceSelector")}}u.TransparencyLogInstance={fromJSON(i){return{baseUrl:isSet(i.baseUrl)?globalThis.String(i.baseUrl):"",hashAlgorithm:isSet(i.hashAlgorithm)?(0,I.hashAlgorithmFromJSON)(i.hashAlgorithm):0,publicKey:isSet(i.publicKey)?I.PublicKey.fromJSON(i.publicKey):undefined,logId:isSet(i.logId)?I.LogId.fromJSON(i.logId):undefined,checkpointKeyId:isSet(i.checkpointKeyId)?I.LogId.fromJSON(i.checkpointKeyId):undefined,operator:isSet(i.operator)?globalThis.String(i.operator):""}},toJSON(i){const u={};if(i.baseUrl!==""){u.baseUrl=i.baseUrl}if(i.hashAlgorithm!==0){u.hashAlgorithm=(0,I.hashAlgorithmToJSON)(i.hashAlgorithm)}if(i.publicKey!==undefined){u.publicKey=I.PublicKey.toJSON(i.publicKey)}if(i.logId!==undefined){u.logId=I.LogId.toJSON(i.logId)}if(i.checkpointKeyId!==undefined){u.checkpointKeyId=I.LogId.toJSON(i.checkpointKeyId)}if(i.operator!==""){u.operator=i.operator}return u}};u.CertificateAuthority={fromJSON(i){return{subject:isSet(i.subject)?I.DistinguishedName.fromJSON(i.subject):undefined,uri:isSet(i.uri)?globalThis.String(i.uri):"",certChain:isSet(i.certChain)?I.X509CertificateChain.fromJSON(i.certChain):undefined,validFor:isSet(i.validFor)?I.TimeRange.fromJSON(i.validFor):undefined,operator:isSet(i.operator)?globalThis.String(i.operator):""}},toJSON(i){const u={};if(i.subject!==undefined){u.subject=I.DistinguishedName.toJSON(i.subject)}if(i.uri!==""){u.uri=i.uri}if(i.certChain!==undefined){u.certChain=I.X509CertificateChain.toJSON(i.certChain)}if(i.validFor!==undefined){u.validFor=I.TimeRange.toJSON(i.validFor)}if(i.operator!==""){u.operator=i.operator}return u}};u.TrustedRoot={fromJSON(i){return{mediaType:isSet(i.mediaType)?globalThis.String(i.mediaType):"",tlogs:globalThis.Array.isArray(i?.tlogs)?i.tlogs.map((i=>u.TransparencyLogInstance.fromJSON(i))):[],certificateAuthorities:globalThis.Array.isArray(i?.certificateAuthorities)?i.certificateAuthorities.map((i=>u.CertificateAuthority.fromJSON(i))):[],ctlogs:globalThis.Array.isArray(i?.ctlogs)?i.ctlogs.map((i=>u.TransparencyLogInstance.fromJSON(i))):[],timestampAuthorities:globalThis.Array.isArray(i?.timestampAuthorities)?i.timestampAuthorities.map((i=>u.CertificateAuthority.fromJSON(i))):[]}},toJSON(i){const A={};if(i.mediaType!==""){A.mediaType=i.mediaType}if(i.tlogs?.length){A.tlogs=i.tlogs.map((i=>u.TransparencyLogInstance.toJSON(i)))}if(i.certificateAuthorities?.length){A.certificateAuthorities=i.certificateAuthorities.map((i=>u.CertificateAuthority.toJSON(i)))}if(i.ctlogs?.length){A.ctlogs=i.ctlogs.map((i=>u.TransparencyLogInstance.toJSON(i)))}if(i.timestampAuthorities?.length){A.timestampAuthorities=i.timestampAuthorities.map((i=>u.CertificateAuthority.toJSON(i)))}return A}};u.SigningConfig={fromJSON(i){return{mediaType:isSet(i.mediaType)?globalThis.String(i.mediaType):"",caUrls:globalThis.Array.isArray(i?.caUrls)?i.caUrls.map((i=>u.Service.fromJSON(i))):[],oidcUrls:globalThis.Array.isArray(i?.oidcUrls)?i.oidcUrls.map((i=>u.Service.fromJSON(i))):[],rekorTlogUrls:globalThis.Array.isArray(i?.rekorTlogUrls)?i.rekorTlogUrls.map((i=>u.Service.fromJSON(i))):[],rekorTlogConfig:isSet(i.rekorTlogConfig)?u.ServiceConfiguration.fromJSON(i.rekorTlogConfig):undefined,tsaUrls:globalThis.Array.isArray(i?.tsaUrls)?i.tsaUrls.map((i=>u.Service.fromJSON(i))):[],tsaConfig:isSet(i.tsaConfig)?u.ServiceConfiguration.fromJSON(i.tsaConfig):undefined}},toJSON(i){const A={};if(i.mediaType!==""){A.mediaType=i.mediaType}if(i.caUrls?.length){A.caUrls=i.caUrls.map((i=>u.Service.toJSON(i)))}if(i.oidcUrls?.length){A.oidcUrls=i.oidcUrls.map((i=>u.Service.toJSON(i)))}if(i.rekorTlogUrls?.length){A.rekorTlogUrls=i.rekorTlogUrls.map((i=>u.Service.toJSON(i)))}if(i.rekorTlogConfig!==undefined){A.rekorTlogConfig=u.ServiceConfiguration.toJSON(i.rekorTlogConfig)}if(i.tsaUrls?.length){A.tsaUrls=i.tsaUrls.map((i=>u.Service.toJSON(i)))}if(i.tsaConfig!==undefined){A.tsaConfig=u.ServiceConfiguration.toJSON(i.tsaConfig)}return A}};u.Service={fromJSON(i){return{url:isSet(i.url)?globalThis.String(i.url):"",majorApiVersion:isSet(i.majorApiVersion)?globalThis.Number(i.majorApiVersion):0,validFor:isSet(i.validFor)?I.TimeRange.fromJSON(i.validFor):undefined,operator:isSet(i.operator)?globalThis.String(i.operator):""}},toJSON(i){const u={};if(i.url!==""){u.url=i.url}if(i.majorApiVersion!==0){u.majorApiVersion=Math.round(i.majorApiVersion)}if(i.validFor!==undefined){u.validFor=I.TimeRange.toJSON(i.validFor)}if(i.operator!==""){u.operator=i.operator}return u}};u.ServiceConfiguration={fromJSON(i){return{selector:isSet(i.selector)?serviceSelectorFromJSON(i.selector):0,count:isSet(i.count)?globalThis.Number(i.count):0}},toJSON(i){const u={};if(i.selector!==0){u.selector=serviceSelectorToJSON(i.selector)}if(i.count!==0){u.count=Math.round(i.count)}return u}};u.ClientTrustConfig={fromJSON(i){return{mediaType:isSet(i.mediaType)?globalThis.String(i.mediaType):"",trustedRoot:isSet(i.trustedRoot)?u.TrustedRoot.fromJSON(i.trustedRoot):undefined,signingConfig:isSet(i.signingConfig)?u.SigningConfig.fromJSON(i.signingConfig):undefined}},toJSON(i){const A={};if(i.mediaType!==""){A.mediaType=i.mediaType}if(i.trustedRoot!==undefined){A.trustedRoot=u.TrustedRoot.toJSON(i.trustedRoot)}if(i.signingConfig!==undefined){A.signingConfig=u.SigningConfig.toJSON(i.signingConfig)}return A}};function isSet(i){return i!==null&&i!==undefined}},99732:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Input=u.Artifact=u.ArtifactVerificationOptions_ObserverTimestampOptions=u.ArtifactVerificationOptions_TlogIntegratedTimestampOptions=u.ArtifactVerificationOptions_TimestampAuthorityOptions=u.ArtifactVerificationOptions_CtlogOptions=u.ArtifactVerificationOptions_TlogOptions=u.ArtifactVerificationOptions=u.PublicKeyIdentities=u.CertificateIdentities=u.CertificateIdentity=void 0;const I=A(70715);const B=A(5334);const Q=A(61997);u.CertificateIdentity={fromJSON(i){return{issuer:isSet(i.issuer)?globalThis.String(i.issuer):"",san:isSet(i.san)?B.SubjectAlternativeName.fromJSON(i.san):undefined,oids:globalThis.Array.isArray(i?.oids)?i.oids.map((i=>B.ObjectIdentifierValuePair.fromJSON(i))):[]}},toJSON(i){const u={};if(i.issuer!==""){u.issuer=i.issuer}if(i.san!==undefined){u.san=B.SubjectAlternativeName.toJSON(i.san)}if(i.oids?.length){u.oids=i.oids.map((i=>B.ObjectIdentifierValuePair.toJSON(i)))}return u}};u.CertificateIdentities={fromJSON(i){return{identities:globalThis.Array.isArray(i?.identities)?i.identities.map((i=>u.CertificateIdentity.fromJSON(i))):[]}},toJSON(i){const A={};if(i.identities?.length){A.identities=i.identities.map((i=>u.CertificateIdentity.toJSON(i)))}return A}};u.PublicKeyIdentities={fromJSON(i){return{publicKeys:globalThis.Array.isArray(i?.publicKeys)?i.publicKeys.map((i=>B.PublicKey.fromJSON(i))):[]}},toJSON(i){const u={};if(i.publicKeys?.length){u.publicKeys=i.publicKeys.map((i=>B.PublicKey.toJSON(i)))}return u}};u.ArtifactVerificationOptions={fromJSON(i){return{signers:isSet(i.certificateIdentities)?{$case:"certificateIdentities",certificateIdentities:u.CertificateIdentities.fromJSON(i.certificateIdentities)}:isSet(i.publicKeys)?{$case:"publicKeys",publicKeys:u.PublicKeyIdentities.fromJSON(i.publicKeys)}:undefined,tlogOptions:isSet(i.tlogOptions)?u.ArtifactVerificationOptions_TlogOptions.fromJSON(i.tlogOptions):undefined,ctlogOptions:isSet(i.ctlogOptions)?u.ArtifactVerificationOptions_CtlogOptions.fromJSON(i.ctlogOptions):undefined,tsaOptions:isSet(i.tsaOptions)?u.ArtifactVerificationOptions_TimestampAuthorityOptions.fromJSON(i.tsaOptions):undefined,integratedTsOptions:isSet(i.integratedTsOptions)?u.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.fromJSON(i.integratedTsOptions):undefined,observerOptions:isSet(i.observerOptions)?u.ArtifactVerificationOptions_ObserverTimestampOptions.fromJSON(i.observerOptions):undefined}},toJSON(i){const A={};if(i.signers?.$case==="certificateIdentities"){A.certificateIdentities=u.CertificateIdentities.toJSON(i.signers.certificateIdentities)}else if(i.signers?.$case==="publicKeys"){A.publicKeys=u.PublicKeyIdentities.toJSON(i.signers.publicKeys)}if(i.tlogOptions!==undefined){A.tlogOptions=u.ArtifactVerificationOptions_TlogOptions.toJSON(i.tlogOptions)}if(i.ctlogOptions!==undefined){A.ctlogOptions=u.ArtifactVerificationOptions_CtlogOptions.toJSON(i.ctlogOptions)}if(i.tsaOptions!==undefined){A.tsaOptions=u.ArtifactVerificationOptions_TimestampAuthorityOptions.toJSON(i.tsaOptions)}if(i.integratedTsOptions!==undefined){A.integratedTsOptions=u.ArtifactVerificationOptions_TlogIntegratedTimestampOptions.toJSON(i.integratedTsOptions)}if(i.observerOptions!==undefined){A.observerOptions=u.ArtifactVerificationOptions_ObserverTimestampOptions.toJSON(i.observerOptions)}return A}};u.ArtifactVerificationOptions_TlogOptions={fromJSON(i){return{threshold:isSet(i.threshold)?globalThis.Number(i.threshold):0,performOnlineVerification:isSet(i.performOnlineVerification)?globalThis.Boolean(i.performOnlineVerification):false,disable:isSet(i.disable)?globalThis.Boolean(i.disable):false}},toJSON(i){const u={};if(i.threshold!==0){u.threshold=Math.round(i.threshold)}if(i.performOnlineVerification!==false){u.performOnlineVerification=i.performOnlineVerification}if(i.disable!==false){u.disable=i.disable}return u}};u.ArtifactVerificationOptions_CtlogOptions={fromJSON(i){return{threshold:isSet(i.threshold)?globalThis.Number(i.threshold):0,disable:isSet(i.disable)?globalThis.Boolean(i.disable):false}},toJSON(i){const u={};if(i.threshold!==0){u.threshold=Math.round(i.threshold)}if(i.disable!==false){u.disable=i.disable}return u}};u.ArtifactVerificationOptions_TimestampAuthorityOptions={fromJSON(i){return{threshold:isSet(i.threshold)?globalThis.Number(i.threshold):0,disable:isSet(i.disable)?globalThis.Boolean(i.disable):false}},toJSON(i){const u={};if(i.threshold!==0){u.threshold=Math.round(i.threshold)}if(i.disable!==false){u.disable=i.disable}return u}};u.ArtifactVerificationOptions_TlogIntegratedTimestampOptions={fromJSON(i){return{threshold:isSet(i.threshold)?globalThis.Number(i.threshold):0,disable:isSet(i.disable)?globalThis.Boolean(i.disable):false}},toJSON(i){const u={};if(i.threshold!==0){u.threshold=Math.round(i.threshold)}if(i.disable!==false){u.disable=i.disable}return u}};u.ArtifactVerificationOptions_ObserverTimestampOptions={fromJSON(i){return{threshold:isSet(i.threshold)?globalThis.Number(i.threshold):0,disable:isSet(i.disable)?globalThis.Boolean(i.disable):false}},toJSON(i){const u={};if(i.threshold!==0){u.threshold=Math.round(i.threshold)}if(i.disable!==false){u.disable=i.disable}return u}};u.Artifact={fromJSON(i){return{data:isSet(i.artifactUri)?{$case:"artifactUri",artifactUri:globalThis.String(i.artifactUri)}:isSet(i.artifact)?{$case:"artifact",artifact:Buffer.from(bytesFromBase64(i.artifact))}:isSet(i.artifactDigest)?{$case:"artifactDigest",artifactDigest:B.HashOutput.fromJSON(i.artifactDigest)}:undefined}},toJSON(i){const u={};if(i.data?.$case==="artifactUri"){u.artifactUri=i.data.artifactUri}else if(i.data?.$case==="artifact"){u.artifact=base64FromBytes(i.data.artifact)}else if(i.data?.$case==="artifactDigest"){u.artifactDigest=B.HashOutput.toJSON(i.data.artifactDigest)}return u}};u.Input={fromJSON(i){return{artifactTrustRoot:isSet(i.artifactTrustRoot)?Q.TrustedRoot.fromJSON(i.artifactTrustRoot):undefined,artifactVerificationOptions:isSet(i.artifactVerificationOptions)?u.ArtifactVerificationOptions.fromJSON(i.artifactVerificationOptions):undefined,bundle:isSet(i.bundle)?I.Bundle.fromJSON(i.bundle):undefined,artifact:isSet(i.artifact)?u.Artifact.fromJSON(i.artifact):undefined}},toJSON(i){const A={};if(i.artifactTrustRoot!==undefined){A.artifactTrustRoot=Q.TrustedRoot.toJSON(i.artifactTrustRoot)}if(i.artifactVerificationOptions!==undefined){A.artifactVerificationOptions=u.ArtifactVerificationOptions.toJSON(i.artifactVerificationOptions)}if(i.bundle!==undefined){A.bundle=I.Bundle.toJSON(i.bundle)}if(i.artifact!==undefined){A.artifact=u.Artifact.toJSON(i.artifact)}return A}};function bytesFromBase64(i){return Uint8Array.from(globalThis.Buffer.from(i,"base64"))}function base64FromBytes(i){return globalThis.Buffer.from(i).toString("base64")}function isSet(i){return i!==null&&i!==undefined}},19654:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__exportStar||function(i,u){for(var A in i)if(A!=="default"&&!Object.prototype.hasOwnProperty.call(u,A))I(u,i,A)};Object.defineProperty(u,"__esModule",{value:true});B(A(47030),u);B(A(70715),u);B(A(5334),u);B(A(85204),u);B(A(61997),u);B(A(99732),u)},13835:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__exportStar||function(i,u){for(var A in i)if(A!=="default"&&!Object.prototype.hasOwnProperty.call(u,A))I(u,i,A)};Object.defineProperty(u,"__esModule",{value:true});B(A(36764),u);B(A(381),u);B(A(4969),u);B(A(7543),u)},43049:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.BaseBundleBuilder=void 0;class BaseBundleBuilder{signer;witnesses;constructor(i){this.signer=i.signer;this.witnesses=i.witnesses}async create(i){const u=await this.prepare(i).then((i=>this.signer.sign(i)));const A=await this.package(i,u);const I=await Promise.all(this.witnesses.map((i=>i.testify(A.content,publicKey(u.key)))));const B=[];const Q=[];I.forEach((({tlogEntries:i,rfc3161Timestamps:u})=>{B.push(...i??[]);Q.push(...u??[])}));A.verificationMaterial.tlogEntries=B;A.verificationMaterial.timestampVerificationData={rfc3161Timestamps:Q};return A}async prepare(i){return i.data}}u.BaseBundleBuilder=BaseBundleBuilder;function publicKey(i){switch(i.$case){case"publicKey":return i.publicKey;case"x509Certificate":return i.certificate}}},85192:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.DSSEBundleBuilder=void 0;const I=A(19100);const B=A(43049);const Q=A(85192);class DSSEBundleBuilder extends B.BaseBundleBuilder{certificateChain;constructor(i){super(i);this.certificateChain=i.certificateChain??false}async prepare(i){const u=artifactDefaults(i);return I.dsse.preAuthEncoding(u.type,u.data)}async package(i,u){return(0,Q.toDSSEBundle)(artifactDefaults(i),u,this.certificateChain)}}u.DSSEBundleBuilder=DSSEBundleBuilder;function artifactDefaults(i){return{...i,type:i.type??""}}},35530:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MessageSignatureBundleBuilder=u.DSSEBundleBuilder=void 0;var I=A(83997);Object.defineProperty(u,"DSSEBundleBuilder",{enumerable:true,get:function(){return I.DSSEBundleBuilder}});var B=A(8269);Object.defineProperty(u,"MessageSignatureBundleBuilder",{enumerable:true,get:function(){return B.MessageSignatureBundleBuilder}})},8269:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MessageSignatureBundleBuilder=void 0;const I=A(43049);const B=A(85192);class MessageSignatureBundleBuilder extends I.BaseBundleBuilder{constructor(i){super(i)}async package(i,u){return(0,B.toMessageSignatureBundle)(i,u)}}u.MessageSignatureBundleBuilder=MessageSignatureBundleBuilder},45985:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.bundleBuilderFromSigningConfig=bundleBuilderFromSigningConfig;const I=A(19654);const B=A(83997);const Q=A(8269);const P=A(34342);const D=A(55383);const L=1;const U=2;const G=1;const z=5e3;const W=2e4;const Y={retries:2};function bundleBuilderFromSigningConfig(i){const{signingConfig:u,identityProvider:A,bundleType:I}=i;const P=i.fetchOptions||{timeout:z,retry:Y};const D=fulcioSignerFromConfig(u,A,P);const L=witnessesFromConfig(u,P);switch(I){case"messageSignature":return new Q.MessageSignatureBundleBuilder({signer:D,witnesses:L});case"dsseEnvelope":return new B.DSSEBundleBuilder({signer:D,witnesses:L})}}function fulcioSignerFromConfig(i,u,A){const I=certAuthorityService(i);return new P.FulcioSigner({fulcioBaseURL:I.url,identityProvider:u,timeout:A.timeout,retry:A.retry})}function witnessesFromConfig(i,u){const A=[];if(i.rekorTlogConfig){if(i.rekorTlogConfig.selector!==I.ServiceSelector.ANY){throw new Error("Unsupported Rekor TLog selector in signing configuration")}const B=tlogService(i);A.push(new D.RekorWitness({rekorBaseURL:B.url,majorApiVersion:B.majorApiVersion,retry:u.retry,timeout:B.majorApiVersion===1?u.timeout:Math.min(u.timeout||z,W)}))}if(i.tsaConfig){if(i.tsaConfig.selector!==I.ServiceSelector.ANY){throw new Error("Unsupported TSA selector in signing configuration")}const B=tsaService(i);A.push(new D.TSAWitness({tsaBaseURL:B.url,retry:u.retry,timeout:u.timeout}))}return A}function certAuthorityService(i){const u=filterServicesByMaxAPIVersion(i.caUrls,L);const A=sortServicesByStartDate(u);if(A.length===0){throw new Error("No valid CA services found in signing configuration")}return A[0]}function tlogService(i){const u=filterServicesByMaxAPIVersion(i.rekorTlogUrls,U);const A=sortServicesByStartDate(u);if(A.length===0){throw new Error("No valid TLogs found in signing configuration")}return A[0]}function tsaService(i){const u=filterServicesByMaxAPIVersion(i.tsaUrls,G);const A=sortServicesByStartDate(u);if(A.length===0){throw new Error("No valid TSAs found in signing configuration")}return A[0]}function sortServicesByStartDate(i){const u=new Date;const A=i.filter((i=>{if(!i.validFor?.end){return true}return i.validFor.end>=u}));return A.sort(((i,u)=>{const A=i.validFor?.start?.getTime()??0;const I=u.validFor?.start?.getTime()??0;return I-A}))}function filterServicesByMaxAPIVersion(i,u){return i.filter((i=>i.majorApiVersion<=u))}},97841:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.InternalError=void 0;u.internalError=internalError;const I=A(40369);class InternalError extends Error{code;cause;constructor({code:i,message:u,cause:A}){super(u);this.name=this.constructor.name;this.cause=A;this.code=i}}u.InternalError=InternalError;function internalError(i,u,A){if(i instanceof I.HTTPError){A+=` - ${i.message}`}throw new InternalError({code:u,message:A,cause:i})}},40369:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.HTTPError=void 0;class HTTPError extends Error{statusCode;location;constructor({status:i,message:u,location:A}){super(`(${i}) ${u}`);this.statusCode=i;this.location=A}}u.HTTPError=HTTPError},9823:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.fetchWithRetry=fetchWithRetry;const B=A(49498);const Q=A(85675);const P=I(A(39310));const D=A(26687);const L=A(19100);const U=A(40369);const{HTTP2_HEADER_LOCATION:G,HTTP2_HEADER_CONTENT_TYPE:z,HTTP2_HEADER_USER_AGENT:W,HTTP_STATUS_INTERNAL_SERVER_ERROR:Y,HTTP_STATUS_TOO_MANY_REQUESTS:J,HTTP_STATUS_REQUEST_TIMEOUT:$}=Q.constants;async function fetchWithRetry(i,u){return(0,B.promiseRetry)((async(A,I)=>{const B=u.method||"POST";const Q={[W]:L.ua.getUserAgent(),...u.headers};const U=await(0,P.default)(i,{method:B,headers:Q,body:u.body,timeout:u.timeout,retry:false}).catch((u=>{D.log.http("fetch",`${B} ${i} attempt ${I} failed with ${u}`);return A(u)}));if(U.ok){return U}else{const u=await errorFromResponse(U);D.log.http("fetch",`${B} ${i} attempt ${I} failed with ${U.status}`);if(retryable(U.status)){return A(u)}else{throw u}}}),retryOpts(u.retry))}const errorFromResponse=async i=>{let u=i.statusText;const A=i.headers.get(G)||undefined;const I=i.headers.get(z);if(I?.includes("application/json")){try{const A=await i.json();u=A.message||u}catch(i){}}return new U.HTTPError({status:i.status,message:u,location:A})};const retryable=i=>[$,J].includes(i)||i>=Y;const retryOpts=i=>{if(typeof i==="boolean"){return{retries:i?1:0}}else if(typeof i==="number"){return{retries:i}}else{return{retries:0,...i}}}},26819:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Fulcio=void 0;const I=A(9823);class Fulcio{options;constructor(i){this.options=i}async createSigningCertificate(i){const{baseURL:u,retry:A,timeout:B}=this.options;const Q=`${u}/api/v2/signingCert`;const P=await(0,I.fetchWithRetry)(Q,{headers:{"Content-Type":"application/json"},body:JSON.stringify(i),timeout:B,retry:A});return P.json()}}u.Fulcio=Fulcio},65973:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.RekorV2=void 0;const I=A(9823);const B=A(19654);const Q=A(13835);class RekorV2{options;constructor(i){this.options=i}async createEntry(i){const{baseURL:u,timeout:A,retry:P}=this.options;const D=`${u}/api/v2/log/entries`;const L=await(0,I.fetchWithRetry)(D,{headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(Q.CreateEntryRequest.toJSON(i)),timeout:A,retry:P});return L.json().then((i=>B.TransparencyLogEntry.fromJSON(i)))}}u.RekorV2=RekorV2},32688:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Rekor=void 0;const I=A(9823);class Rekor{options;constructor(i){this.options=i}async createEntry(i){const{baseURL:u,timeout:A,retry:B}=this.options;const Q=`${u}/api/v1/log/entries`;const P=await(0,I.fetchWithRetry)(Q,{headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(i),timeout:A,retry:B});const D=await P.json();return entryFromResponse(D)}async getEntry(i){const{baseURL:u,timeout:A,retry:B}=this.options;const Q=`${u}/api/v1/log/entries/${i}`;const P=await(0,I.fetchWithRetry)(Q,{method:"GET",headers:{Accept:"application/json"},timeout:A,retry:B});const D=await P.json();return entryFromResponse(D)}}u.Rekor=Rekor;function entryFromResponse(i){const u=Object.entries(i);if(u.length!=1){throw new Error("Received multiple entries in Rekor response")}const[A,I]=u[0];return{...I,uuid:A}}},78963:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TimestampAuthority=void 0;const I=A(9823);class TimestampAuthority{options;constructor(i){this.options=i}async createTimestamp(i){const{baseURL:u,timeout:A,retry:B}=this.options;const Q=new URL(u).pathname==="/"?`${u}/api/v1/timestamp`:u;const P=await(0,I.fetchWithRetry)(Q,{headers:{"Content-Type":"application/json"},body:JSON.stringify(i),timeout:A,retry:B});return P.buffer()}}u.TimestampAuthority=TimestampAuthority},92092:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.CIContextProvider=void 0;const B=I(A(39310));const Q=[getGHAToken,getEnv];class CIContextProvider{audience;constructor(i="sigstore"){this.audience=i}async getToken(){return Promise.any(Q.map((i=>i(this.audience)))).catch((()=>Promise.reject("CI: no tokens available")))}}u.CIContextProvider=CIContextProvider;async function getGHAToken(i){if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL||!process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN){return Promise.reject("no token available")}const u=new URL(process.env.ACTIONS_ID_TOKEN_REQUEST_URL);u.searchParams.append("audience",i);const A=await(0,B.default)(u.href,{retry:2,headers:{Accept:"application/json",Authorization:`Bearer ${process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN}`}});return A.json().then((i=>i.value))}async function getEnv(){if(!process.env.SIGSTORE_ID_TOKEN){return Promise.reject("no token available")}return process.env.SIGSTORE_ID_TOKEN}},55022:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.CIContextProvider=void 0;var I=A(92092);Object.defineProperty(u,"CIContextProvider",{enumerable:true,get:function(){return I.CIContextProvider}})},15179:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TSAWitness=u.RekorWitness=u.DEFAULT_REKOR_URL=u.FulcioSigner=u.DEFAULT_FULCIO_URL=u.CIContextProvider=u.InternalError=u.bundleBuilderFromSigningConfig=u.MessageSignatureBundleBuilder=u.DSSEBundleBuilder=void 0;var I=A(35530);Object.defineProperty(u,"DSSEBundleBuilder",{enumerable:true,get:function(){return I.DSSEBundleBuilder}});Object.defineProperty(u,"MessageSignatureBundleBuilder",{enumerable:true,get:function(){return I.MessageSignatureBundleBuilder}});var B=A(45985);Object.defineProperty(u,"bundleBuilderFromSigningConfig",{enumerable:true,get:function(){return B.bundleBuilderFromSigningConfig}});var Q=A(97841);Object.defineProperty(u,"InternalError",{enumerable:true,get:function(){return Q.InternalError}});var P=A(55022);Object.defineProperty(u,"CIContextProvider",{enumerable:true,get:function(){return P.CIContextProvider}});var D=A(34342);Object.defineProperty(u,"DEFAULT_FULCIO_URL",{enumerable:true,get:function(){return D.DEFAULT_FULCIO_URL}});Object.defineProperty(u,"FulcioSigner",{enumerable:true,get:function(){return D.FulcioSigner}});var L=A(55383);Object.defineProperty(u,"DEFAULT_REKOR_URL",{enumerable:true,get:function(){return L.DEFAULT_REKOR_URL}});Object.defineProperty(u,"RekorWitness",{enumerable:true,get:function(){return L.RekorWitness}});Object.defineProperty(u,"TSAWitness",{enumerable:true,get:function(){return L.TSAWitness}})},5875:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.CAClient=void 0;const I=A(97841);const B=A(26819);class CAClient{fulcio;constructor(i){this.fulcio=new B.Fulcio({baseURL:i.fulcioBaseURL,retry:i.retry,timeout:i.timeout})}async createSigningCertificate(i,u,A){const B=toCertificateRequest(i,u,A);try{const i=await this.fulcio.createSigningCertificate(B);const u=i.signedCertificateEmbeddedSct?i.signedCertificateEmbeddedSct:i.signedCertificateDetachedSct;return u.chain.certificates}catch(i){(0,I.internalError)(i,"CA_CREATE_SIGNING_CERTIFICATE_ERROR","error creating signing certificate")}}}u.CAClient=CAClient;function toCertificateRequest(i,u,A){return{credentials:{oidcIdentityToken:i},publicKeyRequest:{publicKey:{algorithm:"ECDSA",content:u},proofOfPossession:A.toString("base64")}}}},97064:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.EphemeralSigner=void 0;const I=A(76982);const B="ec";const Q="P-256";class EphemeralSigner{keypair;constructor(){this.keypair=(0,I.generateKeyPairSync)(B,{namedCurve:Q})}async sign(i){const u=(0,I.sign)("sha256",i,this.keypair.privateKey);const A=this.keypair.publicKey.export({format:"pem",type:"spki"}).toString("ascii");return{signature:u,key:{$case:"publicKey",publicKey:A}}}}u.EphemeralSigner=EphemeralSigner},26303:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.FulcioSigner=u.DEFAULT_FULCIO_URL=void 0;const I=A(97841);const B=A(19100);const Q=A(5875);const P=A(97064);u.DEFAULT_FULCIO_URL="https://fulcio.sigstore.dev";class FulcioSigner{ca;identityProvider;keyHolder;constructor(i){this.ca=new Q.CAClient({...i,fulcioBaseURL:i.fulcioBaseURL||u.DEFAULT_FULCIO_URL});this.identityProvider=i.identityProvider;this.keyHolder=i.keyHolder||new P.EphemeralSigner}async sign(i){const u=await this.getIdentityToken();let A;try{A=B.oidc.extractJWTSubject(u)}catch(i){throw new I.InternalError({code:"IDENTITY_TOKEN_PARSE_ERROR",message:`invalid identity token: ${u}`,cause:i})}const Q=await this.keyHolder.sign(Buffer.from(A));if(Q.key.$case!=="publicKey"){throw new I.InternalError({code:"CA_CREATE_SIGNING_CERTIFICATE_ERROR",message:"unexpected format for signing key"})}const P=await this.ca.createSigningCertificate(u,Q.key.publicKey,Q.signature);const D=await this.keyHolder.sign(i);return{signature:D.signature,key:{$case:"x509Certificate",certificate:P[0]}}}async getIdentityToken(){try{return await this.identityProvider.getToken()}catch(i){throw new I.InternalError({code:"IDENTITY_TOKEN_READ_ERROR",message:"error retrieving identity token",cause:i})}}}u.FulcioSigner=FulcioSigner},34342:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.FulcioSigner=u.DEFAULT_FULCIO_URL=void 0;var I=A(26303);Object.defineProperty(u,"DEFAULT_FULCIO_URL",{enumerable:true,get:function(){return I.DEFAULT_FULCIO_URL}});Object.defineProperty(u,"FulcioSigner",{enumerable:true,get:function(){return I.FulcioSigner}})},19100:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.extractJWTSubject=extractJWTSubject;const I=A(83917);function extractJWTSubject(i){const u=i.split(".",3);const A=JSON.parse(I.encoding.base64Decode(u[1]));if(A.email){if(!A.email_verified){throw new Error("JWT email not verified by issuer")}return A.email}if(A.sub){return A.sub}else{throw new Error("JWT subject not found")}}},81268:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.getUserAgent=void 0;const B=I(A(70857));const getUserAgent=()=>{const i=A(85896).rE;const u=process.version;const I=B.default.platform();const Q=B.default.arch();return`sigstore-js/${i} (Node ${u}) (${I}/${Q})`};u.getUserAgent=getUserAgent},55383:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TSAWitness=u.RekorWitness=u.DEFAULT_REKOR_URL=void 0;var I=A(2566);Object.defineProperty(u,"DEFAULT_REKOR_URL",{enumerable:true,get:function(){return I.DEFAULT_REKOR_URL}});Object.defineProperty(u,"RekorWitness",{enumerable:true,get:function(){return I.RekorWitness}});var B=A(66936);Object.defineProperty(u,"TSAWitness",{enumerable:true,get:function(){return B.TSAWitness}})},42815:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TLogV2Client=u.TLogClient=void 0;const I=A(97841);const B=A(40369);const Q=A(32688);const P=A(65973);class TLogClient{rekor;fetchOnConflict;constructor(i){this.fetchOnConflict=i.fetchOnConflict??false;this.rekor=new Q.Rekor({baseURL:i.rekorBaseURL,retry:i.retry,timeout:i.timeout})}async createEntry(i){let u;try{u=await this.rekor.createEntry(i)}catch(i){if(entryExistsError(i)&&this.fetchOnConflict){const A=i.location.split("/").pop()||"";try{u=await this.rekor.getEntry(A)}catch(i){(0,I.internalError)(i,"TLOG_FETCH_ENTRY_ERROR","error fetching tlog entry")}}else{(0,I.internalError)(i,"TLOG_CREATE_ENTRY_ERROR","error creating tlog entry")}}return u}}u.TLogClient=TLogClient;function entryExistsError(i){return i instanceof B.HTTPError&&i.statusCode===409&&i.location!==undefined}class TLogV2Client{rekor;constructor(i){this.rekor=new P.RekorV2({baseURL:i.rekorBaseURL,retry:i.retry,timeout:i.timeout})}async createEntry(i){let u;try{u=await this.rekor.createEntry(i)}catch(i){(0,I.internalError)(i,"TLOG_CREATE_ENTRY_ERROR","error creating tlog entry")}if(u.logId===undefined||u.kindVersion===undefined){(0,I.internalError)(new Error("invalid tlog entry"),"TLOG_CREATE_ENTRY_ERROR","error creating tlog entry")}return{...u,logId:u.logId,kindVersion:u.kindVersion}}}u.TLogV2Client=TLogV2Client},97890:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.toProposedEntry=toProposedEntry;u.toCreateEntryRequest=toCreateEntryRequest;const I=A(61040);const B=A(19654);const Q=A(19100);const P="sha256";function toProposedEntry(i,u,A="dsse"){switch(i.$case){case"dsseEnvelope":if(A==="intoto"){return toProposedIntotoEntry(i.dsseEnvelope,u)}return toProposedDSSEEntry(i.dsseEnvelope,u);case"messageSignature":return toProposedHashedRekordEntry(i.messageSignature,u)}}function toProposedHashedRekordEntry(i,u){const A=i.messageDigest.digest.toString("hex");const I=i.signature.toString("base64");const B=Q.encoding.base64Encode(u);return{apiVersion:"0.0.1",kind:"hashedrekord",spec:{data:{hash:{algorithm:P,value:A}},signature:{content:I,publicKey:{content:B}}}}}function toProposedDSSEEntry(i,u){const A=JSON.stringify((0,I.envelopeToJSON)(i));const B=Q.encoding.base64Encode(u);return{apiVersion:"0.0.1",kind:"dsse",spec:{proposedContent:{envelope:A,verifiers:[B]}}}}function toProposedIntotoEntry(i,u){const A=Q.crypto.digest(P,i.payload).toString("hex");const I=calculateDSSEHash(i,u);const B=Q.encoding.base64Encode(i.payload.toString("base64"));const D=Q.encoding.base64Encode(i.signatures[0].sig.toString("base64"));const L=i.signatures[0].keyid;const U=Q.encoding.base64Encode(u);const G={payloadType:i.payloadType,payload:B,signatures:[{sig:D,publicKey:U}]};if(L.length>0){G.signatures[0].keyid=L}return{apiVersion:"0.0.2",kind:"intoto",spec:{content:{envelope:G,hash:{algorithm:P,value:I},payloadHash:{algorithm:P,value:A}}}}}function calculateDSSEHash(i,u){const A={payloadType:i.payloadType,payload:i.payload.toString("base64"),signatures:[{sig:i.signatures[0].sig.toString("base64"),publicKey:u}]};if(i.signatures[0].keyid.length>0){A.signatures[0].keyid=i.signatures[0].keyid}return Q.crypto.digest(P,Q.json.canonicalize(A)).toString("hex")}function toCreateEntryRequest(i,u){switch(i.$case){case"dsseEnvelope":return toCreateEntryRequestDSSE(i.dsseEnvelope,u);case"messageSignature":return toCreateEntryRequestMessageSignature(i.messageSignature,u)}}function toCreateEntryRequestDSSE(i,u){return{spec:{$case:"dsseRequestV002",dsseRequestV002:{envelope:i,verifiers:[{keyDetails:B.PublicKeyDetails.PKIX_ECDSA_P256_SHA_256,verifier:{$case:"x509Certificate",x509Certificate:{rawBytes:Q.pem.toDER(u)}}}]}}}}function toCreateEntryRequestMessageSignature(i,u){return{spec:{$case:"hashedRekordRequestV002",hashedRekordRequestV002:{digest:i.messageDigest.digest,signature:{content:i.signature,verifier:{keyDetails:B.PublicKeyDetails.PKIX_ECDSA_P256_SHA_256,verifier:{$case:"x509Certificate",x509Certificate:{rawBytes:Q.pem.toDER(u)}}}}}}}}},2566:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.RekorWitness=u.DEFAULT_REKOR_URL=void 0;const I=A(19100);const B=A(42815);const Q=A(97890);u.DEFAULT_REKOR_URL="https://rekor.sigstore.dev";class RekorWitness{tlogV1;tlogV2;entryType;majorApiVersion;constructor(i){this.entryType=i.entryType;this.majorApiVersion=i.majorApiVersion||1;this.tlogV1=new B.TLogClient({...i,rekorBaseURL:i.rekorBaseURL||u.DEFAULT_REKOR_URL});this.tlogV2=new B.TLogV2Client({...i,rekorBaseURL:i.rekorBaseURL||u.DEFAULT_REKOR_URL})}async testify(i,u){let A;if(this.majorApiVersion===2){const I=(0,Q.toCreateEntryRequest)(i,u);A=await this.tlogV2.createEntry(I)}else{const I=(0,Q.toProposedEntry)(i,u,this.entryType);const B=await this.tlogV1.createEntry(I);A=toTransparencyLogEntry(B)}return{tlogEntries:[A]}}}u.RekorWitness=RekorWitness;function toTransparencyLogEntry(i){const u=Buffer.from(i.logID,"hex");const A=I.encoding.base64Decode(i.body);const B=JSON.parse(A);const Q=i?.verification?.signedEntryTimestamp?inclusionPromise(i.verification.signedEntryTimestamp):undefined;const P=i?.verification?.inclusionProof?inclusionProof(i.verification.inclusionProof):undefined;const D={logIndex:i.logIndex.toString(),logId:{keyId:u},integratedTime:i.integratedTime.toString(),kindVersion:{kind:B.kind,version:B.apiVersion},inclusionPromise:Q,inclusionProof:P,canonicalizedBody:Buffer.from(i.body,"base64")};return D}function inclusionPromise(i){return{signedEntryTimestamp:Buffer.from(i,"base64")}}function inclusionProof(i){return{logIndex:i.logIndex.toString(),treeSize:i.treeSize.toString(),rootHash:Buffer.from(i.rootHash,"hex"),hashes:i.hashes.map((i=>Buffer.from(i,"hex"))),checkpoint:{envelope:i.checkpoint}}}},97409:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TSAClient=void 0;const I=A(97841);const B=A(78963);const Q=A(19100);const P="sha256";class TSAClient{tsa;constructor(i){this.tsa=new B.TimestampAuthority({baseURL:i.tsaBaseURL,retry:i.retry,timeout:i.timeout})}async createTimestamp(i){const u={artifactHash:Q.crypto.digest(P,i).toString("base64"),hashAlgorithm:P};try{return await this.tsa.createTimestamp(u)}catch(i){(0,I.internalError)(i,"TSA_CREATE_TIMESTAMP_ERROR","error creating timestamp")}}}u.TSAClient=TSAClient},66936:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TSAWitness=void 0;const I=A(97409);class TSAWitness{tsa;constructor(i){this.tsa=new I.TSAClient({tsaBaseURL:i.tsaBaseURL,retry:i.retry,timeout:i.timeout})}async testify(i){const u=extractSignature(i);const A=await this.tsa.createTimestamp(u);return{rfc3161Timestamps:[{signedTimestamp:A}]}}}u.TSAWitness=TSAWitness;function extractSignature(i){switch(i.$case){case"dsseEnvelope":return i.dsseEnvelope.signatures[0].sig;case"messageSignature":return i.messageSignature.signature}}},17413:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});var I=A(16577);class AbortSignal extends I.EventTarget{constructor(){super();throw new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const i=B.get(this);if(typeof i!=="boolean"){throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`)}return i}}I.defineEventAttribute(AbortSignal.prototype,"abort");function createAbortSignal(){const i=Object.create(AbortSignal.prototype);I.EventTarget.call(i);B.set(i,false);return i}function abortSignal(i){if(B.get(i)!==false){return}B.set(i,true);i.dispatchEvent({type:"abort"})}const B=new WeakMap;Object.defineProperties(AbortSignal.prototype,{aborted:{enumerable:true}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol"){Object.defineProperty(AbortSignal.prototype,Symbol.toStringTag,{configurable:true,value:"AbortSignal"})}class AbortController{constructor(){Q.set(this,createAbortSignal())}get signal(){return getSignal(this)}abort(){abortSignal(getSignal(this))}}const Q=new WeakMap;function getSignal(i){const u=Q.get(i);if(u==null){throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${i===null?"null":typeof i}`)}return u}Object.defineProperties(AbortController.prototype,{signal:{enumerable:true},abort:{enumerable:true}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol"){Object.defineProperty(AbortController.prototype,Symbol.toStringTag,{configurable:true,value:"AbortController"})}u.AbortController=AbortController;u.AbortSignal=AbortSignal;u["default"]=AbortController;i.exports=AbortController;i.exports.AbortController=i.exports["default"]=AbortController;i.exports.AbortSignal=AbortSignal},15183:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.req=u.json=u.toBuffer=void 0;const P=Q(A(58611));const D=Q(A(65692));async function toBuffer(i){let u=0;const A=[];for await(const I of i){u+=I.length;A.push(I)}return Buffer.concat(A,u)}u.toBuffer=toBuffer;async function json(i){const u=await toBuffer(i);const A=u.toString("utf8");try{return JSON.parse(A)}catch(i){const u=i;u.message+=` (input: ${A})`;throw u}}u.json=json;function req(i,u={}){const A=typeof i==="string"?i:i.href;const I=(A.startsWith("https:")?D:P).request(i,u);const B=new Promise(((i,u)=>{I.once("response",i).once("error",u).end()}));I.then=B.then.bind(B);return I}u.req=req},98894:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__exportStar||function(i,u){for(var A in i)if(A!=="default"&&!Object.prototype.hasOwnProperty.call(u,A))I(u,i,A)};Object.defineProperty(u,"__esModule",{value:true});u.Agent=void 0;const D=Q(A(69278));const L=Q(A(58611));const U=A(65692);P(A(15183),u);const G=Symbol("AgentBaseInternalState");class Agent extends L.Agent{constructor(i){super(i);this[G]={}}isSecureEndpoint(i){if(i){if(typeof i.secureEndpoint==="boolean"){return i.secureEndpoint}if(typeof i.protocol==="string"){return i.protocol==="https:"}}const{stack:u}=new Error;if(typeof u!=="string")return false;return u.split("\n").some((i=>i.indexOf("(https.js:")!==-1||i.indexOf("node:https:")!==-1))}incrementSockets(i){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[i]){this.sockets[i]=[]}const u=new D.Socket({writable:false});this.sockets[i].push(u);this.totalSocketCount++;return u}decrementSockets(i,u){if(!this.sockets[i]||u===null){return}const A=this.sockets[i];const I=A.indexOf(u);if(I!==-1){A.splice(I,1);this.totalSocketCount--;if(A.length===0){delete this.sockets[i]}}}getName(i){const u=this.isSecureEndpoint(i);if(u){return U.Agent.prototype.getName.call(this,i)}return super.getName(i)}createSocket(i,u,A){const I={...u,secureEndpoint:this.isSecureEndpoint(u)};const B=this.getName(I);const Q=this.incrementSockets(B);Promise.resolve().then((()=>this.connect(i,I))).then((P=>{this.decrementSockets(B,Q);if(P instanceof L.Agent){try{return P.addRequest(i,I)}catch(i){return A(i)}}this[G].currentSocket=P;super.createSocket(i,u,A)}),(i=>{this.decrementSockets(B,Q);A(i)}))}createConnection(){const i=this[G].currentSocket;this[G].currentSocket=undefined;if(!i){throw new Error("No socket was returned in the `connect()` function")}return i}get defaultPort(){return this[G].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(i){if(this[G]){this[G].defaultPort=i}}get protocol(){return this[G].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(i){if(this[G]){this[G].protocol=i}}}u.Agent=Agent},38816:(i,u,A)=>{var I=A(35744);var B=A(16928);var Q=A(97047);var P=A(57294);var D=A(73270);var L=A(36542);var U=A(46171);var G=i.exports={};var z=/[\/\\]/g;var processPatterns=function(i,u){var A=[];Q(i).forEach((function(i){var I=i.indexOf("!")===0;if(I){i=i.slice(1)}var B=u(i);if(I){A=P(A,B)}else{A=D(A,B)}}));return A};G.exists=function(){var i=B.join.apply(B,arguments);return I.existsSync(i)};G.expand=function(...i){var u=L(i[0])?i.shift():{};var A=Array.isArray(i[0])?i[0]:i;if(A.length===0){return[]}var Q=processPatterns(A,(function(i){return U.sync(i,u)}));if(u.filter){Q=Q.filter((function(i){i=B.join(u.cwd||"",i);try{if(typeof u.filter==="function"){return u.filter(i)}else{return I.statSync(i)[u.filter]()}}catch(i){return false}}))}return Q};G.expandMapping=function(i,u,A){A=Object.assign({rename:function(i,u){return B.join(i||"",u)}},A);var I=[];var Q={};G.expand(A,i).forEach((function(i){var P=i;if(A.flatten){P=B.basename(P)}if(A.ext){P=P.replace(/(\.[^\/]*)?$/,A.ext)}var D=A.rename(u,P,A);if(A.cwd){i=B.join(A.cwd,i)}D=D.replace(z,"/");i=i.replace(z,"/");if(Q[D]){Q[D].src.push(i)}else{I.push({src:[i],dest:D});Q[D]=I[I.length-1]}}));return I};G.normalizeFilesArray=function(i){var u=[];i.forEach((function(i){var A;if("src"in i||"dest"in i){u.push(i)}}));if(u.length===0){return[]}u=_(u).chain().forEach((function(i){if(!("src"in i)||!i.src){return}if(Array.isArray(i.src)){i.src=Q(i.src)}else{i.src=[i.src]}})).map((function(i){var u=Object.assign({},i);delete u.src;delete u.dest;if(i.expand){return G.expandMapping(i.src,i.dest,u).map((function(u){var A=Object.assign({},i);A.orig=Object.assign({},i);A.src=u.src;A.dest=u.dest;["expand","cwd","flatten","rename","ext"].forEach((function(i){delete A[i]}));return A}))}var A=Object.assign({},i);A.orig=Object.assign({},i);if("src"in A){Object.defineProperty(A,"src",{enumerable:true,get:function fn(){var A;if(!("result"in fn)){A=i.src;A=Array.isArray(A)?Q(A):[A];fn.result=G.expand(u,A)}return fn.result}})}if("dest"in A){A.dest=i.dest}return A})).flatten().value();return u}},53296:(i,u,A)=>{var I=A(35744);var B=A(16928);var Q=A(96543);var P=A(32126);var D=A(56133);var L=A(7511);var U=A(2203).Stream;var G=A(29963).PassThrough;var z=i.exports={};z.file=A(38816);z.collectStream=function(i,u){var A=[];var I=0;i.on("error",u);i.on("data",(function(i){A.push(i);I+=i.length}));i.on("end",(function(){var i=Buffer.alloc(I);var B=0;A.forEach((function(u){u.copy(i,B);B+=u.length}));u(null,i)}))};z.dateify=function(i){i=i||new Date;if(i instanceof Date){i=i}else if(typeof i==="string"){i=new Date(i)}else{i=new Date}return i};z.defaults=function(i,u,A){var I=arguments;I[0]=I[0]||{};return L(...I)};z.isStream=function(i){return Q(i)};z.lazyReadStream=function(i){return new P.Readable((function(){return I.createReadStream(i)}))};z.normalizeInputSource=function(i){if(i===null){return Buffer.alloc(0)}else if(typeof i==="string"){return Buffer.from(i)}else if(z.isStream(i)){return i.pipe(new G)}return i};z.sanitizePath=function(i){return D(i,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};z.trailingSlashIt=function(i){return i.slice(-1)!=="/"?i+"/":i};z.unixifyPath=function(i){return D(i,false).replace(/^\w+:/,"")};z.walkdir=function(i,u,A){var Q=[];if(typeof u==="function"){A=u;u=i}I.readdir(i,(function(P,D){var L=0;var U;var G;if(P){return A(P)}(function next(){U=D[L++];if(!U){return A(null,Q)}G=B.join(i,U);I.stat(G,(function(i,I){Q.push({path:G,relative:B.relative(u,G).replace(/\\/g,"/"),stats:I});if(I&&I.isDirectory()){z.walkdir(G,u,(function(i,u){if(i){return A(i)}u.forEach((function(i){Q.push(i)}));next()}))}else{next()}}))})()}))}},99392:(i,u,A)=>{ /** * Archiver Vending * * @ignore * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @copyright (c) 2012-2014 Chris Talkington, contributors. */ var I=A(50549);var B={};var vending=function(i,u){return vending.create(i,u)};vending.create=function(i,u){if(B[i]){var A=new I(i,u);A.setFormat(i);A.setModule(new B[i](u));return A}else{throw new Error("create("+i+"): format not registered")}};vending.registerFormat=function(i,u){if(B[i]){throw new Error("register("+i+"): format already registered")}if(typeof u!=="function"){throw new Error("register("+i+"): format module invalid")}if(typeof u.prototype.append!=="function"||typeof u.prototype.finalize!=="function"){throw new Error("register("+i+"): format module missing methods")}B[i]=u};vending.isRegisteredFormat=function(i){if(B[i]){return true}return false};vending.registerFormat("zip",A(22836));vending.registerFormat("tar",A(10396));vending.registerFormat("json",A(54693));i.exports=vending},50549:(i,u,A)=>{ /** * Archiver Core * * @ignore * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @copyright (c) 2012-2014 Chris Talkington, contributors. */ var I=A(79896);var B=A(51364);var Q=A(97329);var P=A(16928);var D=A(53296);var L=A(39023).inherits;var U=A(13110);var G=A(29963).Transform;var z=process.platform==="win32";var Archiver=function(i,u){if(!(this instanceof Archiver)){return new Archiver(i,u)}if(typeof i!=="string"){u=i;i="zip"}u=this.options=D.defaults(u,{highWaterMark:1024*1024,statConcurrency:4});G.call(this,u);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=Q.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=Q.queue(this._onStatQueueTask.bind(this),u.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};L(Archiver,G);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(i,u){u=u||{};var A={source:null,filepath:i};if(!u.name){u.name=i}u.sourcePath=i;A.data=u;this._entriesCount++;if(u.stats&&u.stats instanceof I.Stats){A=this._updateQueueTaskWithStats(A,u.stats);if(A){if(u.stats.size){this._fsEntriesTotalBytes+=u.stats.size}this._queue.push(A)}}else{this._statQueue.push(A)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(i,u,A){if(this._state.aborted){A();return}this._module.append(i,u,function(i){this._task=null;if(this._state.aborted){this._shutdown();return}if(i){this.emit("error",i);setImmediate(A);return}this.emit("entry",u);this._entriesProcessedCount++;if(u.stats&&u.stats.size){this._fsEntriesProcessedBytes+=u.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(A)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new U("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(i){if(!this._module.supports||!this._module.supports[i]){return false}return this._module.supports[i]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(i,u){i=D.defaults(i,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(u&&i.stats===false){i.stats=u}var A=i.type==="directory";if(i.name){if(typeof i.prefix==="string"&&""!==i.prefix){i.name=i.prefix+"/"+i.name;i.prefix=null}i.name=D.sanitizePath(i.name);if(i.type!=="symlink"&&i.name.slice(-1)==="/"){A=true;i.type="directory"}else if(A){i.name+="/"}}if(typeof i.mode==="number"){if(z){i.mode&=511}else{i.mode&=4095}}else if(i.stats&&i.mode===null){if(z){i.mode=i.stats.mode&511}else{i.mode=i.stats.mode&4095}if(z&&A){i.mode=493}}else if(i.mode===null){i.mode=A?493:420}if(i.stats&&i.date===null){i.date=i.stats.mtime}else{i.date=D.dateify(i.date)}return i};Archiver.prototype._onModuleError=function(i){this.emit("error",i)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(i,u){var fullCallback=()=>{if(i.data.callback){i.data.callback()}u()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=i;this._moduleAppend(i.source,i.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(i,u){if(this._state.finalizing||this._state.finalized||this._state.aborted){u();return}I.lstat(i.filepath,function(A,I){if(this._state.aborted){setImmediate(u);return}if(A){this._entriesCount--;this.emit("warning",A);setImmediate(u);return}i=this._updateQueueTaskWithStats(i,I);if(i){if(I.size){this._fsEntriesTotalBytes+=I.size}this._queue.push(i)}setImmediate(u)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(i,u,A){if(i){this._pointer+=i.length}A(null,i)};Archiver.prototype._updateQueueTaskWithStats=function(i,u){if(u.isFile()){i.data.type="file";i.data.sourceType="stream";i.source=D.lazyReadStream(i.filepath)}else if(u.isDirectory()&&this._moduleSupports("directory")){i.data.name=D.trailingSlashIt(i.data.name);i.data.type="directory";i.data.sourcePath=D.trailingSlashIt(i.filepath);i.data.sourceType="buffer";i.source=Buffer.concat([])}else if(u.isSymbolicLink()&&this._moduleSupports("symlink")){var A=I.readlinkSync(i.filepath);var B=P.dirname(i.filepath);i.data.type="symlink";i.data.linkname=P.relative(B,P.resolve(B,A));i.data.sourceType="buffer";i.source=Buffer.concat([])}else{if(u.isDirectory()){this.emit("warning",new U("DIRECTORYNOTSUPPORTED",i.data))}else if(u.isSymbolicLink()){this.emit("warning",new U("SYMLINKNOTSUPPORTED",i.data))}else{this.emit("warning",new U("ENTRYNOTSUPPORTED",i.data))}return null}i.data=this._normalizeEntryData(i.data,u);return i};Archiver.prototype.abort=function(){if(this._state.aborted||this._state.finalized){return this}this._abort();return this};Archiver.prototype.append=function(i,u){if(this._state.finalize||this._state.aborted){this.emit("error",new U("QUEUECLOSED"));return this}u=this._normalizeEntryData(u);if(typeof u.name!=="string"||u.name.length===0){this.emit("error",new U("ENTRYNAMEREQUIRED"));return this}if(u.type==="directory"&&!this._moduleSupports("directory")){this.emit("error",new U("DIRECTORYNOTSUPPORTED",{name:u.name}));return this}i=D.normalizeInputSource(i);if(Buffer.isBuffer(i)){u.sourceType="buffer"}else if(D.isStream(i)){u.sourceType="stream"}else{this.emit("error",new U("INPUTSTEAMBUFFERREQUIRED",{name:u.name}));return this}this._entriesCount++;this._queue.push({data:u,source:i});return this};Archiver.prototype.directory=function(i,u,A){if(this._state.finalize||this._state.aborted){this.emit("error",new U("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new U("DIRECTORYDIRPATHREQUIRED"));return this}this._pending++;if(u===false){u=""}else if(typeof u!=="string"){u=i}var I=false;if(typeof A==="function"){I=A;A={}}else if(typeof A!=="object"){A={}}var Q={stat:true,dot:true};function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(i){this.emit("error",i)}function onGlobMatch(B){P.pause();var Q=false;var D=Object.assign({},A);D.name=B.relative;D.prefix=u;D.stats=B.stat;D.callback=P.resume.bind(P);try{if(I){D=I(D);if(D===false){Q=true}else if(typeof D!=="object"){throw new U("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:i})}}}catch(i){this.emit("error",i);return}if(Q){P.resume();return}this._append(B.absolute,D)}var P=B(i,Q);P.on("error",onGlobError.bind(this));P.on("match",onGlobMatch.bind(this));P.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.file=function(i,u){if(this._state.finalize||this._state.aborted){this.emit("error",new U("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new U("FILEFILEPATHREQUIRED"));return this}this._append(i,u);return this};Archiver.prototype.glob=function(i,u,A){this._pending++;u=D.defaults(u,{stat:true,pattern:i});function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(i){this.emit("error",i)}function onGlobMatch(i){I.pause();var u=Object.assign({},A);u.callback=I.resume.bind(I);u.stats=i.stat;u.name=i.relative;this._append(i.absolute,u)}var I=B(u.cwd||".",u);I.on("error",onGlobError.bind(this));I.on("match",onGlobMatch.bind(this));I.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.finalize=function(){if(this._state.aborted){var i=new U("ABORTED");this.emit("error",i);return Promise.reject(i)}if(this._state.finalize){var u=new U("FINALIZING");this.emit("error",u);return Promise.reject(u)}this._state.finalize=true;if(this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}var A=this;return new Promise((function(i,u){var I;A._module.on("end",(function(){if(!I){i()}}));A._module.on("error",(function(i){I=true;u(i)}))}))};Archiver.prototype.setFormat=function(i){if(this._format){this.emit("error",new U("FORMATSET"));return this}this._format=i;return this};Archiver.prototype.setModule=function(i){if(this._state.aborted){this.emit("error",new U("ABORTED"));return this}if(this._state.module){this.emit("error",new U("MODULESET"));return this}this._module=i;this._modulePipe();return this};Archiver.prototype.symlink=function(i,u,A){if(this._state.finalize||this._state.aborted){this.emit("error",new U("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new U("SYMLINKFILEPATHREQUIRED"));return this}if(typeof u!=="string"||u.length===0){this.emit("error",new U("SYMLINKTARGETREQUIRED",{filepath:i}));return this}if(!this._moduleSupports("symlink")){this.emit("error",new U("SYMLINKNOTSUPPORTED",{filepath:i}));return this}var I={};I.type="symlink";I.name=i.replace(/\\/g,"/");I.linkname=u.replace(/\\/g,"/");I.sourceType="buffer";if(typeof A==="number"){I.mode=A}this._entriesCount++;this._queue.push({data:I,source:Buffer.concat([])});return this};Archiver.prototype.pointer=function(){return this._pointer};Archiver.prototype.use=function(i){this._streams.push(i);return this};i.exports=Archiver},13110:(i,u,A)=>{ /** * Archiver Core * * @ignore * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @copyright (c) 2012-2014 Chris Talkington, contributors. */ var I=A(39023);const B={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function ArchiverError(i,u){Error.captureStackTrace(this,this.constructor);this.message=B[i]||i;this.code=i;this.data=u}I.inherits(ArchiverError,Error);u=i.exports=ArchiverError},54693:(i,u,A)=>{ /** * JSON Format Plugin * * @module plugins/json * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @copyright (c) 2012-2014 Chris Talkington, contributors. */ var I=A(39023).inherits;var B=A(29963).Transform;var Q=A(84928);var P=A(53296);var Json=function(i){if(!(this instanceof Json)){return new Json(i)}i=this.options=P.defaults(i,{});B.call(this,i);this.supports={directory:true,symlink:true};this.files=[]};I(Json,B);Json.prototype._transform=function(i,u,A){A(null,i)};Json.prototype._writeStringified=function(){var i=JSON.stringify(this.files);this.write(i)};Json.prototype.append=function(i,u,A){var I=this;u.crc32=0;function onend(i,B){if(i){A(i);return}u.size=B.length||0;u.crc32=Q.unsigned(B);I.files.push(u);A(null,u)}if(u.sourceType==="buffer"){onend(null,i)}else if(u.sourceType==="stream"){P.collectStream(i,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};i.exports=Json},10396:(i,u,A)=>{ /** * TAR Format Plugin * * @module plugins/tar * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @copyright (c) 2012-2014 Chris Talkington, contributors. */ var I=A(43106);var B=A(56118);var Q=A(53296);var Tar=function(i){if(!(this instanceof Tar)){return new Tar(i)}i=this.options=Q.defaults(i,{gzip:false});if(typeof i.gzipOptions!=="object"){i.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=B.pack(i);this.compressor=false;if(i.gzip){this.compressor=I.createGzip(i.gzipOptions);this.compressor.on("error",this._onCompressorError.bind(this))}};Tar.prototype._onCompressorError=function(i){this.engine.emit("error",i)};Tar.prototype.append=function(i,u,A){var I=this;u.mtime=u.date;function append(i,B){if(i){A(i);return}I.engine.entry(u,B,(function(i){A(i,u)}))}if(u.sourceType==="buffer"){append(null,i)}else if(u.sourceType==="stream"&&u.stats){u.size=u.stats.size;var B=I.engine.entry(u,(function(i){A(i,u)}));i.pipe(B)}else if(u.sourceType==="stream"){Q.collectStream(i,append)}};Tar.prototype.finalize=function(){this.engine.finalize()};Tar.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Tar.prototype.pipe=function(i,u){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(i,u)}else{return this.engine.pipe.apply(this.engine,arguments)}};Tar.prototype.unpipe=function(){if(this.compressor){return this.compressor.unpipe.apply(this.compressor,arguments)}else{return this.engine.unpipe.apply(this.engine,arguments)}};i.exports=Tar},22836:(i,u,A)=>{ /** * ZIP Format Plugin * * @module plugins/zip * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @copyright (c) 2012-2014 Chris Talkington, contributors. */ var I=A(41622);var B=A(53296);var Zip=function(i){if(!(this instanceof Zip)){return new Zip(i)}i=this.options=B.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new I(i)};Zip.prototype.append=function(i,u,A){this.engine.entry(i,u,A)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},97329:function(i,u){(function(i,A){true?A(u):0})(this,(function(i){"use strict";function apply(i,...u){return(...A)=>i(...u,...A)}function initialParams(i){return function(...u){var A=u.pop();return i.call(this,u,A)}}var u=typeof queueMicrotask==="function"&&queueMicrotask;var A=typeof setImmediate==="function"&&setImmediate;var I=typeof process==="object"&&typeof process.nextTick==="function";function fallback(i){setTimeout(i,0)}function wrap(i){return(u,...A)=>i((()=>u(...A)))}var B;if(u){B=queueMicrotask}else if(A){B=setImmediate}else if(I){B=process.nextTick}else{B=fallback}var Q=wrap(B);function asyncify(i){if(isAsync(i)){return function(...u){const A=u.pop();const I=i.apply(this,u);return handlePromise(I,A)}}return initialParams((function(u,A){var I;try{I=i.apply(this,u)}catch(i){return A(i)}if(I&&typeof I.then==="function"){return handlePromise(I,A)}else{A(null,I)}}))}function handlePromise(i,u){return i.then((i=>{invokeCallback(u,null,i)}),(i=>{invokeCallback(u,i&&(i instanceof Error||i.message)?i:new Error(i))}))}function invokeCallback(i,u,A){try{i(u,A)}catch(i){Q((i=>{throw i}),i)}}function isAsync(i){return i[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(i){return i[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(i){return typeof i[Symbol.asyncIterator]==="function"}function wrapAsync(i){if(typeof i!=="function")throw new Error("expected a function");return isAsync(i)?asyncify(i):i}function awaitify(i,u){if(!u)u=i.length;if(!u)throw new Error("arity is undefined");function awaitable(...A){if(typeof A[u-1]==="function"){return i.apply(this,A)}return new Promise(((I,B)=>{A[u-1]=(i,...u)=>{if(i)return B(i);I(u.length>1?u:u[0])};i.apply(this,A)}))}return awaitable}function applyEach$1(i){return function applyEach(u,...A){const I=awaitify((function(I){var B=this;return i(u,((i,u)=>{wrapAsync(i).apply(B,A.concat(u))}),I)}));return I}}function _asyncMap(i,u,A,I){u=u||[];var B=[];var Q=0;var P=wrapAsync(A);return i(u,((i,u,A)=>{var I=Q++;P(i,((i,u)=>{B[I]=u;A(i)}))}),(i=>{I(i,B)}))}function isArrayLike(i){return i&&typeof i.length==="number"&&i.length>=0&&i.length%1===0}const P={};function once(i){function wrapper(...u){if(i===null)return;var A=i;i=null;A.apply(this,u)}Object.assign(wrapper,i);return wrapper}function getIterator(i){return i[Symbol.iterator]&&i[Symbol.iterator]()}function createArrayIterator(i){var u=-1;var A=i.length;return function next(){return++u=u||D||B)return;D=true;i.next().then((({value:i,done:u})=>{if(Q||B)return;D=false;if(u){B=true;if(L<=0){I(null)}return}L++;A(i,U,iterateeCallback);U++;replenish()})).catch(handleError)}function iterateeCallback(i,u){L-=1;if(Q)return;if(i)return handleError(i);if(i===false){B=true;Q=true;return}if(u===P||B&&L<=0){B=true;return I(null)}replenish()}function handleError(i){if(Q)return;D=false;B=true;I(i)}replenish()}var eachOfLimit$2=i=>(u,A,I)=>{I=once(I);if(i<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!u){return I(null)}if(isAsyncGenerator(u)){return asyncEachOfLimit(u,i,A,I)}if(isAsyncIterable(u)){return asyncEachOfLimit(u[Symbol.asyncIterator](),i,A,I)}var B=createIterator(u);var Q=false;var D=false;var L=0;var U=false;function iterateeCallback(i,u){if(D)return;L-=1;if(i){Q=true;I(i)}else if(i===false){Q=true;D=true}else if(u===P||Q&&L<=0){Q=true;return I(null)}else if(!U){replenish()}}function replenish(){U=true;while(L1?I:I[0])}callback[J]=new Promise(((A,I)=>{i=A,u=I}));return callback}function auto(i,u,A){if(typeof u!=="number"){A=u;u=null}A=once(A||promiseCallback());var I=Object.keys(i).length;if(!I){return A(null)}if(!u){u=I}var B={};var Q=0;var P=false;var D=false;var L=Object.create(null);var U=[];var G=[];var z={};Object.keys(i).forEach((u=>{var A=i[u];if(!Array.isArray(A)){enqueueTask(u,[A]);G.push(u);return}var I=A.slice(0,A.length-1);var B=I.length;if(B===0){enqueueTask(u,A);G.push(u);return}z[u]=B;I.forEach((Q=>{if(!i[Q]){throw new Error("async.auto task `"+u+"` has a non-existent dependency `"+Q+"` in "+I.join(", "))}addListener(Q,(()=>{B--;if(B===0){enqueueTask(u,A)}}))}))}));checkForDeadlocks();processQueue();function enqueueTask(i,u){U.push((()=>runTask(i,u)))}function processQueue(){if(P)return;if(U.length===0&&Q===0){return A(null,B)}while(U.length&&Qi()));processQueue()}function runTask(i,u){if(D)return;var I=onlyOnce(((u,...I)=>{Q--;if(u===false){P=true;return}if(I.length<2){[I]=I}if(u){var U={};Object.keys(B).forEach((i=>{U[i]=B[i]}));U[i]=I;D=true;L=Object.create(null);if(P)return;A(u,U)}else{B[i]=I;taskComplete(i)}}));Q++;var U=wrapAsync(u[u.length-1]);if(u.length>1){U(B,I)}else{U(I)}}function checkForDeadlocks(){var i;var u=0;while(G.length){i=G.pop();u++;getDependents(i).forEach((i=>{if(--z[i]===0){G.push(i)}}))}if(u!==I){throw new Error("async.auto cannot execute tasks due to a recursive dependency")}}function getDependents(u){var A=[];Object.keys(i).forEach((I=>{const B=i[I];if(Array.isArray(B)&&B.indexOf(u)>=0){A.push(I)}}));return A}return A[J]}var $=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/;var K=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/;var X=/,/;var he=/(=.+)?(\s*)$/;function stripComments(i){let u="";let A=0;let I=i.indexOf("*/");while(Ai.replace(he,"").trim()))}function autoInject(i,u){var A={};Object.keys(i).forEach((u=>{var I=i[u];var B;var Q=isAsync(I);var P=!Q&&I.length===1||Q&&I.length===0;if(Array.isArray(I)){B=[...I];I=B.pop();A[u]=B.concat(B.length>0?newTask:I)}else if(P){A[u]=I}else{B=parseParams(I);if(I.length===0&&!Q&&B.length===0){throw new Error("autoInject task functions require explicit parameters.")}if(!Q)B.pop();A[u]=B.concat(newTask)}function newTask(i,u){var A=B.map((u=>i[u]));A.push(u);wrapAsync(I)(...A)}}));return auto(A,u)}class DLL{constructor(){this.head=this.tail=null;this.length=0}removeLink(i){if(i.prev)i.prev.next=i.next;else this.head=i.next;if(i.next)i.next.prev=i.prev;else this.tail=i.prev;i.prev=i.next=null;this.length-=1;return i}empty(){while(this.head)this.shift();return this}insertAfter(i,u){u.prev=i;u.next=i.next;if(i.next)i.next.prev=u;else this.tail=u;i.next=u;this.length+=1}insertBefore(i,u){u.prev=i.prev;u.next=i;if(i.prev)i.prev.next=u;else this.head=u;i.prev=u;this.length+=1}unshift(i){if(this.head)this.insertBefore(this.head,i);else setInitial(this,i)}push(i){if(this.tail)this.insertAfter(this.tail,i);else setInitial(this,i)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var i=this.head;while(i){yield i.data;i=i.next}}remove(i){var u=this.head;while(u){var{next:A}=u;if(i(u)){this.removeLink(u)}u=A}return this}}function setInitial(i,u){i.length=1;i.head=i.tail=u}function queue$1(i,u,A){if(u==null){u=1}else if(u===0){throw new RangeError("Concurrency must not be zero")}var I=wrapAsync(i);var B=0;var P=[];const D={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function on(i,u){D[i].push(u)}function once(i,u){const handleAndRemove=(...A)=>{off(i,handleAndRemove);u(...A)};D[i].push(handleAndRemove)}function off(i,u){if(!i)return Object.keys(D).forEach((i=>D[i]=[]));if(!u)return D[i]=[];D[i]=D[i].filter((i=>i!==u))}function trigger(i,...u){D[i].forEach((i=>i(...u)))}var L=false;function _insert(i,u,A,I){if(I!=null&&typeof I!=="function"){throw new Error("task callback must be a function")}G.started=true;var B,P;function promiseCallback(i,...u){if(i)return A?P(i):B();if(u.length<=1)return B(u[0]);B(u)}var D=G._createTaskItem(i,A?promiseCallback:I||promiseCallback);if(u){G._tasks.unshift(D)}else{G._tasks.push(D)}if(!L){L=true;Q((()=>{L=false;G.process()}))}if(A||!I){return new Promise(((i,u)=>{B=i;P=u}))}}function _createCB(i){return function(u,...A){B-=1;for(var I=0,Q=i.length;I0){P.splice(L,1)}D.callback(u,...A);if(u!=null){trigger("error",u,D.data)}}if(B<=G.concurrency-G.buffer){trigger("unsaturated")}if(G.idle()){trigger("drain")}G.process()}}function _maybeDrain(i){if(i.length===0&&G.idle()){Q((()=>trigger("drain")));return true}return false}const eventMethod=i=>u=>{if(!u){return new Promise(((u,A)=>{once(i,((i,I)=>{if(i)return A(i);u(I)}))}))}off(i);on(i,u)};var U=false;var G={_tasks:new DLL,_createTaskItem(i,u){return{data:i,callback:u}},*[Symbol.iterator](){yield*G._tasks[Symbol.iterator]()},concurrency:u,payload:A,buffer:u/4,started:false,paused:false,push(i,u){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,false,false,u)))}return _insert(i,false,false,u)},pushAsync(i,u){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,false,true,u)))}return _insert(i,false,true,u)},kill(){off();G._tasks.empty()},unshift(i,u){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,true,false,u)))}return _insert(i,true,false,u)},unshiftAsync(i,u){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,true,true,u)))}return _insert(i,true,true,u)},remove(i){G._tasks.remove(i)},process(){if(U){return}U=true;while(!G.paused&&B{B(u,i,((i,A)=>{u=A;I(i)}))}),(i=>I(i,u)))}var Ae=awaitify(reduce,4);function seq(...i){var u=i.map(wrapAsync);return function(...i){var A=this;var I=i[i.length-1];if(typeof I=="function"){i.pop()}else{I=promiseCallback()}Ae(u,i,((i,u,I)=>{u.apply(A,i.concat(((i,...u)=>{I(i,u)})))}),((i,u)=>I(i,...u)));return I[J]}}function compose(...i){return seq(...i.reverse())}function mapLimit(i,u,A,I){return _asyncMap(eachOfLimit$2(u),i,A,I)}var ye=awaitify(mapLimit,4);function concatLimit(i,u,A,I){var B=wrapAsync(A);return ye(i,u,((i,u)=>{B(i,((i,...A)=>{if(i)return u(i);return u(i,A)}))}),((i,u)=>{var A=[];for(var B=0;B{var D=false;var L;const U=wrapAsync(B);A(I,((A,I,B)=>{U(A,((I,Q)=>{if(I||I===false)return B(I);if(i(Q)&&!L){D=true;L=u(true,A);return B(null,P)}B()}))}),(i=>{if(i)return Q(i);Q(null,D?L:u(false))}))}}function detect(i,u,A){return _createTester((i=>i),((i,u)=>u))(L,i,u,A)}var we=awaitify(detect,3);function detectLimit(i,u,A,I){return _createTester((i=>i),((i,u)=>u))(eachOfLimit$2(u),i,A,I)}var ve=awaitify(detectLimit,4);function detectSeries(i,u,A){return _createTester((i=>i),((i,u)=>u))(eachOfLimit$2(1),i,u,A)}var Se=awaitify(detectSeries,3);function consoleFunc(i){return(u,...A)=>wrapAsync(u)(...A,((u,...A)=>{if(typeof console==="object"){if(u){if(console.error){console.error(u)}}else if(console[i]){A.forEach((u=>console[i](u)))}}}))}var Re=consoleFunc("dir");function doWhilst(i,u,A){A=onlyOnce(A);var I=wrapAsync(i);var B=wrapAsync(u);var Q;function next(i,...u){if(i)return A(i);if(i===false)return;Q=u;B(...u,check)}function check(i,u){if(i)return A(i);if(i===false)return;if(!u)return A(null,...Q);I(next)}return check(null,true)}var Ne=awaitify(doWhilst,3);function doUntil(i,u,A){const I=wrapAsync(u);return Ne(i,((...i)=>{const u=i.pop();I(...i,((i,A)=>u(i,!A)))}),A)}function _withoutIndex(i){return(u,A,I)=>i(u,I)}function eachLimit$2(i,u,A){return L(i,_withoutIndex(wrapAsync(u)),A)}var _e=awaitify(eachLimit$2,3);function eachLimit(i,u,A,I){return eachOfLimit$2(u)(i,_withoutIndex(wrapAsync(A)),I)}var Oe=awaitify(eachLimit,4);function eachSeries(i,u,A){return Oe(i,1,u,A)}var xe=awaitify(eachSeries,3);function ensureAsync(i){if(isAsync(i))return i;return function(...u){var A=u.pop();var I=true;u.push(((...i)=>{if(I){Q((()=>A(...i)))}else{A(...i)}}));i.apply(this,u);I=false}}function every(i,u,A){return _createTester((i=>!i),(i=>!i))(L,i,u,A)}var ke=awaitify(every,3);function everyLimit(i,u,A,I){return _createTester((i=>!i),(i=>!i))(eachOfLimit$2(u),i,A,I)}var Qe=awaitify(everyLimit,4);function everySeries(i,u,A){return _createTester((i=>!i),(i=>!i))(z,i,u,A)}var Pe=awaitify(everySeries,3);function filterArray(i,u,A,I){var B=new Array(u.length);i(u,((i,u,I)=>{A(i,((i,A)=>{B[u]=!!A;I(i)}))}),(i=>{if(i)return I(i);var A=[];for(var Q=0;Q{A(i,((A,Q)=>{if(A)return I(A);if(Q){B.push({index:u,value:i})}I(A)}))}),(i=>{if(i)return I(i);I(null,B.sort(((i,u)=>i.index-u.index)).map((i=>i.value)))}))}function _filter(i,u,A,I){var B=isArrayLike(u)?filterArray:filterGeneric;return B(i,u,wrapAsync(A),I)}function filter(i,u,A){return _filter(L,i,u,A)}var De=awaitify(filter,3);function filterLimit(i,u,A,I){return _filter(eachOfLimit$2(u),i,A,I)}var Me=awaitify(filterLimit,4);function filterSeries(i,u,A){return _filter(z,i,u,A)}var Fe=awaitify(filterSeries,3);function forever(i,u){var A=onlyOnce(u);var I=wrapAsync(ensureAsync(i));function next(i){if(i)return A(i);if(i===false)return;I(next)}return next()}var Ue=awaitify(forever,2);function groupByLimit(i,u,A,I){var B=wrapAsync(A);return ye(i,u,((i,u)=>{B(i,((A,I)=>{if(A)return u(A);return u(A,{key:I,val:i})}))}),((i,u)=>{var A={};var{hasOwnProperty:B}=Object.prototype;for(var Q=0;Q{Q(i,u,((i,I)=>{if(i)return A(i);B[u]=I;A(i)}))}),(i=>I(i,B)))}var Ge=awaitify(mapValuesLimit,4);function mapValues(i,u,A){return Ge(i,Infinity,u,A)}function mapValuesSeries(i,u,A){return Ge(i,1,u,A)}function memoize(i,u=i=>i){var A=Object.create(null);var I=Object.create(null);var B=wrapAsync(i);var P=initialParams(((i,P)=>{var D=u(...i);if(D in A){Q((()=>P(null,...A[D])))}else if(D in I){I[D].push(P)}else{I[D]=[P];B(...i,((i,...u)=>{if(!i){A[D]=u}var B=I[D];delete I[D];for(var Q=0,P=B.length;Q{var I=isArrayLike(u)?[]:{};i(u,((i,u,A)=>{wrapAsync(i)(((i,...B)=>{if(B.length<2){[B]=B}I[u]=B;A(i)}))}),(i=>A(i,I)))}),3);function parallel(i,u){return Je(L,i,u)}function parallelLimit(i,u,A){return Je(eachOfLimit$2(u),i,A)}function queue(i,u){var A=wrapAsync(i);return queue$1(((i,u)=>{A(i[0],u)}),u,1)}class Heap{constructor(){this.heap=[];this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){this.heap=[];return this}percUp(i){let u;while(i>0&&smaller(this.heap[i],this.heap[u=parent(i)])){let A=this.heap[i];this.heap[i]=this.heap[u];this.heap[u]=A;i=u}}percDown(i){let u;while((u=leftChi(i))=0;i--){this.percDown(i)}return this}}function leftChi(i){return(i<<1)+1}function parent(i){return(i+1>>1)-1}function smaller(i,u){if(i.priority!==u.priority){return i.priority({data:i,priority:u,callback:A});function createDataItems(i,u){if(!Array.isArray(i)){return{data:i,priority:u}}return i.map((i=>({data:i,priority:u})))}A.push=function(i,u=0,A){return I(createDataItems(i,u),A)};A.pushAsync=function(i,u=0,A){return B(createDataItems(i,u),A)};delete A.unshift;delete A.unshiftAsync;return A}function race(i,u){u=once(u);if(!Array.isArray(i))return u(new TypeError("First argument to race must be an array of functions"));if(!i.length)return u();for(var A=0,I=i.length;A{let I={};if(i){I.error=i}if(u.length>0){var B=u;if(u.length<=1){[B]=u}I.value=B}A(null,I)}));return u.apply(this,i)}))}function reflectAll(i){var u;if(Array.isArray(i)){u=i.map(reflect)}else{u={};Object.keys(i).forEach((A=>{u[A]=reflect.call(this,i[A])}))}return u}function reject$2(i,u,A,I){const B=wrapAsync(A);return _filter(i,u,((i,u)=>{B(i,((i,A)=>{u(i,!A)}))}),I)}function reject(i,u,A){return reject$2(L,i,u,A)}var Ke=awaitify(reject,3);function rejectLimit(i,u,A,I){return reject$2(eachOfLimit$2(u),i,A,I)}var Xe=awaitify(rejectLimit,4);function rejectSeries(i,u,A){return reject$2(z,i,u,A)}var st=awaitify(rejectSeries,3);function constant(i){return function(){return i}}const ut=5;const dt=0;function retry(i,u,A){var I={times:ut,intervalFunc:constant(dt)};if(arguments.length<3&&typeof i==="function"){A=u||promiseCallback();u=i}else{parseTimes(I,i);A=A||promiseCallback()}if(typeof u!=="function"){throw new Error("Invalid arguments for async.retry")}var B=wrapAsync(u);var Q=1;function retryAttempt(){B(((i,...u)=>{if(i===false)return;if(i&&Q++{if(u.lengthi))(L,i,u,A)}var pt=awaitify(some,3);function someLimit(i,u,A,I){return _createTester(Boolean,(i=>i))(eachOfLimit$2(u),i,A,I)}var mt=awaitify(someLimit,4);function someSeries(i,u,A){return _createTester(Boolean,(i=>i))(z,i,u,A)}var yt=awaitify(someSeries,3);function sortBy(i,u,A){var I=wrapAsync(u);return U(i,((i,u)=>{I(i,((A,I)=>{if(A)return u(A);u(A,{value:i,criteria:I})}))}),((i,u)=>{if(i)return A(i);A(null,u.sort(comparator).map((i=>i.value)))}));function comparator(i,u){var A=i.criteria,I=u.criteria;return AI?1:0}}var bt=awaitify(sortBy,3);function timeout(i,u,A){var I=wrapAsync(i);return initialParams(((B,Q)=>{var P=false;var D;function timeoutCallback(){var u=i.name||"anonymous";var I=new Error('Callback function "'+u+'" timed out.');I.code="ETIMEDOUT";if(A){I.info=A}P=true;Q(I)}B.push(((...i)=>{if(!P){Q(...i);clearTimeout(D)}}));D=setTimeout(timeoutCallback,u);I(...B)}))}function range(i){var u=Array(i);while(i--){u[i]=i}return u}function timesLimit(i,u,A,I){var B=wrapAsync(A);return ye(range(i),u,B,I)}function times(i,u,A){return timesLimit(i,Infinity,u,A)}function timesSeries(i,u,A){return timesLimit(i,1,u,A)}function transform(i,u,A,I){if(arguments.length<=3&&typeof u==="function"){I=A;A=u;u=Array.isArray(i)?[]:{}}I=once(I||promiseCallback());var B=wrapAsync(A);L(i,((i,A,I)=>{B(u,i,A,I)}),(i=>I(i,u)));return I[J]}function tryEach(i,u){var A=null;var I;return xe(i,((i,u)=>{wrapAsync(i)(((i,...B)=>{if(i===false)return u(i);if(B.length<2){[I]=B}else{I=B}A=i;u(i?null:{})}))}),(()=>u(A,I)))}var Et=awaitify(tryEach);function unmemoize(i){return(...u)=>(i.unmemoized||i)(...u)}function whilst(i,u,A){A=onlyOnce(A);var I=wrapAsync(u);var B=wrapAsync(i);var Q=[];function next(i,...u){if(i)return A(i);Q=u;if(i===false)return;B(check)}function check(i,u){if(i)return A(i);if(i===false)return;if(!u)return A(null,...Q);I(next)}return B(check)}var Bt=awaitify(whilst,3);function until(i,u,A){const I=wrapAsync(i);return Bt((i=>I(((u,A)=>i(u,!A)))),u,A)}function waterfall(i,u){u=once(u);if(!Array.isArray(i))return u(new Error("First argument to waterfall must be an array of functions"));if(!i.length)return u();var A=0;function nextTask(u){var I=wrapAsync(i[A++]);I(...u,onlyOnce(next))}function next(I,...B){if(I===false)return;if(I||A===i.length){return u(I,...B)}nextTask(B)}nextTask([])}var Nt=awaitify(waterfall);var Ot={apply:apply,applyEach:G,applyEachSeries:Y,asyncify:asyncify,auto:auto,autoInject:autoInject,cargo:cargo$1,cargoQueue:cargo,compose:compose,concat:Ee,concatLimit:be,concatSeries:Ce,constant:constant$1,detect:we,detectLimit:ve,detectSeries:Se,dir:Re,doUntil:doUntil,doWhilst:Ne,each:_e,eachLimit:Oe,eachOf:L,eachOfLimit:D,eachOfSeries:z,eachSeries:xe,ensureAsync:ensureAsync,every:ke,everyLimit:Qe,everySeries:Pe,filter:De,filterLimit:Me,filterSeries:Fe,forever:Ue,groupBy:groupBy,groupByLimit:je,groupBySeries:groupBySeries,log:He,map:U,mapLimit:ye,mapSeries:W,mapValues:mapValues,mapValuesLimit:Ge,mapValuesSeries:mapValuesSeries,memoize:memoize,nextTick:ze,parallel:parallel,parallelLimit:parallelLimit,priorityQueue:priorityQueue,queue:queue,race:$e,reduce:Ae,reduceRight:reduceRight,reflect:reflect,reflectAll:reflectAll,reject:Ke,rejectLimit:Xe,rejectSeries:st,retry:retry,retryable:retryable,seq:seq,series:series,setImmediate:Q,some:pt,someLimit:mt,someSeries:yt,sortBy:bt,timeout:timeout,times:times,timesLimit:timesLimit,timesSeries:timesSeries,transform:transform,tryEach:Et,unmemoize:unmemoize,until:until,waterfall:Nt,whilst:Bt,all:ke,allLimit:Qe,allSeries:Pe,any:pt,anyLimit:mt,anySeries:yt,find:we,findLimit:ve,findSeries:Se,flatMap:Ee,flatMapLimit:be,flatMapSeries:Ce,forEach:_e,forEachSeries:xe,forEachLimit:Oe,forEachOf:L,forEachOfSeries:z,forEachOfLimit:D,inject:Ae,foldl:Ae,foldr:reduceRight,select:De,selectLimit:Me,selectSeries:Fe,wrapSync:asyncify,during:Bt,doDuring:Ne};i.all=ke;i.allLimit=Qe;i.allSeries=Pe;i.any=pt;i.anyLimit=mt;i.anySeries=yt;i.apply=apply;i.applyEach=G;i.applyEachSeries=Y;i.asyncify=asyncify;i.auto=auto;i.autoInject=autoInject;i.cargo=cargo$1;i.cargoQueue=cargo;i.compose=compose;i.concat=Ee;i.concatLimit=be;i.concatSeries=Ce;i.constant=constant$1;i.default=Ot;i.detect=we;i.detectLimit=ve;i.detectSeries=Se;i.dir=Re;i.doDuring=Ne;i.doUntil=doUntil;i.doWhilst=Ne;i.during=Bt;i.each=_e;i.eachLimit=Oe;i.eachOf=L;i.eachOfLimit=D;i.eachOfSeries=z;i.eachSeries=xe;i.ensureAsync=ensureAsync;i.every=ke;i.everyLimit=Qe;i.everySeries=Pe;i.filter=De;i.filterLimit=Me;i.filterSeries=Fe;i.find=we;i.findLimit=ve;i.findSeries=Se;i.flatMap=Ee;i.flatMapLimit=be;i.flatMapSeries=Ce;i.foldl=Ae;i.foldr=reduceRight;i.forEach=_e;i.forEachLimit=Oe;i.forEachOf=L;i.forEachOfLimit=D;i.forEachOfSeries=z;i.forEachSeries=xe;i.forever=Ue;i.groupBy=groupBy;i.groupByLimit=je;i.groupBySeries=groupBySeries;i.inject=Ae;i.log=He;i.map=U;i.mapLimit=ye;i.mapSeries=W;i.mapValues=mapValues;i.mapValuesLimit=Ge;i.mapValuesSeries=mapValuesSeries;i.memoize=memoize;i.nextTick=ze;i.parallel=parallel;i.parallelLimit=parallelLimit;i.priorityQueue=priorityQueue;i.queue=queue;i.race=$e;i.reduce=Ae;i.reduceRight=reduceRight;i.reflect=reflect;i.reflectAll=reflectAll;i.reject=Ke;i.rejectLimit=Xe;i.rejectSeries=st;i.retry=retry;i.retryable=retryable;i.select=De;i.selectLimit=Me;i.selectSeries=Fe;i.seq=seq;i.series=series;i.setImmediate=Q;i.some=pt;i.someLimit=mt;i.someSeries=yt;i.sortBy=bt;i.timeout=timeout;i.times=times;i.timesLimit=timesLimit;i.timesSeries=timesSeries;i.transform=transform;i.tryEach=Et;i.unmemoize=unmemoize;i.until=until;i.waterfall=Nt;i.whilst=Bt;i.wrapSync=asyncify;Object.defineProperty(i,"__esModule",{value:true})}))},73057:i=>{function isBuffer(i){return Buffer.isBuffer(i)||i instanceof Uint8Array}function isEncoding(i){return Buffer.isEncoding(i)}function alloc(i,u,A){return Buffer.alloc(i,u,A)}function allocUnsafe(i){return Buffer.allocUnsafe(i)}function allocUnsafeSlow(i){return Buffer.allocUnsafeSlow(i)}function byteLength(i,u){return Buffer.byteLength(i,u)}function compare(i,u){return Buffer.compare(i,u)}function concat(i,u){return Buffer.concat(i,u)}function copy(i,u,A,I,B){return toBuffer(i).copy(u,A,I,B)}function equals(i,u){return toBuffer(i).equals(u)}function fill(i,u,A,I,B){return toBuffer(i).fill(u,A,I,B)}function from(i,u,A){return Buffer.from(i,u,A)}function includes(i,u,A,I){return toBuffer(i).includes(u,A,I)}function indexOf(i,u,A,I){return toBuffer(i).indexOf(u,A,I)}function lastIndexOf(i,u,A,I){return toBuffer(i).lastIndexOf(u,A,I)}function swap16(i){return toBuffer(i).swap16()}function swap32(i){return toBuffer(i).swap32()}function swap64(i){return toBuffer(i).swap64()}function toBuffer(i){if(Buffer.isBuffer(i))return i;return Buffer.from(i.buffer,i.byteOffset,i.byteLength)}function toString(i,u,A,I){return toBuffer(i).toString(u,A,I)}function write(i,u,A,I,B){return toBuffer(i).write(u,A,I,B)}function readDoubleBE(i,u){return toBuffer(i).readDoubleBE(u)}function readDoubleLE(i,u){return toBuffer(i).readDoubleLE(u)}function readFloatBE(i,u){return toBuffer(i).readFloatBE(u)}function readFloatLE(i,u){return toBuffer(i).readFloatLE(u)}function readInt32BE(i,u){return toBuffer(i).readInt32BE(u)}function readInt32LE(i,u){return toBuffer(i).readInt32LE(u)}function readUInt32BE(i,u){return toBuffer(i).readUInt32BE(u)}function readUInt32LE(i,u){return toBuffer(i).readUInt32LE(u)}function writeDoubleBE(i,u,A){return toBuffer(i).writeDoubleBE(u,A)}function writeDoubleLE(i,u,A){return toBuffer(i).writeDoubleLE(u,A)}function writeFloatBE(i,u,A){return toBuffer(i).writeFloatBE(u,A)}function writeFloatLE(i,u,A){return toBuffer(i).writeFloatLE(u,A)}function writeInt32BE(i,u,A){return toBuffer(i).writeInt32BE(u,A)}function writeInt32LE(i,u,A){return toBuffer(i).writeInt32LE(u,A)}function writeUInt32BE(i,u,A){return toBuffer(i).writeUInt32BE(u,A)}function writeUInt32LE(i,u,A){return toBuffer(i).writeUInt32LE(u,A)}i.exports={isBuffer:isBuffer,isEncoding:isEncoding,alloc:alloc,allocUnsafe:allocUnsafe,allocUnsafeSlow:allocUnsafeSlow,byteLength:byteLength,compare:compare,concat:concat,copy:copy,equals:equals,fill:fill,from:from,includes:includes,indexOf:indexOf,lastIndexOf:lastIndexOf,swap16:swap16,swap32:swap32,swap64:swap64,toBuffer:toBuffer,toString:toString,write:write,readDoubleBE:readDoubleBE,readDoubleLE:readDoubleLE,readFloatBE:readFloatBE,readFloatLE:readFloatLE,readInt32BE:readInt32BE,readInt32LE:readInt32LE,readUInt32BE:readUInt32BE,readUInt32LE:readUInt32LE,writeDoubleBE:writeDoubleBE,writeDoubleLE:writeDoubleLE,writeFloatBE:writeFloatBE,writeFloatLE:writeFloatLE,writeInt32BE:writeInt32BE,writeInt32LE:writeInt32LE,writeUInt32BE:writeUInt32BE,writeUInt32LE:writeUInt32LE}},59380:i=>{"use strict";i.exports=balanced;function balanced(i,u,A){if(i instanceof RegExp)i=maybeMatch(i,A);if(u instanceof RegExp)u=maybeMatch(u,A);var I=range(i,u,A);return I&&{start:I[0],end:I[1],pre:A.slice(0,I[0]),body:A.slice(I[0]+i.length,I[1]),post:A.slice(I[1]+u.length)}}function maybeMatch(i,u){var A=u.match(i);return A?A[0]:null}balanced.range=range;function range(i,u,A){var I,B,Q,P,D;var L=A.indexOf(i);var U=A.indexOf(u,L+1);var G=L;if(L>=0&&U>0){if(i===u){return[L,U]}I=[];Q=A.length;while(G>=0&&!D){if(G==L){I.push(G);L=A.indexOf(i,G+1)}else if(I.length==1){D=[I.pop(),U]}else{B=I.pop();if(B=0?L:U}if(I.length){D=[Q,P]}}return D}},52732:(i,u,A)=>{var I=A(11063);var B=A(22027);var Q=A(59934);var P=Function.bind;var D=P.bind(P);function bindApi(i,u,A){var I=D(Q,null).apply(null,A?[u,A]:[u]);i.api={remove:I};i.remove=I;["before","error","after","wrap"].forEach((function(I){var Q=A?[u,I,A]:[u,I];i[I]=i.api[I]=D(B,null).apply(null,Q)}))}function HookSingular(){var i="h";var u={registry:{}};var A=I.bind(null,u,i);bindApi(A,u,i);return A}function HookCollection(){var i={registry:{}};var u=I.bind(null,i);bindApi(u,i);return u}var L=false;function Hook(){if(!L){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');L=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();i.exports=Hook;i.exports.Hook=Hook;i.exports.Singular=Hook.Singular;i.exports.Collection=Hook.Collection},22027:i=>{i.exports=addHook;function addHook(i,u,A,I){var B=I;if(!i.registry[A]){i.registry[A]=[]}if(u==="before"){I=function(i,u){return Promise.resolve().then(B.bind(null,u)).then(i.bind(null,u))}}if(u==="after"){I=function(i,u){var A;return Promise.resolve().then(i.bind(null,u)).then((function(i){A=i;return B(A,u)})).then((function(){return A}))}}if(u==="error"){I=function(i,u){return Promise.resolve().then(i.bind(null,u)).catch((function(i){return B(i,u)}))}}i.registry[A].push({hook:I,orig:B})}},11063:i=>{i.exports=register;function register(i,u,A,I){if(typeof A!=="function"){throw new Error("method for before hook must be a function")}if(!I){I={}}if(Array.isArray(u)){return u.reverse().reduce((function(u,A){return register.bind(null,i,A,u,I)}),A)()}return Promise.resolve().then((function(){if(!i.registry[u]){return A(I)}return i.registry[u].reduce((function(i,u){return u.hook.bind(null,i,I)}),A)()}))}},59934:i=>{i.exports=removeHook;function removeHook(i,u,A){if(!i.registry[u]){return}var I=i.registry[u].map((function(i){return i.orig})).indexOf(A);if(I===-1){return}i.registry[u].splice(I,1)}},58769:(i,u,A)=>{var I=A(71710);var B=A(24434).EventEmitter;var Q=A(86627);var P=A(91259);var D=A(2203).Stream;u=i.exports=function(i,A){if(Buffer.isBuffer(i)){return u.parse(i)}var I=u.stream();if(i&&i.pipe){i.pipe(I)}else if(i){i.on(A||"data",(function(i){I.write(i)}));i.on("end",(function(){I.end()}))}return I};u.stream=function(i){if(i)return u.apply(null,arguments);var A=null;function getBytes(i,u,I){A={bytes:i,skip:I,cb:function(i){A=null;u(i)}};dispatch()}var L=null;function dispatch(){if(!A){if(Y)W=true;return}if(typeof A==="function"){A()}else{var i=L+A.bytes;if(G.length>=i){var u;if(L==null){u=G.splice(0,i);if(!A.skip){u=u.slice()}}else{if(!A.skip){u=G.slice(L,i)}L=i}if(A.skip){A.cb()}else{A.cb(u)}}}}function builder(i){function next(){if(!W)i.next()}var u=words((function(i,u){return function(A){getBytes(i,(function(i){z.set(A,u(i));next()}))}}));u.tap=function(u){i.nest(u,z.store)};u.into=function(u,A){if(!z.get(u))z.set(u,{});var I=z;z=P(I.get(u));i.nest((function(){A.apply(this,arguments);this.tap((function(){z=I}))}),z.store)};u.flush=function(){z.store={};next()};u.loop=function(u){var A=false;i.nest(false,(function loop(){this.vars=z.store;u.call(this,(function(){A=true;next()}),z.store);this.tap(function(){if(A)i.next();else loop.call(this)}.bind(this))}),z.store)};u.buffer=function(i,u){if(typeof u==="string"){u=z.get(u)}getBytes(u,(function(u){z.set(i,u);next()}))};u.skip=function(i){if(typeof i==="string"){i=z.get(i)}getBytes(i,(function(){next()}))};u.scan=function find(i,u){if(typeof u==="string"){u=new Buffer(u)}else if(!Buffer.isBuffer(u)){throw new Error("search must be a Buffer or a string")}var I=0;A=function(){var B=G.indexOf(u,L+I);var Q=B-L-I;if(B!==-1){A=null;if(L!=null){z.set(i,G.slice(L,L+I+Q));L+=I+Q+u.length}else{z.set(i,G.slice(0,I+Q));G.splice(0,I+Q+u.length)}next();dispatch()}else{Q=Math.max(G.length-u.length-L-I,0)}I+=Q};dispatch()};u.peek=function(u){L=0;i.nest((function(){u.call(this,z.store);this.tap((function(){L=null}))}))};return u}var U=I.light(builder);U.writable=true;var G=Q();U.write=function(i){G.push(i);dispatch()};var z=P();var W=false,Y=false;U.end=function(){Y=true};U.pipe=D.prototype.pipe;Object.getOwnPropertyNames(B.prototype).forEach((function(i){U[i]=B.prototype[i]}));return U};u.parse=function parse(i){var u=words((function(B,Q){return function(P){if(A+B<=i.length){var D=i.slice(A,A+B);A+=B;I.set(P,Q(D))}else{I.set(P,null)}return u}}));var A=0;var I=P();u.vars=I.store;u.tap=function(i){i.call(u,I.store);return u};u.into=function(i,A){if(!I.get(i)){I.set(i,{})}var B=I;I=P(B.get(i));A.call(u,I.store);I=B;return u};u.loop=function(i){var A=false;var ender=function(){A=true};while(A===false){i.call(u,ender,I.store)}return u};u.buffer=function(B,Q){if(typeof Q==="string"){Q=I.get(Q)}var P=i.slice(A,Math.min(i.length,A+Q));A+=Q;I.set(B,P);return u};u.skip=function(i){if(typeof i==="string"){i=I.get(i)}A+=i;return u};u.scan=function(B,Q){if(typeof Q==="string"){Q=new Buffer(Q)}else if(!Buffer.isBuffer(Q)){throw new Error("search must be a Buffer or a string")}I.set(B,null);for(var P=0;P+A<=i.length-Q.length+1;P++){for(var D=0;D=i.length};return u};function decodeLEu(i){var u=0;for(var A=0;A{i.exports=function(i){function getset(i,A){var I=u.store;var B=i.split(".");B.slice(0,-1).forEach((function(i){if(I[i]===undefined)I[i]={};I=I[i]}));var Q=B[B.length-1];if(arguments.length==1){return I[Q]}else{return I[Q]=A}}var u={get:function(i){return getset(i)},set:function(i,u){return getset(i,u)},store:i||{}};return u}},63251:function(i){(function(u,A){true?i.exports=A():0})(this,(function(){"use strict";var i=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(i){return i&&i["default"]||i}var load=function(i,u,A={}){var I,B,Q;for(I in u){Q=u[I];A[I]=(B=i[I])!=null?B:Q}return A};var overwrite=function(i,u,A={}){var I,B;for(I in i){B=i[I];if(u[I]!==void 0){A[I]=B}}return A};var u={load:load,overwrite:overwrite};var A;A=class DLList{constructor(i,u){this.incr=i;this.decr=u;this._first=null;this._last=null;this.length=0}push(i){var u;this.length++;if(typeof this.incr==="function"){this.incr()}u={value:i,prev:this._last,next:null};if(this._last!=null){this._last.next=u;this._last=u}else{this._first=this._last=u}return void 0}shift(){var i;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}i=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return i}first(){if(this._first!=null){return this._first.value}}getArray(){var i,u,A;i=this._first;A=[];while(i!=null){A.push((u=i,i=i.next,u.value))}return A}forEachShift(i){var u;u=this.shift();while(u!=null){i(u),u=this.shift()}return void 0}debug(){var i,u,A,I,B;i=this._first;B=[];while(i!=null){B.push((u=i,i=i.next,{value:u.value,prev:(A=u.prev)!=null?A.value:void 0,next:(I=u.next)!=null?I.value:void 0}))}return B}};var I=A;var B;B=class Events{constructor(i){this.instance=i;this._events={};if(this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null){throw new Error("An Emitter already exists for this object")}this.instance.on=(i,u)=>this._addListener(i,"many",u);this.instance.once=(i,u)=>this._addListener(i,"once",u);this.instance.removeAllListeners=(i=null)=>{if(i!=null){return delete this._events[i]}else{return this._events={}}}}_addListener(i,u,A){var I;if((I=this._events)[i]==null){I[i]=[]}this._events[i].push({cb:A,status:u});return this.instance}listenerCount(i){if(this._events[i]!=null){return this._events[i].length}else{return 0}}async trigger(i,...u){var A,I;try{if(i!=="debug"){this.trigger("debug",`Event triggered: ${i}`,u)}if(this._events[i]==null){return}this._events[i]=this._events[i].filter((function(i){return i.status!=="none"}));I=this._events[i].map((async i=>{var A,I;if(i.status==="none"){return}if(i.status==="once"){i.status="none"}try{I=typeof i.cb==="function"?i.cb(...u):void 0;if(typeof(I!=null?I.then:void 0)==="function"){return await I}else{return I}}catch(i){A=i;{this.trigger("error",A)}return null}}));return(await Promise.all(I)).find((function(i){return i!=null}))}catch(i){A=i;{this.trigger("error",A)}return null}}};var Q=B;var P,D,L;P=I;D=Q;L=class Queues{constructor(i){var u;this.Events=new D(this);this._length=0;this._lists=function(){var A,I,B;B=[];for(u=A=1,I=i;1<=I?A<=I:A>=I;u=1<=I?++A:--A){B.push(new P((()=>this.incr()),(()=>this.decr())))}return B}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(i){return this._lists[i.options.priority].push(i)}queued(i){if(i!=null){return this._lists[i].length}else{return this._length}}shiftAll(i){return this._lists.forEach((function(u){return u.forEachShift(i)}))}getFirst(i=this._lists){var u,A,I;for(u=0,A=i.length;u0){return I}}return[]}shiftLastFrom(i){return this.getFirst(this._lists.slice(i).reverse()).shift()}};var U=L;var G;G=class BottleneckError extends Error{};var z=G;var W,Y,J,$,K;$=10;Y=5;K=u;W=z;J=class Job{constructor(i,u,A,I,B,Q,P,D){this.task=i;this.args=u;this.rejectOnDrop=B;this.Events=Q;this._states=P;this.Promise=D;this.options=K.load(A,I);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===I.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise(((i,u)=>{this._resolve=i;this._reject=u}));this.retryCount=0}_sanitizePriority(i){var u;u=~~i!==i?Y:i;if(u<0){return 0}else if(u>$-1){return $-1}else{return u}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:i,message:u="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(i!=null?i:new W(u))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(i){var u;u=this._states.jobStatus(this.options.id);if(!(u===i||i==="DONE"&&u===null)){throw new W(`Invalid job status ${u}, expected ${i}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}}doReceive(){this._states.start(this.options.id);return this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(i,u){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:i,blocked:u})}doRun(){if(this.retryCount===0){this._assertStatus("QUEUED");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}return this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(i,u,A,I){var B,Q,P;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}Q={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",Q);try{P=await(i!=null?i.schedule(this.options,this.task,...this.args):this.task(...this.args));if(u()){this.doDone(Q);await I(this.options,Q);this._assertStatus("DONE");return this._resolve(P)}}catch(i){B=i;return this._onFailure(B,Q,u,A,I)}}doExpire(i,u,A){var I,B;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");B={args:this.args,options:this.options,retryCount:this.retryCount};I=new W(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(I,B,i,u,A)}async _onFailure(i,u,A,I,B){var Q,P;if(A()){Q=await this.Events.trigger("failed",i,u);if(Q!=null){P=~~Q;this.Events.trigger("retry",`Retrying ${this.options.id} after ${P} ms`,u);this.retryCount++;return I(P)}else{this.doDone(u);await B(this.options,u);this._assertStatus("DONE");return this._reject(i)}}}doDone(i){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",i)}};var X=J;var he,Ae,ye;ye=u;he=z;Ae=class LocalDatastore{constructor(i,u,A){this.instance=i;this.storeOptions=u;this.clientId=this.instance._randomIndex();ye.load(A,A,this);this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now();this._running=0;this._done=0;this._unblockTime=0;this.ready=this.Promise.resolve();this.clients={};this._startHeartbeat()}_startHeartbeat(){var i;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(i=this.heartbeat=setInterval((()=>{var i,u,A,I,B;I=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&I>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=I;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&I>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:i,reservoirIncreaseMaximum:A,reservoir:B}=this.storeOptions);this._lastReservoirIncrease=I;u=A!=null?Math.min(i,A-B):i;if(u>0){this.storeOptions.reservoir+=u;return this.instance._drainAll(this.computeCapacity())}}}),this.heartbeatInterval)).unref==="function"?i.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(i){await this.yieldLoop();return this.instance.Events.trigger("message",i.toString())}async __disconnect__(i){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(i=0){return new this.Promise((function(u,A){return setTimeout(u,i)}))}computePenalty(){var i;return(i=this.storeOptions.penalty)!=null?i:15*this.storeOptions.minTime||5e3}async __updateSettings__(i){await this.yieldLoop();ye.overwrite(i,i,this.storeOptions);this._startHeartbeat();this.instance._drainAll(this.computeCapacity());return true}async __running__(){await this.yieldLoop();return this._running}async __queued__(){await this.yieldLoop();return this.instance.queued()}async __done__(){await this.yieldLoop();return this._done}async __groupCheck__(i){await this.yieldLoop();return this._nextRequest+this.timeout=i}check(i,u){return this.conditionsCheck(i)&&this._nextRequest-u<=0}async __check__(i){var u;await this.yieldLoop();u=Date.now();return this.check(i,u)}async __register__(i,u,A){var I,B;await this.yieldLoop();I=Date.now();if(this.conditionsCheck(u)){this._running+=u;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=u}B=Math.max(this._nextRequest-I,0);this._nextRequest=I+B+this.storeOptions.minTime;return{success:true,wait:B,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(i,u){var A,I,B;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&u>this.storeOptions.maxConcurrent){throw new he(`Impossible to add a job having a weight of ${u} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}I=Date.now();B=this.storeOptions.highWater!=null&&i===this.storeOptions.highWater&&!this.check(u,I);A=this.strategyIsBlock()&&(B||this.isBlocked(I));if(A){this._unblockTime=I+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:B,blocked:A,strategy:this.storeOptions.strategy}}async __free__(i,u){await this.yieldLoop();this._running-=u;this._done+=u;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var be=Ae;var Ee,Ce;Ee=z;Ce=class States{constructor(i){this.status=i;this._jobs={};this.counts=this.status.map((function(){return 0}))}next(i){var u,A;u=this._jobs[i];A=u+1;if(u!=null&&A{i[this.status[A]]=u;return i}),{})}};var we=Ce;var ve,Se;ve=I;Se=class Sync{constructor(i,u){this.schedule=this.schedule.bind(this);this.name=i;this.Promise=u;this._running=0;this._queue=new ve}isEmpty(){return this._queue.length===0}async _tryToRun(){var i,u,A,I,B,Q,P;if(this._running<1&&this._queue.length>0){this._running++;({task:P,args:i,resolve:B,reject:I}=this._queue.shift());u=await async function(){try{Q=await P(...i);return function(){return B(Q)}}catch(i){A=i;return function(){return I(A)}}}();this._running--;this._tryToRun();return u()}}schedule(i,...u){var A,I,B;B=I=null;A=new this.Promise((function(i,u){B=i;return I=u}));this._queue.push({task:i,args:u,resolve:B,reject:I});this._tryToRun();return A}};var Re=Se;var Ne="2.19.5";var _e={version:Ne};var Oe=Object.freeze({version:Ne,default:_e});var require$$2=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$3=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$4=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var xe,ke,Qe,Pe,De,Me;Me=u;xe=Q;Pe=require$$2;Qe=require$$3;De=require$$4;ke=function(){class Group{constructor(i={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=i;Me.load(this.limiterOptions,this.defaults,this);this.Events=new xe(this);this.instances={};this.Bottleneck=Et;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new Pe(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new Qe(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(i=""){var u;return(u=this.instances[i])!=null?u:(()=>{var u;u=this.instances[i]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${i}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",u,i);return u})()}async deleteKey(i=""){var u,A;A=this.instances[i];if(this.connection){u=await this.connection.__runCommand__(["del",...De.allKeys(`${this.id}-${i}`)])}if(A!=null){delete this.instances[i];await A.disconnect()}return A!=null||u>0}limiters(){var i,u,A,I;u=this.instances;A=[];for(i in u){I=u[i];A.push({key:i,limiter:I})}return A}keys(){return Object.keys(this.instances)}async clusterKeys(){var i,u,A,I,B,Q,P,D,L;if(this.connection==null){return this.Promise.resolve(this.keys())}Q=[];i=null;L=`b_${this.id}-`.length;u="_settings".length;while(i!==0){[D,A]=await this.connection.__runCommand__(["scan",i!=null?i:0,"match",`b_${this.id}-*_settings`,"count",1e4]);i=~~D;for(I=0,P=A.length;I{var i,u,A,I,B,Q;B=Date.now();A=this.instances;I=[];for(u in A){Q=A[u];try{if(await Q._store.__groupCheck__(B)){I.push(this.deleteKey(u))}else{I.push(void 0)}}catch(u){i=u;I.push(Q.Events.trigger("error",i))}}return I}),this.timeout/2)).unref==="function"?i.unref():void 0}updateSettings(i={}){Me.overwrite(i,this.defaults,this);Me.overwrite(i,i,this.limiterOptions);if(i.timeout!=null){return this._startAutoCleanup()}}disconnect(i=true){var u;if(!this.sharedConnection){return(u=this.connection)!=null?u.disconnect(i):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(i);var Fe=ke;var Ue,je,He;He=u;je=Q;Ue=function(){class Batcher{constructor(i={}){this.options=i;He.load(this.options,this.defaults,this);this.Events=new je(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise(((i,u)=>this._resolve=i))}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(i){var u;this._arr.push(i);u=this._promise;if(this._arr.length===this.maxSize){this._flush()}else if(this.maxTime!=null&&this._arr.length===1){this._timeout=setTimeout((()=>this._flush()),this.maxTime)}return u}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(i);var Ge=Ue;var require$$4$1=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var qe=getCjsExportFromNamespace(Oe);var ze,Je,$e,Ke,Xe,st,ut,dt,pt,mt,yt,bt=[].splice;st=10;Je=5;yt=u;ut=U;Ke=X;Xe=be;dt=require$$4$1;$e=Q;pt=we;mt=Re;ze=function(){class Bottleneck{constructor(i={},...u){var A,I;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(i,u);yt.load(i,this.instanceDefaults,this);this._queues=new ut(st);this._scheduled={};this._states=new pt(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new $e(this);this._submitLock=new mt("submit",this.Promise);this._registerLock=new mt("register",this.Promise);I=yt.load(i,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){A=yt.load(i,this.redisStoreDefaults,{});return new dt(this,I,A)}else if(this.datastore==="local"){A=yt.load(i,this.localStoreDefaults,{});return new Xe(this,I,A)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",(()=>{var i;return(i=this._store.heartbeat)!=null?typeof i.ref==="function"?i.ref():void 0:void 0}));this._queues.on("zero",(()=>{var i;return(i=this._store.heartbeat)!=null?typeof i.unref==="function"?i.unref():void 0:void 0}))}_validateOptions(i,u){if(!(i!=null&&typeof i==="object"&&u.length===0)){throw new Bottleneck.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(i){return this._store.__publish__(i)}disconnect(i=true){return this._store.__disconnect__(i)}chain(i){this._limiter=i;return this}queued(i){return this._queues.queued(i)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(i){return this._states.jobStatus(i)}jobs(i){return this._states.statusJobs(i)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(i=1){return this._store.__check__(i)}_clearGlobalState(i){if(this._scheduled[i]!=null){clearTimeout(this._scheduled[i].expiration);delete this._scheduled[i];return true}else{return false}}async _free(i,u,A,I){var B,Q;try{({running:Q}=await this._store.__free__(i,A.weight));this.Events.trigger("debug",`Freed ${A.id}`,I);if(Q===0&&this.empty()){return this.Events.trigger("idle")}}catch(i){B=i;return this.Events.trigger("error",B)}}_run(i,u,A){var I,B,Q;u.doRun();I=this._clearGlobalState.bind(this,i);Q=this._run.bind(this,i,u);B=this._free.bind(this,i,u);return this._scheduled[i]={timeout:setTimeout((()=>u.doExecute(this._limiter,I,Q,B)),A),expiration:u.options.expiration!=null?setTimeout((function(){return u.doExpire(I,Q,B)}),A+u.options.expiration):void 0,job:u}}_drainOne(i){return this._registerLock.schedule((()=>{var u,A,I,B,Q;if(this.queued()===0){return this.Promise.resolve(null)}Q=this._queues.getFirst();({options:B,args:u}=I=Q.first());if(i!=null&&B.weight>i){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${B.id}`,{args:u,options:B});A=this._randomIndex();return this._store.__register__(A,B.weight,B.expiration).then((({success:i,wait:P,reservoir:D})=>{var L;this.Events.trigger("debug",`Drained ${B.id}`,{success:i,args:u,options:B});if(i){Q.shift();L=this.empty();if(L){this.Events.trigger("empty")}if(D===0){this.Events.trigger("depleted",L)}this._run(A,I,P);return this.Promise.resolve(B.weight)}else{return this.Promise.resolve(null)}}))}))}_drainAll(i,u=0){return this._drainOne(i).then((A=>{var I;if(A!=null){I=i!=null?i-A:i;return this._drainAll(I,u+A)}else{return this.Promise.resolve(u)}})).catch((i=>this.Events.trigger("error",i)))}_dropAllQueued(i){return this._queues.shiftAll((function(u){return u.doDrop({message:i})}))}stop(i={}){var u,A;i=yt.load(i,this.stopDefaults);A=i=>{var u;u=()=>{var u;u=this._states.counts;return u[0]+u[1]+u[2]+u[3]===i};return new this.Promise(((i,A)=>{if(u()){return i()}else{return this.on("done",(()=>{if(u()){this.removeAllListeners("done");return i()}}))}}))};u=i.dropWaitingJobs?(this._run=function(u,A){return A.doDrop({message:i.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule((()=>this._submitLock.schedule((()=>{var u,I,B;I=this._scheduled;for(u in I){B=I[u];if(this.jobStatus(B.job.options.id)==="RUNNING"){clearTimeout(B.timeout);clearTimeout(B.expiration);B.job.doDrop({message:i.dropErrorMessage})}}this._dropAllQueued(i.dropErrorMessage);return A(0)}))))):this.schedule({priority:st-1,weight:0},(()=>A(1)));this._receive=function(u){return u._reject(new Bottleneck.prototype.BottleneckError(i.enqueueErrorMessage))};this.stop=()=>this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"));return u}async _addToQueue(i){var u,A,I,B,Q,P,D;({args:u,options:B}=i);try{({reachedHWM:Q,blocked:A,strategy:D}=await this._store.__submit__(this.queued(),B.weight))}catch(A){I=A;this.Events.trigger("debug",`Could not queue ${B.id}`,{args:u,options:B,error:I});i.doDrop({error:I});return false}if(A){i.doDrop();return true}else if(Q){P=D===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(B.priority):D===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(B.priority+1):D===Bottleneck.prototype.strategy.OVERFLOW?i:void 0;if(P!=null){P.doDrop()}if(P==null||D===Bottleneck.prototype.strategy.OVERFLOW){if(P==null){i.doDrop()}return Q}}i.doQueue(Q,A);this._queues.push(i);await this._drainAll();return Q}_receive(i){if(this._states.jobStatus(i.options.id)!=null){i._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${i.options.id})`));return false}else{i.doReceive();return this._submitLock.schedule(this._addToQueue,i)}}submit(...i){var u,A,I,B,Q,P,D;if(typeof i[0]==="function"){Q=i,[A,...i]=Q,[u]=bt.call(i,-1);B=yt.load({},this.jobDefaults)}else{P=i,[B,A,...i]=P,[u]=bt.call(i,-1);B=yt.load(B,this.jobDefaults)}D=(...i)=>new this.Promise((function(u,I){return A(...i,(function(...i){return(i[0]!=null?I:u)(i)}))}));I=new Ke(D,i,B,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);I.promise.then((function(i){return typeof u==="function"?u(...i):void 0})).catch((function(i){if(Array.isArray(i)){return typeof u==="function"?u(...i):void 0}else{return typeof u==="function"?u(i):void 0}}));return this._receive(I)}schedule(...i){var u,A,I;if(typeof i[0]==="function"){[I,...i]=i;A={}}else{[A,I,...i]=i}u=new Ke(I,i,A,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(u);return u.promise}wrap(i){var u,A;u=this.schedule.bind(this);A=function(...A){return u(i.bind(this),...A)};A.withOptions=function(A,...I){return u(A,i,...I)};return A}async updateSettings(i={}){await this._store.__updateSettings__(yt.overwrite(i,this.storeDefaults));yt.overwrite(i,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(i=0){return this._store.__incrementReservoir__(i)}}Bottleneck.default=Bottleneck;Bottleneck.Events=$e;Bottleneck.version=Bottleneck.prototype.version=qe.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=z;Bottleneck.Group=Bottleneck.prototype.Group=Fe;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=require$$2;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=require$$3;Bottleneck.Batcher=Bottleneck.prototype.Batcher=Ge;Bottleneck.prototype.jobDefaults={priority:Je,weight:1,expiration:null,id:""};Bottleneck.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Bottleneck.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null};Bottleneck.prototype.localStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:250};Bottleneck.prototype.redisStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:false,connection:null};Bottleneck.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:true,trackDoneStatus:false,Promise:Promise};Bottleneck.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:true,dropErrorMessage:"This limiter has been stopped."};return Bottleneck}.call(i);var Et=ze;var Bt=Et;return Bt}))},94691:(i,u,A)=>{var I=A(59380);i.exports=expandTop;var B="\0SLASH"+Math.random()+"\0";var Q="\0OPEN"+Math.random()+"\0";var P="\0CLOSE"+Math.random()+"\0";var D="\0COMMA"+Math.random()+"\0";var L="\0PERIOD"+Math.random()+"\0";function numeric(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function escapeBraces(i){return i.split("\\\\").join(B).split("\\{").join(Q).split("\\}").join(P).split("\\,").join(D).split("\\.").join(L)}function unescapeBraces(i){return i.split(B).join("\\").split(Q).join("{").split(P).join("}").split(D).join(",").split(L).join(".")}function parseCommaParts(i){if(!i)return[""];var u=[];var A=I("{","}",i);if(!A)return i.split(",");var B=A.pre;var Q=A.body;var P=A.post;var D=B.split(",");D[D.length-1]+="{"+Q+"}";var L=parseCommaParts(P);if(P.length){D[D.length-1]+=L.shift();D.push.apply(D,L)}u.push.apply(u,D);return u}function expandTop(i,u){if(!i)return[];u=u||{};var A=u.max==null?Infinity:u.max;if(i.substr(0,2)==="{}"){i="\\{\\}"+i.substr(2)}return expand(escapeBraces(i),A,true).map(unescapeBraces)}function embrace(i){return"{"+i+"}"}function isPadded(i){return/^-?0\d/.test(i)}function lte(i,u){return i<=u}function gte(i,u){return i>=u}function expand(i,u,A){var B=[];var Q=I("{","}",i);if(!Q)return[i];var D=Q.pre;var L=Q.post.length?expand(Q.post,u,false):[""];if(/\$$/.test(Q.pre)){for(var U=0;U=0;if(!Y&&!J){if(Q.post.match(/,(?!,).*\}/)){i=Q.pre+"{"+Q.body+P+Q.post;return expand(i,u,true)}return[i]}var $;if(Y){$=Q.body.split(/\.\./)}else{$=parseCommaParts(Q.body);if($.length===1){$=expand($[0],u,false).map(embrace);if($.length===1){return L.map((function(i){return Q.pre+$[0]+i}))}}}var K;if(Y){var X=numeric($[0]);var he=numeric($[1]);var Ae=Math.max($[0].length,$[1].length);var ye=$.length==3?Math.max(Math.abs(numeric($[2])),1):1;var be=lte;var Ee=he0){var Re=new Array(Se+1).join("0");if(we<0)ve="-"+Re+ve.slice(1);else ve=Re+ve}}}K.push(ve)}}else{K=[];for(var Ne=0;Ne<$.length;Ne++){K.push.apply(K,expand($[Ne],u,false))}}for(var Ne=0;Ne{i.exports=Buffers;function Buffers(i){if(!(this instanceof Buffers))return new Buffers(i);this.buffers=i||[];this.length=this.buffers.reduce((function(i,u){return i+u.length}),0)}Buffers.prototype.push=function(){for(var i=0;i=0?i:this.length-i;var B=[].slice.call(arguments,2);if(u===undefined){u=this.length-I}else if(u>this.length-I){u=this.length-I}for(var i=0;i0){var U=I-D;if(U+u0){var Y=B.slice();Y.unshift(z);Y.push(W);A.splice.apply(A,[L,1].concat(Y));L+=Y.length;B=[]}else{A.splice(L,1,z,W);L+=2}}else{Q.push(A[L].slice(U));A[L]=A[L].slice(0,U);L++}}if(B.length>0){A.splice.apply(A,[L,0].concat(B));L+=B.length}while(Q.lengththis.length)u=this.length;var I=0;for(var B=0;B=u-i?Math.min(U+(u-i)-P,L):L;A[D].copy(Q,P,U,G);P+=G-U}return Q};Buffers.prototype.pos=function(i){if(i<0||i>=this.length)throw new Error("oob");var u=i,A=0,I=null;for(;;){I=this.buffers[A];if(u=this.buffers[A].length){I=0;A++;if(A>=this.buffers.length){return-1}}var L=this.buffers[A][I];if(L==i[B]){if(B==0){Q={i:A,j:I,pos:P}}B++;if(B==i.length){return Q.pos}}else if(B!=0){A=Q.i;I=Q.j;P=Q.pos;B=0}I++;P++}};Buffers.prototype.toBuffer=function(){return this.slice()};Buffers.prototype.toString=function(i,u,A){return this.slice(u,A).toString(i)}},40233:(i,u,A)=>{"use strict";const I=A(4038).MH.Q;const B=A(99704);const Q=A(16928);const P=A(68951);i.exports=contentPath;function contentPath(i,u){const A=P.parse(u,{single:true});return Q.join(contentDir(i),A.algorithm,...B(A.hexDigest()))}i.exports.contentDir=contentDir;function contentDir(i){return Q.join(i,`content-v${I}`)}},39398:(i,u,A)=>{"use strict";const I=A(91943);const B=A(25032);const Q=A(68951);const P=A(40233);const D=A(52899);i.exports=read;const L=64*1024*1024;async function read(i,u,A={}){const{size:B}=A;const{stat:P,cpath:U,sri:G}=await withContentSri(i,u,(async(i,u)=>{const A=B?{size:B}:await I.stat(i);return{stat:A,cpath:i,sri:u}}));if(P.size>L){return readPipeline(U,P.size,G,new D).concat()}const z=await I.readFile(U,{encoding:null});if(P.size!==z.length){throw sizeError(P.size,z.length)}if(!Q.checkData(z,G)){throw integrityError(G,U)}return z}const readPipeline=(i,u,A,I)=>{I.push(new B.ReadStream(i,{size:u,readSize:L}),Q.integrityStream({integrity:A,size:u}));return I};i.exports.stream=readStream;i.exports.readStream=readStream;function readStream(i,u,A={}){const{size:B}=A;const Q=new D;Promise.resolve().then((async()=>{const{stat:A,cpath:P,sri:D}=await withContentSri(i,u,(async(i,u)=>{const A=B?{size:B}:await I.stat(i);return{stat:A,cpath:i,sri:u}}));return readPipeline(P,A.size,D,Q)})).catch((i=>Q.emit("error",i)));return Q}i.exports.copy=copy;function copy(i,u,A){return withContentSri(i,u,(i=>I.copyFile(i,A)))}i.exports.hasContent=hasContent;async function hasContent(i,u){if(!u){return false}try{return await withContentSri(i,u,(async(i,u)=>{const A=await I.stat(i);return{size:A.size,sri:u,stat:A}}))}catch(i){if(i.code==="ENOENT"){return false}if(i.code==="EPERM"){if(process.platform!=="win32"){throw i}else{return false}}}}async function withContentSri(i,u,A){const I=Q.parse(u);const B=I.pickAlgorithm();const D=I[B];if(D.length<=1){const u=P(i,D[0]);return A(u,D[0])}else{const u=await Promise.all(D.map((async u=>{try{return await withContentSri(i,u,A)}catch(i){if(i.code==="ENOENT"){return Object.assign(new Error("No matching content found for "+I.toString()),{code:"ENOENT"})}return i}})));const B=u.find((i=>!(i instanceof Error)));if(B){return B}const Q=u.find((i=>i.code==="ENOENT"));if(Q){throw Q}throw u.find((i=>i instanceof Error))}}function sizeError(i,u){const A=new Error(`Bad data size: expected inserted data to be ${i} bytes, but got ${u} instead`);A.expected=i;A.found=u;A.code="EBADSIZE";return A}function integrityError(i,u){const A=new Error(`Integrity verification failed for ${i} (${u})`);A.code="EINTEGRITY";A.sri=i;A.path=u;return A}},92447:(i,u,A)=>{"use strict";const I=A(91943);const B=A(40233);const{hasContent:Q}=A(39398);i.exports=rm;async function rm(i,u){const A=await Q(i,u);if(A&&A.sri){await I.rm(B(i,A.sri),{recursive:true,force:true});return true}else{return false}}},93699:(i,u,A)=>{"use strict";const I=A(24434);const B=A(40233);const Q=A(91943);const{moveFile:P}=A(88437);const{Minipass:D}=A(78275);const L=A(52899);const U=A(37633);const G=A(16928);const z=A(68951);const{tmpName:W}=A(63990);const Y=A(25032);i.exports=write;const J=new Map;async function write(i,u,A={}){const{algorithms:I,size:B,integrity:P}=A;if(typeof B==="number"&&u.length!==B){throw sizeError(B,u.length)}const D=z.fromData(u,I?{algorithms:I}:{});if(P&&!z.checkData(u,P,A)){throw checksumError(P,D)}for(const I in D){const B=await makeTmp(i,A);const P=D[I].toString();try{await Q.writeFile(B.target,u,{flag:"wx"});await moveToDestination(B,i,P,A)}finally{if(!B.moved){await Q.rm(B.target,{recursive:true,force:true})}}}return{integrity:D,size:u.length}}i.exports.stream=writeStream;class CacacheWriteStream extends U{constructor(i,u){super();this.opts=u;this.cache=i;this.inputStream=new D;this.inputStream.on("error",(i=>this.emit("error",i)));this.inputStream.on("drain",(()=>this.emit("drain")));this.handleContentP=null}write(i,u,A){if(!this.handleContentP){this.handleContentP=handleContent(this.inputStream,this.cache,this.opts);this.handleContentP.catch((i=>this.emit("error",i)))}return this.inputStream.write(i,u,A)}flush(i){this.inputStream.end((()=>{if(!this.handleContentP){const u=new Error("Cache input stream was empty");u.code="ENODATA";return Promise.reject(u).catch(i)}this.handleContentP.then((u=>{u.integrity&&this.emit("integrity",u.integrity);u.size!==null&&this.emit("size",u.size);i()}),(u=>i(u)))}))}}function writeStream(i,u={}){return new CacacheWriteStream(i,u)}async function handleContent(i,u,A){const I=await makeTmp(u,A);try{const B=await pipeToTmp(i,u,I.target,A);await moveToDestination(I,u,B.integrity,A);return B}finally{if(!I.moved){await Q.rm(I.target,{recursive:true,force:true})}}}async function pipeToTmp(i,u,A,B){const Q=new Y.WriteStream(A,{flags:"wx"});if(B.integrityEmitter){const[u,A]=await Promise.all([I.once(B.integrityEmitter,"integrity").then((i=>i[0])),I.once(B.integrityEmitter,"size").then((i=>i[0])),new L(i,Q).promise()]);return{integrity:u,size:A}}let P;let D;const U=z.integrityStream({integrity:B.integrity,algorithms:B.algorithms,size:B.size});U.on("integrity",(i=>{P=i}));U.on("size",(i=>{D=i}));const G=new L(i,U,Q);await G.promise();return{integrity:P,size:D}}async function makeTmp(i,u){const A=W(i,u.tmpPrefix);await Q.mkdir(G.dirname(A),{recursive:true});return{target:A,moved:false}}async function moveToDestination(i,u,A){const I=B(u,A);const D=G.dirname(I);if(J.has(I)){return J.get(I)}J.set(I,Q.mkdir(D,{recursive:true}).then((async()=>{await P(i.target,I,{overwrite:false});i.moved=true;return i.moved})).catch((i=>{if(!i.message.startsWith("The destination file exists")){throw Object.assign(i,{code:"EEXIST"})}})).finally((()=>{J.delete(I)})));return J.get(I)}function sizeError(i,u){const A=new Error(`Bad data size: expected inserted data to be ${i} bytes, but got ${u} instead`);A.expected=i;A.found=u;A.code="EBADSIZE";return A}function checksumError(i,u){const A=new Error(`Integrity check failed:\n Wanted: ${i}\n Found: ${u}`);A.code="EINTEGRITY";A.expected=i;A.found=u;return A}},26575:(i,u,A)=>{"use strict";const I=A(76982);const{appendFile:B,mkdir:Q,readFile:P,readdir:D,rm:L,writeFile:U}=A(91943);const{Minipass:G}=A(78275);const z=A(16928);const W=A(68951);const{tmpName:Y}=A(63990);const J=A(40233);const $=A(99704);const K=A(4038).MH.P;const{moveFile:X}=A(88437);const he=5;i.exports.NotFoundError=class NotFoundError extends Error{constructor(i,u){super(`No cache entry for ${u} found in ${i}`);this.code="ENOENT";this.cache=i;this.key=u}};i.exports.compact=compact;async function compact(i,u,A,I={}){const B=bucketPath(i,u);const P=await bucketEntries(B);const D=[];for(let i=P.length-1;i>=0;--i){const u=P[i];if(u.integrity===null&&!I.validateEntry){break}if((!I.validateEntry||I.validateEntry(u)===true)&&(D.length===0||!D.find((i=>A(i,u))))){D.unshift(u)}}const G="\n"+D.map((i=>{const u=JSON.stringify(i);const A=hashEntry(u);return`${A}\t${u}`})).join("\n");const setup=async()=>{const u=Y(i,I.tmpPrefix);await Q(z.dirname(u),{recursive:true});return{target:u,moved:false}};const teardown=async i=>{if(!i.moved){return L(i.target,{recursive:true,force:true})}};const write=async i=>{await U(i.target,G,{flag:"wx"});await Q(z.dirname(B),{recursive:true});await X(i.target,B);i.moved=true};const W=await setup();try{await write(W)}finally{await teardown(W)}return D.reverse().map((u=>formatEntry(i,u,true)))}i.exports.insert=insert;async function insert(i,u,A,I={}){const{metadata:P,size:D,time:L}=I;const U=bucketPath(i,u);const G={key:u,integrity:A&&W.stringify(A),time:L||Date.now(),size:D,metadata:P};try{await Q(z.dirname(U),{recursive:true});const i=JSON.stringify(G);await B(U,`\n${hashEntry(i)}\t${i}`)}catch(i){if(i.code==="ENOENT"){return undefined}throw i}return formatEntry(i,G)}i.exports.find=find;async function find(i,u){const A=bucketPath(i,u);try{const I=await bucketEntries(A);return I.reduce(((A,I)=>{if(I&&I.key===u){return formatEntry(i,I)}else{return A}}),null)}catch(i){if(i.code==="ENOENT"){return null}else{throw i}}}i.exports["delete"]=del;function del(i,u,A={}){if(!A.removeFully){return insert(i,u,null,A)}const I=bucketPath(i,u);return L(I,{recursive:true,force:true})}i.exports.lsStream=lsStream;function lsStream(i){const u=bucketDir(i);const I=new G({objectMode:true});Promise.resolve().then((async()=>{const{default:B}=await A.e(606).then(A.bind(A,606));const Q=await readdirOrEmpty(u);await B(Q,(async A=>{const Q=z.join(u,A);const P=await readdirOrEmpty(Q);await B(P,(async u=>{const A=z.join(Q,u);const P=await readdirOrEmpty(A);await B(P,(async u=>{const B=z.join(A,u);try{const u=await bucketEntries(B);const A=u.reduce(((i,u)=>{i.set(u.key,u);return i}),new Map);for(const u of A.values()){const A=formatEntry(i,u);if(A){I.write(A)}}}catch(i){if(i.code==="ENOENT"){return undefined}throw i}}),{concurrency:he})}),{concurrency:he})}),{concurrency:he});I.end();return I})).catch((i=>I.emit("error",i)));return I}i.exports.ls=ls;async function ls(i){const u=await lsStream(i).collect();return u.reduce(((i,u)=>{i[u.key]=u;return i}),{})}i.exports.bucketEntries=bucketEntries;async function bucketEntries(i,u){const A=await P(i,"utf8");return _bucketEntries(A,u)}function _bucketEntries(i){const u=[];i.split("\n").forEach((i=>{if(!i){return}const A=i.split("\t");if(!A[1]||hashEntry(A[1])!==A[0]){return}let I;try{I=JSON.parse(A[1])}catch(i){}if(I){u.push(I)}}));return u}i.exports.bucketDir=bucketDir;function bucketDir(i){return z.join(i,`index-v${K}`)}i.exports.bucketPath=bucketPath;function bucketPath(i,u){const A=hashKey(u);return z.join.apply(z,[bucketDir(i)].concat($(A)))}i.exports.hashKey=hashKey;function hashKey(i){return hash(i,"sha256")}i.exports.hashEntry=hashEntry;function hashEntry(i){return hash(i,"sha1")}function hash(i,u){return I.createHash(u).update(i).digest("hex")}function formatEntry(i,u,A){if(!u.integrity&&!A){return null}return{key:u.key,integrity:u.integrity,path:u.integrity?J(i,u.integrity):undefined,size:u.size,time:u.time,metadata:u.metadata}}function readdirOrEmpty(i){return D(i).catch((i=>{if(i.code==="ENOENT"||i.code==="ENOTDIR"){return[]}throw i}))}},19690:(i,u,A)=>{"use strict";const I=A(11757);const{Minipass:B}=A(78275);const Q=A(52899);const P=A(26575);const D=A(56068);const L=A(39398);async function getData(i,u,A={}){const{integrity:I,memoize:B,size:Q}=A;const U=D.get(i,u,A);if(U&&B!==false){return{metadata:U.entry.metadata,data:U.data,integrity:U.entry.integrity,size:U.entry.size}}const G=await P.find(i,u,A);if(!G){throw new P.NotFoundError(i,u)}const z=await L(i,G.integrity,{integrity:I,size:Q});if(B){D.put(i,G,z,A)}return{data:z,metadata:G.metadata,size:G.size,integrity:G.integrity}}i.exports=getData;async function getDataByDigest(i,u,A={}){const{integrity:I,memoize:B,size:Q}=A;const P=D.get.byDigest(i,u,A);if(P&&B!==false){return P}const U=await L(i,u,{integrity:I,size:Q});if(B){D.put.byDigest(i,u,U,A)}return U}i.exports.byDigest=getDataByDigest;const getMemoizedStream=i=>{const u=new B;u.on("newListener",(function(u,A){u==="metadata"&&A(i.entry.metadata);u==="integrity"&&A(i.entry.integrity);u==="size"&&A(i.entry.size)}));u.end(i.data);return u};function getStream(i,u,A={}){const{memoize:B,size:U}=A;const G=D.get(i,u,A);if(G&&B!==false){return getMemoizedStream(G)}const z=new Q;Promise.resolve().then((async()=>{const Q=await P.find(i,u);if(!Q){throw new P.NotFoundError(i,u)}z.emit("metadata",Q.metadata);z.emit("integrity",Q.integrity);z.emit("size",Q.size);z.on("newListener",(function(i,u){i==="metadata"&&u(Q.metadata);i==="integrity"&&u(Q.integrity);i==="size"&&u(Q.size)}));const G=L.readStream(i,Q.integrity,{...A,size:typeof U!=="number"?Q.size:U});if(B){const u=new I.PassThrough;u.on("collect",(u=>D.put(i,Q,u,A)));z.unshift(u)}z.unshift(G);return z})).catch((i=>z.emit("error",i)));return z}i.exports.stream=getStream;function getStreamDigest(i,u,A={}){const{memoize:P}=A;const U=D.get.byDigest(i,u,A);if(U&&P!==false){const i=new B;i.end(U);return i}else{const B=L.readStream(i,u,A);if(!P){return B}const U=new I.PassThrough;U.on("collect",(I=>D.put.byDigest(i,u,I,A)));return new Q(B,U)}}i.exports.stream.byDigest=getStreamDigest;function info(i,u,A={}){const{memoize:I}=A;const B=D.get(i,u,A);if(B&&I!==false){return Promise.resolve(B.entry)}else{return P.find(i,u)}}i.exports.info=info;async function copy(i,u,A,I={}){const B=await P.find(i,u,I);if(!B){throw new P.NotFoundError(i,u)}await L.copy(i,B.integrity,A,I);return{metadata:B.metadata,size:B.size,integrity:B.integrity}}i.exports.copy=copy;async function copyByDigest(i,u,A,I={}){await L.copy(i,u,A,I);return u}i.exports.copy.byDigest=copyByDigest;i.exports.hasContent=L.hasContent},85742:(i,u,A)=>{"use strict";const I=A(19690);const B=A(94283);const Q=A(30793);const P=A(37621);const{clearMemoized:D}=A(56068);const L=A(63990);const U=A(26575);i.exports.index={};i.exports.index.compact=U.compact;i.exports.index.insert=U.insert;i.exports.ls=U.ls;i.exports.ls.stream=U.lsStream;i.exports.get=I;i.exports.get.byDigest=I.byDigest;i.exports.get.stream=I.stream;i.exports.get.stream.byDigest=I.stream.byDigest;i.exports.get.copy=I.copy;i.exports.get.copy.byDigest=I.copy.byDigest;i.exports.get.info=I.info;i.exports.get.hasContent=I.hasContent;i.exports.put=B;i.exports.put.stream=B.stream;i.exports.rm=Q.entry;i.exports.rm.all=Q.all;i.exports.rm.entry=i.exports.rm;i.exports.rm.content=Q.content;i.exports.clearMemoized=D;i.exports.tmp={};i.exports.tmp.mkdir=L.mkdir;i.exports.tmp.withTmp=L.withTmp;i.exports.verify=P;i.exports.verify.lastRun=P.lastRun},56068:(i,u,A)=>{"use strict";const{LRUCache:I}=A(8416);const B=new I({max:500,maxSize:50*1024*1024,ttl:3*60*1e3,sizeCalculation:(i,u)=>u.startsWith("key:")?i.data.length:i.length});i.exports.clearMemoized=clearMemoized;function clearMemoized(){const i={};B.forEach(((u,A)=>{i[A]=u}));B.clear();return i}i.exports.put=put;function put(i,u,A,I){pickMem(I).set(`key:${i}:${u.key}`,{entry:u,data:A});putDigest(i,u.integrity,A,I)}i.exports.put.byDigest=putDigest;function putDigest(i,u,A,I){pickMem(I).set(`digest:${i}:${u}`,A)}i.exports.get=get;function get(i,u,A){return pickMem(A).get(`key:${i}:${u}`)}i.exports.get.byDigest=getDigest;function getDigest(i,u,A){return pickMem(A).get(`digest:${i}:${u}`)}class ObjProxy{constructor(i){this.obj=i}get(i){return this.obj[i]}set(i,u){this.obj[i]=u}}function pickMem(i){if(!i||!i.memoize){return B}else if(i.memoize.get&&i.memoize.set){return i.memoize}else if(typeof i.memoize==="object"){return new ObjProxy(i.memoize)}else{return B}}},94283:(i,u,A)=>{"use strict";const I=A(26575);const B=A(56068);const Q=A(93699);const P=A(37633);const{PassThrough:D}=A(11757);const L=A(52899);const putOpts=i=>({algorithms:["sha512"],...i});i.exports=putData;async function putData(i,u,A,P={}){const{memoize:D}=P;P=putOpts(P);const L=await Q(i,A,P);const U=await I.insert(i,u,L.integrity,{...P,size:L.size});if(D){B.put(i,U,A,P)}return L.integrity}i.exports.stream=putStream;function putStream(i,u,A={}){const{memoize:U}=A;A=putOpts(A);let G;let z;let W;let Y;const J=new L;if(U){const i=(new D).on("collect",(i=>{Y=i}));J.push(i)}const $=Q.stream(i,A).on("integrity",(i=>{G=i})).on("size",(i=>{z=i})).on("error",(i=>{W=i}));J.push($);J.push(new P({async flush(){if(!W){const Q=await I.insert(i,u,G,{...A,size:z});if(U&&Y){B.put(i,Q,Y,A)}J.emit("integrity",G);J.emit("size",z)}}}));return J}},30793:(i,u,A)=>{"use strict";const{rm:I}=A(91943);const B=A(6337);const Q=A(26575);const P=A(56068);const D=A(16928);const L=A(92447);i.exports=entry;i.exports.entry=entry;function entry(i,u,A){P.clearMemoized();return Q.delete(i,u,A)}i.exports.content=content;function content(i,u){P.clearMemoized();return L(i,u)}i.exports.all=all;async function all(i){P.clearMemoized();const u=await B(D.join(i,"*(content-*|index-*)"),{silent:true,nosort:true});return Promise.all(u.map((i=>I(i,{recursive:true,force:true}))))}},6337:(i,u,A)=>{"use strict";const{glob:I}=A(34865);const B=A(16928);const globify=i=>i.split(B.win32.sep).join(B.posix.sep);i.exports=(i,u)=>I(globify(i),u)},99704:i=>{"use strict";i.exports=hashToSegments;function hashToSegments(i){return[i.slice(0,2),i.slice(2,4),i.slice(4)]}},63990:(i,u,A)=>{"use strict";const I=A(76982);const{withTempDir:B}=A(88437);const Q=A(91943);const P=A(16928);i.exports.mkdir=mktmpdir;i.exports.tmpName=function tmpName(i,u){const A=I.randomUUID();return P.join(i,"tmp",u?`${u}-${A}`:A)};async function mktmpdir(i,u={}){const{tmpPrefix:A}=u;const I=P.join(i,"tmp");await Q.mkdir(I,{recursive:true,owner:"inherit"});const B=`${I}${P.sep}${A||""}`;return Q.mkdtemp(B,{owner:"inherit"})}i.exports.withTmp=withTmp;function withTmp(i,u,A){if(!A){A=u;u={}}return B(P.join(i,"tmp"),A,u)}},37621:(i,u,A)=>{"use strict";const{mkdir:I,readFile:B,rm:Q,stat:P,truncate:D,writeFile:L}=A(91943);const U=A(40233);const G=A(25032);const z=A(6337);const W=A(26575);const Y=A(16928);const J=A(68951);const hasOwnProperty=(i,u)=>Object.prototype.hasOwnProperty.call(i,u);const verifyOpts=i=>({concurrency:20,log:{silly(){}},...i});i.exports=verify;async function verify(i,u){u=verifyOpts(u);u.log.silly("verify","verifying cache at",i);const A=[markStartTime,fixPerms,garbageCollect,rebuildIndex,cleanTmp,writeVerifile,markEndTime];const I={};for(const B of A){const A=B.name;const Q=new Date;const P=await B(i,u);if(P){Object.keys(P).forEach((i=>{I[i]=P[i]}))}const D=new Date;if(!I.runTime){I.runTime={}}I.runTime[A]=D-Q}I.runTime.total=I.endTime-I.startTime;u.log.silly("verify","verification finished for",i,"in",`${I.runTime.total}ms`);return I}async function markStartTime(){return{startTime:new Date}}async function markEndTime(){return{endTime:new Date}}async function fixPerms(i,u){u.log.silly("verify","fixing cache permissions");await I(i,{recursive:true});return null}async function garbageCollect(i,u){u.log.silly("verify","garbage collecting content");const{default:I}=await A.e(606).then(A.bind(A,606));const B=W.lsStream(i);const D=new Set;B.on("data",(i=>{if(u.filter&&!u.filter(i)){return}const A=J.parse(i.integrity);for(const i in A){D.add(A[i].toString())}}));await new Promise(((i,u)=>{B.on("end",i).on("error",u)}));const L=U.contentDir(i);const G=await z(Y.join(L,"**"),{follow:false,nodir:true,nosort:true});const $={verifiedContent:0,reclaimedCount:0,reclaimedSize:0,badContentCount:0,keptSize:0};await I(G,(async i=>{const u=i.split(/[/\\]/);const A=u.slice(u.length-3).join("");const I=u[u.length-4];const B=J.fromHex(A,I);if(D.has(B.toString())){const u=await verifyContent(i,B);if(!u.valid){$.reclaimedCount++;$.badContentCount++;$.reclaimedSize+=u.size}else{$.verifiedContent++;$.keptSize+=u.size}}else{$.reclaimedCount++;const u=await P(i);await Q(i,{recursive:true,force:true});$.reclaimedSize+=u.size}return $}),{concurrency:u.concurrency});return $}async function verifyContent(i,u){const A={};try{const{size:I}=await P(i);A.size=I;A.valid=true;await J.checkStream(new G.ReadStream(i),u)}catch(u){if(u.code==="ENOENT"){return{size:0,valid:false}}if(u.code!=="EINTEGRITY"){throw u}await Q(i,{recursive:true,force:true});A.valid=false}return A}async function rebuildIndex(i,u){u.log.silly("verify","rebuilding index");const{default:I}=await A.e(606).then(A.bind(A,606));const B=await W.ls(i);const Q={missingContent:0,rejectedEntries:0,totalEntries:0};const P={};for(const A in B){if(hasOwnProperty(B,A)){const I=W.hashKey(A);const D=B[A];const L=u.filter&&!u.filter(D);L&&Q.rejectedEntries++;if(P[I]&&!L){P[I].push(D)}else if(P[I]&&L){}else if(L){P[I]=[];P[I]._path=W.bucketPath(i,A)}else{P[I]=[D];P[I]._path=W.bucketPath(i,A)}}}await I(Object.keys(P),(A=>rebuildBucket(i,P[A],Q,u)),{concurrency:u.concurrency});return Q}async function rebuildBucket(i,u,A){await D(u._path);for(const I of u){const u=U(i,I.integrity);try{await P(u);await W.insert(i,I.key,I.integrity,{metadata:I.metadata,size:I.size,time:I.time});A.totalEntries++}catch(i){if(i.code==="ENOENT"){A.rejectedEntries++;A.missingContent++}else{throw i}}}}function cleanTmp(i,u){u.log.silly("verify","cleaning tmp directory");return Q(Y.join(i,"tmp"),{recursive:true,force:true})}async function writeVerifile(i,u){const A=Y.join(i,"_lastverified");u.log.silly("verify","writing verifile to "+A);return L(A,`${Date.now()}`)}i.exports.lastRun=lastRun;async function lastRun(i){const u=await B(Y.join(i,"_lastverified"),{encoding:"utf8"});return new Date(+u)}},71710:(i,u,A)=>{var I=A(62958);var B=A(24434).EventEmitter;i.exports=Chainsaw;function Chainsaw(i){var u=Chainsaw.saw(i,{});var A=i.call(u.handlers,u);if(A!==undefined)u.handlers=A;u.record();return u.chain()}Chainsaw.light=function ChainsawLight(i){var u=Chainsaw.saw(i,{});var A=i.call(u.handlers,u);if(A!==undefined)u.handlers=A;return u.chain()};Chainsaw.saw=function(i,u){var A=new B;A.handlers=u;A.actions=[];A.chain=function(){var i=I(A.handlers).map((function(u){if(this.isRoot)return u;var I=this.path;if(typeof u==="function"){this.update((function(){A.actions.push({path:I,args:[].slice.call(arguments)});return i}))}}));process.nextTick((function(){A.emit("begin");A.next()}));return i};A.pop=function(){return A.actions.shift()};A.next=function(){var i=A.pop();if(!i){A.emit("end")}else if(!i.trap){var u=A.handlers;i.path.forEach((function(i){u=u[i]}));u.apply(A.handlers,i.args)}};A.nest=function(u){var I=[].slice.call(arguments,1);var B=true;if(typeof u==="boolean"){var B=u;u=I.shift()}var Q=Chainsaw.saw(i,{});var P=i.call(Q.handlers,Q);if(P!==undefined)Q.handlers=P;if("undefined"!==typeof A.step){Q.record()}u.apply(Q.chain(),I);if(B!==false)Q.on("end",A.next)};A.record=function(){upgradeChainsaw(A)};["trap","down","jump"].forEach((function(i){A[i]=function(){throw new Error("To use the trap, down and jump features, please "+"call record() first to start recording actions.")}}));return A};function upgradeChainsaw(i){i.step=0;i.pop=function(){return i.actions[i.step++]};i.trap=function(u,A){var I=Array.isArray(u)?u:[u];i.actions.push({path:I,step:i.step,cb:A,trap:true})};i.down=function(u){var A=(Array.isArray(u)?u:[u]).join("/");var I=i.actions.slice(i.step).map((function(u){if(u.trap&&u.step<=i.step)return false;return u.path.join("/")==A})).indexOf(true);if(I>=0)i.step+=I;else i.step=i.actions.length;var B=i.actions[i.step-1];if(B&&B.trap){i.step=B.step;B.cb()}else i.next()};i.jump=function(u){i.step=u;i.next()}}},96070:i=>{var u=i.exports=function(){};u.prototype.getName=function(){};u.prototype.getSize=function(){};u.prototype.getLastModifiedDate=function(){};u.prototype.isDirectory=function(){}},36306:(i,u,A)=>{var I=A(39023).inherits;var B=A(96543);var Q=A(29963).Transform;var P=A(96070);var D=A(18300);var L=i.exports=function(i){if(!(this instanceof L)){return new L(i)}Q.call(this,i);this.offset=0;this._archive={finish:false,finished:false,processing:false}};I(L,Q);L.prototype._appendBuffer=function(i,u,A){};L.prototype._appendStream=function(i,u,A){};L.prototype._emitErrorCallback=function(i){if(i){this.emit("error",i)}};L.prototype._finish=function(i){};L.prototype._normalizeEntry=function(i){};L.prototype._transform=function(i,u,A){A(null,i)};L.prototype.entry=function(i,u,A){u=u||null;if(typeof A!=="function"){A=this._emitErrorCallback.bind(this)}if(!(i instanceof P)){A(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){A(new Error("unacceptable entry after finish"));return}if(this._archive.processing){A(new Error("already processing an entry"));return}this._archive.processing=true;this._normalizeEntry(i);this._entry=i;u=D.normalizeInputSource(u);if(Buffer.isBuffer(u)){this._appendBuffer(i,u,A)}else if(B(u)){this._appendStream(i,u,A)}else{this._archive.processing=false;A(new Error("input source must be valid Stream or Buffer instance"));return}return this};L.prototype.finish=function(){if(this._archive.processing){this._archive.finish=true;return}this._finish()};L.prototype.getBytesWritten=function(){return this.offset};L.prototype.write=function(i,u){if(i){this.offset+=i.length}return Q.prototype.write.call(this,i,u)}},94908:i=>{i.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}},97632:(i,u,A)=>{var I=A(6453);var B=1<<3;var Q=1<<0;var P=1<<2;var D=1<<1;var L=1<<6;var U=1<<11;var G=i.exports=function(){if(!(this instanceof G)){return new G}this.descriptor=false;this.encryption=false;this.utf8=false;this.numberOfShannonFanoTrees=0;this.strongEncryption=false;this.slidingDictionarySize=0;return this};G.prototype.encode=function(){return I.getShortBytes((this.descriptor?B:0)|(this.utf8?U:0)|(this.encryption?Q:0)|(this.strongEncryption?L:0))};G.prototype.parse=function(i,u){var A=I.getShortBytesValue(i,u);var z=new G;z.useDataDescriptor((A&B)!==0);z.useUTF8ForNames((A&U)!==0);z.useStrongEncryption((A&L)!==0);z.useEncryption((A&Q)!==0);z.setSlidingDictionarySize((A&D)!==0?8192:4096);z.setNumberOfShannonFanoTrees((A&P)!==0?3:2);return z};G.prototype.setNumberOfShannonFanoTrees=function(i){this.numberOfShannonFanoTrees=i};G.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};G.prototype.setSlidingDictionarySize=function(i){this.slidingDictionarySize=i};G.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};G.prototype.useDataDescriptor=function(i){this.descriptor=i};G.prototype.usesDataDescriptor=function(){return this.descriptor};G.prototype.useEncryption=function(i){this.encryption=i};G.prototype.usesEncryption=function(){return this.encryption};G.prototype.useStrongEncryption=function(i){this.strongEncryption=i};G.prototype.usesStrongEncryption=function(){return this.strongEncryption};G.prototype.useUTF8ForNames=function(i){this.utf8=i};G.prototype.usesUTF8ForNames=function(){return this.utf8}},23810:i=>{i.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}},6453:i=>{var u=i.exports={};u.dateToDos=function(i,u){u=u||false;var A=u?i.getFullYear():i.getUTCFullYear();if(A<1980){return 2162688}else if(A>=2044){return 2141175677}var I={year:A,month:u?i.getMonth():i.getUTCMonth(),date:u?i.getDate():i.getUTCDate(),hours:u?i.getHours():i.getUTCHours(),minutes:u?i.getMinutes():i.getUTCMinutes(),seconds:u?i.getSeconds():i.getUTCSeconds()};return I.year-1980<<25|I.month+1<<21|I.date<<16|I.hours<<11|I.minutes<<5|I.seconds/2};u.dosToDate=function(i){return new Date((i>>25&127)+1980,(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(i&31)<<1)};u.fromDosTime=function(i){return u.dosToDate(i.readUInt32LE(0))};u.getEightBytes=function(i){var u=Buffer.alloc(8);u.writeUInt32LE(i%4294967296,0);u.writeUInt32LE(i/4294967296|0,4);return u};u.getShortBytes=function(i){var u=Buffer.alloc(2);u.writeUInt16LE((i&65535)>>>0,0);return u};u.getShortBytesValue=function(i,u){return i.readUInt16LE(u)};u.getLongBytes=function(i){var u=Buffer.alloc(4);u.writeUInt32LE((i&4294967295)>>>0,0);return u};u.getLongBytesValue=function(i,u){return i.readUInt32LE(u)};u.toDosTime=function(i){return u.getLongBytes(u.dateToDos(i))}},73380:(i,u,A)=>{var I=A(39023).inherits;var B=A(56133);var Q=A(96070);var P=A(97632);var D=A(23810);var L=A(94908);var U=A(6453);var G=i.exports=function(i){if(!(this instanceof G)){return new G(i)}Q.call(this);this.platform=L.PLATFORM_FAT;this.method=-1;this.name=null;this.size=0;this.csize=0;this.gpb=new P;this.crc=0;this.time=-1;this.minver=L.MIN_VERSION_INITIAL;this.mode=-1;this.extra=null;this.exattr=0;this.inattr=0;this.comment=null;if(i){this.setName(i)}};I(G,Q);G.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};G.prototype.getComment=function(){return this.comment!==null?this.comment:""};G.prototype.getCompressedSize=function(){return this.csize};G.prototype.getCrc=function(){return this.crc};G.prototype.getExternalAttributes=function(){return this.exattr};G.prototype.getExtra=function(){return this.extra!==null?this.extra:L.EMPTY};G.prototype.getGeneralPurposeBit=function(){return this.gpb};G.prototype.getInternalAttributes=function(){return this.inattr};G.prototype.getLastModifiedDate=function(){return this.getTime()};G.prototype.getLocalFileDataExtra=function(){return this.getExtra()};G.prototype.getMethod=function(){return this.method};G.prototype.getName=function(){return this.name};G.prototype.getPlatform=function(){return this.platform};G.prototype.getSize=function(){return this.size};G.prototype.getTime=function(){return this.time!==-1?U.dosToDate(this.time):-1};G.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};G.prototype.getUnixMode=function(){return this.platform!==L.PLATFORM_UNIX?0:this.getExternalAttributes()>>L.SHORT_SHIFT&L.SHORT_MASK};G.prototype.getVersionNeededToExtract=function(){return this.minver};G.prototype.setComment=function(i){if(Buffer.byteLength(i)!==i.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.comment=i};G.prototype.setCompressedSize=function(i){if(i<0){throw new Error("invalid entry compressed size")}this.csize=i};G.prototype.setCrc=function(i){if(i<0){throw new Error("invalid entry crc32")}this.crc=i};G.prototype.setExternalAttributes=function(i){this.exattr=i>>>0};G.prototype.setExtra=function(i){this.extra=i};G.prototype.setGeneralPurposeBit=function(i){if(!(i instanceof P)){throw new Error("invalid entry GeneralPurposeBit")}this.gpb=i};G.prototype.setInternalAttributes=function(i){this.inattr=i};G.prototype.setMethod=function(i){if(i<0){throw new Error("invalid entry compression method")}this.method=i};G.prototype.setName=function(i,u=false){i=B(i,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"");if(u){i=`/${i}`}if(Buffer.byteLength(i)!==i.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.name=i};G.prototype.setPlatform=function(i){this.platform=i};G.prototype.setSize=function(i){if(i<0){throw new Error("invalid entry size")}this.size=i};G.prototype.setTime=function(i,u){if(!(i instanceof Date)){throw new Error("invalid entry time")}this.time=U.dateToDos(i,u)};G.prototype.setUnixMode=function(i){i|=this.isDirectory()?L.S_IFDIR:L.S_IFREG;var u=0;u|=i<L.ZIP64_MAGIC||this.size>L.ZIP64_MAGIC}},82132:(i,u,A)=>{var I=A(39023).inherits;var B=A(84891);var{CRC32Stream:Q}=A(82770);var{DeflateCRC32Stream:P}=A(82770);var D=A(36306);var L=A(73380);var U=A(97632);var G=A(94908);var z=A(18300);var W=A(6453);var Y=i.exports=function(i){if(!(this instanceof Y)){return new Y(i)}i=this.options=this._defaults(i);D.call(this,i);this._entry=null;this._entries=[];this._archive={centralLength:0,centralOffset:0,comment:"",finish:false,finished:false,processing:false,forceZip64:i.forceZip64,forceLocalTime:i.forceLocalTime}};I(Y,D);Y.prototype._afterAppend=function(i){this._entries.push(i);if(i.getGeneralPurposeBit().usesDataDescriptor()){this._writeDataDescriptor(i)}this._archive.processing=false;this._entry=null;if(this._archive.finish&&!this._archive.finished){this._finish()}};Y.prototype._appendBuffer=function(i,u,A){if(u.length===0){i.setMethod(G.METHOD_STORED)}var I=i.getMethod();if(I===G.METHOD_STORED){i.setSize(u.length);i.setCompressedSize(u.length);i.setCrc(B.buf(u)>>>0)}this._writeLocalFileHeader(i);if(I===G.METHOD_STORED){this.write(u);this._afterAppend(i);A(null,i);return}else if(I===G.METHOD_DEFLATED){this._smartStream(i,A).end(u);return}else{A(new Error("compression method "+I+" not implemented"));return}};Y.prototype._appendStream=function(i,u,A){i.getGeneralPurposeBit().useDataDescriptor(true);i.setVersionNeededToExtract(G.MIN_VERSION_DATA_DESCRIPTOR);this._writeLocalFileHeader(i);var I=this._smartStream(i,A);u.once("error",(function(i){I.emit("error",i);I.end()}));u.pipe(I)};Y.prototype._defaults=function(i){if(typeof i!=="object"){i={}}if(typeof i.zlib!=="object"){i.zlib={}}if(typeof i.zlib.level!=="number"){i.zlib.level=G.ZLIB_BEST_SPEED}i.forceZip64=!!i.forceZip64;i.forceLocalTime=!!i.forceLocalTime;return i};Y.prototype._finish=function(){this._archive.centralOffset=this.offset;this._entries.forEach(function(i){this._writeCentralFileHeader(i)}.bind(this));this._archive.centralLength=this.offset-this._archive.centralOffset;if(this.isZip64()){this._writeCentralDirectoryZip64()}this._writeCentralDirectoryEnd();this._archive.processing=false;this._archive.finish=true;this._archive.finished=true;this.end()};Y.prototype._normalizeEntry=function(i){if(i.getMethod()===-1){i.setMethod(G.METHOD_DEFLATED)}if(i.getMethod()===G.METHOD_DEFLATED){i.getGeneralPurposeBit().useDataDescriptor(true);i.setVersionNeededToExtract(G.MIN_VERSION_DATA_DESCRIPTOR)}if(i.getTime()===-1){i.setTime(new Date,this._archive.forceLocalTime)}i._offsets={file:0,data:0,contents:0}};Y.prototype._smartStream=function(i,u){var A=i.getMethod()===G.METHOD_DEFLATED;var I=A?new P(this.options.zlib):new Q;var B=null;function handleStuff(){var A=I.digest().readUInt32BE(0);i.setCrc(A);i.setSize(I.size());i.setCompressedSize(I.size(true));this._afterAppend(i);u(B,i)}I.once("end",handleStuff.bind(this));I.once("error",(function(i){B=i}));I.pipe(this,{end:false});return I};Y.prototype._writeCentralDirectoryEnd=function(){var i=this._entries.length;var u=this._archive.centralLength;var A=this._archive.centralOffset;if(this.isZip64()){i=G.ZIP64_MAGIC_SHORT;u=G.ZIP64_MAGIC;A=G.ZIP64_MAGIC}this.write(W.getLongBytes(G.SIG_EOCD));this.write(G.SHORT_ZERO);this.write(G.SHORT_ZERO);this.write(W.getShortBytes(i));this.write(W.getShortBytes(i));this.write(W.getLongBytes(u));this.write(W.getLongBytes(A));var I=this.getComment();var B=Buffer.byteLength(I);this.write(W.getShortBytes(B));this.write(I)};Y.prototype._writeCentralDirectoryZip64=function(){this.write(W.getLongBytes(G.SIG_ZIP64_EOCD));this.write(W.getEightBytes(44));this.write(W.getShortBytes(G.MIN_VERSION_ZIP64));this.write(W.getShortBytes(G.MIN_VERSION_ZIP64));this.write(G.LONG_ZERO);this.write(G.LONG_ZERO);this.write(W.getEightBytes(this._entries.length));this.write(W.getEightBytes(this._entries.length));this.write(W.getEightBytes(this._archive.centralLength));this.write(W.getEightBytes(this._archive.centralOffset));this.write(W.getLongBytes(G.SIG_ZIP64_EOCD_LOC));this.write(G.LONG_ZERO);this.write(W.getEightBytes(this._archive.centralOffset+this._archive.centralLength));this.write(W.getLongBytes(1))};Y.prototype._writeCentralFileHeader=function(i){var u=i.getGeneralPurposeBit();var A=i.getMethod();var I=i._offsets.file;var B=i.getSize();var Q=i.getCompressedSize();if(i.isZip64()||I>G.ZIP64_MAGIC){B=G.ZIP64_MAGIC;Q=G.ZIP64_MAGIC;I=G.ZIP64_MAGIC;i.setVersionNeededToExtract(G.MIN_VERSION_ZIP64);var P=Buffer.concat([W.getShortBytes(G.ZIP64_EXTRA_ID),W.getShortBytes(24),W.getEightBytes(i.getSize()),W.getEightBytes(i.getCompressedSize()),W.getEightBytes(i._offsets.file)],28);i.setExtra(P)}this.write(W.getLongBytes(G.SIG_CFH));this.write(W.getShortBytes(i.getPlatform()<<8|G.VERSION_MADEBY));this.write(W.getShortBytes(i.getVersionNeededToExtract()));this.write(u.encode());this.write(W.getShortBytes(A));this.write(W.getLongBytes(i.getTimeDos()));this.write(W.getLongBytes(i.getCrc()));this.write(W.getLongBytes(Q));this.write(W.getLongBytes(B));var D=i.getName();var L=i.getComment();var U=i.getCentralDirectoryExtra();if(u.usesUTF8ForNames()){D=Buffer.from(D);L=Buffer.from(L)}this.write(W.getShortBytes(D.length));this.write(W.getShortBytes(U.length));this.write(W.getShortBytes(L.length));this.write(G.SHORT_ZERO);this.write(W.getShortBytes(i.getInternalAttributes()));this.write(W.getLongBytes(i.getExternalAttributes()));this.write(W.getLongBytes(I));this.write(D);this.write(U);this.write(L)};Y.prototype._writeDataDescriptor=function(i){this.write(W.getLongBytes(G.SIG_DD));this.write(W.getLongBytes(i.getCrc()));if(i.isZip64()){this.write(W.getEightBytes(i.getCompressedSize()));this.write(W.getEightBytes(i.getSize()))}else{this.write(W.getLongBytes(i.getCompressedSize()));this.write(W.getLongBytes(i.getSize()))}};Y.prototype._writeLocalFileHeader=function(i){var u=i.getGeneralPurposeBit();var A=i.getMethod();var I=i.getName();var B=i.getLocalFileDataExtra();if(i.isZip64()){u.useDataDescriptor(true);i.setVersionNeededToExtract(G.MIN_VERSION_ZIP64)}if(u.usesUTF8ForNames()){I=Buffer.from(I)}i._offsets.file=this.offset;this.write(W.getLongBytes(G.SIG_LFH));this.write(W.getShortBytes(i.getVersionNeededToExtract()));this.write(u.encode());this.write(W.getShortBytes(A));this.write(W.getLongBytes(i.getTimeDos()));i._offsets.data=this.offset;if(u.usesDataDescriptor()){this.write(G.LONG_ZERO);this.write(G.LONG_ZERO);this.write(G.LONG_ZERO)}else{this.write(W.getLongBytes(i.getCrc()));this.write(W.getLongBytes(i.getCompressedSize()));this.write(W.getLongBytes(i.getSize()))}this.write(W.getShortBytes(I.length));this.write(W.getShortBytes(B.length));this.write(I);this.write(B);i._offsets.contents=this.offset};Y.prototype.getComment=function(i){return this._archive.comment!==null?this._archive.comment:""};Y.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>G.ZIP64_MAGIC_SHORT||this._archive.centralLength>G.ZIP64_MAGIC||this._archive.centralOffset>G.ZIP64_MAGIC};Y.prototype.setComment=function(i){this._archive.comment=i}},47544:(i,u,A)=>{i.exports={ArchiveEntry:A(96070),ZipArchiveEntry:A(73380),ArchiveOutputStream:A(36306),ZipArchiveOutputStream:A(82132)}},18300:(i,u,A)=>{var I=A(2203).Stream;var B=A(29963).PassThrough;var Q=A(96543);var P=i.exports={};P.normalizeInputSource=function(i){if(i===null){return Buffer.alloc(0)}else if(typeof i==="string"){return Buffer.from(i)}else if(Q(i)&&!i._readableState){var u=new B;i.pipe(u);return u}return i}},45481:(i,u,A)=>{function isArray(i){if(Array.isArray){return Array.isArray(i)}return objectToString(i)==="[object Array]"}u.isArray=isArray;function isBoolean(i){return typeof i==="boolean"}u.isBoolean=isBoolean;function isNull(i){return i===null}u.isNull=isNull;function isNullOrUndefined(i){return i==null}u.isNullOrUndefined=isNullOrUndefined;function isNumber(i){return typeof i==="number"}u.isNumber=isNumber;function isString(i){return typeof i==="string"}u.isString=isString;function isSymbol(i){return typeof i==="symbol"}u.isSymbol=isSymbol;function isUndefined(i){return i===void 0}u.isUndefined=isUndefined;function isRegExp(i){return objectToString(i)==="[object RegExp]"}u.isRegExp=isRegExp;function isObject(i){return typeof i==="object"&&i!==null}u.isObject=isObject;function isDate(i){return objectToString(i)==="[object Date]"}u.isDate=isDate;function isError(i){return objectToString(i)==="[object Error]"||i instanceof Error}u.isError=isError;function isFunction(i){return typeof i==="function"}u.isFunction=isFunction;function isPrimitive(i){return i===null||typeof i==="boolean"||typeof i==="number"||typeof i==="string"||typeof i==="symbol"||typeof i==="undefined"}u.isPrimitive=isPrimitive;u.isBuffer=A(20181).Buffer.isBuffer;function objectToString(i){return Object.prototype.toString.call(i)}},84891:(i,u)=>{ /*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */ var A;(function(i){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){i(u)}else{}}else{i(A={})}})((function(i){i.version="1.2.2";function signed_crc_table(){var i=0,u=new Array(256);for(var A=0;A!=256;++A){i=A;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;u[A]=i}return typeof Int32Array!=="undefined"?new Int32Array(u):u}var u=signed_crc_table();function slice_by_16_tables(i){var u=0,A=0,I=0,B=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(I=0;I!=256;++I)B[I]=i[I];for(I=0;I!=256;++I){A=i[I];for(u=256+I;u<4096;u+=256)A=B[u]=A>>>8^i[A&255]}var Q=[];for(I=1;I!=16;++I)Q[I-1]=typeof Int32Array!=="undefined"?B.subarray(I*256,I*256+256):B.slice(I*256,I*256+256);return Q}var A=slice_by_16_tables(u);var I=A[0],B=A[1],Q=A[2],P=A[3],D=A[4];var L=A[5],U=A[6],G=A[7],z=A[8],W=A[9];var Y=A[10],J=A[11],$=A[12],K=A[13],X=A[14];function crc32_bstr(i,A){var I=A^-1;for(var B=0,Q=i.length;B>>8^u[(I^i.charCodeAt(B++))&255];return~I}function crc32_buf(i,A){var he=A^-1,Ae=i.length-15,ye=0;for(;ye>8&255]^$[i[ye++]^he>>16&255]^J[i[ye++]^he>>>24]^Y[i[ye++]]^W[i[ye++]]^z[i[ye++]]^G[i[ye++]]^U[i[ye++]]^L[i[ye++]]^D[i[ye++]]^P[i[ye++]]^Q[i[ye++]]^B[i[ye++]]^I[i[ye++]]^u[i[ye++]];Ae+=15;while(ye>>8^u[(he^i[ye++])&255];return~he}function crc32_str(i,A){var I=A^-1;for(var B=0,Q=i.length,P=0,D=0;B>>8^u[(I^P)&255]}else if(P<2048){I=I>>>8^u[(I^(192|P>>6&31))&255];I=I>>>8^u[(I^(128|P&63))&255]}else if(P>=55296&&P<57344){P=(P&1023)+64;D=i.charCodeAt(B++)&1023;I=I>>>8^u[(I^(240|P>>8&7))&255];I=I>>>8^u[(I^(128|P>>2&63))&255];I=I>>>8^u[(I^(128|D>>6&15|(P&3)<<4))&255];I=I>>>8^u[(I^(128|D&63))&255]}else{I=I>>>8^u[(I^(224|P>>12&15))&255];I=I>>>8^u[(I^(128|P>>6&63))&255];I=I>>>8^u[(I^(128|P&63))&255]}}return~I}i.table=u;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},3662:(i,u,A)=>{"use strict";const{Transform:I}=A(29963);const B=A(84891);class CRC32Stream extends I{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,u,A){if(i){this.checksum=B.buf(i,this.checksum)>>>0;this.rawSize+=i.length}A(null,i)}digest(i){const u=Buffer.allocUnsafe(4);u.writeUInt32BE(this.checksum>>>0,0);return i?u.toString(i):u}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}i.exports=CRC32Stream},76252:(i,u,A)=>{"use strict";const{DeflateRaw:I}=A(43106);const B=A(84891);class DeflateCRC32Stream extends I{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,u){if(i){this.compressedSize+=i.length}return super.push(i,u)}_transform(i,u,A){if(i){this.checksum=B.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,u,A)}digest(i){const u=Buffer.allocUnsafe(4);u.writeUInt32BE(this.checksum>>>0,0);return i?u.toString(i):u}hex(){return this.digest("hex").toUpperCase()}size(i=false){if(i){return this.compressedSize}else{return this.rawSize}}}i.exports=DeflateCRC32Stream},82770:(i,u,A)=>{"use strict";i.exports={CRC32Stream:A(3662),DeflateCRC32Stream:A(76252)}},6110:(i,u,A)=>{u.formatArgs=formatArgs;u.save=save;u.load=load;u.useColors=useColors;u.storage=localstorage();u.destroy=(()=>{let i=false;return()=>{if(!i){i=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`.")}}})();u.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 i;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&&(i=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(i[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(u){u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+i.exports.humanize(this.diff);if(!this.useColors){return}const A="color: "+this.color;u.splice(1,0,A,"color: inherit");let I=0;let B=0;u[0].replace(/%[a-zA-Z%]/g,(i=>{if(i==="%%"){return}I++;if(i==="%c"){B=I}}));u.splice(B,0,A)}u.log=console.debug||console.log||(()=>{});function save(i){try{if(i){u.storage.setItem("debug",i)}else{u.storage.removeItem("debug")}}catch(i){}}function load(){let i;try{i=u.storage.getItem("debug")||u.storage.getItem("DEBUG")}catch(i){}if(!i&&typeof process!=="undefined"&&"env"in process){i=process.env.DEBUG}return i}function localstorage(){try{return localStorage}catch(i){}}i.exports=A(40897)(u);const{formatters:I}=i.exports;I.j=function(i){try{return JSON.stringify(i)}catch(i){return"[UnexpectedJSONParseError]: "+i.message}}},40897:(i,u,A)=>{function setup(i){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=A(70744);createDebug.destroy=destroy;Object.keys(i).forEach((u=>{createDebug[u]=i[u]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(i){let u=0;for(let A=0;A{if(u==="%%"){return"%"}Q++;const B=createDebug.formatters[I];if(typeof B==="function"){const I=i[Q];u=B.call(A,I);i.splice(Q,1);Q--}return u}));createDebug.formatArgs.call(A,i);const P=A.log||createDebug.log;P.apply(A,i)}debug.namespace=i;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(i);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(A!==null){return A}if(I!==createDebug.namespaces){I=createDebug.namespaces;B=createDebug.enabled(i)}return B},set:i=>{A=i}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(i,u){const A=createDebug(this.namespace+(typeof u==="undefined"?":":u)+i);A.log=this.log;return A}function enable(i){createDebug.save(i);createDebug.namespaces=i;createDebug.names=[];createDebug.skips=[];const u=(typeof i==="string"?i:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const i of u){if(i[0]==="-"){createDebug.skips.push(i.slice(1))}else{createDebug.names.push(i)}}}function matchesTemplate(i,u){let A=0;let I=0;let B=-1;let Q=0;while(A"-"+i))].join(",");createDebug.enable("");return i}function enabled(i){for(const u of createDebug.skips){if(matchesTemplate(i,u)){return false}}for(const u of createDebug.names){if(matchesTemplate(i,u)){return true}}return false}function coerce(i){if(i instanceof Error){return i.stack||i.message}return i}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}i.exports=setup},2830:(i,u,A)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){i.exports=A(6110)}else{i.exports=A(95108)}},95108:(i,u,A)=>{const I=A(52018);const B=A(39023);u.init=init;u.log=log;u.formatArgs=formatArgs;u.save=save;u.load=load;u.useColors=useColors;u.destroy=B.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");u.colors=[6,2,3,4,5,1];try{const i=A(21450);if(i&&(i.stderr||i).level>=2){u.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(i){}u.inspectOpts=Object.keys(process.env).filter((i=>/^debug_/i.test(i))).reduce(((i,u)=>{const A=u.substring(6).toLowerCase().replace(/_([a-z])/g,((i,u)=>u.toUpperCase()));let I=process.env[u];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)}i[A]=I;return i}),{});function useColors(){return"colors"in u.inspectOpts?Boolean(u.inspectOpts.colors):I.isatty(process.stderr.fd)}function formatArgs(u){const{namespace:A,useColors:I}=this;if(I){const I=this.color;const B="[3"+(I<8?I:"8;5;"+I);const Q=` ${B};1m${A} `;u[0]=Q+u[0].split("\n").join("\n"+Q);u.push(B+"m+"+i.exports.humanize(this.diff)+"")}else{u[0]=getDate()+A+" "+u[0]}}function getDate(){if(u.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...i){return process.stderr.write(B.formatWithOptions(u.inspectOpts,...i)+"\n")}function save(i){if(i){process.env.DEBUG=i}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(i){i.inspectOpts={};const A=Object.keys(u.inspectOpts);for(let I=0;Ii.trim())).join(" ")};Q.O=function(i){this.inspectOpts.colors=this.useColors;return B.inspect(i,this.inspectOpts)}},14150:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});class Deprecation extends Error{constructor(i){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}u.Deprecation=Deprecation},16577:(i,u)=>{"use strict"; /** * @author Toru Nagashima * @copyright 2015 Toru Nagashima. All rights reserved. * See LICENSE file in root directory for full license. */Object.defineProperty(u,"__esModule",{value:true});const A=new WeakMap;const I=new WeakMap;function pd(i){const u=A.get(i);console.assert(u!=null,"'this' is expected an Event object, but got",i);return u}function setCancelFlag(i){if(i.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",i.passiveListener)}return}if(!i.event.cancelable){return}i.canceled=true;if(typeof i.event.preventDefault==="function"){i.event.preventDefault()}}function Event(i,u){A.set(this,{eventTarget:i,event:u,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:u.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const I=Object.keys(u);for(let i=0;i0){const i=new Array(arguments.length);for(let u=0;u{i.exports=A(24434)},13587:i=>{i.exports=class FixedFIFO{constructor(i){if(!(i>0)||(i-1&i)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(i);this.mask=i-1;this.top=0;this.btm=0;this.next=null}clear(){this.top=this.btm=0;this.next=null;this.buffer.fill(undefined)}push(i){if(this.buffer[this.top]!==undefined)return false;this.buffer[this.top]=i;this.top=this.top+1&this.mask;return true}shift(){const i=this.buffer[this.btm];if(i===undefined)return undefined;this.buffer[this.btm]=undefined;this.btm=this.btm+1&this.mask;return i}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===undefined}}},83867:(i,u,A)=>{const I=A(13587);i.exports=class FastFIFO{constructor(i){this.hwm=i||16;this.head=new I(this.hwm);this.tail=this.head;this.length=0}clear(){this.head=this.tail;this.head.clear();this.length=0}push(i){this.length++;if(!this.head.push(i)){const u=this.head;this.head=u.next=new I(2*this.head.buffer.length);this.head.push(i)}}shift(){if(this.length!==0)this.length--;const i=this.tail.shift();if(i===undefined&&this.tail.next){const i=this.tail.next;this.tail.next=null;this.tail=i;return this.tail.shift()}return i}peek(){const i=this.tail.peek();if(i===undefined&&this.tail.next)return this.tail.next.peek();return i}isEmpty(){return this.length===0}}},25032:(i,u,A)=>{"use strict";const{Minipass:I}=A(78275);const B=A(24434).EventEmitter;const Q=A(79896);const P=Q.writev;const D=Symbol("_autoClose");const L=Symbol("_close");const U=Symbol("_ended");const G=Symbol("_fd");const z=Symbol("_finished");const W=Symbol("_flags");const Y=Symbol("_flush");const J=Symbol("_handleChunk");const $=Symbol("_makeBuf");const K=Symbol("_mode");const X=Symbol("_needDrain");const he=Symbol("_onerror");const Ae=Symbol("_onopen");const ye=Symbol("_onread");const be=Symbol("_onwrite");const Ee=Symbol("_open");const Ce=Symbol("_path");const we=Symbol("_pos");const ve=Symbol("_queue");const Se=Symbol("_read");const Re=Symbol("_readSize");const Ne=Symbol("_reading");const _e=Symbol("_remain");const Oe=Symbol("_size");const xe=Symbol("_write");const ke=Symbol("_writing");const Qe=Symbol("_defaultFlag");const Pe=Symbol("_errored");class ReadStream extends I{constructor(i,u){u=u||{};super(u);this.readable=true;this.writable=false;if(typeof i!=="string"){throw new TypeError("path must be a string")}this[Pe]=false;this[G]=typeof u.fd==="number"?u.fd:null;this[Ce]=i;this[Re]=u.readSize||16*1024*1024;this[Ne]=false;this[Oe]=typeof u.size==="number"?u.size:Infinity;this[_e]=this[Oe];this[D]=typeof u.autoClose==="boolean"?u.autoClose:true;if(typeof this[G]==="number"){this[Se]()}else{this[Ee]()}}get fd(){return this[G]}get path(){return this[Ce]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[Ee](){Q.open(this[Ce],"r",((i,u)=>this[Ae](i,u)))}[Ae](i,u){if(i){this[he](i)}else{this[G]=u;this.emit("open",u);this[Se]()}}[$](){return Buffer.allocUnsafe(Math.min(this[Re],this[_e]))}[Se](){if(!this[Ne]){this[Ne]=true;const i=this[$]();if(i.length===0){return process.nextTick((()=>this[ye](null,0,i)))}Q.read(this[G],i,0,i.length,null,((i,u,A)=>this[ye](i,u,A)))}}[ye](i,u,A){this[Ne]=false;if(i){this[he](i)}else if(this[J](u,A)){this[Se]()}}[L](){if(this[D]&&typeof this[G]==="number"){const i=this[G];this[G]=null;Q.close(i,(i=>i?this.emit("error",i):this.emit("close")))}}[he](i){this[Ne]=true;this[L]();this.emit("error",i)}[J](i,u){let A=false;this[_e]-=i;if(i>0){A=super.write(ithis[Ae](i,u)))}[Ae](i,u){if(this[Qe]&&this[W]==="r+"&&i&&i.code==="ENOENT"){this[W]="w";this[Ee]()}else if(i){this[he](i)}else{this[G]=u;this.emit("open",u);if(!this[ke]){this[Y]()}}}end(i,u){if(i){this.write(i,u)}this[U]=true;if(!this[ke]&&!this[ve].length&&typeof this[G]==="number"){this[be](null,0)}return this}write(i,u){if(typeof i==="string"){i=Buffer.from(i,u)}if(this[U]){this.emit("error",new Error("write() after end()"));return false}if(this[G]===null||this[ke]||this[ve].length){this[ve].push(i);this[X]=true;return false}this[ke]=true;this[xe](i);return true}[xe](i){Q.write(this[G],i,0,i.length,this[we],((i,u)=>this[be](i,u)))}[be](i,u){if(i){this[he](i)}else{if(this[we]!==null){this[we]+=u}if(this[ve].length){this[Y]()}else{this[ke]=false;if(this[U]&&!this[z]){this[z]=true;this[L]();this.emit("finish")}else if(this[X]){this[X]=false;this.emit("drain")}}}}[Y](){if(this[ve].length===0){if(this[U]){this[be](null,0)}}else if(this[ve].length===1){this[xe](this[ve].pop())}else{const i=this[ve];this[ve]=[];P(this[G],i,this[we],((i,u)=>this[be](i,u)))}}[L](){if(this[D]&&typeof this[G]==="number"){const i=this[G];this[G]=null;Q.close(i,(i=>i?this.emit("error",i):this.emit("close")))}}}class WriteStreamSync extends WriteStream{[Ee](){let i;if(this[Qe]&&this[W]==="r+"){try{i=Q.openSync(this[Ce],this[W],this[K])}catch(i){if(i.code==="ENOENT"){this[W]="w";return this[Ee]()}else{throw i}}}else{i=Q.openSync(this[Ce],this[W],this[K])}this[Ae](null,i)}[L](){if(this[D]&&typeof this[G]==="number"){const i=this[G];this[G]=null;Q.closeSync(i);this.emit("close")}}[xe](i){let u=true;try{this[be](null,Q.writeSync(this[G],i,0,i.length,this[we]));u=false}finally{if(u){try{this[L]()}catch{}}}}}u.ReadStream=ReadStream;u.ReadStreamSync=ReadStreamSync;u.WriteStream=WriteStream;u.WriteStreamSync=WriteStreamSync},73964:i=>{"use strict";i.exports=clone;var u=Object.getPrototypeOf||function(i){return i.__proto__};function clone(i){if(i===null||typeof i!=="object")return i;if(i instanceof Object)var A={__proto__:u(i)};else var A=Object.create(null);Object.getOwnPropertyNames(i).forEach((function(u){Object.defineProperty(A,u,Object.getOwnPropertyDescriptor(i,u))}));return A}},35744:(i,u,A)=>{var I=A(79896);var B=A(83501);var Q=A(12270);var P=A(73964);var D=A(39023);var L;var U;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){L=Symbol.for("graceful-fs.queue");U=Symbol.for("graceful-fs.previous")}else{L="___graceful-fs.queue";U="___graceful-fs.previous"}function noop(){}function publishQueue(i,u){Object.defineProperty(i,L,{get:function(){return u}})}var G=noop;if(D.debuglog)G=D.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))G=function(){var i=D.format.apply(D,arguments);i="GFS4: "+i.split(/\n/).join("\nGFS4: ");console.error(i)};if(!I[L]){var z=global[L]||[];publishQueue(I,z);I.close=function(i){function close(u,A){return i.call(I,u,(function(i){if(!i){resetQueue()}if(typeof A==="function")A.apply(this,arguments)}))}Object.defineProperty(close,U,{value:i});return close}(I.close);I.closeSync=function(i){function closeSync(u){i.apply(I,arguments);resetQueue()}Object.defineProperty(closeSync,U,{value:i});return closeSync}(I.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){G(I[L]);A(42613).equal(I[L].length,0)}))}}if(!global[L]){publishQueue(global,I[L])}i.exports=patch(P(I));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!I.__patched){i.exports=patch(I);I.__patched=true}function patch(i){B(i);i.gracefulify=patch;i.createReadStream=createReadStream;i.createWriteStream=createWriteStream;var u=i.readFile;i.readFile=readFile;function readFile(i,A,I){if(typeof A==="function")I=A,A=null;return go$readFile(i,A,I);function go$readFile(i,A,I,B){return u(i,A,(function(u){if(u&&(u.code==="EMFILE"||u.code==="ENFILE"))enqueue([go$readFile,[i,A,I],u,B||Date.now(),Date.now()]);else{if(typeof I==="function")I.apply(this,arguments)}}))}}var A=i.writeFile;i.writeFile=writeFile;function writeFile(i,u,I,B){if(typeof I==="function")B=I,I=null;return go$writeFile(i,u,I,B);function go$writeFile(i,u,I,B,Q){return A(i,u,I,(function(A){if(A&&(A.code==="EMFILE"||A.code==="ENFILE"))enqueue([go$writeFile,[i,u,I,B],A,Q||Date.now(),Date.now()]);else{if(typeof B==="function")B.apply(this,arguments)}}))}}var I=i.appendFile;if(I)i.appendFile=appendFile;function appendFile(i,u,A,B){if(typeof A==="function")B=A,A=null;return go$appendFile(i,u,A,B);function go$appendFile(i,u,A,B,Q){return I(i,u,A,(function(I){if(I&&(I.code==="EMFILE"||I.code==="ENFILE"))enqueue([go$appendFile,[i,u,A,B],I,Q||Date.now(),Date.now()]);else{if(typeof B==="function")B.apply(this,arguments)}}))}}var P=i.copyFile;if(P)i.copyFile=copyFile;function copyFile(i,u,A,I){if(typeof A==="function"){I=A;A=0}return go$copyFile(i,u,A,I);function go$copyFile(i,u,A,I,B){return P(i,u,A,(function(Q){if(Q&&(Q.code==="EMFILE"||Q.code==="ENFILE"))enqueue([go$copyFile,[i,u,A,I],Q,B||Date.now(),Date.now()]);else{if(typeof I==="function")I.apply(this,arguments)}}))}}var D=i.readdir;i.readdir=readdir;var L=/^v[0-5]\./;function readdir(i,u,A){if(typeof u==="function")A=u,u=null;var I=L.test(process.version)?function go$readdir(i,u,A,I){return D(i,fs$readdirCallback(i,u,A,I))}:function go$readdir(i,u,A,I){return D(i,u,fs$readdirCallback(i,u,A,I))};return I(i,u,A);function fs$readdirCallback(i,u,A,B){return function(Q,P){if(Q&&(Q.code==="EMFILE"||Q.code==="ENFILE"))enqueue([I,[i,u,A],Q,B||Date.now(),Date.now()]);else{if(P&&P.sort)P.sort();if(typeof A==="function")A.call(this,Q,P)}}}}if(process.version.substr(0,4)==="v0.8"){var U=Q(i);ReadStream=U.ReadStream;WriteStream=U.WriteStream}var G=i.ReadStream;if(G){ReadStream.prototype=Object.create(G.prototype);ReadStream.prototype.open=ReadStream$open}var z=i.WriteStream;if(z){WriteStream.prototype=Object.create(z.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(i,"ReadStream",{get:function(){return ReadStream},set:function(i){ReadStream=i},enumerable:true,configurable:true});Object.defineProperty(i,"WriteStream",{get:function(){return WriteStream},set:function(i){WriteStream=i},enumerable:true,configurable:true});var W=ReadStream;Object.defineProperty(i,"FileReadStream",{get:function(){return W},set:function(i){W=i},enumerable:true,configurable:true});var Y=WriteStream;Object.defineProperty(i,"FileWriteStream",{get:function(){return Y},set:function(i){Y=i},enumerable:true,configurable:true});function ReadStream(i,u){if(this instanceof ReadStream)return G.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var i=this;open(i.path,i.flags,i.mode,(function(u,A){if(u){if(i.autoClose)i.destroy();i.emit("error",u)}else{i.fd=A;i.emit("open",A);i.read()}}))}function WriteStream(i,u){if(this instanceof WriteStream)return z.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var i=this;open(i.path,i.flags,i.mode,(function(u,A){if(u){i.destroy();i.emit("error",u)}else{i.fd=A;i.emit("open",A)}}))}function createReadStream(u,A){return new i.ReadStream(u,A)}function createWriteStream(u,A){return new i.WriteStream(u,A)}var J=i.open;i.open=open;function open(i,u,A,I){if(typeof A==="function")I=A,A=null;return go$open(i,u,A,I);function go$open(i,u,A,I,B){return J(i,u,A,(function(Q,P){if(Q&&(Q.code==="EMFILE"||Q.code==="ENFILE"))enqueue([go$open,[i,u,A,I],Q,B||Date.now(),Date.now()]);else{if(typeof I==="function")I.apply(this,arguments)}}))}}return i}function enqueue(i){G("ENQUEUE",i[0].name,i[1]);I[L].push(i);retry()}var W;function resetQueue(){var i=Date.now();for(var u=0;u2){I[L][u][3]=i;I[L][u][4]=i}}retry()}function retry(){clearTimeout(W);W=undefined;if(I[L].length===0)return;var i=I[L].shift();var u=i[0];var A=i[1];var B=i[2];var Q=i[3];var P=i[4];if(Q===undefined){G("RETRY",u.name,A);u.apply(null,A)}else if(Date.now()-Q>=6e4){G("TIMEOUT",u.name,A);var D=A.pop();if(typeof D==="function")D.call(null,B)}else{var U=Date.now()-P;var z=Math.max(P-Q,1);var Y=Math.min(z*1.2,100);if(U>=Y){G("RETRY",u.name,A);u.apply(null,A.concat([Q]))}else{I[L].push(i)}}if(W===undefined){W=setTimeout(retry,0)}}},12270:(i,u,A)=>{var I=A(2203).Stream;i.exports=legacy;function legacy(i){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(u,A){if(!(this instanceof ReadStream))return new ReadStream(u,A);I.call(this);var B=this;this.path=u;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;A=A||{};var Q=Object.keys(A);for(var P=0,D=Q.length;Pthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){B._read()}));return}i.open(this.path,this.flags,this.mode,(function(i,u){if(i){B.emit("error",i);B.readable=false;return}B.fd=u;B.emit("open",u);B._read()}))}function WriteStream(u,A){if(!(this instanceof WriteStream))return new WriteStream(u,A);I.call(this);this.path=u;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;A=A||{};var B=Object.keys(A);for(var Q=0,P=B.length;Q= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=i.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},83501:(i,u,A)=>{var I=A(49140);var B=process.cwd;var Q=null;var P=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!Q)Q=B.call(process);return Q};try{process.cwd()}catch(i){}if(typeof process.chdir==="function"){var D=process.chdir;process.chdir=function(i){Q=null;D.call(process,i)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,D)}i.exports=patch;function patch(i){if(I.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(i)}if(!i.lutimes){patchLutimes(i)}i.chown=chownFix(i.chown);i.fchown=chownFix(i.fchown);i.lchown=chownFix(i.lchown);i.chmod=chmodFix(i.chmod);i.fchmod=chmodFix(i.fchmod);i.lchmod=chmodFix(i.lchmod);i.chownSync=chownFixSync(i.chownSync);i.fchownSync=chownFixSync(i.fchownSync);i.lchownSync=chownFixSync(i.lchownSync);i.chmodSync=chmodFixSync(i.chmodSync);i.fchmodSync=chmodFixSync(i.fchmodSync);i.lchmodSync=chmodFixSync(i.lchmodSync);i.stat=statFix(i.stat);i.fstat=statFix(i.fstat);i.lstat=statFix(i.lstat);i.statSync=statFixSync(i.statSync);i.fstatSync=statFixSync(i.fstatSync);i.lstatSync=statFixSync(i.lstatSync);if(i.chmod&&!i.lchmod){i.lchmod=function(i,u,A){if(A)process.nextTick(A)};i.lchmodSync=function(){}}if(i.chown&&!i.lchown){i.lchown=function(i,u,A,I){if(I)process.nextTick(I)};i.lchownSync=function(){}}if(P==="win32"){i.rename=typeof i.rename!=="function"?i.rename:function(u){function rename(A,I,B){var Q=Date.now();var P=0;u(A,I,(function CB(D){if(D&&(D.code==="EACCES"||D.code==="EPERM"||D.code==="EBUSY")&&Date.now()-Q<6e4){setTimeout((function(){i.stat(I,(function(i,Q){if(i&&i.code==="ENOENT")u(A,I,CB);else B(D)}))}),P);if(P<100)P+=10;return}if(B)B(D)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,u);return rename}(i.rename)}i.read=typeof i.read!=="function"?i.read:function(u){function read(A,I,B,Q,P,D){var L;if(D&&typeof D==="function"){var U=0;L=function(G,z,W){if(G&&G.code==="EAGAIN"&&U<10){U++;return u.call(i,A,I,B,Q,P,L)}D.apply(this,arguments)}}return u.call(i,A,I,B,Q,P,L)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,u);return read}(i.read);i.readSync=typeof i.readSync!=="function"?i.readSync:function(u){return function(A,I,B,Q,P){var D=0;while(true){try{return u.call(i,A,I,B,Q,P)}catch(i){if(i.code==="EAGAIN"&&D<10){D++;continue}throw i}}}}(i.readSync);function patchLchmod(i){i.lchmod=function(u,A,B){i.open(u,I.O_WRONLY|I.O_SYMLINK,A,(function(u,I){if(u){if(B)B(u);return}i.fchmod(I,A,(function(u){i.close(I,(function(i){if(B)B(u||i)}))}))}))};i.lchmodSync=function(u,A){var B=i.openSync(u,I.O_WRONLY|I.O_SYMLINK,A);var Q=true;var P;try{P=i.fchmodSync(B,A);Q=false}finally{if(Q){try{i.closeSync(B)}catch(i){}}else{i.closeSync(B)}}return P}}function patchLutimes(i){if(I.hasOwnProperty("O_SYMLINK")&&i.futimes){i.lutimes=function(u,A,B,Q){i.open(u,I.O_SYMLINK,(function(u,I){if(u){if(Q)Q(u);return}i.futimes(I,A,B,(function(u){i.close(I,(function(i){if(Q)Q(u||i)}))}))}))};i.lutimesSync=function(u,A,B){var Q=i.openSync(u,I.O_SYMLINK);var P;var D=true;try{P=i.futimesSync(Q,A,B);D=false}finally{if(D){try{i.closeSync(Q)}catch(i){}}else{i.closeSync(Q)}}return P}}else if(i.futimes){i.lutimes=function(i,u,A,I){if(I)process.nextTick(I)};i.lutimesSync=function(){}}}function chmodFix(u){if(!u)return u;return function(A,I,B){return u.call(i,A,I,(function(i){if(chownErOk(i))i=null;if(B)B.apply(this,arguments)}))}}function chmodFixSync(u){if(!u)return u;return function(A,I){try{return u.call(i,A,I)}catch(i){if(!chownErOk(i))throw i}}}function chownFix(u){if(!u)return u;return function(A,I,B,Q){return u.call(i,A,I,B,(function(i){if(chownErOk(i))i=null;if(Q)Q.apply(this,arguments)}))}}function chownFixSync(u){if(!u)return u;return function(A,I,B){try{return u.call(i,A,I,B)}catch(i){if(!chownErOk(i))throw i}}}function statFix(u){if(!u)return u;return function(A,I,B){if(typeof I==="function"){B=I;I=null}function callback(i,u){if(u){if(u.uid<0)u.uid+=4294967296;if(u.gid<0)u.gid+=4294967296}if(B)B.apply(this,arguments)}return I?u.call(i,A,I,callback):u.call(i,A,callback)}}function statFixSync(u){if(!u)return u;return function(A,I){var B=I?u.call(i,A,I):u.call(i,A);if(B){if(B.uid<0)B.uid+=4294967296;if(B.gid<0)B.gid+=4294967296}return B}}function chownErOk(i){if(!i)return true;if(i.code==="ENOSYS")return true;var u=!process.getuid||process.getuid()!==0;if(u){if(i.code==="EINVAL"||i.code==="EPERM")return true}return false}}},83813:i=>{"use strict";i.exports=(i,u=process.argv)=>{const A=i.startsWith("-")?"":i.length===1?"-":"--";const I=u.indexOf(A+i);const B=u.indexOf("--");return I!==-1&&(B===-1||I\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var G={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"};var z=/["&'<>`]/g;var W={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"};var Y=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/;var J=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var $=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf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ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g;var K={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"};var X={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"};var he={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var Ae=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];var ye=String.fromCharCode;var be={};var Ee=be.hasOwnProperty;var has=function(i,u){return Ee.call(i,u)};var contains=function(i,u){var A=-1;var I=i.length;while(++A=55296&&i<=57343||i>1114111){if(u){parseError("character reference outside the permissible Unicode range")}return"�"}if(has(he,i)){if(u){parseError("disallowed character reference")}return he[i]}if(u&&contains(Ae,i)){parseError("disallowed character reference")}if(i>65535){i-=65536;A+=ye(i>>>10&1023|55296);i=56320|i&1023}A+=ye(i);return A};var hexEscape=function(i){return"&#x"+i.toString(16).toUpperCase()+";"};var decEscape=function(i){return"&#"+i+";"};var parseError=function(i){throw Error("Parse error: "+i)};var encode=function(i,u){u=merge(u,encode.options);var A=u.strict;if(A&&J.test(i)){parseError("forbidden code point")}var I=u.encodeEverything;var B=u.useNamedReferences;var Q=u.allowUnsafeSymbols;var W=u.decimal?decEscape:hexEscape;var escapeBmpSymbol=function(i){return W(i.charCodeAt(0))};if(I){i=i.replace(D,(function(i){if(B&&has(G,i)){return"&"+G[i]+";"}return escapeBmpSymbol(i)}));if(B){i=i.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")}if(B){i=i.replace(U,(function(i){return"&"+G[i]+";"}))}}else if(B){if(!Q){i=i.replace(z,(function(i){return"&"+G[i]+";"}))}i=i.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒");i=i.replace(U,(function(i){return"&"+G[i]+";"}))}else if(!Q){i=i.replace(z,escapeBmpSymbol)}return i.replace(P,(function(i){var u=i.charCodeAt(0);var A=i.charCodeAt(1);var I=(u-55296)*1024+A-56320+65536;return W(I)})).replace(L,escapeBmpSymbol)};encode.options={allowUnsafeSymbols:false,encodeEverything:false,strict:false,useNamedReferences:false,decimal:false};var decode=function(i,u){u=merge(u,decode.options);var A=u.strict;if(A&&Y.test(i)){parseError("malformed character reference")}return i.replace($,(function(i,I,B,Q,P,D,L,U,G){var z;var W;var Y;var J;var $;var he;if(I){$=I;return K[$]}if(B){$=B;he=Q;if(he&&u.isAttributeValue){if(A&&he=="="){parseError("`&` did not start a character reference")}return i}else{if(A){parseError("named character reference was not terminated by a semicolon")}return X[$]+(he||"")}}if(P){Y=P;W=D;if(A&&!W){parseError("character reference was not terminated by a semicolon")}z=parseInt(Y,10);return codePointToSymbol(z,A)}if(L){J=L;W=U;if(A&&!W){parseError("character reference was not terminated by a semicolon")}z=parseInt(J,16);return codePointToSymbol(z,A)}if(A){parseError("named character reference was not terminated by a semicolon")}return i}))};decode.options={isAttributeValue:false,strict:false};var escape=function(i){return i.replace(z,(function(i){return W[i]}))};var Ce={version:"1.2.0",encode:encode,decode:decode,escape:escape,unescape:decode};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return Ce}))}else if(I&&!I.nodeType){if(B){B.exports=Ce}else{for(var we in Ce){has(Ce,we)&&(I[we]=Ce[we])}}}else{A.he=Ce}})(this)},12203:i=>{"use strict";const u=new Set([200,203,204,206,300,301,308,404,405,410,414,501]);const A=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]);const I=new Set([500,502,503,504]);const B={date:true,connection:true,"keep-alive":true,"proxy-authenticate":true,"proxy-authorization":true,te:true,trailer:true,"transfer-encoding":true,upgrade:true};const Q={"content-length":true,"content-encoding":true,"transfer-encoding":true,"content-range":true};function toNumberOrZero(i){const u=parseInt(i,10);return isFinite(u)?u:0}function isErrorResponse(i){if(!i){return true}return I.has(i.status)}function parseCacheControl(i){const u={};if(!i)return u;const A=i.trim().split(/,/);for(const i of A){const[A,I]=i.split(/=/,2);u[A.trim()]=I===undefined?true:I.trim().replace(/^"|"$/g,"")}return u}function formatCacheControl(i){let u=[];for(const A in i){const I=i[A];u.push(I===true?A:A+"="+I)}if(!u.length){return undefined}return u.join(", ")}i.exports=class CachePolicy{constructor(i,u,{shared:A,cacheHeuristic:I,immutableMinTimeToLive:B,ignoreCargoCult:Q,_fromObject:P}={}){if(P){this._fromObject(P);return}if(!u||!u.headers){throw Error("Response headers missing")}this._assertRequestHasHeaders(i);this._responseTime=this.now();this._isShared=A!==false;this._ignoreCargoCult=!!Q;this._cacheHeuristic=undefined!==I?I:.1;this._immutableMinTtl=undefined!==B?B:24*3600*1e3;this._status="status"in u?u.status:200;this._resHeaders=u.headers;this._rescc=parseCacheControl(u.headers["cache-control"]);this._method="method"in i?i.method:"GET";this._url=i.url;this._host=i.headers.host;this._noAuthorization=!i.headers.authorization;this._reqHeaders=u.headers.vary?i.headers:null;this._reqcc=parseCacheControl(i.headers["cache-control"]);if(this._ignoreCargoCult&&"pre-check"in this._rescc&&"post-check"in this._rescc){delete this._rescc["pre-check"];delete this._rescc["post-check"];delete this._rescc["no-cache"];delete this._rescc["no-store"];delete this._rescc["must-revalidate"];this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":formatCacheControl(this._rescc)});delete this._resHeaders.expires;delete this._resHeaders.pragma}if(u.headers["cache-control"]==null&&/no-cache/.test(u.headers.pragma)){this._rescc["no-cache"]=true}}now(){return Date.now()}storable(){return!!(!this._reqcc["no-store"]&&("GET"===this._method||"HEAD"===this._method||"POST"===this._method&&this._hasExplicitExpiration())&&A.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||u.has(this._status)))}_hasExplicitExpiration(){return!!(this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires)}_assertRequestHasHeaders(i){if(!i||!i.headers){throw Error("Request headers missing")}}satisfiesWithoutRevalidation(i){const u=this.evaluateRequest(i);return!u.revalidation}_evaluateRequestHitResult(i){return{response:{headers:this.responseHeaders()},revalidation:i}}_evaluateRequestRevalidation(i,u){return{synchronous:u,headers:this.revalidationHeaders(i)}}_evaluateRequestMissResult(i){return{response:undefined,revalidation:this._evaluateRequestRevalidation(i,true)}}evaluateRequest(i){this._assertRequestHasHeaders(i);if(this._rescc["must-revalidate"]){return this._evaluateRequestMissResult(i)}if(!this._requestMatches(i,false)){return this._evaluateRequestMissResult(i)}const u=parseCacheControl(i.headers["cache-control"]);if(u["no-cache"]||/no-cache/.test(i.headers.pragma)){return this._evaluateRequestMissResult(i)}if(u["max-age"]&&this.age()>toNumberOrZero(u["max-age"])){return this._evaluateRequestMissResult(i)}if(u["min-fresh"]&&this.maxAge()-this.age()this.age()-this.maxAge());if(A){return this._evaluateRequestHitResult(undefined)}if(this.useStaleWhileRevalidate()){return this._evaluateRequestHitResult(this._evaluateRequestRevalidation(i,false))}return this._evaluateRequestMissResult(i)}return this._evaluateRequestHitResult(undefined)}_requestMatches(i,u){return!!((!this._url||this._url===i.url)&&this._host===i.headers.host&&(!i.method||this._method===i.method||u&&"HEAD"===i.method)&&this._varyMatches(i))}_allowsStoringAuthenticated(){return!!(this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"])}_varyMatches(i){if(!this._resHeaders.vary){return true}if(this._resHeaders.vary==="*"){return false}const u=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(const A of u){if(i.headers[A]!==this._reqHeaders[A])return false}return true}_copyWithoutHopByHopHeaders(i){const u={};for(const A in i){if(B[A])continue;u[A]=i[A]}if(i.connection){const A=i.connection.trim().split(/\s*,\s*/);for(const i of A){delete u[i]}}if(u.warning){const i=u.warning.split(/,/).filter((i=>!/^\s*1[0-9][0-9]/.test(i)));if(!i.length){delete u.warning}else{u.warning=i.join(",").trim()}}return u}responseHeaders(){const i=this._copyWithoutHopByHopHeaders(this._resHeaders);const u=this.age();if(u>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24){i.warning=(i.warning?`${i.warning}, `:"")+'113 - "rfc7234 5.5.4"'}i.age=`${Math.round(u)}`;i.date=new Date(this.now()).toUTCString();return i}date(){const i=Date.parse(this._resHeaders.date);if(isFinite(i)){return i}return this._responseTime}age(){let i=this._ageValue();const u=(this.now()-this._responseTime)/1e3;return i+u}_ageValue(){return toNumberOrZero(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]){return 0}if(this._isShared&&(this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable)){return 0}if(this._resHeaders.vary==="*"){return 0}if(this._isShared){if(this._rescc["proxy-revalidate"]){return 0}if(this._rescc["s-maxage"]){return toNumberOrZero(this._rescc["s-maxage"])}}if(this._rescc["max-age"]){return toNumberOrZero(this._rescc["max-age"])}const i=this._rescc.immutable?this._immutableMinTtl:0;const u=this.date();if(this._resHeaders.expires){const A=Date.parse(this._resHeaders.expires);if(Number.isNaN(A)||AA){return Math.max(i,(u-A)/1e3*this._cacheHeuristic)}}return i}timeToLive(){const i=this.maxAge()-this.age();const u=i+toNumberOrZero(this._rescc["stale-if-error"]);const A=i+toNumberOrZero(this._rescc["stale-while-revalidate"]);return Math.round(Math.max(0,i,u,A)*1e3)}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+toNumberOrZero(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){const i=toNumberOrZero(this._rescc["stale-while-revalidate"]);return i>0&&this.maxAge()+i>this.age()}static fromObject(i){return new this(undefined,undefined,{_fromObject:i})}_fromObject(i){if(this._responseTime)throw Error("Reinitialized");if(!i||i.v!==1)throw Error("Invalid serialization");this._responseTime=i.t;this._isShared=i.sh;this._cacheHeuristic=i.ch;this._immutableMinTtl=i.imm!==undefined?i.imm:24*3600*1e3;this._ignoreCargoCult=!!i.icc;this._status=i.st;this._resHeaders=i.resh;this._rescc=i.rescc;this._method=i.m;this._url=i.u;this._host=i.h;this._noAuthorization=i.a;this._reqHeaders=i.reqh;this._reqcc=i.reqcc}toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,icc:this._ignoreCargoCult,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(i){this._assertRequestHasHeaders(i);const u=this._copyWithoutHopByHopHeaders(i.headers);delete u["if-range"];if(!this._requestMatches(i,true)||!this.storable()){delete u["if-none-match"];delete u["if-modified-since"];return u}if(this._resHeaders.etag){u["if-none-match"]=u["if-none-match"]?`${u["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag}const A=u["accept-ranges"]||u["if-match"]||u["if-unmodified-since"]||this._method&&this._method!="GET";if(A){delete u["if-modified-since"];if(u["if-none-match"]){const i=u["if-none-match"].split(/,/).filter((i=>!/^\s*W\//.test(i)));if(!i.length){delete u["if-none-match"]}else{u["if-none-match"]=i.join(",").trim()}}}else if(this._resHeaders["last-modified"]&&!u["if-modified-since"]){u["if-modified-since"]=this._resHeaders["last-modified"]}return u}revalidatedPolicy(i,u){this._assertRequestHasHeaders(i);if(this._useStaleIfError()&&isErrorResponse(u)){return{policy:this,modified:false,matches:true}}if(!u||!u.headers){throw Error("Response headers missing")}let A=false;if(u.status!==undefined&&u.status!=304){A=false}else if(u.headers.etag&&!/^\s*W\//.test(u.headers.etag)){A=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===u.headers.etag}else if(this._resHeaders.etag&&u.headers.etag){A=this._resHeaders.etag.replace(/^\s*W\//,"")===u.headers.etag.replace(/^\s*W\//,"")}else if(this._resHeaders["last-modified"]){A=this._resHeaders["last-modified"]===u.headers["last-modified"]}else{if(!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!u.headers.etag&&!u.headers["last-modified"]){A=true}}const I={shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl,ignoreCargoCult:this._ignoreCargoCult};if(!A){return{policy:new this.constructor(i,u,I),modified:u.status!=304,matches:false}}const B={};for(const i in this._resHeaders){B[i]=i in u.headers&&!Q[i]?u.headers[i]:this._resHeaders[i]}const P=Object.assign({},u,{status:this._status,method:this._method,headers:B});return{policy:new this.constructor(i,P,I),modified:false,matches:true}}}},81970:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.HttpProxyAgent=void 0;const D=Q(A(69278));const L=Q(A(64756));const U=P(A(2830));const G=A(24434);const z=A(98894);const W=A(87016);const Y=(0,U.default)("http-proxy-agent");class HttpProxyAgent extends z.Agent{constructor(i,u){super(u);this.proxy=typeof i==="string"?new W.URL(i):i;this.proxyHeaders=u?.headers??{};Y("Creating new HttpProxyAgent instance: %o",this.proxy.href);const A=(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={...u?omit(u,"headers"):null,host:A,port:I}}addRequest(i,u){i._header=null;this.setRequestProps(i,u);super.addRequest(i,u)}setRequestProps(i,u){const{proxy:A}=this;const I=u.secureEndpoint?"https:":"http:";const B=i.getHeader("host")||"localhost";const Q=`${I}//${B}`;const P=new W.URL(i.path,Q);if(u.port!==80){P.port=String(u.port)}i.path=String(P);const D=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};if(A.username||A.password){const i=`${decodeURIComponent(A.username)}:${decodeURIComponent(A.password)}`;D["Proxy-Authorization"]=`Basic ${Buffer.from(i).toString("base64")}`}if(!D["Proxy-Connection"]){D["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const u of Object.keys(D)){const A=D[u];if(A){i.setHeader(u,A)}}}async connect(i,u){i._header=null;if(!i.path.includes("://")){this.setRequestProps(i,u)}let A;let I;Y("Regenerating stored HTTP header string for request");i._implicitHeader();if(i.outputData&&i.outputData.length>0){Y("Patching connection write() output buffer with updated header");A=i.outputData[0].data;I=A.indexOf("\r\n\r\n")+4;i.outputData[0].data=i._header+A.substring(I);Y("Output buffer: %o",i.outputData[0].data)}let B;if(this.proxy.protocol==="https:"){Y("Creating `tls.Socket`: %o",this.connectOpts);B=L.connect(this.connectOpts)}else{Y("Creating `net.Socket`: %o",this.connectOpts);B=D.connect(this.connectOpts)}await(0,G.once)(B,"connect");return B}}HttpProxyAgent.protocols=["http","https"];u.HttpProxyAgent=HttpProxyAgent;function omit(i,...u){const A={};let I;for(I in i){if(!u.includes(I)){A[I]=i[I]}}return A}},3669:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.HttpsProxyAgent=void 0;const D=Q(A(69278));const L=Q(A(64756));const U=P(A(42613));const G=P(A(2830));const z=A(98894);const W=A(87016);const Y=A(37943);const J=(0,G.default)("https-proxy-agent");const setServernameFromNonIpHost=i=>{if(i.servername===undefined&&i.host&&!D.isIP(i.host)){return{...i,servername:i.host}}return i};class HttpsProxyAgent extends z.Agent{constructor(i,u){super(u);this.options={path:undefined};this.proxy=typeof i==="string"?new W.URL(i):i;this.proxyHeaders=u?.headers??{};J("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const A=(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"],...u?omit(u,"headers"):null,host:A,port:I}}async connect(i,u){const{proxy:A}=this;if(!u.host){throw new TypeError('No "host" provided')}let I;if(A.protocol==="https:"){J("Creating `tls.Socket`: %o",this.connectOpts);I=L.connect(setServernameFromNonIpHost(this.connectOpts))}else{J("Creating `net.Socket`: %o",this.connectOpts);I=D.connect(this.connectOpts)}const B=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const Q=D.isIPv6(u.host)?`[${u.host}]`:u.host;let P=`CONNECT ${Q}:${u.port} HTTP/1.1\r\n`;if(A.username||A.password){const i=`${decodeURIComponent(A.username)}:${decodeURIComponent(A.password)}`;B["Proxy-Authorization"]=`Basic ${Buffer.from(i).toString("base64")}`}B.Host=`${Q}:${u.port}`;if(!B["Proxy-Connection"]){B["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const i of Object.keys(B)){P+=`${i}: ${B[i]}\r\n`}const G=(0,Y.parseProxyResponse)(I);I.write(`${P}\r\n`);const{connect:z,buffered:W}=await G;i.emit("proxyConnect",z);this.emit("proxyConnect",z,i);if(z.statusCode===200){i.once("socket",resume);if(u.secureEndpoint){J("Upgrading socket connection to TLS");return L.connect({...omit(setServernameFromNonIpHost(u),"host","path","port"),socket:I})}return I}I.destroy();const $=new D.Socket({writable:false});$.readable=true;i.once("socket",(i=>{J("Replaying proxy buffer for failed request");(0,U.default)(i.listenerCount("data")>0);i.push(W);i.push(null)}));return $}}HttpsProxyAgent.protocols=["http","https"];u.HttpsProxyAgent=HttpsProxyAgent;function resume(i){i.resume()}function omit(i,...u){const A={};let I;for(I in i){if(!u.includes(I)){A[I]=i[I]}}return A}},37943:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.parseProxyResponse=void 0;const B=I(A(2830));const Q=(0,B.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(i){return new Promise(((u,A)=>{let I=0;const B=[];function read(){const u=i.read();if(u)ondata(u);else i.once("readable",read)}function cleanup(){i.removeListener("end",onend);i.removeListener("error",onerror);i.removeListener("readable",read)}function onend(){cleanup();Q("onend");A(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(i){cleanup();Q("onerror %o",i);A(i)}function ondata(P){B.push(P);I+=P.length;const D=Buffer.concat(B,I);const L=D.indexOf("\r\n\r\n");if(L===-1){Q("have not received end of HTTP headers yet...");read();return}const U=D.slice(0,L).toString("ascii").split("\r\n");const G=U.shift();if(!G){i.destroy();return A(new Error("No header received from proxy CONNECT response"))}const z=G.split(" ");const W=+z[1];const Y=z.slice(2).join(" ");const J={};for(const u of U){if(!u)continue;const I=u.indexOf(":");if(I===-1){i.destroy();return A(new Error(`Invalid header from proxy CONNECT response: "${u}"`))}const B=u.slice(0,I).toLowerCase();const Q=u.slice(I+1).trimStart();const P=J[B];if(typeof P==="string"){J[B]=[P,Q]}else if(Array.isArray(P)){P.push(Q)}else{J[B]=Q}}Q("got proxy server response: %o %o",G,J);cleanup();u({connect:{statusCode:W,statusText:Y,headers:J},buffered:D})}i.on("error",onerror);i.on("end",onend);read()}))}u.parseProxyResponse=parseProxyResponse},7978:(i,u,A)=>{"use strict";var I=A(12803).Buffer;u._dbcs=DBCSCodec;var B=-1;var Q=-2;var P=-10;var D=-1e3;var L=new Array(256);var U=-1;for(var G=0;G<256;G++){L[G]=B}function DBCSCodec(i,u){this.encodingName=i.encodingName;if(!i){throw new Error("DBCS codec is called without the data.")}if(!i.table){throw new Error("Encoding '"+this.encodingName+"' has no data.")}var A=i.table();this.decodeTables=[];this.decodeTables[0]=L.slice(0);this.decodeTableSeq=[];for(var I=0;ID){throw new Error("gb18030 decode tables conflict at byte 2")}var Y=this.decodeTables[D-z[W]];for(var J=129;J<=254;J++){if(Y[J]===B){Y[J]=D-U}else if(Y[J]===D-U){continue}else if(Y[J]>D){throw new Error("gb18030 decode tables conflict at byte 3")}var $=this.decodeTables[D-Y[J]];for(var K=48;K<=57;K++){if($[K]===B){$[K]=Q}}}}}}this.defaultCharUnicode=u.defaultCharUnicode;this.encodeTable=[];this.encodeTableSeq=[];var X={};if(i.encodeSkipVals){for(var I=0;I0;i>>>=8){u.push(i&255)}if(u.length==0){u.push(0)}var A=this.decodeTables[0];for(var I=u.length-1;I>0;I--){var Q=A[u[I]];if(Q==B){A[u[I]]=D-this.decodeTables.length;this.decodeTables.push(A=L.slice(0))}else if(Q<=D){A=this.decodeTables[D-Q]}else{throw new Error("Overwrite byte in "+this.encodingName+", addr: "+i.toString(16))}}return A};DBCSCodec.prototype._addDecodeChunk=function(i){var u=parseInt(i[0],16);var A=this._getDecodeTrieNode(u);u=u&255;for(var I=1;I=55296&&D<56320){var L=B.charCodeAt(Q++);if(L>=56320&&L<57344){A[u++]=65536+(D-55296)*1024+(L-56320)}else{throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+i[0])}}else if(D>4080&&D<=4095){var U=4095-D+2;var G=[];for(var z=0;z255){throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+i[0]+": too long"+u)}};DBCSCodec.prototype._getEncodeBucket=function(i){var u=i>>8;if(this.encodeTable[u]===undefined){this.encodeTable[u]=L.slice(0)}return this.encodeTable[u]};DBCSCodec.prototype._setEncodeChar=function(i,u){var A=this._getEncodeBucket(i);var I=i&255;if(A[I]<=P){this.encodeTableSeq[P-A[I]][U]=u}else if(A[I]==B){A[I]=u}};DBCSCodec.prototype._setEncodeSequence=function(i,u){var A=i[0];var I=this._getEncodeBucket(A);var Q=A&255;var D;if(I[Q]<=P){D=this.encodeTableSeq[P-I[Q]]}else{D={};if(I[Q]!==B)D[U]=I[Q];I[Q]=P-this.encodeTableSeq.length;this.encodeTableSeq.push(D)}for(var L=1;L=0){this._setEncodeChar(U,G);B=true}else if(U<=D){var z=D-U;if(!Q[z]){var W=G<<8>>>0;if(this._fillEncodeTable(z,W,A)){B=true}else{Q[z]=true}}}else if(U<=P){this._setEncodeSequence(this.decodeTableSeq[P-U],G);B=true}}return B};function DBCSEncoder(i,u){this.leadSurrogate=-1;this.seqObj=undefined;this.encodeTable=u.encodeTable;this.encodeTableSeq=u.encodeTableSeq;this.defaultCharSingleByte=u.defCharSB;this.gb18030=u.gb18030}DBCSEncoder.prototype.write=function(i){var u=I.alloc(i.length*(this.gb18030?4:3));var A=this.leadSurrogate;var Q=this.seqObj;var D=-1;var L=0;var G=0;while(true){if(D===-1){if(L==i.length)break;var z=i.charCodeAt(L++)}else{var z=D;D=-1}if(z>=55296&&z<57344){if(z<56320){if(A===-1){A=z;continue}else{A=z;z=B}}else{if(A!==-1){z=65536+(A-55296)*1024+(z-56320);A=-1}else{z=B}}}else if(A!==-1){D=z;z=B;A=-1}var W=B;if(Q!==undefined&&z!=B){var Y=Q[z];if(typeof Y==="object"){Q=Y;continue}else if(typeof Y==="number"){W=Y}else if(Y==undefined){Y=Q[U];if(Y!==undefined){W=Y;D=z}else{}}Q=undefined}else if(z>=0){var J=this.encodeTable[z>>8];if(J!==undefined){W=J[z&255]}if(W<=P){Q=this.encodeTableSeq[P-W];continue}if(W==B&&this.gb18030){var $=findIdx(this.gb18030.uChars,z);if($!=-1){var W=this.gb18030.gbChars[$]+(z-this.gb18030.uChars[$]);u[G++]=129+Math.floor(W/12600);W=W%12600;u[G++]=48+Math.floor(W/1260);W=W%1260;u[G++]=129+Math.floor(W/10);W=W%10;u[G++]=48+W;continue}}}if(W===B){W=this.defaultCharSingleByte}if(W<256){u[G++]=W}else if(W<65536){u[G++]=W>>8;u[G++]=W&255}else if(W<16777216){u[G++]=W>>16;u[G++]=W>>8&255;u[G++]=W&255}else{u[G++]=W>>>24;u[G++]=W>>>16&255;u[G++]=W>>>8&255;u[G++]=W&255}}this.seqObj=Q;this.leadSurrogate=A;return u.slice(0,G)};DBCSEncoder.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===undefined){return}var i=I.alloc(10);var u=0;if(this.seqObj){var A=this.seqObj[U];if(A!==undefined){if(A<256){i[u++]=A}else{i[u++]=A>>8;i[u++]=A&255}}else{}this.seqObj=undefined}if(this.leadSurrogate!==-1){i[u++]=this.defaultCharSingleByte;this.leadSurrogate=-1}return i.slice(0,u)};DBCSEncoder.prototype.findIdx=findIdx;function DBCSDecoder(i,u){this.nodeIdx=0;this.prevBytes=[];this.decodeTables=u.decodeTables;this.decodeTableSeq=u.decodeTableSeq;this.defaultCharUnicode=u.defaultCharUnicode;this.gb18030=u.gb18030}DBCSDecoder.prototype.write=function(i){var u=I.alloc(i.length*2);var A=this.nodeIdx;var L=this.prevBytes;var U=this.prevBytes.length;var G=-this.prevBytes.length;var z;for(var W=0,Y=0;W=0?i[W]:L[W+U];var z=this.decodeTables[A][J];if(z>=0){}else if(z===B){z=this.defaultCharUnicode.charCodeAt(0);W=G}else if(z===Q){if(W>=3){var $=(i[W-3]-129)*12600+(i[W-2]-48)*1260+(i[W-1]-129)*10+(J-48)}else{var $=(L[W-3+U]-129)*12600+((W-2>=0?i[W-2]:L[W-2+U])-48)*1260+((W-1>=0?i[W-1]:L[W-1+U])-129)*10+(J-48)}var K=findIdx(this.gb18030.gbChars,$);z=this.gb18030.uChars[K]+$-this.gb18030.gbChars[K]}else if(z<=D){A=D-z;continue}else if(z<=P){var X=this.decodeTableSeq[P-z];for(var he=0;he>8}z=X[X.length-1]}else{throw new Error("iconv-lite internal error: invalid decoding table value "+z+" at "+A+"/"+J)}if(z>=65536){z-=65536;var Ae=55296|z>>10;u[Y++]=Ae&255;u[Y++]=Ae>>8;z=56320|z&1023}u[Y++]=z&255;u[Y++]=z>>8;A=0;G=W+1}this.nodeIdx=A;this.prevBytes=G>=0?Array.prototype.slice.call(i,G):L.slice(G+U).concat(Array.prototype.slice.call(i));return u.slice(0,Y).toString("ucs2")};DBCSDecoder.prototype.end=function(){var i="";while(this.prevBytes.length>0){i+=this.defaultCharUnicode;var u=this.prevBytes.slice(1);this.prevBytes=[];this.nodeIdx=0;if(u.length>0){i+=this.write(u)}}this.prevBytes=[];this.nodeIdx=0;return i};function findIdx(i,u){if(i[0]>u){return-1}var A=0;var I=i.length;while(A>1);if(i[B]<=u){A=B}else{I=B}}return A}},11802:(i,u,A)=>{"use strict";i.exports={shiftjis:{type:"_dbcs",table:function(){return A(40679)},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return A(56406)},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return A(74488)}},gbk:{type:"_dbcs",table:function(){return A(74488).concat(A(55914))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return A(74488).concat(A(55914))},gb18030:function(){return A(99129)},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return A(21166)}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return A(72324)}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return A(72324).concat(A(43267))},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},27585:(i,u,A)=>{"use strict";var I=A(25336);var B=[A(72356),A(62021),A(8771),A(28231),A(82473),A(97083),A(69487),A(7978),A(11802)];for(var Q=0;Q{"use strict";var I=A(12803).Buffer;i.exports={utf8:{type:"_internal",bomAware:true},cesu8:{type:"_internal",bomAware:true},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:true},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:InternalCodec};function InternalCodec(i,u){this.enc=i.encodingName;this.bomAware=i.bomAware;if(this.enc==="base64"){this.encoder=InternalEncoderBase64}else if(this.enc==="utf8"){this.encoder=InternalEncoderUtf8}else if(this.enc==="cesu8"){this.enc="utf8";this.encoder=InternalEncoderCesu8;if(I.from("eda0bdedb2a9","hex").toString()!=="💩"){this.decoder=InternalDecoderCesu8;this.defaultCharUnicode=u.defaultCharUnicode}}}InternalCodec.prototype.encoder=InternalEncoder;InternalCodec.prototype.decoder=InternalDecoder;var B=A(13193).StringDecoder;function InternalDecoder(i,u){this.decoder=new B(u.enc)}InternalDecoder.prototype.write=function(i){if(!I.isBuffer(i)){i=I.from(i)}return this.decoder.write(i)};InternalDecoder.prototype.end=function(){return this.decoder.end()};function InternalEncoder(i,u){this.enc=u.enc}InternalEncoder.prototype.write=function(i){return I.from(i,this.enc)};InternalEncoder.prototype.end=function(){};function InternalEncoderBase64(i,u){this.prevStr=""}InternalEncoderBase64.prototype.write=function(i){i=this.prevStr+i;var u=i.length-i.length%4;this.prevStr=i.slice(u);i=i.slice(0,u);return I.from(i,"base64")};InternalEncoderBase64.prototype.end=function(){return I.from(this.prevStr,"base64")};function InternalEncoderCesu8(i,u){}InternalEncoderCesu8.prototype.write=function(i){var u=I.alloc(i.length*3);var A=0;for(var B=0;B>>6);u[A++]=128+(Q&63)}else{u[A++]=224+(Q>>>12);u[A++]=128+(Q>>>6&63);u[A++]=128+(Q&63)}}return u.slice(0,A)};InternalEncoderCesu8.prototype.end=function(){};function InternalDecoderCesu8(i,u){this.acc=0;this.contBytes=0;this.accBytes=0;this.defaultCharUnicode=u.defaultCharUnicode}InternalDecoderCesu8.prototype.write=function(i){var u=this.acc;var A=this.contBytes;var I=this.accBytes;var B="";for(var Q=0;Q0){B+=this.defaultCharUnicode;A=0}if(P<128){B+=String.fromCharCode(P)}else if(P<224){u=P&31;A=1;I=1}else if(P<240){u=P&15;A=2;I=1}else{B+=this.defaultCharUnicode}}else{if(A>0){u=u<<6|P&63;A--;I++;if(A===0){if(I===2&&u<128&&u>0){B+=this.defaultCharUnicode}else if(I===3&&u<2048){B+=this.defaultCharUnicode}else{B+=String.fromCharCode(u)}}}else{B+=this.defaultCharUnicode}}}this.acc=u;this.contBytes=A;this.accBytes=I;return B};InternalDecoderCesu8.prototype.end=function(){var i=0;if(this.contBytes>0){i+=this.defaultCharUnicode}return i};function InternalEncoderUtf8(i,u){this.highSurrogate=""}InternalEncoderUtf8.prototype.write=function(i){if(this.highSurrogate){i=this.highSurrogate+i;this.highSurrogate=""}if(i.length>0){var u=i.charCodeAt(i.length-1);if(u>=55296&&u<56320){this.highSurrogate=i[i.length-1];i=i.slice(0,i.length-1)}}return I.from(i,this.enc)};InternalEncoderUtf8.prototype.end=function(){if(this.highSurrogate){var i=this.highSurrogate;this.highSurrogate="";return I.from(i,this.enc)}}},82473:(i,u,A)=>{"use strict";var I=A(12803).Buffer;u._sbcs=SBCSCodec;function SBCSCodec(i,u){if(!i){throw new Error("SBCS codec is called without the data.")}if(!i.chars||i.chars.length!==128&&i.chars.length!==256){throw new Error("Encoding '"+i.type+"' has incorrect 'chars' (must be of len 128 or 256)")}if(i.chars.length===128){var A="";for(var B=0;B<128;B++){A+=String.fromCharCode(B)}i.chars=A+i.chars}this.decodeBuf=I.from(i.chars,"ucs2");var Q=I.alloc(65536,u.defaultCharSingleByte.charCodeAt(0));for(var B=0;B{"use strict";i.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}},97083:i=>{"use strict";i.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},8771:(i,u,A)=>{"use strict";var I=A(12803).Buffer;u.utf16be=Utf16BECodec;function Utf16BECodec(){}Utf16BECodec.prototype.encoder=Utf16BEEncoder;Utf16BECodec.prototype.decoder=Utf16BEDecoder;Utf16BECodec.prototype.bomAware=true;function Utf16BEEncoder(){}Utf16BEEncoder.prototype.write=function(i){var u=I.from(i,"ucs2");for(var A=0;A=100){break e}}}}if(Q>B)return"utf-16be";if(Q{"use strict";var I=A(12803).Buffer;u._utf32=Utf32Codec;function Utf32Codec(i,u){this.iconv=u;this.bomAware=true;this.isLE=i.isLE}u.utf32le={type:"_utf32",isLE:true};u.utf32be={type:"_utf32",isLE:false};u.ucs4le="utf32le";u.ucs4be="utf32be";Utf32Codec.prototype.encoder=Utf32Encoder;Utf32Codec.prototype.decoder=Utf32Decoder;function Utf32Encoder(i,u){this.isLE=u.isLE;this.highSurrogate=0}Utf32Encoder.prototype.write=function(i){var u=I.from(i,"ucs2");var A=I.alloc(u.length*2);var B=this.isLE?A.writeUInt32LE:A.writeUInt32BE;var Q=0;for(var P=0;P=55296&&D<56320;var U=D>=56320&&D<57344;if(this.highSurrogate){if(L||!U){B.call(A,this.highSurrogate,Q);Q+=4}else{var G=(this.highSurrogate-55296<<10|D-56320)+65536;B.call(A,G,Q);Q+=4;this.highSurrogate=0;continue}}if(L){this.highSurrogate=D}else{B.call(A,D,Q);Q+=4;this.highSurrogate=0}}if(Q0){for(;u1114111){A=I}if(A>=65536){A-=65536;var B=55296|A>>10;i[u++]=B&255;i[u++]=B>>8;var A=56320|A&1023}i[u++]=A&255;i[u++]=A>>8;return u}Utf32Decoder.prototype.end=function(){this.overflow.length=0};u.utf32=Utf32AutoCodec;u.ucs4="utf32";function Utf32AutoCodec(i,u){this.iconv=u}Utf32AutoCodec.prototype.encoder=Utf32AutoEncoder;Utf32AutoCodec.prototype.decoder=Utf32AutoDecoder;function Utf32AutoEncoder(i,u){i=i||{};if(i.addBOM===undefined){i.addBOM=true}this.encoder=u.iconv.getEncoder(i.defaultEncoding||"utf-32le",i)}Utf32AutoEncoder.prototype.write=function(i){return this.encoder.write(i)};Utf32AutoEncoder.prototype.end=function(){return this.encoder.end()};function Utf32AutoDecoder(i,u){this.decoder=null;this.initialBufs=[];this.initialBufsLen=0;this.options=i||{};this.iconv=u.iconv}Utf32AutoDecoder.prototype.write=function(i){if(!this.decoder){this.initialBufs.push(i);this.initialBufsLen+=i.length;if(this.initialBufsLen<32){return""}var u=detectEncoding(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(u,this.options);var A="";for(var I=0;I16)Q++;if(A[3]!==0||A[2]>16)B++;if(A[0]===0&&A[1]===0&&(A[2]!==0||A[3]!==0))D++;if((A[0]!==0||A[1]!==0)&&A[2]===0&&A[3]===0)P++;A.length=0;I++;if(I>=100){break e}}}}if(D-Q>P-B)return"utf-32be";if(D-Q{"use strict";var I=A(12803).Buffer;u.utf7=Utf7Codec;u.unicode11utf7="utf7";function Utf7Codec(i,u){this.iconv=u}Utf7Codec.prototype.encoder=Utf7Encoder;Utf7Codec.prototype.decoder=Utf7Decoder;Utf7Codec.prototype.bomAware=true;var B=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Utf7Encoder(i,u){this.iconv=u.iconv}Utf7Encoder.prototype.write=function(i){return I.from(i.replace(B,function(i){return"+"+(i==="+"?"":this.iconv.encode(i,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};Utf7Encoder.prototype.end=function(){};function Utf7Decoder(i,u){this.iconv=u.iconv;this.inBase64=false;this.base64Accum=""}var Q=/[A-Za-z0-9\/+]/;var P=[];for(var D=0;D<256;D++){P[D]=Q.test(String.fromCharCode(D))}var L="+".charCodeAt(0);var U="-".charCodeAt(0);var G="&".charCodeAt(0);Utf7Decoder.prototype.write=function(i){var u="";var A=0;var B=this.inBase64;var Q=this.base64Accum;for(var D=0;D0){i=this.iconv.decode(I.from(this.base64Accum,"base64"),"utf16-be")}this.inBase64=false;this.base64Accum="";return i};u.utf7imap=Utf7IMAPCodec;function Utf7IMAPCodec(i,u){this.iconv=u}Utf7IMAPCodec.prototype.encoder=Utf7IMAPEncoder;Utf7IMAPCodec.prototype.decoder=Utf7IMAPDecoder;Utf7IMAPCodec.prototype.bomAware=true;function Utf7IMAPEncoder(i,u){this.iconv=u.iconv;this.inBase64=false;this.base64Accum=I.alloc(6);this.base64AccumIdx=0}Utf7IMAPEncoder.prototype.write=function(i){var u=this.inBase64;var A=this.base64Accum;var B=this.base64AccumIdx;var Q=I.alloc(i.length*5+10);var P=0;for(var D=0;D=32&&L<=126){if(u){if(B>0){P+=Q.write(A.slice(0,B).toString("base64").replace(/\//g,",").replace(/=+$/,""),P);B=0}Q[P++]=U;u=false}if(!u){Q[P++]=L;if(L===G){Q[P++]=U}}}else{if(!u){Q[P++]=G;u=true}if(u){A[B++]=L>>8;A[B++]=L&255;if(B==A.length){P+=Q.write(A.toString("base64").replace(/\//g,","),P);B=0}}}}this.inBase64=u;this.base64AccumIdx=B;return Q.slice(0,P)};Utf7IMAPEncoder.prototype.end=function(){var i=I.alloc(10);var u=0;if(this.inBase64){if(this.base64AccumIdx>0){u+=i.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),u);this.base64AccumIdx=0}i[u++]=U;this.inBase64=false}return i.slice(0,u)};function Utf7IMAPDecoder(i,u){this.iconv=u.iconv;this.inBase64=false;this.base64Accum=""}var z=P.slice();z[",".charCodeAt(0)]=true;Utf7IMAPDecoder.prototype.write=function(i){var u="";var A=0;var B=this.inBase64;var Q=this.base64Accum;for(var P=0;P0){i=this.iconv.decode(I.from(this.base64Accum,"base64"),"utf16-be")}this.inBase64=false;this.base64Accum="";return i}},74250:(i,u)=>{"use strict";var A="\ufeff";u.PrependBOM=PrependBOMWrapper;function PrependBOMWrapper(i,u){this.encoder=i;this.addBOM=true}PrependBOMWrapper.prototype.write=function(i){if(this.addBOM){i=A+i;this.addBOM=false}return this.encoder.write(i)};PrependBOMWrapper.prototype.end=function(){return this.encoder.end()};u.StripBOM=StripBOMWrapper;function StripBOMWrapper(i,u){this.decoder=i;this.pass=false;this.options=u||{}}StripBOMWrapper.prototype.write=function(i){var u=this.decoder.write(i);if(this.pass||!u){return u}if(u[0]===A){u=u.slice(1);if(typeof this.options.stripBOM==="function"){this.options.stripBOM()}}this.pass=true;return u};StripBOMWrapper.prototype.end=function(){return this.decoder.end()}},25336:i=>{"use strict";var u=typeof Object.hasOwn==="undefined"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function mergeModules(i,A){for(var I in A){if(u(A,I)){i[I]=A[I]}}}i.exports=mergeModules},31748:(i,u,A)=>{"use strict";var I=A(12803).Buffer;var B=A(74250);var Q=A(25336);i.exports.encodings=null;i.exports.defaultCharUnicode="�";i.exports.defaultCharSingleByte="?";i.exports.encode=function encode(u,A,B){u=""+(u||"");var Q=i.exports.getEncoder(A,B);var P=Q.write(u);var D=Q.end();return D&&D.length>0?I.concat([P,D]):P};i.exports.decode=function decode(u,A,B){if(typeof u==="string"){if(!i.exports.skipDecodeWarning){console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");i.exports.skipDecodeWarning=true}u=I.from(""+(u||""),"binary")}var Q=i.exports.getDecoder(A,B);var P=Q.write(u);var D=Q.end();return D?P+D:P};i.exports.encodingExists=function encodingExists(u){try{i.exports.getCodec(u);return true}catch(i){return false}};i.exports.toEncoding=i.exports.encode;i.exports.fromEncoding=i.exports.decode;i.exports._codecDataCache={__proto__:null};i.exports.getCodec=function getCodec(u){if(!i.exports.encodings){var I=A(27585);i.exports.encodings={__proto__:null};Q(i.exports.encodings,I)}var B=i.exports._canonicalizeEncoding(u);var P={};while(true){var D=i.exports._codecDataCache[B];if(D){return D}var L=i.exports.encodings[B];switch(typeof L){case"string":B=L;break;case"object":for(var U in L){P[U]=L[U]}if(!P.encodingName){P.encodingName=B}B=L.type;break;case"function":if(!P.encodingName){P.encodingName=B}D=new L(P,i.exports);i.exports._codecDataCache[P.encodingName]=D;return D;default:throw new Error("Encoding not recognized: '"+u+"' (searched as: '"+B+"')")}}};i.exports._canonicalizeEncoding=function(i){return(""+i).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};i.exports.getEncoder=function getEncoder(u,A){var I=i.exports.getCodec(u);var Q=new I.encoder(A,I);if(I.bomAware&&A&&A.addBOM){Q=new B.PrependBOM(Q,A)}return Q};i.exports.getDecoder=function getDecoder(u,A){var I=i.exports.getCodec(u);var Q=new I.decoder(A,I);if(I.bomAware&&!(A&&A.stripBOM===false)){Q=new B.StripBOM(Q,A)}return Q};i.exports.enableStreamingAPI=function enableStreamingAPI(u){if(i.exports.supportsStreams){return}var I=A(42281)(u);i.exports.IconvLiteEncoderStream=I.IconvLiteEncoderStream;i.exports.IconvLiteDecoderStream=I.IconvLiteDecoderStream;i.exports.encodeStream=function encodeStream(u,A){return new i.exports.IconvLiteEncoderStream(i.exports.getEncoder(u,A),A)};i.exports.decodeStream=function decodeStream(u,A){return new i.exports.IconvLiteDecoderStream(i.exports.getDecoder(u,A),A)};i.exports.supportsStreams=true};var P;try{P=A(2203)}catch(i){}if(P&&P.Transform){i.exports.enableStreamingAPI(P)}else{i.exports.encodeStream=i.exports.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}}if(false){}},42281:(i,u,A)=>{"use strict";var I=A(12803).Buffer;i.exports=function(i){var u=i.Transform;function IconvLiteEncoderStream(i,A){this.conv=i;A=A||{};A.decodeStrings=false;u.call(this,A)}IconvLiteEncoderStream.prototype=Object.create(u.prototype,{constructor:{value:IconvLiteEncoderStream}});IconvLiteEncoderStream.prototype._transform=function(i,u,A){if(typeof i!=="string"){return A(new Error("Iconv encoding stream needs strings as its input."))}try{var I=this.conv.write(i);if(I&&I.length)this.push(I);A()}catch(i){A(i)}};IconvLiteEncoderStream.prototype._flush=function(i){try{var u=this.conv.end();if(u&&u.length)this.push(u);i()}catch(u){i(u)}};IconvLiteEncoderStream.prototype.collect=function(i){var u=[];this.on("error",i);this.on("data",(function(i){u.push(i)}));this.on("end",(function(){i(null,I.concat(u))}));return this};function IconvLiteDecoderStream(i,A){this.conv=i;A=A||{};A.encoding=this.encoding="utf8";u.call(this,A)}IconvLiteDecoderStream.prototype=Object.create(u.prototype,{constructor:{value:IconvLiteDecoderStream}});IconvLiteDecoderStream.prototype._transform=function(i,u,A){if(!I.isBuffer(i)&&!(i instanceof Uint8Array)){return A(new Error("Iconv decoding stream needs buffers as its input."))}try{var B=this.conv.write(i);if(B&&B.length)this.push(B,this.encoding);A()}catch(i){A(i)}};IconvLiteDecoderStream.prototype._flush=function(i){try{var u=this.conv.end();if(u&&u.length)this.push(u,this.encoding);i()}catch(u){i(u)}};IconvLiteDecoderStream.prototype.collect=function(i){var u="";this.on("error",i);this.on("data",(function(i){u+=i}));this.on("end",(function(){i(null,u)}));return this};return{IconvLiteEncoderStream:IconvLiteEncoderStream,IconvLiteDecoderStream:IconvLiteDecoderStream}}},39598:(i,u,A)=>{try{var I=A(39023);if(typeof I.inherits!=="function")throw"";i.exports=I.inherits}catch(u){i.exports=A(26589)}},26589:i=>{if(typeof Object.create==="function"){i.exports=function inherits(i,u){if(u){i.super_=u;i.prototype=Object.create(u.prototype,{constructor:{value:i,enumerable:false,writable:true,configurable:true}})}}}else{i.exports=function inherits(i,u){if(u){i.super_=u;var TempCtor=function(){};TempCtor.prototype=u.prototype;i.prototype=new TempCtor;i.prototype.constructor=i}}}},68850:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.AddressError=void 0;class AddressError extends Error{constructor(i,u){super(i);this.name="AddressError";this.parseMessage=u}}u.AddressError=AddressError},45864:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isInSubnet=isInSubnet;u.isCorrect=isCorrect;u.prefixLengthFromMask=prefixLengthFromMask;u.numberToPaddedHex=numberToPaddedHex;u.stringToPaddedHex=stringToPaddedHex;u.testBit=testBit;const I=A(68850);function isInSubnet(i){if(this.subnetMasku){throw new I.AddressError("Invalid subnet mask.")}const B=A.indexOf("0");if(B===-1){return u}if(A.slice(B).includes("1")){throw new I.AddressError("Invalid subnet mask.")}return B}function numberToPaddedHex(i){return i.toString(16).padStart(2,"0")}function stringToPaddedHex(i){return numberToPaddedHex(parseInt(i,10))}function testBit(i,u){const{length:A}=i;if(u>A){return false}const I=A-u;return i.substring(I,I+1)==="1"}},79253:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.v6=u.AddressError=u.Address6=u.Address4=void 0;var P=A(17946);Object.defineProperty(u,"Address4",{enumerable:true,get:function(){return P.Address4}});var D=A(38096);Object.defineProperty(u,"Address6",{enumerable:true,get:function(){return D.Address6}});var L=A(68850);Object.defineProperty(u,"AddressError",{enumerable:true,get:function(){return L.AddressError}});const U=Q(A(20339));u.v6={helpers:U}},17946:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.Address4=void 0;const P=Q(A(45864));const D=Q(A(66437));const L=A(68850);const U=P.isCorrect(D.BITS);class Address4{constructor(i){this.groups=D.GROUPS;this.parsedAddress=[];this.parsedSubnet="";this.subnet="/32";this.subnetMask=32;this.v4=true;this.isCorrect=U;this.isInSubnet=P.isInSubnet;this.address=i;const u=D.RE_SUBNET_STRING.exec(i);if(u){this.parsedSubnet=u[0].replace("/","");this.subnetMask=parseInt(this.parsedSubnet,10);this.subnet=`/${this.subnetMask}`;if(this.subnetMask<0||this.subnetMask>D.BITS){throw new L.AddressError("Invalid subnet mask.")}i=i.replace(D.RE_SUBNET_STRING,"")}this.addressMinusSuffix=i;this.parsedAddress=this.parse(i)}static isValid(i){try{new Address4(i);return true}catch(i){return false}}parse(i){const u=i.split(".");if(!i.match(D.RE_ADDRESS)){throw new L.AddressError("Invalid IPv4 address.")}return u}correctForm(){return this.parsedAddress.map((i=>parseInt(i,10))).join(".")}static fromAddressAndMask(i,u){const A=P.prefixLengthFromMask(new Address4(u).bigInt(),D.BITS);return new Address4(`${i}/${A}`)}static fromAddressAndWildcardMask(i,u){const A=new Address4(u).bigInt();const I=(BigInt(1)<i==="*"?"0":i));const Q=D.BITS-I*8;return new Address4(`${B.join(".")}/${Q}`)}static fromHex(i){const u=i.replace(/:/g,"");if(!/^[0-9a-fA-F]{8}$/.test(u)){throw new L.AddressError("IPv4 hex must be exactly 8 hex digits")}const A=[];for(let i=0;i<8;i+=2){A.push(parseInt(u.slice(i,i+2),16))}return new Address4(A.join("."))}static fromInteger(i){if(!Number.isInteger(i)||i<0||i>4294967295){throw new L.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1")}return Address4.fromHex(i.toString(16).padStart(8,"0"))}static fromArpa(i){const u=i.replace(/(\.in-addr\.arpa)?\.$/,"");const A=u.split(".").reverse().join(".");return new Address4(A)}toHex(){return this.parsedAddress.map((i=>P.stringToPaddedHex(i))).join(":")}toArray(){return this.parsedAddress.map((i=>parseInt(i,10)))}toGroup6(){const i=[];let u;for(u=0;uP.stringToPaddedHex(i))).join("")}`)}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(D.BITS-this.subnetMask)}`)}startAddress(){return Address4.fromBigInt(this._startAddress())}startAddressExclusive(){const i=BigInt("1");return Address4.fromBigInt(this._startAddress()+i)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(D.BITS-this.subnetMask)}`)}endAddress(){return Address4.fromBigInt(this._endAddress())}endAddressExclusive(){const i=BigInt("1");return Address4.fromBigInt(this._endAddress()-i)}subnetMaskAddress(){return Address4.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(D.BITS-this.subnetMask)}`))}wildcardMask(){return Address4.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(D.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}static fromBigInt(i){if(i<0n||i>0xffffffffn){throw new L.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1")}return Address4.fromHex(i.toString(16).padStart(8,"0"))}static fromByteArray(i){if(i.length!==4){throw new L.AddressError("IPv4 addresses require exactly 4 bytes")}for(let u=0;u255){throw new L.AddressError("All bytes must be integers between 0 and 255")}}return this.fromUnsignedByteArray(i)}static fromUnsignedByteArray(i){if(i.length!==4){throw new L.AddressError("IPv4 addresses require exactly 4 bytes")}const u=i.join(".");return new Address4(u)}mask(i){if(i===undefined){i=this.subnetMask}return this.getBitsBase2(0,i)}getBitsBase2(i,u){return this.binaryZeroPad().slice(i,u)}reverseForm(i){if(!i){i={}}const u=this.correctForm().split(".").reverse().join(".");if(i.omitSuffix){return u}return`${u}.in-addr.arpa.`}isMulticast(){return this.isInSubnet(G)}isPrivate(){return z.some((i=>this.isInSubnet(i)))}isLoopback(){return this.isInSubnet(W)}isLinkLocal(){return this.isInSubnet(Y)}isUnspecified(){return this.isInSubnet(J)}isBroadcast(){return this.isInSubnet($)}isCGNAT(){return this.isInSubnet(K)}binaryZeroPad(){if(this._binaryZeroPad===undefined){this._binaryZeroPad=this.bigInt().toString(2).padStart(D.BITS,"0")}return this._binaryZeroPad}groupForV6(){const i=this.parsedAddress;return this.address.replace(D.RE_ADDRESS,`${i.slice(0,2).join(".")}.${i.slice(2,4).join(".")}`)}}u.Address4=Address4;const G=new Address4("224.0.0.0/4");const z=[new Address4("10.0.0.0/8"),new Address4("172.16.0.0/12"),new Address4("192.168.0.0/16")];const W=new Address4("127.0.0.0/8");const Y=new Address4("169.254.0.0/16");const J=new Address4("0.0.0.0/32");const $=new Address4("255.255.255.255/32");const K=new Address4("100.64.0.0/10")},38096:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.Address6=void 0;const P=Q(A(45864));const D=Q(A(66437));const L=Q(A(75280));const U=Q(A(20339));const G=A(17946);const z=A(72016);const W=A(68850);const Y=A(45864);const J=P.isCorrect(L.BITS);function assert(i){if(!i){throw new Error("Assertion failed.")}}function addCommas(i){const u=/(\d+)(\d{3})/;while(u.test(i)){i=i.replace(u,"$1,$2")}return i}function spanLeadingZeroes4(i){i=i.replace(/^(0{1,})([1-9]+)$/,'$1$2');i=i.replace(/^(0{1,})(0)$/,'$1$2');return i}function compact(i,u){const A=[];const I=[];let B;for(B=0;Bu[1]){I.push(i[B])}}return A.concat(["compact"]).concat(I)}function paddedHex(i){return parseInt(i,16).toString(16).padStart(4,"0")}function unsignByte(i){return i&255}class Address6{constructor(i,u){this.addressMinusSuffix="";this.parsedSubnet="";this.subnet="/128";this.subnetMask=128;this.v4=false;this.zone="";this.isInSubnet=P.isInSubnet;this.isCorrect=J;if(u===undefined){this.groups=L.GROUPS}else{this.groups=u}this.address=i;const A=L.RE_SUBNET_STRING.exec(i);if(A){this.parsedSubnet=A[0].replace("/","");this.subnetMask=parseInt(this.parsedSubnet,10);this.subnet=`/${this.subnetMask}`;if(Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>L.BITS){throw new W.AddressError("Invalid subnet mask.")}i=i.replace(L.RE_SUBNET_STRING,"")}else if(/\//.test(i)){throw new W.AddressError("Invalid subnet mask.")}const I=L.RE_ZONE_STRING.exec(i);if(I){this.zone=I[0];i=i.replace(L.RE_ZONE_STRING,"")}this.addressMinusSuffix=i;this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(i){try{new Address6(i);return true}catch(i){return false}}static fromBigInt(i){if(i<0n||i>(1n<65536){A=null}}else{A=null}return{address:new Address6(u),port:A}}static fromAddressAndMask(i,u){const A=P.prefixLengthFromMask(new Address6(u).bigInt(),L.BITS);return new Address6(`${i}/${A}`)}static fromAddressAndWildcardMask(i,u){const A=new Address6(u).bigInt();const I=(BigInt(1)<2){throw new W.AddressError("Wildcard pattern cannot contain more than one '::'")}let A;if(u.length===2){const i=u[0]===""?[]:u[0].split(":");const I=u[1]===""?[]:u[1].split(":");const B=L.GROUPS-i.length-I.length;if(B<1){throw new W.AddressError("Wildcard pattern with '::' has too many groups")}A=[...i,...new Array(B).fill("0"),...I]}else{A=i.split(":")}if(A.length!==L.GROUPS){throw new W.AddressError("Wildcard pattern must have 8 groups")}let I=-1;for(let i=0;ii==="*"?"0":i));const P=L.BITS-B*16;return new Address6(`${Q.join(":")}/${P}`)}static fromAddress4(i){const u=new G.Address4(i);const A=L.BITS-(D.BITS-u.subnetMask);return new Address6(`::ffff:${u.correctForm()}/${A}`)}static fromArpa(i){let u=i.replace(/(\.ip6\.arpa)?\.$/,"");const A=7;if(u.length!==63){throw new W.AddressError("Invalid 'ip6.arpa' form.")}const I=u.split(".").reverse();for(let i=A;i>0;i--){const u=i*4;I.splice(u,0,":")}u=I.join("");return new Address6(u)}microsoftTranscription(){return`${this.correctForm().replace(/:/g,"-")}.ipv6-literal.net`}mask(i=this.subnetMask){return this.getBitsBase2(0,i)}possibleSubnets(i=128){const u=L.BITS-this.subnetMask;const A=Math.abs(i-L.BITS);const I=u-A;if(I<0){return"0"}return addCommas((BigInt("2")**BigInt(I)).toString(10))}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(L.BITS-this.subnetMask)}`)}startAddress(){return Address6.fromBigInt(this._startAddress())}startAddressExclusive(){const i=BigInt("1");return Address6.fromBigInt(this._startAddress()+i)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(L.BITS-this.subnetMask)}`)}endAddress(){return Address6.fromBigInt(this._endAddress())}endAddressExclusive(){const i=BigInt("1");return Address6.fromBigInt(this._endAddress()-i)}subnetMaskAddress(){return Address6.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(L.BITS-this.subnetMask)}`))}wildcardMask(){return Address6.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(L.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}getScope(){const i=this.getType();if(i==="Multicast"||i.startsWith("Multicast ")){const i=L.SCOPES[parseInt(this.getBits(12,16).toString(10),10)];return i||"Unknown"}if(i==="Link-local unicast"||i==="Loopback"){return"Link local"}if(i==="Unspecified"){return"Unknown"}return"Global"}getType(){for(let i=0;i<$.length;i++){const u=$[i];if(this.isInSubnet(u[0])){return u[1]}}return"Global unicast"}getBits(i,u){return BigInt(`0b${this.getBitsBase2(i,u)}`)}getBitsBase2(i,u){return this.binaryZeroPad().slice(i,u)}getBitsBase16(i,u){const A=u-i;if(A%4!==0){throw new Error("Length of bits to retrieve must be divisible by four")}return this.getBits(i,u).toString(16).padStart(A/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,L.BITS)}reverseForm(i){if(!i){i={}}const u=Math.floor(this.subnetMask/4);const A=this.canonicalForm().replace(/:/g,"").split("").slice(0,u).reverse().join(".");if(u>0){if(i.omitSuffix){return A}return`${A}.ip6.arpa.`}if(i.omitSuffix){return""}return"ip6.arpa."}correctForm(){let i;let u=[];let A=0;const I=[];for(i=0;i0){if(A>1){I.push([i-A,i-1])}A=0}}if(A>1){I.push([this.parsedAddress.length-A,this.parsedAddress.length-1])}const B=I.map((i=>i[1]-i[0]+1));if(I.length>0){const i=B.indexOf(Math.max(...B));u=compact(this.parsedAddress,I[i])}else{u=this.parsedAddress}for(i=0;i1?":":"";throw new W.AddressError("IPv4 addresses can't have leading zeroes.",`${A}${I}${i}`)}}this.v4=true;u[u.length-1]=this.address4.toGroup6();i=u.join(":")}return i}parse(i){i=this.parse4in6(i);const u=i.match(L.RE_BAD_CHARACTERS);if(u){throw new W.AddressError(`Bad character${u.length>1?"s":""} detected in address: ${u.join("")}`,i.replace(L.RE_BAD_CHARACTERS,'$1'))}const A=i.match(L.RE_BAD_ADDRESS);if(A){throw new W.AddressError(`Address failed regex: ${A.join("")}`,i.replace(L.RE_BAD_ADDRESS,'$1'))}let I=[];const B=i.split("::");if(B.length===2){let i=B[0].split(":");let u=B[1].split(":");if(i.length===1&&i[0]===""){i=[]}if(u.length===1&&u[0]===""){u=[]}const A=this.groups-(i.length+u.length);if(!A){throw new W.AddressError("Error parsing groups")}this.elidedGroups=A;this.elisionBegin=i.length;this.elisionEnd=i.length+this.elidedGroups;I=I.concat(i);for(let i=0;iparseInt(i,16).toString(16)));if(I.length!==this.groups){throw new W.AddressError("Incorrect number of groups found")}return I}canonicalForm(){return this.parsedAddress.map(paddedHex).join(":")}decimal(){return this.parsedAddress.map((i=>parseInt(i,16).toString(10).padStart(5,"0"))).join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(paddedHex).join("")}`)}to4(){const i=this.binaryZeroPad().split("");return G.Address4.fromHex(BigInt(`0b${i.slice(96,128).join("")}`).toString(16).padStart(8,"0"))}to4in6(){const i=this.to4();const u=new Address6(this.parsedAddress.slice(0,6).join(":"),6);const A=u.correctForm();let I="";if(!/:$/.test(A)){I=":"}return A+I+i.address}inspectTeredo(){const i=this.getBitsBase16(0,32);const u=this.getBits(80,96);const A=(u^BigInt("0xffff")).toString();const I=G.Address4.fromHex(this.getBitsBase16(32,64));const B=this.getBits(96,128);const Q=G.Address4.fromHex((B^BigInt("0xffffffff")).toString(16).padStart(8,"0"));const P=this.getBitsBase2(64,80);const D=(0,Y.testBit)(P,15);const L=(0,Y.testBit)(P,14);const U=(0,Y.testBit)(P,8);const z=(0,Y.testBit)(P,9);const W=BigInt(`0b${P.slice(2,6)+P.slice(8,16)}`).toString(10);return{prefix:`${i.slice(0,4)}:${i.slice(4,8)}`,server4:I.address,client4:Q.address,flags:P,coneNat:D,microsoft:{reserved:L,universalLocal:z,groupIndividual:U,nonce:W},udpPort:A}}inspect6to4(){const i=this.getBitsBase16(0,16);const u=G.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:i.slice(0,4),gateway:u.address}}to6to4(){if(!this.is4()){return null}const i=["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),"","/16"].join(":");return new Address6(i)}static fromAddress4Nat64(i,u="64:ff9b::/96"){const A=new G.Address4(i);const I=new Address6(u);const B=I.subnetMask;if(B!==32&&B!==40&&B!==48&&B!==56&&B!==64&&B!==96){throw new W.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96")}const Q=I.binaryZeroPad();const P=A.binaryZeroPad();let D;if(B===96){D=Q.slice(0,96)+P}else{const i=64-B;D=Q.slice(0,B)+P.slice(0,i)+"00000000"+P.slice(i)+"0".repeat(128-72-(32-i))}const L=BigInt(`0b${D}`).toString(16).padStart(32,"0");const U=[];for(let i=0;i<8;i++){U.push(L.slice(i*4,(i+1)*4))}return new Address6(U.join(":"))}toAddress4Nat64(i="64:ff9b::/96"){const u=new Address6(i);const A=u.subnetMask;if(A!==32&&A!==40&&A!==48&&A!==56&&A!==64&&A!==96){throw new W.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96")}if(!this.isInSubnet(u)){return null}const I=this.binaryZeroPad();let B;if(A===96){B=I.slice(96,128)}else{const i=64-A;B=I.slice(A,A+i)+I.slice(72,72+(32-i))}const Q=[];for(let i=0;i<4;i++){Q.push(parseInt(B.slice(i*8,(i+1)*8),2).toString())}return new G.Address4(Q.join("."))}toByteArray(){const i=this.bigInt().toString(16);const u="0".repeat(i.length%2);const A=`${u}${i}`;const I=[];for(let i=0,u=A.length;i=0;B--){A+=I*BigInt(i[B].toString(10));I*=u}return Address6.fromBigInt(A)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){if(this.getBitsBase2(0,64)==="1111111010000000000000000000000000000000000000000000000000000000"){return true}return false}isMulticast(){const i=this.getType();return i==="Multicast"||i.startsWith("Multicast ")}is4(){return this.v4}isMapped4(){return this.isInSubnet(ye)}isTeredo(){return this.isInSubnet(K)}is6to4(){return this.isInSubnet(X)}isLoopback(){return this.getType()==="Loopback"}isULA(){return this.isInSubnet(he)}isUnspecified(){return this.getType()==="Unspecified"}isDocumentation(){return this.isInSubnet(Ae)}href(i){if(i===undefined){i=""}else{i=`:${i}`}return`http://[${this.correctForm()}]${i}/`}link(i){if(!i){i={}}if(i.className===undefined){i.className=""}if(i.prefix===undefined){i.prefix="/#address="}if(i.v4===undefined){i.v4=false}let u=this.correctForm;if(i.v4){u=this.to4in6}const A=u.call(this);const I=U.escapeHtml(`${i.prefix}${A}`);const B=U.escapeHtml(A);if(i.className){const u=U.escapeHtml(i.className);return`${B}`}return`${B}`}group(){if(this.elidedGroups===0){return U.simpleGroup(this.addressMinusSuffix).join(":")}assert(typeof this.elidedGroups==="number");assert(typeof this.elisionBegin==="number");const i=[];const[u,A]=this.addressMinusSuffix.split("::");if(u.length){i.push(...U.simpleGroup(u))}else{i.push("")}const I=["hover-group"];for(let i=this.elisionBegin;i`);if(A.length){i.push(...U.simpleGroup(A,this.elisionEnd))}else{i.push("")}if(this.is4()){assert(this.address4 instanceof G.Address4);i.pop();i.push(this.address4.groupForV6())}return i.join(":")}regularExpressionString(i=false){let u=[];const A=new Address6(this.correctForm());if(A.elidedGroups===0){u.push((0,z.simpleRegularExpression)(A.parsedAddress))}else if(A.elidedGroups===L.GROUPS){u.push((0,z.possibleElisions)(L.GROUPS))}else{const i=A.address.split("::");if(i[0].length){u.push((0,z.simpleRegularExpression)(i[0].split(":")))}assert(typeof A.elidedGroups==="number");u.push((0,z.possibleElisions)(A.elidedGroups,i[0].length!==0,i[1].length!==0));if(i[1].length){u.push((0,z.simpleRegularExpression)(i[1].split(":")))}u=[u.join(":")]}if(!i){u=["(?=^|",z.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...u,")(?=[^\\w\\:]|",z.ADDRESS_BOUNDARY,"|$)"]}return u.join("")}regularExpression(i=false){return new RegExp(this.regularExpressionString(i),"i")}}u.Address6=Address6;const $=Object.keys(L.TYPES).map((i=>[new Address6(i),L.TYPES[i]]));const K=new Address6("2001::/32");const X=new Address6("2002::/16");const he=new Address6("fc00::/7");const Ae=new Address6("2001:db8::/32");const ye=new Address6("::ffff:0:0/96")},66437:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.RE_SUBNET_STRING=u.RE_ADDRESS=u.GROUPS=u.BITS=void 0;u.BITS=32;u.GROUPS=4;u.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g;u.RE_SUBNET_STRING=/\/\d{1,2}$/},75280:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.RE_URL_WITH_PORT=u.RE_URL=u.RE_ZONE_STRING=u.RE_SUBNET_STRING=u.RE_BAD_ADDRESS=u.RE_BAD_CHARACTERS=u.TYPES=u.SCOPES=u.GROUPS=u.BITS=void 0;u.BITS=128;u.GROUPS=8;u.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"};u.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","ff00::/8":"Multicast","fe80::/10":"Link-local unicast","fc00::/7":"Unique local","2002::/16":"6to4","2001:db8::/32":"Documentation","64:ff9b::/96":"NAT64 (well-known)","64:ff9b:1::/48":"NAT64 (local-use)"};u.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi;u.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi;u.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/;u.RE_ZONE_STRING=/%.*$/;u.RE_URL=/^\[{0,1}([0-9a-f:]+)\]{0,1}/;u.RE_URL_WITH_PORT=/\[([0-9a-f:]+)\]:([0-9]{1,5})/},20339:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.escapeHtml=escapeHtml;u.spanAllZeroes=spanAllZeroes;u.spanAll=spanAll;u.spanLeadingZeroes=spanLeadingZeroes;u.simpleGroup=simpleGroup;function escapeHtml(i){return i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function spanAllZeroes(i){return escapeHtml(i).replace(/(0+)/g,'$1')}function spanAll(i,u=0){const A=i.split("");return A.map(((i,A)=>`${spanAllZeroes(i)}`)).join("")}function spanLeadingZeroesSimple(i){return escapeHtml(i).replace(/^(0+)/,'$1')}function spanLeadingZeroes(i){const u=i.split(":");return u.map((i=>spanLeadingZeroesSimple(i))).join(":")}function simpleGroup(i,u=0){const A=i.split(":");return A.map(((i,A)=>{if(/group-v4/.test(i)){return i}return`${spanLeadingZeroesSimple(i)}`}))}},72016:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.ADDRESS_BOUNDARY=void 0;u.groupPossibilities=groupPossibilities;u.padGroup=padGroup;u.simpleRegularExpression=simpleRegularExpression;u.possibleElisions=possibleElisions;const P=Q(A(75280));function groupPossibilities(i){return`(${i.join("|")})`}function padGroup(i){if(i.length<4){return`0{0,${4-i.length}}${i}`}return i}u.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]";function simpleRegularExpression(i){const u=[];i.forEach(((i,A)=>{const I=parseInt(i,16);if(I===0){u.push(A)}}));const A=u.map((u=>i.map(((i,A)=>{if(A===u){const u=A===0||A===P.GROUPS-1?":":"";return groupPossibilities([padGroup(i),u])}return padGroup(i)})).join(":")));A.push(i.map(padGroup).join(":"));return groupPossibilities(A)}function possibleElisions(i,u,A){const I=u?"":":";const B=A?"":":";const Q=[];if(!u&&!A){Q.push("::")}if(u&&A){Q.push("")}if(A&&!u||!A&&u){Q.push(":")}Q.push(`${I}(:0{1,4}){1,${i-1}}`);Q.push(`(0{1,4}:){1,${i-1}}${B}`);Q.push(`(0{1,4}:){${i-1}}0{1,4}`);for(let u=1;u{"use strict";const isStream=i=>i!==null&&typeof i==="object"&&typeof i.pipe==="function";isStream.writable=i=>isStream(i)&&i.writable!==false&&typeof i._write==="function"&&typeof i._writableState==="object";isStream.readable=i=>isStream(i)&&i.readable!==false&&typeof i._read==="function"&&typeof i._readableState==="object";isStream.duplex=i=>isStream.writable(i)&&isStream.readable(i);isStream.transform=i=>isStream.duplex(i)&&typeof i._transform==="function";i.exports=isStream},82513:i=>{var u={}.toString;i.exports=Array.isArray||function(i){return u.call(i)=="[object Array]"}},74281:(i,u,A)=>{"use strict";const I=A(91950);const B=A(59980);function renamed(i,u){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+u+" instead, which is now safe by default.")}}i.exports.Type=A(9557);i.exports.Schema=A(62046);i.exports.FAILSAFE_SCHEMA=A(69832);i.exports.JSON_SCHEMA=A(58927);i.exports.CORE_SCHEMA=A(55746);i.exports.DEFAULT_SCHEMA=A(97336);i.exports.load=I.load;i.exports.loadAll=I.loadAll;i.exports.dump=B.dump;i.exports.YAMLException=A(41248);i.exports.types={binary:A(8149),float:A(57584),map:A(47316),null:A(4333),pairs:A(16267),set:A(78758),timestamp:A(28966),bool:A(67296),int:A(62271),merge:A(76854),omap:A(58649),seq:A(77161),str:A(53929)};i.exports.safeLoad=renamed("safeLoad","load");i.exports.safeLoadAll=renamed("safeLoadAll","loadAll");i.exports.safeDump=renamed("safeDump","dump")},19816:i=>{"use strict";function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,u){if(u){const A=Object.keys(u);for(let I=0,B=A.length;I{"use strict";const I=A(19816);const B=A(41248);const Q=A(97336);const P=Object.prototype.toString;const D=Object.prototype.hasOwnProperty;const L=65279;const U=9;const G=10;const z=13;const W=32;const Y=33;const J=34;const $=35;const K=37;const X=38;const he=39;const Ae=42;const ye=44;const be=45;const Ee=58;const Ce=61;const we=62;const ve=63;const Se=64;const Re=91;const Ne=93;const _e=96;const Oe=123;const xe=124;const ke=125;const Qe={};Qe[0]="\\0";Qe[7]="\\a";Qe[8]="\\b";Qe[9]="\\t";Qe[10]="\\n";Qe[11]="\\v";Qe[12]="\\f";Qe[13]="\\r";Qe[27]="\\e";Qe[34]='\\"';Qe[92]="\\\\";Qe[133]="\\N";Qe[160]="\\_";Qe[8232]="\\L";Qe[8233]="\\P";const Pe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];const De=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(i,u){if(u===null)return{};const A={};const I=Object.keys(u);for(let B=0,Q=I.length;B=32&&i<=126||i>=161&&i<=55295&&i!==8232&&i!==8233||i>=57344&&i<=65533&&i!==L||i>=65536&&i<=1114111}function isNsCharOrWhitespace(i){return isPrintable(i)&&i!==L&&i!==z&&i!==G}function isPlainSafe(i,u,A){const I=isNsCharOrWhitespace(i);const B=I&&!isWhitespace(i);return(A?I:I&&i!==ye&&i!==Re&&i!==Ne&&i!==Oe&&i!==ke)&&i!==$&&!(u===Ee&&!B)||isNsCharOrWhitespace(u)&&!isWhitespace(u)&&i===$||u===Ee&&B}function isPlainSafeFirst(i){return isPrintable(i)&&i!==L&&!isWhitespace(i)&&i!==be&&i!==ve&&i!==Ee&&i!==ye&&i!==Re&&i!==Ne&&i!==Oe&&i!==ke&&i!==$&&i!==X&&i!==Ae&&i!==Y&&i!==xe&&i!==Ce&&i!==we&&i!==he&&i!==J&&i!==K&&i!==Se&&i!==_e}function isPlainSafeLast(i){return!isWhitespace(i)&&i!==Ee}function codePointAt(i,u){const A=i.charCodeAt(u);let I;if(A>=55296&&A<=56319&&u+1=56320&&I<=57343){return(A-55296)*1024+I-56320+65536}}return A}function needIndentIndicator(i){const u=/^\n* /;return u.test(i)}const Ue=1;const je=2;const He=3;const Ge=4;const qe=5;function chooseScalarStyle(i,u,A,I,B,Q,P,D){let L;let U=0;let z=null;let W=false;let Y=false;const J=I!==-1;let $=-1;let K=isPlainSafeFirst(codePointAt(i,0))&&isPlainSafeLast(codePointAt(i,i.length-1));if(u||P){for(L=0;L=65536?L+=2:L++){U=codePointAt(i,L);if(!isPrintable(U)){return qe}K=K&&isPlainSafe(U,z,D);z=U}}else{for(L=0;L=65536?L+=2:L++){U=codePointAt(i,L);if(U===G){W=true;if(J){Y=Y||L-$-1>I&&i[$+1]!==" ";$=L}}else if(!isPrintable(U)){return qe}K=K&&isPlainSafe(U,z,D);z=U}Y=Y||J&&(L-$-1>I&&i[$+1]!==" ")}if(!W&&!Y){if(K&&!P&&!B(i)){return Ue}return Q===Fe?qe:je}if(A>9&&needIndentIndicator(i)){return qe}if(!P){return Y?Ge:He}return Q===Fe?qe:je}function writeScalar(i,u,A,I,Q){i.dump=function(){if(u.length===0){return i.quotingType===Fe?'""':"''"}if(!i.noCompatMode){if(Pe.indexOf(u)!==-1||De.test(u)){return i.quotingType===Fe?'"'+u+'"':"'"+u+"'"}}const P=i.indent*Math.max(1,A);const D=i.lineWidth===-1?-1:Math.max(Math.min(i.lineWidth,40),i.lineWidth-P);const L=I||i.flowLevel>-1&&A>=i.flowLevel;function testAmbiguity(u){return testImplicitResolving(i,u)}switch(chooseScalarStyle(u,L,i.indent,D,testAmbiguity,i.quotingType,i.forceQuotes&&!I,Q)){case Ue:return u;case je:return"'"+u.replace(/'/g,"''")+"'";case He:return"|"+blockHeader(u,i.indent)+dropEndingNewline(indentString(u,P));case Ge:return">"+blockHeader(u,i.indent)+dropEndingNewline(indentString(foldString(u,D),P));case qe:return'"'+escapeString(u,D)+'"';default:throw new B("impossible error: invalid scalar style")}}()}function blockHeader(i,u){const A=needIndentIndicator(i)?String(u):"";const I=i[i.length-1]==="\n";const B=I&&(i[i.length-2]==="\n"||i==="\n");const Q=B?"+":I?"":"-";return A+Q+"\n"}function dropEndingNewline(i){return i[i.length-1]==="\n"?i.slice(0,-1):i}function foldString(i,u){const A=/(\n+)([^\n]*)/g;let I=function(){let I=i.indexOf("\n");I=I!==-1?I:i.length;A.lastIndex=I;return foldLine(i.slice(0,I),u)}();let B=i[0]==="\n"||i[0]===" ";let Q;let P;while(P=A.exec(i)){const i=P[1];const A=P[2];Q=A[0]===" ";I+=i+(!B&&!Q&&A!==""?"\n":"")+foldLine(A,u);B=Q}return I}function foldLine(i,u){if(i===""||i[0]===" ")return i;const A=/ [^ ]/g;let I;let B=0;let Q;let P=0;let D=0;let L="";while(I=A.exec(i)){D=I.index;if(D-B>u){Q=P>B?P:D;L+="\n"+i.slice(B,Q);B=Q+1}P=D}L+="\n";if(i.length-B>u&&P>B){L+=i.slice(B,P)+"\n"+i.slice(P+1)}else{L+=i.slice(B)}return L.slice(1)}function escapeString(i){let u="";let A=0;for(let I=0;I=65536?I+=2:I++){A=codePointAt(i,I);const B=Qe[A];if(!B&&isPrintable(A)){u+=i[I];if(A>=65536)u+=i[I+1]}else{u+=B||encodeHex(A)}}return u}function writeFlowSequence(i,u,A){let I="";const B=i.tag;for(let B=0,Q=A.length;B1024)P+="? ";P+=i.dump+(i.condenseFlow?'"':"")+":"+(i.condenseFlow?"":" ");if(!writeNode(i,u,L,false,false)){continue}P+=i.dump;I+=P}i.tag=B;i.dump="{"+I+"}"}function writeBlockMapping(i,u,A,I){let Q="";const P=i.tag;const D=Object.keys(A);if(i.sortKeys===true){D.sort()}else if(typeof i.sortKeys==="function"){D.sort(i.sortKeys)}else if(i.sortKeys){throw new B("sortKeys must be a boolean or a function")}for(let B=0,P=D.length;B1024;if(z){if(i.dump&&G===i.dump.charCodeAt(0)){P+="?"}else{P+="? "}}P+=i.dump;if(z){P+=generateNextLine(i,u)}if(!writeNode(i,u+1,U,true,z)){continue}if(i.dump&&G===i.dump.charCodeAt(0)){P+=":"}else{P+=": "}P+=i.dump;Q+=P}i.tag=P;i.dump=Q||"{}"}function detectType(i,u,A){const I=A?i.explicitTypes:i.implicitTypes;for(let Q=0,L=I.length;Q tag resolver accepts not "'+A+'" style')}i.dump=I}return true}}return false}function writeNode(i,u,A,I,Q,D,L){i.tag=null;i.dump=A;if(!detectType(i,A,false)){detectType(i,A,true)}const U=P.call(i.dump);const G=I;if(I){I=i.flowLevel<0||i.flowLevel>u}const z=U==="[object Object]"||U==="[object Array]";let W;let Y;if(z){W=i.duplicates.indexOf(A);Y=W!==-1}if(i.tag!==null&&i.tag!=="?"||Y||i.indent!==2&&u>0){Q=false}if(Y&&i.usedDuplicates[W]){i.dump="*ref_"+W}else{if(z&&Y&&!i.usedDuplicates[W]){i.usedDuplicates[W]=true}if(U==="[object Object]"){if(I&&Object.keys(i.dump).length!==0){writeBlockMapping(i,u,i.dump,Q);if(Y){i.dump="&ref_"+W+i.dump}}else{writeFlowMapping(i,u,i.dump);if(Y){i.dump="&ref_"+W+" "+i.dump}}}else if(U==="[object Array]"){if(I&&i.dump.length!==0){if(i.noArrayIndent&&!L&&u>0){writeBlockSequence(i,u-1,i.dump,Q)}else{writeBlockSequence(i,u,i.dump,Q)}if(Y){i.dump="&ref_"+W+i.dump}}else{writeFlowSequence(i,u,i.dump);if(Y){i.dump="&ref_"+W+" "+i.dump}}}else if(U==="[object String]"){if(i.tag!=="?"){writeScalar(i,i.dump,u,D,G)}}else if(U==="[object Undefined]"){return false}else{if(i.skipInvalid)return false;throw new B("unacceptable kind of an object to dump "+U)}if(i.tag!==null&&i.tag!=="?"){let u=encodeURI(i.tag[0]==="!"?i.tag.slice(1):i.tag).replace(/!/g,"%21");if(i.tag[0]==="!"){u="!"+u}else if(u.slice(0,18)==="tag:yaml.org,2002:"){u="!!"+u.slice(18)}else{u="!<"+u+">"}i.dump=u+" "+i.dump}}return true}function getDuplicateReferences(i,u){const A=[];const I=[];inspectNode(i,A,I);const B=I.length;for(let i=0;i{"use strict";function formatError(i,u){let A="";const I=i.reason||"(unknown reason)";if(!i.mark)return I;if(i.mark.name){A+='in "'+i.mark.name+'" '}A+="("+(i.mark.line+1)+":"+(i.mark.column+1)+")";if(!u&&i.mark.snippet){A+="\n\n"+i.mark.snippet}return I+" "+A}function YAMLException(i,u){Error.call(this);this.name="YAMLException";this.reason=i;this.mark=u;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(i){return this.name+": "+formatError(this,i)};i.exports=YAMLException},91950:(i,u,A)=>{"use strict";const I=A(19816);const B=A(41248);const Q=A(9440);const P=A(97336);const D=Object.prototype.hasOwnProperty;const L=1;const U=2;const G=3;const z=4;const W=1;const Y=2;const J=3;const $=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;const K=/[\x85\u2028\u2029]/;const X=/[,\[\]{}]/;const he=/^(?:!|!!|![0-9A-Za-z-]+!)$/;const Ae=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function _class(i){return Object.prototype.toString.call(i)}function isEol(i){return i===10||i===13}function isWhiteSpace(i){return i===9||i===32}function isWsOrEol(i){return i===9||i===32||i===10||i===13}function isFlowIndicator(i){return i===44||i===91||i===93||i===123||i===125}function fromHexCode(i){if(i>=48&&i<=57){return i-48}const u=i|32;if(u>=97&&u<=102){return u-97+10}return-1}function escapedHexLen(i){if(i===120){return 2}if(i===117){return 4}if(i===85){return 8}return 0}function fromDecimalCode(i){if(i>=48&&i<=57){return i-48}return-1}function simpleEscapeSequence(i){switch(i){case 48:return"\0";case 97:return"";case 98:return"\b";case 116:return"\t";case 9:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"…";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function charFromCodepoint(i){if(i<=65535){return String.fromCharCode(i)}return String.fromCharCode((i-65536>>10)+55296,(i-65536&1023)+56320)}function setProperty(i,u,A){if(u==="__proto__"){Object.defineProperty(i,u,{configurable:true,enumerable:true,writable:true,value:A})}else{i[u]=A}}const ye=new Array(256);const be=new Array(256);for(let i=0;i<256;i++){ye[i]=simpleEscapeSequence(i)?1:0;be[i]=simpleEscapeSequence(i)}function State(i,u){this.input=i;this.filename=u["filename"]||null;this.schema=u["schema"]||P;this.onWarning=u["onWarning"]||null;this.legacy=u["legacy"]||false;this.json=u["json"]||false;this.listener=u["listener"]||null;this.maxDepth=typeof u["maxDepth"]==="number"?u["maxDepth"]:100;this.maxMergeSeqLength=typeof u["maxMergeSeqLength"]==="number"?u["maxMergeSeqLength"]:20;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=i.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.depth=0;this.firstTabInLine=-1;this.documents=[];this.anchorMapTransactions=[]}function generateError(i,u){const A={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};A.snippet=Q(A);return new B(u,A)}function throwError(i,u){throw generateError(i,u)}function throwWarning(i,u){if(i.onWarning){i.onWarning.call(null,generateError(i,u))}}function storeAnchor(i,u,A){const I=i.anchorMapTransactions;if(I.length!==0){const A=I[I.length-1];if(!D.call(A,u)){A[u]={existed:D.call(i.anchorMap,u),value:i.anchorMap[u]}}}i.anchorMap[u]=A}function beginAnchorTransaction(i){i.anchorMapTransactions.push(Object.create(null))}function commitAnchorTransaction(i){const u=i.anchorMapTransactions.pop();const A=i.anchorMapTransactions;if(A.length===0)return;const I=A[A.length-1];const B=Object.keys(u);for(let i=0,A=B.length;i=0;I-=1){const B=u[A[I]];if(B.existed){i.anchorMap[A[I]]=B.value}else{delete i.anchorMap[A[I]]}}}function snapshotState(i){return{position:i.position,line:i.line,lineStart:i.lineStart,lineIndent:i.lineIndent,firstTabInLine:i.firstTabInLine,tag:i.tag,anchor:i.anchor,kind:i.kind,result:i.result}}function restoreState(i,u){i.position=u.position;i.line=u.line;i.lineStart=u.lineStart;i.lineIndent=u.lineIndent;i.firstTabInLine=u.firstTabInLine;i.tag=u.tag;i.anchor=u.anchor;i.kind=u.kind;i.result=u.result}const Ee={YAML:function handleYamlDirective(i,u,A){if(i.version!==null){throwError(i,"duplication of %YAML directive")}if(A.length!==1){throwError(i,"YAML directive accepts exactly one argument")}const I=/^([0-9]+)\.([0-9]+)$/.exec(A[0]);if(I===null){throwError(i,"ill-formed argument of the YAML directive")}const B=parseInt(I[1],10);const Q=parseInt(I[2],10);if(B!==1){throwError(i,"unacceptable YAML version of the document")}i.version=A[0];i.checkLineBreaks=Q<2;if(Q!==1&&Q!==2){throwWarning(i,"unsupported YAML version of the document")}},TAG:function handleTagDirective(i,u,A){let I;if(A.length!==2){throwError(i,"TAG directive accepts exactly two arguments")}const B=A[0];I=A[1];if(!he.test(B)){throwError(i,"ill-formed tag handle (first argument) of the TAG directive")}if(D.call(i.tagMap,B)){throwError(i,'there is a previously declared suffix for "'+B+'" tag handle')}if(!Ae.test(I)){throwError(i,"ill-formed tag prefix (second argument) of the TAG directive")}try{I=decodeURIComponent(I)}catch(u){throwError(i,"tag prefix is malformed: "+I)}i.tagMap[B]=I}};function captureSegment(i,u,A,I){if(u=32&&A<=1114111)){throwError(i,"expected valid JSON character")}}}else if($.test(B)){throwError(i,"the stream contains non-printable characters")}i.result+=B}}function mergeMappings(i,u,A,B){if(!I.isObject(A)){throwError(i,"cannot merge mappings; the provided source object is unacceptable")}const Q=Object.keys(A);for(let i=0,I=Q.length;ii.maxMergeSeqLength){throwError(i,"merge sequence length exceeded maxMergeSeqLength ("+i.maxMergeSeqLength+")")}const I=new Set;for(let B=0,P=Q.length;B1){i.result+=I.repeat("\n",u-1)}}function readPlainScalar(i,u,A){let I;let B;let Q;let P;let D;let L;const U=i.kind;const G=i.result;let z=i.input.charCodeAt(i.position);if(isWsOrEol(z)||isFlowIndicator(z)||z===35||z===38||z===42||z===33||z===124||z===62||z===39||z===34||z===37||z===64||z===96){return false}if(z===63||z===45){const u=i.input.charCodeAt(i.position+1);if(isWsOrEol(u)||A&&isFlowIndicator(u)){return false}}i.kind="scalar";i.result="";I=B=i.position;Q=false;while(z!==0){if(z===58){const u=i.input.charCodeAt(i.position+1);if(isWsOrEol(u)||A&&isFlowIndicator(u)){break}}else if(z===35){const u=i.input.charCodeAt(i.position-1);if(isWsOrEol(u)){break}}else if(i.position===i.lineStart&&testDocumentSeparator(i)||A&&isFlowIndicator(z)){break}else if(isEol(z)){P=i.line;D=i.lineStart;L=i.lineIndent;skipSeparationSpace(i,false,-1);if(i.lineIndent>=u){Q=true;z=i.input.charCodeAt(i.position);continue}else{i.position=B;i.line=P;i.lineStart=D;i.lineIndent=L;break}}if(Q){captureSegment(i,I,B,false);writeFoldedLines(i,i.line-P);I=B=i.position;Q=false}if(!isWhiteSpace(z)){B=i.position+1}z=i.input.charCodeAt(++i.position)}captureSegment(i,I,B,false);if(i.result){return true}i.kind=U;i.result=G;return false}function readSingleQuotedScalar(i,u){let A;let I;let B=i.input.charCodeAt(i.position);if(B!==39){return false}i.kind="scalar";i.result="";i.position++;A=I=i.position;while((B=i.input.charCodeAt(i.position))!==0){if(B===39){captureSegment(i,A,i.position,true);B=i.input.charCodeAt(++i.position);if(B===39){A=i.position;i.position++;I=i.position}else{return true}}else if(isEol(B)){captureSegment(i,A,I,true);writeFoldedLines(i,skipSeparationSpace(i,false,u));A=I=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a single quoted scalar")}else{i.position++;if(!isWhiteSpace(B)){I=i.position}}}throwError(i,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(i,u){let A;let I;let B;let Q=i.input.charCodeAt(i.position);if(Q!==34){return false}i.kind="scalar";i.result="";i.position++;A=I=i.position;while((Q=i.input.charCodeAt(i.position))!==0){if(Q===34){captureSegment(i,A,i.position,true);i.position++;return true}else if(Q===92){captureSegment(i,A,i.position,true);Q=i.input.charCodeAt(++i.position);if(isEol(Q)){skipSeparationSpace(i,false,u)}else if(Q<256&&ye[Q]){i.result+=be[Q];i.position++}else if((B=escapedHexLen(Q))>0){let u=B;let A=0;for(;u>0;u--){Q=i.input.charCodeAt(++i.position);if((B=fromHexCode(Q))>=0){A=(A<<4)+B}else{throwError(i,"expected hexadecimal character")}}i.result+=charFromCodepoint(A);i.position++}else{throwError(i,"unknown escape sequence")}A=I=i.position}else if(isEol(Q)){captureSegment(i,A,I,true);writeFoldedLines(i,skipSeparationSpace(i,false,u));A=I=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a double quoted scalar")}else{i.position++;if(!isWhiteSpace(Q)){I=i.position}}}throwError(i,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(i,u){let A=true;let I;let B;let Q;const P=i.tag;let D;const U=i.anchor;let G;let z;let W;let Y;const J=Object.create(null);let $;let K;let X;let he=i.input.charCodeAt(i.position);if(he===91){G=93;Y=false;D=[]}else if(he===123){G=125;Y=true;D={}}else{return false}if(i.anchor!==null){storeAnchor(i,i.anchor,D)}he=i.input.charCodeAt(++i.position);while(he!==0){skipSeparationSpace(i,true,u);he=i.input.charCodeAt(i.position);if(he===G){i.position++;i.tag=P;i.anchor=U;i.kind=Y?"mapping":"sequence";i.result=D;return true}else if(!A){throwError(i,"missed comma between flow collection entries")}else if(he===44){throwError(i,"expected the node content, but found ','")}K=$=X=null;z=W=false;if(he===63){const A=i.input.charCodeAt(i.position+1);if(isWsOrEol(A)){z=W=true;i.position++;skipSeparationSpace(i,true,u)}}I=i.line;B=i.lineStart;Q=i.position;composeNode(i,u,L,false,true);K=i.tag;$=i.result;skipSeparationSpace(i,true,u);he=i.input.charCodeAt(i.position);if((W||i.line===I)&&he===58){z=true;he=i.input.charCodeAt(++i.position);skipSeparationSpace(i,true,u);composeNode(i,u,L,false,true);X=i.result}if(Y){storeMappingPair(i,D,J,K,$,X,I,B,Q)}else if(z){D.push(storeMappingPair(i,null,J,K,$,X,I,B,Q))}else{D.push($)}skipSeparationSpace(i,true,u);he=i.input.charCodeAt(i.position);if(he===44){A=true;he=i.input.charCodeAt(++i.position)}else{A=false}}throwError(i,"unexpected end of the stream within a flow collection")}function readBlockScalar(i,u){let A;let B=W;let Q=false;let P=false;let D=u;let L=0;let U=false;let G;let z=i.input.charCodeAt(i.position);if(z===124){A=false}else if(z===62){A=true}else{return false}i.kind="scalar";i.result="";while(z!==0){z=i.input.charCodeAt(++i.position);if(z===43||z===45){if(W===B){B=z===43?J:Y}else{throwError(i,"repeat of a chomping mode identifier")}}else if((G=fromDecimalCode(z))>=0){if(G===0){throwError(i,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!P){D=u+G-1;P=true}else{throwError(i,"repeat of an indentation width identifier")}}else{break}}if(isWhiteSpace(z)){do{z=i.input.charCodeAt(++i.position)}while(isWhiteSpace(z));if(z===35){do{z=i.input.charCodeAt(++i.position)}while(!isEol(z)&&z!==0)}}while(z!==0){readLineBreak(i);i.lineIndent=0;z=i.input.charCodeAt(i.position);while((!P||i.lineIndentD){D=i.lineIndent}if(isEol(z)){L++;continue}if(!P&&D===0){throwError(i,"missing indentation for block scalar")}if(i.lineIndentu)&&P!==0){throwError(i,"bad indentation of a sequence entry")}else if(i.lineIndentu){if(K){B=i.line;Q=i.lineStart;P=i.position}if(composeNode(i,u,z,true,I)){if(K){J=i.result}else{$=i.result}}if(!K){storeMappingPair(i,G,W,Y,J,$,B,Q,P);Y=J=$=null}skipSeparationSpace(i,true,-1);he=i.input.charCodeAt(i.position)}if((i.line===ye||i.lineIndent>u)&&he!==0){throwError(i,"bad indentation of a mapping entry")}else if(i.lineIndent=i.maxDepth){throwError(i,"nesting exceeded maxDepth ("+i.maxDepth+")")}i.depth+=1;if(i.listener!==null){i.listener("open",i)}i.tag=null;i.anchor=null;i.kind=null;i.result=null;const Ae=Q=P=z===A||G===A;if(I){if(skipSeparationSpace(i,true,-1)){Y=true;if(i.lineIndent>u){W=1}else if(i.lineIndent===u){W=0}else if(i.lineIndentu){W=1}else if(i.lineIndent===u){W=0}else if(i.lineIndent tag; it should be "scalar", not "'+i.kind+'"')}for(let u=0,A=i.implicitTypes.length;u")}if(i.result!==null&&K.kind!==i.kind){throwError(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+K.kind+'", not "'+i.kind+'"')}if(!K.resolve(i.result,i.tag)){throwError(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}else{i.result=K.construct(i.result,i.tag);if(i.anchor!==null){storeAnchor(i,i.anchor,i.result)}}}if(i.listener!==null){i.listener("close",i)}i.depth-=1;return i.tag!==null||i.anchor!==null||J}function readDocument(i){const u=i.position;let A=false;let I;i.version=null;i.checkLineBreaks=i.legacy;i.tagMap=Object.create(null);i.anchorMap=Object.create(null);while((I=i.input.charCodeAt(i.position))!==0){skipSeparationSpace(i,true,-1);I=i.input.charCodeAt(i.position);if(i.lineIndent>0||I!==37){break}A=true;I=i.input.charCodeAt(++i.position);let u=i.position;while(I!==0&&!isWsOrEol(I)){I=i.input.charCodeAt(++i.position)}const B=i.input.slice(u,i.position);const Q=[];if(B.length<1){throwError(i,"directive name must not be less than one character in length")}while(I!==0){while(isWhiteSpace(I)){I=i.input.charCodeAt(++i.position)}if(I===35){do{I=i.input.charCodeAt(++i.position)}while(I!==0&&!isEol(I));break}if(isEol(I))break;u=i.position;while(I!==0&&!isWsOrEol(I)){I=i.input.charCodeAt(++i.position)}Q.push(i.input.slice(u,i.position))}if(I!==0)readLineBreak(i);if(D.call(Ee,B)){Ee[B](i,B,Q)}else{throwWarning(i,'unknown document directive "'+B+'"')}}skipSeparationSpace(i,true,-1);if(i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45){i.position+=3;skipSeparationSpace(i,true,-1)}else if(A){throwError(i,"directives end mark is expected")}composeNode(i,i.lineIndent-1,z,false,true);skipSeparationSpace(i,true,-1);if(i.checkLineBreaks&&K.test(i.input.slice(u,i.position))){throwWarning(i,"non-ASCII line breaks are interpreted as content")}i.documents.push(i.result);if(i.position===i.lineStart&&testDocumentSeparator(i)){if(i.input.charCodeAt(i.position)===46){i.position+=3;skipSeparationSpace(i,true,-1)}return}if(i.position{"use strict";const I=A(41248);const B=A(9557);function compileList(i,u){const A=[];i[u].forEach((function(i){let u=A.length;A.forEach((function(A,I){if(A.tag===i.tag&&A.kind===i.kind&&A.multi===i.multi){u=I}}));A[u]=i}));return A}function compileMap(){const i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function collectType(u){if(u.multi){i.multi[u.kind].push(u);i.multi["fallback"].push(u)}else{i[u.kind][u.tag]=i["fallback"][u.tag]=u}}for(let i=0,u=arguments.length;i{"use strict";i.exports=A(58927)},97336:(i,u,A)=>{"use strict";i.exports=A(55746).extend({implicit:[A(28966),A(76854)],explicit:[A(8149),A(58649),A(16267),A(78758)]})},69832:(i,u,A)=>{"use strict";const I=A(62046);i.exports=new I({explicit:[A(53929),A(77161),A(47316)]})},58927:(i,u,A)=>{"use strict";i.exports=A(69832).extend({implicit:[A(4333),A(67296),A(62271),A(57584)]})},9440:(i,u,A)=>{"use strict";const I=A(19816);function getLine(i,u,A,I,B){let Q="";let P="";const D=Math.floor(B/2)-1;if(I-u>D){Q=" ... ";u=I-D+Q.length}if(A-I>D){P=" ...";A=I+D-P.length}return{str:Q+i.slice(u,A).replace(/\t/g,"→")+P,pos:I-u+Q.length}}function padStart(i,u){return I.repeat(" ",u-i.length)+i}function makeSnippet(i,u){u=Object.create(u||null);if(!i.buffer)return null;if(!u.maxLength)u.maxLength=79;if(typeof u.indent!=="number")u.indent=1;if(typeof u.linesBefore!=="number")u.linesBefore=3;if(typeof u.linesAfter!=="number")u.linesAfter=2;const A=/\r?\n|\r|\0/g;const B=[0];const Q=[];let P;let D=-1;while(P=A.exec(i.buffer)){Q.push(P.index);B.push(P.index+P[0].length);if(i.position<=P.index&&D<0){D=B.length-2}}if(D<0)D=B.length-1;let L="";const U=Math.min(i.line+u.linesAfter,Q.length).toString().length;const G=u.maxLength-(u.indent+U+3);for(let A=1;A<=u.linesBefore;A++){if(D-A<0)break;const P=getLine(i.buffer,B[D-A],Q[D-A],i.position-(B[D]-B[D-A]),G);L=I.repeat(" ",u.indent)+padStart((i.line-A+1).toString(),U)+" | "+P.str+"\n"+L}const z=getLine(i.buffer,B[D],Q[D],i.position,G);L+=I.repeat(" ",u.indent)+padStart((i.line+1).toString(),U)+" | "+z.str+"\n";L+=I.repeat("-",u.indent+U+3+z.pos)+"^"+"\n";for(let A=1;A<=u.linesAfter;A++){if(D+A>=Q.length)break;const P=getLine(i.buffer,B[D+A],Q[D+A],i.position-(B[D]-B[D+A]),G);L+=I.repeat(" ",u.indent)+padStart((i.line+A+1).toString(),U)+" | "+P.str+"\n"}return L.replace(/\n$/,"")}i.exports=makeSnippet},9557:(i,u,A)=>{"use strict";const I=A(41248);const B=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];const Q=["scalar","sequence","mapping"];function compileStyleAliases(i){const u={};if(i!==null){Object.keys(i).forEach((function(A){i[A].forEach((function(i){u[String(i)]=A}))}))}return u}function Type(i,u){u=u||{};Object.keys(u).forEach((function(u){if(B.indexOf(u)===-1){throw new I('Unknown option "'+u+'" is met in definition of "'+i+'" YAML type.')}}));this.options=u;this.tag=i;this.kind=u["kind"]||null;this.resolve=u["resolve"]||function(){return true};this.construct=u["construct"]||function(i){return i};this.instanceOf=u["instanceOf"]||null;this.predicate=u["predicate"]||null;this.represent=u["represent"]||null;this.representName=u["representName"]||null;this.defaultStyle=u["defaultStyle"]||null;this.multi=u["multi"]||false;this.styleAliases=compileStyleAliases(u["styleAliases"]||null);if(Q.indexOf(this.kind)===-1){throw new I('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}}i.exports=Type},8149:(i,u,A)=>{"use strict";const I=A(9557);const B="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(i){if(i===null)return false;let u=0;const A=i.length;const I=B;for(let B=0;B64)continue;if(A<0)return false;u+=6}return u%8===0}function constructYamlBinary(i){const u=i.replace(/[\r\n=]/g,"");const A=u.length;const I=B;let Q=0;const P=[];for(let i=0;i>16&255);P.push(Q>>8&255);P.push(Q&255)}Q=Q<<6|I.indexOf(u.charAt(i))}const D=A%4*6;if(D===0){P.push(Q>>16&255);P.push(Q>>8&255);P.push(Q&255)}else if(D===18){P.push(Q>>10&255);P.push(Q>>2&255)}else if(D===12){P.push(Q>>4&255)}return new Uint8Array(P)}function representYamlBinary(i){let u="";let A=0;const I=i.length;const Q=B;for(let B=0;B>18&63];u+=Q[A>>12&63];u+=Q[A>>6&63];u+=Q[A&63]}A=(A<<8)+i[B]}const P=I%3;if(P===0){u+=Q[A>>18&63];u+=Q[A>>12&63];u+=Q[A>>6&63];u+=Q[A&63]}else if(P===2){u+=Q[A>>10&63];u+=Q[A>>4&63];u+=Q[A<<2&63];u+=Q[64]}else if(P===1){u+=Q[A>>2&63];u+=Q[A<<4&63];u+=Q[64];u+=Q[64]}return u}function isBinary(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}i.exports=new I("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},67296:(i,u,A)=>{"use strict";const I=A(9557);function resolveYamlBoolean(i){if(i===null)return false;const u=i.length;return u===4&&(i==="true"||i==="True"||i==="TRUE")||u===5&&(i==="false"||i==="False"||i==="FALSE")}function constructYamlBoolean(i){return i==="true"||i==="True"||i==="TRUE"}function isBoolean(i){return Object.prototype.toString.call(i)==="[object Boolean]"}i.exports=new I("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"})},57584:(i,u,A)=>{"use strict";const I=A(19816);const B=A(9557);const Q=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");const P=new RegExp("^(?:"+"[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(i){if(i===null)return false;if(!Q.test(i)){return false}if(Number.isFinite(parseFloat(i,10))){return true}return P.test(i)}function constructYamlFloat(i){let u=i.toLowerCase();const A=u[0]==="-"?-1:1;if("+-".indexOf(u[0])>=0){u=u.slice(1)}if(u===".inf"){return A===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(u===".nan"){return NaN}return A*parseFloat(u,10)}const D=/^[-+]?[0-9]+e/;function representYamlFloat(i,u){if(isNaN(i)){switch(u){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===i){switch(u){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===i){switch(u){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(I.isNegativeZero(i)){return"-0.0"}const A=i.toString(10);return D.test(A)?A.replace("e",".e"):A}function isFloat(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||I.isNegativeZero(i))}i.exports=new B("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},62271:(i,u,A)=>{"use strict";const I=A(19816);const B=A(9557);function isHexCode(i){return i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102}function isOctCode(i){return i>=48&&i<=55}function isDecCode(i){return i>=48&&i<=57}function resolveYamlInteger(i){if(i===null)return false;const u=i.length;let A=0;let I=false;if(!u)return false;let B=i[A];if(B==="-"||B==="+"){B=i[++A]}if(B==="0"){if(A+1===u)return true;B=i[++A];if(B==="b"){A++;for(;A=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},47316:(i,u,A)=>{"use strict";const I=A(9557);i.exports=new I("tag:yaml.org,2002:map",{kind:"mapping",construct:function(i){return i!==null?i:{}}})},76854:(i,u,A)=>{"use strict";const I=A(9557);function resolveYamlMerge(i){return i==="<<"||i===null}i.exports=new I("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},4333:(i,u,A)=>{"use strict";const I=A(9557);function resolveYamlNull(i){if(i===null)return true;const u=i.length;return u===1&&i==="~"||u===4&&(i==="null"||i==="Null"||i==="NULL")}function constructYamlNull(){return null}function isNull(i){return i===null}i.exports=new I("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},58649:(i,u,A)=>{"use strict";const I=A(9557);const B=Object.prototype.hasOwnProperty;const Q=Object.prototype.toString;function resolveYamlOmap(i){if(i===null)return true;const u=[];const A=i;for(let i=0,I=A.length;i{"use strict";const I=A(9557);const B=Object.prototype.toString;function resolveYamlPairs(i){if(i===null)return true;const u=i;const A=new Array(u.length);for(let i=0,I=u.length;i{"use strict";const I=A(9557);i.exports=new I("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(i){return i!==null?i:[]}})},78758:(i,u,A)=>{"use strict";const I=A(9557);const B=Object.prototype.hasOwnProperty;function resolveYamlSet(i){if(i===null)return true;const u=i;for(const i in u){if(B.call(u,i)){if(u[i]!==null)return false}}return true}function constructYamlSet(i){return i!==null?i:{}}i.exports=new I("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},53929:(i,u,A)=>{"use strict";const I=A(9557);i.exports=new I("tag:yaml.org,2002:str",{kind:"scalar",construct:function(i){return i!==null?i:""}})},28966:(i,u,A)=>{"use strict";const I=A(9557);const B=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");const Q=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(i){if(i===null)return false;if(B.exec(i)!==null)return true;if(Q.exec(i)!==null)return true;return false}function constructYamlTimestamp(i){let u=0;let A=null;let I=B.exec(i);if(I===null)I=Q.exec(i);if(I===null)throw new Error("Date resolve error");const P=+I[1];const D=+I[2]-1;const L=+I[3];if(!I[4]){return new Date(Date.UTC(P,D,L))}const U=+I[4];const G=+I[5];const z=+I[6];if(I[7]){u=I[7].slice(0,3);while(u.length<3){u+="0"}u=+u}if(I[9]){const i=+I[10];const u=+(I[11]||0);A=(i*60+u)*6e4;if(I[9]==="-")A=-A}const W=new Date(Date.UTC(P,D,L,U,G,z,u));if(A)W.setTime(W.getTime()-A);return W}function representYamlTimestamp(i){return i.toISOString()}i.exports=new I("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},79699:i=>{"use strict";function e(i){this.message=i}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var u="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(i){var u=String(i).replace(/=+$/,"");if(u.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var A,I,B=0,Q=0,P="";I=u.charAt(Q++);~I&&(A=B%4?64*A+I:I,B++%4)?P+=String.fromCharCode(255&A>>(-2*B&6)):0)I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(I);return P};function t(i){var A=i.replace(/-/g,"+").replace(/_/g,"/");switch(A.length%4){case 0:break;case 2:A+="==";break;case 3:A+="=";break;default:throw"Illegal base64url string!"}try{return function(i){return decodeURIComponent(u(i).replace(/(.)/g,(function(i,u){var A=u.charCodeAt(0).toString(16).toUpperCase();return A.length<2&&(A="0"+A),"%"+A})))}(A)}catch(i){return u(A)}}function n(i){this.message=i}function o(i,u){if("string"!=typeof i)throw new n("Invalid token specified");var A=!0===(u=u||{}).header?0:1;try{return JSON.parse(t(i.split(".")[A]))}catch(i){throw new n("Invalid token specified: "+i.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";const A=o;A.default=o,A.InvalidTokenError=n,i.exports=A},32126:(i,u,A)=>{var I=A(39023);var B=A(1835);i.exports={Readable:Readable,Writable:Writable};I.inherits(Readable,B);I.inherits(Writable,B);function beforeFirstCall(i,u,A){i[u]=function(){delete i[u];A.apply(this,arguments);return this[u].apply(this,arguments)}}function Readable(i,u){if(!(this instanceof Readable))return new Readable(i,u);B.call(this,u);beforeFirstCall(this,"_read",(function(){var A=i.call(this,u);var I=this.emit.bind(this,"error");A.on("error",I);A.pipe(this)}));this.emit("readable")}function Writable(i,u){if(!(this instanceof Writable))return new Writable(i,u);B.call(this,u);beforeFirstCall(this,"_write",(function(){var A=i.call(this,u);var I=this.emit.bind(this,"error");A.on("error",I);this.pipe(A)}));this.emit("writable")}},34793:(i,u,A)=>{"use strict";var I=A(19183);var B=Object.keys||function(i){var u=[];for(var A in i){u.push(A)}return u};i.exports=Duplex;var Q=Object.create(A(45481));Q.inherits=A(39598);var P=A(74559);var D=A(54579);Q.inherits(Duplex,P);{var L=B(D.prototype);for(var U=0;U{"use strict";i.exports=PassThrough;var I=A(69343);var B=Object.create(A(45481));B.inherits=A(39598);B.inherits(PassThrough,I);function PassThrough(i){if(!(this instanceof PassThrough))return new PassThrough(i);I.call(this,i)}PassThrough.prototype._transform=function(i,u,A){A(null,i)}},74559:(i,u,A)=>{"use strict";var I=A(19183);i.exports=Readable;var B=A(82513);var Q;Readable.ReadableState=ReadableState;var P=A(24434).EventEmitter;var EElistenerCount=function(i,u){return i.listeners(u).length};var D=A(87137);var L=A(93058).Buffer;var U=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(i){return L.from(i)}function _isUint8Array(i){return L.isBuffer(i)||i instanceof U}var G=Object.create(A(45481));G.inherits=A(39598);var z=A(39023);var W=void 0;if(z&&z.debuglog){W=z.debuglog("stream")}else{W=function(){}}var Y=A(46127);var J=A(91031);var $;G.inherits(Readable,D);var K=["error","close","destroy","pause","resume"];function prependListener(i,u,A){if(typeof i.prependListener==="function")return i.prependListener(u,A);if(!i._events||!i._events[u])i.on(u,A);else if(B(i._events[u]))i._events[u].unshift(A);else i._events[u]=[A,i._events[u]]}function ReadableState(i,u){Q=Q||A(34793);i=i||{};var I=u instanceof Q;this.objectMode=!!i.objectMode;if(I)this.objectMode=this.objectMode||!!i.readableObjectMode;var B=i.highWaterMark;var P=i.readableHighWaterMark;var D=this.objectMode?16:16*1024;if(B||B===0)this.highWaterMark=B;else if(I&&(P||P===0))this.highWaterMark=P;else this.highWaterMark=D;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new Y;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=i.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(i.encoding){if(!$)$=A(80634).I;this.decoder=new $(i.encoding);this.encoding=i.encoding}}function Readable(i){Q=Q||A(34793);if(!(this instanceof Readable))return new Readable(i);this._readableState=new ReadableState(i,this);this.readable=true;if(i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy}D.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(i){if(!this._readableState){return}this._readableState.destroyed=i}});Readable.prototype.destroy=J.destroy;Readable.prototype._undestroy=J.undestroy;Readable.prototype._destroy=function(i,u){this.push(null);u(i)};Readable.prototype.push=function(i,u){var A=this._readableState;var I;if(!A.objectMode){if(typeof i==="string"){u=u||A.defaultEncoding;if(u!==A.encoding){i=L.from(i,u);u=""}I=true}}else{I=true}return readableAddChunk(this,i,u,false,I)};Readable.prototype.unshift=function(i){return readableAddChunk(this,i,null,true,false)};function readableAddChunk(i,u,A,I,B){var Q=i._readableState;if(u===null){Q.reading=false;onEofChunk(i,Q)}else{var P;if(!B)P=chunkInvalid(Q,u);if(P){i.emit("error",P)}else if(Q.objectMode||u&&u.length>0){if(typeof u!=="string"&&!Q.objectMode&&Object.getPrototypeOf(u)!==L.prototype){u=_uint8ArrayToBuffer(u)}if(I){if(Q.endEmitted)i.emit("error",new Error("stream.unshift() after end event"));else addChunk(i,Q,u,true)}else if(Q.ended){i.emit("error",new Error("stream.push() after EOF"))}else{Q.reading=false;if(Q.decoder&&!A){u=Q.decoder.write(u);if(Q.objectMode||u.length!==0)addChunk(i,Q,u,false);else maybeReadMore(i,Q)}else{addChunk(i,Q,u,false)}}}else if(!I){Q.reading=false}}return needMoreData(Q)}function addChunk(i,u,A,I){if(u.flowing&&u.length===0&&!u.sync){i.emit("data",A);i.read(0)}else{u.length+=u.objectMode?1:A.length;if(I)u.buffer.unshift(A);else u.buffer.push(A);if(u.needReadable)emitReadable(i)}maybeReadMore(i,u)}function chunkInvalid(i,u){var A;if(!_isUint8Array(u)&&typeof u!=="string"&&u!==undefined&&!i.objectMode){A=new TypeError("Invalid non-string/buffer chunk")}return A}function needMoreData(i){return!i.ended&&(i.needReadable||i.length=X){i=X}else{i--;i|=i>>>1;i|=i>>>2;i|=i>>>4;i|=i>>>8;i|=i>>>16;i++}return i}function howMuchToRead(i,u){if(i<=0||u.length===0&&u.ended)return 0;if(u.objectMode)return 1;if(i!==i){if(u.flowing&&u.length)return u.buffer.head.data.length;else return u.length}if(i>u.highWaterMark)u.highWaterMark=computeNewHighWaterMark(i);if(i<=u.length)return i;if(!u.ended){u.needReadable=true;return 0}return u.length}Readable.prototype.read=function(i){W("read",i);i=parseInt(i,10);var u=this._readableState;var A=i;if(i!==0)u.emittedReadable=false;if(i===0&&u.needReadable&&(u.length>=u.highWaterMark||u.ended)){W("read: emitReadable",u.length,u.ended);if(u.length===0&&u.ended)endReadable(this);else emitReadable(this);return null}i=howMuchToRead(i,u);if(i===0&&u.ended){if(u.length===0)endReadable(this);return null}var I=u.needReadable;W("need readable",I);if(u.length===0||u.length-i0)B=fromList(i,u);else B=null;if(B===null){u.needReadable=true;i=0}else{u.length-=i}if(u.length===0){if(!u.ended)u.needReadable=true;if(A!==i&&u.ended)endReadable(this)}if(B!==null)this.emit("data",B);return B};function onEofChunk(i,u){if(u.ended)return;if(u.decoder){var A=u.decoder.end();if(A&&A.length){u.buffer.push(A);u.length+=u.objectMode?1:A.length}}u.ended=true;emitReadable(i)}function emitReadable(i){var u=i._readableState;u.needReadable=false;if(!u.emittedReadable){W("emitReadable",u.flowing);u.emittedReadable=true;if(u.sync)I.nextTick(emitReadable_,i);else emitReadable_(i)}}function emitReadable_(i){W("emit readable");i.emit("readable");flow(i)}function maybeReadMore(i,u){if(!u.readingMore){u.readingMore=true;I.nextTick(maybeReadMore_,i,u)}}function maybeReadMore_(i,u){var A=u.length;while(!u.reading&&!u.flowing&&!u.ended&&u.length1&&indexOf(B.pipes,i)!==-1)&&!L){W("false write response, pause",B.awaitDrain);B.awaitDrain++;U=true}A.pause()}}function onerror(u){W("onerror",u);unpipe();i.removeListener("error",onerror);if(EElistenerCount(i,"error")===0)i.emit("error",u)}prependListener(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){W("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){W("unpipe");A.unpipe(i)}i.emit("pipe",A);if(!B.flowing){W("pipe resume");A.resume()}return i};function pipeOnDrain(i){return function(){var u=i._readableState;W("pipeOnDrain",u.awaitDrain);if(u.awaitDrain)u.awaitDrain--;if(u.awaitDrain===0&&EElistenerCount(i,"data")){u.flowing=true;flow(i)}}}Readable.prototype.unpipe=function(i){var u=this._readableState;var A={hasUnpiped:false};if(u.pipesCount===0)return this;if(u.pipesCount===1){if(i&&i!==u.pipes)return this;if(!i)i=u.pipes;u.pipes=null;u.pipesCount=0;u.flowing=false;if(i)i.emit("unpipe",this,A);return this}if(!i){var I=u.pipes;var B=u.pipesCount;u.pipes=null;u.pipesCount=0;u.flowing=false;for(var Q=0;Q=u.length){if(u.decoder)A=u.buffer.join("");else if(u.buffer.length===1)A=u.buffer.head.data;else A=u.buffer.concat(u.length);u.buffer.clear()}else{A=fromListPartial(i,u.buffer,u.decoder)}return A}function fromListPartial(i,u,A){var I;if(iQ.length?Q.length:i;if(P===Q.length)B+=Q;else B+=Q.slice(0,i);i-=P;if(i===0){if(P===Q.length){++I;if(A.next)u.head=A.next;else u.head=u.tail=null}else{u.head=A;A.data=Q.slice(P)}break}++I}u.length-=I;return B}function copyFromBuffer(i,u){var A=L.allocUnsafe(i);var I=u.head;var B=1;I.data.copy(A);i-=I.data.length;while(I=I.next){var Q=I.data;var P=i>Q.length?Q.length:i;Q.copy(A,A.length-i,0,P);i-=P;if(i===0){if(P===Q.length){++B;if(I.next)u.head=I.next;else u.head=u.tail=null}else{u.head=I;I.data=Q.slice(P)}break}++B}u.length-=B;return A}function endReadable(i){var u=i._readableState;if(u.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!u.endEmitted){u.ended=true;I.nextTick(endReadableNT,u,i)}}function endReadableNT(i,u){if(!i.endEmitted&&i.length===0){i.endEmitted=true;u.readable=false;u.emit("end")}}function indexOf(i,u){for(var A=0,I=i.length;A{"use strict";i.exports=Transform;var I=A(34793);var B=Object.create(A(45481));B.inherits=A(39598);B.inherits(Transform,I);function afterTransform(i,u){var A=this._transformState;A.transforming=false;var I=A.writecb;if(!I){return this.emit("error",new Error("write callback called multiple times"))}A.writechunk=null;A.writecb=null;if(u!=null)this.push(u);I(i);var B=this._readableState;B.reading=false;if(B.needReadable||B.length{"use strict";var I=A(19183);i.exports=Writable;function WriteReq(i,u,A){this.chunk=i;this.encoding=u;this.callback=A;this.next=null}function CorkedRequest(i){var u=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(u,i)}}var B=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:I.nextTick;var Q;Writable.WritableState=WritableState;var P=Object.create(A(45481));P.inherits=A(39598);var D={deprecate:A(24488)};var L=A(87137);var U=A(93058).Buffer;var G=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(i){return U.from(i)}function _isUint8Array(i){return U.isBuffer(i)||i instanceof G}var z=A(91031);P.inherits(Writable,L);function nop(){}function WritableState(i,u){Q=Q||A(34793);i=i||{};var I=u instanceof Q;this.objectMode=!!i.objectMode;if(I)this.objectMode=this.objectMode||!!i.writableObjectMode;var B=i.highWaterMark;var P=i.writableHighWaterMark;var D=this.objectMode?16:16*1024;if(B||B===0)this.highWaterMark=B;else if(I&&(P||P===0))this.highWaterMark=P;else this.highWaterMark=D;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var L=i.decodeStrings===false;this.decodeStrings=!L;this.defaultEncoding=i.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(i){onwrite(u,i)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var i=this.bufferedRequest;var u=[];while(i){u.push(i);i=i.next}return u};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:D.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(i){}})();var W;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){W=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(i){if(W.call(this,i))return true;if(this!==Writable)return false;return i&&i._writableState instanceof WritableState}})}else{W=function(i){return i instanceof this}}function Writable(i){Q=Q||A(34793);if(!W.call(Writable,this)&&!(this instanceof Q)){return new Writable(i)}this._writableState=new WritableState(i,this);this.writable=true;if(i){if(typeof i.write==="function")this._write=i.write;if(typeof i.writev==="function")this._writev=i.writev;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.final==="function")this._final=i.final}L.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(i,u){var A=new Error("write after end");i.emit("error",A);I.nextTick(u,A)}function validChunk(i,u,A,B){var Q=true;var P=false;if(A===null){P=new TypeError("May not write null values to stream")}else if(typeof A!=="string"&&A!==undefined&&!u.objectMode){P=new TypeError("Invalid non-string/buffer chunk")}if(P){i.emit("error",P);I.nextTick(B,P);Q=false}return Q}Writable.prototype.write=function(i,u,A){var I=this._writableState;var B=false;var Q=!I.objectMode&&_isUint8Array(i);if(Q&&!U.isBuffer(i)){i=_uint8ArrayToBuffer(i)}if(typeof u==="function"){A=u;u=null}if(Q)u="buffer";else if(!u)u=I.defaultEncoding;if(typeof A!=="function")A=nop;if(I.ended)writeAfterEnd(this,A);else if(Q||validChunk(this,I,i,A)){I.pendingcb++;B=writeOrBuffer(this,I,Q,i,u,A)}return B};Writable.prototype.cork=function(){var i=this._writableState;i.corked++};Writable.prototype.uncork=function(){var i=this._writableState;if(i.corked){i.corked--;if(!i.writing&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest)clearBuffer(this,i)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(i){if(typeof i==="string")i=i.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((i+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+i);this._writableState.defaultEncoding=i;return this};function decodeChunk(i,u,A){if(!i.objectMode&&i.decodeStrings!==false&&typeof u==="string"){u=U.from(u,A)}return u}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(i,u,A,I,B,Q){if(!A){var P=decodeChunk(u,I,B);if(I!==P){A=true;B="buffer";I=P}}var D=u.objectMode?1:I.length;u.length+=D;var L=u.length{"use strict";function _classCallCheck(i,u){if(!(i instanceof u)){throw new TypeError("Cannot call a class as a function")}}var I=A(93058).Buffer;var B=A(39023);function copyBuffer(i,u,A){i.copy(u,A)}i.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(i){var u={data:i,next:null};if(this.length>0)this.tail.next=u;else this.head=u;this.tail=u;++this.length};BufferList.prototype.unshift=function unshift(i){var u={data:i,next:this.head};if(this.length===0)this.tail=u;this.head=u;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(i){if(this.length===0)return"";var u=this.head;var A=""+u.data;while(u=u.next){A+=i+u.data}return A};BufferList.prototype.concat=function concat(i){if(this.length===0)return I.alloc(0);var u=I.allocUnsafe(i>>>0);var A=this.head;var B=0;while(A){copyBuffer(A.data,u,B);B+=A.data.length;A=A.next}return u};return BufferList}();if(B&&B.inspect&&B.inspect.custom){i.exports.prototype[B.inspect.custom]=function(){var i=B.inspect({length:this.length});return this.constructor.name+" "+i}}},91031:(i,u,A)=>{"use strict";var I=A(19183);function destroy(i,u){var A=this;var B=this._readableState&&this._readableState.destroyed;var Q=this._writableState&&this._writableState.destroyed;if(B||Q){if(u){u(i)}else if(i){if(!this._writableState){I.nextTick(emitErrorNT,this,i)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;I.nextTick(emitErrorNT,this,i)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(i||null,(function(i){if(!u&&i){if(!A._writableState){I.nextTick(emitErrorNT,A,i)}else if(!A._writableState.errorEmitted){A._writableState.errorEmitted=true;I.nextTick(emitErrorNT,A,i)}}else if(u){u(i)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(i,u){i.emit("error",u)}i.exports={destroy:destroy,undestroy:undestroy}},87137:(i,u,A)=>{i.exports=A(2203)},1835:(i,u,A)=>{i.exports=A(73109).PassThrough},73109:(i,u,A)=>{var I=A(2203);if(process.env.READABLE_STREAM==="disable"&&I){i.exports=I;u=i.exports=I.Readable;u.Readable=I.Readable;u.Writable=I.Writable;u.Duplex=I.Duplex;u.Transform=I.Transform;u.PassThrough=I.PassThrough;u.Stream=I}else{u=i.exports=A(74559);u.Stream=I||u;u.Readable=u;u.Writable=A(54579);u.Duplex=A(34793);u.Transform=A(69343);u.PassThrough=A(72029)}},66320:(i,u,A)=>{var I=A(48051),B=A(15431),Q=A(26934),P=A(64306),D=A(17226);function Hash(i){var u=-1,A=i==null?0:i.length;this.clear();while(++u{var I=A(99791),B=A(24555),Q=A(86634),P=A(8430),D=A(36918);function ListCache(i){var u=-1,A=i==null?0:i.length;this.clear();while(++u{var I=A(68573),B=A(6748);var Q=I(B,"Map");i.exports=Q},79660:(i,u,A)=>{var I=A(88487),B=A(36275),Q=A(30130),P=A(69254),D=A(59806);function MapCache(i){var u=-1,A=i==null?0:i.length;this.clear();while(++u{var I=A(68573),B=A(6748);var Q=I(B,"Set");i.exports=Q},23706:(i,u,A)=>{var I=A(79660),B=A(44671),Q=A(71884);function SetCache(i){var u=-1,A=i==null?0:i.length;this.__data__=new I;while(++u{var I=A(6748);var B=I.Symbol;i.exports=B},59678:i=>{function apply(i,u,A){switch(A.length){case 0:return i.call(u);case 1:return i.call(u,A[0]);case 2:return i.call(u,A[0],A[1]);case 3:return i.call(u,A[0],A[1],A[2])}return i.apply(u,A)}i.exports=apply},70534:(i,u,A)=>{var I=A(84760);function arrayIncludes(i,u){var A=i==null?0:i.length;return!!A&&I(i,u,0)>-1}i.exports=arrayIncludes},37314:i=>{function arrayIncludesWith(i,u,A){var I=-1,B=i==null?0:i.length;while(++I{var I=A(21299),B=A(60541),Q=A(77192),P=A(43739),D=A(37446),L=A(35e3);var U=Object.prototype;var G=U.hasOwnProperty;function arrayLikeKeys(i,u){var A=Q(i),U=!A&&B(i),z=!A&&!U&&P(i),W=!A&&!U&&!z&&L(i),Y=A||U||z||W,J=Y?I(i.length,String):[],$=J.length;for(var K in i){if((u||G.call(i,K))&&!(Y&&(K=="length"||z&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||D(K,$)))){J.push(K)}}return J}i.exports=arrayLikeKeys},56649:i=>{function arrayMap(i,u){var A=-1,I=i==null?0:i.length,B=Array(I);while(++A{function arrayPush(i,u){var A=-1,I=u.length,B=i.length;while(++A{var I=A(75199);function assocIndexOf(i,u){var A=i.length;while(A--){if(I(i[A][0],u)){return A}}return-1}i.exports=assocIndexOf},3126:(i,u,A)=>{var I=A(23706),B=A(70534),Q=A(37314),P=A(56649),D=A(55506),L=A(64486);var U=200;function baseDifference(i,u,A,G){var z=-1,W=B,Y=true,J=i.length,$=[],K=u.length;if(!J){return $}if(A){u=P(u,D(A))}if(G){W=Q;Y=false}else if(u.length>=U){W=L;Y=false;u=new I(u)}e:while(++z{function baseFindIndex(i,u,A,I){var B=i.length,Q=A+(I?1:-1);while(I?Q--:++Q{var I=A(50827),B=A(45088);function baseFlatten(i,u,A,Q,P){var D=-1,L=i.length;A||(A=B);P||(P=[]);while(++D0&&A(U)){if(u>1){baseFlatten(U,u-1,A,Q,P)}else{I(P,U)}}else if(!Q){P[P.length]=U}}return P}i.exports=baseFlatten},29117:(i,u,A)=>{var I=A(38584),B=A(95292),Q=A(71723);var P="[object Null]",D="[object Undefined]";var L=I?I.toStringTag:undefined;function baseGetTag(i){if(i==null){return i===undefined?D:P}return L&&L in Object(i)?B(i):Q(i)}i.exports=baseGetTag},84760:(i,u,A)=>{var I=A(35588),B=A(34352),Q=A(95232);function baseIndexOf(i,u,A){return u===u?Q(i,u,A):I(i,B,A)}i.exports=baseIndexOf},93605:(i,u,A)=>{var I=A(29117),B=A(51645);var Q="[object Arguments]";function baseIsArguments(i){return B(i)&&I(i)==Q}i.exports=baseIsArguments},34352:i=>{function baseIsNaN(i){return i!==i}i.exports=baseIsNaN},92334:(i,u,A)=>{var I=A(34329),B=A(46613),Q=A(96482),P=A(57192);var D=/[\\^$.*+?()[\]{}|]/g;var L=/^\[object .+?Constructor\]$/;var U=Function.prototype,G=Object.prototype;var z=U.toString;var W=G.hasOwnProperty;var Y=RegExp("^"+z.call(W).replace(D,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(i){if(!Q(i)||B(i)){return false}var u=I(i)?Y:L;return u.test(P(i))}i.exports=baseIsNative},16880:(i,u,A)=>{var I=A(29117),B=A(56657),Q=A(51645);var P="[object Arguments]",D="[object Array]",L="[object Boolean]",U="[object Date]",G="[object Error]",z="[object Function]",W="[object Map]",Y="[object Number]",J="[object Object]",$="[object RegExp]",K="[object Set]",X="[object String]",he="[object WeakMap]";var Ae="[object ArrayBuffer]",ye="[object DataView]",be="[object Float32Array]",Ee="[object Float64Array]",Ce="[object Int8Array]",we="[object Int16Array]",ve="[object Int32Array]",Se="[object Uint8Array]",Re="[object Uint8ClampedArray]",Ne="[object Uint16Array]",_e="[object Uint32Array]";var Oe={};Oe[be]=Oe[Ee]=Oe[Ce]=Oe[we]=Oe[ve]=Oe[Se]=Oe[Re]=Oe[Ne]=Oe[_e]=true;Oe[P]=Oe[D]=Oe[Ae]=Oe[L]=Oe[ye]=Oe[U]=Oe[G]=Oe[z]=Oe[W]=Oe[Y]=Oe[J]=Oe[$]=Oe[K]=Oe[X]=Oe[he]=false;function baseIsTypedArray(i){return Q(i)&&B(i.length)&&!!Oe[I(i)]}i.exports=baseIsTypedArray},82094:(i,u,A)=>{var I=A(96482),B=A(55944),Q=A(94008);var P=Object.prototype;var D=P.hasOwnProperty;function baseKeysIn(i){if(!I(i)){return Q(i)}var u=B(i),A=[];for(var P in i){if(!(P=="constructor"&&(u||!D.call(i,P)))){A.push(P)}}return A}i.exports=baseKeysIn},22035:(i,u,A)=>{var I=A(46851),B=A(20168),Q=A(59402);function baseRest(i,u){return Q(B(i,u,I),i+"")}i.exports=baseRest},64953:(i,u,A)=>{var I=A(85089),B=A(83106),Q=A(46851);var P=!B?Q:function(i,u){return B(i,"toString",{configurable:true,enumerable:false,value:I(u),writable:true})};i.exports=P},21299:i=>{function baseTimes(i,u){var A=-1,I=Array(i);while(++A{function baseUnary(i){return function(u){return i(u)}}i.exports=baseUnary},32772:(i,u,A)=>{var I=A(23706),B=A(70534),Q=A(37314),P=A(64486),D=A(48242),L=A(11894);var U=200;function baseUniq(i,u,A){var G=-1,z=B,W=i.length,Y=true,J=[],$=J;if(A){Y=false;z=Q}else if(W>=U){var K=u?null:D(i);if(K){return L(K)}Y=false;z=P;$=new I}else{$=u?[]:J}e:while(++G{function cacheHas(i,u){return i.has(u)}i.exports=cacheHas},60252:(i,u,A)=>{var I=A(6748);var B=I["__core-js_shared__"];i.exports=B},48242:(i,u,A)=>{var I=A(84986),B=A(89029),Q=A(11894);var P=1/0;var D=!(I&&1/Q(new I([,-0]))[1]==P)?B:function(i){return new I(i)};i.exports=D},83106:(i,u,A)=>{var I=A(68573);var B=function(){try{var i=I(Object,"defineProperty");i({},"",{});return i}catch(i){}}();i.exports=B},78997:i=>{var u=typeof global=="object"&&global&&global.Object===Object&&global;i.exports=u},1194:(i,u,A)=>{var I=A(93245);function getMapData(i,u){var A=i.__data__;return I(u)?A[typeof u=="string"?"string":"hash"]:A.map}i.exports=getMapData},68573:(i,u,A)=>{var I=A(92334),B=A(8293);function getNative(i,u){var A=B(i,u);return I(A)?A:undefined}i.exports=getNative},86194:(i,u,A)=>{var I=A(61128);var B=I(Object.getPrototypeOf,Object);i.exports=B},95292:(i,u,A)=>{var I=A(38584);var B=Object.prototype;var Q=B.hasOwnProperty;var P=B.toString;var D=I?I.toStringTag:undefined;function getRawTag(i){var u=Q.call(i,D),A=i[D];try{i[D]=undefined;var I=true}catch(i){}var B=P.call(i);if(I){if(u){i[D]=A}else{delete i[D]}}return B}i.exports=getRawTag},8293:i=>{function getValue(i,u){return i==null?undefined:i[u]}i.exports=getValue},48051:(i,u,A)=>{var I=A(71563);function hashClear(){this.__data__=I?I(null):{};this.size=0}i.exports=hashClear},15431:i=>{function hashDelete(i){var u=this.has(i)&&delete this.__data__[i];this.size-=u?1:0;return u}i.exports=hashDelete},26934:(i,u,A)=>{var I=A(71563);var B="__lodash_hash_undefined__";var Q=Object.prototype;var P=Q.hasOwnProperty;function hashGet(i){var u=this.__data__;if(I){var A=u[i];return A===B?undefined:A}return P.call(u,i)?u[i]:undefined}i.exports=hashGet},64306:(i,u,A)=>{var I=A(71563);var B=Object.prototype;var Q=B.hasOwnProperty;function hashHas(i){var u=this.__data__;return I?u[i]!==undefined:Q.call(u,i)}i.exports=hashHas},17226:(i,u,A)=>{var I=A(71563);var B="__lodash_hash_undefined__";function hashSet(i,u){var A=this.__data__;this.size+=this.has(i)?0:1;A[i]=I&&u===undefined?B:u;return this}i.exports=hashSet},45088:(i,u,A)=>{var I=A(38584),B=A(60541),Q=A(77192);var P=I?I.isConcatSpreadable:undefined;function isFlattenable(i){return Q(i)||B(i)||!!(P&&i&&i[P])}i.exports=isFlattenable},37446:i=>{var u=9007199254740991;var A=/^(?:0|[1-9]\d*)$/;function isIndex(i,I){var B=typeof i;I=I==null?u:I;return!!I&&(B=="number"||B!="symbol"&&A.test(i))&&(i>-1&&i%1==0&&i{var I=A(75199),B=A(75119),Q=A(37446),P=A(96482);function isIterateeCall(i,u,A){if(!P(A)){return false}var D=typeof u;if(D=="number"?B(A)&&Q(u,A.length):D=="string"&&u in A){return I(A[u],i)}return false}i.exports=isIterateeCall},93245:i=>{function isKeyable(i){var u=typeof i;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?i!=="__proto__":i===null}i.exports=isKeyable},46613:(i,u,A)=>{var I=A(60252);var B=function(){var i=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function isMasked(i){return!!B&&B in i}i.exports=isMasked},55944:i=>{var u=Object.prototype;function isPrototype(i){var A=i&&i.constructor,I=typeof A=="function"&&A.prototype||u;return i===I}i.exports=isPrototype},99791:i=>{function listCacheClear(){this.__data__=[];this.size=0}i.exports=listCacheClear},24555:(i,u,A)=>{var I=A(74024);var B=Array.prototype;var Q=B.splice;function listCacheDelete(i){var u=this.__data__,A=I(u,i);if(A<0){return false}var B=u.length-1;if(A==B){u.pop()}else{Q.call(u,A,1)}--this.size;return true}i.exports=listCacheDelete},86634:(i,u,A)=>{var I=A(74024);function listCacheGet(i){var u=this.__data__,A=I(u,i);return A<0?undefined:u[A][1]}i.exports=listCacheGet},8430:(i,u,A)=>{var I=A(74024);function listCacheHas(i){return I(this.__data__,i)>-1}i.exports=listCacheHas},36918:(i,u,A)=>{var I=A(74024);function listCacheSet(i,u){var A=this.__data__,B=I(A,i);if(B<0){++this.size;A.push([i,u])}else{A[B][1]=u}return this}i.exports=listCacheSet},88487:(i,u,A)=>{var I=A(66320),B=A(68884),Q=A(98272);function mapCacheClear(){this.size=0;this.__data__={hash:new I,map:new(Q||B),string:new I}}i.exports=mapCacheClear},36275:(i,u,A)=>{var I=A(1194);function mapCacheDelete(i){var u=I(this,i)["delete"](i);this.size-=u?1:0;return u}i.exports=mapCacheDelete},30130:(i,u,A)=>{var I=A(1194);function mapCacheGet(i){return I(this,i).get(i)}i.exports=mapCacheGet},69254:(i,u,A)=>{var I=A(1194);function mapCacheHas(i){return I(this,i).has(i)}i.exports=mapCacheHas},59806:(i,u,A)=>{var I=A(1194);function mapCacheSet(i,u){var A=I(this,i),B=A.size;A.set(i,u);this.size+=A.size==B?0:1;return this}i.exports=mapCacheSet},71563:(i,u,A)=>{var I=A(68573);var B=I(Object,"create");i.exports=B},94008:i=>{function nativeKeysIn(i){var u=[];if(i!=null){for(var A in Object(i)){u.push(A)}}return u}i.exports=nativeKeysIn},88724:(i,u,A)=>{i=A.nmd(i);var I=A(78997);var B=true&&u&&!u.nodeType&&u;var Q=B&&"object"=="object"&&i&&!i.nodeType&&i;var P=Q&&Q.exports===B;var D=P&&I.process;var L=function(){try{var i=Q&&Q.require&&Q.require("util").types;if(i){return i}return D&&D.binding&&D.binding("util")}catch(i){}}();i.exports=L},71723:i=>{var u=Object.prototype;var A=u.toString;function objectToString(i){return A.call(i)}i.exports=objectToString},61128:i=>{function overArg(i,u){return function(A){return i(u(A))}}i.exports=overArg},20168:(i,u,A)=>{var I=A(59678);var B=Math.max;function overRest(i,u,A){u=B(u===undefined?i.length-1:u,0);return function(){var Q=arguments,P=-1,D=B(Q.length-u,0),L=Array(D);while(++P{var I=A(78997);var B=typeof self=="object"&&self&&self.Object===Object&&self;var Q=I||B||Function("return this")();i.exports=Q},44671:i=>{var u="__lodash_hash_undefined__";function setCacheAdd(i){this.__data__.set(i,u);return this}i.exports=setCacheAdd},71884:i=>{function setCacheHas(i){return this.__data__.has(i)}i.exports=setCacheHas},11894:i=>{function setToArray(i){var u=-1,A=Array(i.size);i.forEach((function(i){A[++u]=i}));return A}i.exports=setToArray},59402:(i,u,A)=>{var I=A(64953),B=A(83286);var Q=B(I);i.exports=Q},83286:i=>{var u=800,A=16;var I=Date.now;function shortOut(i){var B=0,Q=0;return function(){var P=I(),D=A-(P-Q);Q=P;if(D>0){if(++B>=u){return arguments[0]}}else{B=0}return i.apply(undefined,arguments)}}i.exports=shortOut},95232:i=>{function strictIndexOf(i,u,A){var I=A-1,B=i.length;while(++I{var u=Function.prototype;var A=u.toString;function toSource(i){if(i!=null){try{return A.call(i)}catch(i){}try{return i+""}catch(i){}}return""}i.exports=toSource},85089:i=>{function constant(i){return function(){return i}}i.exports=constant},7511:(i,u,A)=>{var I=A(22035),B=A(75199),Q=A(3349),P=A(19430);var D=Object.prototype;var L=D.hasOwnProperty;var U=I((function(i,u){i=Object(i);var A=-1;var I=u.length;var U=I>2?u[2]:undefined;if(U&&Q(u[0],u[1],U)){I=1}while(++A{var I=A(3126),B=A(63183),Q=A(22035),P=A(97100);var D=Q((function(i,u){return P(i)?I(i,B(u,1,P,true)):[]}));i.exports=D},75199:i=>{function eq(i,u){return i===u||i!==i&&u!==u}i.exports=eq},97047:(i,u,A)=>{var I=A(63183);function flatten(i){var u=i==null?0:i.length;return u?I(i,1):[]}i.exports=flatten},46851:i=>{function identity(i){return i}i.exports=identity},60541:(i,u,A)=>{var I=A(93605),B=A(51645);var Q=Object.prototype;var P=Q.hasOwnProperty;var D=Q.propertyIsEnumerable;var L=I(function(){return arguments}())?I:function(i){return B(i)&&P.call(i,"callee")&&!D.call(i,"callee")};i.exports=L},77192:i=>{var u=Array.isArray;i.exports=u},75119:(i,u,A)=>{var I=A(34329),B=A(56657);function isArrayLike(i){return i!=null&&B(i.length)&&!I(i)}i.exports=isArrayLike},97100:(i,u,A)=>{var I=A(75119),B=A(51645);function isArrayLikeObject(i){return B(i)&&I(i)}i.exports=isArrayLikeObject},43739:(i,u,A)=>{i=A.nmd(i);var I=A(6748),B=A(92074);var Q=true&&u&&!u.nodeType&&u;var P=Q&&"object"=="object"&&i&&!i.nodeType&&i;var D=P&&P.exports===Q;var L=D?I.Buffer:undefined;var U=L?L.isBuffer:undefined;var G=U||B;i.exports=G},34329:(i,u,A)=>{var I=A(29117),B=A(96482);var Q="[object AsyncFunction]",P="[object Function]",D="[object GeneratorFunction]",L="[object Proxy]";function isFunction(i){if(!B(i)){return false}var u=I(i);return u==P||u==D||u==Q||u==L}i.exports=isFunction},56657:i=>{var u=9007199254740991;function isLength(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=u}i.exports=isLength},96482:i=>{function isObject(i){var u=typeof i;return i!=null&&(u=="object"||u=="function")}i.exports=isObject},51645:i=>{function isObjectLike(i){return i!=null&&typeof i=="object"}i.exports=isObjectLike},36542:(i,u,A)=>{var I=A(29117),B=A(86194),Q=A(51645);var P="[object Object]";var D=Function.prototype,L=Object.prototype;var U=D.toString;var G=L.hasOwnProperty;var z=U.call(Object);function isPlainObject(i){if(!Q(i)||I(i)!=P){return false}var u=B(i);if(u===null){return true}var A=G.call(u,"constructor")&&u.constructor;return typeof A=="function"&&A instanceof A&&U.call(A)==z}i.exports=isPlainObject},35e3:(i,u,A)=>{var I=A(16880),B=A(55506),Q=A(88724);var P=Q&&Q.isTypedArray;var D=P?B(P):I;i.exports=D},19430:(i,u,A)=>{var I=A(62e3),B=A(82094),Q=A(75119);function keysIn(i){return Q(i)?I(i,true):B(i)}i.exports=keysIn},89029:i=>{function noop(){}i.exports=noop},92074:i=>{function stubFalse(){return false}i.exports=stubFalse},73270:(i,u,A)=>{var I=A(63183),B=A(22035),Q=A(32772),P=A(97100);var D=B((function(i){return Q(I(i,1,P,true))}));i.exports=D},85743:(i,u,A)=>{const{Request:I,Response:B}=A(88483);const{Minipass:Q}=A(78275);const P=A(37633);const D=A(85742);const L=A(87016);const U=A(22314);const G=A(15281);const z=A(45808);const W=A(20766);const hasOwnProperty=(i,u)=>Object.prototype.hasOwnProperty.call(i,u);const Y=["accept-charset","accept-encoding","accept-language","accept","cache-control"];const J=["cache-control","content-encoding","content-language","content-type","date","etag","expires","last-modified","link","location","pragma","vary"];const getMetadata=(i,u,A)=>{const I={time:Date.now(),url:i.url,reqHeaders:{},resHeaders:{},options:{compress:A.compress!=null?A.compress:i.compress}};if(u.status!==200&&u.status!==304){I.status=u.status}for(const u of Y){if(i.headers.has(u)){I.reqHeaders[u]=i.headers.get(u)}}const B=i.headers.get("host");const Q=new L.URL(i.url);if(B&&Q.host!==B){I.reqHeaders.host=B}if(u.headers.has("vary")){const A=u.headers.get("vary");if(A!=="*"){const u=A.trim().toLowerCase().split(/\s*,\s*/);for(const A of u){if(i.headers.has(A)){I.reqHeaders[A]=i.headers.get(A)}}}}for(const i of J){if(u.headers.has(i)){I.resHeaders[i]=u.headers.get(i)}}for(const i of A.cacheAdditionalHeaders){if(u.headers.has(i)){I.resHeaders[i]=u.headers.get(i)}}return I};const $=Symbol("request");const K=Symbol("response");const X=Symbol("policy");class CacheEntry{constructor({entry:i,request:u,response:A,options:I}){if(i){this.key=i.key;this.entry=i;this.entry.metadata.time=this.entry.metadata.time||this.entry.time}else{this.key=z(u)}this.options=I;this[$]=u;this[K]=A;this[X]=null}static async find(i,u){try{var A=await D.index.compact(u.cachePath,z(i),((i,A)=>{const I=new CacheEntry({entry:i,options:u});const B=new CacheEntry({entry:A,options:u});return I.policy.satisfies(B.request)}),{validateEntry:i=>{if(i.metadata&&i.metadata.resHeaders&&i.metadata.resHeaders["content-encoding"]===null){return false}if(i.integrity===null){return!!(i.metadata&&i.metadata.status)}return true}})}catch(i){return}if(u.cache==="reload"){return}let I;for(const B of A){const A=new CacheEntry({entry:B,options:u});if(A.policy.satisfies(i)){I=A;break}}return I}static async invalidate(i,u){const A=z(i);try{await D.rm.entry(u.cachePath,A,{removeFully:true})}catch(i){}}get request(){if(!this[$]){this[$]=new I(this.entry.metadata.url,{method:"GET",headers:this.entry.metadata.reqHeaders,...this.entry.metadata.options})}return this[$]}get response(){if(!this[K]){this[K]=new B(null,{url:this.entry.metadata.url,counter:this.options.counter,status:this.entry.metadata.status||200,headers:{...this.entry.metadata.resHeaders,"content-length":this.entry.size}})}return this[K]}get policy(){if(!this[X]){this[X]=new G({entry:this.entry,request:this.request,response:this.response,options:this.options})}return this[X]}async store(i){if(this.request.method!=="GET"||![200,301,308].includes(this.response.status)||!this.policy.storable()){this.response.headers.set("x-local-cache-status","skip");return this.response}const u=this.response.headers.get("content-length");const A={algorithms:this.options.algorithms,metadata:getMetadata(this.request,this.response,this.options),size:u,integrity:this.options.integrity,integrityEmitter:this.response.body.hasIntegrityEmitter&&this.response.body};let I=null;if(this.response.status===200){let i,u;const B=new Promise(((A,I)=>{i=A;u=I})).catch((i=>{I.emit("error",i)}));I=new U({events:["integrity","size"]},new P({flush(){return B}}));I.hasIntegrityEmitter=true;const onResume=()=>{const B=new Q;const P=D.put.stream(this.options.cachePath,this.key,A);P.on("integrity",(i=>I.emit("integrity",i)));P.on("size",(i=>I.emit("size",i)));B.pipe(P);P.promise().then(i,u);I.unshift(B);I.unshift(this.response.body)};I.once("resume",onResume);I.once("end",(()=>I.removeListener("resume",onResume)))}else{await D.index.insert(this.options.cachePath,this.key,null,A)}this.response.headers.set("x-local-cache",encodeURIComponent(this.options.cachePath));this.response.headers.set("x-local-cache-key",encodeURIComponent(this.key));this.response.headers.set("x-local-cache-mode","stream");this.response.headers.set("x-local-cache-status",i);this.response.headers.set("x-local-cache-time",(new Date).toISOString());const L=new B(I,{url:this.response.url,status:this.response.status,headers:this.response.headers,counter:this.options.counter});return L}async respond(i,u,A){let I;if(i==="HEAD"||[301,308].includes(this.response.status)){I=this.response}else{const i=new Q;const A={...this.policy.responseHeaders()};const onResume=()=>{const u=D.get.stream.byDigest(this.options.cachePath,this.entry.integrity,{memoize:this.options.memoize});u.on("error",(async A=>{u.pause();if(A.code==="EINTEGRITY"){await D.rm.content(this.options.cachePath,this.entry.integrity,{memoize:this.options.memoize})}if(A.code==="ENOENT"||A.code==="EINTEGRITY"){await CacheEntry.invalidate(this.request,this.options)}i.emit("error",A);u.resume()}));i.emit("integrity",this.entry.integrity);i.emit("size",Number(A["content-length"]));u.pipe(i)};i.once("resume",onResume);i.once("end",(()=>i.removeListener("resume",onResume)));I=new B(i,{url:this.entry.metadata.url,counter:u.counter,status:200,headers:A})}I.headers.set("x-local-cache",encodeURIComponent(this.options.cachePath));I.headers.set("x-local-cache-hash",encodeURIComponent(this.entry.integrity));I.headers.set("x-local-cache-key",encodeURIComponent(this.key));I.headers.set("x-local-cache-mode","stream");I.headers.set("x-local-cache-status",A);I.headers.set("x-local-cache-time",new Date(this.entry.metadata.time).toUTCString());return I}async revalidate(i,u){const A=new I(i,{headers:this.policy.revalidationHeaders(i)});try{var B=await W(A,{...u,headers:undefined})}catch(A){if(!this.policy.mustRevalidate){return this.respond(i.method,u,"stale")}throw A}if(this.policy.revalidated(A,B)){const A=getMetadata(i,B,u);for(const i of J){if(!hasOwnProperty(A.resHeaders,i)&&hasOwnProperty(this.entry.metadata.resHeaders,i)){A.resHeaders[i]=this.entry.metadata.resHeaders[i]}}for(const i of u.cacheAdditionalHeaders){const u=hasOwnProperty(A.resHeaders,i);const I=hasOwnProperty(this.entry.metadata.resHeaders,i);const B=hasOwnProperty(this.policy.response.headers,i);if(!u&&I){A.resHeaders[i]=this.entry.metadata.resHeaders[i]}if(!B&&u){this.policy.response.headers[i]=A.resHeaders[i]}}try{await D.index.insert(u.cachePath,this.key,this.entry.integrity,{size:this.entry.size,metadata:A})}catch(i){}return this.respond(i.method,u,"revalidated")}const Q=new CacheEntry({request:i,response:B,options:u});return Q.store("updated")}}i.exports=CacheEntry},59456:i=>{class NotCachedError extends Error{constructor(i){super(`request to ${i} failed: cache mode is 'only-if-cached' but no cached response is available.`);this.code="ENOTCACHED"}}i.exports={NotCachedError:NotCachedError}},96807:(i,u,A)=>{const{NotCachedError:I}=A(59456);const B=A(85743);const Q=A(20766);const cacheFetch=async(i,u)=>{const A=await B.find(i,u);if(!A){if(u.cache==="only-if-cached"){throw new I(i.url)}const A=await Q(i,u);const P=new B({request:i,response:A,options:u});return P.store("miss")}if(u.cache==="no-cache"){return A.revalidate(i,u)}const P=A.policy.needsRevalidation(i);if(u.cache==="force-cache"||u.cache==="only-if-cached"||!P){return A.respond(i.method,u,P?"stale":"hit")}return A.revalidate(i,u)};cacheFetch.invalidate=async(i,u)=>{if(!u.cachePath){return}return B.invalidate(i,u)};i.exports=cacheFetch},45808:(i,u,A)=>{const{URL:I,format:B}=A(87016);const Q={auth:false,fragment:false,search:true,unicode:false};const cacheKey=i=>{const u=new I(i.url);return`make-fetch-happen:request-cache:${B(u,Q)}`};i.exports=cacheKey},15281:(i,u,A)=>{const I=A(12203);const B=A(60668);const Q=A(68951);const P={shared:false,ignoreCargoCult:true};const D={status:200,headers:{}};const requestObject=i=>{const u={method:i.method,url:i.url,headers:{},compress:i.compress};i.headers.forEach(((i,A)=>{u.headers[A]=i}));return u};const responseObject=i=>{const u={status:i.status,headers:{}};i.headers.forEach(((i,A)=>{u.headers[A]=i}));return u};class CachePolicy{constructor({entry:i,request:u,response:A,options:B}){this.entry=i;this.request=requestObject(u);this.response=responseObject(A);this.options=B;this.policy=new I(this.request,this.response,P);if(this.entry){this.policy._responseTime=this.entry.metadata.time}}static storable(i,u){if(!u.cachePath){return false}if(u.cache==="no-store"){return false}if(!["GET","HEAD"].includes(i.method)){return false}const A=new I(requestObject(i),D,P);return A.storable()}satisfies(i){const u=requestObject(i);if(this.request.headers.host!==u.headers.host){return false}if(this.request.compress!==u.compress){return false}const A=new B(this.request);const I=new B(u);if(JSON.stringify(A.mediaTypes())!==JSON.stringify(I.mediaTypes())){return false}if(JSON.stringify(A.languages())!==JSON.stringify(I.languages())){return false}if(JSON.stringify(A.encodings())!==JSON.stringify(I.encodings())){return false}if(this.options.integrity){return Q.parse(this.options.integrity).match(this.entry.integrity)}return true}storable(){return this.policy.storable()}get mustRevalidate(){return!!this.policy._rescc["must-revalidate"]}needsRevalidation(i){const u=requestObject(i);u.method="GET";return!this.policy.satisfiesWithoutRevalidation(u)}responseHeaders(){return this.policy.responseHeaders()}revalidationHeaders(i){const u=requestObject(i);return this.policy.revalidationHeaders(u)}revalidated(i,u){const A=requestObject(i);const I=responseObject(u);const B=this.policy.revalidatedPolicy(A,I);return!B.modified}}i.exports=CachePolicy},67242:(i,u,A)=>{"use strict";const{FetchError:I,Request:B,isRedirect:Q}=A(88483);const P=A(87016);const D=A(15281);const L=A(96807);const U=A(20766);const canFollowRedirect=(i,u,A)=>{if(!Q(u.status)){return false}if(A.redirect==="manual"){return false}if(A.redirect==="error"){throw new I(`redirect mode is set to error: ${i.url}`,"no-redirect",{code:"ENOREDIRECT"})}if(!u.headers.has("location")){throw new I(`redirect location header missing for: ${i.url}`,"no-location",{code:"EINVALIDREDIRECT"})}if(i.counter>=i.follow){throw new I(`maximum redirect reached at: ${i.url}`,"max-redirect",{code:"EMAXREDIRECT"})}return true};const getRedirect=(i,u,A)=>{const I={...A};const Q=u.headers.get("location");const D=new P.URL(Q,/^https?:/.test(Q)?undefined:i.url); /** * @license * Copyright (c) 2010-2012 Mikeal Rogers * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an "AS * IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language * governing permissions and limitations under the License. */if(new P.URL(i.url).hostname!==D.hostname){i.headers.delete("authorization");i.headers.delete("cookie")}if(u.status===303||i.method==="POST"&&[301,302].includes(u.status)){I.method="GET";I.body=null;i.headers.delete("content-length")}I.headers={};i.headers.forEach(((i,u)=>{I.headers[u]=i}));I.counter=++i.counter;const L=new B(P.format(D),I);return{request:L,options:I}};const fetch=async(i,u)=>{const A=D.storable(i,u)?await L(i,u):await U(i,u);if(!["GET","HEAD"].includes(i.method)&&A.status>=200&&A.status<=399){await L.invalidate(i,u)}if(!canFollowRedirect(i,A,u)){return A}const I=getRedirect(i,A,u);return fetch(I.request,I.options)};i.exports=fetch},39310:(i,u,A)=>{const{FetchError:I,Headers:B,Request:Q,Response:P}=A(88483);const D=A(99824);const L=A(67242);const makeFetchHappen=(i,u)=>{const A=D(u);const I=new Q(i,A);return L(I,A)};makeFetchHappen.defaults=(i,u={},A=makeFetchHappen)=>{if(typeof i==="object"){u=i;i=null}const defaultedFetch=(I,B={})=>{const Q=I||i;const P={...u,...B,headers:{...u.headers,...B.headers}};return A(Q,P)};defaultedFetch.defaults=(i,u={})=>makeFetchHappen.defaults(i,u,defaultedFetch);return defaultedFetch};i.exports=makeFetchHappen;i.exports.FetchError=I;i.exports.Headers=B;i.exports.Request=Q;i.exports.Response=P},99824:(i,u,A)=>{const I=A(49869);const B=["if-modified-since","if-none-match","if-unmodified-since","if-match","if-range"];const configureOptions=i=>{const{strictSSL:u,...A}={...i};A.method=A.method?A.method.toUpperCase():"GET";if(u===undefined||u===null){A.rejectUnauthorized=process.env.NODE_TLS_REJECT_UNAUTHORIZED!=="0"}else{A.rejectUnauthorized=u!==false}if(!A.retry){A.retry={retries:0}}else if(typeof A.retry==="string"){const i=parseInt(A.retry,10);if(isFinite(i)){A.retry={retries:i}}else{A.retry={retries:0}}}else if(typeof A.retry==="number"){A.retry={retries:A.retry}}else{A.retry={retries:0,...A.retry}}A.dns={ttl:5*60*1e3,lookup:I.lookup,...A.dns};A.cache=A.cache||"default";if(A.cache==="default"){const i=Object.keys(A.headers||{}).some((i=>B.includes(i.toLowerCase())));if(i){A.cache="no-store"}}A.cacheAdditionalHeaders=A.cacheAdditionalHeaders||[];if(A.cacheManager&&!A.cachePath){A.cachePath=A.cacheManager}return A};i.exports=configureOptions},22314:(i,u,A)=>{"use strict";const I=A(52899);class CachingMinipassPipeline extends I{#c=[];#l=new Map;constructor(i,...u){super();this.#c=i.events;if(u.length){this.push(...u)}}on(i,u){if(this.#c.includes(i)&&this.#l.has(i)){return u(...this.#l.get(i))}return super.on(i,u)}emit(i,...u){if(this.#c.includes(i)){this.#l.set(i,u)}return super.emit(i,...u)}}i.exports=CachingMinipassPipeline},20766:(i,u,A)=>{const{Minipass:I}=A(78275);const B=A(88483);const{promiseRetry:Q}=A(49498);const P=A(68951);const{log:D}=A(26687);const{redact:L}=A(4027);const U=A(22314);const{getAgent:G}=A(57995);const z=A(96734);const W=`${z.name}/${z.version} (+https://npm.im/${z.name})`;const Y=["ECONNRESET","ECONNREFUSED","EADDRINUSE","ETIMEDOUT","ECONNECTIONTIMEOUT","EIDLETIMEOUT","ERESPONSETIMEOUT","ETRANSFERTIMEOUT"];const J=["request-timeout"];const remoteFetch=(i,u)=>{const A=G(i.url,{...u,signal:undefined});if(!i.headers.has("connection")){i.headers.set("connection",A?"keep-alive":"close")}if(!i.headers.has("user-agent")){i.headers.set("user-agent",W)}const z={...u,agent:A,redirect:"manual"};return Q((async(A,Q)=>{const G=new B.Request(i,z);const W=L(G.url);try{let i=await B(G,z);if(z.integrity&&i.status===200){const u=P.integrityStream({algorithms:z.algorithms,integrity:z.integrity,size:z.size});const A=new U({events:["integrity","size"]},i.body,u);u.on("integrity",(i=>A.emit("integrity",i)));u.on("size",(i=>A.emit("size",i)));i=new B.Response(A,i);i.body.hasIntegrityEmitter=true}i.headers.set("x-fetch-attempts",Q);const L=I.isStream(G.body);const Y=G.method!=="POST"&&!L&&([408,420,429].includes(i.status)||i.status>=500);if(Y){if(typeof u.onRetry==="function"){u.onRetry(i)}D.http("fetch",`${G.method} ${W} attempt ${Q} failed with ${i.status}`);return A(i)}return i}catch(i){const I=i.code==="EPROMISERETRY"?i.retried.code:i.code;const P=i.retried instanceof B.Response||Y.includes(I)&&J.includes(i.type);if(G.method==="POST"||P){throw i}if(typeof u.onRetry==="function"){u.onRetry(i)}D.http("fetch",`${G.method} ${W} attempt ${Q} failed with ${i.code}`);return A(i)}}),u.retry).catch((i=>{if(i.status>=400&&i.type!=="system"){return i}throw i}))};i.exports=remoteFetch},43772:(i,u,A)=>{i.exports=minimatch;minimatch.Minimatch=Minimatch;var I=function(){try{return A(16928)}catch(i){}}()||{sep:"/"};minimatch.sep=I.sep;var B=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var Q=A(94691);var P={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var D="[^/]";var L=D+"*?";var U="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var G="(?:(?!(?:\\/|^)\\.).)*?";var z=charSet("().*{}+?[]^$\\!");function charSet(i){return i.split("").reduce((function(i,u){i[u]=true;return i}),{})}var W=/\/+/;minimatch.filter=filter;function filter(i,u){u=u||{};return function(A,I,B){return minimatch(A,i,u)}}function ext(i,u){u=u||{};var A={};Object.keys(i).forEach((function(u){A[u]=i[u]}));Object.keys(u).forEach((function(i){A[i]=u[i]}));return A}minimatch.defaults=function(i){if(!i||typeof i!=="object"||!Object.keys(i).length){return minimatch}var u=minimatch;var A=function minimatch(A,I,B){return u(A,I,ext(i,B))};A.Minimatch=function Minimatch(A,I){return new u.Minimatch(A,ext(i,I))};A.Minimatch.defaults=function defaults(A){return u.defaults(ext(i,A)).Minimatch};A.filter=function filter(A,I){return u.filter(A,ext(i,I))};A.defaults=function defaults(A){return u.defaults(ext(i,A))};A.makeRe=function makeRe(A,I){return u.makeRe(A,ext(i,I))};A.braceExpand=function braceExpand(A,I){return u.braceExpand(A,ext(i,I))};A.match=function(A,I,B){return u.match(A,I,ext(i,B))};return A};Minimatch.defaults=function(i){return minimatch.defaults(i).Minimatch};function minimatch(i,u,A){assertValidPattern(u);if(!A)A={};if(!A.nocomment&&u.charAt(0)==="#"){return false}return new Minimatch(u,A).match(i)}function Minimatch(i,u){if(!(this instanceof Minimatch)){return new Minimatch(i,u)}assertValidPattern(i);if(!u)u={};i=i.trim();if(!u.allowWindowsEscape&&I.sep!=="/"){i=i.split(I.sep).join("/")}this.options=u;this.maxGlobstarRecursion=u.maxGlobstarRecursion!==undefined?u.maxGlobstarRecursion:200;this.set=[];this.pattern=i;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!u.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var i=this.pattern;var u=this.options;if(!u.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();var A=this.globSet=this.braceExpand();if(u.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,A);A=this.globParts=A.map((function(i){return i.split(W)}));this.debug(this.pattern,A);A=A.map((function(i,u,A){return i.map(this.parse,this)}),this);this.debug(this.pattern,A);A=A.filter((function(i){return i.indexOf(false)===-1}));this.debug(this.pattern,A);this.set=A}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var i=this.pattern;var u=false;var A=this.options;var I=0;if(A.nonegate)return;for(var B=0,Q=i.length;BY){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var J={};function parse(i,u){assertValidPattern(i);var A=this.options;if(i==="**"){if(!A.noglobstar)return B;else i="*"}if(i==="")return"";var I="";var Q=!!A.nocase;var U=false;var G=[];var W=[];var Y;var $=false;var K=-1;var X=-1;var he=i.charAt(0)==="."?"":A.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var Ae=this;function clearStateChar(){if(Y){switch(Y){case"*":I+=L;Q=true;break;case"?":I+=D;Q=true;break;default:I+="\\"+Y;break}Ae.debug("clearStateChar %j %j",Y,I);Y=false}}for(var ye=0,be=i.length,Ee;ye-1;_e--){var Oe=W[_e];var xe=I.slice(0,Oe.reStart);var ke=I.slice(Oe.reStart,Oe.reEnd-8);var Qe=I.slice(Oe.reEnd-8,Oe.reEnd);var Pe=I.slice(Oe.reEnd);Qe+=Pe;var De=xe.split("(").length-1;var Me=Pe;for(ye=0;ye=0;P--){Q=i[P];if(Q)break}for(P=0;P=0;P--){if(u[P]===B){L=P;break}}var U=u.slice(Q,D);var G=A?u.slice(D+1):u.slice(D+1,L);var z=A?[]:u.slice(L+1);if(U.length){var W=i.slice(I,I+U.length);if(!this._matchOne(W,U,A,0,0)){return false}I+=U.length}var Y=0;if(z.length){if(z.length+I>i.length)return false;var J=i.length-z.length;if(this._matchOne(i,z,A,J,0)){Y=z.length}else{if(i[i.length-1]!==""||I+z.length===i.length){return false}J--;if(!this._matchOne(i,z,A,J,0)){return false}Y=z.length+1}}if(!G.length){var $=!!Y;for(P=I;P{const{Minipass:I}=A(78275);const B=Symbol("_data");const Q=Symbol("_length");class Collect extends I{constructor(i){super(i);this[B]=[];this[Q]=0}write(i,u,A){if(typeof u==="function")A=u,u="utf8";if(!u)u="utf8";const I=Buffer.isBuffer(i)?i:Buffer.from(i,u);this[B].push(I);this[Q]+=I.length;if(A)A();return true}end(i,u,A){if(typeof i==="function")A=i,i=null;if(typeof u==="function")A=u,u="utf8";if(i)this.write(i,u);const I=Buffer.concat(this[B],this[Q]);super.write(I);return super.end(A)}}i.exports=Collect;class CollectPassThrough extends I{constructor(i){super(i);this[B]=[];this[Q]=0}write(i,u,A){if(typeof u==="function")A=u,u="utf8";if(!u)u="utf8";const I=Buffer.isBuffer(i)?i:Buffer.from(i,u);this[B].push(I);this[Q]+=I.length;return super.write(i,u,A)}end(i,u,A){if(typeof i==="function")A=i,i=null;if(typeof u==="function")A=u,u="utf8";if(i)this.write(i,u);const I=Buffer.concat(this[B],this[Q]);this.emit("collect",I);return super.end(A)}}i.exports.PassThrough=CollectPassThrough},57442:i=>{"use strict";class AbortError extends Error{constructor(i){super(i);this.code="FETCH_ABORTED";this.type="aborted";Error.captureStackTrace(this,this.constructor)}get name(){return"AbortError"}set name(i){}}i.exports=AbortError},21256:(i,u,A)=>{"use strict";const{Minipass:I}=A(78275);const B=Symbol("type");const Q=Symbol("buffer");class Blob{constructor(i,u){this[B]="";const A=[];let I=0;if(i){const u=i;const B=Number(u.length);for(let i=0;i{"use strict";const{Minipass:I}=A(78275);const{MinipassSized:B}=A(88789);const Q=A(21256);const{BUFFER:P}=Q;const D=A(22644);let L;try{L=A(31748).decode}catch(i){}const U=Symbol("Body internals");const G=Symbol("consumeBody");class Body{constructor(i,u={}){const{size:A=0,timeout:B=0}=u;const Q=i===undefined||i===null?null:isURLSearchParams(i)?Buffer.from(i.toString()):isBlob(i)?i:Buffer.isBuffer(i)?i:Object.prototype.toString.call(i)==="[object ArrayBuffer]"?Buffer.from(i):ArrayBuffer.isView(i)?Buffer.from(i.buffer,i.byteOffset,i.byteLength):I.isStream(i)?i:Buffer.from(String(i));this[U]={body:Q,disturbed:false,error:null};this.size=A;this.timeout=B;if(I.isStream(Q)){Q.on("error",(i=>{const u=i.name==="AbortError"?i:new D(`Invalid response while trying to fetch ${this.url}: ${i.message}`,"system",i);this[U].error=u}))}}get body(){return this[U].body}get bodyUsed(){return this[U].disturbed}arrayBuffer(){return this[G]().then((i=>i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)))}blob(){const i=this.headers&&this.headers.get("content-type")||"";return this[G]().then((u=>Object.assign(new Q([],{type:i.toLowerCase()}),{[P]:u})))}async json(){const i=await this[G]();try{return JSON.parse(i.toString())}catch(i){throw new D(`invalid json response body at ${this.url} reason: ${i.message}`,"invalid-json")}}text(){return this[G]().then((i=>i.toString()))}buffer(){return this[G]()}textConverted(){if(typeof L!=="function"){throw new Error("The package `iconv-lite` must be installed to use the textConverted() function")}return this[G]().then((i=>convertBody(i,this.headers)))}[G](){if(this[U].disturbed){return Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[U].disturbed=true;if(this[U].error){return Promise.reject(this[U].error)}if(this.body===null){return Promise.resolve(Buffer.alloc(0))}if(Buffer.isBuffer(this.body)){return Promise.resolve(this.body)}const i=isBlob(this.body)?this.body.stream():this.body;if(!I.isStream(i)){return Promise.resolve(Buffer.alloc(0))}const u=this.size&&i instanceof B?i:!this.size&&i instanceof I&&!(i instanceof B)?i:this.size?new B({size:this.size}):new I;const A=this.timeout&&u.writable?setTimeout((()=>{u.emit("error",new D(`Response timeout while trying to fetch ${this.url} (over ${this.timeout}ms)`,"body-timeout"))}),this.timeout):null;if(A&&A.unref){A.unref()}return new Promise((A=>{if(u!==i){i.on("error",(i=>u.emit("error",i)));i.pipe(u)}A()})).then((()=>u.concat())).then((i=>{clearTimeout(A);return i})).catch((i=>{clearTimeout(A);if(i.name==="AbortError"||i.name==="FetchError"){throw i}else if(i.name==="RangeError"){throw new D(`Could not create Buffer from response body for ${this.url}: ${i.message}`,"system",i)}else{throw new D(`Invalid response body while trying to fetch ${this.url}: ${i.message}`,"system",i)}}))}static clone(i){if(i.bodyUsed){throw new Error("cannot clone body after it is used")}const u=i.body;if(I.isStream(u)&&typeof u.getBoundary!=="function"){const A=new I;const B=new I;const Q=new I;A.on("error",(i=>{B.emit("error",i);Q.emit("error",i)}));u.on("error",(i=>A.emit("error",i)));A.pipe(B);A.pipe(Q);u.pipe(A);i[U].body=B;return Q}else{return i.body}}static extractContentType(i){return i===null||i===undefined?null:typeof i==="string"?"text/plain;charset=UTF-8":isURLSearchParams(i)?"application/x-www-form-urlencoded;charset=UTF-8":isBlob(i)?i.type||null:Buffer.isBuffer(i)?null:Object.prototype.toString.call(i)==="[object ArrayBuffer]"?null:ArrayBuffer.isView(i)?null:typeof i.getBoundary==="function"?`multipart/form-data;boundary=${i.getBoundary()}`:I.isStream(i)?null:"text/plain;charset=UTF-8"}static getTotalBytes(i){const{body:u}=i;return u===null||u===undefined?0:isBlob(u)?u.size:Buffer.isBuffer(u)?u.length:u&&typeof u.getLengthSync==="function"&&(u._lengthRetrievers&&u._lengthRetrievers.length===0||u.hasKnownLength&&u.hasKnownLength())?u.getLengthSync():null}static writeToStream(i,u){const{body:A}=u;if(A===null||A===undefined){i.end()}else if(Buffer.isBuffer(A)||typeof A==="string"){i.end(A)}else{const u=isBlob(A)?A.stream():A;u.on("error",(u=>i.emit("error",u))).pipe(i)}return i}}Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});const isURLSearchParams=i=>typeof i!=="object"||typeof i.append!=="function"||typeof i.delete!=="function"||typeof i.get!=="function"||typeof i.getAll!=="function"||typeof i.has!=="function"||typeof i.set!=="function"?false:i.constructor.name==="URLSearchParams"||Object.prototype.toString.call(i)==="[object URLSearchParams]"||typeof i.sort==="function";const isBlob=i=>typeof i==="object"&&typeof i.arrayBuffer==="function"&&typeof i.type==="string"&&typeof i.stream==="function"&&typeof i.constructor==="function"&&typeof i.constructor.name==="string"&&/^(Blob|File)$/.test(i.constructor.name)&&/^(Blob|File)$/.test(i[Symbol.toStringTag]);const convertBody=(i,u)=>{const A=u&&u.get("content-type");let I="utf-8";let B;if(A){B=/charset=([^;]*)/i.exec(A)}const Q=i.slice(0,1024).toString();if(!B&&Q){B=/{"use strict";class FetchError extends Error{constructor(i,u,A){super(i);this.code="FETCH_ERROR";if(A){Object.assign(this,A)}this.errno=this.code;this.type=this.code==="EBADSIZE"&&this.found>this.expect?"max-size":u;this.message=i;Error.captureStackTrace(this,this.constructor)}get name(){return"FetchError"}set name(i){}get[Symbol.toStringTag](){return"FetchError"}}i.exports=FetchError},98645:i=>{"use strict";const u=/[^^_`a-zA-Z\-0-9!#$%&'*+.|~]/;const A=/[^\t\x20-\x7e\x80-\xff]/;const validateName=i=>{i=`${i}`;if(u.test(i)||i===""){throw new TypeError(`${i} is not a legal HTTP header name`)}};const validateValue=i=>{i=`${i}`;if(A.test(i)){throw new TypeError(`${i} is not a legal HTTP header value`)}};const find=(i,u)=>{u=u.toLowerCase();for(const A in i){if(A.toLowerCase()===u){return A}}return undefined};const I=Symbol("map");class Headers{constructor(i=undefined){this[I]=Object.create(null);if(i instanceof Headers){const u=i.raw();const A=Object.keys(u);for(const i of A){for(const A of u[i]){this.append(i,A)}}return}if(i===undefined||i===null){return}if(typeof i==="object"){const u=i[Symbol.iterator];if(u!==null&&u!==undefined){if(typeof u!=="function"){throw new TypeError("Header pairs must be iterable")}const A=[];for(const u of i){if(typeof u!=="object"||typeof u[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}const i=Array.from(u);if(i.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}A.push(i)}for(const i of A){this.append(i[0],i[1])}}else{for(const u of Object.keys(i)){this.append(u,i[u])}}}else{throw new TypeError("Provided initializer must be an object")}}get(i){i=`${i}`;validateName(i);const u=find(this[I],i);if(u===undefined){return null}return this[I][u].join(", ")}forEach(i,u=undefined){let A=getHeaders(this);for(let I=0;IObject.keys(i[I]).sort().map(u==="key"?i=>i.toLowerCase():u==="value"?u=>i[I][u].join(", "):u=>[u.toLowerCase(),i[I][u].join(", ")]);const B=Symbol("internal");class HeadersIterator{constructor(i,u){this[B]={target:i,kind:u,index:0}}get[Symbol.toStringTag](){return"HeadersIterator"}next(){if(!this||Object.getPrototypeOf(this)!==HeadersIterator.prototype){throw new TypeError("Value of `this` is not a HeadersIterator")}const{target:i,kind:u,index:A}=this[B];const I=getHeaders(i,u);const Q=I.length;if(A>=Q){return{value:undefined,done:true}}this[B].index++;return{value:I[A],done:false}}}Object.setPrototypeOf(HeadersIterator.prototype,Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));i.exports=Headers},88483:(i,u,A)=>{"use strict";const{URL:I}=A(87016);const B=A(58611);const Q=A(65692);const P=A(37119);const{Minipass:D}=A(78275);const L=A(28515);const{writeToStream:U,getTotalBytes:G}=L;const z=A(43852);const W=A(98645);const{createHeadersLenient:Y}=W;const J=A(99586);const{getNodeRequestOptions:$}=J;const K=A(22644);const X=A(57442);const fetch=async(i,u)=>{if(/^data:/.test(i)){const A=new J(i,u);return Promise.resolve().then((()=>new Promise(((u,B)=>{let Q,P;try{const{pathname:u,search:A}=new I(i);const B=u.split(",");if(B.length<2){throw new Error("invalid data: URI")}const D=B.shift();const L=/;base64$/.test(D);Q=L?D.slice(0,-1*";base64".length):D;const U=decodeURIComponent(B.join(",")+A);P=L?Buffer.from(U,"base64"):Buffer.from(U)}catch(i){return B(new K(`[${A.method}] ${A.url} invalid URL, ${i.message}`,"system",i))}const{signal:D}=A;if(D&&D.aborted){return B(new X("The user aborted a request."))}const L={"Content-Length":P.length};if(Q){L["Content-Type"]=Q}return u(new z(P,{headers:L}))}))))}return new Promise(((A,L)=>{const he=new J(i,u);let Ae;try{Ae=$(he)}catch(i){return L(i)}const ye=(Ae.protocol==="https:"?Q:B).request;const{signal:be}=he;let Ee=null;const abort=()=>{const i=new X("The user aborted a request.");L(i);if(D.isStream(he.body)&&typeof he.body.destroy==="function"){he.body.destroy(i)}if(Ee&&Ee.body){Ee.body.emit("error",i)}};if(be&&be.aborted){return abort()}const abortAndFinalize=()=>{abort();finalize()};const finalize=()=>{Ce.abort();if(be){be.removeEventListener("abort",abortAndFinalize)}clearTimeout(we)};const Ce=ye(Ae);if(be){be.addEventListener("abort",abortAndFinalize)}let we=null;if(he.timeout){Ce.once("socket",(()=>{we=setTimeout((()=>{L(new K(`network timeout at: ${he.url}`,"request-timeout"));finalize()}),he.timeout)}))}Ce.on("error",(i=>{if(Ce.res){Ce.res.emit("error",i)}L(new K(`request to ${he.url} failed, reason: ${i.message}`,"system",i));finalize()}));Ce.on("response",(i=>{clearTimeout(we);const u=Y(i.headers);if(fetch.isRedirect(i.statusCode)){const B=u.get("Location");let Q=null;try{Q=B===null?null:new I(B,he.url).toString()}catch{if(he.redirect!=="manual"){L(new K(`uri requested responds with an invalid redirect URL: ${B}`,"invalid-redirect"));finalize();return}}if(he.redirect==="error"){L(new K("uri requested responds with a redirect, "+`redirect mode is set to error: ${he.url}`,"no-redirect"));finalize();return}else if(he.redirect==="manual"){if(Q!==null){try{u.set("Location",Q)}catch(i){L(i)}}}else if(he.redirect==="follow"&&Q!==null){if(he.counter>=he.follow){L(new K(`maximum redirect reached at: ${he.url}`,"max-redirect"));finalize();return}if(i.statusCode!==303&&he.body&&G(he)===null){L(new K("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}he.headers.set("host",new I(Q).host);const u={headers:new W(he.headers),follow:he.follow,counter:he.counter+1,agent:he.agent,compress:he.compress,method:he.method,body:he.body,signal:he.signal,timeout:he.timeout};const B=new I(he.url);const P=new I(Q);if(B.hostname!==P.hostname){u.headers.delete("authorization");u.headers.delete("cookie")}if(i.statusCode===303||(i.statusCode===301||i.statusCode===302)&&he.method==="POST"){u.method="GET";u.body=undefined;u.headers.delete("content-length")}A(fetch(new J(Q,u)));finalize();return}}i.once("end",(()=>be&&be.removeEventListener("abort",abortAndFinalize)));const B=new D;B.on("error",finalize);i.on("error",(i=>B.emit("error",i)));i.on("data",(i=>B.write(i)));i.on("end",(()=>B.end()));const Q={url:he.url,status:i.statusCode,statusText:i.statusMessage,headers:u,size:he.size,timeout:he.timeout,counter:he.counter,trailer:new Promise((u=>i.on("end",(()=>u(Y(i.trailers))))))};const U=u.get("Content-Encoding");if(!he.compress||he.method==="HEAD"||U===null||i.statusCode===204||i.statusCode===304){Ee=new z(B,Q);A(Ee);return}const $={flush:P.constants.Z_SYNC_FLUSH,finishFlush:P.constants.Z_SYNC_FLUSH};if(U==="gzip"||U==="x-gzip"){const i=new P.Gunzip($);Ee=new z(B.on("error",(u=>i.emit("error",u))).pipe(i),Q);A(Ee);return}if(U==="deflate"||U==="x-deflate"){i.once("data",(i=>{const u=(i[0]&15)===8?new P.Inflate:new P.InflateRaw;B.on("error",(i=>u.emit("error",i))).pipe(u);Ee=new z(u,Q);A(Ee)}));return}if(U==="br"){try{var X=new P.BrotliDecompress}catch(i){L(i);finalize();return}B.on("error",(i=>X.emit("error",i))).pipe(X);Ee=new z(X,Q);A(Ee);return}Ee=new z(B,Q);A(Ee)}));U(Ce,he)}))};i.exports=fetch;fetch.isRedirect=i=>i===301||i===302||i===303||i===307||i===308;fetch.Headers=W;fetch.Request=J;fetch.Response=z;fetch.FetchError=K;fetch.AbortError=X},99586:(i,u,A)=>{"use strict";const{URL:I}=A(87016);const{Minipass:B}=A(78275);const Q=A(98645);const{exportNodeCompatibleHeaders:P}=Q;const D=A(28515);const{clone:L,extractContentType:U,getTotalBytes:G}=D;const z=A(27573).rE;const W=`minipass-fetch/${z} (+https://github.com/isaacs/minipass-fetch)`;const Y=Symbol("Request internals");const isRequest=i=>typeof i==="object"&&typeof i[Y]==="object";const isAbortSignal=i=>{const u=i&&typeof i==="object"&&Object.getPrototypeOf(i);return!!(u&&u.constructor.name==="AbortSignal")};class Request extends D{constructor(i,u={}){const A=isRequest(i)?new I(i.url):i&&i.href?new I(i.href):new I(`${i}`);if(isRequest(i)){u={...i[Y],...u}}else if(!i||typeof i==="string"){i={}}const B=(u.method||i.method||"GET").toUpperCase();const P=B==="GET"||B==="HEAD";if((u.body!==null&&u.body!==undefined||isRequest(i)&&i.body!==null)&&P){throw new TypeError("Request with GET/HEAD method cannot have body")}const D=u.body!==null&&u.body!==undefined?u.body:isRequest(i)&&i.body!==null?L(i):null;super(D,{timeout:u.timeout||i.timeout||0,size:u.size||i.size||0});const G=new Q(u.headers||i.headers||{});if(D!==null&&D!==undefined&&!G.has("Content-Type")){const i=U(D);if(i){G.append("Content-Type",i)}}const z="signal"in u?u.signal:null;if(z!==null&&z!==undefined&&!isAbortSignal(z)){throw new TypeError("Expected signal must be an instanceof AbortSignal")}const{ca:W,cert:J,ciphers:$,clientCertEngine:K,crl:X,dhparam:he,ecdhCurve:Ae,family:ye,honorCipherOrder:be,key:Ee,passphrase:Ce,pfx:we,rejectUnauthorized:ve=process.env.NODE_TLS_REJECT_UNAUTHORIZED!=="0",secureOptions:Se,secureProtocol:Re,servername:Ne,sessionIdContext:_e}=u;this[Y]={method:B,redirect:u.redirect||i.redirect||"follow",headers:G,parsedURL:A,signal:z,ca:W,cert:J,ciphers:$,clientCertEngine:K,crl:X,dhparam:he,ecdhCurve:Ae,family:ye,honorCipherOrder:be,key:Ee,passphrase:Ce,pfx:we,rejectUnauthorized:ve,secureOptions:Se,secureProtocol:Re,servername:Ne,sessionIdContext:_e};this.follow=u.follow!==undefined?u.follow:i.follow!==undefined?i.follow:20;this.compress=u.compress!==undefined?u.compress:i.compress!==undefined?i.compress:true;this.counter=u.counter||i.counter||0;this.agent=u.agent||i.agent}get method(){return this[Y].method}get url(){return this[Y].parsedURL.toString()}get headers(){return this[Y].headers}get redirect(){return this[Y].redirect}get signal(){return this[Y].signal}clone(){return new Request(this)}get[Symbol.toStringTag](){return"Request"}static getNodeRequestOptions(i){const u=i[Y].parsedURL;const A=new Q(i[Y].headers);if(!A.has("Accept")){A.set("Accept","*/*")}if(!/^https?:$/.test(u.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(i.signal&&B.isStream(i.body)&&typeof i.body.destroy!=="function"){throw new Error("Cancellation of streamed requests with AbortSignal is not supported")}const I=(i.body===null||i.body===undefined)&&/^(POST|PUT)$/i.test(i.method)?"0":i.body!==null&&i.body!==undefined?G(i):null;if(I){A.set("Content-Length",I+"")}if(!A.has("User-Agent")){A.set("User-Agent",W)}if(i.compress&&!A.has("Accept-Encoding")){A.set("Accept-Encoding","gzip,deflate")}const D=typeof i.agent==="function"?i.agent(u):i.agent;if(!A.has("Connection")&&!D){A.set("Connection","close")}const{ca:L,cert:U,ciphers:z,clientCertEngine:J,crl:$,dhparam:K,ecdhCurve:X,family:he,honorCipherOrder:Ae,key:ye,passphrase:be,pfx:Ee,rejectUnauthorized:Ce,secureOptions:we,secureProtocol:ve,servername:Se,sessionIdContext:Re}=i[Y];const Ne={auth:u.username||u.password?`${u.username}:${u.password}`:"",host:u.host,hostname:u.hostname,path:`${u.pathname}${u.search}`,port:u.port,protocol:u.protocol};return{...Ne,method:i.method,headers:P(A),agent:D,ca:L,cert:U,ciphers:z,clientCertEngine:J,crl:$,dhparam:K,ecdhCurve:X,family:he,honorCipherOrder:Ae,key:ye,passphrase:be,pfx:Ee,rejectUnauthorized:Ce,secureOptions:we,secureProtocol:ve,servername:Se,sessionIdContext:Re,timeout:i.timeout}}}i.exports=Request;Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}})},43852:(i,u,A)=>{"use strict";const I=A(58611);const{STATUS_CODES:B}=I;const Q=A(98645);const P=A(28515);const{clone:D,extractContentType:L}=P;const U=Symbol("Response internals");class Response extends P{constructor(i=null,u={}){super(i,u);const A=u.status||200;const I=new Q(u.headers);if(i!==null&&i!==undefined&&!I.has("Content-Type")){const u=L(i);if(u){I.append("Content-Type",u)}}this[U]={url:u.url,status:A,statusText:u.statusText||B[A],headers:I,counter:u.counter,trailer:Promise.resolve(u.trailer||new Q)}}get trailer(){return this[U].trailer}get url(){return this[U].url||""}get status(){return this[U].status}get ok(){return this[U].status>=200&&this[U].status<300}get redirected(){return this[U].counter>0}get statusText(){return this[U].statusText}get headers(){return this[U].headers}clone(){return new Response(D(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected,trailer:this.trailer})}get[Symbol.toStringTag](){return"Response"}}i.exports=Response;Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}})},37633:(i,u,A)=>{const I=A(64387);const B=Symbol("_flush");const Q=Symbol("_flushed");const P=Symbol("_flushing");class Flush extends I{constructor(i={}){if(typeof i==="function")i={flush:i};super(i);if(typeof i.flush!=="function"&&typeof this.flush!=="function")throw new TypeError("must provide flush function in options");this[B]=i.flush||this.flush}emit(i,...u){if(i!=="end"&&i!=="finish"||this[Q])return super.emit(i,...u);if(this[P])return;this[P]=true;const afterFlush=i=>{this[Q]=true;i?super.emit("error",i):super.emit("end")};const A=this[B](afterFlush);if(A&&A.then)A.then((()=>afterFlush()),(i=>afterFlush(i)))}}i.exports=Flush},64387:(i,u,A)=>{"use strict";const I=typeof process==="object"&&process?process:{stdout:null,stderr:null};const B=A(24434);const Q=A(2203);const P=A(13193).StringDecoder;const D=Symbol("EOF");const L=Symbol("maybeEmitEnd");const U=Symbol("emittedEnd");const G=Symbol("emittingEnd");const z=Symbol("emittedError");const W=Symbol("closed");const Y=Symbol("read");const J=Symbol("flush");const $=Symbol("flushChunk");const K=Symbol("encoding");const X=Symbol("decoder");const he=Symbol("flowing");const Ae=Symbol("paused");const ye=Symbol("resume");const be=Symbol("bufferLength");const Ee=Symbol("bufferPush");const Ce=Symbol("bufferShift");const we=Symbol("objectMode");const ve=Symbol("destroyed");const Se=Symbol("emitData");const Re=Symbol("emitEnd");const Ne=Symbol("emitEnd2");const _e=Symbol("async");const defer=i=>Promise.resolve().then(i);const Oe=global._MP_NO_ITERATOR_SYMBOLS_!=="1";const xe=Oe&&Symbol.asyncIterator||Symbol("asyncIterator not implemented");const ke=Oe&&Symbol.iterator||Symbol("iterator not implemented");const isEndish=i=>i==="end"||i==="finish"||i==="prefinish";const isArrayBuffer=i=>i instanceof ArrayBuffer||typeof i==="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0;const isArrayBufferView=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i);class Pipe{constructor(i,u,A){this.src=i;this.dest=u;this.opts=A;this.ondrain=()=>i[ye]();u.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(i,u,A){super(i,u,A);this.proxyErrors=i=>u.emit("error",i);i.on("error",this.proxyErrors)}}i.exports=class Minipass extends Q{constructor(i){super();this[he]=false;this[Ae]=false;this.pipes=[];this.buffer=[];this[we]=i&&i.objectMode||false;if(this[we])this[K]=null;else this[K]=i&&i.encoding||null;if(this[K]==="buffer")this[K]=null;this[_e]=i&&!!i.async||false;this[X]=this[K]?new P(this[K]):null;this[D]=false;this[U]=false;this[G]=false;this[W]=false;this[z]=null;this.writable=true;this.readable=true;this[be]=0;this[ve]=false}get bufferLength(){return this[be]}get encoding(){return this[K]}set encoding(i){if(this[we])throw new Error("cannot set encoding in objectMode");if(this[K]&&i!==this[K]&&(this[X]&&this[X].lastNeed||this[be]))throw new Error("cannot change encoding");if(this[K]!==i){this[X]=i?new P(i):null;if(this.buffer.length)this.buffer=this.buffer.map((i=>this[X].write(i)))}this[K]=i}setEncoding(i){this.encoding=i}get objectMode(){return this[we]}set objectMode(i){this[we]=this[we]||!!i}get["async"](){return this[_e]}set["async"](i){this[_e]=this[_e]||!!i}write(i,u,A){if(this[D])throw new Error("write after end");if(this[ve]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof u==="function")A=u,u="utf8";if(!u)u="utf8";const I=this[_e]?defer:i=>i();if(!this[we]&&!Buffer.isBuffer(i)){if(isArrayBufferView(i))i=Buffer.from(i.buffer,i.byteOffset,i.byteLength);else if(isArrayBuffer(i))i=Buffer.from(i);else if(typeof i!=="string")this.objectMode=true}if(this[we]){if(this.flowing&&this[be]!==0)this[J](true);if(this.flowing)this.emit("data",i);else this[Ee](i);if(this[be]!==0)this.emit("readable");if(A)I(A);return this.flowing}if(!i.length){if(this[be]!==0)this.emit("readable");if(A)I(A);return this.flowing}if(typeof i==="string"&&!(u===this[K]&&!this[X].lastNeed)){i=Buffer.from(i,u)}if(Buffer.isBuffer(i)&&this[K])i=this[X].write(i);if(this.flowing&&this[be]!==0)this[J](true);if(this.flowing)this.emit("data",i);else this[Ee](i);if(this[be]!==0)this.emit("readable");if(A)I(A);return this.flowing}read(i){if(this[ve])return null;if(this[be]===0||i===0||i>this[be]){this[L]();return null}if(this[we])i=null;if(this.buffer.length>1&&!this[we]){if(this.encoding)this.buffer=[this.buffer.join("")];else this.buffer=[Buffer.concat(this.buffer,this[be])]}const u=this[Y](i||null,this.buffer[0]);this[L]();return u}[Y](i,u){if(i===u.length||i===null)this[Ce]();else{this.buffer[0]=u.slice(i);u=u.slice(0,i);this[be]-=i}this.emit("data",u);if(!this.buffer.length&&!this[D])this.emit("drain");return u}end(i,u,A){if(typeof i==="function")A=i,i=null;if(typeof u==="function")A=u,u="utf8";if(i)this.write(i,u);if(A)this.once("end",A);this[D]=true;this.writable=false;if(this.flowing||!this[Ae])this[L]();return this}[ye](){if(this[ve])return;this[Ae]=false;this[he]=true;this.emit("resume");if(this.buffer.length)this[J]();else if(this[D])this[L]();else this.emit("drain")}resume(){return this[ye]()}pause(){this[he]=false;this[Ae]=true}get destroyed(){return this[ve]}get flowing(){return this[he]}get paused(){return this[Ae]}[Ee](i){if(this[we])this[be]+=1;else this[be]+=i.length;this.buffer.push(i)}[Ce](){if(this.buffer.length){if(this[we])this[be]-=1;else this[be]-=this.buffer[0].length}return this.buffer.shift()}[J](i){do{}while(this[$](this[Ce]()));if(!i&&!this.buffer.length&&!this[D])this.emit("drain")}[$](i){return i?(this.emit("data",i),this.flowing):false}pipe(i,u){if(this[ve])return;const A=this[U];u=u||{};if(i===I.stdout||i===I.stderr)u.end=false;else u.end=u.end!==false;u.proxyErrors=!!u.proxyErrors;if(A){if(u.end)i.end()}else{this.pipes.push(!u.proxyErrors?new Pipe(this,i,u):new PipeProxyErrors(this,i,u));if(this[_e])defer((()=>this[ye]()));else this[ye]()}return i}unpipe(i){const u=this.pipes.find((u=>u.dest===i));if(u){this.pipes.splice(this.pipes.indexOf(u),1);u.unpipe()}}addListener(i,u){return this.on(i,u)}on(i,u){const A=super.on(i,u);if(i==="data"&&!this.pipes.length&&!this.flowing)this[ye]();else if(i==="readable"&&this[be]!==0)super.emit("readable");else if(isEndish(i)&&this[U]){super.emit(i);this.removeAllListeners(i)}else if(i==="error"&&this[z]){if(this[_e])defer((()=>u.call(this,this[z])));else u.call(this,this[z])}return A}get emittedEnd(){return this[U]}[L](){if(!this[G]&&!this[U]&&!this[ve]&&this.buffer.length===0&&this[D]){this[G]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[W])this.emit("close");this[G]=false}}emit(i,u,...A){if(i!=="error"&&i!=="close"&&i!==ve&&this[ve])return;else if(i==="data"){return!u?false:this[_e]?defer((()=>this[Se](u))):this[Se](u)}else if(i==="end"){return this[Re]()}else if(i==="close"){this[W]=true;if(!this[U]&&!this[ve])return;const i=super.emit("close");this.removeAllListeners("close");return i}else if(i==="error"){this[z]=u;const i=super.emit("error",u);this[L]();return i}else if(i==="resume"){const i=super.emit("resume");this[L]();return i}else if(i==="finish"||i==="prefinish"){const u=super.emit(i);this.removeAllListeners(i);return u}const I=super.emit(i,u,...A);this[L]();return I}[Se](i){for(const u of this.pipes){if(u.dest.write(i)===false)this.pause()}const u=super.emit("data",i);this[L]();return u}[Re](){if(this[U])return;this[U]=true;this.readable=false;if(this[_e])defer((()=>this[Ne]()));else this[Ne]()}[Ne](){if(this[X]){const i=this[X].end();if(i){for(const u of this.pipes){u.dest.write(i)}super.emit("data",i)}}for(const i of this.pipes){i.end()}const i=super.emit("end");this.removeAllListeners("end");return i}collect(){const i=[];if(!this[we])i.dataLength=0;const u=this.promise();this.on("data",(u=>{i.push(u);if(!this[we])i.dataLength+=u.length}));return u.then((()=>i))}concat(){return this[we]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then((i=>this[we]?Promise.reject(new Error("cannot concat in objectMode")):this[K]?i.join(""):Buffer.concat(i,i.dataLength)))}promise(){return new Promise(((i,u)=>{this.on(ve,(()=>u(new Error("stream destroyed"))));this.on("error",(i=>u(i)));this.on("end",(()=>i()))}))}[xe](){const next=()=>{const i=this.read();if(i!==null)return Promise.resolve({done:false,value:i});if(this[D])return Promise.resolve({done:true});let u=null;let A=null;const onerr=i=>{this.removeListener("data",ondata);this.removeListener("end",onend);A(i)};const ondata=i=>{this.removeListener("error",onerr);this.removeListener("end",onend);this.pause();u({value:i,done:!!this[D]})};const onend=()=>{this.removeListener("error",onerr);this.removeListener("data",ondata);u({done:true})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((i,I)=>{A=I;u=i;this.once(ve,ondestroy);this.once("error",onerr);this.once("end",onend);this.once("data",ondata)}))};return{next:next}}[ke](){const next=()=>{const i=this.read();const u=i===null;return{value:i,done:u}};return{next:next}}destroy(i){if(this[ve]){if(i)this.emit("error",i);else this.emit(ve);return this}this[ve]=true;this.buffer.length=0;this[be]=0;if(typeof this.close==="function"&&!this[W])this.close();if(i)this.emit("error",i);else this.emit(ve);return this}static isStream(i){return!!i&&(i instanceof Minipass||i instanceof Q||i instanceof B&&(typeof i.pipe==="function"||typeof i.write==="function"&&typeof i.end==="function"))}}},52899:(i,u,A)=>{const I=A(45485);const B=A(24434);const isStream=i=>i&&i instanceof B&&(typeof i.pipe==="function"||typeof i.write==="function"&&typeof i.end==="function");const Q=Symbol("_head");const P=Symbol("_tail");const D=Symbol("_linkStreams");const L=Symbol("_setHead");const U=Symbol("_setTail");const G=Symbol("_onError");const z=Symbol("_onData");const W=Symbol("_onEnd");const Y=Symbol("_onDrain");const J=Symbol("_streams");class Pipeline extends I{constructor(i,...u){if(isStream(i)){u.unshift(i);i={}}super(i);this[J]=[];if(u.length)this.push(...u)}[D](i){return i.reduce(((i,u)=>{i.on("error",(i=>u.emit("error",i)));i.pipe(u);return u}))}push(...i){this[J].push(...i);if(this[P])i.unshift(this[P]);const u=this[D](i);this[U](u);if(!this[Q])this[L](i[0])}unshift(...i){this[J].unshift(...i);if(this[Q])i.push(this[Q]);const u=this[D](i);this[L](i[0]);if(!this[P])this[U](u)}destroy(i){this[J].forEach((i=>typeof i.destroy==="function"&&i.destroy()));return super.destroy(i)}[U](i){this[P]=i;i.on("error",(u=>this[G](i,u)));i.on("data",(u=>this[z](i,u)));i.on("end",(()=>this[W](i)));i.on("finish",(()=>this[W](i)))}[G](i,u){if(i===this[P])this.emit("error",u)}[z](i,u){if(i===this[P])super.write(u)}[W](i){if(i===this[P])super.end()}pause(){super.pause();return this[P]&&this[P].pause&&this[P].pause()}emit(i,...u){if(i==="resume"&&this[P]&&this[P].resume)this[P].resume();return super.emit(i,...u)}[L](i){this[Q]=i;i.on("drain",(()=>this[Y](i)))}[Y](i){if(i===this[Q])this.emit("drain")}write(i,u,A){return this[Q].write(i,u,A)&&(this.flowing||this.buffer.length===0)}end(i,u,A){this[Q].end(i,u,A);return this}}i.exports=Pipeline},45485:(i,u,A)=>{"use strict";const I=typeof process==="object"&&process?process:{stdout:null,stderr:null};const B=A(24434);const Q=A(2203);const P=A(13193).StringDecoder;const D=Symbol("EOF");const L=Symbol("maybeEmitEnd");const U=Symbol("emittedEnd");const G=Symbol("emittingEnd");const z=Symbol("emittedError");const W=Symbol("closed");const Y=Symbol("read");const J=Symbol("flush");const $=Symbol("flushChunk");const K=Symbol("encoding");const X=Symbol("decoder");const he=Symbol("flowing");const Ae=Symbol("paused");const ye=Symbol("resume");const be=Symbol("bufferLength");const Ee=Symbol("bufferPush");const Ce=Symbol("bufferShift");const we=Symbol("objectMode");const ve=Symbol("destroyed");const Se=Symbol("emitData");const Re=Symbol("emitEnd");const Ne=Symbol("emitEnd2");const _e=Symbol("async");const defer=i=>Promise.resolve().then(i);const Oe=global._MP_NO_ITERATOR_SYMBOLS_!=="1";const xe=Oe&&Symbol.asyncIterator||Symbol("asyncIterator not implemented");const ke=Oe&&Symbol.iterator||Symbol("iterator not implemented");const isEndish=i=>i==="end"||i==="finish"||i==="prefinish";const isArrayBuffer=i=>i instanceof ArrayBuffer||typeof i==="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0;const isArrayBufferView=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i);class Pipe{constructor(i,u,A){this.src=i;this.dest=u;this.opts=A;this.ondrain=()=>i[ye]();u.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(i,u,A){super(i,u,A);this.proxyErrors=i=>u.emit("error",i);i.on("error",this.proxyErrors)}}i.exports=class Minipass extends Q{constructor(i){super();this[he]=false;this[Ae]=false;this.pipes=[];this.buffer=[];this[we]=i&&i.objectMode||false;if(this[we])this[K]=null;else this[K]=i&&i.encoding||null;if(this[K]==="buffer")this[K]=null;this[_e]=i&&!!i.async||false;this[X]=this[K]?new P(this[K]):null;this[D]=false;this[U]=false;this[G]=false;this[W]=false;this[z]=null;this.writable=true;this.readable=true;this[be]=0;this[ve]=false}get bufferLength(){return this[be]}get encoding(){return this[K]}set encoding(i){if(this[we])throw new Error("cannot set encoding in objectMode");if(this[K]&&i!==this[K]&&(this[X]&&this[X].lastNeed||this[be]))throw new Error("cannot change encoding");if(this[K]!==i){this[X]=i?new P(i):null;if(this.buffer.length)this.buffer=this.buffer.map((i=>this[X].write(i)))}this[K]=i}setEncoding(i){this.encoding=i}get objectMode(){return this[we]}set objectMode(i){this[we]=this[we]||!!i}get["async"](){return this[_e]}set["async"](i){this[_e]=this[_e]||!!i}write(i,u,A){if(this[D])throw new Error("write after end");if(this[ve]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof u==="function")A=u,u="utf8";if(!u)u="utf8";const I=this[_e]?defer:i=>i();if(!this[we]&&!Buffer.isBuffer(i)){if(isArrayBufferView(i))i=Buffer.from(i.buffer,i.byteOffset,i.byteLength);else if(isArrayBuffer(i))i=Buffer.from(i);else if(typeof i!=="string")this.objectMode=true}if(this[we]){if(this.flowing&&this[be]!==0)this[J](true);if(this.flowing)this.emit("data",i);else this[Ee](i);if(this[be]!==0)this.emit("readable");if(A)I(A);return this.flowing}if(!i.length){if(this[be]!==0)this.emit("readable");if(A)I(A);return this.flowing}if(typeof i==="string"&&!(u===this[K]&&!this[X].lastNeed)){i=Buffer.from(i,u)}if(Buffer.isBuffer(i)&&this[K])i=this[X].write(i);if(this.flowing&&this[be]!==0)this[J](true);if(this.flowing)this.emit("data",i);else this[Ee](i);if(this[be]!==0)this.emit("readable");if(A)I(A);return this.flowing}read(i){if(this[ve])return null;if(this[be]===0||i===0||i>this[be]){this[L]();return null}if(this[we])i=null;if(this.buffer.length>1&&!this[we]){if(this.encoding)this.buffer=[this.buffer.join("")];else this.buffer=[Buffer.concat(this.buffer,this[be])]}const u=this[Y](i||null,this.buffer[0]);this[L]();return u}[Y](i,u){if(i===u.length||i===null)this[Ce]();else{this.buffer[0]=u.slice(i);u=u.slice(0,i);this[be]-=i}this.emit("data",u);if(!this.buffer.length&&!this[D])this.emit("drain");return u}end(i,u,A){if(typeof i==="function")A=i,i=null;if(typeof u==="function")A=u,u="utf8";if(i)this.write(i,u);if(A)this.once("end",A);this[D]=true;this.writable=false;if(this.flowing||!this[Ae])this[L]();return this}[ye](){if(this[ve])return;this[Ae]=false;this[he]=true;this.emit("resume");if(this.buffer.length)this[J]();else if(this[D])this[L]();else this.emit("drain")}resume(){return this[ye]()}pause(){this[he]=false;this[Ae]=true}get destroyed(){return this[ve]}get flowing(){return this[he]}get paused(){return this[Ae]}[Ee](i){if(this[we])this[be]+=1;else this[be]+=i.length;this.buffer.push(i)}[Ce](){if(this.buffer.length){if(this[we])this[be]-=1;else this[be]-=this.buffer[0].length}return this.buffer.shift()}[J](i){do{}while(this[$](this[Ce]()));if(!i&&!this.buffer.length&&!this[D])this.emit("drain")}[$](i){return i?(this.emit("data",i),this.flowing):false}pipe(i,u){if(this[ve])return;const A=this[U];u=u||{};if(i===I.stdout||i===I.stderr)u.end=false;else u.end=u.end!==false;u.proxyErrors=!!u.proxyErrors;if(A){if(u.end)i.end()}else{this.pipes.push(!u.proxyErrors?new Pipe(this,i,u):new PipeProxyErrors(this,i,u));if(this[_e])defer((()=>this[ye]()));else this[ye]()}return i}unpipe(i){const u=this.pipes.find((u=>u.dest===i));if(u){this.pipes.splice(this.pipes.indexOf(u),1);u.unpipe()}}addListener(i,u){return this.on(i,u)}on(i,u){const A=super.on(i,u);if(i==="data"&&!this.pipes.length&&!this.flowing)this[ye]();else if(i==="readable"&&this[be]!==0)super.emit("readable");else if(isEndish(i)&&this[U]){super.emit(i);this.removeAllListeners(i)}else if(i==="error"&&this[z]){if(this[_e])defer((()=>u.call(this,this[z])));else u.call(this,this[z])}return A}get emittedEnd(){return this[U]}[L](){if(!this[G]&&!this[U]&&!this[ve]&&this.buffer.length===0&&this[D]){this[G]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[W])this.emit("close");this[G]=false}}emit(i,u,...A){if(i!=="error"&&i!=="close"&&i!==ve&&this[ve])return;else if(i==="data"){return!u?false:this[_e]?defer((()=>this[Se](u))):this[Se](u)}else if(i==="end"){return this[Re]()}else if(i==="close"){this[W]=true;if(!this[U]&&!this[ve])return;const i=super.emit("close");this.removeAllListeners("close");return i}else if(i==="error"){this[z]=u;const i=super.emit("error",u);this[L]();return i}else if(i==="resume"){const i=super.emit("resume");this[L]();return i}else if(i==="finish"||i==="prefinish"){const u=super.emit(i);this.removeAllListeners(i);return u}const I=super.emit(i,u,...A);this[L]();return I}[Se](i){for(const u of this.pipes){if(u.dest.write(i)===false)this.pause()}const u=super.emit("data",i);this[L]();return u}[Re](){if(this[U])return;this[U]=true;this.readable=false;if(this[_e])defer((()=>this[Ne]()));else this[Ne]()}[Ne](){if(this[X]){const i=this[X].end();if(i){for(const u of this.pipes){u.dest.write(i)}super.emit("data",i)}}for(const i of this.pipes){i.end()}const i=super.emit("end");this.removeAllListeners("end");return i}collect(){const i=[];if(!this[we])i.dataLength=0;const u=this.promise();this.on("data",(u=>{i.push(u);if(!this[we])i.dataLength+=u.length}));return u.then((()=>i))}concat(){return this[we]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then((i=>this[we]?Promise.reject(new Error("cannot concat in objectMode")):this[K]?i.join(""):Buffer.concat(i,i.dataLength)))}promise(){return new Promise(((i,u)=>{this.on(ve,(()=>u(new Error("stream destroyed"))));this.on("error",(i=>u(i)));this.on("end",(()=>i()))}))}[xe](){const next=()=>{const i=this.read();if(i!==null)return Promise.resolve({done:false,value:i});if(this[D])return Promise.resolve({done:true});let u=null;let A=null;const onerr=i=>{this.removeListener("data",ondata);this.removeListener("end",onend);A(i)};const ondata=i=>{this.removeListener("error",onerr);this.removeListener("end",onend);this.pause();u({value:i,done:!!this[D]})};const onend=()=>{this.removeListener("error",onerr);this.removeListener("data",ondata);u({done:true})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((i,I)=>{A=I;u=i;this.once(ve,ondestroy);this.once("error",onerr);this.once("end",onend);this.once("data",ondata)}))};return{next:next}}[ke](){const next=()=>{const i=this.read();const u=i===null;return{value:i,done:u}};return{next:next}}destroy(i){if(this[ve]){if(i)this.emit("error",i);else this.emit(ve);return this}this[ve]=true;this.buffer.length=0;this[be]=0;if(typeof this.close==="function"&&!this[W])this.close();if(i)this.emit("error",i);else this.emit(ve);return this}static isStream(i){return!!i&&(i instanceof Minipass||i instanceof Q||i instanceof B&&(typeof i.pipe==="function"||typeof i.write==="function"&&typeof i.end==="function"))}}},4469:(i,u,A)=>{var I=A(16928);var B=A(79896);var Q=parseInt("0777",8);i.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(i,u,A,P){if(typeof u==="function"){A=u;u={}}else if(!u||typeof u!=="object"){u={mode:u}}var D=u.mode;var L=u.fs||B;if(D===undefined){D=Q}if(!P)P=null;var U=A||function(){};i=I.resolve(i);L.mkdir(i,D,(function(A){if(!A){P=P||i;return U(null,P)}switch(A.code){case"ENOENT":if(I.dirname(i)===i)return U(A);mkdirP(I.dirname(i),u,(function(A,I){if(A)U(A,I);else mkdirP(i,u,U,I)}));break;default:L.stat(i,(function(i,u){if(i||!u.isDirectory())U(A,P);else U(null,P)}));break}}))}mkdirP.sync=function sync(i,u,A){if(!u||typeof u!=="object"){u={mode:u}}var P=u.mode;var D=u.fs||B;if(P===undefined){P=Q}if(!A)A=null;i=I.resolve(i);try{D.mkdirSync(i,P);A=A||i}catch(B){switch(B.code){case"ENOENT":A=sync(I.dirname(i),u,A);sync(i,u,A);break;default:var L;try{L=D.statSync(i)}catch(i){throw B}if(!L.isDirectory())throw B;break}}return A}},70744:i=>{var u=1e3;var A=u*60;var I=A*60;var B=I*24;var Q=B*7;var P=B*365.25;i.exports=function(i,u){u=u||{};var A=typeof i;if(A==="string"&&i.length>0){return parse(i)}else if(A==="number"&&isFinite(i)){return u.long?fmtLong(i):fmtShort(i)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function parse(i){i=String(i);if(i.length>100){return}var D=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!D){return}var L=parseFloat(D[1]);var U=(D[2]||"ms").toLowerCase();switch(U){case"years":case"year":case"yrs":case"yr":case"y":return L*P;case"weeks":case"week":case"w":return L*Q;case"days":case"day":case"d":return L*B;case"hours":case"hour":case"hrs":case"hr":case"h":return L*I;case"minutes":case"minute":case"mins":case"min":case"m":return L*A;case"seconds":case"second":case"secs":case"sec":case"s":return L*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return L;default:return undefined}}function fmtShort(i){var Q=Math.abs(i);if(Q>=B){return Math.round(i/B)+"d"}if(Q>=I){return Math.round(i/I)+"h"}if(Q>=A){return Math.round(i/A)+"m"}if(Q>=u){return Math.round(i/u)+"s"}return i+"ms"}function fmtLong(i){var Q=Math.abs(i);if(Q>=B){return plural(i,Q,B,"day")}if(Q>=I){return plural(i,Q,I,"hour")}if(Q>=A){return plural(i,Q,A,"minute")}if(Q>=u){return plural(i,Q,u,"second")}return i+" ms"}function plural(i,u,A,I){var B=u>=A*1.5;return Math.round(i/A)+" "+I+(B?"s":"")}},60668:(i,u,A)=>{"use strict"; /*! * negotiator * Copyright(c) 2012 Federico Romero * Copyright(c) 2012-2014 Isaac Z. Schlueter * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */var I=A(79168);var B=A(25111);var Q=A(56008);var P=A(53672);i.exports=Negotiator;i.exports.Negotiator=Negotiator;function Negotiator(i){if(!(this instanceof Negotiator)){return new Negotiator(i)}this.request=i}Negotiator.prototype.charset=function charset(i){var u=this.charsets(i);return u&&u[0]};Negotiator.prototype.charsets=function charsets(i){return I(this.request.headers["accept-charset"],i)};Negotiator.prototype.encoding=function encoding(i,u){var A=this.encodings(i,u);return A&&A[0]};Negotiator.prototype.encodings=function encodings(i,u){var A=u||{};return B(this.request.headers["accept-encoding"],i,A.preferred)};Negotiator.prototype.language=function language(i){var u=this.languages(i);return u&&u[0]};Negotiator.prototype.languages=function languages(i){return Q(this.request.headers["accept-language"],i)};Negotiator.prototype.mediaType=function mediaType(i){var u=this.mediaTypes(i);return u&&u[0]};Negotiator.prototype.mediaTypes=function mediaTypes(i){return P(this.request.headers.accept,i)};Negotiator.prototype.preferredCharset=Negotiator.prototype.charset;Negotiator.prototype.preferredCharsets=Negotiator.prototype.charsets;Negotiator.prototype.preferredEncoding=Negotiator.prototype.encoding;Negotiator.prototype.preferredEncodings=Negotiator.prototype.encodings;Negotiator.prototype.preferredLanguage=Negotiator.prototype.language;Negotiator.prototype.preferredLanguages=Negotiator.prototype.languages;Negotiator.prototype.preferredMediaType=Negotiator.prototype.mediaType;Negotiator.prototype.preferredMediaTypes=Negotiator.prototype.mediaTypes},79168:i=>{"use strict";i.exports=preferredCharsets;i.exports.preferredCharsets=preferredCharsets;var u=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function parseAcceptCharset(i){var u=i.split(",");for(var A=0,I=0;A0}},25111:i=>{"use strict";i.exports=preferredEncodings;i.exports.preferredEncodings=preferredEncodings;var u=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function parseAcceptEncoding(i){var u=i.split(",");var A=false;var I=1;for(var B=0,Q=0;B0}},56008:i=>{"use strict";i.exports=preferredLanguages;i.exports.preferredLanguages=preferredLanguages;var u=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function parseAcceptLanguage(i){var u=i.split(",");for(var A=0,I=0;A0}},53672:i=>{"use strict";i.exports=preferredMediaTypes;i.exports.preferredMediaTypes=preferredMediaTypes;var u=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function parseAccept(i){var u=splitMediaTypes(i);for(var A=0,I=0;A0){if(Q.every((function(i){return u.params[i]=="*"||(u.params[i]||"").toLowerCase()==(I.params[i]||"").toLowerCase()}))){B|=1}else{return null}}return{i:A,o:u.i,q:u.q,s:B}}function preferredMediaTypes(i,u){var A=parseAccept(i===undefined?"*/*":i||"");if(!u){return A.filter(isQuality).sort(compareSpecs).map(getFullType)}var I=u.map((function getPriority(i,u){return getMediaTypePriority(i,A,u)}));return I.filter(isQuality).sort(compareSpecs).map((function getType(i){return u[I.indexOf(i)]}))}function compareSpecs(i,u){return u.q-i.q||u.s-i.s||i.o-u.o||i.i-u.i||0}function getFullType(i){return i.type+"/"+i.subtype}function isQuality(i){return i.q>0}function quoteCount(i){var u=0;var A=0;while((A=i.indexOf('"',A))!==-1){u++;A++}return u}function splitKeyValuePair(i){var u=i.indexOf("=");var A;var I;if(u===-1){A=i}else{A=i.slice(0,u);I=i.slice(u+1)}return[A,I]}function splitMediaTypes(i){var u=i.split(",");for(var A=1,I=0;A{ /*! * normalize-path * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. */ i.exports=function(i,u){if(typeof i!=="string"){throw new TypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";var A=i.length;if(A<=1)return i;var I="";if(A>4&&i[3]==="\\"){var B=i[2];if((B==="?"||B===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);I="//"}}var Q=i.split(/[/\\]+/);if(u!==false&&Q[Q.length-1]===""){Q.pop()}return I+Q.join("/")}},55560:(i,u,A)=>{var I=A(58264);i.exports=I(once);i.exports.strict=I(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(i){var f=function(){if(f.called)return f.value;f.called=true;return f.value=i.apply(this,arguments)};f.called=false;return f}function onceStrict(i){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=i.apply(this,arguments)};var u=i.name||"Function wrapped with `once`";f.onceError=u+" shouldn't be called more than once";f.called=false;return f}},26687:i=>{const u=Symbol("proc-log.meta");i.exports={META:u,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...i){return process.emit("output","standard",...i)},error:function(...i){return process.emit("output","error",...i)},buffer:function(...i){return process.emit("output","buffer",...i)},flush:function(...i){return process.emit("output","flush",...i)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...i){return process.emit("log","error",...i)},notice:function(...i){return process.emit("log","notice",...i)},warn:function(...i){return process.emit("log","warn",...i)},info:function(...i){return process.emit("log","info",...i)},verbose:function(...i){return process.emit("log","verbose",...i)},http:function(...i){return process.emit("log","http",...i)},silly:function(...i){return process.emit("log","silly",...i)},timing:function(...i){return process.emit("log","timing",...i)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(i,u){process.emit("time","start",i);function end(){return process.emit("time","end",i)}if(typeof u==="function"){const i=u();if(i&&i.finally){return i.finally(end)}end();return i}return end},end:function(i){return process.emit("time","end",i)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(...i){let u;if(typeof i[0]==="function"){u=i.shift()}process.emit("input","start",...i);function end(){return process.emit("input","end",...i)}if(typeof u==="function"){const i=u();if(i&&i.finally){return i.finally(end)}end();return i}return end},end:function(...i){return process.emit("input","end",...i)},read:function(...i){let u,A;const I=new Promise(((i,I)=>{u=i;A=I}));process.emit("input","read",u,A,...i);return I}}}},19183:i=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}function nextTick(i,u,A,I){if(typeof i!=="function"){throw new TypeError('"callback" argument must be a function')}var B=arguments.length;var Q,P;switch(B){case 0:case 1:return process.nextTick(i);case 2:return process.nextTick((function afterTickOne(){i.call(null,u)}));case 3:return process.nextTick((function afterTickTwo(){i.call(null,u,A)}));case 4:return process.nextTick((function afterTickThree(){i.call(null,u,A,I)}));default:Q=new Array(B-1);P=0;while(P{i.exports=global.process},80652:(i,u,A)=>{"use strict";const{SymbolDispose:I}=A(50999);const{AbortError:B,codes:Q}=A(69220);const{isNodeStream:P,isWebStream:D,kControllerErrorFunction:L}=A(83426);const U=A(36815);const{ERR_INVALID_ARG_TYPE:G}=Q;let z;const validateAbortSignal=(i,u)=>{if(typeof i!=="object"||!("aborted"in i)){throw new G(u,"AbortSignal",i)}};i.exports.addAbortSignal=function addAbortSignal(u,A){validateAbortSignal(u,"signal");if(!P(A)&&!D(A)){throw new G("stream",["ReadableStream","WritableStream","Stream"],A)}return i.exports.addAbortSignalNoValidate(u,A)};i.exports.addAbortSignalNoValidate=function(i,u){if(typeof i!=="object"||!("aborted"in i)){return u}const Q=P(u)?()=>{u.destroy(new B(undefined,{cause:i.reason}))}:()=>{u[L](new B(undefined,{cause:i.reason}))};if(i.aborted){Q()}else{z=z||A(23539).addAbortListener;const B=z(i,Q);U(u,B[I])}return u}},77336:(i,u,A)=>{"use strict";const{StringPrototypeSlice:I,SymbolIterator:B,TypedArrayPrototypeSet:Q,Uint8Array:P}=A(50999);const{Buffer:D}=A(20181);const{inspect:L}=A(23539);i.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){const u={data:i,next:null};if(this.length>0)this.tail.next=u;else this.head=u;this.tail=u;++this.length}unshift(i){const u={data:i,next:this.head};if(this.length===0)this.tail=u;this.head=u;++this.length}shift(){if(this.length===0)return;const i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i}clear(){this.head=this.tail=null;this.length=0}join(i){if(this.length===0)return"";let u=this.head;let A=""+u.data;while((u=u.next)!==null)A+=i+u.data;return A}concat(i){if(this.length===0)return D.alloc(0);const u=D.allocUnsafe(i>>>0);let A=this.head;let I=0;while(A){Q(u,A.data,I);I+=A.data.length;A=A.next}return u}consume(i,u){const A=this.head.data;if(iQ.length){u+=Q;i-=Q.length}else{if(i===Q.length){u+=Q;++B;if(A.next)this.head=A.next;else this.head=this.tail=null}else{u+=I(Q,0,i);this.head=A;A.data=I(Q,i)}break}++B}while((A=A.next)!==null);this.length-=B;return u}_getBuffer(i){const u=D.allocUnsafe(i);const A=i;let I=this.head;let B=0;do{const D=I.data;if(i>D.length){Q(u,D,A-i);i-=D.length}else{if(i===D.length){Q(u,D,A-i);++B;if(I.next)this.head=I.next;else this.head=this.tail=null}else{Q(u,new P(D.buffer,D.byteOffset,i),A-i);this.head=I;I.data=D.slice(i)}break}++B}while((I=I.next)!==null);this.length-=B;return u}[Symbol.for("nodejs.util.inspect.custom")](i,u){return L(this,{...u,depth:0,customInspect:false})}}},64999:(i,u,A)=>{"use strict";const{pipeline:I}=A(16701);const B=A(94449);const{destroyer:Q}=A(65089);const{isNodeStream:P,isReadable:D,isWritable:L,isWebStream:U,isTransformStream:G,isWritableStream:z,isReadableStream:W}=A(83426);const{AbortError:Y,codes:{ERR_INVALID_ARG_VALUE:J,ERR_MISSING_ARGS:$}}=A(69220);const K=A(36815);i.exports=function compose(...i){if(i.length===0){throw new $("streams")}if(i.length===1){return B.from(i[0])}const u=[...i];if(typeof i[0]==="function"){i[0]=B.from(i[0])}if(typeof i[i.length-1]==="function"){const u=i.length-1;i[u]=B.from(i[u])}for(let A=0;A0&&!(L(i[A])||z(i[A])||G(i[A]))){throw new J(`streams[${A}]`,u[A],"must be writable")}}let A;let X;let he;let Ae;let ye;function onfinished(i){const u=Ae;Ae=null;if(u){u(i)}else if(i){ye.destroy(i)}else if(!we&&!Ce){ye.destroy()}}const be=i[0];const Ee=I(i,onfinished);const Ce=!!(L(be)||z(be)||G(be));const we=!!(D(Ee)||W(Ee)||G(Ee));ye=new B({writableObjectMode:!!(be!==null&&be!==undefined&&be.writableObjectMode),readableObjectMode:!!(Ee!==null&&Ee!==undefined&&Ee.readableObjectMode),writable:Ce,readable:we});if(Ce){if(P(be)){ye._write=function(i,u,I){if(be.write(i,u)){I()}else{A=I}};ye._final=function(i){be.end();X=i};be.on("drain",(function(){if(A){const i=A;A=null;i()}}))}else if(U(be)){const i=G(be)?be.writable:be;const u=i.getWriter();ye._write=async function(i,A,I){try{await u.ready;u.write(i).catch((()=>{}));I()}catch(i){I(i)}};ye._final=async function(i){try{await u.ready;u.close().catch((()=>{}));X=i}catch(u){i(u)}}}const i=G(Ee)?Ee.readable:Ee;K(i,(()=>{if(X){const i=X;X=null;i()}}))}if(we){if(P(Ee)){Ee.on("readable",(function(){if(he){const i=he;he=null;i()}}));Ee.on("end",(function(){ye.push(null)}));ye._read=function(){while(true){const i=Ee.read();if(i===null){he=ye._read;return}if(!ye.push(i)){return}}}}else if(U(Ee)){const i=G(Ee)?Ee.readable:Ee;const u=i.getReader();ye._read=async function(){while(true){try{const{value:i,done:A}=await u.read();if(!ye.push(i)){return}if(A){ye.push(null);return}}catch{return}}}}}ye._destroy=function(i,u){if(!i&&Ae!==null){i=new Y}he=null;A=null;X=null;if(Ae===null){u(i)}else{Ae=u;if(P(Ee)){Q(Ee,i)}}};return ye}},65089:(i,u,A)=>{"use strict";const I=A(7945);const{aggregateTwoErrors:B,codes:{ERR_MULTIPLE_CALLBACK:Q},AbortError:P}=A(69220);const{Symbol:D}=A(50999);const{kIsDestroyed:L,isDestroyed:U,isFinished:G,isServerRequest:z}=A(83426);const W=D("kDestroy");const Y=D("kConstruct");function checkError(i,u,A){if(i){i.stack;if(u&&!u.errored){u.errored=i}if(A&&!A.errored){A.errored=i}}}function destroy(i,u){const A=this._readableState;const I=this._writableState;const Q=I||A;if(I!==null&&I!==undefined&&I.destroyed||A!==null&&A!==undefined&&A.destroyed){if(typeof u==="function"){u()}return this}checkError(i,I,A);if(I){I.destroyed=true}if(A){A.destroyed=true}if(!Q.constructed){this.once(W,(function(A){_destroy(this,B(A,i),u)}))}else{_destroy(this,i,u)}return this}function _destroy(i,u,A){let B=false;function onDestroy(u){if(B){return}B=true;const Q=i._readableState;const P=i._writableState;checkError(u,P,Q);if(P){P.closed=true}if(Q){Q.closed=true}if(typeof A==="function"){A(u)}if(u){I.nextTick(emitErrorCloseNT,i,u)}else{I.nextTick(emitCloseNT,i)}}try{i._destroy(u||null,onDestroy)}catch(u){onDestroy(u)}}function emitErrorCloseNT(i,u){emitErrorNT(i,u);emitCloseNT(i)}function emitCloseNT(i){const u=i._readableState;const A=i._writableState;if(A){A.closeEmitted=true}if(u){u.closeEmitted=true}if(A!==null&&A!==undefined&&A.emitClose||u!==null&&u!==undefined&&u.emitClose){i.emit("close")}}function emitErrorNT(i,u){const A=i._readableState;const I=i._writableState;if(I!==null&&I!==undefined&&I.errorEmitted||A!==null&&A!==undefined&&A.errorEmitted){return}if(I){I.errorEmitted=true}if(A){A.errorEmitted=true}i.emit("error",u)}function undestroy(){const i=this._readableState;const u=this._writableState;if(i){i.constructed=true;i.closed=false;i.closeEmitted=false;i.destroyed=false;i.errored=null;i.errorEmitted=false;i.reading=false;i.ended=i.readable===false;i.endEmitted=i.readable===false}if(u){u.constructed=true;u.destroyed=false;u.closed=false;u.closeEmitted=false;u.errored=null;u.errorEmitted=false;u.finalCalled=false;u.prefinished=false;u.ended=u.writable===false;u.ending=u.writable===false;u.finished=u.writable===false}}function errorOrDestroy(i,u,A){const B=i._readableState;const Q=i._writableState;if(Q!==null&&Q!==undefined&&Q.destroyed||B!==null&&B!==undefined&&B.destroyed){return this}if(B!==null&&B!==undefined&&B.autoDestroy||Q!==null&&Q!==undefined&&Q.autoDestroy)i.destroy(u);else if(u){u.stack;if(Q&&!Q.errored){Q.errored=u}if(B&&!B.errored){B.errored=u}if(A){I.nextTick(emitErrorNT,i,u)}else{emitErrorNT(i,u)}}}function construct(i,u){if(typeof i._construct!=="function"){return}const A=i._readableState;const B=i._writableState;if(A){A.constructed=false}if(B){B.constructed=false}i.once(Y,u);if(i.listenerCount(Y)>1){return}I.nextTick(constructNT,i)}function constructNT(i){let u=false;function onConstruct(A){if(u){errorOrDestroy(i,A!==null&&A!==undefined?A:new Q);return}u=true;const B=i._readableState;const P=i._writableState;const D=P||B;if(B){B.constructed=true}if(P){P.constructed=true}if(D.destroyed){i.emit(W,A)}else if(A){errorOrDestroy(i,A,true)}else{I.nextTick(emitConstructNT,i)}}try{i._construct((i=>{I.nextTick(onConstruct,i)}))}catch(i){I.nextTick(onConstruct,i)}}function emitConstructNT(i){i.emit(Y)}function isRequest(i){return(i===null||i===undefined?undefined:i.setHeader)&&typeof i.abort==="function"}function emitCloseLegacy(i){i.emit("close")}function emitErrorCloseLegacy(i,u){i.emit("error",u);I.nextTick(emitCloseLegacy,i)}function destroyer(i,u){if(!i||U(i)){return}if(!u&&!G(i)){u=new P}if(z(i)){i.socket=null;i.destroy(u)}else if(isRequest(i)){i.abort()}else if(isRequest(i.req)){i.req.abort()}else if(typeof i.destroy==="function"){i.destroy(u)}else if(typeof i.close==="function"){i.close()}else if(u){I.nextTick(emitErrorCloseLegacy,i,u)}else{I.nextTick(emitCloseLegacy,i)}if(!i.destroyed){i[L]=true}}i.exports={construct:construct,destroyer:destroyer,destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},94449:(i,u,A)=>{"use strict";const{ObjectDefineProperties:I,ObjectGetOwnPropertyDescriptor:B,ObjectKeys:Q,ObjectSetPrototypeOf:P}=A(50999);i.exports=Duplex;const D=A(17783);const L=A(58939);P(Duplex.prototype,D.prototype);P(Duplex,D);{const i=Q(L.prototype);for(let u=0;u{const I=A(7945);"use strict";const B=A(20181);const{isReadable:Q,isWritable:P,isIterable:D,isNodeStream:L,isReadableNodeStream:U,isWritableNodeStream:G,isDuplexNodeStream:z,isReadableStream:W,isWritableStream:Y}=A(83426);const J=A(36815);const{AbortError:$,codes:{ERR_INVALID_ARG_TYPE:K,ERR_INVALID_RETURN_VALUE:X}}=A(69220);const{destroyer:he}=A(65089);const Ae=A(94449);const ye=A(17783);const be=A(58939);const{createDeferredPromise:Ee}=A(23539);const Ce=A(4659);const we=globalThis.Blob||B.Blob;const ve=typeof we!=="undefined"?function isBlob(i){return i instanceof we}:function isBlob(i){return false};const Se=globalThis.AbortController||A(17413).AbortController;const{FunctionPrototypeCall:Re}=A(50999);class Duplexify extends Ae{constructor(i){super(i);if((i===null||i===undefined?undefined:i.readable)===false){this._readableState.readable=false;this._readableState.ended=true;this._readableState.endEmitted=true}if((i===null||i===undefined?undefined:i.writable)===false){this._writableState.writable=false;this._writableState.ending=true;this._writableState.ended=true;this._writableState.finished=true}}}i.exports=function duplexify(i,u){if(z(i)){return i}if(U(i)){return _duplexify({readable:i})}if(G(i)){return _duplexify({writable:i})}if(L(i)){return _duplexify({writable:false,readable:false})}if(W(i)){return _duplexify({readable:ye.fromWeb(i)})}if(Y(i)){return _duplexify({writable:be.fromWeb(i)})}if(typeof i==="function"){const{value:A,write:B,final:Q,destroy:P}=fromAsyncGen(i);if(D(A)){return Ce(Duplexify,A,{objectMode:true,write:B,final:Q,destroy:P})}const L=A===null||A===undefined?undefined:A.then;if(typeof L==="function"){let i;const u=Re(L,A,(i=>{if(i!=null){throw new X("nully","body",i)}}),(u=>{he(i,u)}));return i=new Duplexify({objectMode:true,readable:false,write:B,final(i){Q((async()=>{try{await u;I.nextTick(i,null)}catch(u){I.nextTick(i,u)}}))},destroy:P})}throw new X("Iterable, AsyncIterable or AsyncFunction",u,A)}if(ve(i)){return duplexify(i.arrayBuffer())}if(D(i)){return Ce(Duplexify,i,{objectMode:true,writable:false})}if(W(i===null||i===undefined?undefined:i.readable)&&Y(i===null||i===undefined?undefined:i.writable)){return Duplexify.fromWeb(i)}if(typeof(i===null||i===undefined?undefined:i.writable)==="object"||typeof(i===null||i===undefined?undefined:i.readable)==="object"){const u=i!==null&&i!==undefined&&i.readable?U(i===null||i===undefined?undefined:i.readable)?i===null||i===undefined?undefined:i.readable:duplexify(i.readable):undefined;const A=i!==null&&i!==undefined&&i.writable?G(i===null||i===undefined?undefined:i.writable)?i===null||i===undefined?undefined:i.writable:duplexify(i.writable):undefined;return _duplexify({readable:u,writable:A})}const A=i===null||i===undefined?undefined:i.then;if(typeof A==="function"){let u;Re(A,i,(i=>{if(i!=null){u.push(i)}u.push(null)}),(i=>{he(u,i)}));return u=new Duplexify({objectMode:true,writable:false,read(){}})}throw new K(u,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],i)};function fromAsyncGen(i){let{promise:u,resolve:A}=Ee();const B=new Se;const Q=B.signal;const P=i(async function*(){while(true){const i=u;u=null;const{chunk:B,done:P,cb:D}=await i;I.nextTick(D);if(P)return;if(Q.aborted)throw new $(undefined,{cause:Q.reason});({promise:u,resolve:A}=Ee());yield B}}(),{signal:Q});return{value:P,write(i,u,I){const B=A;A=null;B({chunk:i,done:false,cb:I})},final(i){const u=A;A=null;u({done:true,cb:i})},destroy(i,u){B.abort();u(i)}}}function _duplexify(i){const u=i.readable&&typeof i.readable.read!=="function"?ye.wrap(i.readable):i.readable;const A=i.writable;let I=!!Q(u);let B=!!P(A);let D;let L;let U;let G;let z;function onfinished(i){const u=G;G=null;if(u){u(i)}else if(i){z.destroy(i)}}z=new Duplexify({readableObjectMode:!!(u!==null&&u!==undefined&&u.readableObjectMode),writableObjectMode:!!(A!==null&&A!==undefined&&A.writableObjectMode),readable:I,writable:B});if(B){J(A,(i=>{B=false;if(i){he(u,i)}onfinished(i)}));z._write=function(i,u,I){if(A.write(i,u)){I()}else{D=I}};z._final=function(i){A.end();L=i};A.on("drain",(function(){if(D){const i=D;D=null;i()}}));A.on("finish",(function(){if(L){const i=L;L=null;i()}}))}if(I){J(u,(i=>{I=false;if(i){he(u,i)}onfinished(i)}));u.on("readable",(function(){if(U){const i=U;U=null;i()}}));u.on("end",(function(){z.push(null)}));z._read=function(){while(true){const i=u.read();if(i===null){U=z._read;return}if(!z.push(i)){return}}}}z._destroy=function(i,I){if(!i&&G!==null){i=new $}U=null;D=null;L=null;if(G===null){I(i)}else{G=I;he(A,i);he(u,i)}};return z}},36815:(i,u,A)=>{"use strict";const I=A(7945);const{AbortError:B,codes:Q}=A(69220);const{ERR_INVALID_ARG_TYPE:P,ERR_STREAM_PREMATURE_CLOSE:D}=Q;const{kEmptyObject:L,once:U}=A(23539);const{validateAbortSignal:G,validateFunction:z,validateObject:W,validateBoolean:Y}=A(49554);const{Promise:J,PromisePrototypeThen:$,SymbolDispose:K}=A(50999);const{isClosed:X,isReadable:he,isReadableNodeStream:Ae,isReadableStream:ye,isReadableFinished:be,isReadableErrored:Ee,isWritable:Ce,isWritableNodeStream:we,isWritableStream:ve,isWritableFinished:Se,isWritableErrored:Re,isNodeStream:Ne,willEmitClose:_e,kIsClosedPromise:Oe}=A(83426);let xe;function isRequest(i){return i.setHeader&&typeof i.abort==="function"}const nop=()=>{};function eos(i,u,Q){var Y,J;if(arguments.length===2){Q=u;u=L}else if(u==null){u=L}else{W(u,"options")}z(Q,"callback");G(u.signal,"options.signal");Q=U(Q);if(ye(i)||ve(i)){return eosWeb(i,u,Q)}if(!Ne(i)){throw new P("stream",["ReadableStream","WritableStream","Stream"],i)}const $=(Y=u.readable)!==null&&Y!==undefined?Y:Ae(i);const Oe=(J=u.writable)!==null&&J!==undefined?J:we(i);const ke=i._writableState;const Qe=i._readableState;const onlegacyfinish=()=>{if(!i.writable){onfinish()}};let Pe=_e(i)&&Ae(i)===$&&we(i)===Oe;let De=Se(i,false);const onfinish=()=>{De=true;if(i.destroyed){Pe=false}if(Pe&&(!i.readable||$)){return}if(!$||Me){Q.call(i)}};let Me=be(i,false);const onend=()=>{Me=true;if(i.destroyed){Pe=false}if(Pe&&(!i.writable||Oe)){return}if(!Oe||De){Q.call(i)}};const onerror=u=>{Q.call(i,u)};let Fe=X(i);const onclose=()=>{Fe=true;const u=Re(i)||Ee(i);if(u&&typeof u!=="boolean"){return Q.call(i,u)}if($&&!Me&&Ae(i,true)){if(!be(i,false))return Q.call(i,new D)}if(Oe&&!De){if(!Se(i,false))return Q.call(i,new D)}Q.call(i)};const onclosed=()=>{Fe=true;const u=Re(i)||Ee(i);if(u&&typeof u!=="boolean"){return Q.call(i,u)}Q.call(i)};const onrequest=()=>{i.req.on("finish",onfinish)};if(isRequest(i)){i.on("complete",onfinish);if(!Pe){i.on("abort",onclose)}if(i.req){onrequest()}else{i.on("request",onrequest)}}else if(Oe&&!ke){i.on("end",onlegacyfinish);i.on("close",onlegacyfinish)}if(!Pe&&typeof i.aborted==="boolean"){i.on("aborted",onclose)}i.on("end",onend);i.on("finish",onfinish);if(u.error!==false){i.on("error",onerror)}i.on("close",onclose);if(Fe){I.nextTick(onclose)}else if(ke!==null&&ke!==undefined&&ke.errorEmitted||Qe!==null&&Qe!==undefined&&Qe.errorEmitted){if(!Pe){I.nextTick(onclosed)}}else if(!$&&(!Pe||he(i))&&(De||Ce(i)===false)){I.nextTick(onclosed)}else if(!Oe&&(!Pe||Ce(i))&&(Me||he(i)===false)){I.nextTick(onclosed)}else if(Qe&&i.req&&i.aborted){I.nextTick(onclosed)}const cleanup=()=>{Q=nop;i.removeListener("aborted",onclose);i.removeListener("complete",onfinish);i.removeListener("abort",onclose);i.removeListener("request",onrequest);if(i.req)i.req.removeListener("finish",onfinish);i.removeListener("end",onlegacyfinish);i.removeListener("close",onlegacyfinish);i.removeListener("finish",onfinish);i.removeListener("end",onend);i.removeListener("error",onerror);i.removeListener("close",onclose)};if(u.signal&&!Fe){const abort=()=>{const A=Q;cleanup();A.call(i,new B(undefined,{cause:u.signal.reason}))};if(u.signal.aborted){I.nextTick(abort)}else{xe=xe||A(23539).addAbortListener;const I=xe(u.signal,abort);const B=Q;Q=U(((...u)=>{I[K]();B.apply(i,u)}))}}return cleanup}function eosWeb(i,u,Q){let P=false;let D=nop;if(u.signal){D=()=>{P=true;Q.call(i,new B(undefined,{cause:u.signal.reason}))};if(u.signal.aborted){I.nextTick(D)}else{xe=xe||A(23539).addAbortListener;const I=xe(u.signal,D);const B=Q;Q=U(((...u)=>{I[K]();B.apply(i,u)}))}}const resolverFn=(...u)=>{if(!P){I.nextTick((()=>Q.apply(i,u)))}};$(i[Oe].promise,resolverFn,resolverFn);return nop}function finished(i,u){var A;let I=false;if(u===null){u=L}if((A=u)!==null&&A!==undefined&&A.cleanup){Y(u.cleanup,"cleanup");I=u.cleanup}return new J(((A,B)=>{const Q=eos(i,u,(i=>{if(I){Q()}if(i){B(i)}else{A()}}))}))}i.exports=eos;i.exports.finished=finished},4659:(i,u,A)=>{"use strict";const I=A(7945);const{PromisePrototypeThen:B,SymbolAsyncIterator:Q,SymbolIterator:P}=A(50999);const{Buffer:D}=A(20181);const{ERR_INVALID_ARG_TYPE:L,ERR_STREAM_NULL_VALUES:U}=A(69220).codes;function from(i,u,A){let G;if(typeof u==="string"||u instanceof D){return new i({objectMode:true,...A,read(){this.push(u);this.push(null)}})}let z;if(u&&u[Q]){z=true;G=u[Q]()}else if(u&&u[P]){z=false;G=u[P]()}else{throw new L("iterable",["Iterable"],u)}const W=new i({objectMode:true,highWaterMark:1,...A});let Y=false;W._read=function(){if(!Y){Y=true;next()}};W._destroy=function(i,u){B(close(i),(()=>I.nextTick(u,i)),(A=>I.nextTick(u,A||i)))};async function close(i){const u=i!==undefined&&i!==null;const A=typeof G.throw==="function";if(u&&A){const{value:u,done:A}=await G.throw(i);await u;if(A){return}}if(typeof G.return==="function"){const{value:i}=await G.return();await i}}async function next(){for(;;){try{const{value:i,done:u}=z?await G.next():G.next();if(u){W.push(null)}else{const u=i&&typeof i.then==="function"?await i:i;if(u===null){Y=false;throw new U}else if(W.push(u)){continue}else{Y=false}}}catch(i){W.destroy(i)}break}}return W}i.exports=from},84128:(i,u,A)=>{"use strict";const{ArrayIsArray:I,ObjectSetPrototypeOf:B}=A(50999);const{EventEmitter:Q}=A(24434);function Stream(i){Q.call(this,i)}B(Stream.prototype,Q.prototype);B(Stream,Q);Stream.prototype.pipe=function(i,u){const A=this;function ondata(u){if(i.writable&&i.write(u)===false&&A.pause){A.pause()}}A.on("data",ondata);function ondrain(){if(A.readable&&A.resume){A.resume()}}i.on("drain",ondrain);if(!i._isStdio&&(!u||u.end!==false)){A.on("end",onend);A.on("close",onclose)}let I=false;function onend(){if(I)return;I=true;i.end()}function onclose(){if(I)return;I=true;if(typeof i.destroy==="function")i.destroy()}function onerror(i){cleanup();if(Q.listenerCount(this,"error")===0){this.emit("error",i)}}prependListener(A,"error",onerror);prependListener(i,"error",onerror);function cleanup(){A.removeListener("data",ondata);i.removeListener("drain",ondrain);A.removeListener("end",onend);A.removeListener("close",onclose);A.removeListener("error",onerror);i.removeListener("error",onerror);A.removeListener("end",cleanup);A.removeListener("close",cleanup);i.removeListener("close",cleanup)}A.on("end",cleanup);A.on("close",cleanup);i.on("close",cleanup);i.emit("pipe",A);return i};function prependListener(i,u,A){if(typeof i.prependListener==="function")return i.prependListener(u,A);if(!i._events||!i._events[u])i.on(u,A);else if(I(i._events[u]))i._events[u].unshift(A);else i._events[u]=[A,i._events[u]]}i.exports={Stream:Stream,prependListener:prependListener}},11222:(i,u,A)=>{"use strict";const I=globalThis.AbortController||A(17413).AbortController;const{codes:{ERR_INVALID_ARG_VALUE:B,ERR_INVALID_ARG_TYPE:Q,ERR_MISSING_ARGS:P,ERR_OUT_OF_RANGE:D},AbortError:L}=A(69220);const{validateAbortSignal:U,validateInteger:G,validateObject:z}=A(49554);const W=A(50999).Symbol("kWeak");const Y=A(50999).Symbol("kResistStopPropagation");const{finished:J}=A(36815);const $=A(64999);const{addAbortSignalNoValidate:K}=A(80652);const{isWritable:X,isNodeStream:he}=A(83426);const{deprecate:Ae}=A(23539);const{ArrayPrototypePush:ye,Boolean:be,MathFloor:Ee,Number:Ce,NumberIsNaN:we,Promise:ve,PromiseReject:Se,PromiseResolve:Re,PromisePrototypeThen:Ne,Symbol:_e}=A(50999);const Oe=_e("kEmpty");const xe=_e("kEof");function compose(i,u){if(u!=null){z(u,"options")}if((u===null||u===undefined?undefined:u.signal)!=null){U(u.signal,"options.signal")}if(he(i)&&!X(i)){throw new B("stream",i,"must be writable")}const A=$(this,i);if(u!==null&&u!==undefined&&u.signal){K(u.signal,A)}return A}function map(i,u){if(typeof i!=="function"){throw new Q("fn",["Function","AsyncFunction"],i)}if(u!=null){z(u,"options")}if((u===null||u===undefined?undefined:u.signal)!=null){U(u.signal,"options.signal")}let I=1;if((u===null||u===undefined?undefined:u.concurrency)!=null){I=Ee(u.concurrency)}let B=I-1;if((u===null||u===undefined?undefined:u.highWaterMark)!=null){B=Ee(u.highWaterMark)}G(I,"options.concurrency",1);G(B,"options.highWaterMark",0);B+=I;return async function*map(){const Q=A(23539).AbortSignalAny([u===null||u===undefined?undefined:u.signal].filter(be));const P=this;const D=[];const U={signal:Q};let G;let z;let W=false;let Y=0;function onCatch(){W=true;afterItemProcessed()}function afterItemProcessed(){Y-=1;maybeResume()}function maybeResume(){if(z&&!W&&Y=B||Y>=I)){await new ve((i=>{z=i}))}}D.push(xe)}catch(i){const u=Se(i);Ne(u,afterItemProcessed,onCatch);D.push(u)}finally{W=true;if(G){G();G=null}}}pump();try{while(true){while(D.length>0){const i=await D[0];if(i===xe){return}if(Q.aborted){throw new L}if(i!==Oe){yield i}D.shift();maybeResume()}await new ve((i=>{G=i}))}}finally{W=true;if(z){z();z=null}}}.call(this)}function asIndexedPairs(i=undefined){if(i!=null){z(i,"options")}if((i===null||i===undefined?undefined:i.signal)!=null){U(i.signal,"options.signal")}return async function*asIndexedPairs(){let u=0;for await(const I of this){var A;if(i!==null&&i!==undefined&&(A=i.signal)!==null&&A!==undefined&&A.aborted){throw new L({cause:i.signal.reason})}yield[u++,I]}}.call(this)}async function some(i,u=undefined){for await(const A of filter.call(this,i,u)){return true}return false}async function every(i,u=undefined){if(typeof i!=="function"){throw new Q("fn",["Function","AsyncFunction"],i)}return!await some.call(this,(async(...u)=>!await i(...u)),u)}async function find(i,u){for await(const A of filter.call(this,i,u)){return A}return undefined}async function forEach(i,u){if(typeof i!=="function"){throw new Q("fn",["Function","AsyncFunction"],i)}async function forEachFn(u,A){await i(u,A);return Oe}for await(const i of map.call(this,forEachFn,u));}function filter(i,u){if(typeof i!=="function"){throw new Q("fn",["Function","AsyncFunction"],i)}async function filterFn(u,A){if(await i(u,A)){return u}return Oe}return map.call(this,filterFn,u)}class ReduceAwareErrMissingArgs extends P{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function reduce(i,u,A){var B;if(typeof i!=="function"){throw new Q("reducer",["Function","AsyncFunction"],i)}if(A!=null){z(A,"options")}if((A===null||A===undefined?undefined:A.signal)!=null){U(A.signal,"options.signal")}let P=arguments.length>1;if(A!==null&&A!==undefined&&(B=A.signal)!==null&&B!==undefined&&B.aborted){const i=new L(undefined,{cause:A.signal.reason});this.once("error",(()=>{}));await J(this.destroy(i));throw i}const D=new I;const G=D.signal;if(A!==null&&A!==undefined&&A.signal){const i={once:true,[W]:this,[Y]:true};A.signal.addEventListener("abort",(()=>D.abort()),i)}let $=false;try{for await(const I of this){var K;$=true;if(A!==null&&A!==undefined&&(K=A.signal)!==null&&K!==undefined&&K.aborted){throw new L}if(!P){u=I;P=true}else{u=await i(u,I,{signal:G})}}if(!$&&!P){throw new ReduceAwareErrMissingArgs}}finally{D.abort()}return u}async function toArray(i){if(i!=null){z(i,"options")}if((i===null||i===undefined?undefined:i.signal)!=null){U(i.signal,"options.signal")}const u=[];for await(const I of this){var A;if(i!==null&&i!==undefined&&(A=i.signal)!==null&&A!==undefined&&A.aborted){throw new L(undefined,{cause:i.signal.reason})}ye(u,I)}return u}function flatMap(i,u){const A=map.call(this,i,u);return async function*flatMap(){for await(const i of A){yield*i}}.call(this)}function toIntegerOrInfinity(i){i=Ce(i);if(we(i)){return 0}if(i<0){throw new D("number",">= 0",i)}return i}function drop(i,u=undefined){if(u!=null){z(u,"options")}if((u===null||u===undefined?undefined:u.signal)!=null){U(u.signal,"options.signal")}i=toIntegerOrInfinity(i);return async function*drop(){var A;if(u!==null&&u!==undefined&&(A=u.signal)!==null&&A!==undefined&&A.aborted){throw new L}for await(const A of this){var I;if(u!==null&&u!==undefined&&(I=u.signal)!==null&&I!==undefined&&I.aborted){throw new L}if(i--<=0){yield A}}}.call(this)}function take(i,u=undefined){if(u!=null){z(u,"options")}if((u===null||u===undefined?undefined:u.signal)!=null){U(u.signal,"options.signal")}i=toIntegerOrInfinity(i);return async function*take(){var A;if(u!==null&&u!==undefined&&(A=u.signal)!==null&&A!==undefined&&A.aborted){throw new L}for await(const A of this){var I;if(u!==null&&u!==undefined&&(I=u.signal)!==null&&I!==undefined&&I.aborted){throw new L}if(i-- >0){yield A}if(i<=0){return}}}.call(this)}i.exports.streamReturningOperators={asIndexedPairs:Ae(asIndexedPairs,"readable.asIndexedPairs will be removed in a future version."),drop:drop,filter:filter,flatMap:flatMap,map:map,take:take,compose:compose};i.exports.promiseReturningOperators={every:every,forEach:forEach,reduce:reduce,toArray:toArray,some:some,find:find}},19173:(i,u,A)=>{"use strict";const{ObjectSetPrototypeOf:I}=A(50999);i.exports=PassThrough;const B=A(12135);I(PassThrough.prototype,B.prototype);I(PassThrough,B);function PassThrough(i){if(!(this instanceof PassThrough))return new PassThrough(i);B.call(this,i)}PassThrough.prototype._transform=function(i,u,A){A(null,i)}},16701:(i,u,A)=>{const I=A(7945);"use strict";const{ArrayIsArray:B,Promise:Q,SymbolAsyncIterator:P,SymbolDispose:D}=A(50999);const L=A(36815);const{once:U}=A(23539);const G=A(65089);const z=A(94449);const{aggregateTwoErrors:W,codes:{ERR_INVALID_ARG_TYPE:Y,ERR_INVALID_RETURN_VALUE:J,ERR_MISSING_ARGS:$,ERR_STREAM_DESTROYED:K,ERR_STREAM_PREMATURE_CLOSE:X},AbortError:he}=A(69220);const{validateFunction:Ae,validateAbortSignal:ye}=A(49554);const{isIterable:be,isReadable:Ee,isReadableNodeStream:Ce,isNodeStream:we,isTransformStream:ve,isWebStream:Se,isReadableStream:Re,isReadableFinished:Ne}=A(83426);const _e=globalThis.AbortController||A(17413).AbortController;let Oe;let xe;let ke;function destroyer(i,u,A){let I=false;i.on("close",(()=>{I=true}));const B=L(i,{readable:u,writable:A},(i=>{I=!i}));return{destroy:u=>{if(I)return;I=true;G.destroyer(i,u||new K("pipe"))},cleanup:B}}function popCallback(i){Ae(i[i.length-1],"streams[stream.length - 1]");return i.pop()}function makeAsyncIterable(i){if(be(i)){return i}else if(Ce(i)){return fromReadable(i)}throw new Y("val",["Readable","Iterable","AsyncIterable"],i)}async function*fromReadable(i){if(!xe){xe=A(17783)}yield*xe.prototype[P].call(i)}async function pumpToNode(i,u,A,{end:I}){let B;let P=null;const resume=i=>{if(i){B=i}if(P){const i=P;P=null;i()}};const wait=()=>new Q(((i,u)=>{if(B){u(B)}else{P=()=>{if(B){u(B)}else{i()}}}}));u.on("drain",resume);const D=L(u,{readable:false},resume);try{if(u.writableNeedDrain){await wait()}for await(const A of i){if(!u.write(A)){await wait()}}if(I){u.end();await wait()}A()}catch(i){A(B!==i?W(B,i):i)}finally{D();u.off("drain",resume)}}async function pumpToWeb(i,u,A,{end:I}){if(ve(u)){u=u.writable}const B=u.getWriter();try{for await(const u of i){await B.ready;B.write(u).catch((()=>{}))}await B.ready;if(I){await B.close()}A()}catch(i){try{await B.abort(i);A(i)}catch(i){A(i)}}}function pipeline(...i){return pipelineImpl(i,U(popCallback(i)))}function pipelineImpl(i,u,Q){if(i.length===1&&B(i[0])){i=i[0]}if(i.length<2){throw new $("streams")}const P=new _e;const L=P.signal;const U=Q===null||Q===undefined?undefined:Q.signal;const G=[];ye(U,"options.signal");function abort(){finishImpl(new he)}ke=ke||A(23539).addAbortListener;let W;if(U){W=ke(U,abort)}let K;let X;const Ae=[];let Ne=0;function finish(i){finishImpl(i,--Ne===0)}function finishImpl(i,A){var B;if(i&&(!K||K.code==="ERR_STREAM_PREMATURE_CLOSE")){K=i}if(!K&&!A){return}while(Ae.length){Ae.shift()(K)}(B=W)===null||B===undefined?undefined:B[D]();P.abort();if(A){if(!K){G.forEach((i=>i()))}I.nextTick(u,K,X)}}let xe;for(let De=0;De0;const je=Fe||(Q===null||Q===undefined?undefined:Q.end)!==false;const He=De===i.length-1;if(we(Me)){if(je){const{destroy:Ge,cleanup:qe}=destroyer(Me,Fe,Ue);Ae.push(Ge);if(Ee(Me)&&He){G.push(qe)}}function onError(i){if(i&&i.name!=="AbortError"&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){finish(i)}}Me.on("error",onError);if(Ee(Me)&&He){G.push((()=>{Me.removeListener("error",onError)}))}}if(De===0){if(typeof Me==="function"){xe=Me({signal:L});if(!be(xe)){throw new J("Iterable, AsyncIterable or Stream","source",xe)}}else if(be(Me)||Ce(Me)||ve(Me)){xe=Me}else{xe=z.from(Me)}}else if(typeof Me==="function"){if(ve(xe)){var Qe;xe=makeAsyncIterable((Qe=xe)===null||Qe===undefined?undefined:Qe.readable)}else{xe=makeAsyncIterable(xe)}xe=Me(xe,{signal:L});if(Fe){if(!be(xe,true)){throw new J("AsyncIterable",`transform[${De-1}]`,xe)}}else{var Pe;if(!Oe){Oe=A(19173)}const ze=new Oe({objectMode:true});const Je=(Pe=xe)===null||Pe===undefined?undefined:Pe.then;if(typeof Je==="function"){Ne++;Je.call(xe,(i=>{X=i;if(i!=null){ze.write(i)}if(je){ze.end()}I.nextTick(finish)}),(i=>{ze.destroy(i);I.nextTick(finish,i)}))}else if(be(xe,true)){Ne++;pumpToNode(xe,ze,finish,{end:je})}else if(Re(xe)||ve(xe)){const Xe=xe.readable||xe;Ne++;pumpToNode(Xe,ze,finish,{end:je})}else{throw new J("AsyncIterable or Promise","destination",xe)}xe=ze;const{destroy:$e,cleanup:Ke}=destroyer(xe,false,true);Ae.push($e);if(He){G.push(Ke)}}}else if(we(Me)){if(Ce(xe)){Ne+=2;const st=pipe(xe,Me,finish,{end:je});if(Ee(Me)&&He){G.push(st)}}else if(ve(xe)||Re(xe)){const ut=xe.readable||xe;Ne++;pumpToNode(ut,Me,finish,{end:je})}else if(be(xe)){Ne++;pumpToNode(xe,Me,finish,{end:je})}else{throw new Y("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],xe)}xe=Me}else if(Se(Me)){if(Ce(xe)){Ne++;pumpToWeb(makeAsyncIterable(xe),Me,finish,{end:je})}else if(Re(xe)||be(xe)){Ne++;pumpToWeb(xe,Me,finish,{end:je})}else if(ve(xe)){Ne++;pumpToWeb(xe.readable,Me,finish,{end:je})}else{throw new Y("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],xe)}xe=Me}else{xe=z.from(Me)}}if(L!==null&&L!==undefined&&L.aborted||U!==null&&U!==undefined&&U.aborted){I.nextTick(abort)}return xe}function pipe(i,u,A,{end:B}){let Q=false;u.on("close",(()=>{if(!Q){A(new X)}}));i.pipe(u,{end:false});if(B){function endFn(){Q=true;u.end()}if(Ne(i)){I.nextTick(endFn)}else{i.once("end",endFn)}}else{A()}L(i,{readable:true,writable:false},(u=>{const I=i._readableState;if(u&&u.code==="ERR_STREAM_PREMATURE_CLOSE"&&I&&I.ended&&!I.errored&&!I.errorEmitted){i.once("end",A).once("error",A)}else{A(u)}}));return L(u,{readable:false,writable:true},A)}i.exports={pipelineImpl:pipelineImpl,pipeline:pipeline}},17783:(i,u,A)=>{"use strict";const I=A(7945);const{ArrayPrototypeIndexOf:B,NumberIsInteger:Q,NumberIsNaN:P,NumberParseInt:D,ObjectDefineProperties:L,ObjectKeys:U,ObjectSetPrototypeOf:G,Promise:z,SafeSet:W,SymbolAsyncDispose:Y,SymbolAsyncIterator:J,Symbol:$}=A(50999);i.exports=Readable;Readable.ReadableState=ReadableState;const{EventEmitter:K}=A(24434);const{Stream:X,prependListener:he}=A(84128);const{Buffer:Ae}=A(20181);const{addAbortSignal:ye}=A(80652);const be=A(36815);let Ee=A(23539).debuglog("stream",(i=>{Ee=i}));const Ce=A(77336);const we=A(65089);const{getHighWaterMark:ve,getDefaultHighWaterMark:Se}=A(54874);const{aggregateTwoErrors:Re,codes:{ERR_INVALID_ARG_TYPE:Ne,ERR_METHOD_NOT_IMPLEMENTED:_e,ERR_OUT_OF_RANGE:Oe,ERR_STREAM_PUSH_AFTER_EOF:xe,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:ke},AbortError:Qe}=A(69220);const{validateObject:Pe}=A(49554);const De=$("kPaused");const{StringDecoder:Me}=A(58463);const Fe=A(4659);G(Readable.prototype,X.prototype);G(Readable,X);const nop=()=>{};const{errorOrDestroy:Ue}=we;const je=1<<0;const He=1<<1;const Ge=1<<2;const qe=1<<3;const ze=1<<4;const Je=1<<5;const $e=1<<6;const Ke=1<<7;const Xe=1<<8;const st=1<<9;const ut=1<<10;const dt=1<<11;const pt=1<<12;const mt=1<<13;const yt=1<<14;const bt=1<<15;const Et=1<<16;const Bt=1<<17;const Nt=1<<18;function makeBitMapDescriptor(i){return{enumerable:false,get(){return(this.state&i)!==0},set(u){if(u)this.state|=i;else this.state&=~i}}}L(ReadableState.prototype,{objectMode:makeBitMapDescriptor(je),ended:makeBitMapDescriptor(He),endEmitted:makeBitMapDescriptor(Ge),reading:makeBitMapDescriptor(qe),constructed:makeBitMapDescriptor(ze),sync:makeBitMapDescriptor(Je),needReadable:makeBitMapDescriptor($e),emittedReadable:makeBitMapDescriptor(Ke),readableListening:makeBitMapDescriptor(Xe),resumeScheduled:makeBitMapDescriptor(st),errorEmitted:makeBitMapDescriptor(ut),emitClose:makeBitMapDescriptor(dt),autoDestroy:makeBitMapDescriptor(pt),destroyed:makeBitMapDescriptor(mt),closed:makeBitMapDescriptor(yt),closeEmitted:makeBitMapDescriptor(bt),multiAwaitDrain:makeBitMapDescriptor(Et),readingMore:makeBitMapDescriptor(Bt),dataEmitted:makeBitMapDescriptor(Nt)});function ReadableState(i,u,I){if(typeof I!=="boolean")I=u instanceof A(94449);this.state=dt|pt|ze|Je;if(i&&i.objectMode)this.state|=je;if(I&&i&&i.readableObjectMode)this.state|=je;this.highWaterMark=i?ve(this,i,"readableHighWaterMark",I):Se(false);this.buffer=new Ce;this.length=0;this.pipes=[];this.flowing=null;this[De]=null;if(i&&i.emitClose===false)this.state&=~dt;if(i&&i.autoDestroy===false)this.state&=~pt;this.errored=null;this.defaultEncoding=i&&i.defaultEncoding||"utf8";this.awaitDrainWriters=null;this.decoder=null;this.encoding=null;if(i&&i.encoding){this.decoder=new Me(i.encoding);this.encoding=i.encoding}}function Readable(i){if(!(this instanceof Readable))return new Readable(i);const u=this instanceof A(94449);this._readableState=new ReadableState(i,this,u);if(i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal&&!u)ye(i.signal,this)}X.call(this,i);we.construct(this,(()=>{if(this._readableState.needReadable){maybeReadMore(this,this._readableState)}}))}Readable.prototype.destroy=we.destroy;Readable.prototype._undestroy=we.undestroy;Readable.prototype._destroy=function(i,u){u(i)};Readable.prototype[K.captureRejectionSymbol]=function(i){this.destroy(i)};Readable.prototype[Y]=function(){let i;if(!this.destroyed){i=this.readableEnded?null:new Qe;this.destroy(i)}return new z(((u,A)=>be(this,(I=>I&&I!==i?A(I):u(null)))))};Readable.prototype.push=function(i,u){return readableAddChunk(this,i,u,false)};Readable.prototype.unshift=function(i,u){return readableAddChunk(this,i,u,true)};function readableAddChunk(i,u,A,I){Ee("readableAddChunk",u);const B=i._readableState;let Q;if((B.state&je)===0){if(typeof u==="string"){A=A||B.defaultEncoding;if(B.encoding!==A){if(I&&B.encoding){u=Ae.from(u,A).toString(B.encoding)}else{u=Ae.from(u,A);A=""}}}else if(u instanceof Ae){A=""}else if(X._isUint8Array(u)){u=X._uint8ArrayToBuffer(u);A=""}else if(u!=null){Q=new Ne("chunk",["string","Buffer","Uint8Array"],u)}}if(Q){Ue(i,Q)}else if(u===null){B.state&=~qe;onEofChunk(i,B)}else if((B.state&je)!==0||u&&u.length>0){if(I){if((B.state&Ge)!==0)Ue(i,new ke);else if(B.destroyed||B.errored)return false;else addChunk(i,B,u,true)}else if(B.ended){Ue(i,new xe)}else if(B.destroyed||B.errored){return false}else{B.state&=~qe;if(B.decoder&&!A){u=B.decoder.write(u);if(B.objectMode||u.length!==0)addChunk(i,B,u,false);else maybeReadMore(i,B)}else{addChunk(i,B,u,false)}}}else if(!I){B.state&=~qe;maybeReadMore(i,B)}return!B.ended&&(B.length0){if((u.state&Et)!==0){u.awaitDrainWriters.clear()}else{u.awaitDrainWriters=null}u.dataEmitted=true;i.emit("data",A)}else{u.length+=u.objectMode?1:A.length;if(I)u.buffer.unshift(A);else u.buffer.push(A);if((u.state&$e)!==0)emitReadable(i)}maybeReadMore(i,u)}Readable.prototype.isPaused=function(){const i=this._readableState;return i[De]===true||i.flowing===false};Readable.prototype.setEncoding=function(i){const u=new Me(i);this._readableState.decoder=u;this._readableState.encoding=this._readableState.decoder.encoding;const A=this._readableState.buffer;let I="";for(const i of A){I+=u.write(i)}A.clear();if(I!=="")A.push(I);this._readableState.length=I.length;return this};const Ot=1073741824;function computeNewHighWaterMark(i){if(i>Ot){throw new Oe("size","<= 1GiB",i)}else{i--;i|=i>>>1;i|=i>>>2;i|=i>>>4;i|=i>>>8;i|=i>>>16;i++}return i}function howMuchToRead(i,u){if(i<=0||u.length===0&&u.ended)return 0;if((u.state&je)!==0)return 1;if(P(i)){if(u.flowing&&u.length)return u.buffer.first().length;return u.length}if(i<=u.length)return i;return u.ended?u.length:0}Readable.prototype.read=function(i){Ee("read",i);if(i===undefined){i=NaN}else if(!Q(i)){i=D(i,10)}const u=this._readableState;const A=i;if(i>u.highWaterMark)u.highWaterMark=computeNewHighWaterMark(i);if(i!==0)u.state&=~Ke;if(i===0&&u.needReadable&&((u.highWaterMark!==0?u.length>=u.highWaterMark:u.length>0)||u.ended)){Ee("read: emitReadable",u.length,u.ended);if(u.length===0&&u.ended)endReadable(this);else emitReadable(this);return null}i=howMuchToRead(i,u);if(i===0&&u.ended){if(u.length===0)endReadable(this);return null}let I=(u.state&$e)!==0;Ee("need readable",I);if(u.length===0||u.length-i0)B=fromList(i,u);else B=null;if(B===null){u.needReadable=u.length<=u.highWaterMark;i=0}else{u.length-=i;if(u.multiAwaitDrain){u.awaitDrainWriters.clear()}else{u.awaitDrainWriters=null}}if(u.length===0){if(!u.ended)u.needReadable=true;if(A!==i&&u.ended)endReadable(this)}if(B!==null&&!u.errorEmitted&&!u.closeEmitted){u.dataEmitted=true;this.emit("data",B)}return B};function onEofChunk(i,u){Ee("onEofChunk");if(u.ended)return;if(u.decoder){const i=u.decoder.end();if(i&&i.length){u.buffer.push(i);u.length+=u.objectMode?1:i.length}}u.ended=true;if(u.sync){emitReadable(i)}else{u.needReadable=false;u.emittedReadable=true;emitReadable_(i)}}function emitReadable(i){const u=i._readableState;Ee("emitReadable",u.needReadable,u.emittedReadable);u.needReadable=false;if(!u.emittedReadable){Ee("emitReadable",u.flowing);u.emittedReadable=true;I.nextTick(emitReadable_,i)}}function emitReadable_(i){const u=i._readableState;Ee("emitReadable_",u.destroyed,u.length,u.ended);if(!u.destroyed&&!u.errored&&(u.length||u.ended)){i.emit("readable");u.emittedReadable=false}u.needReadable=!u.flowing&&!u.ended&&u.length<=u.highWaterMark;flow(i)}function maybeReadMore(i,u){if(!u.readingMore&&u.constructed){u.readingMore=true;I.nextTick(maybeReadMore_,i,u)}}function maybeReadMore_(i,u){while(!u.reading&&!u.ended&&(u.length1&&B.pipes.includes(i)){Ee("false write response, pause",B.awaitDrainWriters.size);B.awaitDrainWriters.add(i)}A.pause()}if(!D){D=pipeOnDrain(A,i);i.on("drain",D)}}A.on("data",ondata);function ondata(u){Ee("ondata");const A=i.write(u);Ee("dest.write",A);if(A===false){pause()}}function onerror(u){Ee("onerror",u);unpipe();i.removeListener("error",onerror);if(i.listenerCount("error")===0){const A=i._writableState||i._readableState;if(A&&!A.errorEmitted){Ue(i,u)}else{i.emit("error",u)}}}he(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){Ee("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){Ee("unpipe");A.unpipe(i)}i.emit("pipe",A);if(i.writableNeedDrain===true){pause()}else if(!B.flowing){Ee("pipe resume");A.resume()}return i};function pipeOnDrain(i,u){return function pipeOnDrainFunctionResult(){const A=i._readableState;if(A.awaitDrainWriters===u){Ee("pipeOnDrain",1);A.awaitDrainWriters=null}else if(A.multiAwaitDrain){Ee("pipeOnDrain",A.awaitDrainWriters.size);A.awaitDrainWriters.delete(u)}if((!A.awaitDrainWriters||A.awaitDrainWriters.size===0)&&i.listenerCount("data")){i.resume()}}}Readable.prototype.unpipe=function(i){const u=this._readableState;const A={hasUnpiped:false};if(u.pipes.length===0)return this;if(!i){const i=u.pipes;u.pipes=[];this.pause();for(let u=0;u0;if(B.flowing!==false)this.resume()}else if(i==="readable"){if(!B.endEmitted&&!B.readableListening){B.readableListening=B.needReadable=true;B.flowing=false;B.emittedReadable=false;Ee("on readable",B.length,B.reading);if(B.length){emitReadable(this)}else if(!B.reading){I.nextTick(nReadingNextTick,this)}}}return A};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(i,u){const A=X.prototype.removeListener.call(this,i,u);if(i==="readable"){I.nextTick(updateReadableListening,this)}return A};Readable.prototype.off=Readable.prototype.removeListener;Readable.prototype.removeAllListeners=function(i){const u=X.prototype.removeAllListeners.apply(this,arguments);if(i==="readable"||i===undefined){I.nextTick(updateReadableListening,this)}return u};function updateReadableListening(i){const u=i._readableState;u.readableListening=i.listenerCount("readable")>0;if(u.resumeScheduled&&u[De]===false){u.flowing=true}else if(i.listenerCount("data")>0){i.resume()}else if(!u.readableListening){u.flowing=null}}function nReadingNextTick(i){Ee("readable nexttick read 0");i.read(0)}Readable.prototype.resume=function(){const i=this._readableState;if(!i.flowing){Ee("resume");i.flowing=!i.readableListening;resume(this,i)}i[De]=false;return this};function resume(i,u){if(!u.resumeScheduled){u.resumeScheduled=true;I.nextTick(resume_,i,u)}}function resume_(i,u){Ee("resume",u.reading);if(!u.reading){i.read(0)}u.resumeScheduled=false;i.emit("resume");flow(i);if(u.flowing&&!u.reading)i.read(0)}Readable.prototype.pause=function(){Ee("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){Ee("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState[De]=true;return this};function flow(i){const u=i._readableState;Ee("flow",u.flowing);while(u.flowing&&i.read()!==null);}Readable.prototype.wrap=function(i){let u=false;i.on("data",(A=>{if(!this.push(A)&&i.pause){u=true;i.pause()}}));i.on("end",(()=>{this.push(null)}));i.on("error",(i=>{Ue(this,i)}));i.on("close",(()=>{this.destroy()}));i.on("destroy",(()=>{this.destroy()}));this._read=()=>{if(u&&i.resume){u=false;i.resume()}};const A=U(i);for(let u=1;u{I=i?Re(I,i):null;A();A=nop}));try{while(true){const u=i.destroyed?null:i.read();if(u!==null){yield u}else if(I){throw I}else if(I===null){return}else{await new z(next)}}}catch(i){I=Re(I,i);throw I}finally{if((I||(u===null||u===undefined?undefined:u.destroyOnReturn)!==false)&&(I===undefined||i._readableState.autoDestroy)){we.destroyer(i,null)}else{i.off("readable",next);B()}}}L(Readable.prototype,{readable:{__proto__:null,get(){const i=this._readableState;return!!i&&i.readable!==false&&!i.destroyed&&!i.errorEmitted&&!i.endEmitted},set(i){if(this._readableState){this._readableState.readable=!!i}}},readableDidRead:{__proto__:null,enumerable:false,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:false,get:function(){return!!(this._readableState.readable!==false&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:false,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:false,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:false,get:function(){return this._readableState.flowing},set:function(i){if(this._readableState){this._readableState.flowing=i}}},readableLength:{__proto__:null,enumerable:false,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.objectMode:false}},readableEncoding:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:false}},destroyed:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.destroyed:false},set(i){if(!this._readableState){return}this._readableState.destroyed=i}},readableEnded:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.endEmitted:false}}});L(ReadableState.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[De]!==false},set(i){this[De]=!!i}}});Readable._fromList=fromList;function fromList(i,u){if(u.length===0)return null;let A;if(u.objectMode)A=u.buffer.shift();else if(!i||i>=u.length){if(u.decoder)A=u.buffer.join("");else if(u.buffer.length===1)A=u.buffer.first();else A=u.buffer.concat(u.length);u.buffer.clear()}else{A=u.buffer.consume(i,u.decoder)}return A}function endReadable(i){const u=i._readableState;Ee("endReadable",u.endEmitted);if(!u.endEmitted){u.ended=true;I.nextTick(endReadableNT,u,i)}}function endReadableNT(i,u){Ee("endReadableNT",i.endEmitted,i.length);if(!i.errored&&!i.closeEmitted&&!i.endEmitted&&i.length===0){i.endEmitted=true;u.emit("end");if(u.writable&&u.allowHalfOpen===false){I.nextTick(endWritableNT,u)}else if(i.autoDestroy){const i=u._writableState;const A=!i||i.autoDestroy&&(i.finished||i.writable===false);if(A){u.destroy()}}}}function endWritableNT(i){const u=i.writable&&!i.writableEnded&&!i.destroyed;if(u){i.end()}}Readable.from=function(i,u){return Fe(Readable,i,u)};let er;function lazyWebStreams(){if(er===undefined)er={};return er}Readable.fromWeb=function(i,u){return lazyWebStreams().newStreamReadableFromReadableStream(i,u)};Readable.toWeb=function(i,u){return lazyWebStreams().newReadableStreamFromStreamReadable(i,u)};Readable.wrap=function(i,u){var A,I;return new Readable({objectMode:(A=(I=i.readableObjectMode)!==null&&I!==undefined?I:i.objectMode)!==null&&A!==undefined?A:true,...u,destroy(u,A){we.destroyer(i,u);A(u)}}).wrap(i)}},54874:(i,u,A)=>{"use strict";const{MathFloor:I,NumberIsInteger:B}=A(50999);const{validateInteger:Q}=A(49554);const{ERR_INVALID_ARG_VALUE:P}=A(69220).codes;let D=16*1024;let L=16;function highWaterMarkFrom(i,u,A){return i.highWaterMark!=null?i.highWaterMark:u?i[A]:null}function getDefaultHighWaterMark(i){return i?L:D}function setDefaultHighWaterMark(i,u){Q(u,"value",0);if(i){L=u}else{D=u}}function getHighWaterMark(i,u,A,Q){const D=highWaterMarkFrom(u,Q,A);if(D!=null){if(!B(D)||D<0){const i=Q?`options.${A}`:"options.highWaterMark";throw new P(i,D)}return I(D)}return getDefaultHighWaterMark(i.objectMode)}i.exports={getHighWaterMark:getHighWaterMark,getDefaultHighWaterMark:getDefaultHighWaterMark,setDefaultHighWaterMark:setDefaultHighWaterMark}},12135:(i,u,A)=>{"use strict";const{ObjectSetPrototypeOf:I,Symbol:B}=A(50999);i.exports=Transform;const{ERR_METHOD_NOT_IMPLEMENTED:Q}=A(69220).codes;const P=A(94449);const{getHighWaterMark:D}=A(54874);I(Transform.prototype,P.prototype);I(Transform,P);const L=B("kCallback");function Transform(i){if(!(this instanceof Transform))return new Transform(i);const u=i?D(this,i,"readableHighWaterMark",true):null;if(u===0){i={...i,highWaterMark:null,readableHighWaterMark:u,writableHighWaterMark:i.writableHighWaterMark||0}}P.call(this,i);this._readableState.sync=false;this[L]=null;if(i){if(typeof i.transform==="function")this._transform=i.transform;if(typeof i.flush==="function")this._flush=i.flush}this.on("prefinish",prefinish)}function final(i){if(typeof this._flush==="function"&&!this.destroyed){this._flush(((u,A)=>{if(u){if(i){i(u)}else{this.destroy(u)}return}if(A!=null){this.push(A)}this.push(null);if(i){i()}}))}else{this.push(null);if(i){i()}}}function prefinish(){if(this._final!==final){final.call(this)}}Transform.prototype._final=final;Transform.prototype._transform=function(i,u,A){throw new Q("_transform()")};Transform.prototype._write=function(i,u,A){const I=this._readableState;const B=this._writableState;const Q=I.length;this._transform(i,u,((i,u)=>{if(i){A(i);return}if(u!=null){this.push(u)}if(B.ended||Q===I.length||I.length{"use strict";const{SymbolAsyncIterator:I,SymbolIterator:B,SymbolFor:Q}=A(50999);const P=Q("nodejs.stream.destroyed");const D=Q("nodejs.stream.errored");const L=Q("nodejs.stream.readable");const U=Q("nodejs.stream.writable");const G=Q("nodejs.stream.disturbed");const z=Q("nodejs.webstream.isClosedPromise");const W=Q("nodejs.webstream.controllerErrorFunction");function isReadableNodeStream(i,u=false){var A;return!!(i&&typeof i.pipe==="function"&&typeof i.on==="function"&&(!u||typeof i.pause==="function"&&typeof i.resume==="function")&&(!i._writableState||((A=i._readableState)===null||A===undefined?undefined:A.readable)!==false)&&(!i._writableState||i._readableState))}function isWritableNodeStream(i){var u;return!!(i&&typeof i.write==="function"&&typeof i.on==="function"&&(!i._readableState||((u=i._writableState)===null||u===undefined?undefined:u.writable)!==false))}function isDuplexNodeStream(i){return!!(i&&typeof i.pipe==="function"&&i._readableState&&typeof i.on==="function"&&typeof i.write==="function")}function isNodeStream(i){return i&&(i._readableState||i._writableState||typeof i.write==="function"&&typeof i.on==="function"||typeof i.pipe==="function"&&typeof i.on==="function")}function isReadableStream(i){return!!(i&&!isNodeStream(i)&&typeof i.pipeThrough==="function"&&typeof i.getReader==="function"&&typeof i.cancel==="function")}function isWritableStream(i){return!!(i&&!isNodeStream(i)&&typeof i.getWriter==="function"&&typeof i.abort==="function")}function isTransformStream(i){return!!(i&&!isNodeStream(i)&&typeof i.readable==="object"&&typeof i.writable==="object")}function isWebStream(i){return isReadableStream(i)||isWritableStream(i)||isTransformStream(i)}function isIterable(i,u){if(i==null)return false;if(u===true)return typeof i[I]==="function";if(u===false)return typeof i[B]==="function";return typeof i[I]==="function"||typeof i[B]==="function"}function isDestroyed(i){if(!isNodeStream(i))return null;const u=i._writableState;const A=i._readableState;const I=u||A;return!!(i.destroyed||i[P]||I!==null&&I!==undefined&&I.destroyed)}function isWritableEnded(i){if(!isWritableNodeStream(i))return null;if(i.writableEnded===true)return true;const u=i._writableState;if(u!==null&&u!==undefined&&u.errored)return false;if(typeof(u===null||u===undefined?undefined:u.ended)!=="boolean")return null;return u.ended}function isWritableFinished(i,u){if(!isWritableNodeStream(i))return null;if(i.writableFinished===true)return true;const A=i._writableState;if(A!==null&&A!==undefined&&A.errored)return false;if(typeof(A===null||A===undefined?undefined:A.finished)!=="boolean")return null;return!!(A.finished||u===false&&A.ended===true&&A.length===0)}function isReadableEnded(i){if(!isReadableNodeStream(i))return null;if(i.readableEnded===true)return true;const u=i._readableState;if(!u||u.errored)return false;if(typeof(u===null||u===undefined?undefined:u.ended)!=="boolean")return null;return u.ended}function isReadableFinished(i,u){if(!isReadableNodeStream(i))return null;const A=i._readableState;if(A!==null&&A!==undefined&&A.errored)return false;if(typeof(A===null||A===undefined?undefined:A.endEmitted)!=="boolean")return null;return!!(A.endEmitted||u===false&&A.ended===true&&A.length===0)}function isReadable(i){if(i&&i[L]!=null)return i[L];if(typeof(i===null||i===undefined?undefined:i.readable)!=="boolean")return null;if(isDestroyed(i))return false;return isReadableNodeStream(i)&&i.readable&&!isReadableFinished(i)}function isWritable(i){if(i&&i[U]!=null)return i[U];if(typeof(i===null||i===undefined?undefined:i.writable)!=="boolean")return null;if(isDestroyed(i))return false;return isWritableNodeStream(i)&&i.writable&&!isWritableEnded(i)}function isFinished(i,u){if(!isNodeStream(i)){return null}if(isDestroyed(i)){return true}if((u===null||u===undefined?undefined:u.readable)!==false&&isReadable(i)){return false}if((u===null||u===undefined?undefined:u.writable)!==false&&isWritable(i)){return false}return true}function isWritableErrored(i){var u,A;if(!isNodeStream(i)){return null}if(i.writableErrored){return i.writableErrored}return(u=(A=i._writableState)===null||A===undefined?undefined:A.errored)!==null&&u!==undefined?u:null}function isReadableErrored(i){var u,A;if(!isNodeStream(i)){return null}if(i.readableErrored){return i.readableErrored}return(u=(A=i._readableState)===null||A===undefined?undefined:A.errored)!==null&&u!==undefined?u:null}function isClosed(i){if(!isNodeStream(i)){return null}if(typeof i.closed==="boolean"){return i.closed}const u=i._writableState;const A=i._readableState;if(typeof(u===null||u===undefined?undefined:u.closed)==="boolean"||typeof(A===null||A===undefined?undefined:A.closed)==="boolean"){return(u===null||u===undefined?undefined:u.closed)||(A===null||A===undefined?undefined:A.closed)}if(typeof i._closed==="boolean"&&isOutgoingMessage(i)){return i._closed}return null}function isOutgoingMessage(i){return typeof i._closed==="boolean"&&typeof i._defaultKeepAlive==="boolean"&&typeof i._removedConnection==="boolean"&&typeof i._removedContLen==="boolean"}function isServerResponse(i){return typeof i._sent100==="boolean"&&isOutgoingMessage(i)}function isServerRequest(i){var u;return typeof i._consuming==="boolean"&&typeof i._dumped==="boolean"&&((u=i.req)===null||u===undefined?undefined:u.upgradeOrConnect)===undefined}function willEmitClose(i){if(!isNodeStream(i))return null;const u=i._writableState;const A=i._readableState;const I=u||A;return!I&&isServerResponse(i)||!!(I&&I.autoDestroy&&I.emitClose&&I.closed===false)}function isDisturbed(i){var u;return!!(i&&((u=i[G])!==null&&u!==undefined?u:i.readableDidRead||i.readableAborted))}function isErrored(i){var u,A,I,B,Q,P,L,U,G,z;return!!(i&&((u=(A=(I=(B=(Q=(P=i[D])!==null&&P!==undefined?P:i.readableErrored)!==null&&Q!==undefined?Q:i.writableErrored)!==null&&B!==undefined?B:(L=i._readableState)===null||L===undefined?undefined:L.errorEmitted)!==null&&I!==undefined?I:(U=i._writableState)===null||U===undefined?undefined:U.errorEmitted)!==null&&A!==undefined?A:(G=i._readableState)===null||G===undefined?undefined:G.errored)!==null&&u!==undefined?u:(z=i._writableState)===null||z===undefined?undefined:z.errored))}i.exports={isDestroyed:isDestroyed,kIsDestroyed:P,isDisturbed:isDisturbed,kIsDisturbed:G,isErrored:isErrored,kIsErrored:D,isReadable:isReadable,kIsReadable:L,kIsClosedPromise:z,kControllerErrorFunction:W,kIsWritable:U,isClosed:isClosed,isDuplexNodeStream:isDuplexNodeStream,isFinished:isFinished,isIterable:isIterable,isReadableNodeStream:isReadableNodeStream,isReadableStream:isReadableStream,isReadableEnded:isReadableEnded,isReadableFinished:isReadableFinished,isReadableErrored:isReadableErrored,isNodeStream:isNodeStream,isWebStream:isWebStream,isWritable:isWritable,isWritableNodeStream:isWritableNodeStream,isWritableStream:isWritableStream,isWritableEnded:isWritableEnded,isWritableFinished:isWritableFinished,isWritableErrored:isWritableErrored,isServerRequest:isServerRequest,isServerResponse:isServerResponse,willEmitClose:willEmitClose,isTransformStream:isTransformStream}},58939:(i,u,A)=>{"use strict";const I=A(7945);const{ArrayPrototypeSlice:B,Error:Q,FunctionPrototypeSymbolHasInstance:P,ObjectDefineProperty:D,ObjectDefineProperties:L,ObjectSetPrototypeOf:U,StringPrototypeToLowerCase:G,Symbol:z,SymbolHasInstance:W}=A(50999);i.exports=Writable;Writable.WritableState=WritableState;const{EventEmitter:Y}=A(24434);const J=A(84128).Stream;const{Buffer:$}=A(20181);const K=A(65089);const{addAbortSignal:X}=A(80652);const{getHighWaterMark:he,getDefaultHighWaterMark:Ae}=A(54874);const{ERR_INVALID_ARG_TYPE:ye,ERR_METHOD_NOT_IMPLEMENTED:be,ERR_MULTIPLE_CALLBACK:Ee,ERR_STREAM_CANNOT_PIPE:Ce,ERR_STREAM_DESTROYED:we,ERR_STREAM_ALREADY_FINISHED:ve,ERR_STREAM_NULL_VALUES:Se,ERR_STREAM_WRITE_AFTER_END:Re,ERR_UNKNOWN_ENCODING:Ne}=A(69220).codes;const{errorOrDestroy:_e}=K;U(Writable.prototype,J.prototype);U(Writable,J);function nop(){}const Oe=z("kOnFinished");function WritableState(i,u,I){if(typeof I!=="boolean")I=u instanceof A(94449);this.objectMode=!!(i&&i.objectMode);if(I)this.objectMode=this.objectMode||!!(i&&i.writableObjectMode);this.highWaterMark=i?he(this,i,"writableHighWaterMark",I):Ae(false);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;const B=!!(i&&i.decodeStrings===false);this.decodeStrings=!B;this.defaultEncoding=i&&i.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=onwrite.bind(undefined,u);this.writecb=null;this.writelen=0;this.afterWriteTickInfo=null;resetBuffer(this);this.pendingcb=0;this.constructed=true;this.prefinished=false;this.errorEmitted=false;this.emitClose=!i||i.emitClose!==false;this.autoDestroy=!i||i.autoDestroy!==false;this.errored=null;this.closed=false;this.closeEmitted=false;this[Oe]=[]}function resetBuffer(i){i.buffered=[];i.bufferedIndex=0;i.allBuffers=true;i.allNoop=true}WritableState.prototype.getBuffer=function getBuffer(){return B(this.buffered,this.bufferedIndex)};D(WritableState.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Writable(i){const u=this instanceof A(94449);if(!u&&!P(Writable,this))return new Writable(i);this._writableState=new WritableState(i,this,u);if(i){if(typeof i.write==="function")this._write=i.write;if(typeof i.writev==="function")this._writev=i.writev;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.final==="function")this._final=i.final;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal)X(i.signal,this)}J.call(this,i);K.construct(this,(()=>{const i=this._writableState;if(!i.writing){clearBuffer(this,i)}finishMaybe(this,i)}))}D(Writable,W,{__proto__:null,value:function(i){if(P(this,i))return true;if(this!==Writable)return false;return i&&i._writableState instanceof WritableState}});Writable.prototype.pipe=function(){_e(this,new Ce)};function _write(i,u,A,B){const Q=i._writableState;if(typeof A==="function"){B=A;A=Q.defaultEncoding}else{if(!A)A=Q.defaultEncoding;else if(A!=="buffer"&&!$.isEncoding(A))throw new Ne(A);if(typeof B!=="function")B=nop}if(u===null){throw new Se}else if(!Q.objectMode){if(typeof u==="string"){if(Q.decodeStrings!==false){u=$.from(u,A);A="buffer"}}else if(u instanceof $){A="buffer"}else if(J._isUint8Array(u)){u=J._uint8ArrayToBuffer(u);A="buffer"}else{throw new ye("chunk",["string","Buffer","Uint8Array"],u)}}let P;if(Q.ending){P=new Re}else if(Q.destroyed){P=new we("write")}if(P){I.nextTick(B,P);_e(i,P,true);return P}Q.pendingcb++;return writeOrBuffer(i,Q,u,A,B)}Writable.prototype.write=function(i,u,A){return _write(this,i,u,A)===true};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){const i=this._writableState;if(i.corked){i.corked--;if(!i.writing)clearBuffer(this,i)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(i){if(typeof i==="string")i=G(i);if(!$.isEncoding(i))throw new Ne(i);this._writableState.defaultEncoding=i;return this};function writeOrBuffer(i,u,A,I,B){const Q=u.objectMode?1:A.length;u.length+=Q;const P=u.lengthA.bufferedIndex){clearBuffer(i,A)}if(B){if(A.afterWriteTickInfo!==null&&A.afterWriteTickInfo.cb===Q){A.afterWriteTickInfo.count++}else{A.afterWriteTickInfo={count:1,cb:Q,stream:i,state:A};I.nextTick(afterWriteTick,A.afterWriteTickInfo)}}else{afterWrite(i,A,1,Q)}}}function afterWriteTick({stream:i,state:u,count:A,cb:I}){u.afterWriteTickInfo=null;return afterWrite(i,u,A,I)}function afterWrite(i,u,A,I){const B=!u.ending&&!i.destroyed&&u.length===0&&u.needDrain;if(B){u.needDrain=false;i.emit("drain")}while(A-- >0){u.pendingcb--;I()}if(u.destroyed){errorBuffer(u)}finishMaybe(i,u)}function errorBuffer(i){if(i.writing){return}for(let A=i.bufferedIndex;A1&&i._writev){u.pendingcb-=P-1;const I=u.allNoop?nop:i=>{for(let u=D;u256){A.splice(0,D);u.bufferedIndex=0}else{u.bufferedIndex=D}}u.bufferProcessing=false}Writable.prototype._write=function(i,u,A){if(this._writev){this._writev([{chunk:i,encoding:u}],A)}else{throw new be("_write()")}};Writable.prototype._writev=null;Writable.prototype.end=function(i,u,A){const B=this._writableState;if(typeof i==="function"){A=i;i=null;u=null}else if(typeof u==="function"){A=u;u=null}let P;if(i!==null&&i!==undefined){const A=_write(this,i,u);if(A instanceof Q){P=A}}if(B.corked){B.corked=1;this.uncork()}if(P){}else if(!B.errored&&!B.ending){B.ending=true;finishMaybe(this,B,true);B.ended=true}else if(B.finished){P=new ve("end")}else if(B.destroyed){P=new we("end")}if(typeof A==="function"){if(P||B.finished){I.nextTick(A,P)}else{B[Oe].push(A)}}return this};function needFinish(i){return i.ending&&!i.destroyed&&i.constructed&&i.length===0&&!i.errored&&i.buffered.length===0&&!i.finished&&!i.writing&&!i.errorEmitted&&!i.closeEmitted}function callFinal(i,u){let A=false;function onFinish(B){if(A){_e(i,B!==null&&B!==undefined?B:Ee());return}A=true;u.pendingcb--;if(B){const A=u[Oe].splice(0);for(let i=0;i{if(needFinish(u)){finish(i,u)}else{u.pendingcb--}}),i,u)}else if(needFinish(u)){u.pendingcb++;finish(i,u)}}}}function finish(i,u){u.pendingcb--;u.finished=true;const A=u[Oe].splice(0);for(let i=0;i{"use strict";const{ArrayIsArray:I,ArrayPrototypeIncludes:B,ArrayPrototypeJoin:Q,ArrayPrototypeMap:P,NumberIsInteger:D,NumberIsNaN:L,NumberMAX_SAFE_INTEGER:U,NumberMIN_SAFE_INTEGER:G,NumberParseInt:z,ObjectPrototypeHasOwnProperty:W,RegExpPrototypeExec:Y,String:J,StringPrototypeToUpperCase:$,StringPrototypeTrim:K}=A(50999);const{hideStackFrames:X,codes:{ERR_SOCKET_BAD_PORT:he,ERR_INVALID_ARG_TYPE:Ae,ERR_INVALID_ARG_VALUE:ye,ERR_OUT_OF_RANGE:be,ERR_UNKNOWN_SIGNAL:Ee}}=A(69220);const{normalizeEncoding:Ce}=A(23539);const{isAsyncFunction:we,isArrayBufferView:ve}=A(23539).types;const Se={};function isInt32(i){return i===(i|0)}function isUint32(i){return i===i>>>0}const Re=/^[0-7]+$/;const Ne="must be a 32-bit unsigned integer or an octal string";function parseFileMode(i,u,A){if(typeof i==="undefined"){i=A}if(typeof i==="string"){if(Y(Re,i)===null){throw new ye(u,i,Ne)}i=z(i,8)}xe(i,u);return i}const _e=X(((i,u,A=G,I=U)=>{if(typeof i!=="number")throw new Ae(u,"number",i);if(!D(i))throw new be(u,"an integer",i);if(iI)throw new be(u,`>= ${A} && <= ${I}`,i)}));const Oe=X(((i,u,A=-2147483648,I=2147483647)=>{if(typeof i!=="number"){throw new Ae(u,"number",i)}if(!D(i)){throw new be(u,"an integer",i)}if(iI){throw new be(u,`>= ${A} && <= ${I}`,i)}}));const xe=X(((i,u,A=false)=>{if(typeof i!=="number"){throw new Ae(u,"number",i)}if(!D(i)){throw new be(u,"an integer",i)}const I=A?1:0;const B=4294967295;if(iB){throw new be(u,`>= ${I} && <= ${B}`,i)}}));function validateString(i,u){if(typeof i!=="string")throw new Ae(u,"string",i)}function validateNumber(i,u,A=undefined,I){if(typeof i!=="number")throw new Ae(u,"number",i);if(A!=null&&iI||(A!=null||I!=null)&&L(i)){throw new be(u,`${A!=null?`>= ${A}`:""}${A!=null&&I!=null?" && ":""}${I!=null?`<= ${I}`:""}`,i)}}const ke=X(((i,u,A)=>{if(!B(A,i)){const I=Q(P(A,(i=>typeof i==="string"?`'${i}'`:J(i))),", ");const B="must be one of: "+I;throw new ye(u,i,B)}}));function validateBoolean(i,u){if(typeof i!=="boolean")throw new Ae(u,"boolean",i)}function getOwnPropertyValueOrDefault(i,u,A){return i==null||!W(i,u)?A:i[u]}const Qe=X(((i,u,A=null)=>{const B=getOwnPropertyValueOrDefault(A,"allowArray",false);const Q=getOwnPropertyValueOrDefault(A,"allowFunction",false);const P=getOwnPropertyValueOrDefault(A,"nullable",false);if(!P&&i===null||!B&&I(i)||typeof i!=="object"&&(!Q||typeof i!=="function")){throw new Ae(u,"Object",i)}}));const Pe=X(((i,u)=>{if(i!=null&&typeof i!=="object"&&typeof i!=="function"){throw new Ae(u,"a dictionary",i)}}));const De=X(((i,u,A=0)=>{if(!I(i)){throw new Ae(u,"Array",i)}if(i.length{if(!ve(i)){throw new Ae(u,["Buffer","TypedArray","DataView"],i)}}));function validateEncoding(i,u){const A=Ce(u);const I=i.length;if(A==="hex"&&I%2!==0){throw new ye("encoding",u,`is invalid for data of length ${I}`)}}function validatePort(i,u="Port",A=true){if(typeof i!=="number"&&typeof i!=="string"||typeof i==="string"&&K(i).length===0||+i!==+i>>>0||i>65535||i===0&&!A){throw new he(u,i,A)}return i|0}const Fe=X(((i,u)=>{if(i!==undefined&&(i===null||typeof i!=="object"||!("aborted"in i))){throw new Ae(u,"AbortSignal",i)}}));const Ue=X(((i,u)=>{if(typeof i!=="function")throw new Ae(u,"Function",i)}));const je=X(((i,u)=>{if(typeof i!=="function"||we(i))throw new Ae(u,"Function",i)}));const He=X(((i,u)=>{if(i!==undefined)throw new Ae(u,"undefined",i)}));function validateUnion(i,u,A){if(!B(A,i)){throw new Ae(u,`('${Q(A,"|")}')`,i)}}const Ge=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function validateLinkHeaderFormat(i,u){if(typeof i==="undefined"||!Y(Ge,i)){throw new ye(u,i,'must be an array or string of format "; rel=preload; as=style"')}}function validateLinkHeaderValue(i){if(typeof i==="string"){validateLinkHeaderFormat(i,"hints");return i}else if(I(i)){const u=i.length;let A="";if(u===0){return A}for(let I=0;I; rel=preload; as=style"')}i.exports={isInt32:isInt32,isUint32:isUint32,parseFileMode:parseFileMode,validateArray:De,validateStringArray:validateStringArray,validateBooleanArray:validateBooleanArray,validateAbortSignalArray:validateAbortSignalArray,validateBoolean:validateBoolean,validateBuffer:Me,validateDictionary:Pe,validateEncoding:validateEncoding,validateFunction:Ue,validateInt32:Oe,validateInteger:_e,validateNumber:validateNumber,validateObject:Qe,validateOneOf:ke,validatePlainFunction:je,validatePort:validatePort,validateSignalName:validateSignalName,validateString:validateString,validateUint32:xe,validateUndefined:He,validateUnion:validateUnion,validateAbortSignal:Fe,validateLinkHeaderValue:validateLinkHeaderValue}},69220:(i,u,A)=>{"use strict";const{format:I,inspect:B}=A(43536);const{AggregateError:Q}=A(50999);const P=globalThis.AggregateError||Q;const D=Symbol("kIsNodeError");const L=["string","function","number","object","Function","Object","boolean","bigint","symbol"];const U=/^([A-Z][a-z0-9]*)+$/;const G="__node_internal_";const z={};function assert(i,u){if(!i){throw new z.ERR_INTERNAL_ASSERTION(u)}}function addNumericalSeparator(i){let u="";let A=i.length;const I=i[0]==="-"?1:0;for(;A>=I+4;A-=3){u=`_${i.slice(A-3,A)}${u}`}return`${i.slice(0,A)}${u}`}function getMessage(i,u,A){if(typeof u==="function"){assert(u.length<=A.length,`Code: ${i}; The provided arguments length (${A.length}) does not match the required ones (${u.length}).`);return u(...A)}const B=(u.match(/%[dfijoOs]/g)||[]).length;assert(B===A.length,`Code: ${i}; The provided arguments length (${A.length}) does not match the required ones (${B}).`);if(A.length===0){return u}return I(u,...A)}function E(i,u,A){if(!A){A=Error}class NodeError extends A{constructor(...A){super(getMessage(i,u,A))}toString(){return`${this.name} [${i}]: ${this.message}`}}Object.defineProperties(NodeError.prototype,{name:{value:A.name,writable:true,enumerable:false,configurable:true},toString:{value(){return`${this.name} [${i}]: ${this.message}`},writable:true,enumerable:false,configurable:true}});NodeError.prototype.code=i;NodeError.prototype[D]=true;z[i]=NodeError}function hideStackFrames(i){const u=G+i.name;Object.defineProperty(i,"name",{value:u});return i}function aggregateTwoErrors(i,u){if(i&&u&&i!==u){if(Array.isArray(u.errors)){u.errors.push(i);return u}const A=new P([u,i],u.message);A.code=u.code;return A}return i||u}class AbortError extends Error{constructor(i="The operation was aborted",u=undefined){if(u!==undefined&&typeof u!=="object"){throw new z.ERR_INVALID_ARG_TYPE("options","Object",u)}super(i,u);this.code="ABORT_ERR";this.name="AbortError"}}E("ERR_ASSERTION","%s",Error);E("ERR_INVALID_ARG_TYPE",((i,u,A)=>{assert(typeof i==="string","'name' must be a string");if(!Array.isArray(u)){u=[u]}let I="The ";if(i.endsWith(" argument")){I+=`${i} `}else{I+=`"${i}" ${i.includes(".")?"property":"argument"} `}I+="must be ";const Q=[];const P=[];const D=[];for(const i of u){assert(typeof i==="string","All expected entries have to be of type string");if(L.includes(i)){Q.push(i.toLowerCase())}else if(U.test(i)){P.push(i)}else{assert(i!=="object",'The value "object" should be written as "Object"');D.push(i)}}if(P.length>0){const i=Q.indexOf("object");if(i!==-1){Q.splice(Q,i,1);P.push("Object")}}if(Q.length>0){switch(Q.length){case 1:I+=`of type ${Q[0]}`;break;case 2:I+=`one of type ${Q[0]} or ${Q[1]}`;break;default:{const i=Q.pop();I+=`one of type ${Q.join(", ")}, or ${i}`}}if(P.length>0||D.length>0){I+=" or "}}if(P.length>0){switch(P.length){case 1:I+=`an instance of ${P[0]}`;break;case 2:I+=`an instance of ${P[0]} or ${P[1]}`;break;default:{const i=P.pop();I+=`an instance of ${P.join(", ")}, or ${i}`}}if(D.length>0){I+=" or "}}switch(D.length){case 0:break;case 1:if(D[0].toLowerCase()!==D[0]){I+="an "}I+=`${D[0]}`;break;case 2:I+=`one of ${D[0]} or ${D[1]}`;break;default:{const i=D.pop();I+=`one of ${D.join(", ")}, or ${i}`}}if(A==null){I+=`. Received ${A}`}else if(typeof A==="function"&&A.name){I+=`. Received function ${A.name}`}else if(typeof A==="object"){var G;if((G=A.constructor)!==null&&G!==undefined&&G.name){I+=`. Received an instance of ${A.constructor.name}`}else{const i=B(A,{depth:-1});I+=`. Received ${i}`}}else{let i=B(A,{colors:false});if(i.length>25){i=`${i.slice(0,25)}...`}I+=`. Received type ${typeof A} (${i})`}return I}),TypeError);E("ERR_INVALID_ARG_VALUE",((i,u,A="is invalid")=>{let I=B(u);if(I.length>128){I=I.slice(0,128)+"..."}const Q=i.includes(".")?"property":"argument";return`The ${Q} '${i}' ${A}. Received ${I}`}),TypeError);E("ERR_INVALID_RETURN_VALUE",((i,u,A)=>{var I;const B=A!==null&&A!==undefined&&(I=A.constructor)!==null&&I!==undefined&&I.name?`instance of ${A.constructor.name}`:`type ${typeof A}`;return`Expected ${i} to be returned from the "${u}"`+` function but got ${B}.`}),TypeError);E("ERR_MISSING_ARGS",((...i)=>{assert(i.length>0,"At least one arg needs to be specified");let u;const A=i.length;i=(Array.isArray(i)?i:[i]).map((i=>`"${i}"`)).join(" or ");switch(A){case 1:u+=`The ${i[0]} argument`;break;case 2:u+=`The ${i[0]} and ${i[1]} arguments`;break;default:{const A=i.pop();u+=`The ${i.join(", ")}, and ${A} arguments`}break}return`${u} must be specified`}),TypeError);E("ERR_OUT_OF_RANGE",((i,u,A)=>{assert(u,'Missing "range" argument');let I;if(Number.isInteger(A)&&Math.abs(A)>2**32){I=addNumericalSeparator(String(A))}else if(typeof A==="bigint"){I=String(A);const i=BigInt(2)**BigInt(32);if(A>i||A<-i){I=addNumericalSeparator(I)}I+="n"}else{I=B(A)}return`The value of "${i}" is out of range. It must be ${u}. Received ${I}`}),RangeError);E("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);E("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);E("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);E("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);E("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);E("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);E("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);E("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);E("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);E("ERR_STREAM_WRITE_AFTER_END","write after end",Error);E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);i.exports={AbortError:AbortError,aggregateTwoErrors:hideStackFrames(aggregateTwoErrors),hideStackFrames:hideStackFrames,codes:z}},29963:(i,u,A)=>{"use strict";const I=A(2203);if(I&&process.env.READABLE_STREAM==="disable"){const u=I.promises;i.exports._uint8ArrayToBuffer=I._uint8ArrayToBuffer;i.exports._isUint8Array=I._isUint8Array;i.exports.isDisturbed=I.isDisturbed;i.exports.isErrored=I.isErrored;i.exports.isReadable=I.isReadable;i.exports.Readable=I.Readable;i.exports.Writable=I.Writable;i.exports.Duplex=I.Duplex;i.exports.Transform=I.Transform;i.exports.PassThrough=I.PassThrough;i.exports.addAbortSignal=I.addAbortSignal;i.exports.finished=I.finished;i.exports.destroy=I.destroy;i.exports.pipeline=I.pipeline;i.exports.compose=I.compose;Object.defineProperty(I,"promises",{configurable:true,enumerable:true,get(){return u}});i.exports.Stream=I.Stream}else{const u=A(12375);const I=A(65904);const B=u.Readable.destroy;i.exports=u.Readable;i.exports._uint8ArrayToBuffer=u._uint8ArrayToBuffer;i.exports._isUint8Array=u._isUint8Array;i.exports.isDisturbed=u.isDisturbed;i.exports.isErrored=u.isErrored;i.exports.isReadable=u.isReadable;i.exports.Readable=u.Readable;i.exports.Writable=u.Writable;i.exports.Duplex=u.Duplex;i.exports.Transform=u.Transform;i.exports.PassThrough=u.PassThrough;i.exports.addAbortSignal=u.addAbortSignal;i.exports.finished=u.finished;i.exports.destroy=u.destroy;i.exports.destroy=B;i.exports.pipeline=u.pipeline;i.exports.compose=u.compose;Object.defineProperty(u,"promises",{configurable:true,enumerable:true,get(){return I}});i.exports.Stream=u.Stream}i.exports["default"]=i.exports},50999:i=>{"use strict";class AggregateError extends Error{constructor(i){if(!Array.isArray(i)){throw new TypeError(`Expected input to be an Array, got ${typeof i}`)}let u="";for(let A=0;A{"use strict";const I=A(20181);const{format:B,inspect:Q}=A(43536);const{codes:{ERR_INVALID_ARG_TYPE:P}}=A(69220);const{kResistStopPropagation:D,AggregateError:L,SymbolDispose:U}=A(50999);const G=globalThis.AbortSignal||A(17413).AbortSignal;const z=globalThis.AbortController||A(17413).AbortController;const W=Object.getPrototypeOf((async function(){})).constructor;const Y=globalThis.Blob||I.Blob;const J=typeof Y!=="undefined"?function isBlob(i){return i instanceof Y}:function isBlob(i){return false};const validateAbortSignal=(i,u)=>{if(i!==undefined&&(i===null||typeof i!=="object"||!("aborted"in i))){throw new P(u,"AbortSignal",i)}};const validateFunction=(i,u)=>{if(typeof i!=="function"){throw new P(u,"Function",i)}};i.exports={AggregateError:L,kEmptyObject:Object.freeze({}),once(i){let u=false;return function(...A){if(u){return}u=true;i.apply(this,A)}},createDeferredPromise:function(){let i;let u;const A=new Promise(((A,I)=>{i=A;u=I}));return{promise:A,resolve:i,reject:u}},promisify(i){return new Promise(((u,A)=>{i(((i,...I)=>{if(i){return A(i)}return u(...I)}))}))},debuglog(){return function(){}},format:B,inspect:Q,types:{isAsyncFunction(i){return i instanceof W},isArrayBufferView(i){return ArrayBuffer.isView(i)}},isBlob:J,deprecate(i,u){return i},addAbortListener:A(24434).addAbortListener||function addAbortListener(i,u){if(i===undefined){throw new P("signal","AbortSignal",i)}validateAbortSignal(i,"signal");validateFunction(u,"listener");let A;if(i.aborted){queueMicrotask((()=>u()))}else{i.addEventListener("abort",u,{__proto__:null,once:true,[D]:true});A=()=>{i.removeEventListener("abort",u)}}return{__proto__:null,[U](){var i;(i=A)===null||i===undefined?undefined:i()}}},AbortSignalAny:G.any||function AbortSignalAny(i){if(i.length===1){return i[0]}const u=new z;const abort=()=>u.abort();i.forEach((i=>{validateAbortSignal(i,"signals");i.addEventListener("abort",abort,{once:true})}));u.signal.addEventListener("abort",(()=>{i.forEach((i=>i.removeEventListener("abort",abort)))}),{once:true});return u.signal}};i.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},43536:i=>{"use strict";i.exports={format(i,...u){return i.replace(/%([sdifj])/g,(function(...[i,A]){const I=u.shift();if(A==="f"){return I.toFixed(6)}else if(A==="j"){return JSON.stringify(I)}else if(A==="s"&&typeof I==="object"){const i=I.constructor!==Object?I.constructor.name:"";return`${i} {}`.trim()}else{return I.toString()}}))},inspect(i){switch(typeof i){case"string":if(i.includes("'")){if(!i.includes('"')){return`"${i}"`}else if(!i.includes("`")&&!i.includes("${")){return`\`${i}\``}}return`'${i}'`;case"number":if(isNaN(i)){return"NaN"}else if(Object.is(i,-0)){return String(i)}return i;case"bigint":return`${String(i)}n`;case"boolean":case"undefined":return String(i);case"object":return"{}"}}}},12375:(i,u,A)=>{"use strict";const{Buffer:I}=A(20181);const{ObjectDefineProperty:B,ObjectKeys:Q,ReflectApply:P}=A(50999);const{promisify:{custom:D}}=A(23539);const{streamReturningOperators:L,promiseReturningOperators:U}=A(11222);const{codes:{ERR_ILLEGAL_CONSTRUCTOR:G}}=A(69220);const z=A(64999);const{setDefaultHighWaterMark:W,getDefaultHighWaterMark:Y}=A(54874);const{pipeline:J}=A(16701);const{destroyer:$}=A(65089);const K=A(36815);const X={};const he=A(65904);const Ae=A(83426);const ye=i.exports=A(84128).Stream;ye.isDestroyed=Ae.isDestroyed;ye.isDisturbed=Ae.isDisturbed;ye.isErrored=Ae.isErrored;ye.isReadable=Ae.isReadable;ye.isWritable=Ae.isWritable;ye.Readable=A(17783);for(const Ee of Q(L)){const Ce=L[Ee];function fn(...i){if(new.target){throw G()}return ye.Readable.from(P(Ce,this,i))}B(fn,"name",{__proto__:null,value:Ce.name});B(fn,"length",{__proto__:null,value:Ce.length});B(ye.Readable.prototype,Ee,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}for(const we of Q(U)){const ve=U[we];function fn(...i){if(new.target){throw G()}return P(ve,this,i)}B(fn,"name",{__proto__:null,value:ve.name});B(fn,"length",{__proto__:null,value:ve.length});B(ye.Readable.prototype,we,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}ye.Writable=A(58939);ye.Duplex=A(94449);ye.Transform=A(12135);ye.PassThrough=A(19173);ye.pipeline=J;const{addAbortSignal:be}=A(80652);ye.addAbortSignal=be;ye.finished=K;ye.destroy=$;ye.compose=z;ye.setDefaultHighWaterMark=W;ye.getDefaultHighWaterMark=Y;B(ye,"promises",{__proto__:null,configurable:true,enumerable:true,get(){return he}});B(J,D,{__proto__:null,enumerable:true,get(){return he.pipeline}});B(K,D,{__proto__:null,enumerable:true,get(){return he.finished}});ye.Stream=ye;ye._isUint8Array=function isUint8Array(i){return i instanceof Uint8Array};ye._uint8ArrayToBuffer=function _uint8ArrayToBuffer(i){return I.from(i.buffer,i.byteOffset,i.byteLength)}},65904:(i,u,A)=>{"use strict";const{ArrayPrototypePop:I,Promise:B}=A(50999);const{isIterable:Q,isNodeStream:P,isWebStream:D}=A(83426);const{pipelineImpl:L}=A(16701);const{finished:U}=A(36815);A(12375);function pipeline(...i){return new B(((u,A)=>{let B;let U;const G=i[i.length-1];if(G&&typeof G==="object"&&!P(G)&&!Q(G)&&!D(G)){const u=I(i);B=u.signal;U=u.end}L(i,((i,I)=>{if(i){A(i)}else{u(I)}}),{signal:B,end:U})}))}i.exports={finished:U,pipeline:pipeline}},81475:(i,u,A)=>{ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var I=A(20181);var B=I.Buffer;function copyProps(i,u){for(var A in i){u[A]=i[A]}}if(B.from&&B.alloc&&B.allocUnsafe&&B.allocUnsafeSlow){i.exports=I}else{copyProps(I,u);u.Buffer=SafeBuffer}function SafeBuffer(i,u,A){return B(i,u,A)}SafeBuffer.prototype=Object.create(B.prototype);copyProps(B,SafeBuffer);SafeBuffer.from=function(i,u,A){if(typeof i==="number"){throw new TypeError("Argument must not be a number")}return B(i,u,A)};SafeBuffer.alloc=function(i,u,A){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}var I=B(i);if(u!==undefined){if(typeof A==="string"){I.fill(u,A)}else{I.fill(u)}}else{I.fill(0)}return I};SafeBuffer.allocUnsafe=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return B(i)};SafeBuffer.allocUnsafeSlow=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return I.SlowBuffer(i)}},58463:(i,u,A)=>{"use strict";var I=A(81475).Buffer;var B=I.isEncoding||function(i){i=""+i;switch(i&&i.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(i){if(!i)return"utf8";var u;while(true){switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:if(u)return;i=(""+i).toLowerCase();u=true}}}function normalizeEncoding(i){var u=_normalizeEncoding(i);if(typeof u!=="string"&&(I.isEncoding===B||!B(i)))throw new Error("Unknown encoding: "+i);return u||i}u.StringDecoder=StringDecoder;function StringDecoder(i){this.encoding=normalizeEncoding(i);var u;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;u=4;break;case"utf8":this.fillLast=utf8FillLast;u=4;break;case"base64":this.text=base64Text;this.end=base64End;u=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=I.allocUnsafe(u)}StringDecoder.prototype.write=function(i){if(i.length===0)return"";var u;var A;if(this.lastNeed){u=this.fillLast(i);if(u===undefined)return"";A=this.lastNeed;this.lastNeed=0}else{A=0}if(A>5===6)return 2;else if(i>>4===14)return 3;else if(i>>3===30)return 4;return i>>6===2?-1:-2}function utf8CheckIncomplete(i,u,A){var I=u.length-1;if(I=0){if(B>0)i.lastNeed=B-1;return B}if(--I=0){if(B>0)i.lastNeed=B-2;return B}if(--I=0){if(B>0){if(B===2)B=0;else i.lastNeed=B-3}return B}return 0}function utf8CheckExtraBytes(i,u,A){if((u[0]&192)!==128){i.lastNeed=0;return"�"}if(i.lastNeed>1&&u.length>1){if((u[1]&192)!==128){i.lastNeed=1;return"�"}if(i.lastNeed>2&&u.length>2){if((u[2]&192)!==128){i.lastNeed=2;return"�"}}}}function utf8FillLast(i){var u=this.lastTotal-this.lastNeed;var A=utf8CheckExtraBytes(this,i,u);if(A!==undefined)return A;if(this.lastNeed<=i.length){i.copy(this.lastChar,u,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}i.copy(this.lastChar,u,0,i.length);this.lastNeed-=i.length}function utf8Text(i,u){var A=utf8CheckIncomplete(this,i,u);if(!this.lastNeed)return i.toString("utf8",u);this.lastTotal=A;var I=i.length-(A-this.lastNeed);i.copy(this.lastChar,0,I);return i.toString("utf8",u,I)}function utf8End(i){var u=i&&i.length?this.write(i):"";if(this.lastNeed)return u+"�";return u}function utf16Text(i,u){if((i.length-u)%2===0){var A=i.toString("utf16le",u);if(A){var I=A.charCodeAt(A.length-1);if(I>=55296&&I<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1];return A.slice(0,-1)}}return A}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=i[i.length-1];return i.toString("utf16le",u,i.length-1)}function utf16End(i){var u=i&&i.length?this.write(i):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,A)}return u}function base64Text(i,u){var A=(i.length-u)%3;if(A===0)return i.toString("base64",u);this.lastNeed=3-A;this.lastTotal=3;if(A===1){this.lastChar[0]=i[i.length-1]}else{this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1]}return i.toString("base64",u,i.length-A)}function base64End(i){var u=i&&i.length?this.write(i):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function simpleWrite(i){return i.toString(this.encoding)}function simpleEnd(i){return i&&i.length?this.write(i):""}},51364:(i,u,A)=>{i.exports=readdirGlob;const I=A(79896);const{EventEmitter:B}=A(24434);const{Minimatch:Q}=A(6944);const{resolve:P}=A(16928);function readdir(i,u){return new Promise(((A,B)=>{I.readdir(i,{withFileTypes:true},((i,I)=>{if(i){switch(i.code){case"ENOTDIR":if(u){B(i)}else{A([])}break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":A([]);break;case"ELOOP":default:B(i);break}}else{A(I)}}))}))}function stat(i,u){return new Promise(((A,B)=>{const Q=u?I.stat:I.lstat;Q(i,((I,B)=>{if(I){switch(I.code){case"ENOENT":if(u){A(stat(i,false))}else{A(null)}break;default:A(null);break}}else{A(B)}}))}))}async function*exploreWalkAsync(i,u,A,I,B,Q){let P=await readdir(u+i,Q);for(const Q of P){let P=Q.name;if(P===undefined){P=Q;I=true}const D=i+"/"+P;const L=D.slice(1);const U=u+"/"+L;let G=null;if(I||A){G=await stat(U,A)}if(!G&&Q.name!==undefined){G=Q}if(G===null){G={isDirectory:()=>false}}if(G.isDirectory()){if(!B(L)){yield{relative:L,absolute:U,stats:G};yield*exploreWalkAsync(D,u,A,I,B,false)}}else{yield{relative:L,absolute:U,stats:G}}}}async function*explore(i,u,A,I){yield*exploreWalkAsync("",i,u,A,I,true)}function readOptions(i){return{pattern:i.pattern,dot:!!i.dot,noglobstar:!!i.noglobstar,matchBase:!!i.matchBase,nocase:!!i.nocase,ignore:i.ignore,skip:i.skip,follow:!!i.follow,stat:!!i.stat,nodir:!!i.nodir,mark:!!i.mark,silent:!!i.silent,absolute:!!i.absolute}}class ReaddirGlob extends B{constructor(i,u,A){super();if(typeof u==="function"){A=u;u=null}this.options=readOptions(u||{});this.matchers=[];if(this.options.pattern){const i=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=i.map((i=>new Q(i,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase})))}this.ignoreMatchers=[];if(this.options.ignore){const i=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=i.map((i=>new Q(i,{dot:true})))}this.skipMatchers=[];if(this.options.skip){const i=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=i.map((i=>new Q(i,{dot:true})))}this.iterator=explore(P(i||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this));this.paused=false;this.inactive=false;this.aborted=false;if(A){this._matches=[];this.on("match",(i=>this._matches.push(this.options.absolute?i.absolute:i.relative)));this.on("error",(i=>A(i)));this.on("end",(()=>A(null,this._matches)))}setTimeout((()=>this._next()),0)}_shouldSkipDirectory(i){return this.skipMatchers.some((u=>u.match(i)))}_fileMatches(i,u){const A=i+(u?"/":"");return(this.matchers.length===0||this.matchers.some((i=>i.match(A))))&&!this.ignoreMatchers.some((i=>i.match(A)))&&(!this.options.nodir||!u)}_next(){if(!this.paused&&!this.aborted){this.iterator.next().then((i=>{if(!i.done){const u=i.value.stats.isDirectory();if(this._fileMatches(i.value.relative,u)){let A=i.value.relative;let I=i.value.absolute;if(this.options.mark&&u){A+="/";I+="/"}if(this.options.stat){this.emit("match",{relative:A,absolute:I,stat:i.value.stats})}else{this.emit("match",{relative:A,absolute:I})}}this._next(this.iterator)}else{this.emit("end")}})).catch((i=>{this.abort();this.emit("error",i);if(!i.code&&!this.options.silent){console.error(i)}}))}else{this.inactive=true}}abort(){this.aborted=true}pause(){this.paused=true}resume(){this.paused=false;if(this.inactive){this.inactive=false;this._next()}}}function readdirGlob(i,u,A){return new ReaddirGlob(i,u,A)}readdirGlob.ReaddirGlob=ReaddirGlob},63669:i=>{const u=typeof process==="object"&&process&&process.platform==="win32";i.exports=u?{sep:"\\"}:{sep:"/"}},6944:(i,u,A)=>{const I=i.exports=(i,u,A={})=>{assertValidPattern(u);if(!A.nocomment&&u.charAt(0)==="#"){return false}return new Minimatch(u,A).match(i)};i.exports=I;const B=A(63669);I.sep=B.sep;const Q=Symbol("globstar **");I.GLOBSTAR=Q;const P=A(94691);const D={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};const L="[^/]";const U=L+"*?";const G="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const z="(?:(?!(?:\\/|^)\\.).)*?";const charSet=i=>i.split("").reduce(((i,u)=>{i[u]=true;return i}),{});const W=charSet("().*{}+?[]^$\\!");const Y=charSet("[.(");const J=/\/+/;I.filter=(i,u={})=>(A,B,Q)=>I(A,i,u);const ext=(i,u={})=>{const A={};Object.keys(i).forEach((u=>A[u]=i[u]));Object.keys(u).forEach((i=>A[i]=u[i]));return A};I.defaults=i=>{if(!i||typeof i!=="object"||!Object.keys(i).length){return I}const u=I;const m=(A,I,B)=>u(A,I,ext(i,B));m.Minimatch=class Minimatch extends u.Minimatch{constructor(u,A){super(u,ext(i,A))}};m.Minimatch.defaults=A=>u.defaults(ext(i,A)).Minimatch;m.filter=(A,I)=>u.filter(A,ext(i,I));m.defaults=A=>u.defaults(ext(i,A));m.makeRe=(A,I)=>u.makeRe(A,ext(i,I));m.braceExpand=(A,I)=>u.braceExpand(A,ext(i,I));m.match=(A,I,B)=>u.match(A,I,ext(i,B));return m};I.braceExpand=(i,u)=>braceExpand(i,u);const braceExpand=(i,u={})=>{assertValidPattern(i);if(u.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return P(i)};const $=1024*64;const assertValidPattern=i=>{if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>$){throw new TypeError("pattern is too long")}};const K=Symbol("subparse");I.makeRe=(i,u)=>new Minimatch(i,u||{}).makeRe();I.match=(i,u,A={})=>{const I=new Minimatch(u,A);i=i.filter((i=>I.match(i)));if(I.options.nonull&&!i.length){i.push(u)}return i};const globUnescape=i=>i.replace(/\\(.)/g,"$1");const charUnescape=i=>i.replace(/\\([^-\]])/g,"$1");const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const braExpEscape=i=>i.replace(/[[\]\\]/g,"\\$&");class Minimatch{constructor(i,u){assertValidPattern(i);if(!u)u={};this.options=u;this.maxGlobstarRecursion=u.maxGlobstarRecursion!==undefined?u.maxGlobstarRecursion:200;this.set=[];this.pattern=i;this.windowsPathsNoEscape=!!u.windowsPathsNoEscape||u.allowWindowsEscape===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!u.partial;this.make()}debug(){}make(){const i=this.pattern;const u=this.options;if(!u.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();let A=this.globSet=this.braceExpand();if(u.debug)this.debug=(...i)=>console.error(...i);this.debug(this.pattern,A);A=this.globParts=A.map((i=>i.split(J)));this.debug(this.pattern,A);A=A.map(((i,u,A)=>i.map(this.parse,this)));this.debug(this.pattern,A);A=A.filter((i=>i.indexOf(false)===-1));this.debug(this.pattern,A);this.set=A}parseNegate(){if(this.options.nonegate)return;const i=this.pattern;let u=false;let A=0;for(let I=0;I=0;i--){if(u[i]===Q){D=i;break}}const L=u.slice(B,P);const U=A?u.slice(P+1):u.slice(P+1,D);const G=A?[]:u.slice(D+1);if(L.length){const u=i.slice(I,I+L.length);if(!this._matchOne(u,L,A,0,0)){return false}I+=L.length}let z=0;if(G.length){if(G.length+I>i.length)return false;const u=i.length-G.length;if(this._matchOne(i,G,A,u,0)){z=G.length}else{if(i[i.length-1]!==""||I+G.length===i.length){return false}if(!this._matchOne(i,G,A,u-1,0)){return false}z=G.length+1}}if(!U.length){let u=!!z;for(let A=I;AEe?"":Ce?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const subPatternStart=i=>i.charAt(0)==="."?"":A.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const clearStateChar=()=>{if(J){switch(J){case"*":I+=U;B=true;break;case"?":I+=L;B=true;break;default:I+="\\"+J;break}this.debug("clearStateChar %j %j",J,I);J=false}};for(let u=0,Q;u{if(!A){A="\\"}return u+u+A+"|"}));this.debug("tail=%j\n %s",i,i,ye,I);const u=ye.type==="*"?U:ye.type==="?"?L:"\\"+ye.type;B=true;I=I.slice(0,ye.reStart)+u+"\\("+i}clearStateChar();if(P){I+="\\\\"}const we=Y[I.charAt(0)];for(let i=z.length-1;i>-1;i--){const A=z[i];const B=I.slice(0,A.reStart);const Q=I.slice(A.reStart,A.reEnd-8);let P=I.slice(A.reEnd);const D=I.slice(A.reEnd-8,A.reEnd)+P;const L=B.split(")").length;const U=B.split("(").length-L;let G=P;for(let i=0;i{i=i.map((i=>typeof i==="string"?regExpEscape(i):i===Q?Q:i._src)).reduce(((i,u)=>{if(!(i[i.length-1]===Q&&u===Q)){i.push(u)}return i}),[]);i.forEach(((u,I)=>{if(u!==Q||i[I-1]===Q){return}if(I===0){if(i.length>1){i[I+1]="(?:\\/|"+A+"\\/)?"+i[I+1]}else{i[I]=A}}else if(I===i.length-1){i[I-1]+="(?:\\/|"+A+")?"}else{i[I-1]+="(?:\\/|\\/"+A+"\\/)"+i[I+1];i[I+1]=Q}}));return i.filter((i=>i!==Q)).join("/")})).join("|");B="^(?:"+B+")$";if(this.negate)B="^(?!"+B+").*$";try{this.regexp=new RegExp(B,I)}catch(i){this.regexp=false}return this.regexp}match(i,u=this.partial){this.debug("match",i,this.pattern);if(this.comment)return false;if(this.empty)return i==="";if(i==="/"&&u)return true;const A=this.options;if(B.sep!=="/"){i=i.split(B.sep).join("/")}i=i.split(J);this.debug(this.pattern,"split",i);const I=this.set;this.debug(this.pattern,"set",I);let Q;for(let u=i.length-1;u>=0;u--){Q=i[u];if(Q)break}for(let B=0;B{var I=A(20181);var B=I.Buffer;function copyProps(i,u){for(var A in i){u[A]=i[A]}}if(B.from&&B.alloc&&B.allocUnsafe&&B.allocUnsafeSlow){i.exports=I}else{copyProps(I,u);u.Buffer=SafeBuffer}function SafeBuffer(i,u,A){return B(i,u,A)}copyProps(B,SafeBuffer);SafeBuffer.from=function(i,u,A){if(typeof i==="number"){throw new TypeError("Argument must not be a number")}return B(i,u,A)};SafeBuffer.alloc=function(i,u,A){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}var I=B(i);if(u!==undefined){if(typeof A==="string"){I.fill(u,A)}else{I.fill(u)}}else{I.fill(0)}return I};SafeBuffer.allocUnsafe=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return B(i)};SafeBuffer.allocUnsafeSlow=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return I.SlowBuffer(i)}},12803:(i,u,A)=>{"use strict";var I=A(20181);var B=I.Buffer;var Q={};var P;for(P in I){if(!I.hasOwnProperty(P))continue;if(P==="SlowBuffer"||P==="Buffer")continue;Q[P]=I[P]}var D=Q.Buffer={};for(P in B){if(!B.hasOwnProperty(P))continue;if(P==="allocUnsafe"||P==="allocUnsafeSlow")continue;D[P]=B[P]}Q.Buffer.prototype=B.prototype;if(!D.from||D.from===Uint8Array.from){D.from=function(i,u,A){if(typeof i==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof i)}if(i&&typeof i.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i)}return B(i,u,A)}}if(!D.alloc){D.alloc=function(i,u,A){if(typeof i!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof i)}if(i<0||i>=2*(1<<30)){throw new RangeError('The value "'+i+'" is invalid for option "size"')}var I=B(i);if(!u||u.length===0){I.fill(0)}else if(typeof A==="string"){I.fill(u,A)}else{I.fill(u)}return I}}if(!Q.kStringMaxLength){try{Q.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(i){}}if(!Q.constants){Q.constants={MAX_LENGTH:Q.kMaxLength};if(Q.kStringMaxLength){Q.constants.MAX_STRING_LENGTH=Q.kStringMaxLength}}i.exports=Q},89379:(i,u,A)=>{"use strict";const I=Symbol("SemVer ANY");class Comparator{static get ANY(){return I}constructor(i,u){u=B(u);if(i instanceof Comparator){if(i.loose===!!u.loose){return i}else{i=i.value}}i=i.trim().split(/\s+/).join(" ");L("comparator",i,u);this.options=u;this.loose=!!u.loose;this.parse(i);if(this.semver===I){this.value=""}else{this.value=this.operator+this.semver.version}L("comp",this)}parse(i){const u=this.options.loose?Q[P.COMPARATORLOOSE]:Q[P.COMPARATOR];const A=i.match(u);if(!A){throw new TypeError(`Invalid comparator: ${i}`)}this.operator=A[1]!==undefined?A[1]:"";if(this.operator==="="){this.operator=""}if(!A[2]){this.semver=I}else{this.semver=new U(A[2],this.options.loose)}}toString(){return this.value}test(i){L("Comparator.test",i,this.options.loose);if(this.semver===I||i===I){return true}if(typeof i==="string"){try{i=new U(i,this.options)}catch(i){return false}}return D(i,this.operator,this.semver,this.options)}intersects(i,u){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new G(i.value,u).test(this.value)}else if(i.operator===""){if(i.value===""){return true}return new G(this.value,u).test(i.semver)}u=B(u);if(u.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0")){return false}if(!u.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&i.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&i.operator.startsWith("<")){return true}if(this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("=")){return true}if(D(this.semver,"<",i.semver,u)&&this.operator.startsWith(">")&&i.operator.startsWith("<")){return true}if(D(this.semver,">",i.semver,u)&&this.operator.startsWith("<")&&i.operator.startsWith(">")){return true}return false}}i.exports=Comparator;const B=A(70356);const{safeRe:Q,t:P}=A(95471);const D=A(28646);const L=A(1159);const U=A(7163);const G=A(96782)},96782:(i,u,A)=>{"use strict";const I=/\s+/g;class Range{constructor(i,u){u=P(u);if(i instanceof Range){if(i.loose===!!u.loose&&i.includePrerelease===!!u.includePrerelease){return i}else{return new Range(i.raw,u)}}if(i instanceof D){this.raw=i.value;this.set=[[i]];this.formatted=undefined;return this}this.options=u;this.loose=!!u.loose;this.includePrerelease=!!u.includePrerelease;this.raw=i.trim().replace(I," ");this.set=this.raw.split("||").map((i=>this.parseRange(i.trim()))).filter((i=>i.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const i=this.set[0];this.set=this.set.filter((i=>!isNullSet(i[0])));if(this.set.length===0){this.set=[i]}else if(this.set.length>1){for(const i of this.set){if(i.length===1&&isAny(i[0])){this.set=[i];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let i=0;i0){this.formatted+="||"}const u=this.set[i];for(let i=0;i0){this.formatted+=" "}this.formatted+=u[i].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(i){i=i.replace(he,"");const u=(this.options.includePrerelease&&K)|(this.options.loose&&X);const A=u+":"+i;const I=Q.get(A);if(I){return I}const B=this.options.loose;const P=B?G[W.HYPHENRANGELOOSE]:G[W.HYPHENRANGE];i=i.replace(P,hyphenReplace(this.options.includePrerelease));L("hyphen replace",i);i=i.replace(G[W.COMPARATORTRIM],Y);L("comparator trim",i);i=i.replace(G[W.TILDETRIM],J);L("tilde trim",i);i=i.replace(G[W.CARETTRIM],$);L("caret trim",i);let U=i.split(" ").map((i=>parseComparator(i,this.options))).join(" ").split(/\s+/).map((i=>replaceGTE0(i,this.options)));if(B){U=U.filter((i=>{L("loose invalid filter",i,this.options);return!!i.match(G[W.COMPARATORLOOSE])}))}L("range list",U);const z=new Map;const Ae=U.map((i=>new D(i,this.options)));for(const i of Ae){if(isNullSet(i)){return[i]}z.set(i.value,i)}if(z.size>1&&z.has("")){z.delete("")}const ye=[...z.values()];Q.set(A,ye);return ye}intersects(i,u){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((A=>isSatisfiable(A,u)&&i.set.some((i=>isSatisfiable(i,u)&&A.every((A=>i.every((i=>A.intersects(i,u)))))))))}test(i){if(!i){return false}if(typeof i==="string"){try{i=new U(i,this.options)}catch(i){return false}}for(let u=0;ui.value==="<0.0.0-0";const isAny=i=>i.value==="";const isSatisfiable=(i,u)=>{let A=true;const I=i.slice();let B=I.pop();while(A&&I.length){A=I.every((i=>B.intersects(i,u)));B=I.pop()}return A};const parseComparator=(i,u)=>{i=i.replace(G[W.BUILD],"");L("comp",i,u);i=replaceCarets(i,u);L("caret",i);i=replaceTildes(i,u);L("tildes",i);i=replaceXRanges(i,u);L("xrange",i);i=replaceStars(i,u);L("stars",i);return i};const isX=i=>!i||i.toLowerCase()==="x"||i==="*";const invalidXRangeOrder=(i,u,A)=>isX(i)&&!isX(u)||isX(u)&&A&&!isX(A);const replaceTildes=(i,u)=>i.trim().split(/\s+/).map((i=>replaceTilde(i,u))).join(" ");const replaceTilde=(i,u)=>{const A=u.loose?G[W.TILDELOOSE]:G[W.TILDE];return i.replace(A,((u,A,I,B,Q)=>{L("tilde",i,u,A,I,B,Q);let P;if(isX(A)){P=""}else if(isX(I)){P=`>=${A}.0.0 <${+A+1}.0.0-0`}else if(isX(B)){P=`>=${A}.${I}.0 <${A}.${+I+1}.0-0`}else if(Q){L("replaceTilde pr",Q);P=`>=${A}.${I}.${B}-${Q} <${A}.${+I+1}.0-0`}else{P=`>=${A}.${I}.${B} <${A}.${+I+1}.0-0`}L("tilde return",P);return P}))};const replaceCarets=(i,u)=>i.trim().split(/\s+/).map((i=>replaceCaret(i,u))).join(" ");const replaceCaret=(i,u)=>{L("caret",i,u);const A=u.loose?G[W.CARETLOOSE]:G[W.CARET];const I=u.includePrerelease?"-0":"";return i.replace(A,((u,A,B,Q,P)=>{L("caret",i,u,A,B,Q,P);let D;if(isX(A)){D=""}else if(isX(B)){D=`>=${A}.0.0${I} <${+A+1}.0.0-0`}else if(isX(Q)){if(A==="0"){D=`>=${A}.${B}.0${I} <${A}.${+B+1}.0-0`}else{D=`>=${A}.${B}.0${I} <${+A+1}.0.0-0`}}else if(P){L("replaceCaret pr",P);if(A==="0"){if(B==="0"){D=`>=${A}.${B}.${Q}-${P} <${A}.${B}.${+Q+1}-0`}else{D=`>=${A}.${B}.${Q}-${P} <${A}.${+B+1}.0-0`}}else{D=`>=${A}.${B}.${Q}-${P} <${+A+1}.0.0-0`}}else{L("no pr");if(A==="0"){if(B==="0"){D=`>=${A}.${B}.${Q} <${A}.${B}.${+Q+1}-0`}else{D=`>=${A}.${B}.${Q} <${A}.${+B+1}.0-0`}}else{D=`>=${A}.${B}.${Q} <${+A+1}.0.0-0`}}L("caret return",D);return D}))};const replaceXRanges=(i,u)=>{L("replaceXRanges",i,u);return i.split(/\s+/).map((i=>replaceXRange(i,u))).join(" ")};const replaceXRange=(i,u)=>{i=i.trim();const A=u.loose?G[W.XRANGELOOSE]:G[W.XRANGE];return i.replace(A,((A,I,B,Q,P,D)=>{L("xRange",i,A,I,B,Q,P,D);if(invalidXRangeOrder(B,Q,P)){return i}const U=isX(B);const G=U||isX(Q);const z=G||isX(P);const W=z;if(I==="="&&W){I=""}D=u.includePrerelease?"-0":"";if(U){if(I===">"||I==="<"){A="<0.0.0-0"}else{A="*"}}else if(I&&W){if(G){Q=0}P=0;if(I===">"){I=">=";if(G){B=+B+1;Q=0;P=0}else{Q=+Q+1;P=0}}else if(I==="<="){I="<";if(G){B=+B+1}else{Q=+Q+1}}if(I==="<"){D="-0"}A=`${I+B}.${Q}.${P}${D}`}else if(G){A=`>=${B}.0.0${D} <${+B+1}.0.0-0`}else if(z){A=`>=${B}.${Q}.0${D} <${B}.${+Q+1}.0-0`}L("xRange return",A);return A}))};const replaceStars=(i,u)=>{L("replaceStars",i,u);return i.trim().replace(G[W.STAR],"")};const replaceGTE0=(i,u)=>{L("replaceGTE0",i,u);return i.trim().replace(G[u.includePrerelease?W.GTE0PRE:W.GTE0],"")};const hyphenReplace=i=>(u,A,I,B,Q,P,D,L,U,G,z,W)=>{if(isX(I)){A=""}else if(isX(B)){A=`>=${I}.0.0${i?"-0":""}`}else if(isX(Q)){A=`>=${I}.${B}.0${i?"-0":""}`}else if(P){A=`>=${A}`}else{A=`>=${A}${i?"-0":""}`}if(isX(U)){L=""}else if(isX(G)){L=`<${+U+1}.0.0-0`}else if(isX(z)){L=`<${U}.${+G+1}.0-0`}else if(W){L=`<=${U}.${G}.${z}-${W}`}else if(i){L=`<${U}.${G}.${+z+1}-0`}else{L=`<=${L}`}return`${A} ${L}`.trim()};const testSet=(i,u,A)=>{for(let A=0;A0){const I=i[A].semver;if(I.major===u.major&&I.minor===u.minor&&I.patch===u.patch){return true}}}return false}return true}},7163:(i,u,A)=>{"use strict";const I=A(1159);const{MAX_LENGTH:B,MAX_SAFE_INTEGER:Q}=A(45101);const{safeRe:P,t:D}=A(95471);const L=A(70356);const{compareIdentifiers:U}=A(73348);const isPrereleaseIdentifier=(i,u)=>{const A=u.split(".");if(A.length>i.length){return false}for(let u=0;uB){throw new TypeError(`version is longer than ${B} characters`)}I("SemVer",i,u);this.options=u;this.loose=!!u.loose;this.includePrerelease=!!u.includePrerelease;const A=i.trim().match(u.loose?P[D.LOOSE]:P[D.FULL]);if(!A){throw new TypeError(`Invalid Version: ${i}`)}this.raw=i;this.major=+A[1];this.minor=+A[2];this.patch=+A[3];if(this.major>Q||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>Q||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>Q||this.patch<0){throw new TypeError("Invalid patch version")}if(!A[4]){this.prerelease=[]}else{this.prerelease=A[4].split(".").map((i=>{if(/^[0-9]+$/.test(i)){const u=+i;if(u>=0&&ui.major){return 1}if(this.minori.minor){return 1}if(this.patchi.patch){return 1}return 0}comparePre(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}if(this.prerelease.length&&!i.prerelease.length){return-1}else if(!this.prerelease.length&&i.prerelease.length){return 1}else if(!this.prerelease.length&&!i.prerelease.length){return 0}let u=0;do{const A=this.prerelease[u];const B=i.prerelease[u];I("prerelease compare",u,A,B);if(A===undefined&&B===undefined){return 0}else if(B===undefined){return 1}else if(A===undefined){return-1}else if(A===B){continue}else{return U(A,B)}}while(++u)}compareBuild(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}let u=0;do{const A=this.build[u];const B=i.build[u];I("build compare",u,A,B);if(A===undefined&&B===undefined){return 0}else if(B===undefined){return 1}else if(A===undefined){return-1}else if(A===B){continue}else{return U(A,B)}}while(++u)}inc(i,u,A){if(i.startsWith("pre")){if(!u&&A===false){throw new Error("invalid increment argument: identifier is empty")}if(u){const i=`-${u}`.match(this.options.loose?P[D.PRERELEASELOOSE]:P[D.PRERELEASE]);if(!i||i[1]!==u){throw new Error(`invalid identifier: ${u}`)}}}switch(i){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",u,A);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",u,A);break;case"prepatch":this.prerelease.length=0;this.inc("patch",u,A);this.inc("pre",u,A);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",u,A)}this.inc("pre",u,A);break;case"release":if(this.prerelease.length===0){throw new Error(`version ${this.raw} is not a prerelease`)}this.prerelease.length=0;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":{const i=Number(A)?1:0;if(this.prerelease.length===0){this.prerelease=[i]}else{let I=this.prerelease.length;while(--I>=0){if(typeof this.prerelease[I]==="number"){this.prerelease[I]++;I=-2}}if(I===-1){if(u===this.prerelease.join(".")&&A===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(i)}}if(u){let I=[u,i];if(A===false){I=[u]}if(isPrereleaseIdentifier(this.prerelease,u)){const i=this.prerelease[u.split(".").length];if(isNaN(i)){this.prerelease=I}}else{this.prerelease=I}}break}default:throw new Error(`invalid increment argument: ${i}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}i.exports=SemVer},1799:(i,u,A)=>{"use strict";const I=A(16353);const clean=(i,u)=>{const A=I(i.trim().replace(/^[=v]+/,""),u);return A?A.version:null};i.exports=clean},28646:(i,u,A)=>{"use strict";const I=A(55082);const B=A(4974);const Q=A(16599);const P=A(41236);const D=A(3872);const L=A(56717);const cmp=(i,u,A,U)=>{switch(u){case"===":if(typeof i==="object"){i=i.version}if(typeof A==="object"){A=A.version}return i===A;case"!==":if(typeof i==="object"){i=i.version}if(typeof A==="object"){A=A.version}return i!==A;case"":case"=":case"==":return I(i,A,U);case"!=":return B(i,A,U);case">":return Q(i,A,U);case">=":return P(i,A,U);case"<":return D(i,A,U);case"<=":return L(i,A,U);default:throw new TypeError(`Invalid operator: ${u}`)}};i.exports=cmp},35385:(i,u,A)=>{"use strict";const I=A(7163);const B=A(16353);const{safeRe:Q,t:P}=A(95471);const coerce=(i,u)=>{if(i instanceof I){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}u=u||{};let A=null;if(!u.rtl){A=i.match(u.includePrerelease?Q[P.COERCEFULL]:Q[P.COERCE])}else{const I=u.includePrerelease?Q[P.COERCERTLFULL]:Q[P.COERCERTL];let B;while((B=I.exec(i))&&(!A||A.index+A[0].length!==i.length)){if(!A||B.index+B[0].length!==A.index+A[0].length){A=B}I.lastIndex=B.index+B[1].length+B[2].length}I.lastIndex=-1}if(A===null){return null}const D=A[2];const L=A[3]||"0";const U=A[4]||"0";const G=u.includePrerelease&&A[5]?`-${A[5]}`:"";const z=u.includePrerelease&&A[6]?`+${A[6]}`:"";return B(`${D}.${L}.${U}${G}${z}`,u)};i.exports=coerce},37648:(i,u,A)=>{"use strict";const I=A(7163);const compareBuild=(i,u,A)=>{const B=new I(i,A);const Q=new I(u,A);return B.compare(Q)||B.compareBuild(Q)};i.exports=compareBuild},56874:(i,u,A)=>{"use strict";const I=A(78469);const compareLoose=(i,u)=>I(i,u,true);i.exports=compareLoose},78469:(i,u,A)=>{"use strict";const I=A(7163);const compare=(i,u,A)=>new I(i,A).compare(new I(u,A));i.exports=compare},70711:(i,u,A)=>{"use strict";const I=A(16353);const diff=(i,u)=>{const A=I(i,null,true);const B=I(u,null,true);const Q=A.compare(B);if(Q===0){return null}const P=Q>0;const D=P?A:B;const L=P?B:A;const U=!!D.prerelease.length;const G=!!L.prerelease.length;if(G&&!U){if(!L.patch&&!L.minor){return"major"}if(L.compareMain(D)===0){if(L.minor&&!L.patch){return"minor"}return"patch"}}const z=U?"pre":"";if(A.major!==B.major){return z+"major"}if(A.minor!==B.minor){return z+"minor"}if(A.patch!==B.patch){return z+"patch"}return"prerelease"};i.exports=diff},55082:(i,u,A)=>{"use strict";const I=A(78469);const eq=(i,u,A)=>I(i,u,A)===0;i.exports=eq},16599:(i,u,A)=>{"use strict";const I=A(78469);const gt=(i,u,A)=>I(i,u,A)>0;i.exports=gt},41236:(i,u,A)=>{"use strict";const I=A(78469);const gte=(i,u,A)=>I(i,u,A)>=0;i.exports=gte},62338:(i,u,A)=>{"use strict";const I=A(7163);const inc=(i,u,A,B,Q)=>{if(typeof A==="string"){Q=B;B=A;A=undefined}try{return new I(i instanceof I?i.version:i,A).inc(u,B,Q).version}catch(i){return null}};i.exports=inc},3872:(i,u,A)=>{"use strict";const I=A(78469);const lt=(i,u,A)=>I(i,u,A)<0;i.exports=lt},56717:(i,u,A)=>{"use strict";const I=A(78469);const lte=(i,u,A)=>I(i,u,A)<=0;i.exports=lte},68511:(i,u,A)=>{"use strict";const I=A(7163);const major=(i,u)=>new I(i,u).major;i.exports=major},32603:(i,u,A)=>{"use strict";const I=A(7163);const minor=(i,u)=>new I(i,u).minor;i.exports=minor},4974:(i,u,A)=>{"use strict";const I=A(78469);const neq=(i,u,A)=>I(i,u,A)!==0;i.exports=neq},16353:(i,u,A)=>{"use strict";const I=A(7163);const parse=(i,u,A=false)=>{if(i instanceof I){return i}try{return new I(i,u)}catch(i){if(!A){return null}throw i}};i.exports=parse},48756:(i,u,A)=>{"use strict";const I=A(7163);const patch=(i,u)=>new I(i,u).patch;i.exports=patch},15714:(i,u,A)=>{"use strict";const I=A(16353);const prerelease=(i,u)=>{const A=I(i,u);return A&&A.prerelease.length?A.prerelease:null};i.exports=prerelease},32173:(i,u,A)=>{"use strict";const I=A(78469);const rcompare=(i,u,A)=>I(u,i,A);i.exports=rcompare},87192:(i,u,A)=>{"use strict";const I=A(37648);const rsort=(i,u)=>i.sort(((i,A)=>I(A,i,u)));i.exports=rsort},68011:(i,u,A)=>{"use strict";const I=A(96782);const satisfies=(i,u,A)=>{try{u=new I(u,A)}catch(i){return false}return u.test(i)};i.exports=satisfies},29872:(i,u,A)=>{"use strict";const I=A(37648);const sort=(i,u)=>i.sort(((i,A)=>I(i,A,u)));i.exports=sort},16114:(i,u,A)=>{"use strict";const I=A(16353);const B=A(45101);const Q=A(7163);const truncate=(i,u,A)=>{if(!B.RELEASE_TYPES.includes(u)){return null}const I=cloneInputVersion(i,A);return I&&doTruncation(I,u)};const cloneInputVersion=(i,u)=>{const A=i instanceof Q?i.version:i;return I(A,u)};const doTruncation=(i,u)=>{if(isPrerelease(u)){return i.version}i.prerelease=[];switch(u){case"major":i.minor=0;i.patch=0;break;case"minor":i.patch=0;break}return i.format()};const isPrerelease=i=>i.startsWith("pre");i.exports=truncate},58780:(i,u,A)=>{"use strict";const I=A(16353);const valid=(i,u)=>{const A=I(i,u);return A?A.version:null};i.exports=valid},62088:(i,u,A)=>{"use strict";const I=A(95471);const B=A(45101);const Q=A(7163);const P=A(73348);const D=A(16353);const L=A(58780);const U=A(1799);const G=A(62338);const z=A(70711);const W=A(68511);const Y=A(32603);const J=A(48756);const $=A(15714);const K=A(78469);const X=A(32173);const he=A(56874);const Ae=A(37648);const ye=A(29872);const be=A(87192);const Ee=A(16599);const Ce=A(3872);const we=A(55082);const ve=A(4974);const Se=A(41236);const Re=A(56717);const Ne=A(28646);const _e=A(35385);const Oe=A(16114);const xe=A(89379);const ke=A(96782);const Qe=A(68011);const Pe=A(54750);const De=A(73193);const Me=A(68595);const Fe=A(51866);const Ue=A(64737);const je=A(10280);const He=A(12276);const Ge=A(15213);const qe=A(23465);const ze=A(82028);const Je=A(61489);i.exports={parse:D,valid:L,clean:U,inc:G,diff:z,major:W,minor:Y,patch:J,prerelease:$,compare:K,rcompare:X,compareLoose:he,compareBuild:Ae,sort:ye,rsort:be,gt:Ee,lt:Ce,eq:we,neq:ve,gte:Se,lte:Re,cmp:Ne,coerce:_e,truncate:Oe,Comparator:xe,Range:ke,satisfies:Qe,toComparators:Pe,maxSatisfying:De,minSatisfying:Me,minVersion:Fe,validRange:Ue,outside:je,gtr:He,ltr:Ge,intersects:qe,simplifyRange:ze,subset:Je,SemVer:Q,re:I.re,src:I.src,tokens:I.t,SEMVER_SPEC_VERSION:B.SEMVER_SPEC_VERSION,RELEASE_TYPES:B.RELEASE_TYPES,compareIdentifiers:P.compareIdentifiers,rcompareIdentifiers:P.rcompareIdentifiers}},45101:i=>{"use strict";const u="2.0.0";const A=256;const I=Number.MAX_SAFE_INTEGER||9007199254740991;const B=16;const Q=A-6;const P=["major","premajor","minor","preminor","patch","prepatch","prerelease"];i.exports={MAX_LENGTH:A,MAX_SAFE_COMPONENT_LENGTH:B,MAX_SAFE_BUILD_LENGTH:Q,MAX_SAFE_INTEGER:I,RELEASE_TYPES:P,SEMVER_SPEC_VERSION:u,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},1159:i=>{"use strict";const u=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};i.exports=u},73348:i=>{"use strict";const u=/^[0-9]+$/;const compareIdentifiers=(i,A)=>{if(typeof i==="number"&&typeof A==="number"){return i===A?0:icompareIdentifiers(u,i);i.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},61383:i=>{"use strict";class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(i){const u=this.map.get(i);if(u===undefined){return undefined}else{this.map.delete(i);this.map.set(i,u);return u}}delete(i){return this.map.delete(i)}set(i,u){const A=this.delete(i);if(!A&&u!==undefined){if(this.map.size>=this.max){const i=this.map.keys().next().value;this.delete(i)}this.map.set(i,u)}return this}}i.exports=LRUCache},70356:i=>{"use strict";const u=Object.freeze({loose:true});const A=Object.freeze({});const parseOptions=i=>{if(!i){return A}if(typeof i!=="object"){return u}return i};i.exports=parseOptions},95471:(i,u,A)=>{"use strict";const{MAX_SAFE_COMPONENT_LENGTH:I,MAX_SAFE_BUILD_LENGTH:B,MAX_LENGTH:Q}=A(45101);const P=A(1159);u=i.exports={};const D=u.re=[];const L=u.safeRe=[];const U=u.src=[];const G=u.safeSrc=[];const z=u.t={};let W=0;const Y="[a-zA-Z0-9-]";const J=[["\\s",1],["\\d",Q],[Y,B]];const makeSafeRegex=i=>{for(const[u,A]of J){i=i.split(`${u}*`).join(`${u}{0,${A}}`).split(`${u}+`).join(`${u}{1,${A}}`)}return i};const createToken=(i,u,A)=>{const I=makeSafeRegex(u);const B=W++;P(i,B,u);z[i]=B;U[B]=u;G[B]=I;D[B]=new RegExp(u,A?"g":undefined);L[B]=new RegExp(I,A?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Y}*`);createToken("MAINVERSION",`(${U[z.NUMERICIDENTIFIER]})\\.`+`(${U[z.NUMERICIDENTIFIER]})\\.`+`(${U[z.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${U[z.NUMERICIDENTIFIERLOOSE]})\\.`+`(${U[z.NUMERICIDENTIFIERLOOSE]})\\.`+`(${U[z.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${U[z.NONNUMERICIDENTIFIER]}|${U[z.NUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${U[z.NONNUMERICIDENTIFIER]}|${U[z.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASE",`(?:-(${U[z.PRERELEASEIDENTIFIER]}(?:\\.${U[z.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${U[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${U[z.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${Y}+`);createToken("BUILD",`(?:\\+(${U[z.BUILDIDENTIFIER]}(?:\\.${U[z.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${U[z.MAINVERSION]}${U[z.PRERELEASE]}?${U[z.BUILD]}?`);createToken("FULL",`^${U[z.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${U[z.MAINVERSIONLOOSE]}${U[z.PRERELEASELOOSE]}?${U[z.BUILD]}?`);createToken("LOOSE",`^${U[z.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${U[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${U[z.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${U[z.XRANGEIDENTIFIER]})`+`(?:\\.(${U[z.XRANGEIDENTIFIER]})`+`(?:\\.(${U[z.XRANGEIDENTIFIER]})`+`(?:${U[z.PRERELEASE]})?${U[z.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${U[z.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${U[z.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${U[z.XRANGEIDENTIFIERLOOSE]})`+`(?:${U[z.PRERELEASELOOSE]})?${U[z.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${U[z.GTLT]}\\s*${U[z.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${U[z.GTLT]}\\s*${U[z.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${I}})`+`(?:\\.(\\d{1,${I}}))?`+`(?:\\.(\\d{1,${I}}))?`);createToken("COERCE",`${U[z.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",U[z.COERCEPLAIN]+`(?:${U[z.PRERELEASE]})?`+`(?:${U[z.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",U[z.COERCE],true);createToken("COERCERTLFULL",U[z.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${U[z.LONETILDE]}\\s+`,true);u.tildeTrimReplace="$1~";createToken("TILDE",`^${U[z.LONETILDE]}${U[z.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${U[z.LONETILDE]}${U[z.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${U[z.LONECARET]}\\s+`,true);u.caretTrimReplace="$1^";createToken("CARET",`^${U[z.LONECARET]}${U[z.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${U[z.LONECARET]}${U[z.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${U[z.GTLT]}\\s*(${U[z.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${U[z.GTLT]}\\s*(${U[z.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${U[z.GTLT]}\\s*(${U[z.LOOSEPLAIN]}|${U[z.XRANGEPLAIN]})`,true);u.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${U[z.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${U[z.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${U[z.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${U[z.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},12276:(i,u,A)=>{"use strict";const I=A(10280);const gtr=(i,u,A)=>I(i,u,">",A);i.exports=gtr},23465:(i,u,A)=>{"use strict";const I=A(96782);const intersects=(i,u,A)=>{i=new I(i,A);u=new I(u,A);return i.intersects(u,A)};i.exports=intersects},15213:(i,u,A)=>{"use strict";const I=A(10280);const ltr=(i,u,A)=>I(i,u,"<",A);i.exports=ltr},73193:(i,u,A)=>{"use strict";const I=A(7163);const B=A(96782);const maxSatisfying=(i,u,A)=>{let Q=null;let P=null;let D=null;try{D=new B(u,A)}catch(i){return null}i.forEach((i=>{if(D.test(i)){if(!Q||P.compare(i)===-1){Q=i;P=new I(Q,A)}}}));return Q};i.exports=maxSatisfying},68595:(i,u,A)=>{"use strict";const I=A(7163);const B=A(96782);const minSatisfying=(i,u,A)=>{let Q=null;let P=null;let D=null;try{D=new B(u,A)}catch(i){return null}i.forEach((i=>{if(D.test(i)){if(!Q||P.compare(i)===1){Q=i;P=new I(Q,A)}}}));return Q};i.exports=minSatisfying},51866:(i,u,A)=>{"use strict";const I=A(7163);const B=A(96782);const Q=A(16599);const minVersion=(i,u)=>{i=new B(i,u);let A=new I("0.0.0");if(i.test(A)){return A}A=new I("0.0.0-0");if(i.test(A)){return A}A=null;for(let u=0;u{const u=new I(i.semver.version);switch(i.operator){case">":if(u.prerelease.length===0){u.patch++}else{u.prerelease.push(0)}u.raw=u.format();case"":case">=":if(!P||Q(u,P)){P=u}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}));if(P&&(!A||Q(A,P))){A=P}}if(A&&i.test(A)){return A}return null};i.exports=minVersion},10280:(i,u,A)=>{"use strict";const I=A(7163);const B=A(89379);const{ANY:Q}=B;const P=A(96782);const D=A(68011);const L=A(16599);const U=A(3872);const G=A(56717);const z=A(41236);const outside=(i,u,A,W)=>{i=new I(i,W);u=new P(u,W);let Y,J,$,K,X;switch(A){case">":Y=L;J=G;$=U;K=">";X=">=";break;case"<":Y=U;J=z;$=L;K="<";X="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(D(i,u,W)){return false}for(let A=0;A{if(i.semver===Q){i=new B(">=0.0.0")}P=P||i;D=D||i;if(Y(i.semver,P.semver,W)){P=i}else if($(i.semver,D.semver,W)){D=i}}));if(P.operator===K||P.operator===X){return false}if((!D.operator||D.operator===K)&&J(i,D.semver)){return false}else if(D.operator===X&&$(i,D.semver)){return false}}return true};i.exports=outside},82028:(i,u,A)=>{"use strict";const I=A(68011);const B=A(78469);i.exports=(i,u,A)=>{const Q=[];let P=null;let D=null;const L=i.sort(((i,u)=>B(i,u,A)));for(const i of L){const B=I(i,u,A);if(B){D=i;if(!P){P=i}}else{if(D){Q.push([P,D])}D=null;P=null}}if(P){Q.push([P,null])}const U=[];for(const[i,u]of Q){if(i===u){U.push(i)}else if(!u&&i===L[0]){U.push("*")}else if(!u){U.push(`>=${i}`)}else if(i===L[0]){U.push(`<=${u}`)}else{U.push(`${i} - ${u}`)}}const G=U.join(" || ");const z=typeof u.raw==="string"?u.raw:String(u);return G.length{"use strict";const I=A(96782);const B=A(89379);const{ANY:Q}=B;const P=A(68011);const D=A(78469);const subset=(i,u,A={})=>{if(i===u){return true}i=new I(i,A);u=new I(u,A);let B=false;e:for(const I of i.set){for(const i of u.set){const u=simpleSubset(I,i,A);B=B||u!==null;if(u){continue e}}if(B){return false}}return true};const L=[new B(">=0.0.0-0")];const U=[new B(">=0.0.0")];const simpleSubset=(i,u,A)=>{if(i===u){return true}if(i.length===1&&i[0].semver===Q){if(u.length===1&&u[0].semver===Q){return true}else if(A.includePrerelease){i=L}else{i=U}}if(u.length===1&&u[0].semver===Q){if(A.includePrerelease){return true}else{u=U}}const I=new Set;let B,G;for(const u of i){if(u.operator===">"||u.operator===">="){B=higherGT(B,u,A)}else if(u.operator==="<"||u.operator==="<="){G=lowerLT(G,u,A)}else{I.add(u.semver)}}if(I.size>1){return null}let z;if(B&&G){z=D(B.semver,G.semver,A);if(z>0){return null}else if(z===0&&(B.operator!==">="||G.operator!=="<=")){return null}}for(const i of I){if(B&&!P(i,String(B),A)){return null}if(G&&!P(i,String(G),A)){return null}for(const I of u){if(!P(i,String(I),A)){return false}}return true}let W,Y;let J,$;let K=G&&!A.includePrerelease&&G.semver.prerelease.length?G.semver:false;let X=B&&!A.includePrerelease&&B.semver.prerelease.length?B.semver:false;if(K&&K.prerelease.length===1&&G.operator==="<"&&K.prerelease[0]===0){K=false}for(const i of u){$=$||i.operator===">"||i.operator===">=";J=J||i.operator==="<"||i.operator==="<=";if(B){if(X){if(i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===X.major&&i.semver.minor===X.minor&&i.semver.patch===X.patch){X=false}}if(i.operator===">"||i.operator===">="){W=higherGT(B,i,A);if(W===i&&W!==B){return false}}else if(B.operator===">="&&!i.test(B.semver)){return false}}if(G){if(K){if(i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===K.major&&i.semver.minor===K.minor&&i.semver.patch===K.patch){K=false}}if(i.operator==="<"||i.operator==="<="){Y=lowerLT(G,i,A);if(Y===i&&Y!==G){return false}}else if(G.operator==="<="&&!i.test(G.semver)){return false}}if(!i.operator&&(G||B)&&z!==0){return false}}if(B&&J&&!G&&z!==0){return false}if(G&&$&&!B&&z!==0){return false}if(X||K){return false}return true};const higherGT=(i,u,A)=>{if(!i){return u}const I=D(i.semver,u.semver,A);return I>0?i:I<0?u:u.operator===">"&&i.operator===">="?u:i};const lowerLT=(i,u,A)=>{if(!i){return u}const I=D(i.semver,u.semver,A);return I<0?i:I>0?u:u.operator==="<"&&i.operator==="<="?u:i};i.exports=subset},54750:(i,u,A)=>{"use strict";const I=A(96782);const toComparators=(i,u)=>new I(i,u).set.map((i=>i.map((i=>i.value)).join(" ").trim().split(" ")));i.exports=toComparators},64737:(i,u,A)=>{"use strict";const I=A(96782);const validRange=(i,u)=>{try{return new I(i,u).range||"*"}catch(i){return null}};i.exports=validRange},67290:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});const I=A(68632);const B=4096;const Q="utf8";class SmartBuffer{constructor(i){this.length=0;this._encoding=Q;this._writeOffset=0;this._readOffset=0;if(SmartBuffer.isSmartBufferOptions(i)){if(i.encoding){I.checkEncoding(i.encoding);this._encoding=i.encoding}if(i.size){if(I.isFiniteInteger(i.size)&&i.size>0){this._buff=Buffer.allocUnsafe(i.size)}else{throw new Error(I.ERRORS.INVALID_SMARTBUFFER_SIZE)}}else if(i.buff){if(Buffer.isBuffer(i.buff)){this._buff=i.buff;this.length=i.buff.length}else{throw new Error(I.ERRORS.INVALID_SMARTBUFFER_BUFFER)}}else{this._buff=Buffer.allocUnsafe(B)}}else{if(typeof i!=="undefined"){throw new Error(I.ERRORS.INVALID_SMARTBUFFER_OBJECT)}this._buff=Buffer.allocUnsafe(B)}}static fromSize(i,u){return new this({size:i,encoding:u})}static fromBuffer(i,u){return new this({buff:i,encoding:u})}static fromOptions(i){return new this(i)}static isSmartBufferOptions(i){const u=i;return u&&(u.encoding!==undefined||u.size!==undefined||u.buff!==undefined)}readInt8(i){return this._readNumberValue(Buffer.prototype.readInt8,1,i)}readInt16BE(i){return this._readNumberValue(Buffer.prototype.readInt16BE,2,i)}readInt16LE(i){return this._readNumberValue(Buffer.prototype.readInt16LE,2,i)}readInt32BE(i){return this._readNumberValue(Buffer.prototype.readInt32BE,4,i)}readInt32LE(i){return this._readNumberValue(Buffer.prototype.readInt32LE,4,i)}readBigInt64BE(i){I.bigIntAndBufferInt64Check("readBigInt64BE");return this._readNumberValue(Buffer.prototype.readBigInt64BE,8,i)}readBigInt64LE(i){I.bigIntAndBufferInt64Check("readBigInt64LE");return this._readNumberValue(Buffer.prototype.readBigInt64LE,8,i)}writeInt8(i,u){this._writeNumberValue(Buffer.prototype.writeInt8,1,i,u);return this}insertInt8(i,u){return this._insertNumberValue(Buffer.prototype.writeInt8,1,i,u)}writeInt16BE(i,u){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,i,u)}insertInt16BE(i,u){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,i,u)}writeInt16LE(i,u){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,i,u)}insertInt16LE(i,u){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,i,u)}writeInt32BE(i,u){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,i,u)}insertInt32BE(i,u){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,i,u)}writeInt32LE(i,u){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,i,u)}insertInt32LE(i,u){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,i,u)}writeBigInt64BE(i,u){I.bigIntAndBufferInt64Check("writeBigInt64BE");return this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,i,u)}insertBigInt64BE(i,u){I.bigIntAndBufferInt64Check("writeBigInt64BE");return this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,i,u)}writeBigInt64LE(i,u){I.bigIntAndBufferInt64Check("writeBigInt64LE");return this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,i,u)}insertBigInt64LE(i,u){I.bigIntAndBufferInt64Check("writeBigInt64LE");return this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,i,u)}readUInt8(i){return this._readNumberValue(Buffer.prototype.readUInt8,1,i)}readUInt16BE(i){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,i)}readUInt16LE(i){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,i)}readUInt32BE(i){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,i)}readUInt32LE(i){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,i)}readBigUInt64BE(i){I.bigIntAndBufferInt64Check("readBigUInt64BE");return this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,i)}readBigUInt64LE(i){I.bigIntAndBufferInt64Check("readBigUInt64LE");return this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,i)}writeUInt8(i,u){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,i,u)}insertUInt8(i,u){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,i,u)}writeUInt16BE(i,u){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,i,u)}insertUInt16BE(i,u){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,i,u)}writeUInt16LE(i,u){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,i,u)}insertUInt16LE(i,u){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,i,u)}writeUInt32BE(i,u){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,i,u)}insertUInt32BE(i,u){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,i,u)}writeUInt32LE(i,u){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,i,u)}insertUInt32LE(i,u){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,i,u)}writeBigUInt64BE(i,u){I.bigIntAndBufferInt64Check("writeBigUInt64BE");return this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,i,u)}insertBigUInt64BE(i,u){I.bigIntAndBufferInt64Check("writeBigUInt64BE");return this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,i,u)}writeBigUInt64LE(i,u){I.bigIntAndBufferInt64Check("writeBigUInt64LE");return this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,i,u)}insertBigUInt64LE(i,u){I.bigIntAndBufferInt64Check("writeBigUInt64LE");return this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,i,u)}readFloatBE(i){return this._readNumberValue(Buffer.prototype.readFloatBE,4,i)}readFloatLE(i){return this._readNumberValue(Buffer.prototype.readFloatLE,4,i)}writeFloatBE(i,u){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,i,u)}insertFloatBE(i,u){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,i,u)}writeFloatLE(i,u){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,i,u)}insertFloatLE(i,u){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,i,u)}readDoubleBE(i){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,i)}readDoubleLE(i){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,i)}writeDoubleBE(i,u){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,i,u)}insertDoubleBE(i,u){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,i,u)}writeDoubleLE(i,u){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,i,u)}insertDoubleLE(i,u){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,i,u)}readString(i,u){let A;if(typeof i==="number"){I.checkLengthValue(i);A=Math.min(i,this.length-this._readOffset)}else{u=i;A=this.length-this._readOffset}if(typeof u!=="undefined"){I.checkEncoding(u)}const B=this._buff.slice(this._readOffset,this._readOffset+A).toString(u||this._encoding);this._readOffset+=A;return B}insertString(i,u,A){I.checkOffsetValue(u);return this._handleString(i,true,u,A)}writeString(i,u,A){return this._handleString(i,false,u,A)}readStringNT(i){if(typeof i!=="undefined"){I.checkEncoding(i)}let u=this.length;for(let i=this._readOffset;ithis.length){throw new Error(I.ERRORS.INVALID_READ_BEYOND_BOUNDS)}}ensureInsertable(i,u){I.checkOffsetValue(u);this._ensureCapacity(this.length+i);if(uthis.length){this.length=u+i}else{this.length+=i}}_ensureWriteable(i,u){const A=typeof u==="number"?u:this._writeOffset;this._ensureCapacity(A+i);if(A+i>this.length){this.length=A+i}}_ensureCapacity(i){const u=this._buff.length;if(i>u){let A=this._buff;let I=u*3/2+1;if(I{"use strict";Object.defineProperty(u,"__esModule",{value:true});const I=A(20181);const B={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};u.ERRORS=B;function checkEncoding(i){if(!I.Buffer.isEncoding(i)){throw new Error(B.INVALID_ENCODING)}}u.checkEncoding=checkEncoding;function isFiniteInteger(i){return typeof i==="number"&&isFinite(i)&&isInteger(i)}u.isFiniteInteger=isFiniteInteger;function checkOffsetOrLengthValue(i,u){if(typeof i==="number"){if(!isFiniteInteger(i)||i<0){throw new Error(u?B.INVALID_OFFSET:B.INVALID_LENGTH)}}else{throw new Error(u?B.INVALID_OFFSET_NON_NUMBER:B.INVALID_LENGTH_NON_NUMBER)}}function checkLengthValue(i){checkOffsetOrLengthValue(i,false)}u.checkLengthValue=checkLengthValue;function checkOffsetValue(i){checkOffsetOrLengthValue(i,true)}u.checkOffsetValue=checkOffsetValue;function checkTargetOffset(i,u){if(i<0||i>u.length){throw new Error(B.INVALID_TARGET_OFFSET)}}u.checkTargetOffset=checkTargetOffset;function isInteger(i){return typeof i==="number"&&isFinite(i)&&Math.floor(i)===i}function bigIntAndBufferInt64Check(i){if(typeof BigInt==="undefined"){throw new Error("Platform does not support JS BigInt type.")}if(typeof I.Buffer.prototype[i]==="undefined"){throw new Error(`Platform does not support Buffer.prototype.${i}.`)}}u.bigIntAndBufferInt64Check=bigIntAndBufferInt64Check},53357:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};var P=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.SocksProxyAgent=void 0;const D=A(42474);const L=A(98894);const U=P(A(2830));const G=Q(A(49869));const z=Q(A(69278));const W=Q(A(64756));const Y=A(87016);const J=(0,U.default)("socks-proxy-agent");const setServernameFromNonIpHost=i=>{if(i.servername===undefined&&i.host&&!z.isIP(i.host)){return{...i,servername:i.host}}return i};function parseSocksURL(i){let u=false;let A=5;const I=i.hostname;const B=parseInt(i.port,10)||1080;switch(i.protocol.replace(":","")){case"socks4":u=true;A=4;break;case"socks4a":A=4;break;case"socks5":u=true;A=5;break;case"socks":A=5;break;case"socks5h":A=5;break;default:throw new TypeError(`A "socks" protocol must be specified! Got: ${String(i.protocol)}`)}const Q={host:I,port:B,type:A};if(i.username){Object.defineProperty(Q,"userId",{value:decodeURIComponent(i.username),enumerable:false})}if(i.password!=null){Object.defineProperty(Q,"password",{value:decodeURIComponent(i.password),enumerable:false})}return{lookup:u,proxy:Q}}class SocksProxyAgent extends L.Agent{constructor(i,u){super(u);const A=typeof i==="string"?new Y.URL(i):i;const{proxy:I,lookup:B}=parseSocksURL(A);this.shouldLookup=B;this.proxy=I;this.timeout=u?.timeout??null;this.socketOptions=u?.socketOptions??null}async connect(i,u){const{shouldLookup:A,proxy:I,timeout:B}=this;if(!u.host){throw new Error("No `host` defined!")}let{host:Q}=u;const{port:P,lookup:L=G.lookup}=u;if(A){Q=await new Promise(((i,u)=>{L(Q,{},((A,I)=>{if(A){u(A)}else{i(I)}}))}))}const U={proxy:I,destination:{host:Q,port:typeof P==="number"?P:parseInt(P,10)},command:"connect",timeout:B??undefined,socket_options:this.socketOptions??undefined};const cleanup=u=>{i.destroy();z.destroy();if(u)u.destroy()};J("Creating socks proxy connection: %o",U);const{socket:z}=await D.SocksClient.createConnection(U);J("Successfully created socks proxy connection");if(B!==null){z.setTimeout(B);z.on("timeout",(()=>cleanup()))}if(u.secureEndpoint){J("Upgrading socket connection to TLS");const i=W.connect({...omit(setServernameFromNonIpHost(u),"host","path","port"),socket:z});i.once("error",(u=>{J("Socket TLS error",u.message);cleanup(i)}));return i}return z}}SocksProxyAgent.protocols=["socks","socks4","socks4a","socks5","socks5h"];u.SocksProxyAgent=SocksProxyAgent;function omit(i,...u){const A={};let I;for(I in i){if(!u.includes(I)){A[I]=i[I]}}return A}},57142:function(i,u,A){"use strict";var I=this&&this.__awaiter||function(i,u,A,I){function adopt(i){return i instanceof A?i:new A((function(u){u(i)}))}return new(A||(A=Promise))((function(A,B){function fulfilled(i){try{step(I.next(i))}catch(i){B(i)}}function rejected(i){try{step(I["throw"](i))}catch(i){B(i)}}function step(i){i.done?A(i.value):adopt(i.value).then(fulfilled,rejected)}step((I=I.apply(i,u||[])).next())}))};Object.defineProperty(u,"__esModule",{value:true});u.SocksClientError=u.SocksClient=void 0;const B=A(24434);const Q=A(69278);const P=A(67290);const D=A(24223);const L=A(50639);const U=A(41129);const G=A(79712);Object.defineProperty(u,"SocksClientError",{enumerable:true,get:function(){return G.SocksClientError}});const z=A(79253);class SocksClient extends B.EventEmitter{constructor(i){super();this.options=Object.assign({},i);(0,L.validateSocksClientOptions)(i);this.setState(D.SocksClientState.Created)}static createConnection(i,u){return new Promise(((A,I)=>{try{(0,L.validateSocksClientOptions)(i,["connect"])}catch(i){if(typeof u==="function"){u(i);return A(i)}else{return I(i)}}const B=new SocksClient(i);B.connect(i.existing_socket);B.once("established",(i=>{B.removeAllListeners();if(typeof u==="function"){u(null,i);A(i)}else{A(i)}}));B.once("error",(i=>{B.removeAllListeners();if(typeof u==="function"){u(i);A(i)}else{I(i)}}))}))}static createConnectionChain(i,u){return new Promise(((A,B)=>I(this,void 0,void 0,(function*(){try{(0,L.validateSocksClientChainOptions)(i)}catch(i){if(typeof u==="function"){u(i);return A(i)}else{return B(i)}}if(i.randomizeChain){(0,G.shuffleArray)(i.proxies)}try{let I;for(let u=0;uthis.onDataReceivedHandler(i);this.onClose=()=>this.onCloseHandler();this.onError=i=>this.onErrorHandler(i);this.onConnect=()=>this.onConnectHandler();const u=setTimeout((()=>this.onEstablishedTimeout()),this.options.timeout||D.DEFAULT_TIMEOUT);if(u.unref&&typeof u.unref==="function"){u.unref()}if(i){this.socket=i}else{this.socket=new Q.Socket}this.socket.once("close",this.onClose);this.socket.once("error",this.onError);this.socket.once("connect",this.onConnect);this.socket.on("data",this.onDataReceived);this.setState(D.SocksClientState.Connecting);this.receiveBuffer=new U.ReceiveBuffer;if(i){this.socket.emit("connect")}else{this.socket.connect(this.getSocketOptions());if(this.options.set_tcp_nodelay!==undefined&&this.options.set_tcp_nodelay!==null){this.socket.setNoDelay(!!this.options.set_tcp_nodelay)}}this.prependOnceListener("established",(i=>{setImmediate((()=>{if(this.receiveBuffer.length>0){const u=this.receiveBuffer.get(this.receiveBuffer.length);i.socket.emit("data",u)}i.socket.resume()}))}))}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){if(this.state!==D.SocksClientState.Established&&this.state!==D.SocksClientState.BoundWaitingForConnection){this.closeSocket(D.ERRORS.ProxyConnectionTimedOut)}}onConnectHandler(){this.setState(D.SocksClientState.Connected);if(this.options.proxy.type===4){this.sendSocks4InitialHandshake()}else{this.sendSocks5InitialHandshake()}this.setState(D.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(i){this.receiveBuffer.append(i);this.processData()}processData(){while(this.state!==D.SocksClientState.Established&&this.state!==D.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize){if(this.state===D.SocksClientState.SentInitialHandshake){if(this.options.proxy.type===4){this.handleSocks4FinalHandshakeResponse()}else{this.handleInitialSocks5HandshakeResponse()}}else if(this.state===D.SocksClientState.SentAuthentication){this.handleInitialSocks5AuthenticationHandshakeResponse()}else if(this.state===D.SocksClientState.SentFinalHandshake){this.handleSocks5FinalHandshakeResponse()}else if(this.state===D.SocksClientState.BoundWaitingForConnection){if(this.options.proxy.type===4){this.handleSocks4IncomingConnectionResponse()}else{this.handleSocks5IncomingConnectionResponse()}}else{this.closeSocket(D.ERRORS.InternalError);break}}}onCloseHandler(){this.closeSocket(D.ERRORS.SocketClosed)}onErrorHandler(i){this.closeSocket(i.message)}removeInternalSocketHandlers(){this.socket.pause();this.socket.removeListener("data",this.onDataReceived);this.socket.removeListener("close",this.onClose);this.socket.removeListener("error",this.onError);this.socket.removeListener("connect",this.onConnect)}closeSocket(i){if(this.state!==D.SocksClientState.Error){this.setState(D.SocksClientState.Error);this.socket.destroy();this.removeInternalSocketHandlers();this.emit("error",new G.SocksClientError(i,this.options))}}sendSocks4InitialHandshake(){const i=this.options.proxy.userId||"";const u=new P.SmartBuffer;u.writeUInt8(4);u.writeUInt8(D.SocksCommand[this.options.command]);u.writeUInt16BE(this.options.destination.port);if(Q.isIPv4(this.options.destination.host)){u.writeBuffer((0,L.ipToBuffer)(this.options.destination.host));u.writeStringNT(i)}else{u.writeUInt8(0);u.writeUInt8(0);u.writeUInt8(0);u.writeUInt8(1);u.writeStringNT(i);u.writeStringNT(this.options.destination.host)}this.nextRequiredPacketBufferSize=D.SOCKS_INCOMING_PACKET_SIZES.Socks4Response;this.socket.write(u.toBuffer())}handleSocks4FinalHandshakeResponse(){const i=this.receiveBuffer.get(8);if(i[1]!==D.Socks4Response.Granted){this.closeSocket(`${D.ERRORS.Socks4ProxyRejectedConnection} - (${D.Socks4Response[i[1]]})`)}else{if(D.SocksCommand[this.options.command]===D.SocksCommand.bind){const u=P.SmartBuffer.fromBuffer(i);u.readOffset=2;const A={port:u.readUInt16BE(),host:(0,L.int32ToIpv4)(u.readUInt32BE())};if(A.host==="0.0.0.0"){A.host=this.options.proxy.ipaddress}this.setState(D.SocksClientState.BoundWaitingForConnection);this.emit("bound",{remoteHost:A,socket:this.socket})}else{this.setState(D.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{socket:this.socket})}}}handleSocks4IncomingConnectionResponse(){const i=this.receiveBuffer.get(8);if(i[1]!==D.Socks4Response.Granted){this.closeSocket(`${D.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${D.Socks4Response[i[1]]})`)}else{const u=P.SmartBuffer.fromBuffer(i);u.readOffset=2;const A={port:u.readUInt16BE(),host:(0,L.int32ToIpv4)(u.readUInt32BE())};this.setState(D.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{remoteHost:A,socket:this.socket})}}sendSocks5InitialHandshake(){const i=new P.SmartBuffer;const u=[D.Socks5Auth.NoAuth];if(this.options.proxy.userId||this.options.proxy.password){u.push(D.Socks5Auth.UserPass)}if(this.options.proxy.custom_auth_method!==undefined){u.push(this.options.proxy.custom_auth_method)}i.writeUInt8(5);i.writeUInt8(u.length);for(const A of u){i.writeUInt8(A)}this.nextRequiredPacketBufferSize=D.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse;this.socket.write(i.toBuffer());this.setState(D.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){const i=this.receiveBuffer.get(2);if(i[0]!==5){this.closeSocket(D.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion)}else if(i[1]===D.SOCKS5_NO_ACCEPTABLE_AUTH){this.closeSocket(D.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType)}else{if(i[1]===D.Socks5Auth.NoAuth){this.socks5ChosenAuthType=D.Socks5Auth.NoAuth;this.sendSocks5CommandRequest()}else if(i[1]===D.Socks5Auth.UserPass){this.socks5ChosenAuthType=D.Socks5Auth.UserPass;this.sendSocks5UserPassAuthentication()}else if(i[1]===this.options.proxy.custom_auth_method){this.socks5ChosenAuthType=this.options.proxy.custom_auth_method;this.sendSocks5CustomAuthentication()}else{this.closeSocket(D.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}}}sendSocks5UserPassAuthentication(){const i=this.options.proxy.userId||"";const u=this.options.proxy.password||"";const A=new P.SmartBuffer;A.writeUInt8(1);A.writeUInt8(Buffer.byteLength(i));A.writeString(i);A.writeUInt8(Buffer.byteLength(u));A.writeString(u);this.nextRequiredPacketBufferSize=D.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse;this.socket.write(A.toBuffer());this.setState(D.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return I(this,void 0,void 0,(function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size;this.socket.write(yield this.options.proxy.custom_auth_request_handler());this.setState(D.SocksClientState.SentAuthentication)}))}handleSocks5CustomAuthHandshakeResponse(i){return I(this,void 0,void 0,(function*(){return yield this.options.proxy.custom_auth_response_handler(i)}))}handleSocks5AuthenticationNoAuthHandshakeResponse(i){return I(this,void 0,void 0,(function*(){return i[1]===0}))}handleSocks5AuthenticationUserPassHandshakeResponse(i){return I(this,void 0,void 0,(function*(){return i[1]===0}))}handleInitialSocks5AuthenticationHandshakeResponse(){return I(this,void 0,void 0,(function*(){this.setState(D.SocksClientState.ReceivedAuthenticationResponse);let i=false;if(this.socks5ChosenAuthType===D.Socks5Auth.NoAuth){i=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2))}else if(this.socks5ChosenAuthType===D.Socks5Auth.UserPass){i=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2))}else if(this.socks5ChosenAuthType===this.options.proxy.custom_auth_method){i=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))}if(!i){this.closeSocket(D.ERRORS.Socks5AuthenticationFailed)}else{this.sendSocks5CommandRequest()}}))}sendSocks5CommandRequest(){const i=new P.SmartBuffer;i.writeUInt8(5);i.writeUInt8(D.SocksCommand[this.options.command]);i.writeUInt8(0);if(Q.isIPv4(this.options.destination.host)){i.writeUInt8(D.Socks5HostType.IPv4);i.writeBuffer((0,L.ipToBuffer)(this.options.destination.host))}else if(Q.isIPv6(this.options.destination.host)){i.writeUInt8(D.Socks5HostType.IPv6);i.writeBuffer((0,L.ipToBuffer)(this.options.destination.host))}else{i.writeUInt8(D.Socks5HostType.Hostname);i.writeUInt8(this.options.destination.host.length);i.writeString(this.options.destination.host)}i.writeUInt16BE(this.options.destination.port);this.nextRequiredPacketBufferSize=D.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader;this.socket.write(i.toBuffer());this.setState(D.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){const i=this.receiveBuffer.peek(5);if(i[0]!==5||i[1]!==D.Socks5Response.Granted){this.closeSocket(`${D.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${D.Socks5Response[i[1]]}`)}else{const u=i[3];let A;let I;if(u===D.Socks5HostType.IPv4){const i=D.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.SOCKS5_NO_ACCEPTABLE_AUTH=u.SOCKS5_CUSTOM_AUTH_END=u.SOCKS5_CUSTOM_AUTH_START=u.SOCKS_INCOMING_PACKET_SIZES=u.SocksClientState=u.Socks5Response=u.Socks5HostType=u.Socks5Auth=u.Socks4Response=u.SocksCommand=u.ERRORS=u.DEFAULT_TIMEOUT=void 0;const A=3e4;u.DEFAULT_TIMEOUT=A;const I={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"};u.ERRORS=I;const B={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:i=>i+7,Socks4Response:8};u.SOCKS_INCOMING_PACKET_SIZES=B;var Q;(function(i){i[i["connect"]=1]="connect";i[i["bind"]=2]="bind";i[i["associate"]=3]="associate"})(Q||(u.SocksCommand=Q={}));var P;(function(i){i[i["Granted"]=90]="Granted";i[i["Failed"]=91]="Failed";i[i["Rejected"]=92]="Rejected";i[i["RejectedIdent"]=93]="RejectedIdent"})(P||(u.Socks4Response=P={}));var D;(function(i){i[i["NoAuth"]=0]="NoAuth";i[i["GSSApi"]=1]="GSSApi";i[i["UserPass"]=2]="UserPass"})(D||(u.Socks5Auth=D={}));const L=128;u.SOCKS5_CUSTOM_AUTH_START=L;const U=254;u.SOCKS5_CUSTOM_AUTH_END=U;const G=255;u.SOCKS5_NO_ACCEPTABLE_AUTH=G;var z;(function(i){i[i["Granted"]=0]="Granted";i[i["Failure"]=1]="Failure";i[i["NotAllowed"]=2]="NotAllowed";i[i["NetworkUnreachable"]=3]="NetworkUnreachable";i[i["HostUnreachable"]=4]="HostUnreachable";i[i["ConnectionRefused"]=5]="ConnectionRefused";i[i["TTLExpired"]=6]="TTLExpired";i[i["CommandNotSupported"]=7]="CommandNotSupported";i[i["AddressNotSupported"]=8]="AddressNotSupported"})(z||(u.Socks5Response=z={}));var W;(function(i){i[i["IPv4"]=1]="IPv4";i[i["Hostname"]=3]="Hostname";i[i["IPv6"]=4]="IPv6"})(W||(u.Socks5HostType=W={}));var Y;(function(i){i[i["Created"]=0]="Created";i[i["Connecting"]=1]="Connecting";i[i["Connected"]=2]="Connected";i[i["SentInitialHandshake"]=3]="SentInitialHandshake";i[i["ReceivedInitialHandshakeResponse"]=4]="ReceivedInitialHandshakeResponse";i[i["SentAuthentication"]=5]="SentAuthentication";i[i["ReceivedAuthenticationResponse"]=6]="ReceivedAuthenticationResponse";i[i["SentFinalHandshake"]=7]="SentFinalHandshake";i[i["ReceivedFinalResponse"]=8]="ReceivedFinalResponse";i[i["BoundWaitingForConnection"]=9]="BoundWaitingForConnection";i[i["Established"]=10]="Established";i[i["Disconnected"]=11]="Disconnected";i[i["Error"]=99]="Error"})(Y||(u.SocksClientState=Y={}))},50639:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ipToBuffer=u.int32ToIpv4=u.ipv4ToInt32=u.validateSocksClientChainOptions=u.validateSocksClientOptions=void 0;const I=A(79712);const B=A(24223);const Q=A(2203);const P=A(79253);const D=A(69278);function validateSocksClientOptions(i,u=["connect","bind","associate"]){if(!B.SocksCommand[i.command]){throw new I.SocksClientError(B.ERRORS.InvalidSocksCommand,i)}if(u.indexOf(i.command)===-1){throw new I.SocksClientError(B.ERRORS.InvalidSocksCommandForOperation,i)}if(!isValidSocksRemoteHost(i.destination)){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsDestination,i)}if(!isValidSocksProxy(i.proxy)){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsProxy,i)}validateCustomProxyAuth(i.proxy,i);if(i.timeout&&!isValidTimeoutValue(i.timeout)){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsTimeout,i)}if(i.existing_socket&&!(i.existing_socket instanceof Q.Duplex)){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsExistingSocket,i)}}u.validateSocksClientOptions=validateSocksClientOptions;function validateSocksClientChainOptions(i){if(i.command!=="connect"){throw new I.SocksClientError(B.ERRORS.InvalidSocksCommandChain,i)}if(!isValidSocksRemoteHost(i.destination)){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsDestination,i)}if(!(i.proxies&&Array.isArray(i.proxies)&&i.proxies.length>=2)){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsProxiesLength,i)}i.proxies.forEach((u=>{if(!isValidSocksProxy(u)){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsProxy,i)}validateCustomProxyAuth(u,i)}));if(i.timeout&&!isValidTimeoutValue(i.timeout)){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsTimeout,i)}}u.validateSocksClientChainOptions=validateSocksClientChainOptions;function validateCustomProxyAuth(i,u){if(i.custom_auth_method!==undefined){if(i.custom_auth_methodB.SOCKS5_CUSTOM_AUTH_END){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsCustomAuthRange,u)}if(i.custom_auth_request_handler===undefined||typeof i.custom_auth_request_handler!=="function"){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,u)}if(i.custom_auth_response_size===undefined){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,u)}if(i.custom_auth_response_handler===undefined||typeof i.custom_auth_response_handler!=="function"){throw new I.SocksClientError(B.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,u)}}}function isValidSocksRemoteHost(i){return i&&typeof i.host==="string"&&Buffer.byteLength(i.host)<256&&typeof i.port==="number"&&i.port>=0&&i.port<=65535}function isValidSocksProxy(i){return i&&(typeof i.host==="string"||typeof i.ipaddress==="string")&&typeof i.port==="number"&&i.port>=0&&i.port<=65535&&(i.type===4||i.type===5)}function isValidTimeoutValue(i){return typeof i==="number"&&i>0}function ipv4ToInt32(i){const u=new P.Address4(i);return u.toArray().reduce(((i,u)=>(i<<8)+u),0)>>>0}u.ipv4ToInt32=ipv4ToInt32;function int32ToIpv4(i){const u=i>>>24&255;const A=i>>>16&255;const I=i>>>8&255;const B=i&255;return[u,A,I,B].join(".")}u.int32ToIpv4=int32ToIpv4;function ipToBuffer(i){if(D.isIPv4(i)){const u=new P.Address4(i);return Buffer.from(u.toArray())}else if(D.isIPv6(i)){const u=new P.Address6(i);return Buffer.from(u.canonicalForm().split(":").map((i=>i.padStart(4,"0"))).join(""),"hex")}else{throw new Error("Invalid IP address format")}}u.ipToBuffer=ipToBuffer},41129:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ReceiveBuffer=void 0;class ReceiveBuffer{constructor(i=4096){this.buffer=Buffer.allocUnsafe(i);this.offset=0;this.originalSize=i}get length(){return this.offset}append(i){if(!Buffer.isBuffer(i)){throw new Error("Attempted to append a non-buffer instance to ReceiveBuffer.")}if(this.offset+i.length>=this.buffer.length){const u=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+i.length));u.copy(this.buffer)}i.copy(this.buffer,this.offset);return this.offset+=i.length}peek(i){if(i>this.offset){throw new Error("Attempted to read beyond the bounds of the managed internal data.")}return this.buffer.slice(0,i)}get(i){if(i>this.offset){throw new Error("Attempted to read beyond the bounds of the managed internal data.")}const u=Buffer.allocUnsafe(i);this.buffer.slice(0,i).copy(u);this.buffer.copyWithin(0,i,i+this.offset-i);this.offset-=i;return u}}u.ReceiveBuffer=ReceiveBuffer},79712:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.shuffleArray=u.SocksClientError=void 0;class SocksClientError extends Error{constructor(i,u){super(i);this.options=u}}u.SocksClientError=SocksClientError;function shuffleArray(i){for(let u=i.length-1;u>0;u--){const A=Math.floor(Math.random()*(u+1));[i[u],i[A]]=[i[A],i[u]]}}u.shuffleArray=shuffleArray},42474:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__exportStar||function(i,u){for(var A in i)if(A!=="default"&&!Object.prototype.hasOwnProperty.call(u,A))I(u,i,A)};Object.defineProperty(u,"__esModule",{value:true});B(A(57142),u)},68951:(i,u,A)=>{"use strict";const I=A(76982);const{Minipass:B}=A(78275);const Q=["sha512","sha384","sha256"];const P=["sha512"];const D=I.getHashes();const L=/^[a-z0-9+/]+(?:=?=?)$/i;const U=/^([a-z0-9]+)-([^?]+)(\?[?\S*]*)?$/;const G=/^([a-z0-9]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)?$/;const z=/^[\x21-\x7E]+$/;const W=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter((i=>D.includes(i)));const getOptString=i=>i?.length?`?${i.join("?")}`:"";class IntegrityStream extends B{#u;#d;#f;constructor(i){super();this.size=0;this.opts=i;this.#h();if(i?.algorithms){this.algorithms=[...i.algorithms]}else{this.algorithms=[...P]}if(this.algorithm!==null&&!this.algorithms.includes(this.algorithm)){this.algorithms.push(this.algorithm)}this.hashes=this.algorithms.map(I.createHash)}#h(){this.sri=this.opts?.integrity?parse(this.opts?.integrity,this.opts):null;this.expectedSize=this.opts?.size;if(!this.sri){this.algorithm=null}else if(this.sri.isHash){this.goodSri=true;this.algorithm=this.sri.algorithm}else{this.goodSri=!this.sri.isEmpty();this.algorithm=this.sri.pickAlgorithm(this.opts)}this.digests=this.goodSri?this.sri[this.algorithm]:null;this.optString=getOptString(this.opts?.options)}on(i,u){if(i==="size"&&this.#d){return u(this.#d)}if(i==="integrity"&&this.#u){return u(this.#u)}if(i==="verified"&&this.#f){return u(this.#f)}return super.on(i,u)}emit(i,u){if(i==="end"){this.#p()}return super.emit(i,u)}write(i){this.size+=i.length;this.hashes.forEach((u=>u.update(i)));return super.write(i)}#p(){if(!this.goodSri){this.#h()}const i=parse(this.hashes.map(((i,u)=>`${this.algorithms[u]}-${i.digest("base64")}${this.optString}`)).join(" "),this.opts);const u=this.goodSri&&i.match(this.sri,this.opts);if(typeof this.expectedSize==="number"&&this.size!==this.expectedSize){const i=new Error(`stream size mismatch when checking ${this.sri}.\n Wanted: ${this.expectedSize}\n Found: ${this.size}`);i.code="EBADSIZE";i.found=this.size;i.expected=this.expectedSize;i.sri=this.sri;this.emit("error",i)}else if(this.sri&&!u){const u=new Error(`${this.sri} integrity checksum failed when using ${this.algorithm}: wanted ${this.digests} but got ${i}. (${this.size} bytes)`);u.code="EINTEGRITY";u.found=i;u.expected=this.digests;u.algorithm=this.algorithm;u.sri=this.sri;this.emit("error",u)}else{this.#d=this.size;this.emit("size",this.size);this.#u=i;this.emit("integrity",i);if(u){this.#f=u;this.emit("verified",u)}}}}class Hash{get isHash(){return true}constructor(i,u){const A=u?.strict;this.source=i.trim();this.digest="";this.algorithm="";this.options=[];const I=this.source.match(A?G:U);if(!I){return}if(A&&!Q.includes(I[1])){return}if(!D.includes(I[1])){return}this.algorithm=I[1];this.digest=I[2];const B=I[3];if(B){this.options=B.slice(1).split("?")}}hexDigest(){return this.digest&&Buffer.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}match(i,u){const A=parse(i,u);if(!A){return false}if(A.isIntegrity){const i=A.pickAlgorithm(u,[this.algorithm]);if(!i){return false}const I=A[i].find((i=>i.digest===this.digest));if(I){return I}return false}return A.digest===this.digest?A:false}toString(i){if(i?.strict){if(!(Q.includes(this.algorithm)&&this.digest.match(L)&&this.options.every((i=>i.match(z))))){return""}}return`${this.algorithm}-${this.digest}${getOptString(this.options)}`}}function integrityHashToString(i,u,A,I){const B=i!=="";let Q=false;let P="";const D=I.length-1;for(let i=0;iA[i].find((i=>u.digest===i.digest))))){throw new Error("hashes do not match, cannot update integrity")}}else{this[i]=A[i]}}}match(i,u){const A=parse(i,u);if(!A){return false}const I=A.pickAlgorithm(u,Object.keys(this));return!!I&&this[I].find((i=>A[I].find((u=>i.digest===u.digest))))||false}pickAlgorithm(i,u){const A=i?.pickAlgorithm||getPrioritizedHash;let I=Object.keys(this);if(u?.length){I=I.filter((i=>u.includes(i)))}if(I.length){return I.reduce(((i,u)=>A(i,u)||i))}return null}}i.exports.parse=parse;function parse(i,u){if(!i){return null}if(typeof i==="string"){return _parse(i,u)}else if(i.algorithm&&i.digest){const A=new Integrity;A[i.algorithm]=[i];return _parse(stringify(A,u),u)}else{return _parse(stringify(i,u),u)}}function _parse(i,u){if(u?.single){return new Hash(i,u)}const A=i.trim().split(/\s+/).reduce(((i,A)=>{const I=new Hash(A,u);if(I.algorithm&&I.digest){const u=I.algorithm;if(!Object.keys(i).includes(u)){i[u]=[]}i[u].push(I)}return i}),new Integrity);return A.isEmpty()?null:A}i.exports.stringify=stringify;function stringify(i,u){if(i.algorithm&&i.digest){return Hash.prototype.toString.call(i,u)}else if(typeof i==="string"){return stringify(parse(i,u),u)}else{return Integrity.prototype.toString.call(i,u)}}i.exports.fromHex=fromHex;function fromHex(i,u,A){const I=getOptString(A?.options);return parse(`${u}-${Buffer.from(i,"hex").toString("base64")}${I}`,A)}i.exports.fromData=fromData;function fromData(i,u){const A=u?.algorithms||[...P];const B=getOptString(u?.options);return A.reduce(((A,Q)=>{const P=I.createHash(Q).update(i).digest("base64");const D=new Hash(`${Q}-${P}${B}`,u);if(D.algorithm&&D.digest){const i=D.algorithm;if(!A[i]){A[i]=[]}A[i].push(D)}return A}),new Integrity)}i.exports.fromStream=fromStream;function fromStream(i,u){const A=integrityStream(u);return new Promise(((u,I)=>{i.pipe(A);i.on("error",I);A.on("error",I);let B;A.on("integrity",(i=>{B=i}));A.on("end",(()=>u(B)));A.resume()}))}i.exports.checkData=checkData;function checkData(i,u,A){u=parse(u,A);if(!u||!Object.keys(u).length){if(A?.error){throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"})}else{return false}}const B=u.pickAlgorithm(A);const Q=I.createHash(B).update(i).digest("base64");const P=parse({algorithm:B,digest:Q});const D=P.match(u,A);A=A||{};if(D||!A.error){return D}else if(typeof A.size==="number"&&i.length!==A.size){const I=new Error(`data size mismatch when checking ${u}.\n Wanted: ${A.size}\n Found: ${i.length}`);I.code="EBADSIZE";I.found=i.length;I.expected=A.size;I.sri=u;throw I}else{const A=new Error(`Integrity checksum failed when using ${B}: Wanted ${u}, but got ${P}. (${i.length} bytes)`);A.code="EINTEGRITY";A.found=P;A.expected=u;A.algorithm=B;A.sri=u;throw A}}i.exports.checkStream=checkStream;function checkStream(i,u,A){A=A||Object.create(null);A.integrity=u;u=parse(u,A);if(!u||!Object.keys(u).length){return Promise.reject(Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"}))}const I=integrityStream(A);return new Promise(((u,A)=>{i.pipe(I);i.on("error",A);I.on("error",A);let B;I.on("verified",(i=>{B=i}));I.on("end",(()=>u(B)));I.resume()}))}i.exports.integrityStream=integrityStream;function integrityStream(i=Object.create(null)){return new IntegrityStream(i)}i.exports.create=createIntegrity;function createIntegrity(i){const u=i?.algorithms||[...P];const A=getOptString(i?.options);const B=u.map(I.createHash);return{update:function(i,u){B.forEach((A=>A.update(i,u)));return this},digest:function(){const I=u.reduce(((u,I)=>{const Q=B.shift().digest("base64");const P=new Hash(`${I}-${Q}${A}`,i);if(!u[P.algorithm]){u[P.algorithm]=[]}u[P.algorithm].push(P);return u}),new Integrity);return I}}}function getPrioritizedHash(i,u){return W.indexOf(i.toLowerCase())>=W.indexOf(u.toLowerCase())?i:u}},36204:(i,u,A)=>{const{EventEmitter:I}=A(29580);const B=A(83867);const Q=A(97934);const P=A(45657);const D=typeof queueMicrotask==="undefined"?i=>global.process.nextTick(i):queueMicrotask;const L=(1<<29)-1;const U=1;const G=2;const z=4;const W=8;const Y=L^U;const J=L^G;const $=1<<4;const K=2<<4;const X=4<<4;const he=8<<4;const Ae=16<<4;const ye=32<<4;const be=64<<4;const Ee=128<<4;const Ce=256<<4;const we=512<<4;const ve=1024<<4;const Se=2048<<4;const Re=4096<<4;const Ne=8192<<4;const _e=Ae|ye;const Oe=$|Re;const xe=X|$;const ke=Ce|he;const Qe=Ae|Ne;const Pe=L^$;const De=L^X;const Me=L^(X|Re);const Fe=L^Re;const Ue=L^Ae;const je=L^(he|we);const He=L^be;const Ge=L^_e;const qe=L^Se;const ze=L^K;const Je=L^Ne;const $e=L^Qe;const Ke=1<<18;const Xe=2<<18;const st=4<<18;const ut=8<<18;const dt=16<<18;const pt=32<<18;const mt=64<<18;const yt=128<<18;const bt=256<<18;const Et=512<<18;const Bt=1024<<18;const Nt=L^(Ke|bt);const Ot=L^st;const er=L^(Ke|Et);const tr=L^dt;const rr=L^ut;const nr=L^yt;const ir=L^Xe;const hr=L^Bt;const Ar=$|Ke;const gr=L^Ar;const yr=ve|pt;const br=z|W|G;const wr=br|U;const vr=br|yr;const Sr=Ot&De;const Ir=yt|Se;const Br=Ir&gr;const Rr=wr|Br;const Nr=wr|be|ve;const _r=wr|ve|he;const Or=wr|be|he;const xr=wr|Ce|he|we;const kr=wr|$|be|ve|Re|Ne;const Qr=br|be|ve;const Dr=K|wr|Se|X;const Mr=Se|U;const Lr=wr|Et|pt;const Fr=ut|dt;const Ur=ut|Ke;const jr=ut|dt|wr|Ke;const Hr=wr|Ke|ut|Bt;const Gr=st|Ke;const qr=Ke|bt;const zr=wr|Et|Ur|pt;const Vr=dt|br|Et|pt;const Yr=Xe|wr|yt|st;const Jr=Et|pt|br;const $r=Symbol.asyncIterator||Symbol("asyncIterator");class WritableState{constructor(i,{highWaterMark:u=16384,map:A=null,mapWritable:I,byteLength:Q,byteLengthWritable:P}={}){this.stream=i;this.queue=new B;this.highWaterMark=u;this.buffered=0;this.error=null;this.pipeline=null;this.drains=null;this.byteLength=P||Q||defaultByteLength;this.map=I||A;this.afterWrite=afterWrite.bind(this);this.afterUpdateNextTick=updateWriteNT.bind(this)}get ending(){return(this.stream._duplexState&Et)!==0}get ended(){return(this.stream._duplexState&pt)!==0}push(i){if((this.stream._duplexState&Jr)!==0)return false;if(this.map!==null)i=this.map(i);this.buffered+=this.byteLength(i);this.queue.push(i);if(this.buffered0;this.error=null;this.pipeline=null;this.byteLength=P||Q||defaultByteLength;this.map=I||A;this.pipeTo=null;this.afterRead=afterRead.bind(this);this.afterUpdateNextTick=updateReadNT.bind(this)}get ending(){return(this.stream._duplexState&be)!==0}get ended(){return(this.stream._duplexState&ve)!==0}pipe(i,u){if(this.pipeTo!==null)throw P.BAD_ARGUMENT("Can only pipe to one destination");if(typeof u!=="function")u=null;this.stream._duplexState|=ye;this.pipeTo=i;this.pipeline=new Pipeline(this.stream,i,u);if(u)this.stream.on("error",noop);if(isStreamx(i)){i._writableState.pipeline=this.pipeline;if(u)i.on("error",noop);i.on("finish",this.pipeline.finished.bind(this.pipeline))}else{const u=this.pipeline.done.bind(this.pipeline,i);const A=this.pipeline.done.bind(this.pipeline,i,null);i.on("error",u);i.on("close",A);i.on("finish",this.pipeline.finished.bind(this.pipeline))}i.on("drain",afterDrain.bind(this));this.stream.emit("piping",i);i.emit("pipe",this.stream)}push(i){const u=this.stream;if(i===null){this.highWaterMark=0;u._duplexState=(u._duplexState|be)&Me;return false}if(this.map!==null){i=this.map(i);if(i===null){u._duplexState&=Fe;return this.buffered0)u.push(this.shift());for(let i=0;i0){I.drains.shift().resolve(false)}if(I.pipeline!==null){I.pipeline.done(u,i)}}}function afterWrite(i){const u=this.stream;if(i)u.destroy(i);u._duplexState&=Nt;if(this.drains!==null)tickDrains(this.drains);if((u._duplexState&jr)===dt){u._duplexState&=tr;if((u._duplexState&mt)===mt){u.emit("drain")}}this.updateCallback()}function afterRead(i){if(i)this.stream.destroy(i);this.stream._duplexState&=Pe;if(this.readAhead===false&&(this.stream._duplexState&Ae)===0){this.stream._duplexState&=Je}this.updateCallback()}function updateReadNT(){if((this.stream._duplexState&K)===0){this.stream._duplexState&=qe;this.update()}}function updateWriteNT(){if((this.stream._duplexState&Xe)===0){this.stream._duplexState&=nr;this.update()}}function tickDrains(i){for(let u=0;u{if(i===null)return A.end();if(A.destroying)return;pipeline(i,A,noop)})).catch((i=>A.destroy(i)));return A}setEncoding(i){const u=new Q(i);const A=this._readableState.map||echo;this._readableState.map=mapOrSkip;return this;function mapOrSkip(i){const I=u.push(i);return I===""&&(i.byteLength!==0||u.remaining>0)?null:A(I)}}_read(i){i(null)}pipe(i,u){this._readableState.updateNextTick();this._readableState.pipe(i,u);return i}read(){this._readableState.updateNextTick();return this._readableState.read()}push(i){this._readableState.updateNextTickIfOpen();return this._readableState.push(i)}unshift(i){this._readableState.updateNextTickIfOpen();return this._readableState.unshift(i)}resume(){this._duplexState|=Qe;this._readableState.updateNextTick();return this}pause(){this._duplexState&=this._readableState.readAhead===false?$e:Ue;return this}static _fromAsyncIterator(i,u){let A;const I=new Readable({...u,read(u){i.next().then(push).then(u.bind(null,null)).catch(u)},predestroy(){A=i.return()},destroy(i){if(!A)return i(null);A.then(i.bind(null,null)).catch(i)}});return I;function push(i){if(i.done)I.push(null);else I.push(i.value)}}static from(i,u){if(isReadStreamx(i))return i;if(i[$r])return this._fromAsyncIterator(i[$r](),u);if(!Array.isArray(i))i=i===undefined?[]:[i];let A=0;return new Readable({...u,read(u){this.push(A===i.length?null:i[A++]);u(null)}})}static isBackpressured(i){return(i._duplexState&Qr)!==0||i._readableState.buffered>=i._readableState.highWaterMark}static isPaused(i){return(i._duplexState&Ae)===0}[$r](){const i=this;let u=null;let A=null;let I=null;this.on("error",(i=>{u=i}));this.on("readable",onreadable);this.on("close",onclose);return{[$r](){return this},next(){return new Promise((function(u,B){A=u;I=B;const Q=i.read();if(Q!==null)ondata(Q);else if((i._duplexState&W)!==0)ondata(null)}))},return(){return destroy(null)},throw(i){return destroy(i)}};function onreadable(){if(A!==null)ondata(i.read())}function onclose(){if(A!==null)ondata(null)}function ondata(B){if(I===null)return;if(u){I(u)}else if(B===null&&(i._duplexState&ve)===0){I(P.STREAM_DESTROYED())}else{A({value:B,done:B===null})}I=A=null}function destroy(u){i.destroy(u);return new Promise(((A,I)=>{if(i._duplexState&W)return A({value:undefined,done:true});i.once("close",(function(){if(u)I(u);else A({value:undefined,done:true})}))}))}}}class Writable extends Stream{constructor(i){super(i);this._duplexState|=U|ve;this._writableState=new WritableState(this,i);if(i){if(i.writev)this._writev=i.writev;if(i.write)this._write=i.write;if(i.final)this._final=i.final;if(i.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=Bt}uncork(){this._duplexState&=hr;this._writableState.updateNextTick()}_writev(i,u){u(null)}_write(i,u){this._writableState.autoBatch(i,u)}_final(i){i(null)}static isBackpressured(i){return(i._duplexState&Vr)!==0}static drained(i){if(i.destroyed)return Promise.resolve(false);const u=i._writableState;const A=isWritev(i)?Math.min(1,u.queue.length):u.queue.length;const I=A+(i._duplexState&bt?1:0);if(I===0)return Promise.resolve(true);if(u.drains===null)u.drains=[];return new Promise((i=>{u.drains.push({writes:I,resolve:i})}))}write(i){this._writableState.updateNextTick();return this._writableState.push(i)}end(i){this._writableState.updateNextTick();this._writableState.end(i);return this}}class Duplex extends Readable{constructor(i){super(i);this._duplexState=U|this._duplexState&Ne;this._writableState=new WritableState(this,i);if(i){if(i.writev)this._writev=i.writev;if(i.write)this._write=i.write;if(i.final)this._final=i.final}}cork(){this._duplexState|=Bt}uncork(){this._duplexState&=hr;this._writableState.updateNextTick()}_writev(i,u){u(null)}_write(i,u){this._writableState.autoBatch(i,u)}_final(i){i(null)}write(i){this._writableState.updateNextTick();return this._writableState.push(i)}end(i){this._writableState.updateNextTick();this._writableState.end(i);return this}}class Transform extends Duplex{constructor(i){super(i);this._transformState=new TransformState(this);if(i){if(i.transform)this._transform=i.transform;if(i.flush)this._flush=i.flush}}_write(i,u){if(this._readableState.buffered>=this._readableState.highWaterMark){this._transformState.data=i}else{this._transform(i,this._transformState.afterTransform)}}_read(i){if(this._transformState.data!==null){const u=this._transformState.data;this._transformState.data=null;i(null);this._transform(u,this._transformState.afterTransform)}else{i(null)}}destroy(i){super.destroy(i);if(this._transformState.data!==null){this._transformState.data=null;this._transformState.afterTransform()}}_transform(i,u){u(null,i)}_flush(i){i(null)}_final(i){this._transformState.afterFinal=i;this._flush(transformAfterFlush.bind(this))}}class PassThrough extends Transform{}function transformAfterFlush(i,u){const A=this._transformState.afterFinal;if(i)return A(i);if(u!==null&&u!==undefined)this.push(u);this.push(null);A(null)}function pipelinePromise(...i){return new Promise(((u,A)=>pipeline(...i,(i=>{if(i)return A(i);u()}))))}function pipeline(i,...u){const A=Array.isArray(i)?[...i,...u]:[i,...u];const I=A.length&&typeof A[A.length-1]==="function"?A.pop():null;if(A.length<2)throw P.BAD_ARGUMENT("Pipeline requires at least 2 streams");let B=A[0];let Q=null;let D=null;for(let i=1;i1,onerror);B.pipe(Q)}B=Q}if(I){let i=false;const u=isStreamx(Q)||!!(Q._writableState&&Q._writableState.autoDestroy);Q.on("error",(i=>{if(D===null)D=i}));Q.on("finish",(()=>{i=true;if(!u)I(D)}));if(u){Q.on("close",(()=>I(D||(i?null:P.PREMATURE_CLOSE()))))}}return Q;function errorHandle(i,u,A,I){i.on("error",I);i.on("close",onclose);function onclose(){if(u&&i._readableState&&!i._readableState.ended){return I(P.PREMATURE_CLOSE())}if(A&&i._writableState&&!i._writableState.ended){return I(P.PREMATURE_CLOSE())}}}function onerror(i){if(!i||D)return;D=i;for(const u of A){u.destroy(i)}}}function echo(i){return i}function isStream(i){return!!i._readableState||!!i._writableState}function isStreamx(i){return typeof i._duplexState==="number"&&isStream(i)}function isEnding(i){return!!i._readableState&&i._readableState.ending}function isEnded(i){return!!i._readableState&&i._readableState.ended}function isFinishing(i){return!!i._writableState&&i._writableState.ending}function isFinished(i){return!!i._writableState&&i._writableState.ended}function getStreamError(i,u={}){const A=i._readableState&&i._readableState.error||i._writableState&&i._writableState.error;return!u.all&&P.isStreamDestroyed(A)?null:A}function isReadStreamx(i){return isStreamx(i)&&i.readable}function isDisturbed(i){return(i._duplexState&U)!==U||(i._duplexState&z)===z||(i._duplexState&Ir)!==0}function isTypedArray(i){return typeof i==="object"&&i!==null&&typeof i.byteLength==="number"}function defaultByteLength(i){return isTypedArray(i)?i.byteLength:1024}function noop(){}function abort(){this.destroy(P.ABORTED())}function isWritev(i){return i._writev!==Writable.prototype._writev&&i._writev!==Duplex.prototype._writev}i.exports={pipeline:pipeline,pipelinePromise:pipelinePromise,isStream:isStream,isStreamx:isStreamx,isEnding:isEnding,isEnded:isEnded,isFinishing:isFinishing,isFinished:isFinished,isDisturbed:isDisturbed,getStreamError:getStreamError,Stream:Stream,Writable:Writable,Readable:Readable,Duplex:Duplex,Transform:Transform,PassThrough:PassThrough}},45657:i=>{i.exports=class StreamError extends Error{constructor(i,u,A=StreamError){super(i);this.code=u;if(Error.captureStackTrace){Error.captureStackTrace(this,A)}}static isStreamDestroyed(i){return i&&i.code==="STREAM_DESTROYED"}static isPrematureClose(i){return i&&i.code==="PREMATURE_CLOSE"}static isAborted(i){return i&&i.code==="ABORTED"}static isBadArgument(i){return i&&i.code==="BAD_ARGUMENT"}get name(){return"StreamError"}static STREAM_DESTROYED(){return new StreamError("Stream was destroyed","STREAM_DESTROYED",StreamError.STREAM_DESTROYED)}static PREMATURE_CLOSE(i="Premature close"){return new StreamError(i,"PREMATURE_CLOSE",StreamError.PREMATURE_CLOSE)}static ABORTED(){return new StreamError("Stream aborted","ABORTED",StreamError.ABORTED)}static BAD_ARGUMENT(i="Bad argument"){return new StreamError(i,"BAD_ARGUMENT",StreamError.BAD_ARGUMENT)}}},80634:(i,u,A)=>{"use strict";var I=A(93058).Buffer;var B=I.isEncoding||function(i){i=""+i;switch(i&&i.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(i){if(!i)return"utf8";var u;while(true){switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:if(u)return;i=(""+i).toLowerCase();u=true}}}function normalizeEncoding(i){var u=_normalizeEncoding(i);if(typeof u!=="string"&&(I.isEncoding===B||!B(i)))throw new Error("Unknown encoding: "+i);return u||i}u.I=StringDecoder;function StringDecoder(i){this.encoding=normalizeEncoding(i);var u;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;u=4;break;case"utf8":this.fillLast=utf8FillLast;u=4;break;case"base64":this.text=base64Text;this.end=base64End;u=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=I.allocUnsafe(u)}StringDecoder.prototype.write=function(i){if(i.length===0)return"";var u;var A;if(this.lastNeed){u=this.fillLast(i);if(u===undefined)return"";A=this.lastNeed;this.lastNeed=0}else{A=0}if(A>5===6)return 2;else if(i>>4===14)return 3;else if(i>>3===30)return 4;return i>>6===2?-1:-2}function utf8CheckIncomplete(i,u,A){var I=u.length-1;if(I=0){if(B>0)i.lastNeed=B-1;return B}if(--I=0){if(B>0)i.lastNeed=B-2;return B}if(--I=0){if(B>0){if(B===2)B=0;else i.lastNeed=B-3}return B}return 0}function utf8CheckExtraBytes(i,u,A){if((u[0]&192)!==128){i.lastNeed=0;return"�"}if(i.lastNeed>1&&u.length>1){if((u[1]&192)!==128){i.lastNeed=1;return"�"}if(i.lastNeed>2&&u.length>2){if((u[2]&192)!==128){i.lastNeed=2;return"�"}}}}function utf8FillLast(i){var u=this.lastTotal-this.lastNeed;var A=utf8CheckExtraBytes(this,i,u);if(A!==undefined)return A;if(this.lastNeed<=i.length){i.copy(this.lastChar,u,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}i.copy(this.lastChar,u,0,i.length);this.lastNeed-=i.length}function utf8Text(i,u){var A=utf8CheckIncomplete(this,i,u);if(!this.lastNeed)return i.toString("utf8",u);this.lastTotal=A;var I=i.length-(A-this.lastNeed);i.copy(this.lastChar,0,I);return i.toString("utf8",u,I)}function utf8End(i){var u=i&&i.length?this.write(i):"";if(this.lastNeed)return u+"�";return u}function utf16Text(i,u){if((i.length-u)%2===0){var A=i.toString("utf16le",u);if(A){var I=A.charCodeAt(A.length-1);if(I>=55296&&I<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1];return A.slice(0,-1)}}return A}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=i[i.length-1];return i.toString("utf16le",u,i.length-1)}function utf16End(i){var u=i&&i.length?this.write(i):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return u+this.lastChar.toString("utf16le",0,A)}return u}function base64Text(i,u){var A=(i.length-u)%3;if(A===0)return i.toString("base64",u);this.lastNeed=3-A;this.lastTotal=3;if(A===1){this.lastChar[0]=i[i.length-1]}else{this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1]}return i.toString("base64",u,i.length-A)}function base64End(i){var u=i&&i.length?this.write(i):"";if(this.lastNeed)return u+this.lastChar.toString("base64",0,3-this.lastNeed);return u}function simpleWrite(i){return i.toString(this.encoding)}function simpleEnd(i){return i&&i.length?this.write(i):""}},21450:(i,u,A)=>{"use strict";const I=A(70857);const B=A(52018);const Q=A(83813);const{env:P}=process;let D;if(Q("no-color")||Q("no-colors")||Q("color=false")||Q("color=never")){D=0}else if(Q("color")||Q("colors")||Q("color=true")||Q("color=always")){D=1}if("FORCE_COLOR"in P){if(P.FORCE_COLOR==="true"){D=1}else if(P.FORCE_COLOR==="false"){D=0}else{D=P.FORCE_COLOR.length===0?1:Math.min(parseInt(P.FORCE_COLOR,10),3)}}function translateLevel(i){if(i===0){return false}return{level:i,hasBasic:true,has256:i>=2,has16m:i>=3}}function supportsColor(i,u){if(D===0){return 0}if(Q("color=16m")||Q("color=full")||Q("color=truecolor")){return 3}if(Q("color=256")){return 2}if(i&&!u&&D===undefined){return 0}const A=D||0;if(P.TERM==="dumb"){return A}if(process.platform==="win32"){const i=I.release().split(".");if(Number(i[0])>=10&&Number(i[2])>=10586){return Number(i[2])>=14931?3:2}return 1}if("CI"in P){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((i=>i in P))||P.CI_NAME==="codeship"){return 1}return A}if("TEAMCITY_VERSION"in P){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(P.TEAMCITY_VERSION)?1:0}if(P.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in P){const i=parseInt((P.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(P.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(P.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(P.TERM)){return 1}if("COLORTERM"in P){return 1}return A}function getSupportLevel(i){const u=supportsColor(i,i&&i.isTTY);return translateLevel(u)}i.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,B.isatty(1))),stderr:translateLevel(supportsColor(true,B.isatty(2)))}},20775:(i,u,A)=>{const I={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{i.exports=A(79896).constants||I}catch{i.exports=I}},35763:(i,u,A)=>{const{Writable:I,Readable:B,getStreamError:Q}=A(36204);const P=A(83867);const D=A(73057);const L=A(88428);const U=D.alloc(0);const G=4*1024*1024;class BufferList{constructor(){this.buffered=0;this.shifted=0;this.queue=new P;this._offset=0}push(i){this.buffered+=i.byteLength;this.queue.push(i)}shiftFirst(i){return this.buffered===0?null:this._next(i)}shift(i){if(i>this.buffered)return null;if(i===0)return U;let u=this._next(i);if(i===u.byteLength)return u;const A=[u];while((i-=u.byteLength)>0){u=this._next(i);A.push(u)}return D.concat(A)}_next(i){const u=this.queue.peek();const A=u.byteLength-this._offset;if(i>=A){const i=this._offset?u.subarray(this._offset,u.byteLength):u;this.queue.shift();this._offset=0;this.buffered-=A;this.shifted+=A;return i}this.buffered-=i;this.shifted+=i;return u.subarray(this._offset,this._offset+=i)}}class Source extends B{constructor(i,u,A){super();this.header=u;this.offset=A;this._parent=i}_read(i){if(this.header.size===0){this.push(null)}if(this._parent._stream===this){this._parent._update()}i(null)}_predestroy(){this._parent.destroy(Q(this))}_detach(){if(this._parent._stream===this){this._parent._stream=null;this._parent._missing=overflow(this.header.size);this._parent._update()}}_destroy(i){this._detach();i(null)}}class Extract extends I{constructor(i){super(i);if(!i)i={};this._buffer=new BufferList;this._offset=0;this._header=null;this._stream=null;this._missing=0;this._longHeader=false;this._callback=noop;this._locked=false;this._finished=false;this._pax=null;this._paxGlobal=null;this._gnuLongPath=null;this._gnuLongLinkPath=null;this._filenameEncoding=i.filenameEncoding||"utf-8";this._allowUnknownFormat=!!i.allowUnknownFormat;this._unlockBound=this._unlock.bind(this)}_unlock(i){this._locked=false;if(i){this.destroy(i);this._continueWrite(i);return}this._update()}_consumeHeader(){if(this._locked)return false;this._offset=this._buffer.shifted;try{this._header=L.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(i){this._continueWrite(i);return false}if(!this._header)return true;this._header.byteOffset=this._buffer.shifted;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":this._longHeader=true;this._missing=this._header.size;if(this._missing>G){this._continueWrite(new Error("Header exceeds max size"));return false}return true}this._locked=true;this._applyLongHeaders();if(!(this._header.size>=0)){this._continueWrite(new Error("Invalid header"));return false}if(this._header.size===0||this._header.type==="directory"){this.emit("entry",this._header,this._createStream(),this._unlockBound);return true}this._stream=this._createStream();this._missing=this._header.size;this.emit("entry",this._header,this._stream,this._unlockBound);return true}_applyLongHeaders(){if(this._gnuLongPath){this._header.name=this._gnuLongPath;this._gnuLongPath=null}if(this._gnuLongLinkPath){this._header.linkname=this._gnuLongLinkPath;this._gnuLongLinkPath=null}if(this._pax){if(this._pax.path)this._header.name=this._pax.path;if(this._pax.linkpath)this._header.linkname=this._pax.linkpath;if(this._pax.size)this._header.size=parseInt(this._pax.size,10);this._header.pax=this._pax;this._pax=null}}_decodeLongHeader(i){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=L.decodeLongPath(i,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=L.decodeLongPath(i,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=L.decodePax(i);break;case"pax-header":this._pax=this._paxGlobal===null?L.decodePax(i):Object.assign({},this._paxGlobal,L.decodePax(i));break}}_consumeLongHeader(){this._longHeader=false;this._missing=overflow(this._header.size);const i=this._buffer.shift(this._header.size);try{this._decodeLongHeader(i)}catch(i){this._continueWrite(i);return false}return true}_consumeStream(){const i=this._buffer.shiftFirst(this._missing);if(i===null)return false;this._missing-=i.byteLength;const u=this._stream.push(i);if(this._missing===0){this._stream.push(null);if(u)this._stream._detach();return u&&this._locked===false}return u}_createStream(){return new Source(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===false)return;continue}if(this._longHeader===true){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===false)return false;continue}const i=this._buffer.shiftFirst(this._missing);if(i!==null)this._missing-=i.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===false)return}this._continueWrite(null)}_continueWrite(i){const u=this._callback;this._callback=noop;u(i)}_write(i,u){this._callback=u;this._buffer.push(i);this._update()}_final(i){this._finished=this._missing===0&&this._buffer.buffered===0;i(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(i){if(this._stream)this._stream.destroy(Q(this));i(null)}[Symbol.asyncIterator](){let i=null;let u=null;let A=null;let I=null;let B=null;const Q=this;this.on("entry",onentry);this.on("error",(u=>{i=u}));this.on("close",onclose);return{[Symbol.asyncIterator](){return this},next(){return new Promise(onnext)},return(){return destroy(null)},throw(i){return destroy(i)}};function consumeCallback(i){if(!B)return;const u=B;B=null;u(i)}function onnext(B,P){if(i){return P(i)}if(I){B({value:I,done:false});I=null;return}u=B;A=P;consumeCallback(null);if(Q._finished&&u){u({value:undefined,done:true});u=A=null}}function onentry(i,Q,P){B=P;Q.on("error",noop);if(u){u({value:Q,done:false});u=A=null}else{I=Q}}function onclose(){consumeCallback(i);if(!u)return;if(i)A(i);else u({value:undefined,done:true});u=A=null}function destroy(i){Q.destroy(i);consumeCallback(i);return new Promise(((u,A)=>{if(Q.destroyed)return u({value:undefined,done:true});Q.once("close",(function(){if(i)A(i);else u({value:undefined,done:true})}))}))}}}i.exports=function extract(i){return new Extract(i)};function noop(){}function overflow(i){i&=511;return i&&512-i}},88428:(i,u,A)=>{const I=A(73057);const B="0000000000000000000";const Q="7777777777777777777";const P="0".charCodeAt(0);const D=I.from([117,115,116,97,114,0]);const L=I.from([P,P]);const U=I.from([117,115,116,97,114,32]);const G=I.from([32,0]);const z=4095;const W=257;const Y=263;u.decodeLongPath=function decodeLongPath(i,u){return decodeStr(i,0,i.length,u)};u.encodePax=function encodePax(i){let u="";if(i.name)u+=addLength(" path="+i.name+"\n");if(i.linkname)u+=addLength(" linkpath="+i.linkname+"\n");const A=i.pax;if(A){for(const i in A){u+=addLength(" "+i+"="+A[i]+"\n")}}return I.from(u)};u.decodePax=function decodePax(i){const u={};while(i.length){let A=0;while(A100){const i=A.indexOf("/");if(i===-1)return null;B+=B?"/"+A.slice(0,i):A.slice(0,i);A=A.slice(i+1)}if(I.byteLength(A)>100||I.byteLength(B)>155)return null;if(i.linkname&&I.byteLength(i.linkname)>100)return null;I.write(u,A);I.write(u,encodeOct(i.mode&z,6),100);I.write(u,encodeOct(i.uid,6),108);I.write(u,encodeOct(i.gid,6),116);encodeSize(i.size,u,124);I.write(u,encodeOct(i.mtime.getTime()/1e3|0,11),136);u[156]=P+toTypeflag(i.type);if(i.linkname)I.write(u,i.linkname,157);I.copy(D,u,W);I.copy(L,u,Y);if(i.uname)I.write(u,i.uname,265);if(i.gname)I.write(u,i.gname,297);I.write(u,encodeOct(i.devmajor||0,6),329);I.write(u,encodeOct(i.devminor||0,6),337);if(B)I.write(u,B,345);I.write(u,encodeOct(cksum(u),6),148);return u};u.decode=function decode(i,u,A){let I=i[156]===0?0:i[156]-P;let B=decodeStr(i,0,100,u);const Q=decodeOct(i,100,8);const D=decodeOct(i,108,8);const L=decodeOct(i,116,8);const U=decodeOct(i,124,12);const G=decodeOct(i,136,12);const z=toType(I);const W=i[157]===0?null:decodeStr(i,157,100,u);const Y=decodeStr(i,265,32);const J=decodeStr(i,297,32);const $=decodeOct(i,329,8);const K=decodeOct(i,337,8);const X=cksum(i);if(X===8*32)return null;if(X!==decodeOct(i,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(isUSTAR(i)){if(i[345])B=decodeStr(i,345,155,u)+"/"+B}else if(isGNU(i)){}else{if(!A){throw new Error("Invalid tar header: unknown format.")}}if(I===0&&B&&B[B.length-1]==="/")I=5;return{name:B,mode:Q,uid:D,gid:L,size:U,byteOffset:0,mtime:new Date(1e3*G),type:z,linkname:W,uname:Y,gname:J,devmajor:$,devminor:K,pax:null}};function isUSTAR(i){return I.equals(D,i.subarray(W,W+6))}function isGNU(i){return I.equals(U,i.subarray(W,W+6))&&I.equals(G,i.subarray(Y,Y+2))}function clamp(i,u,A){if(typeof i!=="number")return A;i=~~i;if(i>=u)return u;if(i>=0)return i;i+=u;if(i>=0)return i;return 0}function toType(i){switch(i){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function toTypeflag(i){switch(i){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function indexOf(i,u,A,I){for(;Au)return Q.slice(0,u)+" ";return B.slice(0,u-i.length)+i+" "}function encodeSizeBin(i,u,A){u[A]=128;for(let I=11;I>0;I--){u[A+I]=i&255;i=Math.floor(i/256)}}function encodeSize(i,u,A){if(i.toString(8).length>11){encodeSizeBin(i,u,A)}else{I.write(u,encodeOct(i,11),A)}}function parse256(i){let u;if(i[0]===128)u=true;else if(i[0]===255)u=false;else return null;const A=[];let I;for(I=i.length-1;I>0;I--){const B=i[I];if(u)A.push(B);else A.push(255-B)}let B=0;const Q=A.length;for(I=0;I=Math.pow(10,A))A++;return u+A+i}},56118:(i,u,A)=>{u.extract=A(35763);u.pack=A(80861)},80861:(i,u,A)=>{const{Readable:I,Writable:B,getStreamError:Q}=A(36204);const P=A(73057);const D=A(20775);const L=A(88428);const U=493;const G=420;const z=P.alloc(1024);class Sink extends B{constructor(i,u,A){super({mapWritable:mapWritable,eagerOpen:true});this.written=0;this.header=u;this._callback=A;this._linkname=null;this._isLinkname=u.type==="symlink"&&!u.linkname;this._isVoid=u.type!=="file"&&u.type!=="contiguous-file";this._finished=false;this._pack=i;this._openCallback=null;if(this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open(i){this._openCallback=i;if(this._pack._stream===this)this._continueOpen()}_continuePack(i){if(this._callback===null)return;const u=this._callback;this._callback=null;u(i)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;const i=this._openCallback;this._openCallback=null;if(i===null)return;if(this._pack.destroying)return i(new Error("pack stream destroyed"));if(this._pack._finalized)return i(new Error("pack stream is already finalized"));this._pack._stream=this;if(!this._isLinkname){this._pack._encode(this.header)}if(this._isVoid){this._finish();this._continuePack(null)}i(null)}_write(i,u){if(this._isLinkname){this._linkname=this._linkname?P.concat([this._linkname,i]):i;return u(null)}if(this._isVoid){if(i.byteLength>0){return u(new Error("No body allowed for this entry"))}return u()}this.written+=i.byteLength;if(this._pack.push(i))return u();this._pack._drain=u}_finish(){if(this._finished)return;this._finished=true;if(this._isLinkname){this.header.linkname=this._linkname?P.toString(this._linkname,"utf-8"):"";this._pack._encode(this.header)}overflow(this._pack,this.header.size);this._pack._done(this)}_final(i){if(this.written!==this.header.size){return i(new Error("Size mismatch"))}this._finish();i(null)}_getError(){return Q(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(i){this._pack._done(this);this._continuePack(this._finished?null:this._getError());i()}}class Pack extends I{constructor(i){super(i);this._drain=noop;this._finalized=false;this._finalizing=false;this._pending=[];this._stream=null}entry(i,u,A){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");if(typeof u==="function"){A=u;u=null}if(!A)A=noop;if(!i.size||i.type==="symlink")i.size=0;if(!i.type)i.type=modeToType(i.mode);if(!i.mode)i.mode=i.type==="directory"?U:G;if(!i.uid)i.uid=0;if(!i.gid)i.gid=0;if(!i.mtime)i.mtime=new Date;if(typeof u==="string")u=P.from(u);const I=new Sink(this,i,A);if(P.isBuffer(u)){i.size=u.byteLength;I.write(u);I.end();return I}if(I._isVoid){return I}return I}finalize(){if(this._stream||this._pending.length>0){this._finalizing=true;return}if(this._finalized)return;this._finalized=true;this.push(z);this.push(null)}_done(i){if(i!==this._stream)return;this._stream=null;if(this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode(i){if(!i.pax){const u=L.encode(i);if(u){this.push(u);return}}this._encodePax(i)}_encodePax(i){const u=L.encodePax({name:i.name,linkname:i.linkname,pax:i.pax});const A={name:"PaxHeader",mode:i.mode,uid:i.uid,gid:i.gid,size:u.byteLength,mtime:i.mtime,type:"pax-header",linkname:i.linkname&&"PaxHeader",uname:i.uname,gname:i.gname,devmajor:i.devmajor,devminor:i.devminor};this.push(L.encode(A));this.push(u);overflow(this,u.byteLength);A.size=i.size;A.type=i.type;this.push(L.encode(A))}_doDrain(){const i=this._drain;this._drain=noop;i()}_predestroy(){const i=Q(this);if(this._stream)this._stream.destroy(i);while(this._pending.length){const u=this._pending.shift();u.destroy(i);u._continueOpen()}this._doDrain()}_read(i){this._doDrain();i()}}i.exports=function pack(i){return new Pack(i)};function modeToType(i){switch(i&D.S_IFMT){case D.S_IFBLK:return"block-device";case D.S_IFCHR:return"character-device";case D.S_IFDIR:return"directory";case D.S_IFIFO:return"fifo";case D.S_IFLNK:return"symlink"}return"file"}function noop(){}function overflow(i,u){u&=511;if(u)i.push(z.subarray(0,512-u))}function mapWritable(i){return P.isBuffer(i)?i:P.from(i)}},97934:(i,u,A)=>{const I=A(47256);const B=A(86414);i.exports=class TextDecoder{constructor(i="utf8"){this.encoding=normalizeEncoding(i);switch(this.encoding){case"utf8":this.decoder=new B;break;case"utf16le":case"base64":throw new Error("Unsupported encoding: "+this.encoding);default:this.decoder=new I(this.encoding)}}get remaining(){return this.decoder.remaining}push(i){if(typeof i==="string")return i;return this.decoder.decode(i)}write(i){return this.push(i)}end(i){let u="";if(i)u=this.push(i);u+=this.decoder.flush();return u}};function normalizeEncoding(i){i=i.toLowerCase();switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:throw new Error("Unknown encoding: "+i)}}},47256:(i,u,A)=>{const I=A(73057);i.exports=class PassThroughDecoder{constructor(i){this.encoding=i}get remaining(){return 0}decode(i){return I.toString(i,this.encoding)}flush(){return""}}},86414:(i,u,A)=>{const I=A(73057);i.exports=class UTF8Decoder{constructor(){this._reset()}get remaining(){return this.bytesSeen}decode(i){if(i.byteLength===0)return"";if(this.bytesNeeded===0&&trailingIncomplete(i,0)===0){this.bytesSeen=trailingBytesSeen(i);return I.toString(i,"utf8")}let u="";let A=0;if(this.bytesNeeded>0){while(Athis.upperBoundary){u+="�";this._reset();break}this.lowerBoundary=128;this.upperBoundary=191;this.codePoint=this.codePoint<<6|I&63;this.bytesSeen++;A++;if(this.bytesSeen===this.bytesNeeded){u+=String.fromCodePoint(this.codePoint);this._reset();break}}if(this.bytesNeeded>0)return u}const B=trailingIncomplete(i,A);const Q=i.byteLength-B;if(Q>A)u+=I.toString(i,"utf8",A,Q);for(let A=Q;A=194&&I<=223){this.bytesNeeded=2;this.bytesSeen=1;this.codePoint=I&31}else if(I>=224&&I<=239){if(I===224)this.lowerBoundary=160;else if(I===237)this.upperBoundary=159;this.bytesNeeded=3;this.bytesSeen=1;this.codePoint=I&15}else if(I>=240&&I<=244){if(I===240)this.lowerBoundary=144;else if(I===244)this.upperBoundary=143;this.bytesNeeded=4;this.bytesSeen=1;this.codePoint=I&7}else{this.bytesSeen=1;u+="�"}continue}if(Ithis.upperBoundary){u+="�";A--;this._reset();continue}this.lowerBoundary=128;this.upperBoundary=191;this.codePoint=this.codePoint<<6|I&63;this.bytesSeen++;if(this.bytesSeen===this.bytesNeeded){u+=String.fromCodePoint(this.codePoint);this._reset()}}return u}flush(){const i=this.bytesNeeded>0?"�":"";this._reset();return i}_reset(){this.codePoint=0;this.bytesNeeded=0;this.bytesSeen=0;this.lowerBoundary=128;this.upperBoundary=191}};function trailingIncomplete(i,u){const A=i.byteLength;if(A<=u)return 0;const I=Math.max(u,A-4);let B=A-1;while(B>I&&(i[B]&192)===128)B--;if(B=194&&Q<=223)P=2;else if(Q>=224&&Q<=239)P=3;else if(Q>=240&&Q<=244)P=4;else return 0;const D=A-B;return D=I&&(i[B]&192)===128)B--;if(B<0)return 1;const Q=i[B];let P;if(Q>=194&&Q<=223)P=2;else if(Q>=224&&Q<=239)P=3;else if(Q>=240&&Q<=244)P=4;else return 1;if(u-B!==P)return 1;if(P>=3){const u=i[B+1];if(Q===224&&u<160)return 1;if(Q===237&&u>159)return 1;if(Q===240&&u<144)return 1;if(Q===244&&u>143)return 1}return 0}},51288:(i,u,A)=>{ /*! * Tmp * * Copyright (c) 2011-2017 KARASZI Istvan * * MIT Licensed */ const I=A(79896);const B=A(70857);const Q=A(16928);const P=A(76982);const D={fs:I.constants,os:B.constants};const L="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",U=/XXXXXX/,G=3,z=(D.O_CREAT||D.fs.O_CREAT)|(D.O_EXCL||D.fs.O_EXCL)|(D.O_RDWR||D.fs.O_RDWR),W=B.platform()==="win32",Y=D.EBADF||D.os.errno.EBADF,J=D.ENOENT||D.os.errno.ENOENT,$=448,K=384,X="exit",he=[],Ae=I.rmdirSync.bind(I);let ye=false;function rimraf(i,u){return I.rm(i,{recursive:true},u)}function FN_RIMRAF_SYNC(i){return I.rmSync(i,{recursive:true})}function tmpName(i,u){const A=_parseArguments(i,u),B=A[0],Q=A[1];_assertAndSanitizeOptions(B,(function(i,u){if(i)return Q(i);let A=u.tries;(function _getUniqueName(){try{const i=_generateTmpName(u);I.stat(i,(function(u){if(!u){if(A-- >0)return _getUniqueName();return Q(new Error("Could not get a unique tmp filename, max tries reached "+i))}Q(null,i)}))}catch(i){Q(i)}})()}))}function tmpNameSync(i){const u=_parseArguments(i),A=u[0];const B=_assertAndSanitizeOptionsSync(A);let Q=B.tries;do{const i=_generateTmpName(B);try{I.statSync(i)}catch(u){return i}}while(Q-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(i,u){const A=_parseArguments(i,u),B=A[0],Q=A[1];tmpName(B,(function _tmpNameCreated(i,u){if(i)return Q(i);I.open(u,z,B.mode||K,(function _fileCreated(i,A){if(i)return Q(i);if(B.discardDescriptor){return I.close(A,(function _discardCallback(i){return Q(i,u,undefined,_prepareTmpFileRemoveCallback(u,-1,B,false))}))}else{const i=B.discardDescriptor||B.detachDescriptor;Q(null,u,A,_prepareTmpFileRemoveCallback(u,i?-1:A,B,false))}}))}))}function fileSync(i){const u=_parseArguments(i),A=u[0];const B=A.discardDescriptor||A.detachDescriptor;const Q=tmpNameSync(A);let P=I.openSync(Q,z,A.mode||K);if(A.discardDescriptor){I.closeSync(P);P=undefined}return{name:Q,fd:P,removeCallback:_prepareTmpFileRemoveCallback(Q,B?-1:P,A,true)}}function dir(i,u){const A=_parseArguments(i,u),B=A[0],Q=A[1];tmpName(B,(function _tmpNameCreated(i,u){if(i)return Q(i);I.mkdir(u,B.mode||$,(function _dirCreated(i){if(i)return Q(i);Q(null,u,_prepareTmpDirRemoveCallback(u,B,false))}))}))}function dirSync(i){const u=_parseArguments(i),A=u[0];const B=tmpNameSync(A);I.mkdirSync(B,A.mode||$);return{name:B,removeCallback:_prepareTmpDirRemoveCallback(B,A,true)}}function _removeFileAsync(i,u){const _handler=function(i){if(i&&!_isENOENT(i)){return u(i)}u()};if(0<=i[0])I.close(i[0],(function(){I.unlink(i[1],_handler)}));else I.unlink(i[1],_handler)}function _removeFileSync(i){let u=null;try{if(0<=i[0])I.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throw i}finally{try{I.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))u=i}}if(u!==null){throw u}}function _prepareTmpFileRemoveCallback(i,u,A,I){const B=_prepareRemoveCallback(_removeFileSync,[u,i],I);const Q=_prepareRemoveCallback(_removeFileAsync,[u,i],I,B);if(!A.keep)he.unshift(B);return I?B:Q}function _prepareTmpDirRemoveCallback(i,u,A){const B=u.unsafeCleanup?rimraf:I.rmdir.bind(I);const Q=u.unsafeCleanup?FN_RIMRAF_SYNC:Ae;const P=_prepareRemoveCallback(Q,i,A);const D=_prepareRemoveCallback(B,i,A,P);if(!u.keep)he.unshift(P);return A?P:D}function _prepareRemoveCallback(i,u,A,I){let B=false;return function _cleanupCallback(Q){if(!B){const P=I||_cleanupCallback;const D=he.indexOf(P);if(D>=0)he.splice(D,1);B=true;if(A||i===Ae||i===FN_RIMRAF_SYNC){return i(u)}else{return i(u,Q||function(){})}}}}function _garbageCollector(){if(!ye)return;while(he.length){try{he[0]()}catch(i){}}}function _randomChars(i){let u=[],A=null;try{A=P.randomBytes(i)}catch(u){A=P.pseudoRandomBytes(i)}for(let I=0;I{i.exports=Traverse;function Traverse(i){if(!(this instanceof Traverse))return new Traverse(i);this.value=i}Traverse.prototype.get=function(i){var u=this.value;for(var A=0;A{var u;var A;var I;var B;var Q;var P;var D;var L;var U;var G;var z;var W;var Y;var J;var $;var K;var X;var he;var Ae;var ye;var be;var Ee;var Ce;var we;var ve;var Se;var Re;var Ne;var _e;var Oe;var xe;var ke;(function(u){var A=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){u(createExporter(A,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){u(createExporter(A,createExporter(i.exports)))}else{u(createExporter(A))}function createExporter(i,u){if(i!==A){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(A,I){return i[A]=u?u(A,I):I}}})((function(i){var Qe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var A in u)if(Object.prototype.hasOwnProperty.call(u,A))i[A]=u[A]};u=function(i,u){if(typeof u!=="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");Qe(i,u);function __(){this.constructor=i}i.prototype=u===null?Object.create(u):(__.prototype=u.prototype,new __)};A=Object.assign||function(i){for(var u,A=1,I=arguments.length;A=0;D--)if(P=i[D])Q=(B<3?P(Q):B>3?P(u,A,Q):P(u,A))||Q;return B>3&&Q&&Object.defineProperty(u,A,Q),Q};Q=function(i,u){return function(A,I){u(A,I,i)}};P=function(i,u,A,I,B,Q){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var P=I.kind,D=P==="getter"?"get":P==="setter"?"set":"value";var L=!u&&i?I["static"]?i:i.prototype:null;var U=u||(L?Object.getOwnPropertyDescriptor(L,I.name):{});var G,z=false;for(var W=A.length-1;W>=0;W--){var Y={};for(var J in I)Y[J]=J==="access"?{}:I[J];for(var J in I.access)Y.access[J]=I.access[J];Y.addInitializer=function(i){if(z)throw new TypeError("Cannot add initializers after decoration has completed");Q.push(accept(i||null))};var $=(0,A[W])(P==="accessor"?{get:U.get,set:U.set}:U[D],Y);if(P==="accessor"){if($===void 0)continue;if($===null||typeof $!=="object")throw new TypeError("Object expected");if(G=accept($.get))U.get=G;if(G=accept($.set))U.set=G;if(G=accept($.init))B.unshift(G)}else if(G=accept($)){if(P==="field")B.unshift(G);else U[D]=G}}if(L)Object.defineProperty(L,I.name,U);z=true};D=function(i,u,A){var I=arguments.length>2;for(var B=0;B0&&Q[Q.length-1])&&(D[0]===6||D[0]===2)){A=0;continue}if(D[0]===3&&(!Q||D[1]>Q[0]&&D[1]=i.length)i=void 0;return{value:i&&i[I++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};$=function(i,u){var A=typeof Symbol==="function"&&i[Symbol.iterator];if(!A)return i;var I=A.call(i),B,Q=[],P;try{while((u===void 0||u-- >0)&&!(B=I.next()).done)Q.push(B.value)}catch(i){P={error:i}}finally{try{if(B&&!B.done&&(A=I["return"]))A.call(I)}finally{if(P)throw P.error}}return Q};K=function(){for(var i=[],u=0;u1||resume(i,u)}))};if(u)B[i]=u(B[i])}}function resume(i,u){try{step(I[i](u))}catch(i){settle(Q[0][3],i)}}function step(i){i.value instanceof Ae?Promise.resolve(i.value.v).then(fulfill,reject):settle(Q[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,u){if(i(u),Q.shift(),Q.length)resume(Q[0][0],Q[0][1])}};be=function(i){var u,A;return u={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),u[Symbol.iterator]=function(){return this},u;function verb(I,B){u[I]=i[I]?function(u){return(A=!A)?{value:Ae(i[I](u)),done:false}:B?B(u):u}:B}};Ee=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=i[Symbol.asyncIterator],A;return u?u.call(i):(i=typeof J==="function"?J(i):i[Symbol.iterator](),A={},verb("next"),verb("throw"),verb("return"),A[Symbol.asyncIterator]=function(){return this},A);function verb(u){A[u]=i[u]&&function(A){return new Promise((function(I,B){A=i[u](A),settle(I,B,A.done,A.value)}))}}function settle(i,u,A,I){Promise.resolve(I).then((function(u){i({value:u,done:A})}),u)}};Ce=function(i,u){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:u})}else{i.raw=u}return i};var Pe=Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u};var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};we=function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),I=0;I{i.exports=A(20218)},20218:(i,u,A)=>{"use strict";var I=A(69278);var B=A(64756);var Q=A(58611);var P=A(65692);var D=A(24434);var L=A(42613);var U=A(39023);u.httpOverHttp=httpOverHttp;u.httpsOverHttp=httpsOverHttp;u.httpOverHttps=httpOverHttps;u.httpsOverHttps=httpsOverHttps;function httpOverHttp(i){var u=new TunnelingAgent(i);u.request=Q.request;return u}function httpsOverHttp(i){var u=new TunnelingAgent(i);u.request=Q.request;u.createSocket=createSecureSocket;u.defaultPort=443;return u}function httpOverHttps(i){var u=new TunnelingAgent(i);u.request=P.request;return u}function httpsOverHttps(i){var u=new TunnelingAgent(i);u.request=P.request;u.createSocket=createSecureSocket;u.defaultPort=443;return u}function TunnelingAgent(i){var u=this;u.options=i||{};u.proxyOptions=u.options.proxy||{};u.maxSockets=u.options.maxSockets||Q.Agent.defaultMaxSockets;u.requests=[];u.sockets=[];u.on("free",(function onFree(i,A,I,B){var Q=toOptions(A,I,B);for(var P=0,D=u.requests.length;P=this.maxSockets){B.requests.push(Q);return}B.createSocket(Q,(function(u){u.on("free",onFree);u.on("close",onCloseOrRemove);u.on("agentRemove",onCloseOrRemove);i.onSocket(u);function onFree(){B.emit("free",u,Q)}function onCloseOrRemove(i){B.removeSocket(u);u.removeListener("free",onFree);u.removeListener("close",onCloseOrRemove);u.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(i,u){var A=this;var I={};A.sockets.push(I);var B=mergeOptions({},A.proxyOptions,{method:"CONNECT",path:i.host+":"+i.port,agent:false,headers:{host:i.host+":"+i.port}});if(i.localAddress){B.localAddress=i.localAddress}if(B.proxyAuth){B.headers=B.headers||{};B.headers["Proxy-Authorization"]="Basic "+new Buffer(B.proxyAuth).toString("base64")}G("making CONNECT request");var Q=A.request(B);Q.useChunkedEncodingByDefault=false;Q.once("response",onResponse);Q.once("upgrade",onUpgrade);Q.once("connect",onConnect);Q.once("error",onError);Q.end();function onResponse(i){i.upgrade=true}function onUpgrade(i,u,A){process.nextTick((function(){onConnect(i,u,A)}))}function onConnect(B,P,D){Q.removeAllListeners();P.removeAllListeners();if(B.statusCode!==200){G("tunneling socket could not be established, statusCode=%d",B.statusCode);P.destroy();var L=new Error("tunneling socket could not be established, "+"statusCode="+B.statusCode);L.code="ECONNRESET";i.request.emit("error",L);A.removeSocket(I);return}if(D.length>0){G("got illegal response body from proxy");P.destroy();var L=new Error("got illegal response body from proxy");L.code="ECONNRESET";i.request.emit("error",L);A.removeSocket(I);return}G("tunneling connection has established");A.sockets[A.sockets.indexOf(I)]=P;return u(P)}function onError(u){Q.removeAllListeners();G("tunneling socket could not be established, cause=%s\n",u.message,u.stack);var B=new Error("tunneling socket could not be established, "+"cause="+u.message);B.code="ECONNRESET";i.request.emit("error",B);A.removeSocket(I)}};TunnelingAgent.prototype.removeSocket=function removeSocket(i){var u=this.sockets.indexOf(i);if(u===-1){return}this.sockets.splice(u,1);var A=this.requests.shift();if(A){this.createSocket(A,(function(i){A.request.onSocket(i)}))}};function createSecureSocket(i,u){var A=this;TunnelingAgent.prototype.createSocket.call(A,i,(function(I){var Q=i.request.getHeader("host");var P=mergeOptions({},A.options,{socket:I,servername:Q?Q.replace(/:.*$/,""):i.host});var D=B.connect(0,P);A.sockets[A.sockets.indexOf(I)]=D;u(D)}))}function toOptions(i,u,A){if(typeof i==="string"){return{host:i,port:u,localAddress:A}}return i}function mergeOptions(i){for(var u=1,A=arguments.length;u{"use strict";const I=A(23701);const B=A(30883);const Q=A(30628);const P=A(837);const D=A(57405);const L=A(76672);const U=A(53137);const G=A(30050);const z=A(68707);const W=A(3440);const{InvalidArgumentError:Y}=z;const J=A(56615);const $=A(59136);const K=A(47365);const X=A(47501);const he=A(94004);const Ae=A(52429);const ye=A(17816);const{getGlobalDispatcher:be,setGlobalDispatcher:Ee}=A(32581);const Ce=A(58155);const we=A(8754);const ve=A(25092);Object.assign(B.prototype,J);i.exports.Dispatcher=B;i.exports.Client=I;i.exports.Pool=Q;i.exports.BalancedPool=P;i.exports.Agent=D;i.exports.ProxyAgent=L;i.exports.EnvHttpProxyAgent=U;i.exports.RetryAgent=G;i.exports.RetryHandler=ye;i.exports.DecoratorHandler=Ce;i.exports.RedirectHandler=we;i.exports.createRedirectInterceptor=ve;i.exports.interceptors={redirect:A(21514),retry:A(92026),dump:A(88060),dns:A(70379)};i.exports.buildConnector=$;i.exports.errors=z;i.exports.util={parseHeaders:W.parseHeaders,headerNameToString:W.headerNameToString};function makeDispatcher(i){return(u,A,I)=>{if(typeof A==="function"){I=A;A=null}if(!u||typeof u!=="string"&&typeof u!=="object"&&!(u instanceof URL)){throw new Y("invalid url")}if(A!=null&&typeof A!=="object"){throw new Y("invalid opts")}if(A&&A.path!=null){if(typeof A.path!=="string"){throw new Y("invalid opts.path")}let i=A.path;if(!A.path.startsWith("/")){i=`/${i}`}u=new URL(W.parseOrigin(u).origin+i)}else{if(!A){A=typeof u==="object"?u:{}}u=W.parseURL(u)}const{agent:B,dispatcher:Q=be()}=A;if(B){throw new Y("unsupported opts.agent. Did you mean opts.client?")}return i.call(Q,{...A,origin:u.origin,path:u.search?`${u.pathname}${u.search}`:u.pathname,method:A.method||(A.body?"PUT":"GET")},I)}}i.exports.setGlobalDispatcher=Ee;i.exports.getGlobalDispatcher=be;const Se=A(54398).fetch;i.exports.fetch=async function fetch(i,u=undefined){try{return await Se(i,u)}catch(i){if(i&&typeof i==="object"){Error.captureStackTrace(i)}throw i}};i.exports.Headers=A(60660).Headers;i.exports.Response=A(99051).Response;i.exports.Request=A(9967).Request;i.exports.FormData=A(35910).FormData;i.exports.File=globalThis.File??A(4573).File;i.exports.FileReader=A(48355).FileReader;const{setGlobalOrigin:Re,getGlobalOrigin:Ne}=A(51059);i.exports.setGlobalOrigin=Re;i.exports.getGlobalOrigin=Ne;const{CacheStorage:_e}=A(3245);const{kConstruct:Oe}=A(20109);i.exports.caches=new _e(Oe);const{deleteCookie:xe,getCookies:ke,getSetCookies:Qe,setCookie:Pe}=A(79061);i.exports.deleteCookie=xe;i.exports.getCookies=ke;i.exports.getSetCookies=Qe;i.exports.setCookie=Pe;const{parseMIMEType:De,serializeAMimeType:Me}=A(51900);i.exports.parseMIMEType=De;i.exports.serializeAMimeType=Me;const{CloseEvent:Fe,ErrorEvent:Ue,MessageEvent:je}=A(15188);i.exports.WebSocket=A(13726).WebSocket;i.exports.CloseEvent=Fe;i.exports.ErrorEvent=Ue;i.exports.MessageEvent=je;i.exports.request=makeDispatcher(J.request);i.exports.stream=makeDispatcher(J.stream);i.exports.pipeline=makeDispatcher(J.pipeline);i.exports.connect=makeDispatcher(J.connect);i.exports.upgrade=makeDispatcher(J.upgrade);i.exports.MockClient=K;i.exports.MockPool=he;i.exports.MockAgent=X;i.exports.mockErrors=Ae;const{EventSource:He}=A(21238);i.exports.EventSource=He},80158:(i,u,A)=>{const{addAbortListener:I}=A(3440);const{RequestAbortedError:B}=A(68707);const Q=Symbol("kListener");const P=Symbol("kSignal");function abort(i){if(i.abort){i.abort(i[P]?.reason)}else{i.reason=i[P]?.reason??new B}removeSignal(i)}function addSignal(i,u){i.reason=null;i[P]=null;i[Q]=null;if(!u){return}if(u.aborted){abort(i);return}i[P]=u;i[Q]=()=>{abort(i)};I(i[P],i[Q])}function removeSignal(i){if(!i[P]){return}if("removeEventListener"in i[P]){i[P].removeEventListener("abort",i[Q])}else{i[P].removeListener("abort",i[Q])}i[P]=null;i[Q]=null}i.exports={addSignal:addSignal,removeSignal:removeSignal}},34660:(i,u,A)=>{"use strict";const I=A(34589);const{AsyncResource:B}=A(16698);const{InvalidArgumentError:Q,SocketError:P}=A(68707);const D=A(3440);const{addSignal:L,removeSignal:U}=A(80158);class ConnectHandler extends B{constructor(i,u){if(!i||typeof i!=="object"){throw new Q("invalid opts")}if(typeof u!=="function"){throw new Q("invalid callback")}const{signal:A,opaque:I,responseHeaders:B}=i;if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new Q("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=I||null;this.responseHeaders=B||null;this.callback=u;this.abort=null;L(this,A)}onConnect(i,u){if(this.reason){i(this.reason);return}I(this.callback);this.abort=i;this.context=u}onHeaders(){throw new P("bad connect",null)}onUpgrade(i,u,A){const{callback:I,opaque:B,context:Q}=this;U(this);this.callback=null;let P=u;if(P!=null){P=this.responseHeaders==="raw"?D.parseRawHeaders(u):D.parseHeaders(u)}this.runInAsyncScope(I,null,null,{statusCode:i,headers:P,socket:A,opaque:B,context:Q})}onError(i){const{callback:u,opaque:A}=this;U(this);if(u){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(u,null,i,{opaque:A})}))}}}function connect(i,u){if(u===undefined){return new Promise(((u,A)=>{connect.call(this,i,((i,I)=>i?A(i):u(I)))}))}try{const A=new ConnectHandler(i,u);this.dispatch({...i,method:"CONNECT"},A)}catch(A){if(typeof u!=="function"){throw A}const I=i?.opaque;queueMicrotask((()=>u(A,{opaque:I})))}}i.exports=connect},76862:(i,u,A)=>{"use strict";const{Readable:I,Duplex:B,PassThrough:Q}=A(57075);const{InvalidArgumentError:P,InvalidReturnValueError:D,RequestAbortedError:L}=A(68707);const U=A(3440);const{AsyncResource:G}=A(16698);const{addSignal:z,removeSignal:W}=A(80158);const Y=A(34589);const J=Symbol("resume");class PipelineRequest extends I{constructor(){super({autoDestroy:true});this[J]=null}_read(){const{[J]:i}=this;if(i){this[J]=null;i()}}_destroy(i,u){this._read();u(i)}}class PipelineResponse extends I{constructor(i){super({autoDestroy:true});this[J]=i}_read(){this[J]()}_destroy(i,u){if(!i&&!this._readableState.endEmitted){i=new L}u(i)}}class PipelineHandler extends G{constructor(i,u){if(!i||typeof i!=="object"){throw new P("invalid opts")}if(typeof u!=="function"){throw new P("invalid handler")}const{signal:A,method:I,opaque:Q,onInfo:D,responseHeaders:G}=i;if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new P("signal must be an EventEmitter or EventTarget")}if(I==="CONNECT"){throw new P("invalid method")}if(D&&typeof D!=="function"){throw new P("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=Q||null;this.responseHeaders=G||null;this.handler=u;this.abort=null;this.context=null;this.onInfo=D||null;this.req=(new PipelineRequest).on("error",U.nop);this.ret=new B({readableObjectMode:i.objectMode,autoDestroy:true,read:()=>{const{body:i}=this;if(i?.resume){i.resume()}},write:(i,u,A)=>{const{req:I}=this;if(I.push(i,u)||I._readableState.destroyed){A()}else{I[J]=A}},destroy:(i,u)=>{const{body:A,req:I,res:B,ret:Q,abort:P}=this;if(!i&&!Q._readableState.endEmitted){i=new L}if(P&&i){P()}U.destroy(A,i);U.destroy(I,i);U.destroy(B,i);W(this);u(i)}}).on("prefinish",(()=>{const{req:i}=this;i.push(null)}));this.res=null;z(this,A)}onConnect(i,u){const{ret:A,res:I}=this;if(this.reason){i(this.reason);return}Y(!I,"pipeline cannot be retried");Y(!A.destroyed);this.abort=i;this.context=u}onHeaders(i,u,A){const{opaque:I,handler:B,context:Q}=this;if(i<200){if(this.onInfo){const A=this.responseHeaders==="raw"?U.parseRawHeaders(u):U.parseHeaders(u);this.onInfo({statusCode:i,headers:A})}return}this.res=new PipelineResponse(A);let P;try{this.handler=null;const A=this.responseHeaders==="raw"?U.parseRawHeaders(u):U.parseHeaders(u);P=this.runInAsyncScope(B,null,{statusCode:i,headers:A,opaque:I,body:this.res,context:Q})}catch(i){this.res.on("error",U.nop);throw i}if(!P||typeof P.on!=="function"){throw new D("expected Readable")}P.on("data",(i=>{const{ret:u,body:A}=this;if(!u.push(i)&&A.pause){A.pause()}})).on("error",(i=>{const{ret:u}=this;U.destroy(u,i)})).on("end",(()=>{const{ret:i}=this;i.push(null)})).on("close",(()=>{const{ret:i}=this;if(!i._readableState.ended){U.destroy(i,new L)}}));this.body=P}onData(i){const{res:u}=this;return u.push(i)}onComplete(i){const{res:u}=this;u.push(null)}onError(i){const{ret:u}=this;this.handler=null;U.destroy(u,i)}}function pipeline(i,u){try{const A=new PipelineHandler(i,u);this.dispatch({...i,body:A.req},A);return A.ret}catch(i){return(new Q).destroy(i)}}i.exports=pipeline},14043:(i,u,A)=>{"use strict";const I=A(34589);const{Readable:B}=A(49927);const{InvalidArgumentError:Q,RequestAbortedError:P}=A(68707);const D=A(3440);const{getResolveErrorBodyCallback:L}=A(87655);const{AsyncResource:U}=A(16698);class RequestHandler extends U{constructor(i,u){if(!i||typeof i!=="object"){throw new Q("invalid opts")}const{signal:A,method:I,opaque:B,body:L,onInfo:U,responseHeaders:G,throwOnError:z,highWaterMark:W}=i;try{if(typeof u!=="function"){throw new Q("invalid callback")}if(W&&(typeof W!=="number"||W<0)){throw new Q("invalid highWaterMark")}if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new Q("signal must be an EventEmitter or EventTarget")}if(I==="CONNECT"){throw new Q("invalid method")}if(U&&typeof U!=="function"){throw new Q("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(i){if(D.isStream(L)){D.destroy(L.on("error",D.nop),i)}throw i}this.method=I;this.responseHeaders=G||null;this.opaque=B||null;this.callback=u;this.res=null;this.abort=null;this.body=L;this.trailers={};this.context=null;this.onInfo=U||null;this.throwOnError=z;this.highWaterMark=W;this.signal=A;this.reason=null;this.removeAbortListener=null;if(D.isStream(L)){L.on("error",(i=>{this.onError(i)}))}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new P}else{this.removeAbortListener=D.addAbortListener(this.signal,(()=>{this.reason=this.signal.reason??new P;if(this.res){D.destroy(this.res.on("error",D.nop),this.reason)}else if(this.abort){this.abort(this.reason)}if(this.removeAbortListener){this.res?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}))}}}onConnect(i,u){if(this.reason){i(this.reason);return}I(this.callback);this.abort=i;this.context=u}onHeaders(i,u,A,I){const{callback:Q,opaque:P,abort:U,context:G,responseHeaders:z,highWaterMark:W}=this;const Y=z==="raw"?D.parseRawHeaders(u):D.parseHeaders(u);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:Y})}return}const J=z==="raw"?D.parseHeaders(u):Y;const $=J["content-type"];const K=J["content-length"];const X=new B({resume:A,abort:U,contentType:$,contentLength:this.method!=="HEAD"&&K?Number(K):null,highWaterMark:W});if(this.removeAbortListener){X.on("close",this.removeAbortListener)}this.callback=null;this.res=X;if(Q!==null){if(this.throwOnError&&i>=400){this.runInAsyncScope(L,null,{callback:Q,body:X,contentType:$,statusCode:i,statusMessage:I,headers:Y})}else{this.runInAsyncScope(Q,null,null,{statusCode:i,headers:Y,trailers:this.trailers,opaque:P,body:X,context:G})}}}onData(i){return this.res.push(i)}onComplete(i){D.parseHeaders(i,this.trailers);this.res.push(null)}onError(i){const{res:u,callback:A,body:I,opaque:B}=this;if(A){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(A,null,i,{opaque:B})}))}if(u){this.res=null;queueMicrotask((()=>{D.destroy(u,i)}))}if(I){this.body=null;D.destroy(I,i)}if(this.removeAbortListener){u?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(i,u){if(u===undefined){return new Promise(((u,A)=>{request.call(this,i,((i,I)=>i?A(i):u(I)))}))}try{this.dispatch(i,new RequestHandler(i,u))}catch(A){if(typeof u!=="function"){throw A}const I=i?.opaque;queueMicrotask((()=>u(A,{opaque:I})))}}i.exports=request;i.exports.RequestHandler=RequestHandler},3560:(i,u,A)=>{"use strict";const I=A(34589);const{finished:B,PassThrough:Q}=A(57075);const{InvalidArgumentError:P,InvalidReturnValueError:D}=A(68707);const L=A(3440);const{getResolveErrorBodyCallback:U}=A(87655);const{AsyncResource:G}=A(16698);const{addSignal:z,removeSignal:W}=A(80158);class StreamHandler extends G{constructor(i,u,A){if(!i||typeof i!=="object"){throw new P("invalid opts")}const{signal:I,method:B,opaque:Q,body:D,onInfo:U,responseHeaders:G,throwOnError:W}=i;try{if(typeof A!=="function"){throw new P("invalid callback")}if(typeof u!=="function"){throw new P("invalid factory")}if(I&&typeof I.on!=="function"&&typeof I.addEventListener!=="function"){throw new P("signal must be an EventEmitter or EventTarget")}if(B==="CONNECT"){throw new P("invalid method")}if(U&&typeof U!=="function"){throw new P("invalid onInfo callback")}super("UNDICI_STREAM")}catch(i){if(L.isStream(D)){L.destroy(D.on("error",L.nop),i)}throw i}this.responseHeaders=G||null;this.opaque=Q||null;this.factory=u;this.callback=A;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=D;this.onInfo=U||null;this.throwOnError=W||false;if(L.isStream(D)){D.on("error",(i=>{this.onError(i)}))}z(this,I)}onConnect(i,u){if(this.reason){i(this.reason);return}I(this.callback);this.abort=i;this.context=u}onHeaders(i,u,A,I){const{factory:P,opaque:G,context:z,callback:W,responseHeaders:Y}=this;const J=Y==="raw"?L.parseRawHeaders(u):L.parseHeaders(u);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:J})}return}this.factory=null;let $;if(this.throwOnError&&i>=400){const A=Y==="raw"?L.parseHeaders(u):J;const B=A["content-type"];$=new Q;this.callback=null;this.runInAsyncScope(U,null,{callback:W,body:$,contentType:B,statusCode:i,statusMessage:I,headers:J})}else{if(P===null){return}$=this.runInAsyncScope(P,null,{statusCode:i,headers:J,opaque:G,context:z});if(!$||typeof $.write!=="function"||typeof $.end!=="function"||typeof $.on!=="function"){throw new D("expected Writable")}B($,{readable:false},(i=>{const{callback:u,res:A,opaque:I,trailers:B,abort:Q}=this;this.res=null;if(i||!A.readable){L.destroy(A,i)}this.callback=null;this.runInAsyncScope(u,null,i||null,{opaque:I,trailers:B});if(i){Q()}}))}$.on("drain",A);this.res=$;const K=$.writableNeedDrain!==undefined?$.writableNeedDrain:$._writableState?.needDrain;return K!==true}onData(i){const{res:u}=this;return u?u.write(i):true}onComplete(i){const{res:u}=this;W(this);if(!u){return}this.trailers=L.parseHeaders(i);u.end()}onError(i){const{res:u,callback:A,opaque:I,body:B}=this;W(this);this.factory=null;if(u){this.res=null;L.destroy(u,i)}else if(A){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(A,null,i,{opaque:I})}))}if(B){this.body=null;L.destroy(B,i)}}}function stream(i,u,A){if(A===undefined){return new Promise(((A,I)=>{stream.call(this,i,u,((i,u)=>i?I(i):A(u)))}))}try{this.dispatch(i,new StreamHandler(i,u,A))}catch(u){if(typeof A!=="function"){throw u}const I=i?.opaque;queueMicrotask((()=>A(u,{opaque:I})))}}i.exports=stream},61882:(i,u,A)=>{"use strict";const{InvalidArgumentError:I,SocketError:B}=A(68707);const{AsyncResource:Q}=A(16698);const P=A(3440);const{addSignal:D,removeSignal:L}=A(80158);const U=A(34589);class UpgradeHandler extends Q{constructor(i,u){if(!i||typeof i!=="object"){throw new I("invalid opts")}if(typeof u!=="function"){throw new I("invalid callback")}const{signal:A,opaque:B,responseHeaders:Q}=i;if(A&&typeof A.on!=="function"&&typeof A.addEventListener!=="function"){throw new I("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=Q||null;this.opaque=B||null;this.callback=u;this.abort=null;this.context=null;D(this,A)}onConnect(i,u){if(this.reason){i(this.reason);return}U(this.callback);this.abort=i;this.context=null}onHeaders(){throw new B("bad upgrade",null)}onUpgrade(i,u,A){U(i===101);const{callback:I,opaque:B,context:Q}=this;L(this);this.callback=null;const D=this.responseHeaders==="raw"?P.parseRawHeaders(u):P.parseHeaders(u);this.runInAsyncScope(I,null,null,{headers:D,socket:A,opaque:B,context:Q})}onError(i){const{callback:u,opaque:A}=this;L(this);if(u){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(u,null,i,{opaque:A})}))}}}function upgrade(i,u){if(u===undefined){return new Promise(((u,A)=>{upgrade.call(this,i,((i,I)=>i?A(i):u(I)))}))}try{const A=new UpgradeHandler(i,u);this.dispatch({...i,method:i.method||"GET",upgrade:i.protocol||"Websocket"},A)}catch(A){if(typeof u!=="function"){throw A}const I=i?.opaque;queueMicrotask((()=>u(A,{opaque:I})))}}i.exports=upgrade},56615:(i,u,A)=>{"use strict";i.exports.request=A(14043);i.exports.stream=A(3560);i.exports.pipeline=A(76862);i.exports.upgrade=A(61882);i.exports.connect=A(34660)},49927:(i,u,A)=>{"use strict";const I=A(34589);const{Readable:B}=A(57075);const{RequestAbortedError:Q,NotSupportedError:P,InvalidArgumentError:D,AbortError:L}=A(68707);const U=A(3440);const{ReadableStreamFrom:G}=A(3440);const z=Symbol("kConsume");const W=Symbol("kReading");const Y=Symbol("kBody");const J=Symbol("kAbort");const $=Symbol("kContentType");const K=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends B{constructor({resume:i,abort:u,contentType:A="",contentLength:I,highWaterMark:B=64*1024}){super({autoDestroy:true,read:i,highWaterMark:B});this._readableState.dataEmitted=false;this[J]=u;this[z]=null;this[Y]=null;this[$]=A;this[K]=I;this[W]=false}destroy(i){if(!i&&!this._readableState.endEmitted){i=new Q}if(i){this[J]()}return super.destroy(i)}_destroy(i,u){if(!this[W]){setImmediate((()=>{u(i)}))}else{u(i)}}on(i,...u){if(i==="data"||i==="readable"){this[W]=true}return super.on(i,...u)}addListener(i,...u){return this.on(i,...u)}off(i,...u){const A=super.off(i,...u);if(i==="data"||i==="readable"){this[W]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return A}removeListener(i,...u){return this.off(i,...u)}push(i){if(this[z]&&i!==null){consumePush(this[z],i);return this[W]?super.push(i):true}return super.push(i)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async bytes(){return consume(this,"bytes")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new P}get bodyUsed(){return U.isDisturbed(this)}get body(){if(!this[Y]){this[Y]=G(this);if(this[z]){this[Y].getReader();I(this[Y].locked)}}return this[Y]}async dump(i){let u=Number.isFinite(i?.limit)?i.limit:128*1024;const A=i?.signal;if(A!=null&&(typeof A!=="object"||!("aborted"in A))){throw new D("signal must be an AbortSignal")}A?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise(((i,I)=>{if(this[K]>u){this.destroy(new L)}const onAbort=()=>{this.destroy(A.reason??new L)};A?.addEventListener("abort",onAbort);this.on("close",(function(){A?.removeEventListener("abort",onAbort);if(A?.aborted){I(A.reason??new L)}else{i(null)}})).on("error",noop).on("data",(function(i){u-=i.length;if(u<=0){this.destroy()}})).resume()}))}}function isLocked(i){return i[Y]&&i[Y].locked===true||i[z]}function isUnusable(i){return U.isDisturbed(i)||isLocked(i)}async function consume(i,u){I(!i[z]);return new Promise(((A,I)=>{if(isUnusable(i)){const u=i._readableState;if(u.destroyed&&u.closeEmitted===false){i.on("error",(i=>{I(i)})).on("close",(()=>{I(new TypeError("unusable"))}))}else{I(u.errored??new TypeError("unusable"))}}else{queueMicrotask((()=>{i[z]={type:u,stream:i,resolve:A,reject:I,length:0,body:[]};i.on("error",(function(i){consumeFinish(this[z],i)})).on("close",(function(){if(this[z].body!==null){consumeFinish(this[z],new Q)}}));consumeStart(i[z])}))}}))}function consumeStart(i){if(i.body===null){return}const{_readableState:u}=i.stream;if(u.bufferIndex){const A=u.bufferIndex;const I=u.buffer.length;for(let B=A;B2&&A[0]===239&&A[1]===187&&A[2]===191?3:0;return A.utf8Slice(B,I)}function chunksConcat(i,u){if(i.length===0||u===0){return new Uint8Array(0)}if(i.length===1){return new Uint8Array(i[0])}const A=new Uint8Array(Buffer.allocUnsafeSlow(u).buffer);let I=0;for(let u=0;u{const I=A(34589);const{ResponseStatusCodeError:B}=A(68707);const{chunksDecode:Q}=A(49927);const P=128*1024;async function getResolveErrorBodyCallback({callback:i,body:u,contentType:A,statusCode:D,statusMessage:L,headers:U}){I(u);let G=[];let z=0;try{for await(const i of u){G.push(i);z+=i.length;if(z>P){G=[];z=0;break}}}catch{G=[];z=0}const W=`Response status code ${D}${L?`: ${L}`:""}`;if(D===204||!A||!z){queueMicrotask((()=>i(new B(W,D,U))));return}const Y=Error.stackTraceLimit;Error.stackTraceLimit=0;let J;try{if(isContentTypeApplicationJson(A)){J=JSON.parse(Q(G,z))}else if(isContentTypeText(A)){J=Q(G,z)}}catch{}finally{Error.stackTraceLimit=Y}queueMicrotask((()=>i(new B(W,D,U,J))))}const isContentTypeApplicationJson=i=>i.length>15&&i[11]==="/"&&i[0]==="a"&&i[1]==="p"&&i[2]==="p"&&i[3]==="l"&&i[4]==="i"&&i[5]==="c"&&i[6]==="a"&&i[7]==="t"&&i[8]==="i"&&i[9]==="o"&&i[10]==="n"&&i[12]==="j"&&i[13]==="s"&&i[14]==="o"&&i[15]==="n";const isContentTypeText=i=>i.length>4&&i[4]==="/"&&i[0]==="t"&&i[1]==="e"&&i[2]==="x"&&i[3]==="t";i.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},59136:(i,u,A)=>{"use strict";const I=A(77030);const B=A(34589);const Q=A(3440);const{InvalidArgumentError:P,ConnectTimeoutError:D}=A(68707);const L=A(96603);function noop(){}let U;let G;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){G=class WeakSessionCache{constructor(i){this._maxCachedSessions=i;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((i=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:i}=this._sessionCache.keys().next();this._sessionCache.delete(i)}this._sessionCache.set(i,u)}}}function buildConnector({allowH2:i,maxCachedSessions:u,socketPath:D,timeout:L,session:W,...Y}){if(u!=null&&(!Number.isInteger(u)||u<0)){throw new P("maxCachedSessions must be a positive integer or zero")}const J={path:D,...Y};const $=new G(u==null?100:u);L=L==null?1e4:L;i=i!=null?i:false;return function connect({hostname:u,host:P,protocol:D,port:G,servername:Y,localAddress:K,httpSocket:X},he){let Ae;if(D==="https:"){if(!U){U=A(41692)}Y=Y||J.servername||Q.getServerName(P)||null;const I=Y||u;B(I);const D=W||$.get(I)||null;G=G||443;Ae=U.connect({highWaterMark:16384,...J,servername:Y,session:D,localAddress:K,ALPNProtocols:i?["http/1.1","h2"]:["http/1.1"],socket:X,port:G,host:u});Ae.on("session",(function(i){$.set(I,i)}))}else{B(!X,"httpSocket can only be sent on TLS update");G=G||80;Ae=I.connect({highWaterMark:64*1024,...J,localAddress:K,port:G,host:u})}if(J.keepAlive==null||J.keepAlive){const i=J.keepAliveInitialDelay===undefined?6e4:J.keepAliveInitialDelay;Ae.setKeepAlive(true,i)}const ye=z(new WeakRef(Ae),{timeout:L,hostname:u,port:G});Ae.setNoDelay(true).once(D==="https:"?"secureConnect":"connect",(function(){queueMicrotask(ye);if(he){const i=he;he=null;i(null,this)}})).on("error",(function(i){queueMicrotask(ye);if(he){const u=he;he=null;u(i)}}));return Ae}}const z=process.platform==="win32"?(i,u)=>{if(!u.timeout){return noop}let A=null;let I=null;const B=L.setFastTimeout((()=>{A=setImmediate((()=>{I=setImmediate((()=>onConnectTimeout(i.deref(),u)))}))}),u.timeout);return()=>{L.clearFastTimeout(B);clearImmediate(A);clearImmediate(I)}}:(i,u)=>{if(!u.timeout){return noop}let A=null;const I=L.setFastTimeout((()=>{A=setImmediate((()=>{onConnectTimeout(i.deref(),u)}))}),u.timeout);return()=>{L.clearFastTimeout(I);clearImmediate(A)}};function onConnectTimeout(i,u){if(i==null){return}let A="Connect Timeout Error";if(Array.isArray(i.autoSelectFamilyAttemptedAddresses)){A+=` (attempted addresses: ${i.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{A+=` (attempted address: ${u.hostname}:${u.port},`}A+=` timeout: ${u.timeout}ms)`;Q.destroy(i,new D(A))}i.exports=buildConnector},10735:i=>{"use strict";const u={};const A=["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 i=0;i{"use strict";const I=A(53053);const B=A(57975);const Q=B.debuglog("undici");const P=B.debuglog("fetch");const D=B.debuglog("websocket");let L=false;const U={beforeConnect:I.channel("undici:client:beforeConnect"),connected:I.channel("undici:client:connected"),connectError:I.channel("undici:client:connectError"),sendHeaders:I.channel("undici:client:sendHeaders"),create:I.channel("undici:request:create"),bodySent:I.channel("undici:request:bodySent"),headers:I.channel("undici:request:headers"),trailers:I.channel("undici:request:trailers"),error:I.channel("undici:request:error"),open:I.channel("undici:websocket:open"),close:I.channel("undici:websocket:close"),socketError:I.channel("undici:websocket:socket_error"),ping:I.channel("undici:websocket:ping"),pong:I.channel("undici:websocket:pong")};if(Q.enabled||P.enabled){const i=P.enabled?P:Q;I.channel("undici:client:beforeConnect").subscribe((u=>{const{connectParams:{version:A,protocol:I,port:B,host:Q}}=u;i("connecting to %s using %s%s",`${Q}${B?`:${B}`:""}`,I,A)}));I.channel("undici:client:connected").subscribe((u=>{const{connectParams:{version:A,protocol:I,port:B,host:Q}}=u;i("connected to %s using %s%s",`${Q}${B?`:${B}`:""}`,I,A)}));I.channel("undici:client:connectError").subscribe((u=>{const{connectParams:{version:A,protocol:I,port:B,host:Q},error:P}=u;i("connection to %s using %s%s errored - %s",`${Q}${B?`:${B}`:""}`,I,A,P.message)}));I.channel("undici:client:sendHeaders").subscribe((u=>{const{request:{method:A,path:I,origin:B}}=u;i("sending request to %s %s/%s",A,B,I)}));I.channel("undici:request:headers").subscribe((u=>{const{request:{method:A,path:I,origin:B},response:{statusCode:Q}}=u;i("received response to %s %s/%s - HTTP %d",A,B,I,Q)}));I.channel("undici:request:trailers").subscribe((u=>{const{request:{method:A,path:I,origin:B}}=u;i("trailers received from %s %s/%s",A,B,I)}));I.channel("undici:request:error").subscribe((u=>{const{request:{method:A,path:I,origin:B},error:Q}=u;i("request to %s %s/%s errored - %s",A,B,I,Q.message)}));L=true}if(D.enabled){if(!L){const i=Q.enabled?Q:D;I.channel("undici:client:beforeConnect").subscribe((u=>{const{connectParams:{version:A,protocol:I,port:B,host:Q}}=u;i("connecting to %s%s using %s%s",Q,B?`:${B}`:"",I,A)}));I.channel("undici:client:connected").subscribe((u=>{const{connectParams:{version:A,protocol:I,port:B,host:Q}}=u;i("connected to %s%s using %s%s",Q,B?`:${B}`:"",I,A)}));I.channel("undici:client:connectError").subscribe((u=>{const{connectParams:{version:A,protocol:I,port:B,host:Q},error:P}=u;i("connection to %s%s using %s%s errored - %s",Q,B?`:${B}`:"",I,A,P.message)}));I.channel("undici:client:sendHeaders").subscribe((u=>{const{request:{method:A,path:I,origin:B}}=u;i("sending request to %s %s/%s",A,B,I)}))}I.channel("undici:websocket:open").subscribe((i=>{const{address:{address:u,port:A}}=i;D("connection opened %s%s",u,A?`:${A}`:"")}));I.channel("undici:websocket:close").subscribe((i=>{const{websocket:u,code:A,reason:I}=i;D("closed connection to %s - %s %s",u.url,A,I)}));I.channel("undici:websocket:socket_error").subscribe((i=>{D("connection errored - %s",i.message)}));I.channel("undici:websocket:ping").subscribe((i=>{D("ping received")}));I.channel("undici:websocket:pong").subscribe((i=>{D("pong received")}))}i.exports={channels:U}},68707:i=>{"use strict";const u=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(i){super(i);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](i){return i&&i[u]===true}[u]=true}const A=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(i){super(i);this.name="ConnectTimeoutError";this.message=i||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[A]===true}[A]=true}const I=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(i){super(i);this.name="HeadersTimeoutError";this.message=i||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[I]===true}[I]=true}const B=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(i){super(i);this.name="HeadersOverflowError";this.message=i||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](i){return i&&i[B]===true}[B]=true}const Q=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(i){super(i);this.name="BodyTimeoutError";this.message=i||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[Q]===true}[Q]=true}const P=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(i,u,A,I){super(i);this.name="ResponseStatusCodeError";this.message=i||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=I;this.status=u;this.statusCode=u;this.headers=A}static[Symbol.hasInstance](i){return i&&i[P]===true}[P]=true}const D=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(i){super(i);this.name="InvalidArgumentError";this.message=i||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](i){return i&&i[D]===true}[D]=true}const L=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(i){super(i);this.name="InvalidReturnValueError";this.message=i||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](i){return i&&i[L]===true}[L]=true}const U=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(i){super(i);this.name="AbortError";this.message=i||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](i){return i&&i[U]===true}[U]=true}const G=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(i){super(i);this.name="AbortError";this.message=i||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](i){return i&&i[G]===true}[G]=true}const z=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(i){super(i);this.name="InformationalError";this.message=i||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](i){return i&&i[z]===true}[z]=true}const W=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(i){super(i);this.name="RequestContentLengthMismatchError";this.message=i||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](i){return i&&i[W]===true}[W]=true}const Y=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(i){super(i);this.name="ResponseContentLengthMismatchError";this.message=i||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](i){return i&&i[Y]===true}[Y]=true}const J=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(i){super(i);this.name="ClientDestroyedError";this.message=i||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](i){return i&&i[J]===true}[J]=true}const $=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(i){super(i);this.name="ClientClosedError";this.message=i||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](i){return i&&i[$]===true}[$]=true}const K=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(i,u){super(i);this.name="SocketError";this.message=i||"Socket error";this.code="UND_ERR_SOCKET";this.socket=u}static[Symbol.hasInstance](i){return i&&i[K]===true}[K]=true}const X=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(i){super(i);this.name="NotSupportedError";this.message=i||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](i){return i&&i[X]===true}[X]=true}const he=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(i){super(i);this.name="MissingUpstreamError";this.message=i||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](i){return i&&i[he]===true}[he]=true}const Ae=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(i,u,A){super(i);this.name="HTTPParserError";this.code=u?`HPE_${u}`:undefined;this.data=A?A.toString():undefined}static[Symbol.hasInstance](i){return i&&i[Ae]===true}[Ae]=true}const ye=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(i){super(i);this.name="ResponseExceededMaxSizeError";this.message=i||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](i){return i&&i[ye]===true}[ye]=true}const be=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(i,u,{headers:A,data:I}){super(i);this.name="RequestRetryError";this.message=i||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=u;this.data=I;this.headers=A}static[Symbol.hasInstance](i){return i&&i[be]===true}[be]=true}const Ee=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(i,u,{headers:A,data:I}){super(i);this.name="ResponseError";this.message=i||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=u;this.data=I;this.headers=A}static[Symbol.hasInstance](i){return i&&i[Ee]===true}[Ee]=true}const Ce=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(i,u,A){super(u,{cause:i,...A??{}});this.name="SecureProxyConnectionError";this.message=u||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=i}static[Symbol.hasInstance](i){return i&&i[Ce]===true}[Ce]=true}const we=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class MessageSizeExceededError extends UndiciError{constructor(i){super(i);this.name="MessageSizeExceededError";this.message=i||"Max decompressed message size exceeded";this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](i){return i&&i[we]===true}get[we](){return true}}i.exports={AbortError:AbortError,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,ResponseError:ResponseError,SecureProxyConnectionError:SecureProxyConnectionError,MessageSizeExceededError:MessageSizeExceededError}},44655:(i,u,A)=>{"use strict";const{InvalidArgumentError:I,NotSupportedError:B}=A(68707);const Q=A(34589);const{isValidHTTPToken:P,isValidHeaderValue:D,isStream:L,destroy:U,isBuffer:G,isFormDataLike:z,isIterable:W,isBlobLike:Y,buildURL:J,validateHandler:$,getServerName:K,normalizedMethodRecords:X}=A(3440);const{channels:he}=A(42414);const{headerNameLowerCasedRecord:Ae}=A(10735);const ye=/[^\u0021-\u00ff]/;const be=Symbol("handler");class Request{constructor(i,{path:u,method:A,body:B,headers:Q,query:Ae,idempotent:Ee,blocking:Ce,upgrade:we,headersTimeout:ve,bodyTimeout:Se,reset:Re,throwOnError:Ne,expectContinue:_e,servername:Oe},xe){if(typeof u!=="string"){throw new I("path must be a string")}else if(u[0]!=="/"&&!(u.startsWith("http://")||u.startsWith("https://"))&&A!=="CONNECT"){throw new I("path must be an absolute URL or start with a slash")}else if(ye.test(u)){throw new I("invalid request path")}if(typeof A!=="string"){throw new I("method must be a string")}else if(X[A]===undefined&&!P(A)){throw new I("invalid request method")}if(we&&typeof we!=="string"){throw new I("upgrade must be a string")}if(we&&!D(we)){throw new I("invalid upgrade header")}if(ve!=null&&(!Number.isFinite(ve)||ve<0)){throw new I("invalid headersTimeout")}if(Se!=null&&(!Number.isFinite(Se)||Se<0)){throw new I("invalid bodyTimeout")}if(Re!=null&&typeof Re!=="boolean"){throw new I("invalid reset")}if(_e!=null&&typeof _e!=="boolean"){throw new I("invalid expectContinue")}this.headersTimeout=ve;this.bodyTimeout=Se;this.throwOnError=Ne===true;this.method=A;this.abort=null;if(B==null){this.body=null}else if(L(B)){this.body=B;const i=this.body._readableState;if(!i||!i.autoDestroy){this.endHandler=function autoDestroy(){U(this)};this.body.on("end",this.endHandler)}this.errorHandler=i=>{if(this.abort){this.abort(i)}else{this.error=i}};this.body.on("error",this.errorHandler)}else if(G(B)){this.body=B.byteLength?B:null}else if(ArrayBuffer.isView(B)){this.body=B.buffer.byteLength?Buffer.from(B.buffer,B.byteOffset,B.byteLength):null}else if(B instanceof ArrayBuffer){this.body=B.byteLength?Buffer.from(B):null}else if(typeof B==="string"){this.body=B.length?Buffer.from(B):null}else if(z(B)||W(B)||Y(B)){this.body=B}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=we||null;this.path=Ae?J(u,Ae):u;this.origin=i;this.idempotent=Ee==null?A==="HEAD"||A==="GET":Ee;this.blocking=Ce==null?false:Ce;this.reset=Re==null?null:Re;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=_e!=null?_e:false;if(Array.isArray(Q)){if(Q.length%2!==0){throw new I("headers array must be even")}for(let i=0;i{i.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"),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"),kBody:Symbol("abstracted request body"),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"),kResume:Symbol("resume"),kOnError:Symbol("on error"),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"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}},67752:(i,u,A)=>{"use strict";const{wellknownHeaderNames:I,headerNameLowerCasedRecord:B}=A(10735);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(i,u,A){if(A===undefined||A>=i.length){throw new TypeError("Unreachable")}const I=this.code=i.charCodeAt(A);if(I>127){throw new TypeError("key must be ascii string")}if(i.length!==++A){this.middle=new TstNode(i,u,A)}else{this.value=u}}add(i,u){const A=i.length;if(A===0){throw new TypeError("Unreachable")}let I=0;let B=this;while(true){const Q=i.charCodeAt(I);if(Q>127){throw new TypeError("key must be ascii string")}if(B.code===Q){if(A===++I){B.value=u;break}else if(B.middle!==null){B=B.middle}else{B.middle=new TstNode(i,u,I);break}}else if(B.code=65){B|=32}while(I!==null){if(B===I.code){if(u===++A){return I}I=I.middle;break}I=I.code{"use strict";const I=A(34589);const{kDestroyed:B,kBodyUsed:Q,kListeners:P,kBody:D}=A(36443);const{IncomingMessage:L}=A(37067);const U=A(57075);const G=A(77030);const{Blob:z}=A(4573);const W=A(57975);const{stringify:Y}=A(41792);const{EventEmitter:J}=A(78474);const{InvalidArgumentError:$}=A(68707);const{headerNameLowerCasedRecord:K}=A(10735);const{tree:X}=A(67752);const[he,Ae]=process.versions.node.split(".").map((i=>Number(i)));class BodyAsyncIterable{constructor(i){this[D]=i;this[Q]=false}async*[Symbol.asyncIterator](){I(!this[Q],"disturbed");this[Q]=true;yield*this[D]}}function wrapRequestBody(i){if(isStream(i)){if(bodyLength(i)===0){i.on("data",(function(){I(false)}))}if(typeof i.readableDidRead!=="boolean"){i[Q]=false;J.prototype.on.call(i,"data",(function(){this[Q]=true}))}return i}else if(i&&typeof i.pipeTo==="function"){return new BodyAsyncIterable(i)}else if(i&&typeof i!=="string"&&!ArrayBuffer.isView(i)&&isIterable(i)){return new BodyAsyncIterable(i)}else{return i}}function nop(){}function isStream(i){return i&&typeof i==="object"&&typeof i.pipe==="function"&&typeof i.on==="function"}function isBlobLike(i){if(i===null){return false}else if(i instanceof z){return true}else if(typeof i!=="object"){return false}else{const u=i[Symbol.toStringTag];return(u==="Blob"||u==="File")&&("stream"in i&&typeof i.stream==="function"||"arrayBuffer"in i&&typeof i.arrayBuffer==="function")}}function buildURL(i,u){if(i.includes("?")||i.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const A=Y(u);if(A){i+="?"+A}return i}function isValidPort(i){const u=parseInt(i,10);return u===Number(i)&&u>=0&&u<=65535}function isHttpOrHttpsPrefixed(i){return i!=null&&i[0]==="h"&&i[1]==="t"&&i[2]==="t"&&i[3]==="p"&&(i[4]===":"||i[4]==="s"&&i[5]===":")}function parseURL(i){if(typeof i==="string"){i=new URL(i);if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new $("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}if(!i||typeof i!=="object"){throw new $("Invalid URL: The URL argument must be a non-null object.")}if(!(i instanceof URL)){if(i.port!=null&&i.port!==""&&isValidPort(i.port)===false){throw new $("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(i.path!=null&&typeof i.path!=="string"){throw new $("Invalid URL path: the path must be a string or null/undefined.")}if(i.pathname!=null&&typeof i.pathname!=="string"){throw new $("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(i.hostname!=null&&typeof i.hostname!=="string"){throw new $("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(i.origin!=null&&typeof i.origin!=="string"){throw new $("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new $("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const u=i.port!=null?i.port:i.protocol==="https:"?443:80;let A=i.origin!=null?i.origin:`${i.protocol||""}//${i.hostname||""}:${u}`;let I=i.path!=null?i.path:`${i.pathname||""}${i.search||""}`;if(A[A.length-1]==="/"){A=A.slice(0,A.length-1)}if(I&&I[0]!=="/"){I=`/${I}`}return new URL(`${A}${I}`)}if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new $("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}function parseOrigin(i){i=parseURL(i);if(i.pathname!=="/"||i.search||i.hash){throw new $("invalid url")}return i}function getHostname(i){if(i[0]==="["){const u=i.indexOf("]");I(u!==-1);return i.substring(1,u)}const u=i.indexOf(":");if(u===-1)return i;return i.substring(0,u)}function getServerName(i){if(!i){return null}I(typeof i==="string");const u=getHostname(i);if(G.isIP(u)){return""}return u}function deepClone(i){return JSON.parse(JSON.stringify(i))}function isAsyncIterable(i){return!!(i!=null&&typeof i[Symbol.asyncIterator]==="function")}function isIterable(i){return!!(i!=null&&(typeof i[Symbol.iterator]==="function"||typeof i[Symbol.asyncIterator]==="function"))}function bodyLength(i){if(i==null){return 0}else if(isStream(i)){const u=i._readableState;return u&&u.objectMode===false&&u.ended===true&&Number.isFinite(u.length)?u.length:null}else if(isBlobLike(i)){return i.size!=null?i.size:null}else if(isBuffer(i)){return i.byteLength}return null}function isDestroyed(i){return i&&!!(i.destroyed||i[B]||U.isDestroyed?.(i))}function destroy(i,u){if(i==null||!isStream(i)||isDestroyed(i)){return}if(typeof i.destroy==="function"){if(Object.getPrototypeOf(i).constructor===L){i.socket=null}i.destroy(u)}else if(u){queueMicrotask((()=>{i.emit("error",u)}))}if(i.destroyed!==true){i[B]=true}}const ye=/timeout=(\d+)/;function parseKeepAliveTimeout(i){const u=i.toString().match(ye);return u?parseInt(u[1],10)*1e3:null}function headerNameToString(i){return typeof i==="string"?K[i]??i.toLowerCase():X.lookup(i)??i.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(i){return X.lookup(i)??i.toString("latin1").toLowerCase()}function parseHeaders(i,u){if(u===undefined)u={};for(let A=0;Ai.toString("utf8"))):B.toString("utf8")}}}if("content-length"in u&&"content-disposition"in u){u["content-disposition"]=Buffer.from(u["content-disposition"]).toString("latin1")}return u}function parseRawHeaders(i){const u=i.length;const A=new Array(u);let I=false;let B=-1;let Q;let P;let D=0;for(let u=0;u{i.close();i.byobRequest?.respond(0)}))}else{const u=Buffer.isBuffer(I)?I:Buffer.from(I);if(u.byteLength){i.enqueue(new Uint8Array(u))}}return i.desiredSize>0},async cancel(i){await u.return()},type:"bytes"})}function isFormDataLike(i){return i&&typeof i==="object"&&typeof i.append==="function"&&typeof i.delete==="function"&&typeof i.get==="function"&&typeof i.getAll==="function"&&typeof i.has==="function"&&typeof i.set==="function"&&i[Symbol.toStringTag]==="FormData"}function addAbortListener(i,u){if("addEventListener"in i){i.addEventListener("abort",u,{once:true});return()=>i.removeEventListener("abort",u)}i.addListener("abort",u);return()=>i.removeListener("abort",u)}const be=typeof String.prototype.toWellFormed==="function";const Ee=typeof String.prototype.isWellFormed==="function";function toUSVString(i){return be?`${i}`.toWellFormed():W.toUSVString(i)}function isUSVString(i){return Ee?`${i}`.isWellFormed():toUSVString(i)===`${i}`}function isTokenCharCode(i){switch(i){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 i>=33&&i<=126}}function isValidHTTPToken(i){if(i.length===0){return false}for(let u=0;u{"use strict";const{InvalidArgumentError:I}=A(68707);const{kClients:B,kRunning:Q,kClose:P,kDestroy:D,kDispatch:L,kInterceptors:U}=A(36443);const G=A(21841);const z=A(30628);const W=A(23701);const Y=A(3440);const J=A(25092);const $=Symbol("onConnect");const K=Symbol("onDisconnect");const X=Symbol("onConnectionError");const he=Symbol("maxRedirections");const Ae=Symbol("onDrain");const ye=Symbol("factory");const be=Symbol("options");function defaultFactory(i,u){return u&&u.connections===1?new W(i,u):new z(i,u)}class Agent extends G{constructor({factory:i=defaultFactory,maxRedirections:u=0,connect:A,...Q}={}){if(typeof i!=="function"){throw new I("factory must be a function.")}if(A!=null&&typeof A!=="function"&&typeof A!=="object"){throw new I("connect must be a function or an object")}if(!Number.isInteger(u)||u<0){throw new I("maxRedirections must be a positive number")}super(Q);if(A&&typeof A!=="function"){A={...A}}this[U]=Q.interceptors?.Agent&&Array.isArray(Q.interceptors.Agent)?Q.interceptors.Agent:[J({maxRedirections:u})];this[be]={...Y.deepClone(Q),connect:A};this[be].interceptors=Q.interceptors?{...Q.interceptors}:undefined;this[he]=u;this[ye]=i;this[B]=new Map;this[Ae]=(i,u)=>{this.emit("drain",i,[this,...u])};this[$]=(i,u)=>{this.emit("connect",i,[this,...u])};this[K]=(i,u,A)=>{this.emit("disconnect",i,[this,...u],A)};this[X]=(i,u,A)=>{this.emit("connectionError",i,[this,...u],A)}}get[Q](){let i=0;for(const u of this[B].values()){i+=u[Q]}return i}[L](i,u){let A;if(i.origin&&(typeof i.origin==="string"||i.origin instanceof URL)){A=String(i.origin)}else{throw new I("opts.origin must be a non-empty string or URL.")}let Q=this[B].get(A);if(!Q){Q=this[ye](i.origin,this[be]).on("drain",this[Ae]).on("connect",this[$]).on("disconnect",this[K]).on("connectionError",this[X]);this[B].set(A,Q)}return Q.dispatch(i,u)}async[P](){const i=[];for(const u of this[B].values()){i.push(u.close())}this[B].clear();await Promise.all(i)}async[D](i){const u=[];for(const A of this[B].values()){u.push(A.destroy(i))}this[B].clear();await Promise.all(u)}}i.exports=Agent},837:(i,u,A)=>{"use strict";const{BalancedPoolMissingUpstreamError:I,InvalidArgumentError:B}=A(68707);const{PoolBase:Q,kClients:P,kNeedDrain:D,kAddClient:L,kRemoveClient:U,kGetDispatcher:G}=A(42128);const z=A(30628);const{kUrl:W,kInterceptors:Y}=A(36443);const{parseOrigin:J}=A(3440);const $=Symbol("factory");const K=Symbol("options");const X=Symbol("kGreatestCommonDivisor");const he=Symbol("kCurrentWeight");const Ae=Symbol("kIndex");const ye=Symbol("kWeight");const be=Symbol("kMaxWeightPerServer");const Ee=Symbol("kErrorPenalty");function getGreatestCommonDivisor(i,u){if(i===0)return u;while(u!==0){const A=u;u=i%u;i=A}return i}function defaultFactory(i,u){return new z(i,u)}class BalancedPool extends Q{constructor(i=[],{factory:u=defaultFactory,...A}={}){super();this[K]=A;this[Ae]=-1;this[he]=0;this[be]=this[K].maxWeightPerServer||100;this[Ee]=this[K].errorPenalty||15;if(!Array.isArray(i)){i=[i]}if(typeof u!=="function"){throw new B("factory must be a function.")}this[Y]=A.interceptors?.BalancedPool&&Array.isArray(A.interceptors.BalancedPool)?A.interceptors.BalancedPool:[];this[$]=u;for(const u of i){this.addUpstream(u)}this._updateBalancedPoolStats()}addUpstream(i){const u=J(i).origin;if(this[P].find((i=>i[W].origin===u&&i.closed!==true&&i.destroyed!==true))){return this}const A=this[$](u,Object.assign({},this[K]));this[L](A);A.on("connect",(()=>{A[ye]=Math.min(this[be],A[ye]+this[Ee])}));A.on("connectionError",(()=>{A[ye]=Math.max(1,A[ye]-this[Ee]);this._updateBalancedPoolStats()}));A.on("disconnect",((...i)=>{const u=i[2];if(u&&u.code==="UND_ERR_SOCKET"){A[ye]=Math.max(1,A[ye]-this[Ee]);this._updateBalancedPoolStats()}}));for(const i of this[P]){i[ye]=this[be]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let i=0;for(let u=0;ui[W].origin===u&&i.closed!==true&&i.destroyed!==true));if(A){this[U](A)}return this}get upstreams(){return this[P].filter((i=>i.closed!==true&&i.destroyed!==true)).map((i=>i[W].origin))}[G](){if(this[P].length===0){throw new I}const i=this[P].find((i=>!i[D]&&i.closed!==true&&i.destroyed!==true));if(!i){return}const u=this[P].map((i=>i[D])).reduce(((i,u)=>i&&u),true);if(u){return}let A=0;let B=this[P].findIndex((i=>!i[D]));while(A++this[P][B][ye]&&!i[D]){B=this[Ae]}if(this[Ae]===0){this[he]=this[he]-this[X];if(this[he]<=0){this[he]=this[be]}}if(i[ye]>=this[he]&&!i[D]){return i}}this[he]=this[P][B][ye];this[Ae]=B;return this[P][B]}}i.exports=BalancedPool},637:(i,u,A)=>{"use strict";const I=A(34589);const B=A(3440);const{channels:Q}=A(42414);const P=A(96603);const{RequestContentLengthMismatchError:D,ResponseContentLengthMismatchError:L,RequestAbortedError:U,HeadersTimeoutError:G,HeadersOverflowError:z,SocketError:W,InformationalError:Y,BodyTimeoutError:J,HTTPParserError:$,ResponseExceededMaxSizeError:K}=A(68707);const{kUrl:X,kReset:he,kClient:Ae,kParser:ye,kBlocking:be,kRunning:Ee,kPending:Ce,kSize:we,kWriting:ve,kQueue:Se,kNoRef:Re,kKeepAliveDefaultTimeout:Ne,kHostHeader:_e,kPendingIdx:Oe,kRunningIdx:xe,kError:ke,kPipelining:Qe,kSocket:Pe,kKeepAliveTimeoutValue:De,kMaxHeadersSize:Me,kKeepAliveMaxTimeout:Fe,kKeepAliveTimeoutThreshold:Ue,kHeadersTimeout:je,kBodyTimeout:He,kStrictContentLength:Ge,kMaxRequests:qe,kCounter:ze,kMaxResponseSize:Je,kOnError:$e,kResume:Ke,kHTTPContext:Xe}=A(36443);const st=A(52824);const ut=Buffer.alloc(0);const dt=Buffer[Symbol.species];const pt=B.addListener;const mt=B.removeAllListeners;const yt=Symbol("kIdleSocketValidation");const bt=Symbol("kIdleSocketValidationTimeout");const Et=Symbol("kSocketUsed");let Bt;async function lazyllhttp(){const i=process.env.JEST_WORKER_ID?A(63870):undefined;let u;try{u=await WebAssembly.compile(A(53434))}catch(I){u=await WebAssembly.compile(i||A(63870))}return await WebAssembly.instantiate(u,{env:{wasm_on_url:(i,u,A)=>0,wasm_on_status:(i,u,A)=>{I(er.ptr===i);const B=u-nr+tr.byteOffset;return er.onStatus(new dt(tr.buffer,B,A))||0},wasm_on_message_begin:i=>{I(er.ptr===i);return er.onMessageBegin()||0},wasm_on_header_field:(i,u,A)=>{I(er.ptr===i);const B=u-nr+tr.byteOffset;return er.onHeaderField(new dt(tr.buffer,B,A))||0},wasm_on_header_value:(i,u,A)=>{I(er.ptr===i);const B=u-nr+tr.byteOffset;return er.onHeaderValue(new dt(tr.buffer,B,A))||0},wasm_on_headers_complete:(i,u,A,B)=>{I(er.ptr===i);return er.onHeadersComplete(u,Boolean(A),Boolean(B))||0},wasm_on_body:(i,u,A)=>{I(er.ptr===i);const B=u-nr+tr.byteOffset;return er.onBody(new dt(tr.buffer,B,A))||0},wasm_on_message_complete:i=>{I(er.ptr===i);return er.onMessageComplete()||0}}})}let Nt=null;let Ot=lazyllhttp();Ot.catch();let er=null;let tr=null;let rr=0;let nr=null;const ir=0;const hr=1;const Ar=2|hr;const gr=4|hr;const yr=8|ir;class Parser{constructor(i,u,{exports:A}){I(Number.isFinite(i[Me])&&i[Me]>0);this.llhttp=A;this.ptr=this.llhttp.llhttp_alloc(st.TYPE.RESPONSE);this.client=i;this.socket=u;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=i[Me];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=i[Je]}setTimeout(i,u){if(i!==this.timeoutValue||u&hr^this.timeoutType&hr){if(this.timeout){P.clearTimeout(this.timeout);this.timeout=null}if(i){if(u&hr){this.timeout=P.setFastTimeout(onParserTimeout,i,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,i,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=i}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=u}resume(){if(this.socket.destroyed||!this.paused){return}I(this.ptr!=null);I(er==null);this.llhttp.llhttp_resume(this.ptr);I(this.timeoutType===gr);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||ut);this.readMore()}readMore(){while(!this.paused&&this.ptr){const i=this.socket.read();if(i===null){break}this.execute(i)}}execute(i){I(this.ptr!=null);I(er==null);I(!this.paused);const{socket:u,llhttp:A}=this;if(i.length>rr){if(nr){A.free(nr)}rr=Math.ceil(i.length/4096)*4096;nr=A.malloc(rr)}new Uint8Array(A.memory.buffer,nr,rr).set(i);try{let I;try{tr=i;er=this;I=A.llhttp_execute(this.ptr,nr,i.length)}catch(i){throw i}finally{er=null;tr=null}const B=A.llhttp_get_error_pos(this.ptr)-nr;if(I!==st.ERROR.OK){const A=i.subarray(B);if(I===st.ERROR.PAUSED_UPGRADE){this.onUpgrade(A)}else if(I===st.ERROR.PAUSED){this.paused=true;u.unshift(A)}else{throw this.createError(I,A)}}}catch(i){B.destroy(u,i)}}finish(){I(er===null);I(this.ptr!=null);I(!this.paused);const{llhttp:i}=this;let u;try{er=this;u=i.llhttp_finish(this.ptr)}finally{er=null}if(u===st.ERROR.OK){return null}if(u===st.ERROR.PAUSED||u===st.ERROR.PAUSED_UPGRADE){this.paused=true;return null}return this.createError(u,ut)}createError(i,u){const{llhttp:A,contentLength:I,bytesRead:B}=this;if(I&&B!==parseInt(I,10)){return new L}const Q=A.llhttp_get_error_reason(this.ptr);let P="";if(Q){const i=new Uint8Array(A.memory.buffer,Q).indexOf(0);P="Response does not match the HTTP/1.1 protocol ("+Buffer.from(A.memory.buffer,Q,i).toString()+")"}return new $(P,st.ERROR[i],u)}destroy(){I(this.ptr!=null);I(er==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&P.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(i){this.statusText=i.toString()}onMessageBegin(){const{socket:i,client:u}=this;if(i.destroyed){return-1}if(u[Ee]===0){B.destroy(i,new W("bad response",B.getSocketInfo(i)));return-1}const A=u[Se][u[xe]];if(!A){return-1}A.onResponseStarted()}onHeaderField(i){const u=this.headers.length;if((u&1)===0){this.headers.push(i)}else{this.headers[u-1]=Buffer.concat([this.headers[u-1],i])}this.trackHeader(i.length)}onHeaderValue(i){let u=this.headers.length;if((u&1)===1){this.headers.push(i);u+=1}else{this.headers[u-1]=Buffer.concat([this.headers[u-1],i])}const A=this.headers[u-2];if(A.length===10){const u=B.bufferToLowerCasedHeaderName(A);if(u==="keep-alive"){this.keepAlive+=i.toString()}else if(u==="connection"){this.connection+=i.toString()}}else if(A.length===14&&B.bufferToLowerCasedHeaderName(A)==="content-length"){this.contentLength+=i.toString()}this.trackHeader(i.length)}trackHeader(i){this.headersSize+=i;if(this.headersSize>=this.headersMaxSize){B.destroy(this.socket,new z)}}onUpgrade(i){const{upgrade:u,client:A,socket:Q,headers:P,statusCode:D}=this;I(u);I(A[Pe]===Q);I(!Q.destroyed);I(!this.paused);I((P.length&1)===0);const L=A[Se][A[xe]];I(L);I(L.upgrade||L.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;Q.unshift(i);Q[ye].destroy();Q[ye]=null;Q[Ae]=null;Q[ke]=null;mt(Q);A[Pe]=null;A[Xe]=null;A[Se][A[xe]++]=null;A.emit("disconnect",A[X],[A],new Y("upgrade"));try{L.onUpgrade(D,P,Q)}catch(i){B.destroy(Q,i)}A[Ke]()}onHeadersComplete(i,u,A){const{client:Q,socket:P,headers:D,statusText:L}=this;if(P.destroyed){return-1}if(Q[Ee]===0){B.destroy(P,new W("bad response",B.getSocketInfo(P)));return-1}const U=Q[Se][Q[xe]];if(!U){return-1}I(!this.upgrade);I(this.statusCode<200);if(i===100){B.destroy(P,new W("bad response",B.getSocketInfo(P)));return-1}if(u&&!U.upgrade){B.destroy(P,new W("bad upgrade",B.getSocketInfo(P)));return-1}I(this.timeoutType===Ar);this.statusCode=i;this.shouldKeepAlive=A||U.method==="HEAD"&&!P[he]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const i=U.bodyTimeout!=null?U.bodyTimeout:Q[He];this.setTimeout(i,gr)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(U.method==="CONNECT"){I(Q[Ee]===1);this.upgrade=true;return 2}if(u){I(Q[Ee]===1);this.upgrade=true;return 2}I((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&Q[Qe]){const i=this.keepAlive?B.parseKeepAliveTimeout(this.keepAlive):null;if(i!=null){const u=Math.min(i-Q[Ue],Q[Fe]);if(u<=0){P[he]=true}else{Q[De]=u}}else{Q[De]=Q[Ne]}}else{P[he]=true}const G=U.onHeaders(i,D,this.resume,L)===false;if(U.aborted){return-1}if(U.method==="HEAD"){return 1}if(i<200){return 1}if(P[be]){P[be]=false;Q[Ke]()}return G?st.ERROR.PAUSED:0}onBody(i){const{client:u,socket:A,statusCode:Q,maxResponseSize:P}=this;if(A.destroyed){return-1}const D=u[Se][u[xe]];I(D);I(this.timeoutType===gr);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}I(Q>=200);if(P>-1&&this.bytesRead+i.length>P){B.destroy(A,new K);return-1}this.bytesRead+=i.length;if(D.onData(i)===false){return st.ERROR.PAUSED}}onMessageComplete(){const{client:i,socket:u,statusCode:A,upgrade:Q,headers:P,contentLength:D,bytesRead:U,shouldKeepAlive:G}=this;if(u.destroyed&&(!A||G)){return-1}if(Q){return}I(A>=100);I((this.headers.length&1)===0);const z=i[Se][i[xe]];I(z);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(A<200){return}if(z.method!=="HEAD"&&D&&U!==parseInt(D,10)){B.destroy(u,new L);return-1}z.onComplete(P);i[Se][i[xe]++]=null;u[Et]=true;if(u[ve]){I(i[Ee]===0);B.destroy(u,new Y("reset"));return st.ERROR.PAUSED}else if(!G){B.destroy(u,new Y("reset"));return st.ERROR.PAUSED}else if(u[he]&&i[Ee]===0){B.destroy(u,new Y("reset"));return st.ERROR.PAUSED}else if(i[Qe]==null||i[Qe]===1){setImmediate((()=>i[Ke]()))}else{i[Ke]()}}}function onParserTimeout(i){const{socket:u,timeoutType:A,client:Q,paused:P}=i.deref();if(A===Ar){if(!u[ve]||u.writableNeedDrain||Q[Ee]>1){I(!P,"cannot be paused while waiting for headers");B.destroy(u,new G)}}else if(A===gr){if(!P){B.destroy(u,new J)}}else if(A===yr){I(Q[Ee]===0&&Q[De]);B.destroy(u,new Y("socket idle timeout"))}}async function connectH1(i,u){i[Pe]=u;if(!Nt){Nt=await Ot;Ot=null}u[Re]=false;u[ve]=false;u[he]=false;u[be]=false;u[yt]=0;u[bt]=null;u[Et]=false;u[ye]=new Parser(i,u,Nt);pt(u,"error",(function(i){I(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");const u=this[ye];if(i.code==="ECONNRESET"&&u.statusCode&&!u.shouldKeepAlive){const i=u.finish();if(i){this[ke]=i;this[Ae][$e](i)}return}this[ke]=i;this[Ae][$e](i)}));pt(u,"readable",(function(){const i=this[ye];if(i){i.readMore()}}));pt(u,"end",(function(){const i=this[ye];if(i.statusCode&&!i.shouldKeepAlive){const u=i.finish();if(u){B.destroy(this,u)}return}B.destroy(this,new W("other side closed",B.getSocketInfo(this)))}));pt(u,"close",(function(){const i=this[Ae];const u=this[ye];clearIdleSocketValidation(this);if(u){if(!this[ke]&&u.statusCode&&!u.shouldKeepAlive){this[ke]=u.finish()||this[ke]}this[ye].destroy();this[ye]=null}const A=this[ke]||new W("closed",B.getSocketInfo(this));i[Pe]=null;i[Xe]=null;if(i.destroyed){I(i[Ce]===0);const u=i[Se].splice(i[xe]);for(let I=0;I0&&A.code!=="UND_ERR_INFO"){const u=i[Se][i[xe]];i[Se][i[xe]++]=null;B.errorRequest(i,u,A)}i[Oe]=i[xe];I(i[Ee]===0);i.emit("disconnect",i[X],[i],A);i[Ke]()}));let A=false;u.on("close",(()=>{A=true}));return{version:"h1",defaultPipelining:1,write(...u){return writeH1(i,...u)},resume(){resumeH1(i)},destroy(i,I){if(A){queueMicrotask(I)}else{u.destroy(i).on("close",I)}},get destroyed(){return u.destroyed},busy(A){if(u[ve]||u[he]||u[be]||u[yt]===1){return true}if(A){if(i[Ee]>0&&!A.idempotent){return true}if(i[Ee]>0&&(A.upgrade||A.method==="CONNECT")){return true}if(i[Ee]>0&&B.bodyLength(A.body)!==0&&(B.isStream(A.body)||B.isAsyncIterable(A.body)||B.isFormDataLike(A.body))){return true}}return false}}}function clearIdleSocketValidation(i){if(i[bt]){clearTimeout(i[bt]);i[bt]=null}i[yt]=0}function scheduleIdleSocketValidation(i,u){u[yt]=1;u[bt]=setTimeout((()=>{u[bt]=null;u[yt]=2;if(i[Pe]===u&&!u.destroyed){i[Ke]()}}),0);u[bt].unref?.()}function resumeH1(i){const u=i[Pe];if(u&&!u.destroyed){if(i[we]===0){if(!u[Re]&&u.unref){u.unref();u[Re]=true}}else if(u[Re]&&u.ref){u.ref();u[Re]=false}if(i[Ee]===0&&i[Ce]>0&&u[Et]){if(u[yt]===0){scheduleIdleSocketValidation(i,u);u[ye].readMore();if(u.destroyed){return}return}if(u[yt]===1){u[ye].readMore();if(u.destroyed){return}return}}if(i[Ee]===0){u[ye].readMore();if(u.destroyed){return}}if(i[we]===0){if(u[ye].timeoutType!==yr){u[ye].setTimeout(i[De],yr)}}else if(i[Ee]>0&&u[ye].statusCode<200){if(u[ye].timeoutType!==Ar){const A=i[Se][i[xe]];const I=A.headersTimeout!=null?A.headersTimeout:i[je];u[ye].setTimeout(I,Ar)}}}}function shouldSendContentLength(i){return i!=="GET"&&i!=="HEAD"&&i!=="OPTIONS"&&i!=="TRACE"&&i!=="CONNECT"}function writeH1(i,u){const{method:P,path:L,host:G,upgrade:z,blocking:W,reset:J}=u;let{body:$,headers:K,contentLength:X}=u;const Ae=P==="PUT"||P==="POST"||P==="PATCH"||P==="QUERY"||P==="PROPFIND"||P==="PROPPATCH";if(B.isFormDataLike($)){if(!Bt){Bt=A(84492).extractBody}const[i,I]=Bt($);if(u.contentType==null){K.push("content-type",I)}$=i.stream;X=i.length}else if(B.isBlobLike($)&&u.contentType==null&&$.type){K.push("content-type",$.type)}if($&&typeof $.read==="function"){$.read(0)}const ye=B.bodyLength($);X=ye??X;if(X===null){X=u.contentLength}if(X===0&&!Ae){X=null}if(shouldSendContentLength(P)&&X>0&&u.contentLength!==null&&u.contentLength!==X){if(i[Ge]){B.errorRequest(i,u,new D);return false}process.emitWarning(new D)}const Ee=i[Pe];clearIdleSocketValidation(Ee);const abort=A=>{if(u.aborted||u.completed){return}B.errorRequest(i,u,A||new U);B.destroy($);B.destroy(Ee,new Y("aborted"))};try{u.onConnect(abort)}catch(A){B.errorRequest(i,u,A)}if(u.aborted){return false}if(P==="HEAD"){Ee[he]=true}if(z||P==="CONNECT"){Ee[he]=true}if(J!=null){Ee[he]=J}if(i[qe]&&Ee[ze]++>=i[qe]){Ee[he]=true}if(W){Ee[be]=true}let Ce=`${P} ${L} HTTP/1.1\r\n`;if(typeof G==="string"){Ce+=`host: ${G}\r\n`}else{Ce+=i[_e]}if(z){Ce+=`connection: upgrade\r\nupgrade: ${z}\r\n`}else if(i[Qe]&&!Ee[he]){Ce+="connection: keep-alive\r\n"}else{Ce+="connection: close\r\n"}if(Array.isArray(K)){for(let i=0;i{u.removeListener("error",onFinished)}));if(!z){const i=new U;queueMicrotask((()=>onFinished(i)))}};const onFinished=function(i){if(z){return}z=true;I(P.destroyed||P[ve]&&A[Ee]<=1);P.off("drain",onDrain).off("error",onFinished);u.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!i){try{W.end()}catch(u){i=u}}W.destroy(i);if(i&&(i.code!=="UND_ERR_INFO"||i.message!=="reset")){B.destroy(u,i)}else{B.destroy(u)}};u.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(u.resume){u.resume()}P.on("drain",onDrain).on("error",onFinished);if(u.errorEmitted??u.errored){setImmediate((()=>onFinished(u.errored)))}else if(u.endEmitted??u.readableEnded){setImmediate((()=>onFinished(null)))}if(u.closeEmitted??u.closed){setImmediate(onClose)}}function writeBuffer(i,u,A,Q,P,D,L,U){try{if(!u){if(D===0){P.write(`${L}content-length: 0\r\n\r\n`,"latin1")}else{I(D===null,"no body must not have content length");P.write(`${L}\r\n`,"latin1")}}else if(B.isBuffer(u)){I(D===u.byteLength,"buffer body must have content length");P.cork();P.write(`${L}content-length: ${D}\r\n\r\n`,"latin1");P.write(u);P.uncork();Q.onBodySent(u);if(!U&&Q.reset!==false){P[he]=true}}Q.onRequestSent();A[Ke]()}catch(u){i(u)}}async function writeBlob(i,u,A,B,Q,P,L,U){I(P===u.size,"blob body must have content length");try{if(P!=null&&P!==u.size){throw new D}const i=Buffer.from(await u.arrayBuffer());Q.cork();Q.write(`${L}content-length: ${P}\r\n\r\n`,"latin1");Q.write(i);Q.uncork();B.onBodySent(i);B.onRequestSent();if(!U&&B.reset!==false){Q[he]=true}A[Ke]()}catch(u){i(u)}}async function writeIterable(i,u,A,B,Q,P,D,L){I(P!==0||A[Ee]===0,"iterator body cannot be pipelined");let U=null;function onDrain(){if(U){const i=U;U=null;i()}}const waitForDrain=()=>new Promise(((i,u)=>{I(U===null);if(Q[ke]){u(Q[ke])}else{U=i}}));Q.on("close",onDrain).on("drain",onDrain);const G=new AsyncWriter({abort:i,socket:Q,request:B,contentLength:P,client:A,expectsPayload:L,header:D});try{for await(const i of u){if(Q[ke]){throw Q[ke]}if(!G.write(i)){await waitForDrain()}}G.end()}catch(i){G.destroy(i)}finally{Q.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:i,socket:u,request:A,contentLength:I,client:B,expectsPayload:Q,header:P}){this.socket=u;this.request=A;this.contentLength=I;this.client=B;this.bytesWritten=0;this.expectsPayload=Q;this.header=P;this.abort=i;u[ve]=true}write(i){const{socket:u,request:A,contentLength:I,client:B,bytesWritten:Q,expectsPayload:P,header:L}=this;if(u[ke]){throw u[ke]}if(u.destroyed){return false}const U=Buffer.byteLength(i);if(!U){return true}if(I!==null&&Q+U>I){if(B[Ge]){throw new D}process.emitWarning(new D)}u.cork();if(Q===0){if(!P&&A.reset!==false){u[he]=true}if(I===null){u.write(`${L}transfer-encoding: chunked\r\n`,"latin1")}else{u.write(`${L}content-length: ${I}\r\n\r\n`,"latin1")}}if(I===null){u.write(`\r\n${U.toString(16)}\r\n`,"latin1")}this.bytesWritten+=U;const G=u.write(i);u.uncork();A.onBodySent(i);if(!G){if(u[ye].timeout&&u[ye].timeoutType===Ar){if(u[ye].timeout.refresh){u[ye].timeout.refresh()}}}return G}end(){const{socket:i,contentLength:u,client:A,bytesWritten:I,expectsPayload:B,header:Q,request:P}=this;P.onRequestSent();i[ve]=false;if(i[ke]){throw i[ke]}if(i.destroyed){return}if(I===0){if(B){i.write(`${Q}content-length: 0\r\n\r\n`,"latin1")}else{i.write(`${Q}\r\n`,"latin1")}}else if(u===null){i.write("\r\n0\r\n\r\n","latin1")}if(u!==null&&I!==u){if(A[Ge]){throw new D}else{process.emitWarning(new D)}}if(i[ye].timeout&&i[ye].timeoutType===Ar){if(i[ye].timeout.refresh){i[ye].timeout.refresh()}}A[Ke]()}destroy(i){const{socket:u,client:A,abort:B}=this;u[ve]=false;if(i){I(A[Ee]<=1,"pipeline should only contain this request");B(i)}}}i.exports=connectH1},88788:(i,u,A)=>{"use strict";const I=A(34589);const{pipeline:B}=A(57075);const Q=A(3440);const{RequestContentLengthMismatchError:P,RequestAbortedError:D,SocketError:L,InformationalError:U}=A(68707);const{kUrl:G,kReset:z,kClient:W,kRunning:Y,kPending:J,kQueue:$,kPendingIdx:K,kRunningIdx:X,kError:he,kSocket:Ae,kStrictContentLength:ye,kOnError:be,kMaxConcurrentStreams:Ee,kHTTP2Session:Ce,kResume:we,kSize:ve,kHTTPContext:Se}=A(36443);const Re=Symbol("open streams");let Ne;let _e=false;let Oe;try{Oe=A(32467)}catch{Oe={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:xe,HTTP2_HEADER_METHOD:ke,HTTP2_HEADER_PATH:Qe,HTTP2_HEADER_SCHEME:Pe,HTTP2_HEADER_CONTENT_LENGTH:De,HTTP2_HEADER_EXPECT:Me,HTTP2_HEADER_STATUS:Fe}}=Oe;function parseH2Headers(i){const u=[];for(const[A,I]of Object.entries(i)){if(Array.isArray(I)){for(const i of I){u.push(Buffer.from(A),Buffer.from(i))}}else{u.push(Buffer.from(A),Buffer.from(I))}}return u}async function connectH2(i,u){i[Ae]=u;if(!_e){_e=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const A=Oe.connect(i[G],{createConnection:()=>u,peerMaxConcurrentStreams:i[Ee]});A[Re]=0;A[W]=i;A[Ae]=u;Q.addListener(A,"error",onHttp2SessionError);Q.addListener(A,"frameError",onHttp2FrameError);Q.addListener(A,"end",onHttp2SessionEnd);Q.addListener(A,"goaway",onHTTP2GoAway);Q.addListener(A,"close",(function(){const{[W]:i}=this;const{[Ae]:u}=i;const A=this[Ae][he]||this[he]||new L("closed",Q.getSocketInfo(u));i[Ce]=null;if(i.destroyed){I(i[J]===0);const u=i[$].splice(i[X]);for(let I=0;I{B=true}));return{version:"h2",defaultPipelining:Infinity,write(...u){return writeH2(i,...u)},resume(){resumeH2(i)},destroy(i,A){if(B){queueMicrotask(A)}else{u.destroy(i).on("close",A)}},get destroyed(){return u.destroyed},busy(){return false}}}function resumeH2(i){const u=i[Ae];if(u?.destroyed===false){if(i[ve]===0&&i[Ee]===0){u.unref();i[Ce].unref()}else{u.ref();i[Ce].ref()}}}function onHttp2SessionError(i){I(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[Ae][he]=i;this[W][be](i)}function onHttp2FrameError(i,u,A){if(A===0){const A=new U(`HTTP/2: "frameError" received - type ${i}, code ${u}`);this[Ae][he]=A;this[W][be](A)}}function onHttp2SessionEnd(){const i=new L("other side closed",Q.getSocketInfo(this[Ae]));this.destroy(i);Q.destroy(this[Ae],i)}function onHTTP2GoAway(i){const u=this[he]||new L(`HTTP/2: "GOAWAY" frame received with code ${i}`,Q.getSocketInfo(this));const A=this[W];A[Ae]=null;A[Se]=null;if(this[Ce]!=null){this[Ce].destroy(u);this[Ce]=null}Q.destroy(this[Ae],u);if(A[X]{if(u.aborted||u.completed){return}A=A||new D;Q.errorRequest(i,u,A);if(Se!=null){Q.destroy(Se,A)}Q.destroy(Ee,A);i[$][i[X]++]=null;i[we]()};try{u.onConnect(abort)}catch(A){Q.errorRequest(i,u,A)}if(u.aborted){return false}if(L==="CONNECT"){B.ref();Se=B.request(ve,{endStream:false,signal:he});if(Se.id&&!Se.pending){u.onUpgrade(null,null,Se);++B[Re];i[$][i[X]++]=null}else{Se.once("ready",(()=>{u.onUpgrade(null,null,Se);++B[Re];i[$][i[X]++]=null}))}Se.once("close",(()=>{B[Re]-=1;if(B[Re]===0)B.unref()}));return true}ve[Qe]=z;ve[Pe]="https";const Ue=L==="PUT"||L==="POST"||L==="PATCH";if(Ee&&typeof Ee.read==="function"){Ee.read(0)}let je=Q.bodyLength(Ee);if(Q.isFormDataLike(Ee)){Ne??=A(84492).extractBody;const[i,u]=Ne(Ee);ve["content-type"]=u;Ee=i.stream;je=i.length}if(je==null){je=u.contentLength}if(je===0||!Ue){je=null}if(shouldSendContentLength(L)&&je>0&&u.contentLength!=null&&u.contentLength!==je){if(i[ye]){Q.errorRequest(i,u,new P);return false}process.emitWarning(new P)}if(je!=null){I(Ee,"no body must not have content length");ve[De]=`${je}`}B.ref();const He=L==="GET"||L==="HEAD"||Ee===null;if(J){ve[Me]="100-continue";Se=B.request(ve,{endStream:He,signal:he});Se.once("continue",writeBodyH2)}else{Se=B.request(ve,{endStream:He,signal:he});writeBodyH2()}++B[Re];Se.once("response",(A=>{const{[Fe]:I,...B}=A;u.onResponseStarted();if(u.aborted){const A=new D;Q.errorRequest(i,u,A);Q.destroy(Se,A);return}if(u.onHeaders(Number(I),parseH2Headers(B),Se.resume.bind(Se),"")===false){Se.pause()}Se.on("data",(i=>{if(u.onData(i)===false){Se.pause()}}))}));Se.once("end",(()=>{if(Se.state?.state==null||Se.state.state<6){u.onComplete([])}if(B[Re]===0){B.unref()}abort(new U("HTTP/2: stream half-closed (remote)"));i[$][i[X]++]=null;i[K]=i[X];i[we]()}));Se.once("close",(()=>{B[Re]-=1;if(B[Re]===0){B.unref()}}));Se.once("error",(function(i){abort(i)}));Se.once("frameError",((i,u)=>{abort(new U(`HTTP/2: "frameError" received - type ${i}, code ${u}`))}));return true;function writeBodyH2(){if(!Ee||je===0){writeBuffer(abort,Se,null,i,u,i[Ae],je,Ue)}else if(Q.isBuffer(Ee)){writeBuffer(abort,Se,Ee,i,u,i[Ae],je,Ue)}else if(Q.isBlobLike(Ee)){if(typeof Ee.stream==="function"){writeIterable(abort,Se,Ee.stream(),i,u,i[Ae],je,Ue)}else{writeBlob(abort,Se,Ee,i,u,i[Ae],je,Ue)}}else if(Q.isStream(Ee)){writeStream(abort,i[Ae],Ue,Se,Ee,i,u,je)}else if(Q.isIterable(Ee)){writeIterable(abort,Se,Ee,i,u,i[Ae],je,Ue)}else{I(false)}}}function writeBuffer(i,u,A,B,P,D,L,U){try{if(A!=null&&Q.isBuffer(A)){I(L===A.byteLength,"buffer body must have content length");u.cork();u.write(A);u.uncork();u.end();P.onBodySent(A)}if(!U){D[z]=true}P.onRequestSent();B[we]()}catch(u){i(u)}}function writeStream(i,u,A,P,D,L,U,G){I(G!==0||L[Y]===0,"stream body cannot be pipelined");const W=B(D,P,(I=>{if(I){Q.destroy(W,I);i(I)}else{Q.removeAllListeners(W);U.onRequestSent();if(!A){u[z]=true}L[we]()}}));Q.addListener(W,"data",onPipeData);function onPipeData(i){U.onBodySent(i)}}async function writeBlob(i,u,A,B,Q,D,L,U){I(L===A.size,"blob body must have content length");try{if(L!=null&&L!==A.size){throw new P}const i=Buffer.from(await A.arrayBuffer());u.cork();u.write(i);u.uncork();u.end();Q.onBodySent(i);Q.onRequestSent();if(!U){D[z]=true}B[we]()}catch(u){i(u)}}async function writeIterable(i,u,A,B,Q,P,D,L){I(D!==0||B[Y]===0,"iterator body cannot be pipelined");let U=null;function onDrain(){if(U){const i=U;U=null;i()}}const waitForDrain=()=>new Promise(((i,u)=>{I(U===null);if(P[he]){u(P[he])}else{U=i}}));u.on("close",onDrain).on("drain",onDrain);try{for await(const i of A){if(P[he]){throw P[he]}const A=u.write(i);Q.onBodySent(i);if(!A){await waitForDrain()}}u.end();Q.onRequestSent();if(!L){P[z]=true}B[we]()}catch(u){i(u)}finally{u.off("close",onDrain).off("drain",onDrain)}}i.exports=connectH2},23701:(i,u,A)=>{"use strict";const I=A(34589);const B=A(77030);const Q=A(37067);const P=A(3440);const{channels:D}=A(42414);const L=A(44655);const U=A(21841);const{InvalidArgumentError:G,InformationalError:z,ClientDestroyedError:W}=A(68707);const Y=A(59136);const{kUrl:J,kServerName:$,kClient:K,kBusy:X,kConnect:he,kResuming:Ae,kRunning:ye,kPending:be,kSize:Ee,kQueue:Ce,kConnected:we,kConnecting:ve,kNeedDrain:Se,kKeepAliveDefaultTimeout:Re,kHostHeader:Ne,kPendingIdx:_e,kRunningIdx:Oe,kError:xe,kPipelining:ke,kKeepAliveTimeoutValue:Qe,kMaxHeadersSize:Pe,kKeepAliveMaxTimeout:De,kKeepAliveTimeoutThreshold:Me,kHeadersTimeout:Fe,kBodyTimeout:Ue,kStrictContentLength:je,kConnector:He,kMaxRedirections:Ge,kMaxRequests:qe,kCounter:ze,kClose:Je,kDestroy:$e,kDispatch:Ke,kInterceptors:Xe,kLocalAddress:st,kMaxResponseSize:ut,kOnError:dt,kHTTPContext:pt,kMaxConcurrentStreams:mt,kResume:yt}=A(36443);const bt=A(637);const Et=A(88788);let Bt=false;const Nt=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(i){return i[ke]??i[pt]?.defaultPipelining??1}class Client extends U{constructor(i,{interceptors:u,maxHeaderSize:A,headersTimeout:I,socketTimeout:D,requestTimeout:L,connectTimeout:U,bodyTimeout:z,idleTimeout:W,keepAlive:K,keepAliveTimeout:X,maxKeepAliveTimeout:he,keepAliveMaxTimeout:ye,keepAliveTimeoutThreshold:be,socketPath:Ee,pipelining:we,tls:ve,strictContentLength:xe,maxCachedSessions:ze,maxRedirections:Je,connect:$e,maxRequestsPerClient:Ke,localAddress:bt,maxResponseSize:Et,autoSelectFamily:er,autoSelectFamilyAttemptTimeout:tr,maxConcurrentStreams:rr,allowH2:nr,webSocket:ir}={}){super({webSocket:ir});if(K!==undefined){throw new G("unsupported keepAlive, use pipelining=0 instead")}if(D!==undefined){throw new G("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(L!==undefined){throw new G("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(W!==undefined){throw new G("unsupported idleTimeout, use keepAliveTimeout instead")}if(he!==undefined){throw new G("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(A!=null&&!Number.isFinite(A)){throw new G("invalid maxHeaderSize")}if(Ee!=null&&typeof Ee!=="string"){throw new G("invalid socketPath")}if(U!=null&&(!Number.isFinite(U)||U<0)){throw new G("invalid connectTimeout")}if(X!=null&&(!Number.isFinite(X)||X<=0)){throw new G("invalid keepAliveTimeout")}if(ye!=null&&(!Number.isFinite(ye)||ye<=0)){throw new G("invalid keepAliveMaxTimeout")}if(be!=null&&!Number.isFinite(be)){throw new G("invalid keepAliveTimeoutThreshold")}if(I!=null&&(!Number.isInteger(I)||I<0)){throw new G("headersTimeout must be a positive integer or zero")}if(z!=null&&(!Number.isInteger(z)||z<0)){throw new G("bodyTimeout must be a positive integer or zero")}if($e!=null&&typeof $e!=="function"&&typeof $e!=="object"){throw new G("connect must be a function or an object")}if(Je!=null&&(!Number.isInteger(Je)||Je<0)){throw new G("maxRedirections must be a positive number")}if(Ke!=null&&(!Number.isInteger(Ke)||Ke<0)){throw new G("maxRequestsPerClient must be a positive number")}if(bt!=null&&(typeof bt!=="string"||B.isIP(bt)===0)){throw new G("localAddress must be valid string IP address")}if(Et!=null&&(!Number.isInteger(Et)||Et<-1)){throw new G("maxResponseSize must be a positive number")}if(tr!=null&&(!Number.isInteger(tr)||tr<-1)){throw new G("autoSelectFamilyAttemptTimeout must be a positive number")}if(nr!=null&&typeof nr!=="boolean"){throw new G("allowH2 must be a valid boolean value")}if(rr!=null&&(typeof rr!=="number"||rr<1)){throw new G("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof $e!=="function"){$e=Y({...ve,maxCachedSessions:ze,allowH2:nr,socketPath:Ee,timeout:U,...er?{autoSelectFamily:er,autoSelectFamilyAttemptTimeout:tr}:undefined,...$e})}if(u?.Client&&Array.isArray(u.Client)){this[Xe]=u.Client;if(!Bt){Bt=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[Xe]=[Ot({maxRedirections:Je})]}this[J]=P.parseOrigin(i);this[He]=$e;this[ke]=we!=null?we:1;this[Pe]=A||Q.maxHeaderSize;this[Re]=X==null?4e3:X;this[De]=ye==null?6e5:ye;this[Me]=be==null?2e3:be;this[Qe]=this[Re];this[$]=null;this[st]=bt!=null?bt:null;this[Ae]=0;this[Se]=0;this[Ne]=`host: ${this[J].hostname}${this[J].port?`:${this[J].port}`:""}\r\n`;this[Ue]=z!=null?z:3e5;this[Fe]=I!=null?I:3e5;this[je]=xe==null?true:xe;this[Ge]=Je;this[qe]=Ke;this[Nt]=null;this[ut]=Et>-1?Et:-1;this[mt]=rr!=null?rr:100;this[pt]=null;this[Ce]=[];this[Oe]=0;this[_e]=0;this[yt]=i=>resume(this,i);this[dt]=i=>onError(this,i)}get pipelining(){return this[ke]}set pipelining(i){this[ke]=i;this[yt](true)}get[be](){return this[Ce].length-this[_e]}get[ye](){return this[_e]-this[Oe]}get[Ee](){return this[Ce].length-this[Oe]}get[we](){return!!this[pt]&&!this[ve]&&!this[pt].destroyed}get[X](){return Boolean(this[pt]?.busy(null)||this[Ee]>=(getPipelining(this)||1)||this[be]>0)}[he](i){connect(this);this.once("connect",i)}[Ke](i,u){const A=i.origin||this[J].origin;const I=new L(A,i,u);this[Ce].push(I);if(this[Ae]){}else if(P.bodyLength(I.body)==null&&P.isIterable(I.body)){this[Ae]=1;queueMicrotask((()=>resume(this)))}else{this[yt](true)}if(this[Ae]&&this[Se]!==2&&this[X]){this[Se]=2}return this[Se]<2}async[Je](){return new Promise((i=>{if(this[Ee]){this[Nt]=i}else{i(null)}}))}async[$e](i){return new Promise((u=>{const A=this[Ce].splice(this[_e]);for(let u=0;u{if(this[Nt]){this[Nt]();this[Nt]=null}u(null)};if(this[pt]){this[pt].destroy(i,callback);this[pt]=null}else{queueMicrotask(callback)}this[yt]()}))}}const Ot=A(25092);function onError(i,u){if(i[ye]===0&&u.code!=="UND_ERR_INFO"&&u.code!=="UND_ERR_SOCKET"){I(i[_e]===i[Oe]);const A=i[Ce].splice(i[Oe]);for(let I=0;I{i[He]({host:u,hostname:A,protocol:Q,port:L,servername:i[$],localAddress:i[st]},((i,u)=>{if(i){B(i)}else{I(u)}}))}));if(i.destroyed){P.destroy(B.on("error",noop),new W);return}I(B);try{i[pt]=B.alpnProtocol==="h2"?await Et(i,B):await bt(i,B)}catch(i){B.destroy().on("error",noop);throw i}i[ve]=false;B[ze]=0;B[qe]=i[qe];B[K]=i;B[xe]=null;if(D.connected.hasSubscribers){D.connected.publish({connectParams:{host:u,hostname:A,protocol:Q,port:L,version:i[pt]?.version,servername:i[$],localAddress:i[st]},connector:i[He],socket:B})}i.emit("connect",i[J],[i])}catch(B){if(i.destroyed){return}i[ve]=false;if(D.connectError.hasSubscribers){D.connectError.publish({connectParams:{host:u,hostname:A,protocol:Q,port:L,version:i[pt]?.version,servername:i[$],localAddress:i[st]},connector:i[He],error:B})}if(B.code==="ERR_TLS_CERT_ALTNAME_INVALID"){I(i[ye]===0);while(i[be]>0&&i[Ce][i[_e]].servername===i[$]){const u=i[Ce][i[_e]++];P.errorRequest(i,u,B)}}else{onError(i,B)}i.emit("connectionError",i[J],[i],B)}i[yt]()}function emitDrain(i){i[Se]=0;i.emit("drain",i[J],[i])}function resume(i,u){if(i[Ae]===2){return}i[Ae]=2;_resume(i,u);i[Ae]=0;if(i[Oe]>256){i[Ce].splice(0,i[Oe]);i[_e]-=i[Oe];i[Oe]=0}}function _resume(i,u){while(true){if(i.destroyed){I(i[be]===0);return}if(i[Nt]&&!i[Ee]){i[Nt]();i[Nt]=null;return}if(i[pt]){i[pt].resume()}if(i[X]){i[Se]=2}else if(i[Se]===2){if(u){i[Se]=1;queueMicrotask((()=>emitDrain(i)))}else{emitDrain(i)}continue}if(i[be]===0){return}if(i[ye]>=(getPipelining(i)||1)){return}const A=i[Ce][i[_e]];if(i[J].protocol==="https:"&&i[$]!==A.servername){if(i[ye]>0){return}i[$]=A.servername;i[pt]?.destroy(new z("servername changed"),(()=>{i[pt]=null;resume(i)}))}if(i[ve]){return}if(!i[pt]){connect(i);return}if(i[pt].destroyed){return}if(i[pt].busy(A)){return}if(!A.aborted&&i[pt].write(A)){i[_e]++}else{i[Ce].splice(i[_e],1)}}}i.exports=Client},21841:(i,u,A)=>{"use strict";const I=A(30883);const{ClientDestroyedError:B,ClientClosedError:Q,InvalidArgumentError:P}=A(68707);const{kDestroy:D,kClose:L,kClosed:U,kDestroyed:G,kDispatch:z,kInterceptors:W}=A(36443);const Y=Symbol("onDestroyed");const J=Symbol("onClosed");const $=Symbol("Intercepted Dispatch");const K=Symbol("webSocketOptions");class DispatcherBase extends I{constructor(i){super();this[G]=false;this[Y]=null;this[U]=false;this[J]=[];this[K]=i?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[K].maxFragments??131072,maxPayloadSize:this[K].maxPayloadSize??128*1024*1024}}get destroyed(){return this[G]}get closed(){return this[U]}get interceptors(){return this[W]}set interceptors(i){if(i){for(let u=i.length-1;u>=0;u--){const i=this[W][u];if(typeof i!=="function"){throw new P("interceptor must be an function")}}}this[W]=i}close(i){if(i===undefined){return new Promise(((i,u)=>{this.close(((A,I)=>A?u(A):i(I)))}))}if(typeof i!=="function"){throw new P("invalid callback")}if(this[G]){queueMicrotask((()=>i(new B,null)));return}if(this[U]){if(this[J]){this[J].push(i)}else{queueMicrotask((()=>i(null,null)))}return}this[U]=true;this[J].push(i);const onClosed=()=>{const i=this[J];this[J]=null;for(let u=0;uthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(i,u){if(typeof i==="function"){u=i;i=null}if(u===undefined){return new Promise(((u,A)=>{this.destroy(i,((i,I)=>i?A(i):u(I)))}))}if(typeof u!=="function"){throw new P("invalid callback")}if(this[G]){if(this[Y]){this[Y].push(u)}else{queueMicrotask((()=>u(null,null)))}return}if(!i){i=new B}this[G]=true;this[Y]=this[Y]||[];this[Y].push(u);const onDestroyed=()=>{const i=this[Y];this[Y]=null;for(let u=0;u{queueMicrotask(onDestroyed)}))}[$](i,u){if(!this[W]||this[W].length===0){this[$]=this[z];return this[z](i,u)}let A=this[z].bind(this);for(let i=this[W].length-1;i>=0;i--){A=this[W][i](A)}this[$]=A;return A(i,u)}dispatch(i,u){if(!u||typeof u!=="object"){throw new P("handler must be an object")}try{if(!i||typeof i!=="object"){throw new P("opts must be an object.")}if(this[G]||this[Y]){throw new B}if(this[U]){throw new Q}return this[$](i,u)}catch(i){if(typeof u.onError!=="function"){throw new P("invalid onError method")}u.onError(i);return false}}}i.exports=DispatcherBase},30883:(i,u,A)=>{"use strict";const I=A(78474);class Dispatcher extends I{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...i){const u=Array.isArray(i[0])?i[0]:i;let A=this.dispatch.bind(this);for(const i of u){if(i==null){continue}if(typeof i!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof i}`)}A=i(A);if(A==null||typeof A!=="function"||A.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,A)}}class ComposedDispatcher extends Dispatcher{#A=null;#g=null;constructor(i,u){super();this.#A=i;this.#g=u}dispatch(...i){this.#g(...i)}close(...i){return this.#A.close(...i)}destroy(...i){return this.#A.destroy(...i)}}i.exports=Dispatcher},53137:(i,u,A)=>{"use strict";const I=A(21841);const{kClose:B,kDestroy:Q,kClosed:P,kDestroyed:D,kDispatch:L,kNoProxyAgent:U,kHttpProxyAgent:G,kHttpsProxyAgent:z}=A(36443);const W=A(76672);const Y=A(57405);const J={"http:":80,"https:":443};let $=false;class EnvHttpProxyAgent extends I{#m=null;#y=null;#b=null;constructor(i={}){super();this.#b=i;if(!$){$=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:u,httpsProxy:A,noProxy:I,...B}=i;this[U]=new Y(B);const Q=u??process.env.http_proxy??process.env.HTTP_PROXY;if(Q){this[G]=new W({...B,uri:Q})}else{this[G]=this[U]}const P=A??process.env.https_proxy??process.env.HTTPS_PROXY;if(P){this[z]=new W({...B,uri:P})}else{this[z]=this[G]}this.#E()}[L](i,u){const A=new URL(i.origin);const I=this.#C(A);return I.dispatch(i,u)}async[B](){await this[U].close();if(!this[G][P]){await this[G].close()}if(!this[z][P]){await this[z].close()}}async[Q](i){await this[U].destroy(i);if(!this[G][D]){await this[G].destroy(i)}if(!this[z][D]){await this[z].destroy(i)}}#C(i){let{protocol:u,host:A,port:I}=i;A=A.replace(/:\d*$/,"").toLowerCase();I=Number.parseInt(I,10)||J[u]||0;if(!this.#w(A,I)){return this[U]}if(u==="https:"){return this[z]}return this[G]}#w(i,u){if(this.#v){this.#E()}if(this.#y.length===0){return true}if(this.#m==="*"){return false}for(let A=0;A{"use strict";const u=2048;const A=u-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(u);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&A)===this.bottom}push(i){this.list[this.top]=i;this.top=this.top+1&A}shift(){const i=this.list[this.bottom];if(i===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&A;return i}}i.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(i){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(i)}shift(){const i=this.tail;const u=i.shift();if(i.isEmpty()&&i.next!==null){this.tail=i.next}return u}}},42128:(i,u,A)=>{"use strict";const I=A(21841);const B=A(64660);const{kConnected:Q,kSize:P,kRunning:D,kPending:L,kQueued:U,kBusy:G,kFree:z,kUrl:W,kClose:Y,kDestroy:J,kDispatch:$}=A(36443);const K=A(43246);const X=Symbol("clients");const he=Symbol("needDrain");const Ae=Symbol("queue");const ye=Symbol("closed resolve");const be=Symbol("onDrain");const Ee=Symbol("onConnect");const Ce=Symbol("onDisconnect");const we=Symbol("onConnectionError");const ve=Symbol("get dispatcher");const Se=Symbol("add client");const Re=Symbol("remove client");const Ne=Symbol("stats");class PoolBase extends I{constructor(i){super(i);this[Ae]=new B;this[X]=[];this[U]=0;const u=this;this[be]=function onDrain(i,A){const I=u[Ae];let B=false;while(!B){const i=I.shift();if(!i){break}u[U]--;B=!this.dispatch(i.opts,i.handler)}this[he]=B;if(!this[he]&&u[he]){u[he]=false;u.emit("drain",i,[u,...A])}if(u[ye]&&I.isEmpty()){Promise.all(u[X].map((i=>i.close()))).then(u[ye])}};this[Ee]=(i,A)=>{u.emit("connect",i,[u,...A])};this[Ce]=(i,A,I)=>{u.emit("disconnect",i,[u,...A],I)};this[we]=(i,A,I)=>{u.emit("connectionError",i,[u,...A],I)};this[Ne]=new K(this)}get[G](){return this[he]}get[Q](){return this[X].filter((i=>i[Q])).length}get[z](){return this[X].filter((i=>i[Q]&&!i[he])).length}get[L](){let i=this[U];for(const{[L]:u}of this[X]){i+=u}return i}get[D](){let i=0;for(const{[D]:u}of this[X]){i+=u}return i}get[P](){let i=this[U];for(const{[P]:u}of this[X]){i+=u}return i}get stats(){return this[Ne]}async[Y](){if(this[Ae].isEmpty()){await Promise.all(this[X].map((i=>i.close())))}else{await new Promise((i=>{this[ye]=i}))}}async[J](i){while(true){const u=this[Ae].shift();if(!u){break}u.handler.onError(i)}await Promise.all(this[X].map((u=>u.destroy(i))))}[$](i,u){const A=this[ve]();if(!A){this[he]=true;this[Ae].push({opts:i,handler:u});this[U]++}else if(!A.dispatch(i,u)){A[he]=true;this[he]=!this[ve]()}return!this[he]}[Se](i){i.on("drain",this[be]).on("connect",this[Ee]).on("disconnect",this[Ce]).on("connectionError",this[we]);this[X].push(i);if(this[he]){queueMicrotask((()=>{if(this[he]){this[be](i[W],[this,i])}}))}return this}[Re](i){i.close((()=>{const u=this[X].indexOf(i);if(u!==-1){this[X].splice(u,1)}}));this[he]=this[X].some((i=>!i[he]&&i.closed!==true&&i.destroyed!==true))}}i.exports={PoolBase:PoolBase,kClients:X,kNeedDrain:he,kAddClient:Se,kRemoveClient:Re,kGetDispatcher:ve}},43246:(i,u,A)=>{const{kFree:I,kConnected:B,kPending:Q,kQueued:P,kRunning:D,kSize:L}=A(36443);const U=Symbol("pool");class PoolStats{constructor(i){this[U]=i}get connected(){return this[U][B]}get free(){return this[U][I]}get pending(){return this[U][Q]}get queued(){return this[U][P]}get running(){return this[U][D]}get size(){return this[U][L]}}i.exports=PoolStats},30628:(i,u,A)=>{"use strict";const{PoolBase:I,kClients:B,kNeedDrain:Q,kAddClient:P,kGetDispatcher:D}=A(42128);const L=A(23701);const{InvalidArgumentError:U}=A(68707);const G=A(3440);const{kUrl:z,kInterceptors:W}=A(36443);const Y=A(59136);const J=Symbol("options");const $=Symbol("connections");const K=Symbol("factory");function defaultFactory(i,u){return new L(i,u)}class Pool extends I{constructor(i,{connections:u,factory:A=defaultFactory,connect:I,connectTimeout:Q,tls:P,maxCachedSessions:D,socketPath:L,autoSelectFamily:X,autoSelectFamilyAttemptTimeout:he,allowH2:Ae,...ye}={}){if(u!=null&&(!Number.isFinite(u)||u<0)){throw new U("invalid connections")}if(typeof A!=="function"){throw new U("factory must be a function.")}if(I!=null&&typeof I!=="function"&&typeof I!=="object"){throw new U("connect must be a function or an object")}if(typeof I!=="function"){I=Y({...P,maxCachedSessions:D,allowH2:Ae,socketPath:L,timeout:Q,...X?{autoSelectFamily:X,autoSelectFamilyAttemptTimeout:he}:undefined,...I})}super(ye);this[W]=ye.interceptors?.Pool&&Array.isArray(ye.interceptors.Pool)?ye.interceptors.Pool:[];this[$]=u||null;this[z]=G.parseOrigin(i);this[J]={...G.deepClone(ye),connect:I,allowH2:Ae};this[J].interceptors=ye.interceptors?{...ye.interceptors}:undefined;this[K]=A;this.on("connectionError",((i,u,A)=>{for(const i of u){const u=this[B].indexOf(i);if(u!==-1){this[B].splice(u,1)}}}))}[D](){for(const i of this[B]){if(!i[Q]){return i}}if(!this[$]||this[B].length{"use strict";const{kProxy:I,kClose:B,kDestroy:Q,kDispatch:P,kInterceptors:D}=A(36443);const{URL:L}=A(73136);const U=A(57405);const G=A(30628);const z=A(21841);const{InvalidArgumentError:W,RequestAbortedError:Y,SecureProxyConnectionError:J}=A(68707);const $=A(59136);const K=A(23701);const X=Symbol("proxy agent");const he=Symbol("proxy client");const Ae=Symbol("proxy headers");const ye=Symbol("request tls settings");const be=Symbol("proxy tls settings");const Ee=Symbol("connect endpoint function");const Ce=Symbol("tunnel proxy");function defaultProtocolPort(i){return i==="https:"?443:80}function defaultFactory(i,u){return new G(i,u)}const noop=()=>{};function defaultAgentFactory(i,u){if(u.connections===1){return new K(i,u)}return new G(i,u)}class Http1ProxyWrapper extends z{#I;constructor(i,{headers:u={},connect:A,factory:I}){super();if(!i){throw new W("Proxy URL is mandatory")}this[Ae]=u;if(I){this.#I=I(i,{connect:A})}else{this.#I=new K(i,{connect:A})}}[P](i,u){const A=u.onHeaders;u.onHeaders=function(i,I,B){if(i===407){if(typeof u.onError==="function"){u.onError(new W("Proxy Authentication Required (407)"))}return}if(A)A.call(this,i,I,B)};const{origin:I,path:B="/",headers:Q={}}=i;i.path=I+B;if(!("host"in Q)&&!("Host"in Q)){const{host:i}=new L(I);Q.host=i}i.headers={...this[Ae],...Q};return this.#I[P](i,u)}async[B](){return this.#I.close()}async[Q](i){return this.#I.destroy(i)}}class ProxyAgent extends z{constructor(i){super();if(!i||typeof i==="object"&&!(i instanceof L)&&!i.uri){throw new W("Proxy uri is mandatory")}const{clientFactory:u=defaultFactory}=i;if(typeof u!=="function"){throw new W("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:A=true}=i;const B=this.#B(i);const{href:Q,origin:P,port:G,protocol:z,username:K,password:we,hostname:ve}=B;this[I]={uri:Q,protocol:z};this[D]=i.interceptors?.ProxyAgent&&Array.isArray(i.interceptors.ProxyAgent)?i.interceptors.ProxyAgent:[];this[ye]=i.requestTls;this[be]=i.proxyTls;this[Ae]=i.headers||{};this[Ce]=A;if(i.auth&&i.token){throw new W("opts.auth cannot be used in combination with opts.token")}else if(i.auth){this[Ae]["proxy-authorization"]=`Basic ${i.auth}`}else if(i.token){this[Ae]["proxy-authorization"]=i.token}else if(K&&we){this[Ae]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(K)}:${decodeURIComponent(we)}`).toString("base64")}`}const Se=$({...i.proxyTls});this[Ee]=$({...i.requestTls});const Re=i.factory||defaultAgentFactory;const factory=(i,u)=>{const{protocol:A}=new L(i);if(!this[Ce]&&A==="http:"&&this[I].protocol==="http:"){return new Http1ProxyWrapper(this[I].uri,{headers:this[Ae],connect:Se,factory:Re})}return Re(i,u)};this[he]=u(B,{connect:Se});this[X]=new U({...i,factory:factory,connect:async(i,u)=>{let A=i.host;if(!i.port){A+=`:${defaultProtocolPort(i.protocol)}`}try{const{socket:I,statusCode:B}=await this[he].connect({origin:P,port:G,path:A,signal:i.signal,headers:{...this[Ae],host:i.host},servername:this[be]?.servername||ve});if(B!==200){I.on("error",noop).destroy();u(new Y(`Proxy response (${B}) !== 200 when HTTP Tunneling`))}if(i.protocol!=="https:"){u(null,I);return}let Q;if(this[ye]){Q=this[ye].servername}else{Q=i.servername}this[Ee]({...i,servername:Q,httpSocket:I},u)}catch(i){if(i.code==="ERR_TLS_CERT_ALTNAME_INVALID"){u(new J(i))}else{u(i)}}}})}dispatch(i,u){const A=buildHeaders(i.headers);throwIfProxyAuthIsSent(A);if(A&&!("host"in A)&&!("Host"in A)){const{host:u}=new L(i.origin);A.host=u}return this[X].dispatch({...i,headers:A},u)}#B(i){if(typeof i==="string"){return new L(i)}else if(i instanceof L){return i}else{return new L(i.uri)}}async[B](){await this[X].close();await this[he].close()}async[Q](){await this[X].destroy();await this[he].destroy()}}function buildHeaders(i){if(Array.isArray(i)){const u={};for(let A=0;Ai.toLowerCase()==="proxy-authorization"));if(u){throw new W("Proxy-Authorization should be sent in ProxyAgent constructor")}}i.exports=ProxyAgent},30050:(i,u,A)=>{"use strict";const I=A(30883);const B=A(17816);class RetryAgent extends I{#R=null;#e=null;constructor(i,u={}){super(u);this.#R=i;this.#e=u}dispatch(i,u){const A=new B({...i,retryOptions:this.#e},{dispatch:this.#R.dispatch.bind(this.#R),handler:u});return this.#R.dispatch(i,A)}close(){return this.#R.close()}destroy(){return this.#R.destroy()}}i.exports=RetryAgent},32581:(i,u,A)=>{"use strict";const I=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:B}=A(68707);const Q=A(57405);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new Q)}function setGlobalDispatcher(i){if(!i||typeof i.dispatch!=="function"){throw new B("Argument agent must implement Agent")}Object.defineProperty(globalThis,I,{value:i,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[I]}i.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},58155:i=>{"use strict";i.exports=class DecoratorHandler{#N;constructor(i){if(typeof i!=="object"||i===null){throw new TypeError("handler must be an object")}this.#N=i}onConnect(...i){return this.#N.onConnect?.(...i)}onError(...i){return this.#N.onError?.(...i)}onUpgrade(...i){return this.#N.onUpgrade?.(...i)}onResponseStarted(...i){return this.#N.onResponseStarted?.(...i)}onHeaders(...i){return this.#N.onHeaders?.(...i)}onData(...i){return this.#N.onData?.(...i)}onComplete(...i){return this.#N.onComplete?.(...i)}onBodySent(...i){return this.#N.onBodySent?.(...i)}}},8754:(i,u,A)=>{"use strict";const I=A(3440);const{kBodyUsed:B}=A(36443);const Q=A(34589);const{InvalidArgumentError:P}=A(68707);const D=A(78474);const L=[300,301,302,303,307,308];const U=Symbol("body");class BodyAsyncIterable{constructor(i){this[U]=i;this[B]=false}async*[Symbol.asyncIterator](){Q(!this[B],"disturbed");this[B]=true;yield*this[U]}}class RedirectHandler{constructor(i,u,A,L){if(u!=null&&(!Number.isInteger(u)||u<0)){throw new P("maxRedirections must be a positive number")}I.validateHandler(L,A.method,A.upgrade);this.dispatch=i;this.location=null;this.abort=null;this.opts={...A,maxRedirections:0};this.maxRedirections=u;this.handler=L;this.history=[];this.redirectionLimitReached=false;if(I.isStream(this.opts.body)){if(I.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){Q(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[B]=false;D.prototype.on.call(this.opts.body,"data",(function(){this[B]=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(i){this.abort=i;this.handler.onConnect(i,{history:this.history})}onUpgrade(i,u,A){this.handler.onUpgrade(i,u,A)}onError(i){this.handler.onError(i)}onHeaders(i,u,A,B){this.location=this.history.length>=this.maxRedirections||I.isDisturbed(this.opts.body)?null:parseLocation(i,u);if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request){this.request.abort(new Error("max redirects"))}this.redirectionLimitReached=true;this.abort(new Error("max redirects"));return}if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(i,u,A,B)}const{origin:Q,pathname:P,search:D}=I.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const L=D?`${P}${D}`:P;this.opts.headers=cleanRequestHeaders(this.opts.headers,i===303,this.opts.origin!==Q);this.opts.path=L;this.opts.origin=Q;this.opts.maxRedirections=0;this.opts.query=null;if(i===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(i){if(this.location){}else{return this.handler.onData(i)}}onComplete(i){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(i)}}onBodySent(i){if(this.handler.onBodySent){this.handler.onBodySent(i)}}}function parseLocation(i,u){if(L.indexOf(i)===-1){return null}for(let i=0;i{"use strict";const I=A(34589);const{kRetryHandlerDefaultRetry:B}=A(36443);const{RequestRetryError:Q}=A(68707);const{isDisturbed:P,parseHeaders:D,parseRangeHeader:L,wrapRequestBody:U}=A(3440);function calculateRetryAfterHeader(i){const u=Date.now();return new Date(i).getTime()-u}class RetryHandler{constructor(i,u){const{retryOptions:A,...I}=i;const{retry:Q,maxRetries:P,maxTimeout:D,minTimeout:L,timeoutFactor:G,methods:z,errorCodes:W,retryAfter:Y,statusCodes:J}=A??{};this.dispatch=u.dispatch;this.handler=u.handler;this.opts={...I,body:U(i.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:Q??RetryHandler[B],retryAfter:Y??true,maxTimeout:D??30*1e3,minTimeout:L??500,timeoutFactor:G??2,maxRetries:P??5,methods:z??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:J??[500,502,503,504,429],errorCodes:W??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]};this.retryCount=0;this.retryCountCheckpoint=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((i=>{this.aborted=true;if(this.abort){this.abort(i)}else{this.reason=i}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(i,u,A){if(this.handler.onUpgrade){this.handler.onUpgrade(i,u,A)}}onConnect(i){if(this.aborted){i(this.reason)}else{this.abort=i}}onBodySent(i){if(this.handler.onBodySent)return this.handler.onBodySent(i)}static[B](i,{state:u,opts:A},I){const{statusCode:B,code:Q,headers:P}=i;const{method:D,retryOptions:L}=A;const{maxRetries:U,minTimeout:G,maxTimeout:z,timeoutFactor:W,statusCodes:Y,errorCodes:J,methods:$}=L;const{counter:K}=u;if(Q&&Q!=="UND_ERR_REQ_RETRY"&&!J.includes(Q)){I(i);return}if(Array.isArray($)&&!$.includes(D)){I(i);return}if(B!=null&&Array.isArray(Y)&&!Y.includes(B)){I(i);return}if(K>U){I(i);return}let X=P?.["retry-after"];if(X){X=Number(X);X=Number.isNaN(X)?calculateRetryAfterHeader(X):X*1e3}const he=X>0?Math.min(X,z):Math.min(G*W**(K-1),z);setTimeout((()=>I(null)),he)}onHeaders(i,u,A,B){const P=D(u);this.retryCount+=1;if(i>=300){if(this.retryOpts.statusCodes.includes(i)===false){return this.handler.onHeaders(i,u,A,B)}else{this.abort(new Q("Request failed",i,{headers:P,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(i!==206&&(this.start>0||i!==200)){this.abort(new Q("server does not support the range header and the payload was partially consumed",i,{headers:P,data:{count:this.retryCount}}));return false}const u=L(P["content-range"]);if(!u){this.abort(new Q("Content-Range mismatch",i,{headers:P,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==P.etag){this.abort(new Q("ETag mismatch",i,{headers:P,data:{count:this.retryCount}}));return false}const{start:B,size:D,end:U=D-1}=u;I(this.start===B,"content-range mismatch");I(this.end==null||this.end===U,"content-range mismatch");this.resume=A;return true}if(this.end==null){if(i===206){const Q=L(P["content-range"]);if(Q==null){return this.handler.onHeaders(i,u,A,B)}const{start:D,size:U,end:G=U-1}=Q;I(D!=null&&Number.isFinite(D),"content-range mismatch");I(G!=null&&Number.isFinite(G),"invalid content-length");this.start=D;this.end=G}if(this.end==null){const i=P["content-length"];this.end=i!=null?Number(i)-1:null}I(Number.isFinite(this.start));I(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=A;this.etag=P.etag!=null?P.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(i,u,A,B)}const U=new Q("Request failed",i,{headers:P,data:{count:this.retryCount}});this.abort(U);return false}onData(i){this.start+=i.length;return this.handler.onData(i)}onComplete(i){this.retryCount=0;return this.handler.onComplete(i)}onError(i){if(this.aborted||P(this.opts.body)){return this.handler.onError(i)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(i,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(i){if(i!=null||this.aborted||P(this.opts.body)){return this.handler.onError(i)}if(this.start!==0){const i={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){i["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}}i.exports=RetryHandler},70379:(i,u,A)=>{"use strict";const{isIP:I}=A(77030);const{lookup:B}=A(40610);const Q=A(58155);const{InvalidArgumentError:P,InformationalError:D}=A(68707);const L=Math.pow(2,31)-1;class DNSInstance{#_=0;#T=0;#O=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(i){this.#_=i.maxTTL;this.#T=i.maxItems;this.dualStack=i.dualStack;this.affinity=i.affinity;this.lookup=i.lookup??this.#x;this.pick=i.pick??this.#k}get full(){return this.#O.size===this.#T}runLookup(i,u,A){const I=this.#O.get(i.hostname);if(I==null&&this.full){A(null,i.origin);return}const B={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...u.dns,maxTTL:this.#_,maxItems:this.#T};if(I==null){this.lookup(i,B,((u,I)=>{if(u||I==null||I.length===0){A(u??new D("No DNS entries found"));return}this.setRecords(i,I);const Q=this.#O.get(i.hostname);const P=this.pick(i,Q,B.affinity);let L;if(typeof P.port==="number"){L=`:${P.port}`}else if(i.port!==""){L=`:${i.port}`}else{L=""}A(null,`${i.protocol}//${P.family===6?`[${P.address}]`:P.address}${L}`)}))}else{const Q=this.pick(i,I,B.affinity);if(Q==null){this.#O.delete(i.hostname);this.runLookup(i,u,A);return}let P;if(typeof Q.port==="number"){P=`:${Q.port}`}else if(i.port!==""){P=`:${i.port}`}else{P=""}A(null,`${i.protocol}//${Q.family===6?`[${Q.address}]`:Q.address}${P}`)}}#x(i,u,A){B(i.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},((i,u)=>{if(i){return A(i)}const I=new Map;for(const i of u){I.set(`${i.address}:${i.family}`,i)}A(null,I.values())}))}#k(i,u,A){let I=null;const{records:B,offset:Q}=u;let P;if(this.dualStack){if(A==null){if(Q==null||Q===L){u.offset=0;A=4}else{u.offset++;A=(u.offset&1)===1?6:4}}if(B[A]!=null&&B[A].ips.length>0){P=B[A]}else{P=B[A===4?6:4]}}else{P=B[A]}if(P==null||P.ips.length===0){return I}if(P.offset==null||P.offset===L){P.offset=0}else{P.offset++}const D=P.offset%P.ips.length;I=P.ips[D]??null;if(I==null){return I}if(Date.now()-I.timestamp>I.ttl){P.ips.splice(D,1);return this.pick(i,u,A)}return I}setRecords(i,u){const A=Date.now();const I={records:{4:null,6:null}};for(const i of u){i.timestamp=A;if(typeof i.ttl==="number"){i.ttl=Math.min(i.ttl,this.#_)}else{i.ttl=this.#_}const u=I.records[i.family]??{ips:[]};u.ips.push(i);I.records[i.family]=u}this.#O.set(i.hostname,I)}getHandler(i,u){return new DNSDispatchHandler(this,i,u)}}class DNSDispatchHandler extends Q{#Q=null;#b=null;#g=null;#N=null;#P=null;constructor(i,{origin:u,handler:A,dispatch:I},B){super(A);this.#P=u;this.#N=A;this.#b={...B};this.#Q=i;this.#g=I}onError(i){switch(i.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#Q.dualStack){this.#Q.runLookup(this.#P,this.#b,((i,u)=>{if(i){return this.#N.onError(i)}const A={...this.#b,origin:u};this.#g(A,this)}));return}this.#N.onError(i);return}case"ENOTFOUND":this.#Q.deleteRecord(this.#P);default:this.#N.onError(i);break}}}i.exports=i=>{if(i?.maxTTL!=null&&(typeof i?.maxTTL!=="number"||i?.maxTTL<0)){throw new P("Invalid maxTTL. Must be a positive number")}if(i?.maxItems!=null&&(typeof i?.maxItems!=="number"||i?.maxItems<1)){throw new P("Invalid maxItems. Must be a positive number and greater than zero")}if(i?.affinity!=null&&i?.affinity!==4&&i?.affinity!==6){throw new P("Invalid affinity. Must be either 4 or 6")}if(i?.dualStack!=null&&typeof i?.dualStack!=="boolean"){throw new P("Invalid dualStack. Must be a boolean")}if(i?.lookup!=null&&typeof i?.lookup!=="function"){throw new P("Invalid lookup. Must be a function")}if(i?.pick!=null&&typeof i?.pick!=="function"){throw new P("Invalid pick. Must be a function")}const u=i?.dualStack??true;let A;if(u){A=i?.affinity??null}else{A=i?.affinity??4}const B={maxTTL:i?.maxTTL??1e4,lookup:i?.lookup??null,pick:i?.pick??null,dualStack:u,affinity:A,maxItems:i?.maxItems??Infinity};const Q=new DNSInstance(B);return i=>function dnsInterceptor(u,A){const B=u.origin.constructor===URL?u.origin:new URL(u.origin);if(I(B.hostname)!==0){return i(u,A)}Q.runLookup(B,u,((I,P)=>{if(I){return A.onError(I)}let D=null;D={...u,servername:B.hostname,origin:P,headers:{host:B.hostname,...u.headers}};i(D,Q.getHandler({origin:B,dispatch:i,handler:A},u))}));return true}}},88060:(i,u,A)=>{"use strict";const I=A(3440);const{InvalidArgumentError:B,RequestAbortedError:Q}=A(68707);const P=A(58155);class DumpHandler extends P{#D=1024*1024;#M=null;#L=false;#F=false;#U=0;#j=null;#N=null;constructor({maxSize:i},u){super(u);if(i!=null&&(!Number.isFinite(i)||i<1)){throw new B("maxSize must be a number greater than 0")}this.#D=i??this.#D;this.#N=u}onConnect(i){this.#M=i;this.#N.onConnect(this.#H.bind(this))}#H(i){this.#F=true;this.#j=i}onHeaders(i,u,A,B){const P=I.parseHeaders(u);const D=P["content-length"];if(D!=null&&D>this.#D){throw new Q(`Response size (${D}) larger than maxSize (${this.#D})`)}if(this.#F){return true}return this.#N.onHeaders(i,u,A,B)}onError(i){if(this.#L){return}i=this.#j??i;this.#N.onError(i)}onData(i){this.#U=this.#U+i.length;if(this.#U>=this.#D){this.#L=true;if(this.#F){this.#N.onError(this.#j)}else{this.#N.onComplete([])}}return true}onComplete(i){if(this.#L){return}if(this.#F){this.#N.onError(this.reason);return}this.#N.onComplete(i)}}function createDumpInterceptor({maxSize:i}={maxSize:1024*1024}){return u=>function Intercept(A,I){const{dumpMaxSize:B=i}=A;const Q=new DumpHandler({maxSize:B},I);return u(A,Q)}}i.exports=createDumpInterceptor},25092:(i,u,A)=>{"use strict";const I=A(8754);function createRedirectInterceptor({maxRedirections:i}){return u=>function Intercept(A,B){const{maxRedirections:Q=i}=A;if(!Q){return u(A,B)}const P=new I(u,Q,A,B);A={...A,maxRedirections:0};return u(A,P)}}i.exports=createRedirectInterceptor},21514:(i,u,A)=>{"use strict";const I=A(8754);i.exports=i=>{const u=i?.maxRedirections;return i=>function redirectInterceptor(A,B){const{maxRedirections:Q=u,...P}=A;if(!Q){return i(A,B)}const D=new I(i,Q,A,B);return i(P,D)}}},92026:(i,u,A)=>{"use strict";const I=A(17816);i.exports=i=>u=>function retryInterceptor(A,B){return u(A,new I({...A,retryOptions:{...i,...A.retryOptions}},{handler:B,dispatch:u}))}},52824:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.SPECIAL_HEADERS=u.HEADER_STATE=u.MINOR=u.MAJOR=u.CONNECTION_TOKEN_CHARS=u.HEADER_CHARS=u.TOKEN=u.STRICT_TOKEN=u.HEX=u.URL_CHAR=u.STRICT_URL_CHAR=u.USERINFO_CHARS=u.MARK=u.ALPHANUM=u.NUM=u.HEX_MAP=u.NUM_MAP=u.ALPHA=u.FINISH=u.H_METHOD_MAP=u.METHOD_MAP=u.METHODS_RTSP=u.METHODS_ICE=u.METHODS_HTTP=u.METHODS=u.LENIENT_FLAGS=u.FLAGS=u.TYPE=u.ERROR=void 0;const I=A(50172);var B;(function(i){i[i["OK"]=0]="OK";i[i["INTERNAL"]=1]="INTERNAL";i[i["STRICT"]=2]="STRICT";i[i["LF_EXPECTED"]=3]="LF_EXPECTED";i[i["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";i[i["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";i[i["INVALID_METHOD"]=6]="INVALID_METHOD";i[i["INVALID_URL"]=7]="INVALID_URL";i[i["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";i[i["INVALID_VERSION"]=9]="INVALID_VERSION";i[i["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";i[i["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";i[i["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";i[i["INVALID_STATUS"]=13]="INVALID_STATUS";i[i["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";i[i["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";i[i["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";i[i["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";i[i["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";i[i["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";i[i["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";i[i["PAUSED"]=21]="PAUSED";i[i["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";i[i["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";i[i["USER"]=24]="USER"})(B=u.ERROR||(u.ERROR={}));var Q;(function(i){i[i["BOTH"]=0]="BOTH";i[i["REQUEST"]=1]="REQUEST";i[i["RESPONSE"]=2]="RESPONSE"})(Q=u.TYPE||(u.TYPE={}));var P;(function(i){i[i["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";i[i["CHUNKED"]=8]="CHUNKED";i[i["UPGRADE"]=16]="UPGRADE";i[i["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";i[i["SKIPBODY"]=64]="SKIPBODY";i[i["TRAILING"]=128]="TRAILING";i[i["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(P=u.FLAGS||(u.FLAGS={}));var D;(function(i){i[i["HEADERS"]=1]="HEADERS";i[i["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";i[i["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(D=u.LENIENT_FLAGS||(u.LENIENT_FLAGS={}));var L;(function(i){i[i["DELETE"]=0]="DELETE";i[i["GET"]=1]="GET";i[i["HEAD"]=2]="HEAD";i[i["POST"]=3]="POST";i[i["PUT"]=4]="PUT";i[i["CONNECT"]=5]="CONNECT";i[i["OPTIONS"]=6]="OPTIONS";i[i["TRACE"]=7]="TRACE";i[i["COPY"]=8]="COPY";i[i["LOCK"]=9]="LOCK";i[i["MKCOL"]=10]="MKCOL";i[i["MOVE"]=11]="MOVE";i[i["PROPFIND"]=12]="PROPFIND";i[i["PROPPATCH"]=13]="PROPPATCH";i[i["SEARCH"]=14]="SEARCH";i[i["UNLOCK"]=15]="UNLOCK";i[i["BIND"]=16]="BIND";i[i["REBIND"]=17]="REBIND";i[i["UNBIND"]=18]="UNBIND";i[i["ACL"]=19]="ACL";i[i["REPORT"]=20]="REPORT";i[i["MKACTIVITY"]=21]="MKACTIVITY";i[i["CHECKOUT"]=22]="CHECKOUT";i[i["MERGE"]=23]="MERGE";i[i["M-SEARCH"]=24]="M-SEARCH";i[i["NOTIFY"]=25]="NOTIFY";i[i["SUBSCRIBE"]=26]="SUBSCRIBE";i[i["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";i[i["PATCH"]=28]="PATCH";i[i["PURGE"]=29]="PURGE";i[i["MKCALENDAR"]=30]="MKCALENDAR";i[i["LINK"]=31]="LINK";i[i["UNLINK"]=32]="UNLINK";i[i["SOURCE"]=33]="SOURCE";i[i["PRI"]=34]="PRI";i[i["DESCRIBE"]=35]="DESCRIBE";i[i["ANNOUNCE"]=36]="ANNOUNCE";i[i["SETUP"]=37]="SETUP";i[i["PLAY"]=38]="PLAY";i[i["PAUSE"]=39]="PAUSE";i[i["TEARDOWN"]=40]="TEARDOWN";i[i["GET_PARAMETER"]=41]="GET_PARAMETER";i[i["SET_PARAMETER"]=42]="SET_PARAMETER";i[i["REDIRECT"]=43]="REDIRECT";i[i["RECORD"]=44]="RECORD";i[i["FLUSH"]=45]="FLUSH"})(L=u.METHODS||(u.METHODS={}));u.METHODS_HTTP=[L.DELETE,L.GET,L.HEAD,L.POST,L.PUT,L.CONNECT,L.OPTIONS,L.TRACE,L.COPY,L.LOCK,L.MKCOL,L.MOVE,L.PROPFIND,L.PROPPATCH,L.SEARCH,L.UNLOCK,L.BIND,L.REBIND,L.UNBIND,L.ACL,L.REPORT,L.MKACTIVITY,L.CHECKOUT,L.MERGE,L["M-SEARCH"],L.NOTIFY,L.SUBSCRIBE,L.UNSUBSCRIBE,L.PATCH,L.PURGE,L.MKCALENDAR,L.LINK,L.UNLINK,L.PRI,L.SOURCE];u.METHODS_ICE=[L.SOURCE];u.METHODS_RTSP=[L.OPTIONS,L.DESCRIBE,L.ANNOUNCE,L.SETUP,L.PLAY,L.PAUSE,L.TEARDOWN,L.GET_PARAMETER,L.SET_PARAMETER,L.REDIRECT,L.RECORD,L.FLUSH,L.GET,L.POST];u.METHOD_MAP=I.enumToMap(L);u.H_METHOD_MAP={};Object.keys(u.METHOD_MAP).forEach((i=>{if(/^H/.test(i)){u.H_METHOD_MAP[i]=u.METHOD_MAP[i]}}));var U;(function(i){i[i["SAFE"]=0]="SAFE";i[i["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";i[i["UNSAFE"]=2]="UNSAFE"})(U=u.FINISH||(u.FINISH={}));u.ALPHA=[];for(let i="A".charCodeAt(0);i<="Z".charCodeAt(0);i++){u.ALPHA.push(String.fromCharCode(i));u.ALPHA.push(String.fromCharCode(i+32))}u.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};u.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};u.NUM=["0","1","2","3","4","5","6","7","8","9"];u.ALPHANUM=u.ALPHA.concat(u.NUM);u.MARK=["-","_",".","!","~","*","'","(",")"];u.USERINFO_CHARS=u.ALPHANUM.concat(u.MARK).concat(["%",";",":","&","=","+","$",","]);u.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(u.ALPHANUM);u.URL_CHAR=u.STRICT_URL_CHAR.concat(["\t","\f"]);for(let i=128;i<=255;i++){u.URL_CHAR.push(i)}u.HEX=u.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);u.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(u.ALPHANUM);u.TOKEN=u.STRICT_TOKEN.concat([" "]);u.HEADER_CHARS=["\t"];for(let i=32;i<=255;i++){if(i!==127){u.HEADER_CHARS.push(i)}}u.CONNECTION_TOKEN_CHARS=u.HEADER_CHARS.filter((i=>i!==44));u.MAJOR=u.NUM_MAP;u.MINOR=u.MAJOR;var G;(function(i){i[i["GENERAL"]=0]="GENERAL";i[i["CONNECTION"]=1]="CONNECTION";i[i["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";i[i["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";i[i["UPGRADE"]=4]="UPGRADE";i[i["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";i[i["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(G=u.HEADER_STATE||(u.HEADER_STATE={}));u.SPECIAL_HEADERS={connection:G.CONNECTION,"content-length":G.CONTENT_LENGTH,"proxy-connection":G.CONNECTION,"transfer-encoding":G.TRANSFER_ENCODING,upgrade:G.UPGRADE}},63870:(i,u,A)=>{"use strict";const{Buffer:I}=A(4573);i.exports=I.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsa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AtBoQEMIwtBogEMIgtBowEMIQtBpAEMIAtBpQEMHwtBpgEMHgtBpwEMHQtBqAEMHAtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQ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hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgF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ACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAEEwayIAQf8BcUEKSQRAIAIgADoAKiABQQFqIQFBzwAhAwyCAQsgAigCBCEAIAJBADYCBCACIAAgARAoIgBFDYYBIAJ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EBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACK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EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAE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QEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},50172:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.enumToMap=void 0;function enumToMap(i){const u={};Object.keys(i).forEach((A=>{const I=i[A];if(typeof I==="number"){u[A]=I}}));return u}u.enumToMap=enumToMap},47501:(i,u,A)=>{"use strict";const{kClients:I}=A(36443);const B=A(57405);const{kAgent:Q,kMockAgentSet:P,kMockAgentGet:D,kDispatches:L,kIsMockActive:U,kNetConnect:G,kGetNetConnect:z,kOptions:W,kFactory:Y}=A(91117);const J=A(47365);const $=A(94004);const{matchValue:K,buildMockOptions:X}=A(53397);const{InvalidArgumentError:he,UndiciError:Ae}=A(68707);const ye=A(30883);const be=A(91529);const Ee=A(56142);class MockAgent extends ye{constructor(i){super(i);this[G]=true;this[U]=true;if(i?.agent&&typeof i.agent.dispatch!=="function"){throw new he("Argument opts.agent must implement Agent")}const u=i?.agent?i.agent:new B(i);this[Q]=u;this[I]=u[I];this[W]=X(i)}get(i){let u=this[D](i);if(!u){u=this[Y](i);this[P](i,u)}return u}dispatch(i,u){this.get(i.origin);return this[Q].dispatch(i,u)}async close(){await this[Q].close();this[I].clear()}deactivate(){this[U]=false}activate(){this[U]=true}enableNetConnect(i){if(typeof i==="string"||typeof i==="function"||i instanceof RegExp){if(Array.isArray(this[G])){this[G].push(i)}else{this[G]=[i]}}else if(typeof i==="undefined"){this[G]=true}else{throw new he("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[G]=false}get isMockActive(){return this[U]}[P](i,u){this[I].set(i,u)}[Y](i){const u=Object.assign({agent:this},this[W]);return this[W]&&this[W].connections===1?new J(i,u):new $(i,u)}[D](i){const u=this[I].get(i);if(u){return u}if(typeof i!=="string"){const u=this[Y]("http://localhost:9999");this[P](i,u);return u}for(const[u,A]of Array.from(this[I])){if(A&&typeof u!=="string"&&K(u,i)){const u=this[Y](i);this[P](i,u);u[L]=A[L];return u}}}[z](){return this[G]}pendingInterceptors(){const i=this[I];return Array.from(i.entries()).flatMap((([i,u])=>u[L].map((u=>({...u,origin:i}))))).filter((({pending:i})=>i))}assertNoPendingInterceptors({pendingInterceptorsFormatter:i=new Ee}={}){const u=this.pendingInterceptors();if(u.length===0){return}const A=new be("interceptor","interceptors").pluralize(u.length);throw new Ae(`\n${A.count} ${A.noun} ${A.is} pending:\n\n${i.format(u)}\n`.trim())}}i.exports=MockAgent},47365:(i,u,A)=>{"use strict";const{promisify:I}=A(57975);const B=A(23701);const{buildMockDispatch:Q}=A(53397);const{kDispatches:P,kMockAgent:D,kClose:L,kOriginalClose:U,kOrigin:G,kOriginalDispatch:z,kConnected:W}=A(91117);const{MockInterceptor:Y}=A(31511);const J=A(36443);const{InvalidArgumentError:$}=A(68707);class MockClient extends B{constructor(i,u){super(i,u);if(!u||!u.agent||typeof u.agent.dispatch!=="function"){throw new $("Argument opts.agent must implement Agent")}this[D]=u.agent;this[G]=i;this[P]=[];this[W]=1;this[z]=this.dispatch;this[U]=this.close.bind(this);this.dispatch=Q.call(this);this.close=this[L]}get[J.kConnected](){return this[W]}intercept(i){return new Y(i,this[P])}async[L](){await I(this[U])();this[W]=0;this[D][J.kClients].delete(this[G])}}i.exports=MockClient},52429:(i,u,A)=>{"use strict";const{UndiciError:I}=A(68707);const B=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends I{constructor(i){super(i);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=i||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](i){return i&&i[B]===true}[B]=true}i.exports={MockNotMatchedError:MockNotMatchedError}},31511:(i,u,A)=>{"use strict";const{getResponseData:I,buildKey:B,addMockDispatch:Q}=A(53397);const{kDispatches:P,kDispatchKey:D,kDefaultHeaders:L,kDefaultTrailers:U,kContentLength:G,kMockDispatch:z}=A(91117);const{InvalidArgumentError:W}=A(68707);const{buildURL:Y}=A(3440);class MockScope{constructor(i){this[z]=i}delay(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new W("waitInMs must be a valid integer > 0")}this[z].delay=i;return this}persist(){this[z].persist=true;return this}times(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new W("repeatTimes must be a valid integer > 0")}this[z].times=i;return this}}class MockInterceptor{constructor(i,u){if(typeof i!=="object"){throw new W("opts must be an object")}if(typeof i.path==="undefined"){throw new W("opts.path must be defined")}if(typeof i.method==="undefined"){i.method="GET"}if(typeof i.path==="string"){if(i.query){i.path=Y(i.path,i.query)}else{const u=new URL(i.path,"data://");i.path=u.pathname+u.search}}if(typeof i.method==="string"){i.method=i.method.toUpperCase()}this[D]=B(i);this[P]=u;this[L]={};this[U]={};this[G]=false}createMockScopeDispatchData({statusCode:i,data:u,responseOptions:A}){const B=I(u);const Q=this[G]?{"content-length":B.length}:{};const P={...this[L],...Q,...A.headers};const D={...this[U],...A.trailers};return{statusCode:i,data:u,headers:P,trailers:D}}validateReplyParameters(i){if(typeof i.statusCode==="undefined"){throw new W("statusCode must be defined")}if(typeof i.responseOptions!=="object"||i.responseOptions===null){throw new W("responseOptions must be an object")}}reply(i){if(typeof i==="function"){const wrappedDefaultsCallback=u=>{const A=i(u);if(typeof A!=="object"||A===null){throw new W("reply options callback must return an object")}const I={data:"",responseOptions:{},...A};this.validateReplyParameters(I);return{...this.createMockScopeDispatchData(I)}};const u=Q(this[P],this[D],wrappedDefaultsCallback);return new MockScope(u)}const u={statusCode:i,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(u);const A=this.createMockScopeDispatchData(u);const I=Q(this[P],this[D],A);return new MockScope(I)}replyWithError(i){if(typeof i==="undefined"){throw new W("error must be defined")}const u=Q(this[P],this[D],{error:i});return new MockScope(u)}defaultReplyHeaders(i){if(typeof i==="undefined"){throw new W("headers must be defined")}this[L]=i;return this}defaultReplyTrailers(i){if(typeof i==="undefined"){throw new W("trailers must be defined")}this[U]=i;return this}replyContentLength(){this[G]=true;return this}}i.exports.MockInterceptor=MockInterceptor;i.exports.MockScope=MockScope},94004:(i,u,A)=>{"use strict";const{promisify:I}=A(57975);const B=A(30628);const{buildMockDispatch:Q}=A(53397);const{kDispatches:P,kMockAgent:D,kClose:L,kOriginalClose:U,kOrigin:G,kOriginalDispatch:z,kConnected:W}=A(91117);const{MockInterceptor:Y}=A(31511);const J=A(36443);const{InvalidArgumentError:$}=A(68707);class MockPool extends B{constructor(i,u){super(i,u);if(!u||!u.agent||typeof u.agent.dispatch!=="function"){throw new $("Argument opts.agent must implement Agent")}this[D]=u.agent;this[G]=i;this[P]=[];this[W]=1;this[z]=this.dispatch;this[U]=this.close.bind(this);this.dispatch=Q.call(this);this.close=this[L]}get[J.kConnected](){return this[W]}intercept(i){return new Y(i,this[P])}async[L](){await I(this[U])();this[W]=0;this[D][J.kClients].delete(this[G])}}i.exports=MockPool},91117:i=>{"use strict";i.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},53397:(i,u,A)=>{"use strict";const{MockNotMatchedError:I}=A(52429);const{kDispatches:B,kMockAgent:Q,kOriginalDispatch:P,kOrigin:D,kGetNetConnect:L}=A(91117);const{buildURL:U}=A(3440);const{STATUS_CODES:G}=A(37067);const{types:{isPromise:z}}=A(57975);function matchValue(i,u){if(typeof i==="string"){return i===u}if(i instanceof RegExp){return i.test(u)}if(typeof i==="function"){return i(u)===true}return false}function lowerCaseEntries(i){return Object.fromEntries(Object.entries(i).map((([i,u])=>[i.toLocaleLowerCase(),u])))}function getHeaderByName(i,u){if(Array.isArray(i)){for(let A=0;A!i)).filter((({path:i})=>matchValue(safeUrl(i),B)));if(Q.length===0){throw new I(`Mock dispatch not matched for path '${B}'`)}Q=Q.filter((({method:i})=>matchValue(i,u.method)));if(Q.length===0){throw new I(`Mock dispatch not matched for method '${u.method}' on path '${B}'`)}Q=Q.filter((({body:i})=>typeof i!=="undefined"?matchValue(i,u.body):true));if(Q.length===0){throw new I(`Mock dispatch not matched for body '${u.body}' on path '${B}'`)}Q=Q.filter((i=>matchHeaders(i,u.headers)));if(Q.length===0){const i=typeof u.headers==="object"?JSON.stringify(u.headers):u.headers;throw new I(`Mock dispatch not matched for headers '${i}' on path '${B}'`)}return Q[0]}function addMockDispatch(i,u,A){const I={timesInvoked:0,times:1,persist:false,consumed:false};const B=typeof A==="function"?{callback:A}:{...A};const Q={...I,...u,pending:true,data:{error:null,...B}};i.push(Q);return Q}function deleteMockDispatch(i,u){const A=i.findIndex((i=>{if(!i.consumed){return false}return matchKey(i,u)}));if(A!==-1){i.splice(A,1)}}function buildKey(i){const{path:u,method:A,body:I,headers:B,query:Q}=i;return{path:u,method:A,body:I,headers:B,query:Q}}function generateKeyValues(i){const u=Object.keys(i);const A=[];for(let I=0;I=J;I.pending=Y0){setTimeout((()=>{handleReply(this[B])}),G)}else{handleReply(this[B])}function handleReply(I,B=P){const U=Array.isArray(i.headers)?buildHeadersFromArray(i.headers):i.headers;const G=typeof B==="function"?B({...i,headers:U}):B;if(z(G)){G.then((i=>handleReply(I,i)));return}const W=getResponseData(G);const Y=generateKeyValues(D);const J=generateKeyValues(L);u.onConnect?.((i=>u.onError(i)),null);u.onHeaders?.(Q,Y,resume,getStatusText(Q));u.onData?.(Buffer.from(W));u.onComplete?.(J);deleteMockDispatch(I,A)}function resume(){}return true}function buildMockDispatch(){const i=this[Q];const u=this[D];const A=this[P];return function dispatch(B,Q){if(i.isMockActive){try{mockDispatch.call(this,B,Q)}catch(P){if(P instanceof I){const D=i[L]();if(D===false){throw new I(`${P.message}: subsequent request to origin ${u} was not allowed (net.connect disabled)`)}if(checkNetConnect(D,u)){A.call(this,B,Q)}else{throw new I(`${P.message}: subsequent request to origin ${u} was not allowed (net.connect is not enabled for this origin)`)}}else{throw P}}}else{A.call(this,B,Q)}}}function checkNetConnect(i,u){const A=new URL(u);if(i===true){return true}else if(Array.isArray(i)&&i.some((i=>matchValue(i,A.host)))){return true}return false}function buildMockOptions(i){if(i){const{agent:u,...A}=i;return A}}i.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,buildHeadersFromArray:buildHeadersFromArray}},56142:(i,u,A)=>{"use strict";const{Transform:I}=A(57075);const{Console:B}=A(37540);const Q=process.versions.icu?"✅":"Y ";const P=process.versions.icu?"❌":"N ";i.exports=class PendingInterceptorsFormatter{constructor({disableColors:i}={}){this.transform=new I({transform(i,u,A){A(null,i)}});this.logger=new B({stdout:this.transform,inspectOptions:{colors:!i&&!process.env.CI}})}format(i){const u=i.map((({method:i,path:u,data:{statusCode:A},persist:I,times:B,timesInvoked:D,origin:L})=>({Method:i,Origin:L,Path:u,"Status code":A,Persistent:I?Q:P,Invocations:D,Remaining:I?Infinity:B-D})));this.logger.table(u);return this.transform.read().toString()}}},91529:i=>{"use strict";const u={pronoun:"it",is:"is",was:"was",this:"this"};const A={pronoun:"they",is:"are",was:"were",this:"these"};i.exports=class Pluralizer{constructor(i,u){this.singular=i;this.plural=u}pluralize(i){const I=i===1;const B=I?u:A;const Q=I?this.singular:this.plural;return{...B,count:i,noun:Q}}}},96603:i=>{"use strict";let u=0;const A=1e3;const I=(A>>1)-1;let B;const Q=Symbol("kFastTimer");const P=[];const D=-2;const L=-1;const U=0;const G=1;function onTick(){u+=I;let i=0;let A=P.length;while(i=B._idleStart+B._idleTimeout){B._state=L;B._idleStart=-1;B._onTimeout(B._timerArg)}if(B._state===L){B._state=D;if(--A!==0){P[i]=P[A]}}else{++i}}P.length=A;if(P.length!==0){refreshTimeout()}}function refreshTimeout(){if(B){B.refresh()}else{clearTimeout(B);B=setTimeout(onTick,I);if(B.unref){B.unref()}}}class FastTimer{[Q]=true;_state=D;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(i,u,A){this._onTimeout=i;this._idleTimeout=u;this._timerArg=A;this.refresh()}refresh(){if(this._state===D){P.push(this)}if(!B||P.length===1){refreshTimeout()}this._state=U}clear(){this._state=L;this._idleStart=-1}}i.exports={setTimeout(i,u,I){return u<=A?setTimeout(i,u,I):new FastTimer(i,u,I)},clearTimeout(i){if(i[Q]){i.clear()}else{clearTimeout(i)}},setFastTimeout(i,u,A){return new FastTimer(i,u,A)},clearFastTimeout(i){i.clear()},now(){return u},tick(i=0){u+=i-A+1;onTick();onTick()},reset(){u=0;P.length=0;clearTimeout(B);B=null},kFastTimer:Q}},89634:(i,u,A)=>{"use strict";const{kConstruct:I}=A(20109);const{urlEquals:B,getFieldValues:Q}=A(76798);const{kEnumerableProperty:P,isDisturbed:D}=A(3440);const{webidl:L}=A(45893);const{Response:U,cloneResponse:G,fromInnerResponse:z}=A(99051);const{Request:W,fromInnerRequest:Y}=A(9967);const{kState:J}=A(93627);const{fetching:$}=A(54398);const{urlIsHttpHttpsScheme:K,createDeferredPromise:X,readAllBytes:he}=A(73168);const Ae=A(34589);class Cache{#G;constructor(){if(arguments[0]!==I){L.illegalConstructor()}L.util.markAsUncloneable(this);this.#G=arguments[1]}async match(i,u={}){L.brandCheck(this,Cache);const A="Cache.match";L.argumentLengthCheck(arguments,1,A);i=L.converters.RequestInfo(i,A,"request");u=L.converters.CacheQueryOptions(u,A,"options");const I=this.#q(i,u,1);if(I.length===0){return}return I[0]}async matchAll(i=undefined,u={}){L.brandCheck(this,Cache);const A="Cache.matchAll";if(i!==undefined)i=L.converters.RequestInfo(i,A,"request");u=L.converters.CacheQueryOptions(u,A,"options");return this.#q(i,u)}async add(i){L.brandCheck(this,Cache);const u="Cache.add";L.argumentLengthCheck(arguments,1,u);i=L.converters.RequestInfo(i,u,"request");const A=[i];const I=this.addAll(A);return await I}async addAll(i){L.brandCheck(this,Cache);const u="Cache.addAll";L.argumentLengthCheck(arguments,1,u);const A=[];const I=[];for(let A of i){if(A===undefined){throw L.errors.conversionFailed({prefix:u,argument:"Argument 1",types:["undefined is not allowed"]})}A=L.converters.RequestInfo(A);if(typeof A==="string"){continue}const i=A[J];if(!K(i.url)||i.method!=="GET"){throw L.errors.exception({header:u,message:"Expected http/s scheme when method is not GET."})}}const B=[];for(const P of i){const i=new W(P)[J];if(!K(i.url)){throw L.errors.exception({header:u,message:"Expected http/s scheme."})}i.initiator="fetch";i.destination="subresource";I.push(i);const D=X();B.push($({request:i,processResponse(i){if(i.type==="error"||i.status===206||i.status<200||i.status>299){D.reject(L.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(i.headersList.contains("vary")){const u=Q(i.headersList.get("vary"));for(const i of u){if(i==="*"){D.reject(L.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const i of B){i.abort()}return}}}},processResponseEndOfBody(i){if(i.aborted){D.reject(new DOMException("aborted","AbortError"));return}D.resolve(i)}}));A.push(D.promise)}const P=Promise.all(A);const D=await P;const U=[];let G=0;for(const i of D){const u={type:"put",request:I[G],response:i};U.push(u);G++}const z=X();let Y=null;try{this.#z(U)}catch(i){Y=i}queueMicrotask((()=>{if(Y===null){z.resolve(undefined)}else{z.reject(Y)}}));return z.promise}async put(i,u){L.brandCheck(this,Cache);const A="Cache.put";L.argumentLengthCheck(arguments,2,A);i=L.converters.RequestInfo(i,A,"request");u=L.converters.Response(u,A,"response");let I=null;if(i instanceof W){I=i[J]}else{I=new W(i)[J]}if(!K(I.url)||I.method!=="GET"){throw L.errors.exception({header:A,message:"Expected an http/s scheme when method is not GET"})}const B=u[J];if(B.status===206){throw L.errors.exception({header:A,message:"Got 206 status"})}if(B.headersList.contains("vary")){const i=Q(B.headersList.get("vary"));for(const u of i){if(u==="*"){throw L.errors.exception({header:A,message:"Got * vary field value"})}}}if(B.body&&(D(B.body.stream)||B.body.stream.locked)){throw L.errors.exception({header:A,message:"Response body is locked or disturbed"})}const P=G(B);const U=X();if(B.body!=null){const i=B.body.stream;const u=i.getReader();he(u).then(U.resolve,U.reject)}else{U.resolve(undefined)}const z=[];const Y={type:"put",request:I,response:P};z.push(Y);const $=await U.promise;if(P.body!=null){P.body.source=$}const Ae=X();let ye=null;try{this.#z(z)}catch(i){ye=i}queueMicrotask((()=>{if(ye===null){Ae.resolve()}else{Ae.reject(ye)}}));return Ae.promise}async delete(i,u={}){L.brandCheck(this,Cache);const A="Cache.delete";L.argumentLengthCheck(arguments,1,A);i=L.converters.RequestInfo(i,A,"request");u=L.converters.CacheQueryOptions(u,A,"options");let I=null;if(i instanceof W){I=i[J];if(I.method!=="GET"&&!u.ignoreMethod){return false}}else{Ae(typeof i==="string");I=new W(i)[J]}const B=[];const Q={type:"delete",request:I,options:u};B.push(Q);const P=X();let D=null;let U;try{U=this.#z(B)}catch(i){D=i}queueMicrotask((()=>{if(D===null){P.resolve(!!U?.length)}else{P.reject(D)}}));return P.promise}async keys(i=undefined,u={}){L.brandCheck(this,Cache);const A="Cache.keys";if(i!==undefined)i=L.converters.RequestInfo(i,A,"request");u=L.converters.CacheQueryOptions(u,A,"options");let I=null;if(i!==undefined){if(i instanceof W){I=i[J];if(I.method!=="GET"&&!u.ignoreMethod){return[]}}else if(typeof i==="string"){I=new W(i)[J]}}const B=X();const Q=[];if(i===undefined){for(const i of this.#G){Q.push(i[0])}}else{const i=this.#V(I,u);for(const u of i){Q.push(u[0])}}queueMicrotask((()=>{const i=[];for(const u of Q){const A=Y(u,(new AbortController).signal,"immutable");i.push(A)}B.resolve(Object.freeze(i))}));return B.promise}#z(i){const u=this.#G;const A=[...u];const I=[];const B=[];try{for(const A of i){if(A.type!=="delete"&&A.type!=="put"){throw L.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(A.type==="delete"&&A.response!=null){throw L.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#V(A.request,A.options,I).length){throw new DOMException("???","InvalidStateError")}let i;if(A.type==="delete"){i=this.#V(A.request,A.options);if(i.length===0){return[]}for(const A of i){const i=u.indexOf(A);Ae(i!==-1);u.splice(i,1)}}else if(A.type==="put"){if(A.response==null){throw L.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const B=A.request;if(!K(B.url)){throw L.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(B.method!=="GET"){throw L.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(A.options!=null){throw L.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}i=this.#V(A.request);for(const A of i){const i=u.indexOf(A);Ae(i!==-1);u.splice(i,1)}u.push([A.request,A.response]);I.push([A.request,A.response])}B.push([A.request,A.response])}return B}catch(i){this.#G.length=0;this.#G=A;throw i}}#V(i,u,A){const I=[];const B=A??this.#G;for(const A of B){const[B,Q]=A;if(this.#W(i,B,Q,u)){I.push(A)}}return I}#W(i,u,A=null,I){const P=new URL(i.url);const D=new URL(u.url);if(I?.ignoreSearch){D.search="";P.search=""}if(!B(P,D,true)){return false}if(A==null||I?.ignoreVary||!A.headersList.contains("vary")){return true}const L=Q(A.headersList.get("vary"));for(const A of L){if(A==="*"){return false}const I=u.headersList.get(A);const B=i.headersList.get(A);if(I!==B){return false}}return true}#q(i,u,A=Infinity){let I=null;if(i!==undefined){if(i instanceof W){I=i[J];if(I.method!=="GET"&&!u.ignoreMethod){return[]}}else if(typeof i==="string"){I=new W(i)[J]}}const B=[];if(i===undefined){for(const i of this.#G){B.push(i[1])}}else{const i=this.#V(I,u);for(const u of i){B.push(u[1])}}const Q=[];for(const i of B){const u=z(i,"immutable");Q.push(u.clone());if(Q.length>=A){break}}return Object.freeze(Q)}}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 ye=[{key:"ignoreSearch",converter:L.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:L.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:L.converters.boolean,defaultValue:()=>false}];L.converters.CacheQueryOptions=L.dictionaryConverter(ye);L.converters.MultiCacheQueryOptions=L.dictionaryConverter([...ye,{key:"cacheName",converter:L.converters.DOMString}]);L.converters.Response=L.interfaceConverter(U);L.converters["sequence"]=L.sequenceConverter(L.converters.RequestInfo);i.exports={Cache:Cache}},3245:(i,u,A)=>{"use strict";const{kConstruct:I}=A(20109);const{Cache:B}=A(89634);const{webidl:Q}=A(45893);const{kEnumerableProperty:P}=A(3440);class CacheStorage{#Y=new Map;constructor(){if(arguments[0]!==I){Q.illegalConstructor()}Q.util.markAsUncloneable(this)}async match(i,u={}){Q.brandCheck(this,CacheStorage);Q.argumentLengthCheck(arguments,1,"CacheStorage.match");i=Q.converters.RequestInfo(i);u=Q.converters.MultiCacheQueryOptions(u);if(u.cacheName!=null){if(this.#Y.has(u.cacheName)){const A=this.#Y.get(u.cacheName);const Q=new B(I,A);return await Q.match(i,u)}}else{for(const A of this.#Y.values()){const Q=new B(I,A);const P=await Q.match(i,u);if(P!==undefined){return P}}}}async has(i){Q.brandCheck(this,CacheStorage);const u="CacheStorage.has";Q.argumentLengthCheck(arguments,1,u);i=Q.converters.DOMString(i,u,"cacheName");return this.#Y.has(i)}async open(i){Q.brandCheck(this,CacheStorage);const u="CacheStorage.open";Q.argumentLengthCheck(arguments,1,u);i=Q.converters.DOMString(i,u,"cacheName");if(this.#Y.has(i)){const u=this.#Y.get(i);return new B(I,u)}const A=[];this.#Y.set(i,A);return new B(I,A)}async delete(i){Q.brandCheck(this,CacheStorage);const u="CacheStorage.delete";Q.argumentLengthCheck(arguments,1,u);i=Q.converters.DOMString(i,u,"cacheName");return this.#Y.delete(i)}async keys(){Q.brandCheck(this,CacheStorage);const i=this.#Y.keys();return[...i]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:P,has:P,open:P,delete:P,keys:P});i.exports={CacheStorage:CacheStorage}},20109:(i,u,A)=>{"use strict";i.exports={kConstruct:A(36443).kConstruct}},76798:(i,u,A)=>{"use strict";const I=A(34589);const{URLSerializer:B}=A(51900);const{isValidHeaderName:Q}=A(73168);function urlEquals(i,u,A=false){const I=B(i,A);const Q=B(u,A);return I===Q}function getFieldValues(i){I(i!==null);const u=[];for(let A of i.split(",")){A=A.trim();if(Q(A)){u.push(A)}}return u}i.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},71276:i=>{"use strict";const u=1024;const A=4096;i.exports={maxAttributeValueSize:u,maxNameValuePairSize:A}},79061:(i,u,A)=>{"use strict";const{parseSetCookie:I}=A(11978);const{stringify:B}=A(57797);const{webidl:Q}=A(45893);const{Headers:P}=A(60660);function getCookies(i){Q.argumentLengthCheck(arguments,1,"getCookies");Q.brandCheck(i,P,{strict:false});const u=i.get("cookie");const A={};if(!u){return A}for(const i of u.split(";")){const[u,...I]=i.split("=");A[u.trim()]=I.join("=")}return A}function deleteCookie(i,u,A){Q.brandCheck(i,P,{strict:false});const I="deleteCookie";Q.argumentLengthCheck(arguments,2,I);u=Q.converters.DOMString(u,I,"name");A=Q.converters.DeleteCookieAttributes(A);setCookie(i,{name:u,value:"",expires:new Date(0),...A})}function getSetCookies(i){Q.argumentLengthCheck(arguments,1,"getSetCookies");Q.brandCheck(i,P,{strict:false});const u=i.getSetCookie();if(!u){return[]}return u.map((i=>I(i)))}function setCookie(i,u){Q.argumentLengthCheck(arguments,2,"setCookie");Q.brandCheck(i,P,{strict:false});u=Q.converters.Cookie(u);const A=B(u);if(A){i.append("Set-Cookie",A)}}Q.converters.DeleteCookieAttributes=Q.dictionaryConverter([{converter:Q.nullableConverter(Q.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Q.nullableConverter(Q.converters.DOMString),key:"domain",defaultValue:()=>null}]);Q.converters.Cookie=Q.dictionaryConverter([{converter:Q.converters.DOMString,key:"name"},{converter:Q.converters.DOMString,key:"value"},{converter:Q.nullableConverter((i=>{if(typeof i==="number"){return Q.converters["unsigned long long"](i)}return new Date(i)})),key:"expires",defaultValue:()=>null},{converter:Q.nullableConverter(Q.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:Q.nullableConverter(Q.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:Q.nullableConverter(Q.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Q.nullableConverter(Q.converters.boolean),key:"secure",defaultValue:()=>null},{converter:Q.nullableConverter(Q.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:Q.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Q.sequenceConverter(Q.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);i.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},11978:(i,u,A)=>{"use strict";const{maxNameValuePairSize:I,maxAttributeValueSize:B}=A(71276);const{isCTLExcludingHtab:Q}=A(57797);const{collectASequenceOfCodePointsFast:P}=A(51900);const D=A(34589);function parseSetCookie(i){if(Q(i)){return null}let u="";let A="";let B="";let D="";if(i.includes(";")){const I={position:0};u=P(";",i,I);A=i.slice(I.position)}else{u=i}if(!u.includes("=")){D=u}else{const i={position:0};B=P("=",u,i);D=u.slice(i.position+1)}B=B.trim();D=D.trim();if(B.length+D.length>I){return null}return{name:B,value:D,...parseUnparsedAttributes(A)}}function parseUnparsedAttributes(i,u={}){if(i.length===0){return u}D(i[0]===";");i=i.slice(1);let A="";if(i.includes(";")){A=P(";",i,{position:0});i=i.slice(A.length)}else{A=i;i=""}let I="";let Q="";if(A.includes("=")){const i={position:0};I=P("=",A,i);Q=A.slice(i.position+1)}else{I=A}I=I.trim();Q=Q.trim();if(Q.length>B){return parseUnparsedAttributes(i,u)}const L=I.toLowerCase();if(L==="expires"){const i=new Date(Q);u.expires=i}else if(L==="max-age"){const A=Q.charCodeAt(0);if((A<48||A>57)&&Q[0]!=="-"){return parseUnparsedAttributes(i,u)}if(!/^\d+$/.test(Q)){return parseUnparsedAttributes(i,u)}const I=Number(Q);u.maxAge=I}else if(L==="domain"){let i=Q;if(i[0]==="."){i=i.slice(1)}i=i.toLowerCase();u.domain=i}else if(L==="path"){let i="";if(Q.length===0||Q[0]!=="/"){i="/"}else{i=Q}u.path=i}else if(L==="secure"){u.secure=true}else if(L==="httponly"){u.httpOnly=true}else if(L==="samesite"){const i=Q.toLowerCase();if(i==="none"){u.sameSite="None"}else if(i==="strict"){u.sameSite="Strict"}else if(i==="lax"){u.sameSite="Lax"}}else{u.unparsed??=[];u.unparsed.push(`${I}=${Q}`)}return parseUnparsedAttributes(i,u)}i.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},57797:i=>{"use strict";function isCTLExcludingHtab(i){for(let u=0;u=0&&A<=8||A>=10&&A<=31||A===127){return true}}return false}function validateCookieName(i){for(let u=0;u126||A===34||A===40||A===41||A===60||A===62||A===64||A===44||A===59||A===58||A===92||A===47||A===91||A===93||A===63||A===61||A===123||A===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(i){let u=i.length;let A=0;if(i[0]==='"'){if(u===1||i[u-1]!=='"'){throw new Error("Invalid cookie value")}--u;++A}while(A126||u===34||u===44||u===59||u===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(i){for(let u=0;uu.toString().padStart(2,"0")));function toIMFDate(i){if(typeof i==="number"){i=new Date(i)}return`${u[i.getUTCDay()]}, ${I[i.getUTCDate()]} ${A[i.getUTCMonth()]} ${i.getUTCFullYear()} ${I[i.getUTCHours()]}:${I[i.getUTCMinutes()]}:${I[i.getUTCSeconds()]} GMT`}function validateCookieMaxAge(i){if(i<0){throw new Error("Invalid cookie max-age")}}function stringify(i){if(i.name.length===0){return null}validateCookieName(i.name);validateCookieValue(i.value);const u=[`${i.name}=${i.value}`];if(i.name.startsWith("__Secure-")){i.secure=true}if(i.name.startsWith("__Host-")){i.secure=true;i.domain=null;i.path="/"}if(i.secure){u.push("Secure")}if(i.httpOnly){u.push("HttpOnly")}if(typeof i.maxAge==="number"){validateCookieMaxAge(i.maxAge);u.push(`Max-Age=${i.maxAge}`)}if(i.domain){validateCookieDomain(i.domain);u.push(`Domain=${i.domain}`)}if(i.path){validateCookiePath(i.path);u.push(`Path=${i.path}`)}if(i.expires&&i.expires.toString()!=="Invalid Date"){u.push(`Expires=${toIMFDate(i.expires)}`)}if(i.sameSite){u.push(`SameSite=${i.sameSite}`)}for(const A of i.unparsed){if(!A.includes("=")){throw new Error("Invalid unparsed")}const[i,...I]=A.split("=");u.push(`${i.trim()}=${I.join("=")}`)}return u.join("; ")}i.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},24031:(i,u,A)=>{"use strict";const{Transform:I}=A(57075);const{isASCIINumber:B,isValidLastEventId:Q}=A(94811);const P=[239,187,191];const D=10;const L=13;const U=58;const G=32;class EventSourceStream extends I{state=null;checkBOM=true;crlfCheck=false;eventEndCheck=false;buffer=null;pos=0;event={data:undefined,event:undefined,id:undefined,retry:undefined};constructor(i={}){i.readableObjectMode=true;super(i);this.state=i.eventSourceSettings||{};if(i.push){this.push=i.push}}_transform(i,u,A){if(i.length===0){A();return}if(this.buffer){this.buffer=Buffer.concat([this.buffer,i])}else{this.buffer=i}if(this.checkBOM){switch(this.buffer.length){case 1:if(this.buffer[0]===P[0]){A();return}this.checkBOM=false;A();return;case 2:if(this.buffer[0]===P[0]&&this.buffer[1]===P[1]){A();return}this.checkBOM=false;break;case 3:if(this.buffer[0]===P[0]&&this.buffer[1]===P[1]&&this.buffer[2]===P[2]){this.buffer=Buffer.alloc(0);this.checkBOM=false;A();return}this.checkBOM=false;break;default:if(this.buffer[0]===P[0]&&this.buffer[1]===P[1]&&this.buffer[2]===P[2]){this.buffer=this.buffer.subarray(3)}this.checkBOM=false;break}}while(this.pos0){u[I]=P}break}}processEvent(i){if(i.retry&&B(i.retry)){this.state.reconnectionTime=parseInt(i.retry,10)}if(i.id&&Q(i.id)){this.state.lastEventId=i.id}if(i.data!==undefined){this.push({type:i.event||"message",options:{data:i.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event={data:undefined,event:undefined,id:undefined,retry:undefined}}}i.exports={EventSourceStream:EventSourceStream}},21238:(i,u,A)=>{"use strict";const{pipeline:I}=A(57075);const{fetching:B}=A(54398);const{makeRequest:Q}=A(9967);const{webidl:P}=A(45893);const{EventSourceStream:D}=A(24031);const{parseMIMEType:L}=A(51900);const{createFastMessageEvent:U}=A(15188);const{isNetworkError:G}=A(99051);const{delay:z}=A(94811);const{kEnumerableProperty:W}=A(3440);const{environmentSettingsObject:Y}=A(73168);let J=false;const $=3e3;const K=0;const X=1;const he=2;const Ae="anonymous";const ye="use-credentials";class EventSource extends EventTarget{#c={open:null,error:null,message:null};#J=null;#$=false;#K=K;#X=null;#Z=null;#A;#Q;constructor(i,u={}){super();P.util.markAsUncloneable(this);const A="EventSource constructor";P.argumentLengthCheck(arguments,1,A);if(!J){J=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}i=P.converters.USVString(i,A,"url");u=P.converters.EventSourceInitDict(u,A,"eventSourceInitDict");this.#A=u.dispatcher;this.#Q={lastEventId:"",reconnectionTime:$};const I=Y;let B;try{B=new URL(i,I.settingsObject.baseUrl);this.#Q.origin=B.origin}catch(i){throw new DOMException(i,"SyntaxError")}this.#J=B.href;let D=Ae;if(u.withCredentials){D=ye;this.#$=true}const L={redirect:"follow",keepalive:true,mode:"cors",credentials:D==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};L.client=Y.settingsObject;L.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];L.cache="no-store";L.initiator="other";L.urlList=[new URL(this.#J)];this.#X=Q(L);this.#ee()}get readyState(){return this.#K}get url(){return this.#J}get withCredentials(){return this.#$}#ee(){if(this.#K===he)return;this.#K=K;const i={request:this.#X,dispatcher:this.#A};const processEventSourceEndOfBody=i=>{if(G(i)){this.dispatchEvent(new Event("error"));this.close()}this.#te()};i.processResponseEndOfBody=processEventSourceEndOfBody;i.processResponse=i=>{if(G(i)){if(i.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#te();return}}const u=i.headersList.get("content-type",true);const A=u!==null?L(u):"failure";const B=A!=="failure"&&A.essence==="text/event-stream";if(i.status!==200||B===false){this.close();this.dispatchEvent(new Event("error"));return}this.#K=X;this.dispatchEvent(new Event("open"));this.#Q.origin=i.urlList[i.urlList.length-1].origin;const Q=new D({eventSourceSettings:this.#Q,push:i=>{this.dispatchEvent(U(i.type,i.options))}});I(i.body.stream,Q,(i=>{if(i?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}}))};this.#Z=B(i)}async#te(){if(this.#K===he)return;this.#K=K;this.dispatchEvent(new Event("error"));await z(this.#Q.reconnectionTime);if(this.#K!==K)return;if(this.#Q.lastEventId.length){this.#X.headersList.set("last-event-id",this.#Q.lastEventId,true)}this.#ee()}close(){P.brandCheck(this,EventSource);if(this.#K===he)return;this.#K=he;this.#Z.abort();this.#X=null}get onopen(){return this.#c.open}set onopen(i){if(this.#c.open){this.removeEventListener("open",this.#c.open)}if(typeof i==="function"){this.#c.open=i;this.addEventListener("open",i)}else{this.#c.open=null}}get onmessage(){return this.#c.message}set onmessage(i){if(this.#c.message){this.removeEventListener("message",this.#c.message)}if(typeof i==="function"){this.#c.message=i;this.addEventListener("message",i)}else{this.#c.message=null}}get onerror(){return this.#c.error}set onerror(i){if(this.#c.error){this.removeEventListener("error",this.#c.error)}if(typeof i==="function"){this.#c.error=i;this.addEventListener("error",i)}else{this.#c.error=null}}}const be={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:K,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:X,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:he,writable:false}};Object.defineProperties(EventSource,be);Object.defineProperties(EventSource.prototype,be);Object.defineProperties(EventSource.prototype,{close:W,onerror:W,onmessage:W,onopen:W,readyState:W,url:W,withCredentials:W});P.converters.EventSourceInitDict=P.dictionaryConverter([{key:"withCredentials",converter:P.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:P.converters.any}]);i.exports={EventSource:EventSource,defaultReconnectionTime:$}},94811:i=>{"use strict";function isValidLastEventId(i){return i.indexOf("\0")===-1}function isASCIINumber(i){if(i.length===0)return false;for(let u=0;u57)return false}return true}function delay(i){return new Promise((u=>{setTimeout(u,i).unref()}))}i.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},84492:(i,u,A)=>{"use strict";const I=A(3440);const{ReadableStreamFrom:B,isBlobLike:Q,isReadableStreamLike:P,readableStreamClose:D,createDeferredPromise:L,fullyReadBody:U,extractMimeType:G,utf8DecodeBytes:z}=A(73168);const{FormData:W}=A(35910);const{kState:Y}=A(93627);const{webidl:J}=A(45893);const{Blob:$}=A(4573);const K=A(34589);const{isErrored:X,isDisturbed:he}=A(57075);const{isArrayBuffer:Ae}=A(73429);const{serializeAMimeType:ye}=A(51900);const{multipartFormDataParser:be}=A(50116);let Ee;try{const i=A(77598);Ee=u=>i.randomInt(0,u)}catch{Ee=i=>Math.floor(Math.random(i))}const Ce=new TextEncoder;function noop(){}const we=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let ve;if(we){ve=new FinalizationRegistry((i=>{const u=i.deref();if(u&&!u.locked&&!he(u)&&!X(u)){u.cancel("Response object has been garbage collected").catch(noop)}}))}function extractBody(i,u=false){let A=null;if(i instanceof ReadableStream){A=i}else if(Q(i)){A=i.stream()}else{A=new ReadableStream({async pull(i){const u=typeof U==="string"?Ce.encode(U):U;if(u.byteLength){i.enqueue(u)}queueMicrotask((()=>D(i)))},start(){},type:"bytes"})}K(P(A));let L=null;let U=null;let G=null;let z=null;if(typeof i==="string"){U=i;z="text/plain;charset=UTF-8"}else if(i instanceof URLSearchParams){U=i.toString();z="application/x-www-form-urlencoded;charset=UTF-8"}else if(Ae(i)){U=new Uint8Array(i.slice())}else if(ArrayBuffer.isView(i)){U=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength))}else if(I.isFormDataLike(i)){const u=`----formdata-undici-0${`${Ee(1e11)}`.padStart(11,"0")}`;const A=`--${u}\r\nContent-Disposition: form-data` /*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const I=[];const B=new Uint8Array([13,10]);G=0;let Q=false;for(const[u,P]of i){if(typeof P==="string"){const i=Ce.encode(A+`; name="${escape(normalizeLinefeeds(u))}"`+`\r\n\r\n${normalizeLinefeeds(P)}\r\n`);I.push(i);G+=i.byteLength}else{const i=Ce.encode(`${A}; name="${escape(normalizeLinefeeds(u))}"`+(P.name?`; filename="${escape(P.name)}"`:"")+"\r\n"+`Content-Type: ${P.type||"application/octet-stream"}\r\n\r\n`);I.push(i,P,B);if(typeof P.size==="number"){G+=i.byteLength+P.size+B.byteLength}else{Q=true}}}const P=Ce.encode(`--${u}--\r\n`);I.push(P);G+=P.byteLength;if(Q){G=null}U=i;L=async function*(){for(const i of I){if(i.stream){yield*i.stream()}else{yield i}}};z=`multipart/form-data; boundary=${u}`}else if(Q(i)){U=i;G=i.size;if(i.type){z=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(u){throw new TypeError("keepalive")}if(I.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}A=i instanceof ReadableStream?i:B(i)}if(typeof U==="string"||I.isBuffer(U)){G=Buffer.byteLength(U)}if(L!=null){let u;A=new ReadableStream({async start(){u=L(i)[Symbol.asyncIterator]()},async pull(i){const{value:I,done:B}=await u.next();if(B){queueMicrotask((()=>{i.close();i.byobRequest?.respond(0)}))}else{if(!X(A)){const u=new Uint8Array(I);if(u.byteLength){i.enqueue(u)}}}return i.desiredSize>0},async cancel(i){await u.return()},type:"bytes"})}const W={stream:A,source:U,length:G};return[W,z]}function safelyExtractBody(i,u=false){if(i instanceof ReadableStream){K(!I.isDisturbed(i),"The body has already been consumed.");K(!i.locked,"The stream is locked.")}return extractBody(i,u)}function cloneBody(i,u){const[A,I]=u.stream.tee();u.stream=A;return{stream:I,length:u.length,source:u.source}}function throwIfAborted(i){if(i.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const u={blob(){return consumeBody(this,(i=>{let u=bodyMimeType(this);if(u===null){u=""}else if(u){u=ye(u)}return new $([i],{type:u})}),i)},arrayBuffer(){return consumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return consumeBody(this,z,i)},json(){return consumeBody(this,parseJSONFromBytes,i)},formData(){return consumeBody(this,(i=>{const u=bodyMimeType(this);if(u!==null){switch(u.essence){case"multipart/form-data":{const A=be(i,u);if(A==="failure"){throw new TypeError("Failed to parse body as FormData.")}const I=new W;I[Y]=A;return I}case"application/x-www-form-urlencoded":{const u=new URLSearchParams(i.toString());const A=new W;for(const[i,I]of u){A.append(i,I)}return A}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),i)},bytes(){return consumeBody(this,(i=>new Uint8Array(i)),i)}};return u}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function consumeBody(i,u,A){J.brandCheck(i,A);if(bodyUnusable(i)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(i[Y]);const I=L();const errorSteps=i=>I.reject(i);const successSteps=i=>{try{I.resolve(u(i))}catch(i){errorSteps(i)}};if(i[Y].body==null){successSteps(Buffer.allocUnsafe(0));return I.promise}await U(i[Y].body,successSteps,errorSteps);return I.promise}function bodyUnusable(i){const u=i[Y].body;return u!=null&&(u.stream.locked||I.isDisturbed(u.stream))}function parseJSONFromBytes(i){return JSON.parse(z(i))}function bodyMimeType(i){const u=i[Y].headersList;const A=G(u);if(A==="failure"){return null}return A}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:ve,hasFinalizationRegistry:we,bodyUnusable:bodyUnusable}},4495:i=>{"use strict";const u=["GET","HEAD","POST"];const A=new Set(u);const I=[101,204,205,304];const B=[301,302,303,307,308];const Q=new Set(B);const P=["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","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const D=new Set(P);const L=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const U=new Set(L);const G=["follow","manual","error"];const z=["GET","HEAD","OPTIONS","TRACE"];const W=new Set(z);const Y=["navigate","same-origin","no-cors","cors"];const J=["omit","same-origin","include"];const $=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const K=["content-encoding","content-language","content-location","content-type","content-length"];const X=["half"];const he=["CONNECT","TRACE","TRACK"];const Ae=new Set(he);const ye=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const be=new Set(ye);i.exports={subresource:ye,forbiddenMethods:he,requestBodyHeader:K,referrerPolicy:L,requestRedirect:G,requestMode:Y,requestCredentials:J,requestCache:$,redirectStatus:B,corsSafeListedMethods:u,nullBodyStatus:I,safeMethods:z,badPorts:P,requestDuplex:X,subresourceSet:be,badPortsSet:D,redirectStatusSet:Q,corsSafeListedMethodsSet:A,safeMethodsSet:W,forbiddenMethodsSet:Ae,referrerPolicySet:U}},51900:(i,u,A)=>{"use strict";const I=A(34589);const B=new TextEncoder;const Q=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const P=/[\u000A\u000D\u0009\u0020]/;const D=/[\u0009\u000A\u000C\u000D\u0020]/g;const L=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(i){I(i.protocol==="data:");let u=URLSerializer(i,true);u=u.slice(5);const A={position:0};let B=collectASequenceOfCodePointsFast(",",u,A);const Q=B.length;B=removeASCIIWhitespace(B,true,true);if(A.position>=u.length){return"failure"}A.position++;const P=u.slice(Q+1);let D=stringPercentDecode(P);if(/;(\u0020){0,}base64$/i.test(B)){const i=isomorphicDecode(D);D=forgivingBase64(i);if(D==="failure"){return"failure"}B=B.slice(0,-6);B=B.replace(/(\u0020)+$/,"");B=B.slice(0,-1)}if(B.startsWith(";")){B="text/plain"+B}let L=parseMIMEType(B);if(L==="failure"){L=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:L,body:D}}function URLSerializer(i,u=false){if(!u){return i.href}const A=i.href;const I=i.hash.length;const B=I===0?A:A.substring(0,A.length-I);if(!I&&A.endsWith("#")){return B.slice(0,-1)}return B}function collectASequenceOfCodePoints(i,u,A){let I="";while(A.position=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102}function hexByteToNumber(i){return i>=48&&i<=57?i-48:(i&223)-55}function percentDecode(i){const u=i.length;const A=new Uint8Array(u);let I=0;for(let B=0;Bi.length){return"failure"}u.position++;let I=collectASequenceOfCodePointsFast(";",i,u);I=removeHTTPWhitespace(I,false,true);if(I.length===0||!Q.test(I)){return"failure"}const B=A.toLowerCase();const D=I.toLowerCase();const U={type:B,subtype:D,parameters:new Map,essence:`${B}/${D}`};while(u.positionP.test(i)),i,u);let A=collectASequenceOfCodePoints((i=>i!==";"&&i!=="="),i,u);A=A.toLowerCase();if(u.positioni.length){break}let I=null;if(i[u.position]==='"'){I=collectAnHTTPQuotedString(i,u,true);collectASequenceOfCodePointsFast(";",i,u)}else{I=collectASequenceOfCodePointsFast(";",i,u);I=removeHTTPWhitespace(I,false,true);if(I.length===0){continue}}if(A.length!==0&&Q.test(A)&&(I.length===0||L.test(I))&&!U.parameters.has(A)){U.parameters.set(A,I)}}return U}function forgivingBase64(i){i=i.replace(D,"");let u=i.length;if(u%4===0){if(i.charCodeAt(u-1)===61){--u;if(i.charCodeAt(u-1)===61){--u}}}if(u%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(i.length===u?i:i.substring(0,u))){return"failure"}const A=Buffer.from(i,"base64");return new Uint8Array(A.buffer,A.byteOffset,A.byteLength)}function collectAnHTTPQuotedString(i,u,A){const B=u.position;let Q="";I(i[u.position]==='"');u.position++;while(true){Q+=collectASequenceOfCodePoints((i=>i!=='"'&&i!=="\\"),i,u);if(u.position>=i.length){break}const A=i[u.position];u.position++;if(A==="\\"){if(u.position>=i.length){Q+="\\";break}Q+=i[u.position];u.position++}else{I(A==='"');break}}if(A){return Q}return i.slice(B,u.position)}function serializeAMimeType(i){I(i!=="failure");const{parameters:u,essence:A}=i;let B=A;for(let[i,A]of u.entries()){B+=";";B+=i;B+="=";if(!Q.test(A)){A=A.replace(/(\\|")/g,"\\$1");A='"'+A;A+='"'}B+=A}return B}function isHTTPWhiteSpace(i){return i===13||i===10||i===9||i===32}function removeHTTPWhitespace(i,u=true,A=true){return removeChars(i,u,A,isHTTPWhiteSpace)}function isASCIIWhitespace(i){return i===13||i===10||i===9||i===12||i===32}function removeASCIIWhitespace(i,u=true,A=true){return removeChars(i,u,A,isASCIIWhitespace)}function removeChars(i,u,A,I){let B=0;let Q=i.length-1;if(u){while(B0&&I(i.charCodeAt(Q)))Q--}return B===0&&Q===i.length-1?i:i.slice(B,Q+1)}function isomorphicDecode(i){const u=i.length;if((2<<15)-1>u){return String.fromCharCode.apply(null,i)}let A="";let I=0;let B=(2<<15)-1;while(Iu){B=u-I}A+=String.fromCharCode.apply(null,i.subarray(I,I+=B))}return A}function minimizeSupportedMimeType(i){switch(i.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(i.subtype.endsWith("+json")){return"application/json"}if(i.subtype.endsWith("+xml")){return"application/xml"}return""}i.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType,removeChars:removeChars,removeHTTPWhitespace:removeHTTPWhitespace,minimizeSupportedMimeType:minimizeSupportedMimeType,HTTP_TOKEN_CODEPOINTS:Q,isomorphicDecode:isomorphicDecode}},66653:(i,u,A)=>{"use strict";const{kConnected:I,kSize:B}=A(36443);class CompatWeakRef{constructor(i){this.value=i}deref(){return this.value[I]===0&&this.value[B]===0?undefined:this.value}}class CompatFinalizer{constructor(i){this.finalizer=i}register(i,u){if(i.on){i.on("disconnect",(()=>{if(i[I]===0&&i[B]===0){this.finalizer(u)}}))}}unregister(i){}}i.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")){process._rawDebug("Using compatibility WeakRef and FinalizationRegistry");return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:WeakRef,FinalizationRegistry:FinalizationRegistry}}},27114:(i,u,A)=>{"use strict";const{Blob:I,File:B}=A(4573);const{kState:Q}=A(93627);const{webidl:P}=A(45893);class FileLike{constructor(i,u,A={}){const I=u;const B=A.type;const P=A.lastModified??Date.now();this[Q]={blobLike:i,name:I,type:B,lastModified:P}}stream(...i){P.brandCheck(this,FileLike);return this[Q].blobLike.stream(...i)}arrayBuffer(...i){P.brandCheck(this,FileLike);return this[Q].blobLike.arrayBuffer(...i)}slice(...i){P.brandCheck(this,FileLike);return this[Q].blobLike.slice(...i)}text(...i){P.brandCheck(this,FileLike);return this[Q].blobLike.text(...i)}get size(){P.brandCheck(this,FileLike);return this[Q].blobLike.size}get type(){P.brandCheck(this,FileLike);return this[Q].blobLike.type}get name(){P.brandCheck(this,FileLike);return this[Q].name}get lastModified(){P.brandCheck(this,FileLike);return this[Q].lastModified}get[Symbol.toStringTag](){return"File"}}P.converters.Blob=P.interfaceConverter(I);function isFileLike(i){return i instanceof B||i&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&i[Symbol.toStringTag]==="File"}i.exports={FileLike:FileLike,isFileLike:isFileLike}},50116:(i,u,A)=>{"use strict";const{isUSVString:I,bufferToLowerCasedHeaderName:B}=A(3440);const{utf8DecodeBytes:Q}=A(73168);const{HTTP_TOKEN_CODEPOINTS:P,isomorphicDecode:D}=A(51900);const{isFileLike:L}=A(27114);const{makeEntry:U}=A(35910);const G=A(34589);const{File:z}=A(4573);const W=globalThis.File??z;const Y=Buffer.from('form-data; name="');const J=Buffer.from("; filename");const $=Buffer.from("--");const K=Buffer.from("--\r\n");function isAsciiString(i){for(let u=0;u70){return false}for(let A=0;A=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||u===39||u===45||u===95)){return false}}return true}function multipartFormDataParser(i,u){G(u!=="failure"&&u.essence==="multipart/form-data");const A=u.parameters.get("boundary");if(A===undefined){return"failure"}const B=Buffer.from(`--${A}`,"utf8");const P=[];const D={position:0};while(i[D.position]===13&&i[D.position+1]===10){D.position+=2}let z=i.length;while(i[z-1]===10&&i[z-2]===13){z-=2}if(z!==i.length){i=i.subarray(0,z)}while(true){if(i.subarray(D.position,D.position+B.length).equals(B)){D.position+=B.length}else{return"failure"}if(D.position===i.length-2&&bufferStartsWith(i,$,D)||D.position===i.length-4&&bufferStartsWith(i,K,D)){return P}if(i[D.position]!==13||i[D.position+1]!==10){return"failure"}D.position+=2;const u=parseMultipartFormDataHeaders(i,D);if(u==="failure"){return"failure"}let{name:A,filename:z,contentType:Y,encoding:J}=u;D.position+=2;let X;{const u=i.indexOf(B.subarray(2),D.position);if(u===-1){return"failure"}X=i.subarray(D.position,u-4);D.position+=X.length;if(J==="base64"){X=Buffer.from(X.toString(),"base64")}}if(i[D.position]!==13||i[D.position+1]!==10){return"failure"}else{D.position+=2}let he;if(z!==null){Y??="text/plain";if(!isAsciiString(Y)){Y=""}he=new W([X],z,{type:Y})}else{he=Q(Buffer.from(X))}G(I(A));G(typeof he==="string"&&I(he)||L(he));P.push(U(A,he,z))}}function parseMultipartFormDataHeaders(i,u){let A=null;let I=null;let Q=null;let L=null;while(true){if(i[u.position]===13&&i[u.position+1]===10){if(A===null){return"failure"}return{name:A,filename:I,contentType:Q,encoding:L}}let U=collectASequenceOfBytes((i=>i!==10&&i!==13&&i!==58),i,u);U=removeChars(U,true,true,(i=>i===9||i===32));if(!P.test(U.toString())){return"failure"}if(i[u.position]!==58){return"failure"}u.position++;collectASequenceOfBytes((i=>i===32||i===9),i,u);switch(B(U)){case"content-disposition":{A=I=null;if(!bufferStartsWith(i,Y,u)){return"failure"}u.position+=17;A=parseMultipartFormDataName(i,u);if(A===null){return"failure"}if(bufferStartsWith(i,J,u)){let A=u.position+J.length;if(i[A]===42){u.position+=1;A+=1}if(i[A]!==61||i[A+1]!==34){return"failure"}u.position+=12;I=parseMultipartFormDataName(i,u);if(I===null){return"failure"}}break}case"content-type":{let A=collectASequenceOfBytes((i=>i!==10&&i!==13),i,u);A=removeChars(A,false,true,(i=>i===9||i===32));Q=D(A);break}case"content-transfer-encoding":{let A=collectASequenceOfBytes((i=>i!==10&&i!==13),i,u);A=removeChars(A,false,true,(i=>i===9||i===32));L=D(A);break}default:{collectASequenceOfBytes((i=>i!==10&&i!==13),i,u)}}if(i[u.position]!==13&&i[u.position+1]!==10){return"failure"}else{u.position+=2}}}function parseMultipartFormDataName(i,u){G(i[u.position-1]===34);let A=collectASequenceOfBytes((i=>i!==10&&i!==13&&i!==34),i,u);if(i[u.position]!==34){return null}else{u.position++}A=(new TextDecoder).decode(A).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return A}function collectASequenceOfBytes(i,u,A){let I=A.position;while(I0&&I(i[Q]))Q--}return B===0&&Q===i.length-1?i:i.subarray(B,Q+1)}function bufferStartsWith(i,u,A){if(i.length{"use strict";const{isBlobLike:I,iteratorMixin:B}=A(73168);const{kState:Q}=A(93627);const{kEnumerableProperty:P}=A(3440);const{FileLike:D,isFileLike:L}=A(27114);const{webidl:U}=A(45893);const{File:G}=A(4573);const z=A(57975);const W=globalThis.File??G;class FormData{constructor(i){U.util.markAsUncloneable(this);if(i!==undefined){throw U.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[Q]=[]}append(i,u,A=undefined){U.brandCheck(this,FormData);const B="FormData.append";U.argumentLengthCheck(arguments,2,B);if(arguments.length===3&&!I(u)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}i=U.converters.USVString(i,B,"name");u=I(u)?U.converters.Blob(u,B,"value",{strict:false}):U.converters.USVString(u,B,"value");A=arguments.length===3?U.converters.USVString(A,B,"filename"):undefined;const P=makeEntry(i,u,A);this[Q].push(P)}delete(i){U.brandCheck(this,FormData);const u="FormData.delete";U.argumentLengthCheck(arguments,1,u);i=U.converters.USVString(i,u,"name");this[Q]=this[Q].filter((u=>u.name!==i))}get(i){U.brandCheck(this,FormData);const u="FormData.get";U.argumentLengthCheck(arguments,1,u);i=U.converters.USVString(i,u,"name");const A=this[Q].findIndex((u=>u.name===i));if(A===-1){return null}return this[Q][A].value}getAll(i){U.brandCheck(this,FormData);const u="FormData.getAll";U.argumentLengthCheck(arguments,1,u);i=U.converters.USVString(i,u,"name");return this[Q].filter((u=>u.name===i)).map((i=>i.value))}has(i){U.brandCheck(this,FormData);const u="FormData.has";U.argumentLengthCheck(arguments,1,u);i=U.converters.USVString(i,u,"name");return this[Q].findIndex((u=>u.name===i))!==-1}set(i,u,A=undefined){U.brandCheck(this,FormData);const B="FormData.set";U.argumentLengthCheck(arguments,2,B);if(arguments.length===3&&!I(u)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}i=U.converters.USVString(i,B,"name");u=I(u)?U.converters.Blob(u,B,"name",{strict:false}):U.converters.USVString(u,B,"name");A=arguments.length===3?U.converters.USVString(A,B,"name"):undefined;const P=makeEntry(i,u,A);const D=this[Q].findIndex((u=>u.name===i));if(D!==-1){this[Q]=[...this[Q].slice(0,D),P,...this[Q].slice(D+1).filter((u=>u.name!==i))]}else{this[Q].push(P)}}[z.inspect.custom](i,u){const A=this[Q].reduce(((i,u)=>{if(i[u.name]){if(Array.isArray(i[u.name])){i[u.name].push(u.value)}else{i[u.name]=[i[u.name],u.value]}}else{i[u.name]=u.value}return i}),{__proto__:null});u.depth??=i;u.colors??=true;const I=z.formatWithOptions(u,A);return`FormData ${I.slice(I.indexOf("]")+2)}`}}B("FormData",FormData,Q,"name","value");Object.defineProperties(FormData.prototype,{append:P,delete:P,get:P,getAll:P,has:P,set:P,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(i,u,A){if(typeof u==="string"){}else{if(!L(u)){u=u instanceof Blob?new W([u],"blob",{type:u.type}):new D(u,"blob",{type:u.type})}if(A!==undefined){const i={type:u.type,lastModified:u.lastModified};u=u instanceof G?new W([u],A,i):new D(u,A,i)}}return{name:i,value:u}}i.exports={FormData:FormData,makeEntry:makeEntry}},51059:i=>{"use strict";const u=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[u]}function setGlobalOrigin(i){if(i===undefined){Object.defineProperty(globalThis,u,{value:undefined,writable:true,enumerable:false,configurable:false});return}const A=new URL(i);if(A.protocol!=="http:"&&A.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${A.protocol}`)}Object.defineProperty(globalThis,u,{value:A,writable:true,enumerable:false,configurable:false})}i.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},60660:(i,u,A)=>{"use strict";const{kConstruct:I}=A(36443);const{kEnumerableProperty:B}=A(3440);const{iteratorMixin:Q,isValidHeaderName:P,isValidHeaderValue:D}=A(73168);const{webidl:L}=A(45893);const U=A(34589);const G=A(57975);const z=Symbol("headers map");const W=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(i){return i===10||i===13||i===9||i===32}function headerValueNormalize(i){let u=0;let A=i.length;while(A>u&&isHTTPWhiteSpaceCharCode(i.charCodeAt(A-1)))--A;while(A>u&&isHTTPWhiteSpaceCharCode(i.charCodeAt(u)))++u;return u===0&&A===i.length?i:i.substring(u,A)}function fill(i,u){if(Array.isArray(u)){for(let A=0;A>","record"]})}}function appendHeader(i,u,A){A=headerValueNormalize(A);if(!P(u)){throw L.errors.invalidArgument({prefix:"Headers.append",value:u,type:"header name"})}else if(!D(A)){throw L.errors.invalidArgument({prefix:"Headers.append",value:A,type:"header value"})}if(Y(i)==="immutable"){throw new TypeError("immutable")}return $(i).append(u,A,false)}function compareHeaderName(i,u){return i[0]>1);if(u[D][0]<=L[0]){P=D+1}else{Q=D}}if(I!==D){B=I;while(B>P){u[B]=u[--B]}u[P]=L}}if(!A.next().done){throw new TypeError("Unreachable")}return u}else{let i=0;for(const{0:A,1:{value:I}}of this[z]){u[i++]=[A,I];U(I!==null)}return u.sort(compareHeaderName)}}}class Headers{#re;#ne;constructor(i=undefined){L.util.markAsUncloneable(this);if(i===I){return}this.#ne=new HeadersList;this.#re="none";if(i!==undefined){i=L.converters.HeadersInit(i,"Headers contructor","init");fill(this,i)}}append(i,u){L.brandCheck(this,Headers);L.argumentLengthCheck(arguments,2,"Headers.append");const A="Headers.append";i=L.converters.ByteString(i,A,"name");u=L.converters.ByteString(u,A,"value");return appendHeader(this,i,u)}delete(i){L.brandCheck(this,Headers);L.argumentLengthCheck(arguments,1,"Headers.delete");const u="Headers.delete";i=L.converters.ByteString(i,u,"name");if(!P(i)){throw L.errors.invalidArgument({prefix:"Headers.delete",value:i,type:"header name"})}if(this.#re==="immutable"){throw new TypeError("immutable")}if(!this.#ne.contains(i,false)){return}this.#ne.delete(i,false)}get(i){L.brandCheck(this,Headers);L.argumentLengthCheck(arguments,1,"Headers.get");const u="Headers.get";i=L.converters.ByteString(i,u,"name");if(!P(i)){throw L.errors.invalidArgument({prefix:u,value:i,type:"header name"})}return this.#ne.get(i,false)}has(i){L.brandCheck(this,Headers);L.argumentLengthCheck(arguments,1,"Headers.has");const u="Headers.has";i=L.converters.ByteString(i,u,"name");if(!P(i)){throw L.errors.invalidArgument({prefix:u,value:i,type:"header name"})}return this.#ne.contains(i,false)}set(i,u){L.brandCheck(this,Headers);L.argumentLengthCheck(arguments,2,"Headers.set");const A="Headers.set";i=L.converters.ByteString(i,A,"name");u=L.converters.ByteString(u,A,"value");u=headerValueNormalize(u);if(!P(i)){throw L.errors.invalidArgument({prefix:A,value:i,type:"header name"})}else if(!D(u)){throw L.errors.invalidArgument({prefix:A,value:u,type:"header value"})}if(this.#re==="immutable"){throw new TypeError("immutable")}this.#ne.set(i,u,false)}getSetCookie(){L.brandCheck(this,Headers);const i=this.#ne.cookies;if(i){return[...i]}return[]}get[W](){if(this.#ne[W]){return this.#ne[W]}const i=[];const u=this.#ne.toSortedArray();const A=this.#ne.cookies;if(A===null||A.length===1){return this.#ne[W]=u}for(let I=0;I>"](i,u,A,I.bind(i))}return L.converters["record"](i,u,A)}throw L.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};i.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:Y,setHeadersGuard:J,setHeadersList:K,getHeadersList:$}},54398:(i,u,A)=>{"use strict";const{makeNetworkError:I,makeAppropriateNetworkError:B,filterResponse:Q,makeResponse:P,fromInnerResponse:D}=A(99051);const{HeadersList:L}=A(60660);const{Request:U,cloneRequest:G}=A(9967);const z=A(38522);const{bytesMatch:W,makePolicyContainer:Y,clonePolicyContainer:J,requestBadPort:$,TAOCheck:K,appendRequestOriginHeader:X,responseLocationURL:he,requestCurrentURL:Ae,setRequestReferrerPolicyOnRedirect:ye,tryUpgradeRequestToAPotentiallyTrustworthyURL:be,createOpaqueTimingInfo:Ee,appendFetchMetadata:Ce,corsCheck:we,crossOriginResourcePolicyCheck:ve,determineRequestsReferrer:Se,coarsenedSharedCurrentTime:Re,createDeferredPromise:Ne,isBlobLike:_e,sameOrigin:Oe,isCancelled:xe,isAborted:ke,isErrorLike:Qe,fullyReadBody:Pe,readableStreamClose:De,isomorphicEncode:Me,urlIsLocal:Fe,urlIsHttpHttpsScheme:Ue,urlHasHttpsScheme:je,clampAndCoarsenConnectionTimingInfo:He,simpleRangeHeaderValue:Ge,buildContentRange:qe,createInflate:ze,extractMimeType:Je}=A(73168);const{kState:$e,kDispatcher:Ke}=A(93627);const Xe=A(34589);const{safelyExtractBody:st,extractBody:ut}=A(84492);const{redirectStatusSet:dt,nullBodyStatus:pt,safeMethodsSet:mt,requestBodyHeader:yt,subresourceSet:bt}=A(4495);const Et=A(78474);const{Readable:Bt,pipeline:Nt,finished:Ot}=A(57075);const{addAbortListener:er,isErrored:tr,isReadable:rr,bufferToLowerCasedHeaderName:nr}=A(3440);const{dataURLProcessor:ir,serializeAMimeType:hr,minimizeSupportedMimeType:Ar}=A(51900);const{getGlobalDispatcher:gr}=A(32581);const{webidl:yr}=A(45893);const{STATUS_CODES:br}=A(37067);const wr=["GET","HEAD"];const vr=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let Sr;class Fetch extends Et{constructor(i){super();this.dispatcher=i;this.connection=null;this.dump=false;this.state="ongoing"}terminate(i){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(i);this.emit("terminated",i)}abort(i){if(this.state!=="ongoing"){return}this.state="aborted";if(!i){i=new DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=i;this.connection?.destroy(i);this.emit("terminated",i)}}function handleFetchDone(i){finalizeAndReportTiming(i,"fetch")}function fetch(i,u=undefined){yr.argumentLengthCheck(arguments,1,"globalThis.fetch");let A=Ne();let I;try{I=new U(i,u)}catch(i){A.reject(i);return A.promise}const B=I[$e];if(I.signal.aborted){abortFetch(A,B,null,I.signal.reason);return A.promise}const Q=B.client.globalObject;if(Q?.constructor?.name==="ServiceWorkerGlobalScope"){B.serviceWorkers="none"}let P=null;let L=false;let G=null;er(I.signal,(()=>{L=true;Xe(G!=null);G.abort(I.signal.reason);const i=P?.deref();abortFetch(A,B,i,I.signal.reason)}));const processResponse=i=>{if(L){return}if(i.aborted){abortFetch(A,B,P,G.serializedAbortReason);return}if(i.type==="error"){A.reject(new TypeError("fetch failed",{cause:i.error}));return}P=new WeakRef(D(i,"immutable"));A.resolve(P.deref());A=null};G=fetching({request:B,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:I[Ke]});return A.promise}function finalizeAndReportTiming(i,u="other"){if(i.type==="error"&&i.aborted){return}if(!i.urlList?.length){return}const A=i.urlList[0];let I=i.timingInfo;let B=i.cacheState;if(!Ue(A)){return}if(I===null){return}if(!i.timingAllowPassed){I=Ee({startTime:I.startTime});B=""}I.endTime=Re();i.timingInfo=I;Ir(I,A.href,u,globalThis,B)}const Ir=performance.markResourceTiming;function abortFetch(i,u,A,I){if(i){i.reject(I)}if(u.body!=null&&rr(u.body?.stream)){u.body.stream.cancel(I).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}if(A==null){return}const B=A[$e];if(B.body!=null&&rr(B.body?.stream)){B.body.stream.cancel(I).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}}function fetching({request:i,processRequestBodyChunkLength:u,processRequestEndOfBody:A,processResponse:I,processResponseEndOfBody:B,processResponseConsumeBody:Q,useParallelQueue:P=false,dispatcher:D=gr()}){Xe(D);let L=null;let U=false;if(i.client!=null){L=i.client.globalObject;U=i.client.crossOriginIsolatedCapability}const G=Re(U);const z=Ee({startTime:G});const W={controller:new Fetch(D),request:i,timingInfo:z,processRequestBodyChunkLength:u,processRequestEndOfBody:A,processResponse:I,processResponseConsumeBody:Q,processResponseEndOfBody:B,taskDestination:L,crossOriginIsolatedCapability:U};Xe(!i.body||i.body.stream);if(i.window==="client"){i.window=i.client?.globalObject?.constructor?.name==="Window"?i.client:"no-window"}if(i.origin==="client"){i.origin=i.client.origin}if(i.policyContainer==="client"){if(i.client!=null){i.policyContainer=J(i.client.policyContainer)}else{i.policyContainer=Y()}}if(!i.headersList.contains("accept",true)){const u="*/*";i.headersList.append("accept",u,true)}if(!i.headersList.contains("accept-language",true)){i.headersList.append("accept-language","*",true)}if(i.priority===null){}if(bt.has(i.destination)){}mainFetch(W).catch((i=>{W.controller.terminate(i)}));return W.controller}async function mainFetch(i,u=false){const A=i.request;let B=null;if(A.localURLsOnly&&!Fe(Ae(A))){B=I("local URLs only")}be(A);if($(A)==="blocked"){B=I("bad port")}if(A.referrerPolicy===""){A.referrerPolicy=A.policyContainer.referrerPolicy}if(A.referrer!=="no-referrer"){A.referrer=Se(A)}if(B===null){B=await(async()=>{const u=Ae(A);if(Oe(u,A.url)&&A.responseTainting==="basic"||u.protocol==="data:"||(A.mode==="navigate"||A.mode==="websocket")){A.responseTainting="basic";return await schemeFetch(i)}if(A.mode==="same-origin"){return I('request mode cannot be "same-origin"')}if(A.mode==="no-cors"){if(A.redirect!=="follow"){return I('redirect mode cannot be "follow" for "no-cors" request')}A.responseTainting="opaque";return await schemeFetch(i)}if(!Ue(Ae(A))){return I("URL scheme must be a HTTP(S) scheme")}A.responseTainting="cors";return await httpFetch(i)})()}if(u){return B}if(B.status!==0&&!B.internalResponse){if(A.responseTainting==="cors"){}if(A.responseTainting==="basic"){B=Q(B,"basic")}else if(A.responseTainting==="cors"){B=Q(B,"cors")}else if(A.responseTainting==="opaque"){B=Q(B,"opaque")}else{Xe(false)}}let P=B.status===0?B:B.internalResponse;if(P.urlList.length===0){P.urlList.push(...A.urlList)}if(!A.timingAllowFailed){B.timingAllowPassed=true}if(B.type==="opaque"&&P.status===206&&P.rangeRequested&&!A.headers.contains("range",true)){B=P=I()}if(B.status!==0&&(A.method==="HEAD"||A.method==="CONNECT"||pt.includes(P.status))){P.body=null;i.controller.dump=true}if(A.integrity){const processBodyError=u=>fetchFinale(i,I(u));if(A.responseTainting==="opaque"||B.body==null){processBodyError(B.error);return}const processBody=u=>{if(!W(u,A.integrity)){processBodyError("integrity mismatch");return}B.body=st(u)[0];fetchFinale(i,B)};await Pe(B.body,processBody,processBodyError)}else{fetchFinale(i,B)}}function schemeFetch(i){if(xe(i)&&i.request.redirectCount===0){return Promise.resolve(B(i))}const{request:u}=i;const{protocol:Q}=Ae(u);switch(Q){case"about:":{return Promise.resolve(I("about scheme is not supported"))}case"blob:":{if(!Sr){Sr=A(4573).resolveObjectURL}const i=Ae(u);if(i.search.length!==0){return Promise.resolve(I("NetworkError when attempting to fetch resource."))}const B=Sr(i.toString());if(u.method!=="GET"||!_e(B)){return Promise.resolve(I("invalid method"))}const Q=P();const D=B.size;const L=Me(`${D}`);const U=B.type;if(!u.headersList.contains("range",true)){const i=ut(B);Q.statusText="OK";Q.body=i[0];Q.headersList.set("content-length",L,true);Q.headersList.set("content-type",U,true)}else{Q.rangeRequested=true;const i=u.headersList.get("range",true);const A=Ge(i,true);if(A==="failure"){return Promise.resolve(I("failed to fetch the data URL"))}let{rangeStartValue:P,rangeEndValue:L}=A;if(P===null){P=D-L;L=P+L-1}else{if(P>=D){return Promise.resolve(I("Range start is greater than the blob's size."))}if(L===null||L>=D){L=D-1}}const G=B.slice(P,L,U);const z=ut(G);Q.body=z[0];const W=Me(`${G.size}`);const Y=qe(P,L,D);Q.status=206;Q.statusText="Partial Content";Q.headersList.set("content-length",W,true);Q.headersList.set("content-type",U,true);Q.headersList.set("content-range",Y,true)}return Promise.resolve(Q)}case"data:":{const i=Ae(u);const A=ir(i);if(A==="failure"){return Promise.resolve(I("failed to fetch the data URL"))}const B=hr(A.mimeType);return Promise.resolve(P({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:B}]],body:st(A.body)[0]}))}case"file:":{return Promise.resolve(I("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(i).catch((i=>I(i)))}default:{return Promise.resolve(I("unknown scheme"))}}}function finalizeResponse(i,u){i.request.done=true;if(i.processResponseDone!=null){queueMicrotask((()=>i.processResponseDone(u)))}}function fetchFinale(i,u){let A=i.timingInfo;const processResponseEndOfBody=()=>{const I=Date.now();if(i.request.destination==="document"){i.controller.fullTimingInfo=A}i.controller.reportTimingSteps=()=>{if(i.request.url.protocol!=="https:"){return}A.endTime=I;let B=u.cacheState;const Q=u.bodyInfo;if(!u.timingAllowPassed){A=Ee(A);B=""}let P=0;if(i.request.mode!=="navigator"||!u.hasCrossOriginRedirects){P=u.status;const i=Je(u.headersList);if(i!=="failure"){Q.contentType=Ar(i)}}if(i.request.initiatorType!=null){Ir(A,i.request.url.href,i.request.initiatorType,globalThis,B,Q,P)}};const processResponseEndOfBodyTask=()=>{i.request.done=true;if(i.processResponseEndOfBody!=null){queueMicrotask((()=>i.processResponseEndOfBody(u)))}if(i.request.initiatorType!=null){i.controller.reportTimingSteps()}};queueMicrotask((()=>processResponseEndOfBodyTask()))};if(i.processResponse!=null){queueMicrotask((()=>{i.processResponse(u);i.processResponse=null}))}const I=u.type==="error"?u:u.internalResponse??u;if(I.body==null){processResponseEndOfBody()}else{Ot(I.body.stream,(()=>{processResponseEndOfBody()}))}}async function httpFetch(i){const u=i.request;let A=null;let B=null;const Q=i.timingInfo;if(u.serviceWorkers==="all"){}if(A===null){if(u.redirect==="follow"){u.serviceWorkers="none"}B=A=await httpNetworkOrCacheFetch(i);if(u.responseTainting==="cors"&&we(u,A)==="failure"){return I("cors failure")}if(K(u,A)==="failure"){u.timingAllowFailed=true}}if((u.responseTainting==="opaque"||A.type==="opaque")&&ve(u.origin,u.client,u.destination,B)==="blocked"){return I("blocked")}if(dt.has(B.status)){if(u.redirect!=="manual"){i.controller.connection.destroy(undefined,false)}if(u.redirect==="error"){A=I("unexpected redirect")}else if(u.redirect==="manual"){A=B}else if(u.redirect==="follow"){A=await httpRedirectFetch(i,A)}else{Xe(false)}}A.timingInfo=Q;return A}function httpRedirectFetch(i,u){const A=i.request;const B=u.internalResponse?u.internalResponse:u;let Q;try{Q=he(B,Ae(A).hash);if(Q==null){return u}}catch(i){return Promise.resolve(I(i))}if(!Ue(Q)){return Promise.resolve(I("URL scheme must be a HTTP(S) scheme"))}if(A.redirectCount===20){return Promise.resolve(I("redirect count exceeded"))}A.redirectCount+=1;if(A.mode==="cors"&&(Q.username||Q.password)&&!Oe(A,Q)){return Promise.resolve(I('cross origin not allowed for request mode "cors"'))}if(A.responseTainting==="cors"&&(Q.username||Q.password)){return Promise.resolve(I('URL cannot contain credentials for request mode "cors"'))}if(B.status!==303&&A.body!=null&&A.body.source==null){return Promise.resolve(I())}if([301,302].includes(B.status)&&A.method==="POST"||B.status===303&&!wr.includes(A.method)){A.method="GET";A.body=null;for(const i of yt){A.headersList.delete(i)}}if(!Oe(Ae(A),Q)){A.headersList.delete("authorization",true);A.headersList.delete("proxy-authorization",true);A.headersList.delete("cookie",true);A.headersList.delete("host",true)}if(A.body!=null){Xe(A.body.source!=null);A.body=st(A.body.source)[0]}const P=i.timingInfo;P.redirectEndTime=P.postRedirectStartTime=Re(i.crossOriginIsolatedCapability);if(P.redirectStartTime===0){P.redirectStartTime=P.startTime}A.urlList.push(Q);ye(A,B);return mainFetch(i,true)}async function httpNetworkOrCacheFetch(i,u=false,A=false){const Q=i.request;let P=null;let D=null;let L=null;const U=null;const z=false;if(Q.window==="no-window"&&Q.redirect==="error"){P=i;D=Q}else{D=G(Q);P={...i};P.request=D}const W=Q.credentials==="include"||Q.credentials==="same-origin"&&Q.responseTainting==="basic";const Y=D.body?D.body.length:null;let J=null;if(D.body==null&&["POST","PUT"].includes(D.method)){J="0"}if(Y!=null){J=Me(`${Y}`)}if(J!=null){D.headersList.append("content-length",J,true)}if(Y!=null&&D.keepalive){}if(D.referrer instanceof URL){D.headersList.append("referer",Me(D.referrer.href),true)}X(D);Ce(D);if(!D.headersList.contains("user-agent",true)){D.headersList.append("user-agent",vr)}if(D.cache==="default"&&(D.headersList.contains("if-modified-since",true)||D.headersList.contains("if-none-match",true)||D.headersList.contains("if-unmodified-since",true)||D.headersList.contains("if-match",true)||D.headersList.contains("if-range",true))){D.cache="no-store"}if(D.cache==="no-cache"&&!D.preventNoCacheCacheControlHeaderModification&&!D.headersList.contains("cache-control",true)){D.headersList.append("cache-control","max-age=0",true)}if(D.cache==="no-store"||D.cache==="reload"){if(!D.headersList.contains("pragma",true)){D.headersList.append("pragma","no-cache",true)}if(!D.headersList.contains("cache-control",true)){D.headersList.append("cache-control","no-cache",true)}}if(D.headersList.contains("range",true)){D.headersList.append("accept-encoding","identity",true)}if(!D.headersList.contains("accept-encoding",true)){if(je(Ae(D))){D.headersList.append("accept-encoding","br, gzip, deflate",true)}else{D.headersList.append("accept-encoding","gzip, deflate",true)}}D.headersList.delete("host",true);if(W){}if(U==null){D.cache="no-store"}if(D.cache!=="no-store"&&D.cache!=="reload"){}if(L==null){if(D.cache==="only-if-cached"){return I("only if cached")}const i=await httpNetworkFetch(P,W,A);if(!mt.has(D.method)&&i.status>=200&&i.status<=399){}if(z&&i.status===304){}if(L==null){L=i}}L.urlList=[...D.urlList];if(D.headersList.contains("range",true)){L.rangeRequested=true}L.requestIncludesCredentials=W;if(L.status===407){if(Q.window==="no-window"){return I()}if(xe(i)){return B(i)}return I("proxy authentication required")}if(L.status===421&&!A&&(Q.body==null||Q.body.source!=null)){if(xe(i)){return B(i)}i.controller.connection.destroy();L=await httpNetworkOrCacheFetch(i,u,true)}if(u){}return L}async function httpNetworkFetch(i,u=false,A=false){Xe(!i.controller.connection||i.controller.connection.destroyed);i.controller.connection={abort:null,destroyed:false,destroy(i,u=true){if(!this.destroyed){this.destroyed=true;if(u){this.abort?.(i??new DOMException("The operation was aborted.","AbortError"))}}}};const Q=i.request;let D=null;const U=i.timingInfo;const G=null;if(G==null){Q.cache="no-store"}const W=A?"yes":"no";if(Q.mode==="websocket"){}else{}let Y=null;if(Q.body==null&&i.processRequestEndOfBody){queueMicrotask((()=>i.processRequestEndOfBody()))}else if(Q.body!=null){const processBodyChunk=async function*(u){if(xe(i)){return}yield u;i.processRequestBodyChunkLength?.(u.byteLength)};const processEndOfBody=()=>{if(xe(i)){return}if(i.processRequestEndOfBody){i.processRequestEndOfBody()}};const processBodyError=u=>{if(xe(i)){return}if(u.name==="AbortError"){i.controller.abort()}else{i.controller.terminate(u)}};Y=async function*(){try{for await(const i of Q.body.stream){yield*processBodyChunk(i)}processEndOfBody()}catch(i){processBodyError(i)}}()}try{const{body:u,status:A,statusText:I,headersList:B,socket:Q}=await dispatch({body:Y});if(Q){D=P({status:A,statusText:I,headersList:B,socket:Q})}else{const Q=u[Symbol.asyncIterator]();i.controller.next=()=>Q.next();D=P({status:A,statusText:I,headersList:B})}}catch(u){if(u.name==="AbortError"){i.controller.connection.destroy();return B(i,u)}return I(u)}const pullAlgorithm=async()=>{await i.controller.resume()};const cancelAlgorithm=u=>{if(!xe(i)){i.controller.abort(u)}};const J=new ReadableStream({async start(u){i.controller.controller=u},async pull(i){await pullAlgorithm(i)},async cancel(i){await cancelAlgorithm(i)},type:"bytes"});D.body={stream:J,source:null,length:null};i.controller.onAborted=onAborted;i.controller.on("terminated",onAborted);i.controller.resume=async()=>{while(true){let u;let A;try{const{done:A,value:I}=await i.controller.next();if(ke(i)){break}u=A?undefined:I}catch(I){if(i.controller.ended&&!U.encodedBodySize){u=undefined}else{u=I;A=true}}if(u===undefined){De(i.controller.controller);finalizeResponse(i,D);return}U.decodedBodySize+=u?.byteLength??0;if(A){i.controller.terminate(u);return}const I=new Uint8Array(u);if(I.byteLength){i.controller.controller.enqueue(I)}if(tr(J)){i.controller.terminate();return}if(i.controller.controller.desiredSize<=0){return}}};function onAborted(u){if(ke(i)){D.aborted=true;if(rr(J)){i.controller.controller.error(i.controller.serializedAbortReason)}}else{if(rr(J)){i.controller.controller.error(new TypeError("terminated",{cause:Qe(u)?u:undefined}))}}i.controller.connection.destroy()}return D;function dispatch({body:u}){const A=Ae(Q);const I=i.controller.dispatcher;return new Promise(((B,P)=>I.dispatch({path:A.pathname+A.search,origin:A.origin,method:Q.method,body:I.isMockActive?Q.body&&(Q.body.source||Q.body.stream):u,headers:Q.headersList.entries,maxRedirections:0,upgrade:Q.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(u){const{connection:A}=i.controller;U.finalConnectionTimingInfo=He(undefined,U.postRedirectStartTime,i.crossOriginIsolatedCapability);if(A.destroyed){u(new DOMException("The operation was aborted.","AbortError"))}else{i.controller.on("terminated",u);this.abort=A.abort=u}U.finalNetworkRequestStartTime=Re(i.crossOriginIsolatedCapability)},onResponseStarted(){U.finalNetworkResponseStartTime=Re(i.crossOriginIsolatedCapability)},onHeaders(i,u,A,I){if(i<200){return}let D="";const U=new L;for(let i=0;iA){P(new Error(`too many content-encodings in response: ${u.length}, maximum allowed is ${A}`));return true}for(let i=u.length-1;i>=0;--i){const A=u[i].trim();if(A==="x-gzip"||A==="gzip"){G.push(z.createGunzip({flush:z.constants.Z_SYNC_FLUSH,finishFlush:z.constants.Z_SYNC_FLUSH}))}else if(A==="deflate"){G.push(ze({flush:z.constants.Z_SYNC_FLUSH,finishFlush:z.constants.Z_SYNC_FLUSH}))}else if(A==="br"){G.push(z.createBrotliDecompress({flush:z.constants.BROTLI_OPERATION_FLUSH,finishFlush:z.constants.BROTLI_OPERATION_FLUSH}))}else{G.length=0;break}}}const Y=this.onError.bind(this);B({status:i,statusText:I,headersList:U,body:G.length?Nt(this.body,...G,(i=>{if(i){this.onError(i)}})).on("error",Y):this.body.on("error",Y)});return true},onData(u){if(i.controller.dump){return}const A=u;U.encodedBodySize+=A.byteLength;return this.body.push(A)},onComplete(){if(this.abort){i.controller.off("terminated",this.abort)}if(i.controller.onAborted){i.controller.off("terminated",i.controller.onAborted)}i.controller.ended=true;this.body.push(null)},onError(u){if(this.abort){i.controller.off("terminated",this.abort)}this.body?.destroy(u);i.controller.terminate(u);P(u)},onUpgrade(i,u,A){if(i!==101){return}const I=new L;for(let i=0;i{"use strict";const{extractBody:I,mixinBody:B,cloneBody:Q,bodyUnusable:P}=A(84492);const{Headers:D,fill:L,HeadersList:U,setHeadersGuard:G,getHeadersGuard:z,setHeadersList:W,getHeadersList:Y}=A(60660);const{FinalizationRegistry:J}=A(66653)();const $=A(3440);const K=A(57975);const{isValidHTTPToken:X,sameOrigin:he,environmentSettingsObject:Ae}=A(73168);const{forbiddenMethodsSet:ye,corsSafeListedMethodsSet:be,referrerPolicy:Ee,requestRedirect:Ce,requestMode:we,requestCredentials:ve,requestCache:Se,requestDuplex:Re}=A(4495);const{kEnumerableProperty:Ne,normalizedMethodRecordsBase:_e,normalizedMethodRecords:Oe}=$;const{kHeaders:xe,kSignal:ke,kState:Qe,kDispatcher:Pe}=A(93627);const{webidl:De}=A(45893);const{URLSerializer:Me}=A(51900);const{kConstruct:Fe}=A(36443);const Ue=A(34589);const{getMaxListeners:je,setMaxListeners:He,getEventListeners:Ge,defaultMaxListeners:qe}=A(78474);const ze=Symbol("abortController");const Je=new J((({signal:i,abort:u})=>{i.removeEventListener("abort",u)}));const $e=new WeakMap;function buildAbort(i){return abort;function abort(){const u=i.deref();if(u!==undefined){Je.unregister(abort);this.removeEventListener("abort",abort);u.abort(this.reason);const i=$e.get(u.signal);if(i!==undefined){if(i.size!==0){for(const u of i){const i=u.deref();if(i!==undefined){i.abort(this.reason)}}i.clear()}$e.delete(u.signal)}}}}let Ke=false;class Request{constructor(i,u={}){De.util.markAsUncloneable(this);if(i===Fe){return}const A="Request constructor";De.argumentLengthCheck(arguments,1,A);i=De.converters.RequestInfo(i,A,"input");u=De.converters.RequestInit(u,A,"init");let B=null;let Q=null;const z=Ae.settingsObject.baseUrl;let J=null;if(typeof i==="string"){this[Pe]=u.dispatcher;let A;try{A=new URL(i,z)}catch(u){throw new TypeError("Failed to parse URL from "+i,{cause:u})}if(A.username||A.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+i)}B=makeRequest({urlList:[A]});Q="cors"}else{this[Pe]=u.dispatcher||i[Pe];Ue(i instanceof Request);B=i[Qe];J=i[ke]}const K=Ae.settingsObject.origin;let Ee="client";if(B.window?.constructor?.name==="EnvironmentSettingsObject"&&he(B.window,K)){Ee=B.window}if(u.window!=null){throw new TypeError(`'window' option '${Ee}' must be null`)}if("window"in u){Ee="no-window"}B=makeRequest({method:B.method,headersList:B.headersList,unsafeRequest:B.unsafeRequest,client:Ae.settingsObject,window:Ee,priority:B.priority,origin:B.origin,referrer:B.referrer,referrerPolicy:B.referrerPolicy,mode:B.mode,credentials:B.credentials,cache:B.cache,redirect:B.redirect,integrity:B.integrity,keepalive:B.keepalive,reloadNavigation:B.reloadNavigation,historyNavigation:B.historyNavigation,urlList:[...B.urlList]});const Ce=Object.keys(u).length!==0;if(Ce){if(B.mode==="navigate"){B.mode="same-origin"}B.reloadNavigation=false;B.historyNavigation=false;B.origin="client";B.referrer="client";B.referrerPolicy="";B.url=B.urlList[B.urlList.length-1];B.urlList=[B.url]}if(u.referrer!==undefined){const i=u.referrer;if(i===""){B.referrer="no-referrer"}else{let u;try{u=new URL(i,z)}catch(u){throw new TypeError(`Referrer "${i}" is not a valid URL.`,{cause:u})}if(u.protocol==="about:"&&u.hostname==="client"||K&&!he(u,Ae.settingsObject.baseUrl)){B.referrer="client"}else{B.referrer=u}}}if(u.referrerPolicy!==undefined){B.referrerPolicy=u.referrerPolicy}let we;if(u.mode!==undefined){we=u.mode}else{we=Q}if(we==="navigate"){throw De.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(we!=null){B.mode=we}if(u.credentials!==undefined){B.credentials=u.credentials}if(u.cache!==undefined){B.cache=u.cache}if(B.cache==="only-if-cached"&&B.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(u.redirect!==undefined){B.redirect=u.redirect}if(u.integrity!=null){B.integrity=String(u.integrity)}if(u.keepalive!==undefined){B.keepalive=Boolean(u.keepalive)}if(u.method!==undefined){let i=u.method;const A=Oe[i];if(A!==undefined){B.method=A}else{if(!X(i)){throw new TypeError(`'${i}' is not a valid HTTP method.`)}const u=i.toUpperCase();if(ye.has(u)){throw new TypeError(`'${i}' HTTP method is unsupported.`)}i=_e[u]??i;B.method=i}if(!Ke&&B.method==="patch"){process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"});Ke=true}}if(u.signal!==undefined){J=u.signal}this[Qe]=B;const ve=new AbortController;this[ke]=ve.signal;if(J!=null){if(!J||typeof J.aborted!=="boolean"||typeof J.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(J.aborted){ve.abort(J.reason)}else{this[ze]=ve;const i=new WeakRef(ve);const u=buildAbort(i);try{if(typeof je==="function"&&je(J)===qe){He(1500,J)}else if(Ge(J,"abort").length>=qe){He(1500,J)}}catch{}$.addAbortListener(J,u);Je.register(ve,{signal:J,abort:u},u)}}this[xe]=new D(Fe);W(this[xe],B.headersList);G(this[xe],"request");if(we==="no-cors"){if(!be.has(B.method)){throw new TypeError(`'${B.method} is unsupported in no-cors mode.`)}G(this[xe],"request-no-cors")}if(Ce){const i=Y(this[xe]);const A=u.headers!==undefined?u.headers:new U(i);i.clear();if(A instanceof U){for(const{name:u,value:I}of A.rawValues()){i.append(u,I,false)}i.cookies=A.cookies}else{L(this[xe],A)}}const Se=i instanceof Request?i[Qe].body:null;if((u.body!=null||Se!=null)&&(B.method==="GET"||B.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let Re=null;if(u.body!=null){const[i,A]=I(u.body,B.keepalive);Re=i;if(A&&!Y(this[xe]).contains("content-type",true)){this[xe].append("content-type",A)}}const Ne=Re??Se;if(Ne!=null&&Ne.source==null){if(Re!=null&&u.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(B.mode!=="same-origin"&&B.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}B.useCORSPreflightFlag=true}let Me=Ne;if(Re==null&&Se!=null){if(P(i)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const u=new TransformStream;Se.stream.pipeThrough(u);Me={source:Se.source,length:Se.length,stream:u.readable}}this[Qe].body=Me}get method(){De.brandCheck(this,Request);return this[Qe].method}get url(){De.brandCheck(this,Request);return Me(this[Qe].url)}get headers(){De.brandCheck(this,Request);return this[xe]}get destination(){De.brandCheck(this,Request);return this[Qe].destination}get referrer(){De.brandCheck(this,Request);if(this[Qe].referrer==="no-referrer"){return""}if(this[Qe].referrer==="client"){return"about:client"}return this[Qe].referrer.toString()}get referrerPolicy(){De.brandCheck(this,Request);return this[Qe].referrerPolicy}get mode(){De.brandCheck(this,Request);return this[Qe].mode}get credentials(){return this[Qe].credentials}get cache(){De.brandCheck(this,Request);return this[Qe].cache}get redirect(){De.brandCheck(this,Request);return this[Qe].redirect}get integrity(){De.brandCheck(this,Request);return this[Qe].integrity}get keepalive(){De.brandCheck(this,Request);return this[Qe].keepalive}get isReloadNavigation(){De.brandCheck(this,Request);return this[Qe].reloadNavigation}get isHistoryNavigation(){De.brandCheck(this,Request);return this[Qe].historyNavigation}get signal(){De.brandCheck(this,Request);return this[ke]}get body(){De.brandCheck(this,Request);return this[Qe].body?this[Qe].body.stream:null}get bodyUsed(){De.brandCheck(this,Request);return!!this[Qe].body&&$.isDisturbed(this[Qe].body.stream)}get duplex(){De.brandCheck(this,Request);return"half"}clone(){De.brandCheck(this,Request);if(P(this)){throw new TypeError("unusable")}const i=cloneRequest(this[Qe]);const u=new AbortController;if(this.signal.aborted){u.abort(this.signal.reason)}else{let i=$e.get(this.signal);if(i===undefined){i=new Set;$e.set(this.signal,i)}const A=new WeakRef(u);i.add(A);$.addAbortListener(u.signal,buildAbort(A))}return fromInnerRequest(i,u.signal,z(this[xe]))}[K.inspect.custom](i,u){if(u.depth===null){u.depth=2}u.colors??=true;const A={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${K.formatWithOptions(u,A)}`}}B(Request);function makeRequest(i){return{method:i.method??"GET",localURLsOnly:i.localURLsOnly??false,unsafeRequest:i.unsafeRequest??false,body:i.body??null,client:i.client??null,reservedClient:i.reservedClient??null,replacesClientId:i.replacesClientId??"",window:i.window??"client",keepalive:i.keepalive??false,serviceWorkers:i.serviceWorkers??"all",initiator:i.initiator??"",destination:i.destination??"",priority:i.priority??null,origin:i.origin??"client",policyContainer:i.policyContainer??"client",referrer:i.referrer??"client",referrerPolicy:i.referrerPolicy??"",mode:i.mode??"no-cors",useCORSPreflightFlag:i.useCORSPreflightFlag??false,credentials:i.credentials??"same-origin",useCredentials:i.useCredentials??false,cache:i.cache??"default",redirect:i.redirect??"follow",integrity:i.integrity??"",cryptoGraphicsNonceMetadata:i.cryptoGraphicsNonceMetadata??"",parserMetadata:i.parserMetadata??"",reloadNavigation:i.reloadNavigation??false,historyNavigation:i.historyNavigation??false,userActivation:i.userActivation??false,taintedOrigin:i.taintedOrigin??false,redirectCount:i.redirectCount??0,responseTainting:i.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:i.preventNoCacheCacheControlHeaderModification??false,done:i.done??false,timingAllowFailed:i.timingAllowFailed??false,urlList:i.urlList,url:i.urlList[0],headersList:i.headersList?new U(i.headersList):new U}}function cloneRequest(i){const u=makeRequest({...i,body:null});if(i.body!=null){u.body=Q(u,i.body)}return u}function fromInnerRequest(i,u,A){const I=new Request(Fe);I[Qe]=i;I[ke]=u;I[xe]=new D(Fe);W(I[xe],i.headersList);G(I[xe],A);return I}Object.defineProperties(Request.prototype,{method:Ne,url:Ne,headers:Ne,redirect:Ne,clone:Ne,signal:Ne,duplex:Ne,destination:Ne,body:Ne,bodyUsed:Ne,isHistoryNavigation:Ne,isReloadNavigation:Ne,keepalive:Ne,integrity:Ne,cache:Ne,credentials:Ne,attribute:Ne,referrerPolicy:Ne,referrer:Ne,mode:Ne,[Symbol.toStringTag]:{value:"Request",configurable:true}});De.converters.Request=De.interfaceConverter(Request);De.converters.RequestInfo=function(i,u,A){if(typeof i==="string"){return De.converters.USVString(i,u,A)}if(i instanceof Request){return De.converters.Request(i,u,A)}return De.converters.USVString(i,u,A)};De.converters.AbortSignal=De.interfaceConverter(AbortSignal);De.converters.RequestInit=De.dictionaryConverter([{key:"method",converter:De.converters.ByteString},{key:"headers",converter:De.converters.HeadersInit},{key:"body",converter:De.nullableConverter(De.converters.BodyInit)},{key:"referrer",converter:De.converters.USVString},{key:"referrerPolicy",converter:De.converters.DOMString,allowedValues:Ee},{key:"mode",converter:De.converters.DOMString,allowedValues:we},{key:"credentials",converter:De.converters.DOMString,allowedValues:ve},{key:"cache",converter:De.converters.DOMString,allowedValues:Se},{key:"redirect",converter:De.converters.DOMString,allowedValues:Ce},{key:"integrity",converter:De.converters.DOMString},{key:"keepalive",converter:De.converters.boolean},{key:"signal",converter:De.nullableConverter((i=>De.converters.AbortSignal(i,"RequestInit","signal",{strict:false})))},{key:"window",converter:De.converters.any},{key:"duplex",converter:De.converters.DOMString,allowedValues:Re},{key:"dispatcher",converter:De.converters.any}]);i.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},99051:(i,u,A)=>{"use strict";const{Headers:I,HeadersList:B,fill:Q,getHeadersGuard:P,setHeadersGuard:D,setHeadersList:L}=A(60660);const{extractBody:U,cloneBody:G,mixinBody:z,hasFinalizationRegistry:W,streamRegistry:Y,bodyUnusable:J}=A(84492);const $=A(3440);const K=A(57975);const{kEnumerableProperty:X}=$;const{isValidReasonPhrase:he,isCancelled:Ae,isAborted:ye,isBlobLike:be,serializeJavascriptValueToJSONString:Ee,isErrorLike:Ce,isomorphicEncode:we,environmentSettingsObject:ve}=A(73168);const{redirectStatusSet:Se,nullBodyStatus:Re}=A(4495);const{kState:Ne,kHeaders:_e}=A(93627);const{webidl:Oe}=A(45893);const{FormData:xe}=A(35910);const{URLSerializer:ke}=A(51900);const{kConstruct:Qe}=A(36443);const Pe=A(34589);const{types:De}=A(57975);const Me=new TextEncoder("utf-8");class Response{static error(){const i=fromInnerResponse(makeNetworkError(),"immutable");return i}static json(i,u={}){Oe.argumentLengthCheck(arguments,1,"Response.json");if(u!==null){u=Oe.converters.ResponseInit(u)}const A=Me.encode(Ee(i));const I=U(A);const B=fromInnerResponse(makeResponse({}),"response");initializeResponse(B,u,{body:I[0],type:"application/json"});return B}static redirect(i,u=302){Oe.argumentLengthCheck(arguments,1,"Response.redirect");i=Oe.converters.USVString(i);u=Oe.converters["unsigned short"](u);let A;try{A=new URL(i,ve.settingsObject.baseUrl)}catch(u){throw new TypeError(`Failed to parse URL from ${i}`,{cause:u})}if(!Se.has(u)){throw new RangeError(`Invalid status code ${u}`)}const I=fromInnerResponse(makeResponse({}),"immutable");I[Ne].status=u;const B=we(ke(A));I[Ne].headersList.append("location",B,true);return I}constructor(i=null,u={}){Oe.util.markAsUncloneable(this);if(i===Qe){return}if(i!==null){i=Oe.converters.BodyInit(i)}u=Oe.converters.ResponseInit(u);this[Ne]=makeResponse({});this[_e]=new I(Qe);D(this[_e],"response");L(this[_e],this[Ne].headersList);let A=null;if(i!=null){const[u,I]=U(i);A={body:u,type:I}}initializeResponse(this,u,A)}get type(){Oe.brandCheck(this,Response);return this[Ne].type}get url(){Oe.brandCheck(this,Response);const i=this[Ne].urlList;const u=i[i.length-1]??null;if(u===null){return""}return ke(u,true)}get redirected(){Oe.brandCheck(this,Response);return this[Ne].urlList.length>1}get status(){Oe.brandCheck(this,Response);return this[Ne].status}get ok(){Oe.brandCheck(this,Response);return this[Ne].status>=200&&this[Ne].status<=299}get statusText(){Oe.brandCheck(this,Response);return this[Ne].statusText}get headers(){Oe.brandCheck(this,Response);return this[_e]}get body(){Oe.brandCheck(this,Response);return this[Ne].body?this[Ne].body.stream:null}get bodyUsed(){Oe.brandCheck(this,Response);return!!this[Ne].body&&$.isDisturbed(this[Ne].body.stream)}clone(){Oe.brandCheck(this,Response);if(J(this)){throw Oe.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const i=cloneResponse(this[Ne]);if(W&&this[Ne].body?.stream){Y.register(this,new WeakRef(this[Ne].body.stream))}return fromInnerResponse(i,P(this[_e]))}[K.inspect.custom](i,u){if(u.depth===null){u.depth=2}u.colors??=true;const A={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${K.formatWithOptions(u,A)}`}}z(Response);Object.defineProperties(Response.prototype,{type:X,url:X,status:X,ok:X,redirected:X,statusText:X,headers:X,clone:X,body:X,bodyUsed:X,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:X,redirect:X,error:X});function cloneResponse(i){if(i.internalResponse){return filterResponse(cloneResponse(i.internalResponse),i.type)}const u=makeResponse({...i,body:null});if(i.body!=null){u.body=G(u,i.body)}return u}function makeResponse(i){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...i,headersList:i?.headersList?new B(i?.headersList):new B,urlList:i?.urlList?[...i.urlList]:[]}}function makeNetworkError(i){const u=Ce(i);return makeResponse({type:"error",status:0,error:u?i:new Error(i?String(i):i),aborted:i&&i.name==="AbortError"})}function isNetworkError(i){return i.type==="error"&&i.status===0}function makeFilteredResponse(i,u){u={internalResponse:i,...u};return new Proxy(i,{get(i,A){return A in u?u[A]:i[A]},set(i,A,I){Pe(!(A in u));i[A]=I;return true}})}function filterResponse(i,u){if(u==="basic"){return makeFilteredResponse(i,{type:"basic",headersList:i.headersList})}else if(u==="cors"){return makeFilteredResponse(i,{type:"cors",headersList:i.headersList})}else if(u==="opaque"){return makeFilteredResponse(i,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(u==="opaqueredirect"){return makeFilteredResponse(i,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{Pe(false)}}function makeAppropriateNetworkError(i,u=null){Pe(Ae(i));return ye(i)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:u})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:u}))}function initializeResponse(i,u,A){if(u.status!==null&&(u.status<200||u.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in u&&u.statusText!=null){if(!he(String(u.statusText))){throw new TypeError("Invalid statusText")}}if("status"in u&&u.status!=null){i[Ne].status=u.status}if("statusText"in u&&u.statusText!=null){i[Ne].statusText=u.statusText}if("headers"in u&&u.headers!=null){Q(i[_e],u.headers)}if(A){if(Re.includes(i.status)){throw Oe.errors.exception({header:"Response constructor",message:`Invalid response status code ${i.status}`})}i[Ne].body=A.body;if(A.type!=null&&!i[Ne].headersList.contains("content-type",true)){i[Ne].headersList.append("content-type",A.type,true)}}}function fromInnerResponse(i,u){const A=new Response(Qe);A[Ne]=i;A[_e]=new I(Qe);L(A[_e],i.headersList);D(A[_e],u);if(W&&i.body?.stream){Y.register(A,new WeakRef(i.body.stream))}return A}Oe.converters.ReadableStream=Oe.interfaceConverter(ReadableStream);Oe.converters.FormData=Oe.interfaceConverter(xe);Oe.converters.URLSearchParams=Oe.interfaceConverter(URLSearchParams);Oe.converters.XMLHttpRequestBodyInit=function(i,u,A){if(typeof i==="string"){return Oe.converters.USVString(i,u,A)}if(be(i)){return Oe.converters.Blob(i,u,A,{strict:false})}if(ArrayBuffer.isView(i)||De.isArrayBuffer(i)){return Oe.converters.BufferSource(i,u,A)}if($.isFormDataLike(i)){return Oe.converters.FormData(i,u,A,{strict:false})}if(i instanceof URLSearchParams){return Oe.converters.URLSearchParams(i,u,A)}return Oe.converters.DOMString(i,u,A)};Oe.converters.BodyInit=function(i,u,A){if(i instanceof ReadableStream){return Oe.converters.ReadableStream(i,u,A)}if(i?.[Symbol.asyncIterator]){return i}return Oe.converters.XMLHttpRequestBodyInit(i,u,A)};Oe.converters.ResponseInit=Oe.dictionaryConverter([{key:"status",converter:Oe.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:Oe.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:Oe.converters.HeadersInit}]);i.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},93627:i=>{"use strict";i.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},73168:(i,u,A)=>{"use strict";const{Transform:I}=A(57075);const B=A(38522);const{redirectStatusSet:Q,referrerPolicySet:P,badPortsSet:D}=A(4495);const{getGlobalOrigin:L}=A(51059);const{collectASequenceOfCodePoints:U,collectAnHTTPQuotedString:G,removeChars:z,parseMIMEType:W}=A(51900);const{performance:Y}=A(643);const{isBlobLike:J,ReadableStreamFrom:$,isValidHTTPToken:K,normalizedMethodRecordsBase:X}=A(3440);const he=A(34589);const{isUint8Array:Ae}=A(73429);const{webidl:ye}=A(45893);let be=[];let Ee;try{Ee=A(77598);const i=["sha256","sha384","sha512"];be=Ee.getHashes().filter((u=>i.includes(u)))}catch{}function responseURL(i){const u=i.urlList;const A=u.length;return A===0?null:u[A-1].toString()}function responseLocationURL(i,u){if(!Q.has(i.status)){return null}let A=i.headersList.get("location",true);if(A!==null&&isValidHeaderValue(A)){if(!isValidEncodedURL(A)){A=normalizeBinaryStringToUtf8(A)}A=new URL(A,responseURL(i))}if(A&&!A.hash){A.hash=u}return A}function isValidEncodedURL(i){for(let u=0;u126||A<32){return false}}return true}function normalizeBinaryStringToUtf8(i){return Buffer.from(i,"binary").toString("utf8")}function requestCurrentURL(i){return i.urlList[i.urlList.length-1]}function requestBadPort(i){const u=requestCurrentURL(i);if(urlIsHttpHttpsScheme(u)&&D.has(u.port)){return"blocked"}return"allowed"}function isErrorLike(i){return i instanceof Error||(i?.constructor?.name==="Error"||i?.constructor?.name==="DOMException")}function isValidReasonPhrase(i){for(let u=0;u=32&&A<=126||A>=128&&A<=255)){return false}}return true}const Ce=K;function isValidHeaderValue(i){return(i[0]==="\t"||i[0]===" "||i[i.length-1]==="\t"||i[i.length-1]===" "||i.includes("\n")||i.includes("\r")||i.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(i,u){const{headersList:A}=u;const I=(A.get("referrer-policy",true)??"").split(",");let B="";if(I.length>0){for(let i=I.length;i!==0;i--){const u=I[i-1].trim();if(P.has(u)){B=u;break}}}if(B!==""){i.referrerPolicy=B}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(i){let u=null;u=i.mode;i.headersList.set("sec-fetch-mode",u,true)}function appendRequestOriginHeader(i){let u=i.origin;if(u==="client"||u===undefined){return}if(i.responseTainting==="cors"||i.mode==="websocket"){i.headersList.append("origin",u,true)}else if(i.method!=="GET"&&i.method!=="HEAD"){switch(i.referrerPolicy){case"no-referrer":u=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(i.origin&&urlHasHttpsScheme(i.origin)&&!urlHasHttpsScheme(requestCurrentURL(i))){u=null}break;case"same-origin":if(!sameOrigin(i,requestCurrentURL(i))){u=null}break;default:}i.headersList.append("origin",u,true)}}function coarsenTime(i,u){return i}function clampAndCoarsenConnectionTimingInfo(i,u,A){if(!i?.startTime||i.startTime4096){I=B}const Q=sameOrigin(i,I);const P=isURLPotentiallyTrustworthy(I)&&!isURLPotentiallyTrustworthy(i.url);switch(u){case"origin":return B!=null?B:stripURLForReferrer(A,true);case"unsafe-url":return I;case"same-origin":return Q?B:"no-referrer";case"origin-when-cross-origin":return Q?I:B;case"strict-origin-when-cross-origin":{const u=requestCurrentURL(i);if(sameOrigin(I,u)){return I}if(isURLPotentiallyTrustworthy(I)&&!isURLPotentiallyTrustworthy(u)){return"no-referrer"}return B}case"strict-origin":case"no-referrer-when-downgrade":default:return P?"no-referrer":B}}function stripURLForReferrer(i,u){he(i instanceof URL);i=new URL(i);if(i.protocol==="file:"||i.protocol==="about:"||i.protocol==="blank:"){return"no-referrer"}i.username="";i.password="";i.hash="";if(u){i.pathname="";i.search=""}return i}function isURLPotentiallyTrustworthy(i){if(!(i instanceof URL)){return false}if(i.href==="about:blank"||i.href==="about:srcdoc"){return true}if(i.protocol==="data:")return true;if(i.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(i.origin);function isOriginPotentiallyTrustworthy(i){if(i==null||i==="null")return false;const u=new URL(i);if(u.protocol==="https:"||u.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(u.hostname)||(u.hostname==="localhost"||u.hostname.includes("localhost."))||u.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(i,u){if(Ee===undefined){return true}const A=parseMetadata(u);if(A==="no metadata"){return true}if(A.length===0){return true}const I=getStrongestMetadata(A);const B=filterMetadataListByAlgorithm(A,I);for(const u of B){const A=u.algo;const I=u.hash;let B=Ee.createHash(A).update(i).digest("base64");if(B[B.length-1]==="="){if(B[B.length-2]==="="){B=B.slice(0,-2)}else{B=B.slice(0,-1)}}if(compareBase64Mixed(B,I)){return true}}return false}const we=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(i){const u=[];let A=true;for(const I of i.split(" ")){A=false;const i=we.exec(I);if(i===null||i.groups===undefined||i.groups.algo===undefined){continue}const B=i.groups.algo.toLowerCase();if(be.includes(B)){u.push(i.groups)}}if(A===true){return"no metadata"}return u}function getStrongestMetadata(i){let u=i[0].algo;if(u[3]==="5"){return u}for(let A=1;A{i=A;u=I}));return{promise:A,resolve:i,reject:u}}function isAborted(i){return i.controller.state==="aborted"}function isCancelled(i){return i.controller.state==="aborted"||i.controller.state==="terminated"}function normalizeMethod(i){return X[i.toLowerCase()]??i}function serializeJavascriptValueToJSONString(i){const u=JSON.stringify(i);if(u===undefined){throw new TypeError("Value is not JSON serializable")}he(typeof u==="string");return u}const ve=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(i,u,A=0,I=1){class FastIterableIterator{#ie;#se;#oe;constructor(i,u){this.#ie=i;this.#se=u;this.#oe=0}next(){if(typeof this!=="object"||this===null||!(#ie in this)){throw new TypeError(`'next' called on an object that does not implement interface ${i} Iterator.`)}const B=this.#oe;const Q=this.#ie[u];const P=Q.length;if(B>=P){return{value:undefined,done:true}}const{[A]:D,[I]:L}=Q[B];this.#oe=B+1;let U;switch(this.#se){case"key":U=D;break;case"value":U=L;break;case"key+value":U=[D,L];break}return{value:U,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,ve);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${i} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(i,u){return new FastIterableIterator(i,u)}}function iteratorMixin(i,u,A,I=0,B=1){const Q=createIterator(i,A,I,B);const P={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){ye.brandCheck(this,u);return Q(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){ye.brandCheck(this,u);return Q(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){ye.brandCheck(this,u);return Q(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(A,I=globalThis){ye.brandCheck(this,u);ye.argumentLengthCheck(arguments,1,`${i}.forEach`);if(typeof A!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${i}': parameter 1 is not of type 'Function'.`)}for(const{0:i,1:u}of Q(this,"key+value")){A.call(I,u,i,this)}}}};return Object.defineProperties(u.prototype,{...P,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:P.entries.value}})}async function fullyReadBody(i,u,A){const I=u;const B=A;let Q;try{Q=i.stream.getReader()}catch(i){B(i);return}try{I(await readAllBytes(Q))}catch(i){B(i)}}function isReadableStreamLike(i){return i instanceof ReadableStream||i[Symbol.toStringTag]==="ReadableStream"&&typeof i.tee==="function"}function readableStreamClose(i){try{i.close();i.byobRequest?.respond(0)}catch(i){if(!i.message.includes("Controller is already closed")&&!i.message.includes("ReadableStream is already closed")){throw i}}}const Se=/[^\x00-\xFF]/;function isomorphicEncode(i){he(!Se.test(i));return i}async function readAllBytes(i){const u=[];let A=0;while(true){const{done:I,value:B}=await i.read();if(I){return Buffer.concat(u,A)}if(!Ae(B)){throw new TypeError("Received non-Uint8Array chunk")}u.push(B);A+=B.length}}function urlIsLocal(i){he("protocol"in i);const u=i.protocol;return u==="about:"||u==="blob:"||u==="data:"}function urlHasHttpsScheme(i){return typeof i==="string"&&i[5]===":"&&i[0]==="h"&&i[1]==="t"&&i[2]==="t"&&i[3]==="p"&&i[4]==="s"||i.protocol==="https:"}function urlIsHttpHttpsScheme(i){he("protocol"in i);const u=i.protocol;return u==="http:"||u==="https:"}function simpleRangeHeaderValue(i,u){const A=i;if(!A.startsWith("bytes")){return"failure"}const I={position:5};if(u){U((i=>i==="\t"||i===" "),A,I)}if(A.charCodeAt(I.position)!==61){return"failure"}I.position++;if(u){U((i=>i==="\t"||i===" "),A,I)}const B=U((i=>{const u=i.charCodeAt(0);return u>=48&&u<=57}),A,I);const Q=B.length?Number(B):null;if(u){U((i=>i==="\t"||i===" "),A,I)}if(A.charCodeAt(I.position)!==45){return"failure"}I.position++;if(u){U((i=>i==="\t"||i===" "),A,I)}const P=U((i=>{const u=i.charCodeAt(0);return u>=48&&u<=57}),A,I);const D=P.length?Number(P):null;if(I.positionD){return"failure"}return{rangeStartValue:Q,rangeEndValue:D}}function buildContentRange(i,u,A){let I="bytes ";I+=isomorphicEncode(`${i}`);I+="-";I+=isomorphicEncode(`${u}`);I+="/";I+=isomorphicEncode(`${A}`);return I}class InflateStream extends I{#ae;constructor(i){super();this.#ae=i}_transform(i,u,A){if(!this._inflateStream){if(i.length===0){A();return}this._inflateStream=(i[0]&15)===8?B.createInflate(this.#ae):B.createInflateRaw(this.#ae);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",(()=>this.push(null)));this._inflateStream.on("error",(i=>this.destroy(i)))}this._inflateStream.write(i,u,A)}_final(i){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}i()}}function createInflate(i){return new InflateStream(i)}function extractMimeType(i){let u=null;let A=null;let I=null;const B=getDecodeSplit("content-type",i);if(B===null){return"failure"}for(const i of B){const B=W(i);if(B==="failure"||B.essence==="*/*"){continue}I=B;if(I.essence!==A){u=null;if(I.parameters.has("charset")){u=I.parameters.get("charset")}A=I.essence}else if(!I.parameters.has("charset")&&u!==null){I.parameters.set("charset",u)}}if(I==null){return"failure"}return I}function gettingDecodingSplitting(i){const u=i;const A={position:0};const I=[];let B="";while(A.positioni!=='"'&&i!==","),u,A);if(A.positioni===9||i===32));I.push(B);B=""}return I}function getDecodeSplit(i,u){const A=u.get(i,true);if(A===null){return null}return gettingDecodingSplitting(A)}const Re=new TextDecoder;function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const u=Re.decode(i);return u}class EnvironmentSettingsObjectBase{get baseUrl(){return L()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const Ne=new EnvironmentSettingsObject;i.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:$,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,clampAndCoarsenConnectionTimingInfo:clampAndCoarsenConnectionTimingInfo,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:K,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:J,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:Ce,isValidHeaderValue:isValidHeaderValue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,simpleRangeHeaderValue:simpleRangeHeaderValue,buildContentRange:buildContentRange,parseMetadata:parseMetadata,createInflate:createInflate,extractMimeType:extractMimeType,getDecodeSplit:getDecodeSplit,utf8DecodeBytes:utf8DecodeBytes,environmentSettingsObject:Ne}},45893:(i,u,A)=>{"use strict";const{types:I,inspect:B}=A(57975);const{markAsUncloneable:Q}=A(75919);const{toUSVString:P}=A(3440);const D={};D.converters={};D.util={};D.errors={};D.errors.exception=function(i){return new TypeError(`${i.header}: ${i.message}`)};D.errors.conversionFailed=function(i){const u=i.types.length===1?"":" one of";const A=`${i.argument} could not be converted to`+`${u}: ${i.types.join(", ")}.`;return D.errors.exception({header:i.prefix,message:A})};D.errors.invalidArgument=function(i){return D.errors.exception({header:i.prefix,message:`"${i.value}" is an invalid ${i.type}.`})};D.brandCheck=function(i,u,A){if(A?.strict!==false){if(!(i instanceof u)){const i=new TypeError("Illegal invocation");i.code="ERR_INVALID_THIS";throw i}}else{if(i?.[Symbol.toStringTag]!==u.prototype[Symbol.toStringTag]){const i=new TypeError("Illegal invocation");i.code="ERR_INVALID_THIS";throw i}}};D.argumentLengthCheck=function({length:i},u,A){if(i{});D.util.ConvertToInt=function(i,u,A,I){let B;let Q;if(u===64){B=Math.pow(2,53)-1;if(A==="unsigned"){Q=0}else{Q=Math.pow(-2,53)+1}}else if(A==="unsigned"){Q=0;B=Math.pow(2,u)-1}else{Q=Math.pow(-2,u)-1;B=Math.pow(2,u-1)-1}let P=Number(i);if(P===0){P=0}if(I?.enforceRange===true){if(Number.isNaN(P)||P===Number.POSITIVE_INFINITY||P===Number.NEGATIVE_INFINITY){throw D.errors.exception({header:"Integer conversion",message:`Could not convert ${D.util.Stringify(i)} to an integer.`})}P=D.util.IntegerPart(P);if(PB){throw D.errors.exception({header:"Integer conversion",message:`Value must be between ${Q}-${B}, got ${P}.`})}return P}if(!Number.isNaN(P)&&I?.clamp===true){P=Math.min(Math.max(P,Q),B);if(Math.floor(P)%2===0){P=Math.floor(P)}else{P=Math.ceil(P)}return P}if(Number.isNaN(P)||P===0&&Object.is(0,P)||P===Number.POSITIVE_INFINITY||P===Number.NEGATIVE_INFINITY){return 0}P=D.util.IntegerPart(P);P=P%Math.pow(2,u);if(A==="signed"&&P>=Math.pow(2,u)-1){return P-Math.pow(2,u)}return P};D.util.IntegerPart=function(i){const u=Math.floor(Math.abs(i));if(i<0){return-1*u}return u};D.util.Stringify=function(i){const u=D.util.Type(i);switch(u){case"Symbol":return`Symbol(${i.description})`;case"Object":return B(i);case"String":return`"${i}"`;default:return`${i}`}};D.sequenceConverter=function(i){return(u,A,I,B)=>{if(D.util.Type(u)!=="Object"){throw D.errors.exception({header:A,message:`${I} (${D.util.Stringify(u)}) is not iterable.`})}const Q=typeof B==="function"?B():u?.[Symbol.iterator]?.();const P=[];let L=0;if(Q===undefined||typeof Q.next!=="function"){throw D.errors.exception({header:A,message:`${I} is not iterable.`})}while(true){const{done:u,value:B}=Q.next();if(u){break}P.push(i(B,A,`${I}[${L++}]`))}return P}};D.recordConverter=function(i,u){return(A,B,Q)=>{if(D.util.Type(A)!=="Object"){throw D.errors.exception({header:B,message:`${Q} ("${D.util.Type(A)}") is not an Object.`})}const P={};if(!I.isProxy(A)){const I=[...Object.getOwnPropertyNames(A),...Object.getOwnPropertySymbols(A)];for(const D of I){const I=i(D,B,Q);const L=u(A[D],B,Q);P[I]=L}return P}const L=Reflect.ownKeys(A);for(const I of L){const D=Reflect.getOwnPropertyDescriptor(A,I);if(D?.enumerable){const D=i(I,B,Q);const L=u(A[I],B,Q);P[D]=L}}return P}};D.interfaceConverter=function(i){return(u,A,I,B)=>{if(B?.strict!==false&&!(u instanceof i)){throw D.errors.exception({header:A,message:`Expected ${I} ("${D.util.Stringify(u)}") to be an instance of ${i.name}.`})}return u}};D.dictionaryConverter=function(i){return(u,A,I)=>{const B=D.util.Type(u);const Q={};if(B==="Null"||B==="Undefined"){return Q}else if(B!=="Object"){throw D.errors.exception({header:A,message:`Expected ${u} to be one of: Null, Undefined, Object.`})}for(const B of i){const{key:i,defaultValue:P,required:L,converter:U}=B;if(L===true){if(!Object.hasOwn(u,i)){throw D.errors.exception({header:A,message:`Missing required key "${i}".`})}}let G=u[i];const z=Object.hasOwn(B,"defaultValue");if(z&&G!==null){G??=P()}if(L||z||G!==undefined){G=U(G,A,`${I}.${i}`);if(B.allowedValues&&!B.allowedValues.includes(G)){throw D.errors.exception({header:A,message:`${G} is not an accepted type. Expected one of ${B.allowedValues.join(", ")}.`})}Q[i]=G}}return Q}};D.nullableConverter=function(i){return(u,A,I)=>{if(u===null){return u}return i(u,A,I)}};D.converters.DOMString=function(i,u,A,I){if(i===null&&I?.legacyNullToEmptyString){return""}if(typeof i==="symbol"){throw D.errors.exception({header:u,message:`${A} is a symbol, which cannot be converted to a DOMString.`})}return String(i)};D.converters.ByteString=function(i,u,A){const I=D.converters.DOMString(i,u,A);for(let i=0;i255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${i} has a value of ${I.charCodeAt(i)} which is greater than 255.`)}}return I};D.converters.USVString=P;D.converters.boolean=function(i){const u=Boolean(i);return u};D.converters.any=function(i){return i};D.converters["long long"]=function(i,u,A){const I=D.util.ConvertToInt(i,64,"signed",undefined,u,A);return I};D.converters["unsigned long long"]=function(i,u,A){const I=D.util.ConvertToInt(i,64,"unsigned",undefined,u,A);return I};D.converters["unsigned long"]=function(i,u,A){const I=D.util.ConvertToInt(i,32,"unsigned",undefined,u,A);return I};D.converters["unsigned short"]=function(i,u,A,I){const B=D.util.ConvertToInt(i,16,"unsigned",I,u,A);return B};D.converters.ArrayBuffer=function(i,u,A,B){if(D.util.Type(i)!=="Object"||!I.isAnyArrayBuffer(i)){throw D.errors.conversionFailed({prefix:u,argument:`${A} ("${D.util.Stringify(i)}")`,types:["ArrayBuffer"]})}if(B?.allowShared===false&&I.isSharedArrayBuffer(i)){throw D.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.resizable||i.growable){throw D.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};D.converters.TypedArray=function(i,u,A,B,Q){if(D.util.Type(i)!=="Object"||!I.isTypedArray(i)||i.constructor.name!==u.name){throw D.errors.conversionFailed({prefix:A,argument:`${B} ("${D.util.Stringify(i)}")`,types:[u.name]})}if(Q?.allowShared===false&&I.isSharedArrayBuffer(i.buffer)){throw D.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.buffer.resizable||i.buffer.growable){throw D.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};D.converters.DataView=function(i,u,A,B){if(D.util.Type(i)!=="Object"||!I.isDataView(i)){throw D.errors.exception({header:u,message:`${A} is not a DataView.`})}if(B?.allowShared===false&&I.isSharedArrayBuffer(i.buffer)){throw D.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.buffer.resizable||i.buffer.growable){throw D.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};D.converters.BufferSource=function(i,u,A,B){if(I.isAnyArrayBuffer(i)){return D.converters.ArrayBuffer(i,u,A,{...B,allowShared:false})}if(I.isTypedArray(i)){return D.converters.TypedArray(i,i.constructor,u,A,{...B,allowShared:false})}if(I.isDataView(i)){return D.converters.DataView(i,u,A,{...B,allowShared:false})}throw D.errors.conversionFailed({prefix:u,argument:`${A} ("${D.util.Stringify(i)}")`,types:["BufferSource"]})};D.converters["sequence"]=D.sequenceConverter(D.converters.ByteString);D.converters["sequence>"]=D.sequenceConverter(D.converters["sequence"]);D.converters["record"]=D.recordConverter(D.converters.ByteString,D.converters.ByteString);i.exports={webidl:D}},22607:i=>{"use strict";function getEncoding(i){if(!i){return"failure"}switch(i.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"}}i.exports={getEncoding:getEncoding}},48355:(i,u,A)=>{"use strict";const{staticPropertyDescriptors:I,readOperation:B,fireAProgressEvent:Q}=A(53610);const{kState:P,kError:D,kResult:L,kEvents:U,kAborted:G}=A(20961);const{webidl:z}=A(45893);const{kEnumerableProperty:W}=A(3440);class FileReader extends EventTarget{constructor(){super();this[P]="empty";this[L]=null;this[D]=null;this[U]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(i){z.brandCheck(this,FileReader);z.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");i=z.converters.Blob(i,{strict:false});B(this,i,"ArrayBuffer")}readAsBinaryString(i){z.brandCheck(this,FileReader);z.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");i=z.converters.Blob(i,{strict:false});B(this,i,"BinaryString")}readAsText(i,u=undefined){z.brandCheck(this,FileReader);z.argumentLengthCheck(arguments,1,"FileReader.readAsText");i=z.converters.Blob(i,{strict:false});if(u!==undefined){u=z.converters.DOMString(u,"FileReader.readAsText","encoding")}B(this,i,"Text",u)}readAsDataURL(i){z.brandCheck(this,FileReader);z.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");i=z.converters.Blob(i,{strict:false});B(this,i,"DataURL")}abort(){if(this[P]==="empty"||this[P]==="done"){this[L]=null;return}if(this[P]==="loading"){this[P]="done";this[L]=null}this[G]=true;Q("abort",this);if(this[P]!=="loading"){Q("loadend",this)}}get readyState(){z.brandCheck(this,FileReader);switch(this[P]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){z.brandCheck(this,FileReader);return this[L]}get error(){z.brandCheck(this,FileReader);return this[D]}get onloadend(){z.brandCheck(this,FileReader);return this[U].loadend}set onloadend(i){z.brandCheck(this,FileReader);if(this[U].loadend){this.removeEventListener("loadend",this[U].loadend)}if(typeof i==="function"){this[U].loadend=i;this.addEventListener("loadend",i)}else{this[U].loadend=null}}get onerror(){z.brandCheck(this,FileReader);return this[U].error}set onerror(i){z.brandCheck(this,FileReader);if(this[U].error){this.removeEventListener("error",this[U].error)}if(typeof i==="function"){this[U].error=i;this.addEventListener("error",i)}else{this[U].error=null}}get onloadstart(){z.brandCheck(this,FileReader);return this[U].loadstart}set onloadstart(i){z.brandCheck(this,FileReader);if(this[U].loadstart){this.removeEventListener("loadstart",this[U].loadstart)}if(typeof i==="function"){this[U].loadstart=i;this.addEventListener("loadstart",i)}else{this[U].loadstart=null}}get onprogress(){z.brandCheck(this,FileReader);return this[U].progress}set onprogress(i){z.brandCheck(this,FileReader);if(this[U].progress){this.removeEventListener("progress",this[U].progress)}if(typeof i==="function"){this[U].progress=i;this.addEventListener("progress",i)}else{this[U].progress=null}}get onload(){z.brandCheck(this,FileReader);return this[U].load}set onload(i){z.brandCheck(this,FileReader);if(this[U].load){this.removeEventListener("load",this[U].load)}if(typeof i==="function"){this[U].load=i;this.addEventListener("load",i)}else{this[U].load=null}}get onabort(){z.brandCheck(this,FileReader);return this[U].abort}set onabort(i){z.brandCheck(this,FileReader);if(this[U].abort){this.removeEventListener("abort",this[U].abort)}if(typeof i==="function"){this[U].abort=i;this.addEventListener("abort",i)}else{this[U].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:W,readAsBinaryString:W,readAsText:W,readAsDataURL:W,abort:W,readyState:W,result:W,error:W,onloadstart:W,onprogress:W,onload:W,onabort:W,onerror:W,onloadend:W,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:I,LOADING:I,DONE:I});i.exports={FileReader:FileReader}},88573:(i,u,A)=>{"use strict";const{webidl:I}=A(45893);const B=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(i,u={}){i=I.converters.DOMString(i,"ProgressEvent constructor","type");u=I.converters.ProgressEventInit(u??{});super(i,u);this[B]={lengthComputable:u.lengthComputable,loaded:u.loaded,total:u.total}}get lengthComputable(){I.brandCheck(this,ProgressEvent);return this[B].lengthComputable}get loaded(){I.brandCheck(this,ProgressEvent);return this[B].loaded}get total(){I.brandCheck(this,ProgressEvent);return this[B].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}]);i.exports={ProgressEvent:ProgressEvent}},20961:i=>{"use strict";i.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")}},53610:(i,u,A)=>{"use strict";const{kState:I,kError:B,kResult:Q,kAborted:P,kLastProgressEventFired:D}=A(20961);const{ProgressEvent:L}=A(88573);const{getEncoding:U}=A(22607);const{serializeAMimeType:G,parseMIMEType:z}=A(51900);const{types:W}=A(57975);const{StringDecoder:Y}=A(13193);const{btoa:J}=A(4573);const $={enumerable:true,writable:false,configurable:false};function readOperation(i,u,A,L){if(i[I]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}i[I]="loading";i[Q]=null;i[B]=null;const U=u.stream();const G=U.getReader();const z=[];let Y=G.read();let J=true;(async()=>{while(!i[P]){try{const{done:U,value:$}=await Y;if(J&&!i[P]){queueMicrotask((()=>{fireAProgressEvent("loadstart",i)}))}J=false;if(!U&&W.isUint8Array($)){z.push($);if((i[D]===undefined||Date.now()-i[D]>=50)&&!i[P]){i[D]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",i)}))}Y=G.read()}else if(U){queueMicrotask((()=>{i[I]="done";try{const I=packageData(z,A,u.type,L);if(i[P]){return}i[Q]=I;fireAProgressEvent("load",i)}catch(u){i[B]=u;fireAProgressEvent("error",i)}if(i[I]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}catch(u){if(i[P]){return}queueMicrotask((()=>{i[I]="done";i[B]=u;fireAProgressEvent("error",i);if(i[I]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}})()}function fireAProgressEvent(i,u){const A=new L(i,{bubbles:false,cancelable:false});u.dispatchEvent(A)}function packageData(i,u,A,I){switch(u){case"DataURL":{let u="data:";const I=z(A||"application/octet-stream");if(I!=="failure"){u+=G(I)}u+=";base64,";const B=new Y("latin1");for(const A of i){u+=J(B.write(A))}u+=J(B.end());return u}case"Text":{let u="failure";if(I){u=U(I)}if(u==="failure"&&A){const i=z(A);if(i!=="failure"){u=U(i.parameters.get("charset"))}}if(u==="failure"){u="UTF-8"}return decode(i,u)}case"ArrayBuffer":{const u=combineByteSequences(i);return u.buffer}case"BinaryString":{let u="";const A=new Y("latin1");for(const I of i){u+=A.write(I)}u+=A.end();return u}}}function decode(i,u){const A=combineByteSequences(i);const I=BOMSniffing(A);let B=0;if(I!==null){u=I;B=I==="UTF-8"?3:2}const Q=A.slice(B);return new TextDecoder(u).decode(Q)}function BOMSniffing(i){const[u,A,I]=i;if(u===239&&A===187&&I===191){return"UTF-8"}else if(u===254&&A===255){return"UTF-16BE"}else if(u===255&&A===254){return"UTF-16LE"}return null}function combineByteSequences(i){const u=i.reduce(((i,u)=>i+u.byteLength),0);let A=0;return i.reduce(((i,u)=>{i.set(u,A);A+=u.byteLength;return i}),new Uint8Array(u))}i.exports={staticPropertyDescriptors:$,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},86897:(i,u,A)=>{"use strict";const{uid:I,states:B,sentCloseFrameState:Q,emptyBuffer:P,opcodes:D}=A(20736);const{kReadyState:L,kSentClose:U,kByteParser:G,kReceivedClose:z,kResponse:W}=A(61216);const{fireEvent:Y,failWebsocketConnection:J,isClosing:$,isClosed:K,isEstablished:X,parseExtensions:he}=A(98625);const{channels:Ae}=A(42414);const{CloseEvent:ye}=A(15188);const{makeRequest:be}=A(9967);const{fetching:Ee}=A(54398);const{Headers:Ce,getHeadersList:we}=A(60660);const{getDecodeSplit:ve}=A(73168);const{WebsocketFrameSend:Se}=A(3264);let Re;try{Re=A(77598)}catch{}function establishWebSocketConnection(i,u,A,B,Q,P){const D=i;D.protocol=i.protocol==="ws:"?"http:":"https:";const L=be({urlList:[D],client:A,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(P.headers){const i=we(new Ce(P.headers));L.headersList=i}const U=Re.randomBytes(16).toString("base64");L.headersList.append("sec-websocket-key",U);L.headersList.append("sec-websocket-version","13");for(const i of u){L.headersList.append("sec-websocket-protocol",i)}const G="permessage-deflate; client_max_window_bits";L.headersList.append("sec-websocket-extensions",G);const z=Ee({request:L,useParallelQueue:true,dispatcher:P.dispatcher,processResponse(i){if(i.type==="error"||i.status!==101){J(B,"Received network error or non-101 status code.");return}if(u.length!==0&&!i.headersList.get("Sec-WebSocket-Protocol")){J(B,"Server did not respond with sent protocols.");return}if(i.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){J(B,'Server did not set Upgrade header to "websocket".');return}if(i.headersList.get("Connection")?.toLowerCase()!=="upgrade"){J(B,'Server did not set Connection header to "upgrade".');return}const A=i.headersList.get("Sec-WebSocket-Accept");const P=Re.createHash("sha1").update(U+I).digest("base64");if(A!==P){J(B,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const D=i.headersList.get("Sec-WebSocket-Extensions");let G;if(D!==null){G=he(D);if(!G.has("permessage-deflate")){J(B,"Sec-WebSocket-Extensions header does not match.");return}}const z=i.headersList.get("Sec-WebSocket-Protocol");if(z!==null){const i=ve("sec-websocket-protocol",L.headersList);if(!i.includes(z)){J(B,"Protocol was not set in the opening handshake.");return}}i.socket.on("data",onSocketData);i.socket.on("close",onSocketClose);i.socket.on("error",onSocketError);if(Ae.open.hasSubscribers){Ae.open.publish({address:i.socket.address(),protocol:z,extensions:D})}Q(i,G)}});return z}function closeWebSocketConnection(i,u,A,I){if($(i)||K(i)){}else if(!X(i)){J(i,"Connection was closed before it was established.");i[L]=B.CLOSING}else if(i[U]===Q.NOT_SENT){i[U]=Q.PROCESSING;const G=new Se;if(u!==undefined&&A===undefined){G.frameData=Buffer.allocUnsafe(2);G.frameData.writeUInt16BE(u,0)}else if(u!==undefined&&A!==undefined){G.frameData=Buffer.allocUnsafe(2+I);G.frameData.writeUInt16BE(u,0);G.frameData.write(A,2,"utf-8")}else{G.frameData=P}const z=i[W].socket;z.write(G.createFrame(D.CLOSE));i[U]=Q.SENT;i[L]=B.CLOSING}else{i[L]=B.CLOSING}}function onSocketData(i){if(!this.ws[G].write(i)){this.pause()}}function onSocketClose(){const{ws:i}=this;const{[W]:u}=i;u.socket.off("data",onSocketData);u.socket.off("close",onSocketClose);u.socket.off("error",onSocketError);const A=i[U]===Q.SENT&&i[z];let I=1005;let P="";const D=i[G].closingInfo;if(D&&!D.error){I=D.code??1005;P=D.reason}else if(!i[z]){I=1006}i[L]=B.CLOSED;Y("close",i,((i,u)=>new ye(i,u)),{wasClean:A,code:I,reason:P});if(Ae.close.hasSubscribers){Ae.close.publish({websocket:i,code:I,reason:P})}}function onSocketError(i){const{ws:u}=this;u[L]=B.CLOSING;if(Ae.socketError.hasSubscribers){Ae.socketError.publish(i)}this.destroy()}i.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},20736:i=>{"use strict";const u="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const A={enumerable:true,writable:false,configurable:false};const I={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const B={NOT_SENT:0,PROCESSING:1,SENT:2};const Q={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const P=2**16-1;const D={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const L=Buffer.allocUnsafe(0);const U={string:1,typedArray:2,arrayBuffer:3,blob:4};i.exports={uid:u,sentCloseFrameState:B,staticPropertyDescriptors:A,states:I,opcodes:Q,maxUnsigned16Bit:P,parserStates:D,emptyBuffer:L,sendHints:U}},15188:(i,u,A)=>{"use strict";const{webidl:I}=A(45893);const{kEnumerableProperty:B}=A(3440);const{kConstruct:Q}=A(36443);const{MessagePort:P}=A(75919);class MessageEvent extends Event{#ce;constructor(i,u={}){if(i===Q){super(arguments[1],arguments[2]);I.util.markAsUncloneable(this);return}const A="MessageEvent constructor";I.argumentLengthCheck(arguments,1,A);i=I.converters.DOMString(i,A,"type");u=I.converters.MessageEventInit(u,A,"eventInitDict");super(i,u);this.#ce=u;I.util.markAsUncloneable(this)}get data(){I.brandCheck(this,MessageEvent);return this.#ce.data}get origin(){I.brandCheck(this,MessageEvent);return this.#ce.origin}get lastEventId(){I.brandCheck(this,MessageEvent);return this.#ce.lastEventId}get source(){I.brandCheck(this,MessageEvent);return this.#ce.source}get ports(){I.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#ce.ports)){Object.freeze(this.#ce.ports)}return this.#ce.ports}initMessageEvent(i,u=false,A=false,B=null,Q="",P="",D=null,L=[]){I.brandCheck(this,MessageEvent);I.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(i,{bubbles:u,cancelable:A,data:B,origin:Q,lastEventId:P,source:D,ports:L})}static createFastMessageEvent(i,u){const A=new MessageEvent(Q,i,u);A.#ce=u;A.#ce.data??=null;A.#ce.origin??="";A.#ce.lastEventId??="";A.#ce.source??=null;A.#ce.ports??=[];return A}}const{createFastMessageEvent:D}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#ce;constructor(i,u={}){const A="CloseEvent constructor";I.argumentLengthCheck(arguments,1,A);i=I.converters.DOMString(i,A,"type");u=I.converters.CloseEventInit(u);super(i,u);this.#ce=u;I.util.markAsUncloneable(this)}get wasClean(){I.brandCheck(this,CloseEvent);return this.#ce.wasClean}get code(){I.brandCheck(this,CloseEvent);return this.#ce.code}get reason(){I.brandCheck(this,CloseEvent);return this.#ce.reason}}class ErrorEvent extends Event{#ce;constructor(i,u){const A="ErrorEvent constructor";I.argumentLengthCheck(arguments,1,A);super(i,u);I.util.markAsUncloneable(this);i=I.converters.DOMString(i,A,"type");u=I.converters.ErrorEventInit(u??{});this.#ce=u}get message(){I.brandCheck(this,ErrorEvent);return this.#ce.message}get filename(){I.brandCheck(this,ErrorEvent);return this.#ce.filename}get lineno(){I.brandCheck(this,ErrorEvent);return this.#ce.lineno}get colno(){I.brandCheck(this,ErrorEvent);return this.#ce.colno}get error(){I.brandCheck(this,ErrorEvent);return this.#ce.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:B,origin:B,lastEventId:B,source:B,ports:B,initMessageEvent:B});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:B,code:B,wasClean:B});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:B,filename:B,lineno:B,colno:B,error:B});I.converters.MessagePort=I.interfaceConverter(P);I.converters["sequence"]=I.sequenceConverter(I.converters.MessagePort);const L=[{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([...L,{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"],defaultValue:()=>new Array(0)}]);I.converters.CloseEventInit=I.dictionaryConverter([...L,{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([...L,{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}]);i.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:D}},3264:(i,u,A)=>{"use strict";const{maxUnsigned16Bit:I}=A(20736);const B=16386;let Q;let P=null;let D=B;try{Q=A(77598)}catch{Q={randomFillSync:function randomFillSync(i,u,A){for(let u=0;uI){P+=8;Q=127}else if(B>125){P+=2;Q=126}const D=Buffer.allocUnsafe(B+P);D[0]=D[1]=0;D[0]|=128;D[0]=(D[0]&240)+i; /*! ws. MIT License. Einar Otto Stangvik */D[P-4]=A[0];D[P-3]=A[1];D[P-2]=A[2];D[P-1]=A[3];D[1]=Q;if(Q===126){D.writeUInt16BE(B,2)}else if(Q===127){D[2]=D[3]=0;D.writeUIntBE(B,4,6)}D[1]|=128;for(let i=0;i{"use strict";const{createInflateRaw:I,Z_DEFAULT_WINDOWBITS:B}=A(38522);const{isValidClientWindowBits:Q}=A(98625);const{MessageSizeExceededError:P}=A(68707);const D=Buffer.from([0,0,255,255]);const L=Symbol("kBuffer");const U=Symbol("kLength");class PerMessageDeflate{#le;#e={};#ue=0;constructor(i,u){this.#e.serverNoContextTakeover=i.has("server_no_context_takeover");this.#e.serverMaxWindowBits=i.get("server_max_window_bits");this.#ue=u.maxPayloadSize}decompress(i,u,A){if(!this.#le){let i=B;if(this.#e.serverMaxWindowBits){if(!Q(this.#e.serverMaxWindowBits)){A(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#e.serverMaxWindowBits)}try{this.#le=I({windowBits:i})}catch(i){A(i);return}this.#le[L]=[];this.#le[U]=0;this.#le.on("data",(i=>{this.#le[U]+=i.length;if(this.#ue>0&&this.#le[U]>this.#ue){A(new P);this.#le.removeAllListeners();this.#le=null;return}this.#le[L].push(i)}));this.#le.on("error",(i=>{this.#le=null;A(i)}))}this.#le.write(i);if(u){this.#le.write(D)}this.#le.flush((()=>{if(!this.#le){return}const i=Buffer.concat(this.#le[L],this.#le[U]);this.#le[L].length=0;this.#le[U]=0;A(null,i)}))}}i.exports={PerMessageDeflate:PerMessageDeflate}},81652:(i,u,A)=>{"use strict";const{Writable:I}=A(57075);const B=A(34589);const{parserStates:Q,opcodes:P,states:D,emptyBuffer:L,sentCloseFrameState:U}=A(20736);const{kReadyState:G,kSentClose:z,kResponse:W,kReceivedClose:Y}=A(61216);const{channels:J}=A(42414);const{isValidStatusCode:$,isValidOpcode:K,failWebsocketConnection:X,websocketMessageReceived:he,utf8Decode:Ae,isControlFrame:ye,isTextBinaryFrame:be,isContinuationFrame:Ee}=A(98625);const{WebsocketFrameSend:Ce}=A(3264);const{closeWebSocketConnection:we}=A(86897);const{PerMessageDeflate:ve}=A(19469);const{MessageSizeExceededError:Se}=A(68707);function failWebsocketConnectionWithCode(i,u,A){we(i,u,A,Buffer.byteLength(A));X(i,A)}class ByteParser extends I{#de=[];#fe=0;#he=0;#pe=false;#Q=Q.INFO;#Ae={};#ge=[];#me;#ye;#ue;constructor(i,u,A={}){super();this.ws=i;this.#me=u==null?new Map:u;this.#ye=A.maxFragments??0;this.#ue=A.maxPayloadSize??0;if(this.#me.has("permessage-deflate")){this.#me.set("permessage-deflate",new ve(u,A))}}_write(i,u,A){this.#de.push(i);this.#he+=i.length;this.#pe=true;this.run(A)}#be(){if(this.#ue>0&&!ye(this.#Ae.opcode)&&this.#Ae.payloadLength+this.#fe>this.#ue){failWebsocketConnectionWithCode(this.ws,1009,"Payload size exceeds maximum allowed size");return false}return true}run(i){while(this.#pe){if(this.#Q===Q.INFO){if(this.#he<2){return i()}const u=this.consume(2);const A=(u[0]&128)!==0;const I=u[0]&15;const B=(u[1]&128)===128;const D=!A&&I!==P.CONTINUATION;const L=u[1]&127;const U=u[0]&64;const G=u[0]&32;const z=u[0]&16;if(!K(I)){X(this.ws,"Invalid opcode received");return i()}if(B){X(this.ws,"Frame cannot be masked");return i()}if(U!==0&&!this.#me.has("permessage-deflate")){X(this.ws,"Expected RSV1 to be clear.");return}if(G!==0||z!==0){X(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(D&&!be(I)){X(this.ws,"Invalid frame type was fragmented.");return}if(be(I)&&this.#ge.length>0){X(this.ws,"Expected continuation frame");return}if(this.#Ae.fragmented&&D){X(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((L>125||D)&&ye(I)){X(this.ws,"Control frame either too large or fragmented");return}if(Ee(I)&&this.#ge.length===0&&!this.#Ae.compressed){X(this.ws,"Unexpected continuation frame");return}if(L<=125){this.#Ae.payloadLength=L;this.#Q=Q.READ_DATA;if(!this.#be()){return}}else if(L===126){this.#Q=Q.PAYLOADLENGTH_16}else if(L===127){this.#Q=Q.PAYLOADLENGTH_64}if(be(I)){this.#Ae.binaryType=I;this.#Ae.compressed=U!==0}this.#Ae.opcode=I;this.#Ae.masked=B;this.#Ae.fin=A;this.#Ae.fragmented=D}else if(this.#Q===Q.PAYLOADLENGTH_16){if(this.#he<2){return i()}const u=this.consume(2);this.#Ae.payloadLength=u.readUInt16BE(0);this.#Q=Q.READ_DATA;if(!this.#be()){return}}else if(this.#Q===Q.PAYLOADLENGTH_64){if(this.#he<8){return i()}const u=this.consume(8);const A=u.readUInt32BE(0);const I=u.readUInt32BE(4);if(A!==0||I>2**31-1){X(this.ws,"Received payload length > 2^31 bytes.");return}this.#Ae.payloadLength=I;this.#Q=Q.READ_DATA;if(!this.#be()){return}}else if(this.#Q===Q.READ_DATA){if(this.#he0&&this.#fe>this.#ue){failWebsocketConnectionWithCode(this.ws,1009,(new Se).message);return}if(!this.#Ae.fragmented&&this.#Ae.fin){he(this.ws,this.#Ae.binaryType,this.consumeFragments())}this.#Q=Q.INFO}else{this.#me.get("permessage-deflate").decompress(u,this.#Ae.fin,((u,A)=>{if(u){const i=u instanceof Se?1009:1007;failWebsocketConnectionWithCode(this.ws,i,u.message);return}if(!this.writeFragments(A)){return}if(this.#ue>0&&this.#fe>this.#ue){failWebsocketConnectionWithCode(this.ws,1009,(new Se).message);return}if(!this.#Ae.fin){this.#Q=Q.INFO;this.#pe=true;this.run(i);return}he(this.ws,this.#Ae.binaryType,this.consumeFragments());this.#pe=true;this.#Q=Q.INFO;this.run(i)}));this.#pe=false;break}}}}}consume(i){if(i>this.#he){throw new Error("Called consume() before buffers satiated.")}else if(i===0){return L}if(this.#de[0].length===i){this.#he-=this.#de[0].length;return this.#de.shift()}const u=Buffer.allocUnsafe(i);let A=0;while(A!==i){const I=this.#de[0];const{length:B}=I;if(B+A===i){u.set(this.#de.shift(),A);break}else if(B+A>i){u.set(I.subarray(0,i-A),A);this.#de[0]=I.subarray(i-A);break}else{u.set(this.#de.shift(),A);A+=I.length}}this.#he-=i;return u}writeFragments(i){if(this.#ye>0&&this.#ge.length===this.#ye){failWebsocketConnectionWithCode(this.ws,1008,"Too many message fragments");return false}this.#fe+=i.length;this.#ge.push(i);return true}consumeFragments(){const i=this.#ge;if(i.length===1){this.#fe=0;return i.shift()}const u=Buffer.concat(i,this.#fe);this.#ge=[];this.#fe=0;return u}parseCloseBody(i){B(i.length!==1);let u;if(i.length>=2){u=i.readUInt16BE(0)}if(u!==undefined&&!$(u)){return{code:1002,reason:"Invalid status code",error:true}}let A=i.subarray(2);if(A[0]===239&&A[1]===187&&A[2]===191){A=A.subarray(3)}try{A=Ae(A)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:u,reason:A,error:false}}parseControlFrame(i){const{opcode:u,payloadLength:A}=this.#Ae;if(u===P.CLOSE){if(A===1){X(this.ws,"Received close frame with a 1-byte body.");return false}this.#Ae.closeInfo=this.parseCloseBody(i);if(this.#Ae.closeInfo.error){const{code:i,reason:u}=this.#Ae.closeInfo;we(this.ws,i,u,u.length);X(this.ws,u);return false}if(this.ws[z]!==U.SENT){let i=L;if(this.#Ae.closeInfo.code){i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#Ae.closeInfo.code,0)}const u=new Ce(i);this.ws[W].socket.write(u.createFrame(P.CLOSE),(i=>{if(!i){this.ws[z]=U.SENT}}))}this.ws[G]=D.CLOSING;this.ws[Y]=true;return false}else if(u===P.PING){if(!this.ws[Y]){const u=new Ce(i);this.ws[W].socket.write(u.createFrame(P.PONG));if(J.ping.hasSubscribers){J.ping.publish({payload:i})}}}else if(u===P.PONG){if(J.pong.hasSubscribers){J.pong.publish({payload:i})}}return true}get closingInfo(){return this.#Ae.closeInfo}}i.exports={ByteParser:ByteParser}},13900:(i,u,A)=>{"use strict";const{WebsocketFrameSend:I}=A(3264);const{opcodes:B,sendHints:Q}=A(20736);const P=A(64660);const D=Buffer[Symbol.species];class SendQueue{#Ee=new P;#Ce=false;#we;constructor(i){this.#we=i}add(i,u,A){if(A!==Q.blob){const I=createFrame(i,A);if(!this.#Ce){this.#we.write(I,u)}else{const i={promise:null,callback:u,frame:I};this.#Ee.push(i)}return}const I={promise:i.arrayBuffer().then((i=>{I.promise=null;I.frame=createFrame(i,A)})),callback:u,frame:null};this.#Ee.push(I);if(!this.#Ce){this.#ve()}}async#ve(){this.#Ce=true;const i=this.#Ee;while(!i.isEmpty()){const u=i.shift();if(u.promise!==null){await u.promise}this.#we.write(u.frame,u.callback);u.callback=u.frame=null}this.#Ce=false}}function createFrame(i,u){return new I(toBuffer(i,u)).createFrame(u===Q.string?B.TEXT:B.BINARY)}function toBuffer(i,u){switch(u){case Q.string:return Buffer.from(i);case Q.arrayBuffer:case Q.blob:return new D(i);case Q.typedArray:return new D(i.buffer,i.byteOffset,i.byteLength)}}i.exports={SendQueue:SendQueue}},61216:i=>{"use strict";i.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")}},98625:(i,u,A)=>{"use strict";const{kReadyState:I,kController:B,kResponse:Q,kBinaryType:P,kWebSocketURL:D}=A(61216);const{states:L,opcodes:U}=A(20736);const{ErrorEvent:G,createFastMessageEvent:z}=A(15188);const{isUtf8:W}=A(4573);const{collectASequenceOfCodePointsFast:Y,removeHTTPWhitespace:J}=A(51900);function isConnecting(i){return i[I]===L.CONNECTING}function isEstablished(i){return i[I]===L.OPEN}function isClosing(i){return i[I]===L.CLOSING}function isClosed(i){return i[I]===L.CLOSED}function fireEvent(i,u,A=(i,u)=>new Event(i,u),I={}){const B=A(i,I);u.dispatchEvent(B)}function websocketMessageReceived(i,u,A){if(i[I]!==L.OPEN){return}let B;if(u===U.TEXT){try{B=X(A)}catch{failWebsocketConnection(i,"Received invalid UTF-8 in text frame.");return}}else if(u===U.BINARY){if(i[P]==="blob"){B=new Blob([A])}else{B=toArrayBuffer(A)}}fireEvent("message",i,z,{origin:i[D].origin,data:B})}function toArrayBuffer(i){if(i.byteLength===i.buffer.byteLength){return i.buffer}return i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)}function isValidSubprotocol(i){if(i.length===0){return false}for(let u=0;u126||A===34||A===40||A===41||A===44||A===47||A===58||A===59||A===60||A===61||A===62||A===63||A===64||A===91||A===92||A===93||A===123||A===125){return false}}return true}function isValidStatusCode(i){if(i>=1e3&&i<1015){return i!==1004&&i!==1005&&i!==1006}return i>=3e3&&i<=4999}function failWebsocketConnection(i,u){const{[B]:A,[Q]:I}=i;A.abort();if(I?.socket&&!I.socket.destroyed){I.socket.destroy()}if(u){fireEvent("error",i,((i,u)=>new G(i,u)),{error:new Error(u),message:u})}}function isControlFrame(i){return i===U.CLOSE||i===U.PING||i===U.PONG}function isContinuationFrame(i){return i===U.CONTINUATION}function isTextBinaryFrame(i){return i===U.TEXT||i===U.BINARY}function isValidOpcode(i){return isTextBinaryFrame(i)||isContinuationFrame(i)||isControlFrame(i)}function parseExtensions(i){const u={position:0};const A=new Map;while(u.position57){return false}}const u=Number.parseInt(i,10);return u>=8&&u<=15}const $=typeof process.versions.icu==="string";const K=$?new TextDecoder("utf-8",{fatal:true}):undefined;const X=$?K.decode.bind(K):function(i){if(W(i)){return i.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};i.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:X,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},13726:(i,u,A)=>{"use strict";const{webidl:I}=A(45893);const{URLSerializer:B}=A(51900);const{environmentSettingsObject:Q}=A(73168);const{staticPropertyDescriptors:P,states:D,sentCloseFrameState:L,sendHints:U}=A(20736);const{kWebSocketURL:G,kReadyState:z,kController:W,kBinaryType:Y,kResponse:J,kSentClose:$,kByteParser:K}=A(61216);const{isConnecting:X,isEstablished:he,isClosing:Ae,isValidSubprotocol:ye,fireEvent:be}=A(98625);const{establishWebSocketConnection:Ee,closeWebSocketConnection:Ce}=A(86897);const{ByteParser:we}=A(81652);const{kEnumerableProperty:ve,isBlobLike:Se}=A(3440);const{getGlobalDispatcher:Re}=A(32581);const{types:Ne}=A(57975);const{ErrorEvent:_e,CloseEvent:Oe}=A(15188);const{SendQueue:xe}=A(13900);class WebSocket extends EventTarget{#c={open:null,error:null,close:null,message:null};#Se=0;#Ie="";#me="";#Be;constructor(i,u=[]){super();I.util.markAsUncloneable(this);const A="WebSocket constructor";I.argumentLengthCheck(arguments,1,A);const B=I.converters["DOMString or sequence or WebSocketInit"](u,A,"options");i=I.converters.USVString(i,A,"url");u=B.protocols;const P=Q.settingsObject.baseUrl;let D;try{D=new URL(i,P)}catch(i){throw new DOMException(i,"SyntaxError")}if(D.protocol==="http:"){D.protocol="ws:"}else if(D.protocol==="https:"){D.protocol="wss:"}if(D.protocol!=="ws:"&&D.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${D.protocol}`,"SyntaxError")}if(D.hash||D.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof u==="string"){u=[u]}if(u.length!==new Set(u.map((i=>i.toLowerCase()))).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(u.length>0&&!u.every((i=>ye(i)))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[G]=new URL(D.href);const U=Q.settingsObject;this[W]=Ee(D,u,U,this,((i,u)=>this.#Re(i,u)),B);this[z]=WebSocket.CONNECTING;this[$]=L.NOT_SENT;this[Y]="blob"}close(i=undefined,u=undefined){I.brandCheck(this,WebSocket);const A="WebSocket.close";if(i!==undefined){i=I.converters["unsigned short"](i,A,"code",{clamp:true})}if(u!==undefined){u=I.converters.USVString(u,A,"reason")}if(i!==undefined){if(i!==1e3&&(i<3e3||i>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let B=0;if(u!==undefined){B=Buffer.byteLength(u);if(B>123){throw new DOMException(`Reason must be less than 123 bytes; received ${B}`,"SyntaxError")}}Ce(this,i,u,B)}send(i){I.brandCheck(this,WebSocket);const u="WebSocket.send";I.argumentLengthCheck(arguments,1,u);i=I.converters.WebSocketSendData(i,u,"data");if(X(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!he(this)||Ae(this)){return}if(typeof i==="string"){const u=Buffer.byteLength(i);this.#Se+=u;this.#Be.add(i,(()=>{this.#Se-=u}),U.string)}else if(Ne.isArrayBuffer(i)){this.#Se+=i.byteLength;this.#Be.add(i,(()=>{this.#Se-=i.byteLength}),U.arrayBuffer)}else if(ArrayBuffer.isView(i)){this.#Se+=i.byteLength;this.#Be.add(i,(()=>{this.#Se-=i.byteLength}),U.typedArray)}else if(Se(i)){this.#Se+=i.size;this.#Be.add(i,(()=>{this.#Se-=i.size}),U.blob)}}get readyState(){I.brandCheck(this,WebSocket);return this[z]}get bufferedAmount(){I.brandCheck(this,WebSocket);return this.#Se}get url(){I.brandCheck(this,WebSocket);return B(this[G])}get extensions(){I.brandCheck(this,WebSocket);return this.#me}get protocol(){I.brandCheck(this,WebSocket);return this.#Ie}get onopen(){I.brandCheck(this,WebSocket);return this.#c.open}set onopen(i){I.brandCheck(this,WebSocket);if(this.#c.open){this.removeEventListener("open",this.#c.open)}if(typeof i==="function"){this.#c.open=i;this.addEventListener("open",i)}else{this.#c.open=null}}get onerror(){I.brandCheck(this,WebSocket);return this.#c.error}set onerror(i){I.brandCheck(this,WebSocket);if(this.#c.error){this.removeEventListener("error",this.#c.error)}if(typeof i==="function"){this.#c.error=i;this.addEventListener("error",i)}else{this.#c.error=null}}get onclose(){I.brandCheck(this,WebSocket);return this.#c.close}set onclose(i){I.brandCheck(this,WebSocket);if(this.#c.close){this.removeEventListener("close",this.#c.close)}if(typeof i==="function"){this.#c.close=i;this.addEventListener("close",i)}else{this.#c.close=null}}get onmessage(){I.brandCheck(this,WebSocket);return this.#c.message}set onmessage(i){I.brandCheck(this,WebSocket);if(this.#c.message){this.removeEventListener("message",this.#c.message)}if(typeof i==="function"){this.#c.message=i;this.addEventListener("message",i)}else{this.#c.message=null}}get binaryType(){I.brandCheck(this,WebSocket);return this[Y]}set binaryType(i){I.brandCheck(this,WebSocket);if(i!=="blob"&&i!=="arraybuffer"){this[Y]="blob"}else{this[Y]=i}}#Re(i,u){this[J]=i;const A=this[W]?.dispatcher?.webSocketOptions;const I=A?.maxFragments;const B=A?.maxPayloadSize;const Q=new we(this,u,{maxFragments:I,maxPayloadSize:B});Q.on("drain",onParserDrain);Q.on("error",onParserError.bind(this));i.socket.ws=this;this[K]=Q;this.#Be=new xe(i.socket);this[z]=D.OPEN;const P=i.headersList.get("sec-websocket-extensions");if(P!==null){this.#me=P}const L=i.headersList.get("sec-websocket-protocol");if(L!==null){this.#Ie=L}be("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=D.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=D.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=D.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=D.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:P,OPEN:P,CLOSING:P,CLOSED:P,url:ve,readyState:ve,bufferedAmount:ve,onopen:ve,onerror:ve,onclose:ve,close:ve,onmessage:ve,binaryType:ve,send:ve,extensions:ve,protocol:ve,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:P,OPEN:P,CLOSING:P,CLOSED:P});I.converters["sequence"]=I.sequenceConverter(I.converters.DOMString);I.converters["DOMString or sequence"]=function(i,u,A){if(I.util.Type(i)==="Object"&&Symbol.iterator in i){return I.converters["sequence"](i)}return I.converters.DOMString(i,u,A)};I.converters.WebSocketInit=I.dictionaryConverter([{key:"protocols",converter:I.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:I.converters.any,defaultValue:()=>Re()},{key:"headers",converter:I.nullableConverter(I.converters.HeadersInit)}]);I.converters["DOMString or sequence or WebSocketInit"]=function(i){if(I.util.Type(i)==="Object"&&!(Symbol.iterator in i)){return I.converters.WebSocketInit(i)}return{protocols:I.converters["DOMString or sequence"](i)}};I.converters.WebSocketSendData=function(i){if(I.util.Type(i)==="Object"){if(Se(i)){return I.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||Ne.isArrayBuffer(i)){return I.converters.BufferSource(i)}}return I.converters.USVString(i)};function onParserDrain(){this.ws[J].socket.resume()}function onParserError(i){let u;let A;if(i instanceof Oe){u=i.reason;A=i.code}else{u=i.message}be("error",this,(()=>new _e("error",{error:i,message:u})));Ce(this,A)}i.exports={WebSocket:WebSocket}},33843:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}u.getUserAgent=getUserAgent},45389:(i,u,A)=>{"use strict";var I=A(2203);var B=A(39023).inherits;function Entry(){if(!(this instanceof Entry)){return new Entry}I.PassThrough.call(this);this.path=null;this.type=null;this.isDirectory=false}B(Entry,I.PassThrough);Entry.prototype.autodrain=function(){return this.pipe(new I.Transform({transform:function(i,u,A){A()}}))};i.exports=Entry},5700:(i,u,A)=>{var I=A(79896);var B=A(16928);var Q=A(39023);var P=A(4469);var D=A(2203).Transform;var L=A(85580);function Extract(i){if(!(this instanceof Extract))return new Extract(i);D.call(this);this.opts=i||{};this.unzipStream=new L(this.opts);this.unfinishedEntries=0;this.afterFlushWait=false;this.createdDirectories={};var u=this;this.unzipStream.on("entry",this._processEntry.bind(this));this.unzipStream.on("error",(function(i){u.emit("error",i)}))}Q.inherits(Extract,D);Extract.prototype._transform=function(i,u,A){this.unzipStream.write(i,u,A)};Extract.prototype._flush=function(i){var u=this;var allDone=function(){process.nextTick((function(){u.emit("close")}));i()};this.unzipStream.end((function(){if(u.unfinishedEntries>0){u.afterFlushWait=true;return u.on("await-finished",allDone)}allDone()}))};Extract.prototype._processEntry=function(i){var u=this;var A=B.join(this.opts.path,i.path);var Q=i.isDirectory?A:B.dirname(A);this.unfinishedEntries++;var writeFileFn=function(){var B=I.createWriteStream(A);B.on("close",(function(){u.unfinishedEntries--;u._notifyAwaiter()}));B.on("error",(function(i){u.emit("error",i)}));i.pipe(B)};if(this.createdDirectories[Q]||Q==="."){return writeFileFn()}P(Q,(function(A){if(A)return u.emit("error",A);u.createdDirectories[Q]=true;if(i.isDirectory){u.unfinishedEntries--;u._notifyAwaiter();return}writeFileFn()}))};Extract.prototype._notifyAwaiter=function(){if(this.afterFlushWait&&this.unfinishedEntries===0){this.emit("await-finished");this.afterFlushWait=false}};i.exports=Extract},42092:(i,u,A)=>{var I=A(2203).Transform;var B=A(39023);function MatcherStream(i,u){if(!(this instanceof MatcherStream)){return new MatcherStream}I.call(this);var A=typeof i==="object"?i.pattern:i;this.pattern=Buffer.isBuffer(A)?A:Buffer.from(A);this.requiredLength=this.pattern.length;if(i.requiredExtraSize)this.requiredLength+=i.requiredExtraSize;this.data=new Buffer("");this.bytesSoFar=0;this.matchFn=u}B.inherits(MatcherStream,I);MatcherStream.prototype.checkDataChunk=function(i){var u=this.data.length>=this.requiredLength;if(!u){return}var A=this.data.indexOf(this.pattern,i?1:0);if(A>=0&&A+this.requiredLength>this.data.length){if(A>0){var I=this.data.slice(0,A);this.push(I);this.bytesSoFar+=A;this.data=this.data.slice(A)}return}if(A===-1){var B=this.data.length-this.requiredLength+1;var I=this.data.slice(0,B);this.push(I);this.bytesSoFar+=B;this.data=this.data.slice(B);return}if(A>0){var I=this.data.slice(0,A);this.data=this.data.slice(A);this.push(I);this.bytesSoFar+=A}var Q=this.matchFn?this.matchFn(this.data,this.bytesSoFar):true;if(Q){this.data=new Buffer("");return}return true};MatcherStream.prototype._transform=function(i,u,A){this.data=Buffer.concat([this.data,i]);var I=true;while(this.checkDataChunk(!I)){I=false}A()};MatcherStream.prototype._flush=function(i){if(this.data.length>0){var u=true;while(this.checkDataChunk(!u)){u=false}}if(this.data.length>0){this.push(this.data);this.data=null}i()};i.exports=MatcherStream},41879:(i,u,A)=>{var I=A(2203).Transform;var B=A(39023);var Q=A(85580);function ParserStream(i){if(!(this instanceof ParserStream)){return new ParserStream(i)}var u=i||{};I.call(this,{readableObjectMode:true});this.opts=i||{};this.unzipStream=new Q(this.opts);var A=this;this.unzipStream.on("entry",(function(i){A.push(i)}));this.unzipStream.on("error",(function(i){A.emit("error",i)}))}B.inherits(ParserStream,I);ParserStream.prototype._transform=function(i,u,A){this.unzipStream.write(i,u,A)};ParserStream.prototype._flush=function(i){var u=this;this.unzipStream.end((function(){process.nextTick((function(){u.emit("close")}));i()}))};ParserStream.prototype.on=function(i,u){if(i==="entry"){return I.prototype.on.call(this,"data",u)}return I.prototype.on.call(this,i,u)};ParserStream.prototype.drainAll=function(){this.unzipStream.drainAll();return this.pipe(new I({objectMode:true,transform:function(i,u,A){A()}}))};i.exports=ParserStream},85580:(i,u,A)=>{"use strict";var I=A(58769);var B=A(2203);var Q=A(39023);var P=A(43106);var D=A(42092);var L=A(45389);const U={STREAM_START:0,START:1,LOCAL_FILE_HEADER:2,LOCAL_FILE_HEADER_SUFFIX:3,FILE_DATA:4,FILE_DATA_END:5,DATA_DESCRIPTOR:6,CENTRAL_DIRECTORY_FILE_HEADER:7,CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:8,CDIR64_END:9,CDIR64_END_DATA_SECTOR:10,CDIR64_LOCATOR:11,CENTRAL_DIRECTORY_END:12,CENTRAL_DIRECTORY_END_COMMENT:13,TRAILING_JUNK:14,ERROR:99};const G=4294967296;const z=67324752;const W=134695760;const Y=33639248;const J=101075792;const $=117853008;const K=101010256;function UnzipStream(i){if(!(this instanceof UnzipStream)){return new UnzipStream(i)}B.Transform.call(this);this.options=i||{};this.data=new Buffer("");this.state=U.STREAM_START;this.skippedBytes=0;this.parsedEntity=null;this.outStreamInfo={}}Q.inherits(UnzipStream,B.Transform);UnzipStream.prototype.processDataChunk=function(i){var u;switch(this.state){case U.STREAM_START:case U.START:u=4;break;case U.LOCAL_FILE_HEADER:u=26;break;case U.LOCAL_FILE_HEADER_SUFFIX:u=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case U.DATA_DESCRIPTOR:u=12;break;case U.CENTRAL_DIRECTORY_FILE_HEADER:u=42;break;case U.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:u=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case U.CDIR64_END:u=52;break;case U.CDIR64_END_DATA_SECTOR:u=this.parsedEntity.centralDirectoryRecordSize-44;break;case U.CDIR64_LOCATOR:u=16;break;case U.CENTRAL_DIRECTORY_END:u=18;break;case U.CENTRAL_DIRECTORY_END_COMMENT:u=this.parsedEntity.commentLength;break;case U.FILE_DATA:return 0;case U.FILE_DATA_END:return 0;case U.TRAILING_JUNK:if(this.options.debug)console.log("found",i.length,"bytes of TRAILING_JUNK");return i.length;default:return i.length}var A=i.length;if(A>>8;if((Q&255)===80){P=D;break}}this.skippedBytes+=P;if(this.options.debug)console.log("Skipped",this.skippedBytes,"bytes");return P}this.state=U.ERROR;var W=B?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var X=i.readUInt32LE(0);var he;try{he=i.slice(0,4).toString()}catch(i){}console.log("Unexpected signature in zip file: 0x"+X.toString(16),'"'+he+'", skipped',this.skippedBytes,"bytes")}this.emit("error",new Error(W));return i.length}this.skippedBytes=0;return u;case U.LOCAL_FILE_HEADER:this.parsedEntity=this._readFile(i);this.state=U.LOCAL_FILE_HEADER_SUFFIX;return u;case U.LOCAL_FILE_HEADER_SUFFIX:var Ae=new L;var ye=(this.parsedEntity.flags&2048)!==0;Ae.path=this._decodeString(i.slice(0,this.parsedEntity.fileNameLength),ye);var be=i.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var Ee=this._readExtraFields(be);if(Ee&&Ee.parsed){if(Ee.parsed.path&&!ye){Ae.path=Ee.parsed.path}if(Number.isFinite(Ee.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===G-1){this.parsedEntity.uncompressedSize=Ee.parsed.uncompressedSize}if(Number.isFinite(Ee.parsed.compressedSize)&&this.parsedEntity.compressedSize===G-1){this.parsedEntity.compressedSize=Ee.parsed.compressedSize}}this.parsedEntity.extra=Ee.parsed||{};if(this.options.debug){const i=Object.assign({},this.parsedEntity,{path:Ae.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:Ee&&Ee.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(i,null,2))}this._prepareOutStream(this.parsedEntity,Ae);this.emit("entry",Ae);this.state=U.FILE_DATA;return u;case U.CENTRAL_DIRECTORY_FILE_HEADER:this.parsedEntity=this._readCentralDirectoryEntry(i);this.state=U.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX;return u;case U.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var ye=(this.parsedEntity.flags&2048)!==0;var Ce=this._decodeString(i.slice(0,this.parsedEntity.fileNameLength),ye);var be=i.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var Ee=this._readExtraFields(be);if(Ee&&Ee.parsed&&Ee.parsed.path&&!ye){Ce=Ee.parsed.path}this.parsedEntity.extra=Ee.parsed;var we=(this.parsedEntity.versionMadeBy&65280)>>8===3;var ve,Se;if(we){ve=this.parsedEntity.externalFileAttributes>>>16;var Re=ve>>>12;Se=(Re&10)===10}if(this.options.debug){const i=Object.assign({},this.parsedEntity,{path:Ce,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:ve&&"0"+ve.toString(8),isSymlink:Se,extraFields:Ee.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(i,null,2))}this.state=U.START;return u;case U.CDIR64_END:this.parsedEntity=this._readEndOfCentralDirectory64(i);if(this.options.debug){console.log("decoded CDIR64_END_RECORD:",this.parsedEntity)}this.state=U.CDIR64_END_DATA_SECTOR;return u;case U.CDIR64_END_DATA_SECTOR:this.state=U.START;return u;case U.CDIR64_LOCATOR:this.state=U.START;return u;case U.CENTRAL_DIRECTORY_END:this.parsedEntity=this._readEndOfCentralDirectory(i);if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity)}this.state=U.CENTRAL_DIRECTORY_END_COMMENT;return u;case U.CENTRAL_DIRECTORY_END_COMMENT:if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",i.slice(0,u).toString())}this.state=U.TRAILING_JUNK;return u;case U.ERROR:return i.length;default:console.log("didn't handle state #",this.state,"discarding");return i.length}};UnzipStream.prototype._prepareOutStream=function(i,u){var A=this;var I=i.uncompressedSize===0&&/[\/\\]$/.test(u.path);u.path=u.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,".");u.type=I?"Directory":"File";u.isDirectory=I;var Q=!(i.flags&8);if(Q){u.size=i.uncompressedSize}var z=i.versionsNeededToExtract<=45;this.outStreamInfo={stream:null,limit:Q?i.compressedSize:-1,written:0};if(!Q){var Y=new Buffer(4);Y.writeUInt32LE(W,0);var J=i.extra.zip64Mode;var $=J?20:12;var K={pattern:Y,requiredExtraSize:$};var X=new D(K,(function(i,u){var I=A._readDataDescriptor(i,J);var B=I.compressedSize===u;if(!J&&!B&&u>=G){var Q=u-G;while(Q>=0){B=I.compressedSize===Q;if(B)break;Q-=G}}if(!B){return}A.state=U.FILE_DATA_END;var P=J?24:16;if(A.data.length>0){A.data=Buffer.concat([i.slice(P),A.data])}else{A.data=i.slice(P)}return true}));this.outStreamInfo.stream=X}else{this.outStreamInfo.stream=new B.PassThrough}var he=i.flags&1||i.flags&64;if(he||!z){var Ae=he?"Encrypted files are not supported!":"Zip version "+Math.floor(i.versionsNeededToExtract/10)+"."+i.versionsNeededToExtract%10+" is not supported";u.skip=true;setImmediate((()=>{A.emit("error",new Error(Ae))}));this.outStreamInfo.stream.pipe((new L).autodrain());return}var ye=i.compressionMethod>0;if(ye){var be=P.createInflateRaw();be.on("error",(function(i){A.state=U.ERROR;A.emit("error",i)}));this.outStreamInfo.stream.pipe(be).pipe(u)}else{this.outStreamInfo.stream.pipe(u)}if(this._drainAllEntries){u.autodrain()}};UnzipStream.prototype._readFile=function(i){var u=I.parse(i).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return u};UnzipStream.prototype._readExtraFields=function(i){var u={};var A={parsed:u};if(this.options.debug){A.debug=[]}var B=0;while(B=U+4&&L&1){u.mtime=new Date(i.readUInt32LE(B+U)*1e3);U+=4}if(Q.extraSize>=U+4&&L&2){u.atime=new Date(i.readUInt32LE(B+U)*1e3);U+=4}if(Q.extraSize>=U+4&&L&4){u.ctime=new Date(i.readUInt32LE(B+U)*1e3)}break;case 28789:P="Info-ZIP Unicode Path Extra Field";var G=i.readUInt8(B);if(G===1){var U=1;var z=i.readUInt32LE(B+U);U+=4;var W=i.slice(B+U);u.path=W.toString()}break;case 13:case 22613:P=Q.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var U=0;if(Q.extraSize>=8){var Y=new Date(i.readUInt32LE(B+U)*1e3);U+=4;var J=new Date(i.readUInt32LE(B+U)*1e3);U+=4;u.atime=Y;u.mtime=J;if(Q.extraSize>=12){var $=i.readUInt16LE(B+U);U+=2;var K=i.readUInt16LE(B+U);U+=2;u.uid=$;u.gid=K}}break;case 30805:P="Info-ZIP UNIX (type 2)";var U=0;if(Q.extraSize>=4){var $=i.readUInt16LE(B+U);U+=2;var K=i.readUInt16LE(B+U);U+=2;u.uid=$;u.gid=K}break;case 30837:P="Info-ZIP New Unix";var U=0;var X=i.readUInt8(B);U+=1;if(X===1){var he=i.readUInt8(B+U);U+=1;if(he<=6){u.uid=i.readUIntLE(B+U,he)}U+=he;var Ae=i.readUInt8(B+U);U+=1;if(Ae<=6){u.gid=i.readUIntLE(B+U,Ae)}}break;case 30062:P="ASi Unix";var U=0;if(Q.extraSize>=14){var ye=i.readUInt32LE(B+U);U+=4;var be=i.readUInt16LE(B+U);U+=2;var Ee=i.readUInt32LE(B+U);U+=4;var $=i.readUInt16LE(B+U);U+=2;var K=i.readUInt16LE(B+U);U+=2;u.mode=be;u.uid=$;u.gid=K;if(Q.extraSize>14){var Ce=B+U;var we=B+Q.extraSize-14;var ve=this._decodeString(i.slice(Ce,we));u.symlink=ve}}break}if(this.options.debug){A.debug.push({extraId:"0x"+Q.extraId.toString(16),description:P,data:i.slice(B,B+Q.extraSize).inspect()})}B+=Q.extraSize}return A};UnzipStream.prototype._readDataDescriptor=function(i,u){if(u){var A=I.parse(i).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return A}var A=I.parse(i).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return A};UnzipStream.prototype._readCentralDirectoryEntry=function(i){var u=I.parse(i).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return u};UnzipStream.prototype._readEndOfCentralDirectory64=function(i){var u=I.parse(i).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return u};UnzipStream.prototype._readEndOfCentralDirectory=function(i){var u=I.parse(i).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return u};const X="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";UnzipStream.prototype._decodeString=function(i,u){if(u){return i.toString("utf8")}if(this.options.decodeString){return this.options.decodeString(i)}let A="";for(var I=0;I0){this.data=this.data.slice(A);if(this.data.length===0)break}if(this.state===U.FILE_DATA){if(this.outStreamInfo.limit>=0){var I=this.outStreamInfo.limit-this.outStreamInfo.written;var B;if(I{if(this.state===U.FILE_DATA_END){this.state=U.START;return Q.end(u)}u()}))}return}u()};UnzipStream.prototype.drainAll=function(){this._drainAllEntries=true};UnzipStream.prototype._transform=function(i,u,A){var I=this;if(I.data.length>0){I.data=Buffer.concat([I.data,i])}else{I.data=i}var B=I.data.length;var done=function(){if(I.data.length>0&&I.data.length0){u._parseOrOutput("buffer",(function(){if(u.data.length>0)return setImmediate((function(){u._flush(i)}));i()}));return}if(u.state===U.FILE_DATA){return i(new Error("Stream finished in an invalid state, uncompression failed"))}setImmediate(i)};i.exports=UnzipStream},33991:(i,u,A)=>{"use strict";u.Parse=A(41879);u.Extract=A(5700)},24488:(i,u,A)=>{i.exports=A(39023).deprecate},58264:i=>{i.exports=wrappy;function wrappy(i,u){if(i&&u)return wrappy(i)(u);if(typeof i!=="function")throw new TypeError("need wrapper function");Object.keys(i).forEach((function(u){wrapper[u]=i[u]}));return wrapper;function wrapper(){var u=new Array(arguments.length);for(var A=0;A{ /** * ZipStream * * @ignore * @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE} * @copyright (c) 2014 Chris Talkington, contributors. */ var I=A(39023).inherits;var B=A(47544).ZipArchiveOutputStream;var Q=A(47544).ZipArchiveEntry;var P=A(53296);var D=i.exports=function(i){if(!(this instanceof D)){return new D(i)}i=this.options=i||{};i.zlib=i.zlib||{};B.call(this,i);if(typeof i.level==="number"&&i.level>=0){i.zlib.level=i.level;delete i.level}if(!i.forceZip64&&typeof i.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};I(D,B);D.prototype._normalizeFileData=function(i){i=P.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var u=i.type==="directory";var A=i.type==="symlink";if(i.name){i.name=P.sanitizePath(i.name);if(!A&&i.name.slice(-1)==="/"){u=true;i.type="directory"}else if(u){i.name+="/"}}if(u||A){i.store=true}i.date=P.dateify(i.date);return i};D.prototype.entry=function(i,u,A){if(typeof A!=="function"){A=this._emitErrorCallback.bind(this)}u=this._normalizeFileData(u);if(u.type!=="file"&&u.type!=="directory"&&u.type!=="symlink"){A(new Error(u.type+" entries not currently supported"));return}if(typeof u.name!=="string"||u.name.length===0){A(new Error("entry name must be a non-empty string value"));return}if(u.type==="symlink"&&typeof u.linkname!=="string"){A(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var I=new Q(u.name);I.setTime(u.date,this.options.forceLocalTime);if(u.namePrependSlash){I.setName(u.name,true)}if(u.store){I.setMethod(0)}if(u.comment.length>0){I.setComment(u.comment)}if(u.type==="symlink"&&typeof u.mode!=="number"){u.mode=40960}if(typeof u.mode==="number"){if(u.type==="symlink"){u.mode|=40960}I.setUnixMode(u.mode)}if(u.type==="symlink"&&typeof u.linkname==="string"){i=Buffer.from(u.linkname)}return B.prototype.entry.call(this,I,i,A)};D.prototype.finalize=function(){this.finish()}},40788:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q=0.3.0")){yield G.Util.asyncForEach(i.driverOpts,(i=>P(this,void 0,void 0,(function*(){A.push("--driver-opt",i)}))));if(i.buildkitdFlags){A.push("--buildkitd-flags",i.buildkitdFlags)}else if(driverSupportsBuildkitdFlags(i.driver)){A.push("--buildkitd-flags",z)}}if(i.platforms.length>0){A.push("--platform",i.platforms.join(","))}if(i.use){A.push("--use")}if(i.buildkitdConfig){A.push("--config",u.buildkit.config.resolveFromFile(i.buildkitdConfig))}else if(i.buildkitdConfigInline){A.push("--config",u.buildkit.config.resolveFromString(i.buildkitdConfigInline))}if(i.endpoint){A.push(i.endpoint)}return A}))}function getAppendArgs(i,u,A){return P(this,void 0,void 0,(function*(){const I=["create","--name",i.name,"--append"];if(u.name){I.push("--node",u.name)}else if(i.driver=="kubernetes"&&(yield A.buildx.versionSatisfies("<0.11.0"))){I.push("--node",`node-${D.randomUUID()}`)}if(u["driver-opts"]&&(yield A.buildx.versionSatisfies(">=0.3.0"))){yield G.Util.asyncForEach(u["driver-opts"],(i=>P(this,void 0,void 0,(function*(){I.push("--driver-opt",i)}))));if(u["buildkitd-flags"]){I.push("--buildkitd-flags",u["buildkitd-flags"])}else if(driverSupportsBuildkitdFlags(i.driver)){I.push("--buildkitd-flags",z)}}if(u.platforms){I.push("--platform",u.platforms)}if(u.endpoint){I.push(u.endpoint)}return I}))}function getInspectArgs(i,u){return P(this,void 0,void 0,(function*(){const A=["inspect","--bootstrap"];if(yield u.buildx.versionSatisfies(">=0.4.0")){A.push("--builder",i.name)}return A}))}function driverSupportsBuildkitdFlags(i){return i==""||i=="docker-container"||i=="docker"||i=="kubernetes"}},41730:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;QP(void 0,void 0,void 0,(function*(){var i;const u=yield he.getInputs();Ae.setCleanup(u.cleanup);const A=new K.Toolkit;const I=yield A.buildx.isStandalone();Ae.setStandalone(I);yield G.group(`Docker info`,(()=>P(void 0,void 0,void 0,(function*(){try{yield J.Docker.printVersion();yield J.Docker.printInfo()}catch(i){G.info(i.message)}}))));let B;if(X.Util.isValidRef(u.version)){if(I){throw new Error(`Cannot build from source without the Docker CLI`)}yield G.group(`Build buildx from source`,(()=>P(void 0,void 0,void 0,(function*(){B=yield A.buildxInstall.build(u.version,!u.cacheBinary)}))))}else if(!(yield A.buildx.isAvailable())||u.version){yield G.group(`Download buildx from GitHub Releases`,(()=>P(void 0,void 0,void 0,(function*(){B=yield A.buildxInstall.download(u.version||"latest",!u.cacheBinary)}))))}if(B){yield G.group(`Install buildx`,(()=>P(void 0,void 0,void 0,(function*(){if(I){yield A.buildxInstall.installStandalone(B)}else{yield A.buildxInstall.installPlugin(B)}}))))}yield G.group(`Buildx version`,(()=>P(void 0,void 0,void 0,(function*(){yield A.buildx.printVersion()}))));G.setOutput("name",u.name);Ae.setBuilderName(u.name);Ae.setBuilderDriver(u.driver);L.mkdirSync(W.Buildx.certsDir,{recursive:true});Ae.setCertsDir(W.Buildx.certsDir);if(!I&&u.driver=="docker-container"&&(yield J.Docker.context())=="default"&&u.endpoint.length==0){let i=false;yield G.group(`Inspecting default docker context`,(()=>P(void 0,void 0,void 0,(function*(){yield J.Docker.getExecOutput(["context","inspect","--format=json","default"],{ignoreReturnCode:true,silent:true}).then((u=>{if(u.stderr.length>0&&u.exitCode!=0){G.info(`Cannot inspect default docker context: ${u.stderr.trim()}`)}else{try{const A=JSON.parse(u.stdout.trim())[0];G.info(JSON.stringify(JSON.parse(u.stdout.trim()),undefined,2));const I=Object.keys(A.Endpoints).length>0&&Object.values(A.Endpoints)[0].TLSData!==undefined;const B=Object.keys(A.TLSMaterial).length>0&&Object.values(A.TLSMaterial)[0].length>0;i=I||B}catch(i){G.info(`Unable to parse default docker context info: ${i}`);G.info(u.stdout.trim())}}}))}))));if(i){const i=`buildx-${D.randomUUID()}`;yield G.group(`Creating temp docker context (TLS data loaded in default one)`,(()=>P(void 0,void 0,void 0,(function*(){yield J.Docker.getExecOutput(["context","create",i],{ignoreReturnCode:true}).then((A=>{var I,B,Q;if(A.stderr.length>0&&A.exitCode!=0){G.warning(`Cannot create docker context ${i}: ${(Q=(B=(I=A.stderr.match(/(.*)\s*$/))===null||I===void 0?void 0:I[0])===null||B===void 0?void 0:B.trim())!==null&&Q!==void 0?Q:"unknown error"}`)}else{G.info(`Setting builder endpoint to ${i} context`);u.endpoint=i;Ae.setTmpDockerContext(i)}}))}))))}}if(u.driver!=="docker"){yield G.group(`Creating a new builder instance`,(()=>P(void 0,void 0,void 0,(function*(){const i=W.Buildx.resolveCertsDriverOpts(u.driver,u.endpoint,{cacert:process.env[`${he.builderNodeEnvPrefix}_0_AUTH_TLS_CACERT`],cert:process.env[`${he.builderNodeEnvPrefix}_0_AUTH_TLS_CERT`],key:process.env[`${he.builderNodeEnvPrefix}_0_AUTH_TLS_KEY`]});if(i.length>0){u.driverOpts=[...u.driverOpts,...i]}const I=yield A.buildx.getCommand(yield he.getCreateArgs(u,A));yield $.Exec.getExecOutput(I.command,I.args,{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){throw new Error((I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error")}}))}))))}if(u.append){yield G.group(`Appending node(s) to builder`,(()=>P(void 0,void 0,void 0,(function*(){let i=1;const I=U.load(u.append);for(const B of I){const I=W.Buildx.resolveCertsDriverOpts(u.driver,`${B.endpoint}`,{cacert:process.env[`${he.builderNodeEnvPrefix}_${i}_AUTH_TLS_CACERT`],cert:process.env[`${he.builderNodeEnvPrefix}_${i}_AUTH_TLS_CERT`],key:process.env[`${he.builderNodeEnvPrefix}_${i}_AUTH_TLS_KEY`]});if(I.length>0){B["driver-opts"]=[...B["driver-opts"]||[],...I]}const Q=yield A.buildx.getCommand(yield he.getAppendArgs(u,B,A));yield $.Exec.getExecOutput(Q.command,Q.args,{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){throw new Error(`Failed to append node ${B.name}: ${(I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error"}`)}}));i++}}))))}yield G.group(`Booting builder`,(()=>P(void 0,void 0,void 0,(function*(){const i=yield A.buildx.getCommand(yield he.getInspectArgs(u,A));yield $.Exec.getExecOutput(i.command,i.args,{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){throw new Error((I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error")}}))}))));if(u.install){if(I){throw new Error(`Cannot set buildx as default builder without the Docker CLI`)}yield G.group(`Setting buildx as default builder`,(()=>P(void 0,void 0,void 0,(function*(){const i=yield A.buildx.getCommand(["install"]);yield $.Exec.getExecOutput(i.command,i.args,{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){throw new Error((I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error")}}))}))))}const Q=yield A.builder.inspect(u.name);const z=Q.nodes[0];yield G.group(`Inspect builder`,(()=>P(void 0,void 0,void 0,(function*(){var i;const u=[];for(const A of Q.nodes){for(const I of((i=A.platforms)===null||i===void 0?void 0:i.split(","))||[]){if(u.indexOf(I)>-1){continue}u.push(I)}}G.info(JSON.stringify(Q,undefined,2));G.setOutput("driver",Q.driver);G.setOutput("platforms",u.join(","));G.setOutput("nodes",JSON.stringify(Q.nodes,undefined,2));G.setOutput("endpoint",z.endpoint);G.setOutput("status",z.status);G.setOutput("flags",z["buildkitd-flags"])}))));if(!I&&Q.driver=="docker-container"){Ae.setContainerName(`${W.Buildx.containerNamePrefix}${z.name}`);yield G.group(`BuildKit version`,(()=>P(void 0,void 0,void 0,(function*(){for(const i of Q.nodes){const u=yield A.buildkit.getVersion(i);G.info(`${i.name}: ${u}`)}}))))}if(G.isDebug()||((i=z["buildkitd-flags"])===null||i===void 0?void 0:i.includes("--debug"))){Ae.setDebug("true")}}))),(()=>P(void 0,void 0,void 0,(function*(){if(Ae.IsDebug&&Ae.containerName.length>0){yield G.group(`BuildKit container logs`,(()=>P(void 0,void 0,void 0,(function*(){yield J.Docker.getExecOutput(["logs",`${Ae.containerName}`],{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){G.warning((I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error")}}))}))))}if(!Ae.cleanup){return}if(Ae.builderDriver!="docker"&&Ae.builderName.length>0){yield G.group(`Removing builder`,(()=>P(void 0,void 0,void 0,(function*(){const i=new W.Buildx({standalone:Ae.standalone});const u=new Y.Builder({buildx:i});if(yield u.exists(Ae.builderName)){const u=yield i.getCommand(["rm",Ae.builderName]);yield $.Exec.getExecOutput(u.command,u.args,{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){G.warning((I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error")}}))}else{G.info(`${Ae.builderName} does not exist`)}}))))}if(Ae.tmpDockerContext){yield G.group(`Removing temp docker context`,(()=>P(void 0,void 0,void 0,(function*(){yield $.Exec.getExecOutput("docker",["context","rm","-f",Ae.tmpDockerContext],{ignoreReturnCode:true}).then((i=>{var u,A,I;if(i.stderr.length>0&&i.exitCode!=0){G.warning(`${(I=(A=(u=i.stderr.match(/(.*)\s*$/))===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.trim())!==null&&I!==void 0?I:"unknown error"}`)}}))}))))}if(Ae.certsDir.length>0&&L.existsSync(Ae.certsDir)){yield G.group(`Cleaning up certificates`,(()=>P(void 0,void 0,void 0,(function*(){L.rmSync(Ae.certsDir,{recursive:true})}))))}}))))},87155:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Q{"use strict";i.exports=require("assert")},20181:i=>{"use strict";i.exports=require("buffer")},35317:i=>{"use strict";i.exports=require("child_process")},49140:i=>{"use strict";i.exports=require("constants")},76982:i=>{"use strict";i.exports=require("crypto")},49869:i=>{"use strict";i.exports=require("dns")},24434:i=>{"use strict";i.exports=require("events")},79896:i=>{"use strict";i.exports=require("fs")},91943:i=>{"use strict";i.exports=require("fs/promises")},58611:i=>{"use strict";i.exports=require("http")},85675:i=>{"use strict";i.exports=require("http2")},65692:i=>{"use strict";i.exports=require("https")},69278:i=>{"use strict";i.exports=require("net")},34589:i=>{"use strict";i.exports=require("node:assert")},16698:i=>{"use strict";i.exports=require("node:async_hooks")},4573:i=>{"use strict";i.exports=require("node:buffer")},37540:i=>{"use strict";i.exports=require("node:console")},77598:i=>{"use strict";i.exports=require("node:crypto")},53053:i=>{"use strict";i.exports=require("node:diagnostics_channel")},40610:i=>{"use strict";i.exports=require("node:dns")},78474:i=>{"use strict";i.exports=require("node:events")},73024:i=>{"use strict";i.exports=require("node:fs")},51455:i=>{"use strict";i.exports=require("node:fs/promises")},37067:i=>{"use strict";i.exports=require("node:http")},32467:i=>{"use strict";i.exports=require("node:http2")},44708:i=>{"use strict";i.exports=require("node:https")},77030:i=>{"use strict";i.exports=require("node:net")},48161:i=>{"use strict";i.exports=require("node:os")},76760:i=>{"use strict";i.exports=require("node:path")},643:i=>{"use strict";i.exports=require("node:perf_hooks")},1708:i=>{"use strict";i.exports=require("node:process")},41792:i=>{"use strict";i.exports=require("node:querystring")},57075:i=>{"use strict";i.exports=require("node:stream")},68574:i=>{"use strict";i.exports=require("node:string_decoder")},41692:i=>{"use strict";i.exports=require("node:tls")},73136:i=>{"use strict";i.exports=require("node:url")},57975:i=>{"use strict";i.exports=require("node:util")},73429:i=>{"use strict";i.exports=require("node:util/types")},75919:i=>{"use strict";i.exports=require("node:worker_threads")},38522:i=>{"use strict";i.exports=require("node:zlib")},70857:i=>{"use strict";i.exports=require("os")},16928:i=>{"use strict";i.exports=require("path")},2203:i=>{"use strict";i.exports=require("stream")},13193:i=>{"use strict";i.exports=require("string_decoder")},53557:i=>{"use strict";i.exports=require("timers")},16460:i=>{"use strict";i.exports=require("timers/promises")},64756:i=>{"use strict";i.exports=require("tls")},52018:i=>{"use strict";i.exports=require("tty")},87016:i=>{"use strict";i.exports=require("url")},39023:i=>{"use strict";i.exports=require("util")},43106:i=>{"use strict";i.exports=require("zlib")},59192:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.AbortError=void 0;class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}u.AbortError=AbortError},83134:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.AbortError=void 0;var I=A(59192);Object.defineProperty(u,"AbortError",{enumerable:true,get:function(){return I.AbortError}})},50198:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.AzureKeyCredential=void 0;class AzureKeyCredential{_key;get key(){return this._key}constructor(i){if(!i){throw new Error("key must be a non-empty string")}this._key=i}update(i){this._key=i}}u.AzureKeyCredential=AzureKeyCredential},41295:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.AzureNamedKeyCredential=void 0;u.isNamedKeyCredential=isNamedKeyCredential;const I=A(87779);class AzureNamedKeyCredential{_key;_name;get key(){return this._key}get name(){return this._name}constructor(i,u){if(!i||!u){throw new TypeError("name and key must be non-empty strings")}this._name=i;this._key=u}update(i,u){if(!i||!u){throw new TypeError("newName and newKey must be non-empty strings")}this._name=i;this._key=u}}u.AzureNamedKeyCredential=AzureNamedKeyCredential;function isNamedKeyCredential(i){return(0,I.isObjectWithProperties)(i,["name","key"])&&typeof i.key==="string"&&typeof i.name==="string"}},56608:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.AzureSASCredential=void 0;u.isSASCredential=isSASCredential;const I=A(87779);class AzureSASCredential{_signature;get signature(){return this._signature}constructor(i){if(!i){throw new Error("shared access signature must be a non-empty string")}this._signature=i}update(i){if(!i){throw new Error("shared access signature must be a non-empty string")}this._signature=i}}u.AzureSASCredential=AzureSASCredential;function isSASCredential(i){return(0,I.isObjectWithProperties)(i,["signature"])&&typeof i.signature==="string"}},50417:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isTokenCredential=u.isSASCredential=u.AzureSASCredential=u.isNamedKeyCredential=u.AzureNamedKeyCredential=u.isKeyCredential=u.AzureKeyCredential=void 0;var I=A(50198);Object.defineProperty(u,"AzureKeyCredential",{enumerable:true,get:function(){return I.AzureKeyCredential}});var B=A(99155);Object.defineProperty(u,"isKeyCredential",{enumerable:true,get:function(){return B.isKeyCredential}});var Q=A(41295);Object.defineProperty(u,"AzureNamedKeyCredential",{enumerable:true,get:function(){return Q.AzureNamedKeyCredential}});Object.defineProperty(u,"isNamedKeyCredential",{enumerable:true,get:function(){return Q.isNamedKeyCredential}});var P=A(56608);Object.defineProperty(u,"AzureSASCredential",{enumerable:true,get:function(){return P.AzureSASCredential}});Object.defineProperty(u,"isSASCredential",{enumerable:true,get:function(){return P.isSASCredential}});var D=A(86881);Object.defineProperty(u,"isTokenCredential",{enumerable:true,get:function(){return D.isTokenCredential}})},99155:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isKeyCredential=isKeyCredential;const I=A(87779);function isKeyCredential(i){return(0,I.isObjectWithProperties)(i,["key"])&&typeof i.key==="string"}},86881:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isBearerToken=isBearerToken;u.isPopToken=isPopToken;u.isTokenCredential=isTokenCredential;function isBearerToken(i){return!i.tokenType||i.tokenType==="Bearer"}function isPopToken(i){return i.tokenType==="pop"}function isTokenCredential(i){const u=i;return u&&typeof u.getToken==="function"&&(u.signRequest===undefined||u.getToken.length>0)}},17698:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.parseCAEChallenge=parseCAEChallenge;u.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge;const I=A(89994);const B=A(20741);function parseCAEChallenge(i){const u=`, ${i.trim()}`.split(", Bearer ").filter((i=>i));return u.map((i=>{const u=`${i.trim()}, `.split('", ').filter((i=>i));const A=u.map((i=>(([i,u])=>({[i]:u}))(i.trim().split('="'))));return A.reduce(((i,u)=>({...i,...u})),{})}))}async function authorizeRequestOnClaimChallenge(i){const{scopes:u,response:A}=i;const Q=i.logger||I.logger;const P=A.headers.get("WWW-Authenticate");if(!P){Q.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const D=parseCAEChallenge(P)||[];const L=D.find((i=>i.claims));if(!L){Q.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const U=await i.getAccessToken(L.scope?[L.scope]:u,{claims:(0,B.decodeStringToString)(L.claims)});if(!U){return false}i.request.headers.set("Authorization",`${U.tokenType??"Bearer"} ${U.token}`);return true}},97454:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.authorizeRequestOnTenantChallenge=void 0;const A={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(i){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(i)}const authorizeRequestOnTenantChallenge=async i=>{const u=requestToOptions(i.request);const I=getChallenge(i.response);if(I){const B=parseChallenge(I);const Q=buildScopes(i,B);const P=extractTenantId(B);if(!P){return false}const D=await i.getAccessToken(Q,{...u,tenantId:P});if(!D){return false}i.request.headers.set(A.HeaderConstants.AUTHORIZATION,`${D.tokenType??"Bearer"} ${D.token}`);return true}return false};u.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(i){const u=new URL(i.authorization_uri);const A=u.pathname.split("/");const I=A[1];if(I&&isUuid(I)){return I}return undefined}function buildScopes(i,u){if(!u.resource_id){return i.scopes}const I=new URL(u.resource_id);let B=new URL(A.DefaultScope,I.origin).toString();if(B==="https://disk.azure.com/.default"){B="https://disk.azure.com//.default"}return[B]}function getChallenge(i){const u=i.headers.get("WWW-Authenticate");if(i.status===401&&u){return u}return}function parseChallenge(i){const u=i.slice("Bearer ".length);const A=`${u.trim()} `.split(" ").filter((i=>i));const I=A.map((i=>(([i,u])=>({[i]:u}))(i.trim().split("="))));return I.reduce(((i,u)=>({...i,...u})),{})}function requestToOptions(i){return{abortSignal:i.abortSignal,requestOptions:{timeout:i.timeout},tracingOptions:i.tracingOptions}}},20741:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.encodeString=encodeString;u.encodeByteArray=encodeByteArray;u.decodeString=decodeString;u.decodeStringToString=decodeStringToString;const I=A(87779);function encodeString(i){return(0,I.uint8ArrayToString)((0,I.stringToUint8Array)(i,"utf-8"),"base64")}function encodeByteArray(i){return(0,I.uint8ArrayToString)(i,"base64")}function decodeString(i){return(0,I.stringToUint8Array)(i,"base64")}function decodeStringToString(i){return(0,I.uint8ArrayToString)((0,I.stringToUint8Array)(i,"base64"),"utf-8")}},90111:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.deserializationPolicyName=void 0;u.deserializationPolicy=deserializationPolicy;const I=A(56058);const B=A(20778);const Q=A(31530);const P=A(19688);const D=["application/json","text/json"];const L=["application/xml","application/atom+xml"];u.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(i={}){const A=i.expectedContentTypes?.json??D;const B=i.expectedContentTypes?.xml??L;const Q=i.parseXML;const P=i.serializerOptions;const U={xml:{rootName:P?.xml.rootName??"",includeRoot:P?.xml.includeRoot??false,xmlCharKey:P?.xml.xmlCharKey??I.XML_CHARKEY}};return{name:u.deserializationPolicyName,async sendRequest(i,u){const I=await u(i);return deserializeResponseBody(A,B,I,U,Q)}}}function getOperationResponseMap(i){let u;const A=i.request;const I=(0,P.getOperationRequestInfo)(A);const B=I?.operationSpec;if(B){if(!I?.operationResponseGetter){u=B.responses[i.status]}else{u=I?.operationResponseGetter(B,i)}}return u}function shouldDeserializeResponse(i){const u=i.request;const A=(0,P.getOperationRequestInfo)(u);const I=A?.shouldDeserialize;let B;if(I===undefined){B=true}else if(typeof I==="boolean"){B=I}else{B=I(i)}return B}async function deserializeResponseBody(i,u,A,I,D){const L=await parse(i,u,A,I,D);if(!shouldDeserializeResponse(L)){return L}const U=(0,P.getOperationRequestInfo)(L.request);const G=U?.operationSpec;if(!G||!G.responses){return L}const z=getOperationResponseMap(L);const{error:W,shouldReturnResponse:Y}=handleErrorResponse(L,G,z,I);if(W){throw W}else if(Y){return L}if(z){if(z.bodyMapper){let i=L.parsedBody;if(G.isXML&&z.bodyMapper.type.name===Q.MapperTypeNames.Sequence){i=typeof i==="object"?i[z.bodyMapper.xmlElementName]:[]}try{L.parsedBody=G.serializer.deserialize(z.bodyMapper,i,"operationRes.parsedBody",I)}catch(i){const u=new B.RestError(`Error ${i} occurred in deserializing the responseBody - ${L.bodyAsText}`,{statusCode:L.status,request:L.request,response:L});throw u}}else if(G.httpMethod==="HEAD"){L.parsedBody=A.status>=200&&A.status<300}if(z.headersMapper){L.parsedHeaders=G.serializer.deserialize(z.headersMapper,L.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return L}function isOperationSpecEmpty(i){const u=Object.keys(i.responses);return u.length===0||u.length===1&&u[0]==="default"}function handleErrorResponse(i,u,A,I){const P=200<=i.status&&i.status<300;const D=isOperationSpecEmpty(u)?P:!!A;if(D){if(A){if(!A.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const L=A??u.responses.default;const U=i.request.streamResponseStatusCodes?.has(i.status)?`Unexpected status code: ${i.status}`:i.bodyAsText;const G=new B.RestError(U,{statusCode:i.status,request:i.request,response:i});if(!L&&!(i.parsedBody?.error?.code&&i.parsedBody?.error?.message)){throw G}const z=L?.bodyMapper;const W=L?.headersMapper;try{if(i.parsedBody){const A=i.parsedBody;let B;if(z){let i=A;if(u.isXML&&z.type.name===Q.MapperTypeNames.Sequence){i=[];const u=z.xmlElementName;if(typeof A==="object"&&u){i=A[u]}}B=u.serializer.deserialize(z,i,"error.response.parsedBody",I)}const P=A.error||B||A;G.code=P.code;if(P.message){G.message=P.message}if(z){G.response.parsedBody=B}}if(i.headers&&W){G.response.parsedHeaders=u.serializer.deserialize(W,i.headers.toJSON(),"operationRes.parsedHeaders")}}catch(u){G.message=`Error "${u.message}" occurred in deserializing the responseBody - "${i.bodyAsText}" for the default response.`}return{error:G,shouldReturnResponse:false}}async function parse(i,u,A,I,Q){if(!A.request.streamResponseStatusCodes?.has(A.status)&&A.bodyAsText){const P=A.bodyAsText;const D=A.headers.get("Content-Type")||"";const L=!D?[]:D.split(";").map((i=>i.toLowerCase()));try{if(L.length===0||L.some((u=>i.indexOf(u)!==-1))){A.parsedBody=JSON.parse(P);return A}else if(L.some((i=>u.indexOf(i)!==-1))){if(!Q){throw new Error("Parsing XML not supported.")}const i=await Q(P,I.xml);A.parsedBody=i;return A}}catch(i){const u=`Error "${i}" occurred while parsing the response body - ${A.bodyAsText}.`;const I=i.code||B.RestError.PARSE_ERROR;const Q=new B.RestError(u,{code:I,statusCode:A.status,request:A.request,response:A});throw Q}}return A}},26323:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const I=A(20778);let B;function getCachedDefaultHttpClient(){if(!B){B=(0,I.createDefaultHttpClient)()}return B}},60160:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.authorizeRequestOnTenantChallenge=u.authorizeRequestOnClaimChallenge=u.serializationPolicyName=u.serializationPolicy=u.deserializationPolicyName=u.deserializationPolicy=u.XML_CHARKEY=u.XML_ATTRKEY=u.createClientPipeline=u.ServiceClient=u.MapperTypeNames=u.createSerializer=void 0;var I=A(31530);Object.defineProperty(u,"createSerializer",{enumerable:true,get:function(){return I.createSerializer}});Object.defineProperty(u,"MapperTypeNames",{enumerable:true,get:function(){return I.MapperTypeNames}});var B=A(89544);Object.defineProperty(u,"ServiceClient",{enumerable:true,get:function(){return B.ServiceClient}});var Q=A(74136);Object.defineProperty(u,"createClientPipeline",{enumerable:true,get:function(){return Q.createClientPipeline}});var P=A(56058);Object.defineProperty(u,"XML_ATTRKEY",{enumerable:true,get:function(){return P.XML_ATTRKEY}});Object.defineProperty(u,"XML_CHARKEY",{enumerable:true,get:function(){return P.XML_CHARKEY}});var D=A(90111);Object.defineProperty(u,"deserializationPolicy",{enumerable:true,get:function(){return D.deserializationPolicy}});Object.defineProperty(u,"deserializationPolicyName",{enumerable:true,get:function(){return D.deserializationPolicyName}});var L=A(56234);Object.defineProperty(u,"serializationPolicy",{enumerable:true,get:function(){return L.serializationPolicy}});Object.defineProperty(u,"serializationPolicyName",{enumerable:true,get:function(){return L.serializationPolicyName}});var U=A(17698);Object.defineProperty(u,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return U.authorizeRequestOnClaimChallenge}});var G=A(97454);Object.defineProperty(u,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return G.authorizeRequestOnTenantChallenge}})},92066:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;u.getPathStringFromParameter=getPathStringFromParameter;const I=A(31530);function getStreamingResponseStatusCodes(i){const u=new Set;for(const[A,B]of Object.entries(i.responses)){if(B.bodyMapper&&B.bodyMapper.type.name===I.MapperTypeNames.Stream){u.add(Number(A))}}return u}function getPathStringFromParameter(i){const{parameterPath:u,mapper:A}=i;let I;if(typeof u==="string"){I=u}else if(Array.isArray(u)){I=u.join(".")}else{I=A.serializedName}return I}},56058:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.XML_CHARKEY=u.XML_ATTRKEY=void 0;u.XML_ATTRKEY="$";u.XML_CHARKEY="_"},89994:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.logger=void 0;const I=A(26515);u.logger=(0,I.createClientLogger)("core-client")},19688:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;u.getOperationRequestInfo=getOperationRequestInfo;const I=A(70030);function getOperationArgumentValueFromParameter(i,u,A){let I=u.parameterPath;const B=u.mapper;let Q;if(typeof I==="string"){I=[I]}if(Array.isArray(I)){if(I.length>0){if(B.isConstant){Q=B.defaultValue}else{let u=getPropertyFromParameterPath(i,I);if(!u.propertyFound&&A){u=getPropertyFromParameterPath(A,I)}let P=false;if(!u.propertyFound){P=B.required||I[0]==="options"&&I.length===2}Q=P?B.defaultValue:u.propertyValue}}}else{if(B.required){Q={}}for(const[u,P]of Object.entries(I)){const I=B.type.modelProperties[u];const D=getOperationArgumentValueFromParameter(i,{parameterPath:P,mapper:I},A);if(D!==undefined){if(!Q){Q={}}Object.defineProperty(Q,u,{value:D,enumerable:true,configurable:true,writable:true})}}}return Q}function getPropertyFromParameterPath(i,u){const A={propertyFound:false};let I=0;for(;I{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.createClientPipeline=createClientPipeline;const I=A(90111);const B=A(20778);const Q=A(56234);function createClientPipeline(i={}){const u=(0,B.createPipelineFromOptions)(i??{});if(i.credentialOptions){u.addPolicy((0,B.bearerTokenAuthenticationPolicy)({credential:i.credentialOptions.credential,scopes:i.credentialOptions.credentialScopes}))}u.addPolicy((0,Q.serializationPolicy)(i.serializationOptions),{phase:"Serialize"});u.addPolicy((0,I.deserializationPolicy)(i.deserializationOptions),{phase:"Deserialize"});return u}},56234:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.serializationPolicyName=void 0;u.serializationPolicy=serializationPolicy;u.serializeHeaders=serializeHeaders;u.serializeRequestBody=serializeRequestBody;const I=A(56058);const B=A(19688);const Q=A(31530);const P=A(92066);u.serializationPolicyName="serializationPolicy";function serializationPolicy(i={}){const A=i.stringifyXML;return{name:u.serializationPolicyName,sendRequest(i,u){const I=(0,B.getOperationRequestInfo)(i);const Q=I?.operationSpec;const P=I?.operationArguments;if(Q&&P){serializeHeaders(i,P,Q);serializeRequestBody(i,P,Q,A)}return u(i)}}}function serializeHeaders(i,u,A){if(A.headerParameters){for(const I of A.headerParameters){let Q=(0,B.getOperationArgumentValueFromParameter)(u,I);if(Q!==null&&Q!==undefined||I.mapper.required){Q=A.serializer.serialize(I.mapper,Q,(0,P.getPathStringFromParameter)(I));const u=I.mapper.headerCollectionPrefix;if(u){for(const A of Object.keys(Q)){i.headers.set(u+A,Q[A])}}else{i.headers.set(I.mapper.serializedName||(0,P.getPathStringFromParameter)(I),Q)}}}}const I=u.options?.requestOptions?.customHeaders;if(I){for(const u of Object.keys(I)){i.headers.set(u,I[u])}}}function serializeRequestBody(i,u,A,D=function(){throw new Error("XML serialization unsupported!")}){const L=u.options?.serializerOptions;const U={xml:{rootName:L?.xml.rootName??"",includeRoot:L?.xml.includeRoot??false,xmlCharKey:L?.xml.xmlCharKey??I.XML_CHARKEY}};const G=U.xml.xmlCharKey;if(A.requestBody&&A.requestBody.mapper){i.body=(0,B.getOperationArgumentValueFromParameter)(u,A.requestBody);const I=A.requestBody.mapper;const{required:L,serializedName:z,xmlName:W,xmlElementName:Y,xmlNamespace:J,xmlNamespacePrefix:$,nullable:K}=I;const X=I.type.name;try{if(i.body!==undefined&&i.body!==null||K&&i.body===null||L){const u=(0,P.getPathStringFromParameter)(A.requestBody);i.body=A.serializer.serialize(I,i.body,u,U);const B=X===Q.MapperTypeNames.Stream;if(A.isXML){const u=$?`xmlns:${$}`:"xmlns";const A=getXmlValueWithNamespace(J,u,X,i.body,U);if(X===Q.MapperTypeNames.Sequence){i.body=D(prepareXMLRootList(A,Y||W||z,u,J),{rootName:W||z,xmlCharKey:G})}else if(!B){i.body=D(A,{rootName:W||z,xmlCharKey:G})}}else if(X===Q.MapperTypeNames.String&&(A.contentType?.match("text/plain")||A.mediaType==="text")){return}else if(!B){i.body=JSON.stringify(i.body)}}}catch(i){throw new Error(`Error "${i.message}" occurred in serializing the payload - ${JSON.stringify(z,undefined," ")}.`)}}else if(A.formDataParameters&&A.formDataParameters.length>0){i.formData={};for(const I of A.formDataParameters){const Q=(0,B.getOperationArgumentValueFromParameter)(u,I);if(Q!==undefined&&Q!==null){const u=I.mapper.serializedName||(0,P.getPathStringFromParameter)(I);i.formData[u]=A.serializer.serialize(I.mapper,Q,(0,P.getPathStringFromParameter)(I),U)}}}}function getXmlValueWithNamespace(i,u,A,B,Q){if(i&&!["Composite","Sequence","Dictionary"].includes(A)){const A={};A[Q.xml.xmlCharKey]=B;A[I.XML_ATTRKEY]={[u]:i};return A}return B}function prepareXMLRootList(i,u,A,B){if(!Array.isArray(i)){i=[i]}if(!A||!B){return{[u]:i}}const Q={[u]:i};Q[I.XML_ATTRKEY]={[A]:B};return Q}},31530:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MapperTypeNames=void 0;u.createSerializer=createSerializer;const I=A(61860);const B=I.__importStar(A(20741));const Q=A(56058);const P=A(31193);class SerializerImpl{modelMappers;isXML;constructor(i={},u=false){this.modelMappers=i;this.isXML=u}validateConstraints(i,u,A){const failValidation=(i,I)=>{throw new Error(`"${A}" with value "${u}" should satisfy the constraint "${i}": ${I}.`)};if(i.constraints&&u!==undefined&&u!==null){const{ExclusiveMaximum:A,ExclusiveMinimum:I,InclusiveMaximum:B,InclusiveMinimum:Q,MaxItems:P,MaxLength:D,MinItems:L,MinLength:U,MultipleOf:G,Pattern:z,UniqueItems:W}=i.constraints;if(A!==undefined&&u>=A){failValidation("ExclusiveMaximum",A)}if(I!==undefined&&u<=I){failValidation("ExclusiveMinimum",I)}if(B!==undefined&&u>B){failValidation("InclusiveMaximum",B)}if(Q!==undefined&&uP){failValidation("MaxItems",P)}if(D!==undefined&&u.length>D){failValidation("MaxLength",D)}if(L!==undefined&&u.lengthA.indexOf(i)!==u))){failValidation("UniqueItems",W)}}}serialize(i,u,A,I={xml:{}}){const B={xml:{rootName:I.xml.rootName??"",includeRoot:I.xml.includeRoot??false,xmlCharKey:I.xml.xmlCharKey??Q.XML_CHARKEY}};let P={};const D=i.type.name;if(!A){A=i.serializedName}if(D.match(/^Sequence$/i)!==null){P=[]}if(i.isConstant){u=i.defaultValue}const{required:L,nullable:U}=i;if(L&&U&&u===undefined){throw new Error(`${A} cannot be undefined.`)}if(L&&!U&&(u===undefined||u===null)){throw new Error(`${A} cannot be null or undefined.`)}if(!L&&U===false&&u===null){throw new Error(`${A} cannot be null.`)}if(u===undefined||u===null){P=u}else{if(D.match(/^any$/i)!==null){P=u}else if(D.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){P=serializeBasicTypes(D,A,u)}else if(D.match(/^Enum$/i)!==null){const I=i;P=serializeEnumType(A,I.type.allowedValues,u)}else if(D.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){P=serializeDateTypes(D,u,A)}else if(D.match(/^ByteArray$/i)!==null){P=serializeByteArrayType(A,u)}else if(D.match(/^Base64Url$/i)!==null){P=serializeBase64UrlType(A,u)}else if(D.match(/^Sequence$/i)!==null){P=serializeSequenceType(this,i,u,A,Boolean(this.isXML),B)}else if(D.match(/^Dictionary$/i)!==null){P=serializeDictionaryType(this,i,u,A,Boolean(this.isXML),B)}else if(D.match(/^Composite$/i)!==null){P=serializeCompositeType(this,i,u,A,Boolean(this.isXML),B)}}return P}deserialize(i,u,A,I={xml:{}}){const P={xml:{rootName:I.xml.rootName??"",includeRoot:I.xml.includeRoot??false,xmlCharKey:I.xml.xmlCharKey??Q.XML_CHARKEY},ignoreUnknownProperties:I.ignoreUnknownProperties??false};if(u===undefined||u===null){if(this.isXML&&i.type.name==="Sequence"&&!i.xmlIsWrapped){u=[]}if(i.defaultValue!==undefined){u=i.defaultValue}return u}let D;const L=i.type.name;if(!A){A=i.serializedName}if(L.match(/^Composite$/i)!==null){D=deserializeCompositeType(this,i,u,A,P)}else{if(this.isXML){const i=P.xml.xmlCharKey;if(u[Q.XML_ATTRKEY]!==undefined&&u[i]!==undefined){u=u[i]}}if(L.match(/^Number$/i)!==null){D=parseFloat(u);if(isNaN(D)){D=u}}else if(L.match(/^Boolean$/i)!==null){if(u==="true"){D=true}else if(u==="false"){D=false}else{D=u}}else if(L.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){D=u}else if(L.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){D=new Date(u)}else if(L.match(/^UnixTime$/i)!==null){D=unixTimeToDate(u)}else if(L.match(/^ByteArray$/i)!==null){D=B.decodeString(u)}else if(L.match(/^Base64Url$/i)!==null){D=base64UrlToByteArray(u)}else if(L.match(/^Sequence$/i)!==null){D=deserializeSequenceType(this,i,u,A,P)}else if(L.match(/^Dictionary$/i)!==null){D=deserializeDictionaryType(this,i,u,A,P)}}if(i.isConstant){D=i.defaultValue}return D}}function createSerializer(i={},u=false){return new SerializerImpl(i,u)}function trimEnd(i,u){let A=i.length;while(A-1>=0&&i[A-1]===u){--A}return i.substr(0,A)}function bufferToBase64Url(i){if(!i){return undefined}if(!(i instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const u=B.encodeByteArray(i);return trimEnd(u,"=").replace(/\+/g,"-").replace(/\//g,"_")}function base64UrlToByteArray(i){if(!i){return undefined}if(i&&typeof i.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}i=i.replace(/-/g,"+").replace(/_/g,"/");return B.decodeString(i)}function splitSerializeName(i){const u=[];let A="";if(i){const I=i.split(".");for(const i of I){if(i.charAt(i.length-1)==="\\"){A+=i.substr(0,i.length-1)+"."}else{A+=i;u.push(A);A=""}}}return u}function dateToUnixTime(i){if(!i){return undefined}if(typeof i.valueOf()==="string"){i=new Date(i)}return Math.floor(i.getTime()/1e3)}function unixTimeToDate(i){if(!i){return undefined}return new Date(i*1e3)}function serializeBasicTypes(i,u,A){if(A!==null&&A!==undefined){if(i.match(/^Number$/i)!==null){if(typeof A!=="number"){throw new Error(`${u} with value ${A} must be of type number.`)}}else if(i.match(/^String$/i)!==null){if(typeof A.valueOf()!=="string"){throw new Error(`${u} with value "${A}" must be of type string.`)}}else if(i.match(/^Uuid$/i)!==null){if(!(typeof A.valueOf()==="string"&&(0,P.isValidUuid)(A))){throw new Error(`${u} with value "${A}" must be of type string and a valid uuid.`)}}else if(i.match(/^Boolean$/i)!==null){if(typeof A!=="boolean"){throw new Error(`${u} with value ${A} must be of type boolean.`)}}else if(i.match(/^Stream$/i)!==null){const i=typeof A;if(i!=="string"&&typeof A.pipe!=="function"&&typeof A.tee!=="function"&&!(A instanceof ArrayBuffer)&&!ArrayBuffer.isView(A)&&!((typeof Blob==="function"||typeof Blob==="object")&&A instanceof Blob)&&i!=="function"){throw new Error(`${u} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return A}function serializeEnumType(i,u,A){if(!u){throw new Error(`Please provide a set of allowedValues to validate ${i} as an Enum Type.`)}const I=u.some((i=>{if(typeof i.valueOf()==="string"){return i.toLowerCase()===A.toLowerCase()}return i===A}));if(!I){throw new Error(`${A} is not a valid value for ${i}. The valid values are: ${JSON.stringify(u)}.`)}return A}function serializeByteArrayType(i,u){if(u!==undefined&&u!==null){if(!(u instanceof Uint8Array)){throw new Error(`${i} must be of type Uint8Array.`)}u=B.encodeByteArray(u)}return u}function serializeBase64UrlType(i,u){if(u!==undefined&&u!==null){if(!(u instanceof Uint8Array)){throw new Error(`${i} must be of type Uint8Array.`)}u=bufferToBase64Url(u)}return u}function serializeDateTypes(i,u,A){if(u!==undefined&&u!==null){if(i.match(/^Date$/i)!==null){if(!(u instanceof Date||typeof u.valueOf()==="string"&&!isNaN(Date.parse(u)))){throw new Error(`${A} must be an instanceof Date or a string in ISO8601 format.`)}u=u instanceof Date?u.toISOString().substring(0,10):new Date(u).toISOString().substring(0,10)}else if(i.match(/^DateTime$/i)!==null){if(!(u instanceof Date||typeof u.valueOf()==="string"&&!isNaN(Date.parse(u)))){throw new Error(`${A} must be an instanceof Date or a string in ISO8601 format.`)}u=u instanceof Date?u.toISOString():new Date(u).toISOString()}else if(i.match(/^DateTimeRfc1123$/i)!==null){if(!(u instanceof Date||typeof u.valueOf()==="string"&&!isNaN(Date.parse(u)))){throw new Error(`${A} must be an instanceof Date or a string in RFC-1123 format.`)}u=u instanceof Date?u.toUTCString():new Date(u).toUTCString()}else if(i.match(/^UnixTime$/i)!==null){if(!(u instanceof Date||typeof u.valueOf()==="string"&&!isNaN(Date.parse(u)))){throw new Error(`${A} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}u=dateToUnixTime(u)}else if(i.match(/^TimeSpan$/i)!==null){if(!(0,P.isDuration)(u)){throw new Error(`${A} must be a string in ISO 8601 format. Instead was "${u}".`)}}}return u}function serializeSequenceType(i,u,A,I,B,P){if(!Array.isArray(A)){throw new Error(`${I} must be of type Array.`)}let D=u.type.element;if(!D||typeof D!=="object"){throw new Error(`"element" metadata for an Array must be defined in the `+`mapper and it must be of type "object" in ${I}.`)}if(D.type.name==="Composite"&&D.type.className){D=i.modelMappers[D.type.className]??D}const L=[];for(let u=0;ui!==B));if(Q){Object.defineProperty(D,B,{value:i.serialize(U,A[B],I+'["'+B+'"]',P),enumerable:true,configurable:true,writable:true})}}}return D}return A}function getXmlObjectValue(i,u,A,I){if(!A||!i.xmlNamespace){return u}const B=i.xmlNamespacePrefix?`xmlns:${i.xmlNamespacePrefix}`:"xmlns";const P={[B]:i.xmlNamespace};if(["Composite"].includes(i.type.name)){if(u[Q.XML_ATTRKEY]){return u}else{const i={...u};i[Q.XML_ATTRKEY]=P;return i}}const D={};D[I.xml.xmlCharKey]=u;D[Q.XML_ATTRKEY]=P;return D}function isSpecialXmlProperty(i,u){return[Q.XML_ATTRKEY,u.xml.xmlCharKey].includes(i)}function deserializeCompositeType(i,u,A,I,B){const P=B.xml.xmlCharKey??Q.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(i,u)){u=getPolymorphicMapper(i,u,A,"serializedName")}const D=resolveModelProperties(i,u,I);let L={};const U=[];for(const G of Object.keys(D)){const z=D[G];const W=splitSerializeName(D[G].serializedName);U.push(W[0]);const{serializedName:Y,xmlName:J,xmlElementName:$}=z;let K=I;if(Y!==""&&Y!==undefined){K=I+"."+Y}const X=z.headerCollectionPrefix;if(X){const u={};for(const I of Object.keys(A)){if(I.startsWith(X)){u[I.substring(X.length)]=i.deserialize(z.type.value,A[I],K,B)}U.push(I)}L[G]=u}else if(i.isXML){if(z.xmlIsAttribute&&A[Q.XML_ATTRKEY]){L[G]=i.deserialize(z,A[Q.XML_ATTRKEY][J],K,B)}else if(z.xmlIsMsText){if(A[P]!==undefined){L[G]=A[P]}else if(typeof A==="string"){L[G]=A}}else{const u=$||J||Y;if(z.xmlIsWrapped){const u=A[J];const I=u?.[$]??[];Object.defineProperty(L,G,{value:i.deserialize(z,I,K,B),enumerable:true,configurable:true,writable:true});U.push(J)}else{const I=A[u];L[G]=i.deserialize(z,I,K,B);U.push(u)}}}else{let I;let Q=A;let P=0;for(const i of W){if(!Q)break;P++;Q=Q[i]}if(Q===null&&P{for(const u of Object.keys(D)){const A=splitSerializeName(D[u].serializedName);if(A[0]===i){return false}}return true};for(const u of Object.keys(A)){if(isAdditionalProperty(u)){const Q=i.deserialize(G,A[u],I+'["'+u+'"]',B);Object.defineProperty(L,u,{value:Q,enumerable:true,configurable:true,writable:true})}}}else if(A&&!B.ignoreUnknownProperties){for(const i of Object.keys(A)){if(L[i]===undefined&&!U.includes(i)&&!isSpecialXmlProperty(i,B)){Object.defineProperty(L,i,{value:A[i],enumerable:true,configurable:true,writable:true})}}}return L}function deserializeDictionaryType(i,u,A,I,B){const Q=u.type.value;if(!Q||typeof Q!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${I}`)}if(A){const u={};for(const P of Object.keys(A)){u[P]=i.deserialize(Q,A[P],I,B)}return u}return A}function deserializeSequenceType(i,u,A,I,B){let Q=u.type.element;if(!Q||typeof Q!=="object"){throw new Error(`"element" metadata for an Array must be defined in the `+`mapper and it must be of type "object" in ${I}`)}if(A){if(!Array.isArray(A)){A=[A]}if(Q.type.name==="Composite"&&Q.type.className){Q=i.modelMappers[Q.type.className]??Q}const u=[];for(let P=0;P{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.ServiceClient=void 0;const I=A(20778);const B=A(74136);const Q=A(31193);const P=A(26323);const D=A(19688);const L=A(61752);const U=A(92066);const G=A(89994);class ServiceClient{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(i={}){this._requestContentType=i.requestContentType;this._endpoint=i.endpoint??i.baseUri;if(i.baseUri){G.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=i.allowInsecureConnection;this._httpClient=i.httpClient||(0,P.getCachedDefaultHttpClient)();this.pipeline=i.pipeline||createDefaultPipeline(i);if(i.additionalPolicies?.length){for(const{policy:u,position:A}of i.additionalPolicies){const i=A==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(u,{afterPhase:i})}}}sendRequest(i){return this.pipeline.sendRequest(this._httpClient,i)}async sendOperationRequest(i,u){const A=u.baseUrl||this._endpoint;if(!A){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 B=(0,L.getRequestUrl)(A,u,i,this);const P=(0,I.createPipelineRequest)({url:B});P.method=u.httpMethod;const G=(0,D.getOperationRequestInfo)(P);G.operationSpec=u;G.operationArguments=i;const z=u.contentType||this._requestContentType;if(z&&u.requestBody){P.headers.set("Content-Type",z)}const W=i.options;if(W){const i=W.requestOptions;if(i){if(i.timeout){P.timeout=i.timeout}if(i.onUploadProgress){P.onUploadProgress=i.onUploadProgress}if(i.onDownloadProgress){P.onDownloadProgress=i.onDownloadProgress}if(i.shouldDeserialize!==undefined){G.shouldDeserialize=i.shouldDeserialize}if(i.allowInsecureConnection){P.allowInsecureConnection=true}}if(W.abortSignal){P.abortSignal=W.abortSignal}if(W.tracingOptions){P.tracingOptions=W.tracingOptions}}if(this._allowInsecureConnection){P.allowInsecureConnection=true}if(P.streamResponseStatusCodes===undefined){P.streamResponseStatusCodes=(0,U.getStreamingResponseStatusCodes)(u)}try{const i=await this.sendRequest(P);const A=(0,Q.flattenResponse)(i,u.responses[i.status]);if(W?.onResponse){W.onResponse(i,A)}return A}catch(i){if(typeof i==="object"&&i?.response){const A=i.response;const I=(0,Q.flattenResponse)(A,u.responses[i.statusCode]||u.responses["default"]);i.details=I;if(W?.onResponse){W.onResponse(A,I,i)}}throw i}}}u.ServiceClient=ServiceClient;function createDefaultPipeline(i){const u=getCredentialScopes(i);const A=i.credential&&u?{credentialScopes:u,credential:i.credential}:undefined;return(0,B.createClientPipeline)({...i,credentialOptions:A})}function getCredentialScopes(i){if(i.credentialScopes){return i.credentialScopes}if(i.endpoint){return`${i.endpoint}/.default`}if(i.baseUri){return`${i.baseUri}/.default`}if(i.credential){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}},70030:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.state=void 0;u.state={operationRequestMap:new WeakMap}},61752:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getRequestUrl=getRequestUrl;u.appendQueryParams=appendQueryParams;const I=A(19688);const B=A(92066);const Q={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(i,u,A,I){const B=calculateUrlReplacements(u,A,I);let Q=false;let P=replaceAll(i,B);if(u.path){let i=replaceAll(u.path,B);if(u.path==="/{nextLink}"&&i.startsWith("/")){i=i.substring(1)}if(isAbsoluteUrl(i)){P=i;Q=true}else{P=appendPath(P,i)}}const{queryParams:D,sequenceParams:L}=calculateQueryParameters(u,A,I);P=appendQueryParams(P,D,L,Q);return P}function replaceAll(i,u){let A=i;for(const[i,I]of u){A=A.split(i).join(I)}return A}function calculateUrlReplacements(i,u,A){const Q=new Map;if(i.urlParameters?.length){for(const P of i.urlParameters){let D=(0,I.getOperationArgumentValueFromParameter)(u,P,A);const L=(0,B.getPathStringFromParameter)(P);D=i.serializer.serialize(P.mapper,D,L);if(!P.skipEncoding){D=encodeURIComponent(D)}Q.set(`{${P.mapper.serializedName||L}}`,D)}}return Q}function isAbsoluteUrl(i){return i.includes("://")}function appendPath(i,u){if(!u){return i}const A=new URL(i);let I=A.pathname;if(!I.endsWith("/")){I=`${I}/`}if(u.startsWith("/")){u=u.substring(1)}const B=u.indexOf("?");if(B!==-1){const i=u.substring(0,B);const Q=u.substring(B+1);I=I+i;if(Q){A.search=A.search?`${A.search}&${Q}`:Q}}else{I=I+u}Object.assign(A,{pathname:I});return A.toString()}function calculateQueryParameters(i,u,A){const P=new Map;const D=new Set;if(i.queryParameters?.length){for(const L of i.queryParameters){if(L.mapper.type.name==="Sequence"&&L.mapper.serializedName){D.add(L.mapper.serializedName)}let U=(0,I.getOperationArgumentValueFromParameter)(u,L,A);if(U!==undefined&&U!==null||L.mapper.required){U=i.serializer.serialize(L.mapper,U,(0,B.getPathStringFromParameter)(L));const u=L.collectionFormat?Q[L.collectionFormat]:"";if(Array.isArray(U)){U=U.map((i=>{if(i===null||i===undefined){return""}return i}))}if(L.collectionFormat==="Multi"&&U.length===0){continue}else if(Array.isArray(U)&&(L.collectionFormat==="SSV"||L.collectionFormat==="TSV")){U=U.join(u)}if(!L.skipEncoding){if(Array.isArray(U)){U=U.map((i=>encodeURIComponent(i)))}else{U=encodeURIComponent(U)}}if(Array.isArray(U)&&(L.collectionFormat==="CSV"||L.collectionFormat==="Pipes")){U=U.join(u)}P.set(L.mapper.serializedName||(0,B.getPathStringFromParameter)(L),U)}}}return{queryParams:P,sequenceParams:D}}function simpleParseQueryParams(i){const u=new Map;if(!i||i[0]!=="?"){return u}i=i.slice(1);const A=i.split("&");for(const i of A){const[A,I]=i.split("=",2);const B=u.get(A);if(B){if(Array.isArray(B)){B.push(I)}else{u.set(A,[B,I])}}else{u.set(A,I)}}return u}function appendQueryParams(i,u,A,I=false){if(u.size===0){return i}const B=new URL(i);const Q=simpleParseQueryParams(B.search);for(const[i,B]of u){const u=Q.get(i);if(Array.isArray(u)){if(Array.isArray(B)){u.push(...B);const A=new Set(u);Q.set(i,Array.from(A))}else{u.push(B)}}else if(u){if(Array.isArray(B)){B.unshift(u)}else if(A.has(i)){Q.set(i,[u,B])}if(!I){Q.set(i,B)}}else{Q.set(i,B)}}const P=[];for(const[i,u]of Q){if(typeof u==="string"){P.push(`${i}=${u}`)}else if(Array.isArray(u)){for(const A of u){P.push(`${i}=${A}`)}}else{P.push(`${i}=${u}`)}}B.search=P.length?`?${P.join("&")}`:"";return B.toString()}},31193:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isPrimitiveBody=isPrimitiveBody;u.isDuration=isDuration;u.isValidUuid=isValidUuid;u.flattenResponse=flattenResponse;function isPrimitiveBody(i,u){return u!=="Composite"&&u!=="Dictionary"&&(typeof i==="string"||typeof i==="number"||typeof i==="boolean"||u?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||i===undefined||i===null)}const A=/^(-|\+)?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(i){return A.test(i)}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(i){return I.test(i)}function handleNullableResponseAndWrappableBody(i){const u={...i.headers,...i.body};if(i.hasNullableType&&Object.getOwnPropertyNames(u).length===0){return i.shouldWrapBody?{body:null}:null}else{return i.shouldWrapBody?{...i.headers,body:i.body}:u}}function flattenResponse(i,u){const A=i.parsedHeaders;if(i.request.method==="HEAD"){return{...A,body:i.parsedBody}}const I=u&&u.bodyMapper;const B=Boolean(I?.nullable);const Q=I?.type.name;if(Q==="Stream"){return{...A,blobBody:i.blobBody,readableStreamBody:i.readableStreamBody}}const P=Q==="Composite"&&I.type.modelProperties||{};const D=Object.keys(P).some((i=>P[i].serializedName===""));if(Q==="Sequence"||D){const u=i.parsedBody??[];for(const A of Object.keys(P)){if(P[A].serializedName){u[A]=i.parsedBody?.[A]}}if(A){for(const i of Object.keys(A)){u[i]=A[i]}}return B&&!i.parsedBody&&!A&&Object.getOwnPropertyNames(P).length===0?null:u}return handleNullableResponseAndWrappableBody({body:i.parsedBody,headers:A,hasNullableType:B,shouldWrapBody:isPrimitiveBody(i.parsedBody,Q)})}},95492:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{ExtendedServiceClient:()=>ExtendedServiceClient});i.exports=__toCommonJS(D);var L=A(32639);var U=A(20778);var G=A(60160);var z=A(38153);class ExtendedServiceClient extends G.ServiceClient{constructor(i){super(i);if(i.keepAliveOptions?.enable===false&&!(0,L.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,L.createDisableKeepAlivePolicy)())}if(i.redirectOptions?.handleRedirects===false){this.pipeline.removePolicy({name:U.redirectPolicyName})}}async sendOperationRequest(i,u){const A=i?.options?.onResponse;let I;function onResponse(i,u,B){I=i;if(A){A(i,u,B)}}i.options={...i.options,onResponse:onResponse};const B=await super.sendOperationRequest(i,u);if(I){Object.defineProperty(B,"_response",{value:(0,z.toCompatResponse)(I)})}return B}}0&&0},2078:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{convertHttpClient:()=>convertHttpClient});i.exports=__toCommonJS(D);var L=A(38153);var U=A(33850);function convertHttpClient(i){return{sendRequest:async u=>{const A=await i.sendRequest((0,U.toWebResourceLike)(u,{createProxy:true}));return(0,L.toPipelineResponse)(A)}}}0&&0},61584:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{ExtendedServiceClient:()=>L.ExtendedServiceClient,HttpPipelineLogLevel:()=>G.HttpPipelineLogLevel,convertHttpClient:()=>W.convertHttpClient,createRequestPolicyFactoryPolicy:()=>G.createRequestPolicyFactoryPolicy,disableKeepAlivePolicyName:()=>z.disableKeepAlivePolicyName,requestPolicyFactoryPolicyName:()=>G.requestPolicyFactoryPolicyName,toCompatResponse:()=>U.toCompatResponse,toHttpHeadersLike:()=>Y.toHttpHeadersLike});i.exports=__toCommonJS(D);var L=A(95492);var U=A(38153);var G=A(3466);var z=A(32639);var W=A(2078);var Y=A(33850);0&&0},32639:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{createDisableKeepAlivePolicy:()=>createDisableKeepAlivePolicy,disableKeepAlivePolicyName:()=>P,pipelineContainsDisableKeepAlivePolicy:()=>pipelineContainsDisableKeepAlivePolicy});i.exports=__toCommonJS(Q);const P="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:P,async sendRequest(i,u){i.disableKeepAlive=true;return u(i)}}}function pipelineContainsDisableKeepAlivePolicy(i){return i.getOrderedPolicies().some((i=>i.name===P))}0&&0},3466:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{HttpPipelineLogLevel:()=>G,createRequestPolicyFactoryPolicy:()=>createRequestPolicyFactoryPolicy,requestPolicyFactoryPolicyName:()=>W});i.exports=__toCommonJS(D);var L=A(33850);var U=A(38153);var G=(i=>{i[i["ERROR"]=1]="ERROR";i[i["INFO"]=3]="INFO";i[i["OFF"]=0]="OFF";i[i["WARNING"]=2]="WARNING";return i})(G||{});const z={log(i,u){},shouldLog(i){return false}};const W="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(i){const u=i.slice().reverse();return{name:W,async sendRequest(i,A){let I={async sendRequest(i){const u=await A((0,L.toPipelineRequest)(i));return(0,U.toCompatResponse)(u,{createProxy:true})}};for(const i of u){I=i.create(I,z)}const B=(0,L.toWebResourceLike)(i,{createProxy:true});const Q=await I.sendRequest(B);return(0,U.toPipelineResponse)(Q)}}}0&&0},38153:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{toCompatResponse:()=>toCompatResponse,toPipelineResponse:()=>toPipelineResponse});i.exports=__toCommonJS(D);var L=A(20778);var U=A(33850);const G=Symbol("Original FullOperationResponse");function toCompatResponse(i,u){let A=(0,U.toWebResourceLike)(i.request);let I=(0,U.toHttpHeadersLike)(i.headers);if(u?.createProxy){return new Proxy(i,{get(u,B,Q){if(B==="headers"){return I}else if(B==="request"){return A}else if(B===G){return i}return Reflect.get(u,B,Q)},set(i,u,B,Q){if(u==="headers"){I=B}else if(u==="request"){A=B}return Reflect.set(i,u,B,Q)}})}else{return{...i,request:A,headers:I}}}function toPipelineResponse(i){const u=i;const A=u[G];const I=(0,L.createHttpHeaders)(i.headers.toJson({preserveCase:true}));if(A){A.headers=I;return A}else{return{...i,headers:I,request:(0,U.toPipelineRequest)(i.request)}}}0&&0},33850:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{HttpHeaders:()=>HttpHeaders,toHttpHeadersLike:()=>toHttpHeadersLike,toPipelineRequest:()=>toPipelineRequest,toWebResourceLike:()=>toWebResourceLike});i.exports=__toCommonJS(D);var L=A(20778);const U=Symbol("Original PipelineRequest");const G=Symbol.for("@azure/core-client original request");function toPipelineRequest(i,u={}){const A=i;const I=A[U];const B=(0,L.createHttpHeaders)(i.headers.toJson({preserveCase:true}));if(I){I.headers=B;return I}else{const A=(0,L.createPipelineRequest)({url:i.url,method:i.method,headers:B,withCredentials:i.withCredentials,timeout:i.timeout,requestId:i.requestId,abortSignal:i.abortSignal,body:i.body,formData:i.formData,disableKeepAlive:!!i.keepAlive,onDownloadProgress:i.onDownloadProgress,onUploadProgress:i.onUploadProgress,proxySettings:i.proxySettings,streamResponseStatusCodes:i.streamResponseStatusCodes,agent:i.agent,requestOverrides:i.requestOverrides});if(u.originalRequest){A[G]=u.originalRequest}return A}}function toWebResourceLike(i,u){const A=u?.originalRequest??i;const I={url:i.url,method:i.method,headers:toHttpHeadersLike(i.headers),withCredentials:i.withCredentials,timeout:i.timeout,requestId:i.headers.get("x-ms-client-request-id")||i.requestId,abortSignal:i.abortSignal,body:i.body,formData:i.formData,keepAlive:!!i.disableKeepAlive,onDownloadProgress:i.onDownloadProgress,onUploadProgress:i.onUploadProgress,proxySettings:i.proxySettings,streamResponseStatusCodes:i.streamResponseStatusCodes,agent:i.agent,requestOverrides:i.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(u?.createProxy){return new Proxy(I,{get(u,B,Q){if(B===U){return i}else if(B==="clone"){return()=>toWebResourceLike(toPipelineRequest(I,{originalRequest:A}),{createProxy:true,originalRequest:A})}return Reflect.get(u,B,Q)},set(u,A,I,B){if(A==="keepAlive"){i.disableKeepAlive=!I}const Q=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof A==="string"&&Q.includes(A)){i[A]=I}return Reflect.set(u,A,I,B)}})}else{return I}}function toHttpHeadersLike(i){return new HttpHeaders(i.toJSON({preserveCase:true}))}function getHeaderKey(i){return i.toLowerCase()}class HttpHeaders{_headersMap;constructor(i){this._headersMap={};if(i){for(const u in i){this.set(u,i[u])}}}set(i,u){this._headersMap[getHeaderKey(i)]={name:i,value:u.toString()}}get(i){const u=this._headersMap[getHeaderKey(i)];return!u?void 0:u.value}contains(i){return!!this._headersMap[getHeaderKey(i)]}remove(i){const u=this.contains(i);delete this._headersMap[getHeaderKey(i)];return u}rawHeaders(){return this.toJson({preserveCase:true})}headersArray(){const i=[];for(const u in this._headersMap){i.push(this._headersMap[u])}return i}headerNames(){const i=[];const u=this.headersArray();for(let A=0;A{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.pollHttpOperation=u.isOperationError=u.getResourceLocation=u.getOperationStatus=u.getOperationLocation=u.initHttpOperation=u.getStatusFromInitialResponse=u.getErrorFromResponse=u.parseRetryAfter=u.inferLroMode=void 0;const I=A(30736);const B=A(50480);function getOperationLocationPollingUrl(i){const{azureAsyncOperation:u,operationLocation:A}=i;return A!==null&&A!==void 0?A:u}function getLocationHeader(i){return i.headers["location"]}function getOperationLocationHeader(i){return i.headers["operation-location"]}function getAzureAsyncOperationHeader(i){return i.headers["azure-asyncoperation"]}function findResourceLocation(i){var u;const{location:A,requestMethod:I,requestPath:B,resourceLocationConfig:Q}=i;switch(I){case"PUT":{return B}case"DELETE":{return undefined}case"PATCH":{return(u=getDefault())!==null&&u!==void 0?u:B}default:{return getDefault()}}function getDefault(){switch(Q){case"azure-async-operation":{return undefined}case"original-uri":{return B}case"location":default:{return A}}}}function inferLroMode(i){const{rawResponse:u,requestMethod:A,requestPath:I,resourceLocationConfig:B}=i;const Q=getOperationLocationHeader(u);const P=getAzureAsyncOperationHeader(u);const D=getOperationLocationPollingUrl({operationLocation:Q,azureAsyncOperation:P});const L=getLocationHeader(u);const U=A===null||A===void 0?void 0:A.toLocaleUpperCase();if(D!==undefined){return{mode:"OperationLocation",operationLocation:D,resourceLocation:findResourceLocation({requestMethod:U,location:L,requestPath:I,resourceLocationConfig:B})}}else if(L!==undefined){return{mode:"ResourceLocation",operationLocation:L}}else if(U==="PUT"&&I){return{mode:"Body",operationLocation:I}}else{return undefined}}u.inferLroMode=inferLroMode;function transformStatus(i){const{status:u,statusCode:A}=i;if(typeof u!=="string"&&u!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${u}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(u===null||u===void 0?void 0:u.toLocaleLowerCase()){case undefined:return toOperationStatus(A);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:{B.logger.verbose(`LRO: unrecognized operation status: ${u}`);return u}}}function getStatus(i){var u;const{status:A}=(u=i.body)!==null&&u!==void 0?u:{};return transformStatus({status:A,statusCode:i.statusCode})}function getProvisioningState(i){var u,A;const{properties:I,provisioningState:B}=(u=i.body)!==null&&u!==void 0?u:{};const Q=(A=I===null||I===void 0?void 0:I.provisioningState)!==null&&A!==void 0?A:B;return transformStatus({status:Q,statusCode:i.statusCode})}function toOperationStatus(i){if(i===202){return"running"}else if(i<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:i}){const u=i.headers["retry-after"];if(u!==undefined){const i=parseInt(u);return isNaN(i)?calculatePollingIntervalFromDate(new Date(u)):i*1e3}return undefined}u.parseRetryAfter=parseRetryAfter;function getErrorFromResponse(i){const u=accessBodyProperty(i,"error");if(!u){B.logger.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!u.code||!u.message){B.logger.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return u}u.getErrorFromResponse=getErrorFromResponse;function calculatePollingIntervalFromDate(i){const u=Math.floor((new Date).getTime());const A=i.getTime();if(u{const i=await Q.sendInitialRequest();const u=inferLroMode({rawResponse:i.rawResponse,requestPath:Q.requestPath,requestMethod:Q.requestMethod,resourceLocationConfig:A});return Object.assign({response:i,operationLocation:u===null||u===void 0?void 0:u.operationLocation,resourceLocation:u===null||u===void 0?void 0:u.resourceLocation},(u===null||u===void 0?void 0:u.mode)?{metadata:{mode:u.mode}}:{})},stateProxy:u,processResult:B?({flatResponse:i},u)=>B(i,u):({flatResponse:i})=>i,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:P})}u.initHttpOperation=initHttpOperation;function getOperationLocation({rawResponse:i},u){var A;const I=(A=u.config.metadata)===null||A===void 0?void 0:A["mode"];switch(I){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(i),azureAsyncOperation:getAzureAsyncOperationHeader(i)})}case"ResourceLocation":{return getLocationHeader(i)}case"Body":default:{return undefined}}}u.getOperationLocation=getOperationLocation;function getOperationStatus({rawResponse:i},u){var A;const I=(A=u.config.metadata)===null||A===void 0?void 0:A["mode"];switch(I){case"OperationLocation":{return getStatus(i)}case"ResourceLocation":{return toOperationStatus(i.statusCode)}case"Body":{return getProvisioningState(i)}default:throw new Error(`Internal error: Unexpected operation mode: ${I}`)}}u.getOperationStatus=getOperationStatus;function accessBodyProperty({flatResponse:i,rawResponse:u},A){var I,B;return(I=i===null||i===void 0?void 0:i[A])!==null&&I!==void 0?I:(B=u.body)===null||B===void 0?void 0:B[A]}function getResourceLocation(i,u){const A=accessBodyProperty(i,"resourceLocation");if(A&&typeof A==="string"){u.config.resourceLocation=A}return u.config.resourceLocation}u.getResourceLocation=getResourceLocation;function isOperationError(i){return i.name==="RestError"}u.isOperationError=isOperationError;async function pollHttpOperation(i){const{lro:u,stateProxy:A,options:B,processResult:Q,updateState:P,setDelay:D,state:L,setErrorAsResult:U}=i;return(0,I.pollOperation)({state:L,stateProxy:A,setDelay:D,processResult:Q?({flatResponse:i},u)=>Q(i,u):({flatResponse:i})=>i,getError:getErrorFromResponse,updateState:P,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:B,poll:async(i,A)=>u.sendPollRequest(i,A),setErrorAsResult:U})}u.pollHttpOperation=pollHttpOperation},57421:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.createHttpPoller=void 0;const I=A(93878);const B=A(18835);async function createHttpPoller(i,u){const{resourceLocationConfig:A,intervalInMs:Q,processResult:P,restoreFrom:D,updateState:L,withOperationLocation:U,resolveOnUnsuccessful:G=false}=u||{};return(0,B.buildCreatePoller)({getStatusFromInitialResponse:I.getStatusFromInitialResponse,getStatusFromPollResponse:I.getOperationStatus,isOperationError:I.isOperationError,getOperationLocation:I.getOperationLocation,getResourceLocation:I.getResourceLocation,getPollingInterval:I.parseRetryAfter,getError:I.getErrorFromResponse,resolveOnUnsuccessful:G})({init:async()=>{const u=await i.sendInitialRequest();const B=(0,I.inferLroMode)({rawResponse:u.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:A});return Object.assign({response:u,operationLocation:B===null||B===void 0?void 0:B.operationLocation,resourceLocation:B===null||B===void 0?void 0:B.resourceLocation},(B===null||B===void 0?void 0:B.mode)?{metadata:{mode:B.mode}}:{})},poll:i.sendPollRequest},{intervalInMs:Q,withOperationLocation:U,restoreFrom:D,updateState:L,processResult:P?({flatResponse:i},u)=>P(i,u):({flatResponse:i})=>i})}u.createHttpPoller=createHttpPoller},91754:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.createHttpPoller=void 0;const I=A(61860);var B=A(57421);Object.defineProperty(u,"createHttpPoller",{enumerable:true,get:function(){return B.createHttpPoller}});I.__exportStar(A(55454),u);I.__exportStar(A(36272),u);I.__exportStar(A(82670),u)},55454:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.LroEngine=void 0;var I=A(91607);Object.defineProperty(u,"LroEngine",{enumerable:true,get:function(){return I.LroEngine}})},91607:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.LroEngine=void 0;const I=A(54267);const B=A(55044);const Q=A(36272);const P=A(30736);class LroEngine extends Q.Poller{constructor(i,u){const{intervalInMs:A=B.POLL_INTERVAL_IN_MS,resumeFrom:Q,resolveOnUnsuccessful:D=false,isDone:L,lroResourceLocationConfig:U,processResult:G,updateState:z}=u||{};const W=Q?(0,P.deserializeState)(Q):{};const Y=new I.GenericPollOperation(W,i,!D,U,G,z,L);super(Y);this.resolveOnUnsuccessful=D;this.config={intervalInMs:A};Y.setPollerConfig(this.config)}delay(){return new Promise((i=>setTimeout((()=>i()),this.config.intervalInMs)))}}u.LroEngine=LroEngine},54267:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.GenericPollOperation=void 0;const I=A(93878);const B=A(50480);const createStateProxy=()=>({initState:i=>({config:i,isStarted:true}),setCanceled:i=>i.isCancelled=true,setError:(i,u)=>i.error=u,setResult:(i,u)=>i.result=u,setRunning:i=>i.isStarted=true,setSucceeded:i=>i.isCompleted=true,setFailed:()=>{},getError:i=>i.error,getResult:i=>i.result,isCanceled:i=>!!i.isCancelled,isFailed:i=>!!i.error,isRunning:i=>!!i.isStarted,isSucceeded:i=>Boolean(i.isCompleted&&!i.isCancelled&&!i.error)});class GenericPollOperation{constructor(i,u,A,I,B,Q,P){this.state=i;this.lro=u;this.setErrorAsResult=A;this.lroResourceLocationConfig=I;this.processResult=B;this.updateState=Q;this.isDone=P}setPollerConfig(i){this.pollerConfig=i}async update(i){var u;const A=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await(0,I.initHttpOperation)({lro:this.lro,stateProxy:A,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const B=this.updateState;const Q=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await(0,I.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:A,processResult:this.processResult,updateState:B?(i,{rawResponse:u})=>B(i,u):undefined,isDone:Q?({flatResponse:i},u)=>Q(i,u):undefined,options:i,setDelay:i=>{this.pollerConfig.intervalInMs=i},setErrorAsResult:this.setErrorAsResult})}(u=i===null||i===void 0?void 0:i.fireProgress)===null||u===void 0?void 0:u.call(i,this.state);return this}async cancel(){B.logger.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}u.GenericPollOperation=GenericPollOperation},82670:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true})},36272:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Poller=u.PollerCancelledError=u.PollerStoppedError=void 0;class PollerStoppedError extends Error{constructor(i){super(i);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}u.PollerStoppedError=PollerStoppedError;class PollerCancelledError extends Error{constructor(i){super(i);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}u.PollerCancelledError=PollerCancelledError;class Poller{constructor(i){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=i;this.promise=new Promise(((i,u)=>{this.resolve=i;this.reject=u}));this.promise.catch((()=>{}))}async startPolling(i={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(i);await this.delay()}}async pollOnce(i={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:i.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(i){for(const u of this.pollProgressCallbacks){u(i)}}async cancelOnce(i={}){this.operation=await this.operation.cancel(i)}poll(i={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(i);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 i=new PollerCancelledError("Operation was canceled");this.reject(i);throw i}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(i={}){if(this.stopped){this.startPolling(i).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(i){this.pollProgressCallbacks.push(i);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((u=>u!==i))}}isDone(){const i=this.operation.state;return Boolean(i.isCompleted||i.isCancelled||i.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(i={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(i)}else if(i.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const i=this.operation.state;return i.result}toString(){return this.operation.toString()}}u.Poller=Poller},50480:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.logger=void 0;const I=A(26515);u.logger=(0,I.createClientLogger)("core-lro")},55044:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.terminalStates=u.POLL_INTERVAL_IN_MS=void 0;u.POLL_INTERVAL_IN_MS=2e3;u.terminalStates=["succeeded","canceled","failed"]},30736:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.pollOperation=u.initOperation=u.deserializeState=void 0;const I=A(50480);const B=A(55044);function deserializeState(i){try{return JSON.parse(i).state}catch(u){throw new Error(`Unable to deserialize input state: ${i}`)}}u.deserializeState=deserializeState;function setStateError(i){const{state:u,stateProxy:A,isOperationError:I}=i;return i=>{if(I(i)){A.setError(u,i);A.setFailed(u)}throw i}}function appendReadableErrorMessage(i,u){let A=i;if(A.slice(-1)!=="."){A=A+"."}return A+" "+u}function simplifyError(i){let u=i.message;let A=i.code;let I=i;while(I.innererror){I=I.innererror;A=I.code;u=appendReadableErrorMessage(u,I.message)}return{code:A,message:u}}function processOperationStatus(i){const{state:u,stateProxy:A,status:B,isDone:Q,processResult:P,getError:D,response:L,setErrorAsResult:U}=i;switch(B){case"succeeded":{A.setSucceeded(u);break}case"failed":{const i=D===null||D===void 0?void 0:D(L);let B="";if(i){const{code:u,message:A}=simplifyError(i);B=`. ${u}. ${A}`}const Q=`The long-running operation has failed${B}`;A.setError(u,new Error(Q));A.setFailed(u);I.logger.warning(Q);break}case"canceled":{A.setCanceled(u);break}}if((Q===null||Q===void 0?void 0:Q(L,u))||Q===undefined&&["succeeded","canceled"].concat(U?[]:["failed"]).includes(B)){A.setResult(u,buildResult({response:L,state:u,processResult:P}))}}function buildResult(i){const{processResult:u,response:A,state:I}=i;return u?u(A,I):A}async function initOperation(i){const{init:u,stateProxy:A,processResult:B,getOperationStatus:Q,withOperationLocation:P,setErrorAsResult:D}=i;const{operationLocation:L,resourceLocation:U,metadata:G,response:z}=await u();if(L)P===null||P===void 0?void 0:P(L,false);const W={metadata:G,operationLocation:L,resourceLocation:U};I.logger.verbose(`LRO: Operation description:`,W);const Y=A.initState(W);const J=Q({response:z,state:Y,operationLocation:L});processOperationStatus({state:Y,status:J,stateProxy:A,response:z,setErrorAsResult:D,processResult:B});return Y}u.initOperation=initOperation;async function pollOperationHelper(i){const{poll:u,state:A,stateProxy:Q,operationLocation:P,getOperationStatus:D,getResourceLocation:L,isOperationError:U,options:G}=i;const z=await u(P,G).catch(setStateError({state:A,stateProxy:Q,isOperationError:U}));const W=D(z,A);I.logger.verbose(`LRO: Status:\n\tPolling from: ${A.config.operationLocation}\n\tOperation status: ${W}\n\tPolling status: ${B.terminalStates.includes(W)?"Stopped":"Running"}`);if(W==="succeeded"){const i=L(z,A);if(i!==undefined){return{response:await u(i).catch(setStateError({state:A,stateProxy:Q,isOperationError:U})),status:W}}}return{response:z,status:W}}async function pollOperation(i){const{poll:u,state:A,stateProxy:I,options:Q,getOperationStatus:P,getResourceLocation:D,getOperationLocation:L,isOperationError:U,withOperationLocation:G,getPollingInterval:z,processResult:W,getError:Y,updateState:J,setDelay:$,isDone:K,setErrorAsResult:X}=i;const{operationLocation:he}=A.config;if(he!==undefined){const{response:i,status:Ae}=await pollOperationHelper({poll:u,getOperationStatus:P,state:A,stateProxy:I,operationLocation:he,getResourceLocation:D,isOperationError:U,options:Q});processOperationStatus({status:Ae,response:i,state:A,stateProxy:I,isDone:K,processResult:W,getError:Y,setErrorAsResult:X});if(!B.terminalStates.includes(Ae)){const u=z===null||z===void 0?void 0:z(i);if(u)$(u);const I=L===null||L===void 0?void 0:L(i,A);if(I!==undefined){const i=he!==I;A.config.operationLocation=I;G===null||G===void 0?void 0:G(I,i)}else G===null||G===void 0?void 0:G(he,false)}J===null||J===void 0?void 0:J(A,i)}}u.pollOperation=pollOperation},18835:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.buildCreatePoller=void 0;const I=A(30736);const B=A(55044);const Q=A(87779);const createStateProxy=()=>({initState:i=>({status:"running",config:i}),setCanceled:i=>i.status="canceled",setError:(i,u)=>i.error=u,setResult:(i,u)=>i.result=u,setRunning:i=>i.status="running",setSucceeded:i=>i.status="succeeded",setFailed:i=>i.status="failed",getError:i=>i.error,getResult:i=>i.result,isCanceled:i=>i.status==="canceled",isFailed:i=>i.status==="failed",isRunning:i=>i.status==="running",isSucceeded:i=>i.status==="succeeded"});function buildCreatePoller(i){const{getOperationLocation:u,getStatusFromInitialResponse:A,getStatusFromPollResponse:P,isOperationError:D,getResourceLocation:L,getPollingInterval:U,getError:G,resolveOnUnsuccessful:z}=i;return async({init:i,poll:W},Y)=>{const{processResult:J,updateState:$,withOperationLocation:K,intervalInMs:X=B.POLL_INTERVAL_IN_MS,restoreFrom:he}=Y||{};const Ae=createStateProxy();const ye=K?(()=>{let i=false;return(u,A)=>{if(A)K(u);else if(!i)K(u);i=true}})():undefined;const be=he?(0,I.deserializeState)(he):await(0,I.initOperation)({init:i,stateProxy:Ae,processResult:J,getOperationStatus:A,withOperationLocation:ye,setErrorAsResult:!z});let Ee;const Ce=new AbortController;const we=new Map;const handleProgressEvents=async()=>we.forEach((i=>i(be)));const ve="Operation was canceled";let Se=X;const Re={getOperationState:()=>be,getResult:()=>be.result,isDone:()=>["succeeded","failed","canceled"].includes(be.status),isStopped:()=>Ee===undefined,stopPolling:()=>{Ce.abort()},toString:()=>JSON.stringify({state:be}),onProgress:i=>{const u=Symbol();we.set(u,i);return()=>we.delete(u)},pollUntilDone:i=>Ee!==null&&Ee!==void 0?Ee:Ee=(async()=>{const{abortSignal:u}=i||{};function abortListener(){Ce.abort()}const A=Ce.signal;if(u===null||u===void 0?void 0:u.aborted){Ce.abort()}else if(!A.aborted){u===null||u===void 0?void 0:u.addEventListener("abort",abortListener,{once:true})}try{if(!Re.isDone()){await Re.poll({abortSignal:A});while(!Re.isDone()){await(0,Q.delay)(Se,{abortSignal:A});await Re.poll({abortSignal:A})}}}finally{u===null||u===void 0?void 0:u.removeEventListener("abort",abortListener)}if(z){return Re.getResult()}else{switch(be.status){case"succeeded":return Re.getResult();case"canceled":throw new Error(ve);case"failed":throw be.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{Ee=undefined})),async poll(i){if(z){if(Re.isDone())return}else{switch(be.status){case"succeeded":return;case"canceled":throw new Error(ve);case"failed":throw be.error}}await(0,I.pollOperation)({poll:W,state:be,stateProxy:Ae,getOperationLocation:u,isOperationError:D,withOperationLocation:ye,getPollingInterval:U,getOperationStatus:P,getResourceLocation:L,processResult:J,getError:G,updateState:$,options:i,setDelay:i=>{Se=i},setErrorAsResult:!z});await handleProgressEvents();if(!z){switch(be.status){case"canceled":throw new Error(ve);case"failed":throw be.error}}}};return Re}}u.buildCreatePoller=buildCreatePoller},66427:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{DEFAULT_RETRY_POLICY_COUNT:()=>D,SDK_VERSION:()=>P});i.exports=__toCommonJS(Q);const P="1.24.0";const D=3;0&&0},90862:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createPipelineFromOptions:()=>createPipelineFromOptions});i.exports=__toCommonJS(D);var L=A(53253);var U=A(29590);var G=A(64087);var z=A(32799);var W=A(45807);var Y=A(39295);var J=A(48170);var $=A(75497);var K=A(87779);var X=A(32815);var he=A(95686);var Ae=A(18554);var ye=A(75798);var be=A(93237);var Ee=A(37466);function createPipelineFromOptions(i){const u=(0,U.createEmptyPipeline)();if(K.isNodeLike){if(i.agent){u.addPolicy((0,Ae.agentPolicy)(i.agent))}if(i.tlsOptions){u.addPolicy((0,ye.tlsPolicy)(i.tlsOptions))}u.addPolicy((0,X.proxyPolicy)(i.proxyOptions));u.addPolicy((0,Y.decompressResponsePolicy)())}u.addPolicy((0,Ee.wrapAbortSignalLikePolicy)());u.addPolicy((0,$.formDataPolicy)(),{beforePolicies:[W.multipartPolicyName]});u.addPolicy((0,z.userAgentPolicy)(i.userAgentOptions));u.addPolicy((0,he.setClientRequestIdPolicy)(i.telemetryOptions?.clientRequestIdHeaderName));u.addPolicy((0,W.multipartPolicy)(),{afterPhase:"Deserialize"});u.addPolicy((0,J.defaultRetryPolicy)(i.retryOptions),{phase:"Retry"});u.addPolicy((0,be.tracingPolicy)({...i.userAgentOptions,...i.loggingOptions}),{afterPhase:"Retry"});if(K.isNodeLike){u.addPolicy((0,G.redirectPolicy)(i.redirectOptions),{afterPhase:"Retry"})}u.addPolicy((0,L.logPolicy)(i.loggingOptions),{afterPhase:"Sign"});return u}0&&0},7960:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createDefaultHttpClient:()=>createDefaultHttpClient});i.exports=__toCommonJS(D);var L=A(41958);var U=A(91297);function createDefaultHttpClient(){const i=(0,L.createDefaultHttpClient)();return{async sendRequest(u){const{abortSignal:A,cleanup:I}=u.abortSignal?(0,U.wrapAbortSignalLike)(u.abortSignal):{};try{u.abortSignal=A;return await i.sendRequest(u)}finally{I?.()}}}}0&&0},192:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createHttpHeaders:()=>createHttpHeaders});i.exports=__toCommonJS(D);var L=A(41958);function createHttpHeaders(i){return(0,L.createHttpHeaders)(i)}0&&0},20778:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{RestError:()=>Y.RestError,agentPolicy:()=>ke.agentPolicy,agentPolicyName:()=>ke.agentPolicyName,auxiliaryAuthenticationHeaderPolicy:()=>xe.auxiliaryAuthenticationHeaderPolicy,auxiliaryAuthenticationHeaderPolicyName:()=>xe.auxiliaryAuthenticationHeaderPolicyName,bearerTokenAuthenticationPolicy:()=>_e.bearerTokenAuthenticationPolicy,bearerTokenAuthenticationPolicyName:()=>_e.bearerTokenAuthenticationPolicyName,createDefaultHttpClient:()=>G.createDefaultHttpClient,createEmptyPipeline:()=>L.createEmptyPipeline,createFile:()=>Qe.createFile,createFileFromStream:()=>Qe.createFileFromStream,createHttpHeaders:()=>z.createHttpHeaders,createPipelineFromOptions:()=>U.createPipelineFromOptions,createPipelineRequest:()=>W.createPipelineRequest,decompressResponsePolicy:()=>J.decompressResponsePolicy,decompressResponsePolicyName:()=>J.decompressResponsePolicyName,defaultRetryPolicy:()=>ve.defaultRetryPolicy,exponentialRetryPolicy:()=>$.exponentialRetryPolicy,exponentialRetryPolicyName:()=>$.exponentialRetryPolicyName,formDataPolicy:()=>Ne.formDataPolicy,formDataPolicyName:()=>Ne.formDataPolicyName,getDefaultProxySettings:()=>Ae.getDefaultProxySettings,isRestError:()=>Y.isRestError,logPolicy:()=>X.logPolicy,logPolicyName:()=>X.logPolicyName,multipartPolicy:()=>he.multipartPolicy,multipartPolicyName:()=>he.multipartPolicyName,ndJsonPolicy:()=>Oe.ndJsonPolicy,ndJsonPolicyName:()=>Oe.ndJsonPolicyName,proxyPolicy:()=>Ae.proxyPolicy,proxyPolicyName:()=>Ae.proxyPolicyName,redirectPolicy:()=>ye.redirectPolicy,redirectPolicyName:()=>ye.redirectPolicyName,retryPolicy:()=>Ce.retryPolicy,setClientRequestIdPolicy:()=>K.setClientRequestIdPolicy,setClientRequestIdPolicyName:()=>K.setClientRequestIdPolicyName,systemErrorRetryPolicy:()=>be.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>be.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>Ee.throttlingRetryPolicy,throttlingRetryPolicyName:()=>Ee.throttlingRetryPolicyName,tlsPolicy:()=>Re.tlsPolicy,tlsPolicyName:()=>Re.tlsPolicyName,tracingPolicy:()=>we.tracingPolicy,tracingPolicyName:()=>we.tracingPolicyName,userAgentPolicy:()=>Se.userAgentPolicy,userAgentPolicyName:()=>Se.userAgentPolicyName});i.exports=__toCommonJS(D);var L=A(29590);var U=A(90862);var G=A(7960);var z=A(192);var W=A(95709);var Y=A(8666);var J=A(39295);var $=A(16708);var K=A(95686);var X=A(53253);var he=A(45807);var Ae=A(32815);var ye=A(64087);var be=A(96518);var Ee=A(97540);var Ce=A(56085);var we=A(93237);var ve=A(48170);var Se=A(32799);var Re=A(75798);var Ne=A(75497);var _e=A(26925);var Oe=A(36827);var xe=A(42262);var ke=A(18554);var Qe=A(97073);0&&0},80544:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{logger:()=>U});i.exports=__toCommonJS(D);var L=A(26515);const U=(0,L.createClientLogger)("core-rest-pipeline");0&&0},29590:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createEmptyPipeline:()=>createEmptyPipeline});i.exports=__toCommonJS(D);var L=A(41958);function createEmptyPipeline(){return(0,L.createEmptyPipeline)()}0&&0},95709:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createPipelineRequest:()=>createPipelineRequest});i.exports=__toCommonJS(D);var L=A(41958);function createPipelineRequest(i){return(0,L.createPipelineRequest)(i)}0&&0},18554:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{agentPolicy:()=>agentPolicy,agentPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.agentPolicyName;function agentPolicy(i){return(0,L.agentPolicy)(i)}0&&0},42262:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{auxiliaryAuthenticationHeaderPolicy:()=>auxiliaryAuthenticationHeaderPolicy,auxiliaryAuthenticationHeaderPolicyName:()=>G});i.exports=__toCommonJS(D);var L=A(39202);var U=A(80544);const G="auxiliaryAuthenticationHeaderPolicy";const z="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(i){const{scopes:u,getAccessToken:A,request:I}=i;const B={abortSignal:I.abortSignal,tracingOptions:I.tracingOptions};return(await A(u,B))?.token??""}function auxiliaryAuthenticationHeaderPolicy(i){const{credentials:u,scopes:A}=i;const I=i.logger||U.logger;const B=new WeakMap;return{name:G,async sendRequest(i,Q){if(!i.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!u||u.length===0){I.info(`${G} header will not be set due to empty credentials.`);return Q(i)}const P=[];for(const Q of u){let u=B.get(Q);if(!u){u=(0,L.createTokenCycler)(Q);B.set(Q,u)}P.push(sendAuthorizeRequest({scopes:Array.isArray(A)?A:[A],request:i,getAccessToken:u,logger:I}))}const D=(await Promise.all(P)).filter((i=>Boolean(i)));if(D.length===0){I.warning(`None of the auxiliary tokens are valid. ${z} header will not be set.`);return Q(i)}i.headers.set(z,D.map((i=>`Bearer ${i}`)).join(", "));return Q(i)}}}0&&0},26925:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{bearerTokenAuthenticationPolicy:()=>bearerTokenAuthenticationPolicy,bearerTokenAuthenticationPolicyName:()=>z,parseChallenges:()=>parseChallenges});i.exports=__toCommonJS(D);var L=A(39202);var U=A(80544);var G=A(8666);const z="bearerTokenAuthenticationPolicy";async function trySendRequest(i,u){try{return[await u(i),void 0]}catch(i){if((0,G.isRestError)(i)&&i.response){return[i.response,i]}else{throw i}}}async function defaultAuthorizeRequest(i){const{scopes:u,getAccessToken:A,request:I}=i;const B={abortSignal:I.abortSignal,tracingOptions:I.tracingOptions,enableCae:true};const Q=await A(u,B);if(Q){i.request.headers.set("Authorization",`Bearer ${Q.token}`)}}function isChallengeResponse(i){return i.status===401&&i.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(i,u){const{scopes:A}=i;const I=await i.getAccessToken(A,{enableCae:true,claims:u});if(!I){return false}i.request.headers.set("Authorization",`${I.tokenType??"Bearer"} ${I.token}`);return true}function bearerTokenAuthenticationPolicy(i){const{credential:u,scopes:A,challengeCallbacks:I}=i;const B=i.logger||U.logger;const Q={authorizeRequest:I?.authorizeRequest?.bind(I)??defaultAuthorizeRequest,authorizeRequestOnChallenge:I?.authorizeRequestOnChallenge?.bind(I)};const P=u?(0,L.createTokenCycler)(u):()=>Promise.resolve(null);return{name:z,async sendRequest(i,u){if(!i.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}await Q.authorizeRequest({scopes:Array.isArray(A)?A:[A],request:i,getAccessToken:P,logger:B});let I;let D;let L;[I,D]=await trySendRequest(i,u);if(isChallengeResponse(I)){let U=getCaeChallengeClaims(I.headers.get("WWW-Authenticate"));if(U){let Q;try{Q=atob(U)}catch(i){B.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${U}`);return I}L=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(A)?A:[A],response:I,request:i,getAccessToken:P,logger:B},Q);if(L){[I,D]=await trySendRequest(i,u)}}else if(Q.authorizeRequestOnChallenge){L=await Q.authorizeRequestOnChallenge({scopes:Array.isArray(A)?A:[A],request:i,response:I,getAccessToken:P,logger:B});if(L){[I,D]=await trySendRequest(i,u)}if(isChallengeResponse(I)){U=getCaeChallengeClaims(I.headers.get("WWW-Authenticate")??"");if(U){let Q;try{Q=atob(U)}catch(i){B.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${U}`);return I}L=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(A)?A:[A],response:I,request:i,getAccessToken:P,logger:B},Q);if(L){[I,D]=await trySendRequest(i,u)}}}}}if(D){throw D}else{return I}}}}function parseChallenges(i){const u=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const A=/(\w+)="([^"]*)"/g;const I=[];let B;while((B=u.exec(i))!==null){const i=B[1];const u=B[2];const Q={};let P;while((P=A.exec(u))!==null){Q[P[1]]=P[2]}I.push({scheme:i,params:Q})}return I}function getCaeChallengeClaims(i){if(!i){return}const u=parseChallenges(i);return u.find((i=>i.scheme==="Bearer"&&i.params.claims&&i.params.error==="insufficient_claims"))?.params.claims}0&&0},39295:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{decompressResponsePolicy:()=>decompressResponsePolicy,decompressResponsePolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.decompressResponsePolicyName;function decompressResponsePolicy(){return(0,L.decompressResponsePolicy)()}0&&0},48170:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{defaultRetryPolicy:()=>defaultRetryPolicy,defaultRetryPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.defaultRetryPolicyName;function defaultRetryPolicy(i={}){return(0,L.defaultRetryPolicy)(i)}0&&0},16708:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{exponentialRetryPolicy:()=>exponentialRetryPolicy,exponentialRetryPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.exponentialRetryPolicyName;function exponentialRetryPolicy(i={}){return(0,L.exponentialRetryPolicy)(i)}0&&0},75497:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{formDataPolicy:()=>formDataPolicy,formDataPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.formDataPolicyName;function formDataPolicy(){return(0,L.formDataPolicy)()}0&&0},53253:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{logPolicy:()=>logPolicy,logPolicyName:()=>G});i.exports=__toCommonJS(D);var L=A(80544);var U=A(44960);const G=U.logPolicyName;function logPolicy(i={}){return(0,U.logPolicy)({logger:L.logger.info,...i})}0&&0},45807:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{multipartPolicy:()=>multipartPolicy,multipartPolicyName:()=>G});i.exports=__toCommonJS(D);var L=A(44960);var U=A(97073);const G=L.multipartPolicyName;function multipartPolicy(){const i=(0,L.multipartPolicy)();return{name:G,sendRequest:async(u,A)=>{if(u.multipartBody){for(const i of u.multipartBody.parts){if((0,U.hasRawContent)(i.body)){i.body=(0,U.getRawContent)(i.body)}}}return i.sendRequest(u,A)}}}0&&0},36827:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{ndJsonPolicy:()=>ndJsonPolicy,ndJsonPolicyName:()=>P});i.exports=__toCommonJS(Q);const P="ndJsonPolicy";function ndJsonPolicy(){return{name:P,async sendRequest(i,u){if(typeof i.body==="string"&&i.body.startsWith("[")){const u=JSON.parse(i.body);i.body=u.map((i=>JSON.stringify(i)+"\n")).join("")}return u(i)}}}0&&0},32815:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{getDefaultProxySettings:()=>getDefaultProxySettings,proxyPolicy:()=>proxyPolicy,proxyPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.proxyPolicyName;function getDefaultProxySettings(i){return(0,L.getDefaultProxySettings)(i)}function proxyPolicy(i,u){return(0,L.proxyPolicy)(i,u)}0&&0},64087:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{redirectPolicy:()=>redirectPolicy,redirectPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.redirectPolicyName;function redirectPolicy(i={}){return(0,L.redirectPolicy)(i)}0&&0},56085:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{retryPolicy:()=>retryPolicy});i.exports=__toCommonJS(D);var L=A(26515);var U=A(66427);var G=A(44960);const z=(0,L.createClientLogger)("core-rest-pipeline retryPolicy");function retryPolicy(i,u={maxRetries:U.DEFAULT_RETRY_POLICY_COUNT}){return(0,G.retryPolicy)(i,{logger:z,...u})}0&&0},95686:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{setClientRequestIdPolicy:()=>setClientRequestIdPolicy,setClientRequestIdPolicyName:()=>P});i.exports=__toCommonJS(Q);const P="setClientRequestIdPolicy";function setClientRequestIdPolicy(i="x-ms-client-request-id"){return{name:P,async sendRequest(u,A){if(!u.headers.has(i)){u.headers.set(i,u.requestId)}return A(u)}}}0&&0},96518:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{systemErrorRetryPolicy:()=>systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.systemErrorRetryPolicyName;function systemErrorRetryPolicy(i={}){return(0,L.systemErrorRetryPolicy)(i)}0&&0},97540:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{throttlingRetryPolicy:()=>throttlingRetryPolicy,throttlingRetryPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.throttlingRetryPolicyName;function throttlingRetryPolicy(i={}){return(0,L.throttlingRetryPolicy)(i)}0&&0},75798:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{tlsPolicy:()=>tlsPolicy,tlsPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(44960);const U=L.tlsPolicyName;function tlsPolicy(i){return(0,L.tlsPolicy)(i)}0&&0},93237:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{tracingPolicy:()=>tracingPolicy,tracingPolicyName:()=>$});i.exports=__toCommonJS(D);var L=A(20623);var U=A(66427);var G=A(28431);var z=A(80544);var W=A(87779);var Y=A(8666);var J=A(95750);const $="tracingPolicy";function tracingPolicy(i={}){const u=(0,G.getUserAgentValue)(i.userAgentPrefix);const A=new J.Sanitizer({additionalAllowedQueryParameters:i.additionalAllowedQueryParameters});const I=tryCreateTracingClient();return{name:$,async sendRequest(i,B){if(!I){return B(i)}const Q=await u;const P={"http.url":A.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":Q,requestId:i.requestId};if(Q){P["http.user_agent"]=Q}const{span:D,tracingContext:L}=tryCreateSpan(I,i,P)??{};if(!D||!L){return B(i)}try{const u=await I.withContext(L,B,i);tryProcessResponse(D,u);return u}catch(i){tryProcessError(D,i);throw i}}}}function tryCreateTracingClient(){try{return(0,L.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:U.SDK_VERSION})}catch(i){z.logger.warning(`Error when creating the TracingClient: ${(0,W.getErrorMessage)(i)}`);return void 0}}function tryCreateSpan(i,u,A){try{const{span:I,updatedOptions:B}=i.startSpan(`HTTP ${u.method}`,{tracingOptions:u.tracingOptions},{spanKind:"client",spanAttributes:A});if(!I.isRecording()){I.end();return void 0}const Q=i.createRequestHeaders(B.tracingOptions.tracingContext);for(const[i,A]of Object.entries(Q)){u.headers.set(i,A)}return{span:I,tracingContext:B.tracingOptions.tracingContext}}catch(i){z.logger.warning(`Skipping creating a tracing span due to an error: ${(0,W.getErrorMessage)(i)}`);return void 0}}function tryProcessError(i,u){try{i.setStatus({status:"error",error:(0,W.isError)(u)?u:void 0});if((0,Y.isRestError)(u)&&u.statusCode){i.setAttribute("http.status_code",u.statusCode)}i.end()}catch(i){z.logger.warning(`Skipping tracing span processing due to an error: ${(0,W.getErrorMessage)(i)}`)}}function tryProcessResponse(i,u){try{i.setAttribute("http.status_code",u.status);const A=u.headers.get("x-ms-request-id");if(A){i.setAttribute("serviceRequestId",A)}if(u.status>=400){i.setStatus({status:"error"})}i.end()}catch(i){z.logger.warning(`Skipping tracing span processing due to an error: ${(0,W.getErrorMessage)(i)}`)}}0&&0},32799:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{userAgentPolicy:()=>userAgentPolicy,userAgentPolicyName:()=>G});i.exports=__toCommonJS(D);var L=A(28431);const U=(0,L.getUserAgentHeaderName)();const G="userAgentPolicy";function userAgentPolicy(i={}){const u=(0,L.getUserAgentValue)(i.userAgentPrefix);return{name:G,async sendRequest(i,A){if(!i.headers.has(U)){i.headers.set(U,await u)}return A(i)}}}0&&0},37466:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{wrapAbortSignalLikePolicy:()=>wrapAbortSignalLikePolicy,wrapAbortSignalLikePolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(91297);const U="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:U,sendRequest:async(i,u)=>{if(!i.abortSignal){return u(i)}const{abortSignal:A,cleanup:I}=(0,L.wrapAbortSignalLike)(i.abortSignal);i.abortSignal=A;try{return await u(i)}finally{I?.()}}}}0&&0},8666:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{RestError:()=>U,isRestError:()=>isRestError});i.exports=__toCommonJS(D);var L=A(41958);const U=L.RestError;function isRestError(i){return(0,L.isRestError)(i)}0&&0},36141:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createFile:()=>createFile});i.exports=__toCommonJS(D);var L=A(97073);function createFile(i,u,A={}){return(0,L.createRawFile)(i,u,A)}0&&0},97073:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createFile:()=>L.createFile,createFileFromStream:()=>createFileFromStream,createRawFile:()=>createRawFile,getRawContent:()=>getRawContent,hasRawContent:()=>hasRawContent});i.exports=__toCommonJS(D);var L=A(36141);function isNodeReadableStream(i){return typeof i==="object"&&i!==null&&"pipe"in i&&typeof i.pipe==="function"}const U={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 G=Symbol("rawContent");function hasRawContent(i){return typeof i[G]==="function"}function getRawContent(i){if(hasRawContent(i)){return i[G]()}else{return i}}function createRawFile(i,u,A={}){return{...U,type:A.type??"",lastModified:A.lastModified??(new Date).getTime(),webkitRelativePath:A.webkitRelativePath??"",size:i.byteLength,name:u,arrayBuffer:async()=>toArrayBuffer(i).buffer,stream:()=>new Blob([toArrayBuffer(i)]).stream(),[G]:()=>i}}function createFileFromStream(i,u,A={}){return{...U,type:A.type??"",lastModified:A.lastModified??(new Date).getTime(),webkitRelativePath:A.webkitRelativePath??"",size:A.size??-1,name:u,stream:()=>{const u=i();if(isNodeReadableStream(u)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return u},[G]:i}}function hasArrayBuffer(i){return"resize"in i.buffer}function toArrayBuffer(i){if(hasArrayBuffer(i)){if(i.byteOffset!==0||i.byteLength!==i.buffer.byteLength){return new Uint8Array(i)}return i}return i.map((i=>i))}0&&0},39202:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{DEFAULT_CYCLER_OPTIONS:()=>U,createTokenCycler:()=>createTokenCycler});i.exports=__toCommonJS(D);var L=A(87779);const U={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(i,u,A){async function tryGetAccessToken(){if(Date.now()i.getToken(u,D);A=beginRefresh(tryGetAccessToken,Q.retryIntervalInMs,I?.expiresOnTimestamp??Date.now()).then((i=>{A=null;I=i;B=D.tenantId;return I})).catch((i=>{A=null;I=null;B=void 0;throw i}))}return A}return async(i,u)=>{const A=Boolean(u.claims);const Q=B!==u.tenantId;if(A){I=null}const D=Q||A||P.mustRefresh;if(D){return refresh(i,u)}if(P.shouldRefresh){refresh(i,u)}return I}}0&&0},28431:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{getUserAgentHeaderName:()=>getUserAgentHeaderName,getUserAgentValue:()=>getUserAgentValue});i.exports=__toCommonJS(D);var L=A(31848);var U=A(66427);function getUserAgentString(i){const u=[];for(const[A,I]of i){const i=I?`${A}/${I}`:A;u.push(i)}return u.join(" ")}function getUserAgentHeaderName(){return(0,L.getHeaderName)()}async function getUserAgentValue(i){const u=new Map;u.set("core-rest-pipeline",U.SDK_VERSION);await(0,L.setPlatformSpecificData)(u);const A=getUserAgentString(u);const I=i?`${i} ${A}`:A;return I}0&&0},31848:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{getHeaderName:()=>getHeaderName,setPlatformSpecificData:()=>setPlatformSpecificData});i.exports=__toCommonJS(U);var G=__toESM(A(48161));var z=__toESM(A(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(i){if(z.default&&z.default.versions){const u=`${G.default.type()} ${G.default.release()}; ${G.default.arch()}`;if(z.default.versions.bun){i.set("Bun",`${z.default.versions.bun} (${u})`)}else if(z.default.versions.deno){i.set("Deno",`${z.default.versions.deno} (${u})`)}else if(z.default.versions.node){i.set("Node",`${z.default.versions.node} (${u})`)}}}0&&0},91297:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{wrapAbortSignalLike:()=>wrapAbortSignalLike});i.exports=__toCommonJS(Q);function wrapAbortSignalLike(i){if(i instanceof AbortSignal){return{abortSignal:i}}if(i.aborted){return{abortSignal:AbortSignal.abort("reason"in i?i.reason:void 0)}}const u=new AbortController;let A=true;function cleanup(){if(A){i.removeEventListener("abort",listener);A=false}}function listener(){u.abort("reason"in i?i.reason:void 0);cleanup()}i.addEventListener("abort",listener);return{abortSignal:u.signal,cleanup:cleanup}}0&&0},20623:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.createTracingClient=u.useInstrumenter=void 0;var I=A(48729);Object.defineProperty(u,"useInstrumenter",{enumerable:true,get:function(){return I.useInstrumenter}});var B=A(93438);Object.defineProperty(u,"createTracingClient",{enumerable:true,get:function(){return B.createTracingClient}})},48729:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.createDefaultTracingSpan=createDefaultTracingSpan;u.createDefaultInstrumenter=createDefaultInstrumenter;u.useInstrumenter=useInstrumenter;u.getInstrumenter=getInstrumenter;const I=A(79186);const B=A(38914);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(i,u)=>({span:createDefaultTracingSpan(),tracingContext:(0,I.createTracingContext)({parentContext:u.tracingContext})}),withContext(i,u,...A){return u(...A)}}}function useInstrumenter(i){B.state.instrumenterImplementation=i}function getInstrumenter(){if(!B.state.instrumenterImplementation){B.state.instrumenterImplementation=createDefaultInstrumenter()}return B.state.instrumenterImplementation}},38914:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.state=void 0;u.state={instrumenterImplementation:undefined}},93438:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.createTracingClient=createTracingClient;const I=A(48729);const B=A(79186);function createTracingClient(i){const{namespace:u,packageName:A,packageVersion:Q}=i;function startSpan(i,P,D){const L=(0,I.getInstrumenter)().startSpan(i,{...D,packageName:A,packageVersion:Q,tracingContext:P?.tracingOptions?.tracingContext});let U=L.tracingContext;const G=L.span;if(!U.getValue(B.knownContextKeys.namespace)){U=U.setValue(B.knownContextKeys.namespace,u)}G.setAttribute("az.namespace",U.getValue(B.knownContextKeys.namespace));const z=Object.assign({},P,{tracingOptions:{...P?.tracingOptions,tracingContext:U}});return{span:G,updatedOptions:z}}async function withSpan(i,u,A,I){const{span:B,updatedOptions:Q}=startSpan(i,u,I);try{const i=await withContext(Q.tracingOptions.tracingContext,(()=>Promise.resolve(A(Q,B))));B.setStatus({status:"success"});return i}catch(i){B.setStatus({status:"error",error:i});throw i}finally{B.end()}}function withContext(i,u,...A){return(0,I.getInstrumenter)().withContext(i,u,...A)}function parseTraceparentHeader(i){return(0,I.getInstrumenter)().parseTraceparentHeader(i)}function createRequestHeaders(i){return(0,I.getInstrumenter)().createRequestHeaders(i)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},79186:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.TracingContextImpl=u.knownContextKeys=void 0;u.createTracingContext=createTracingContext;u.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function createTracingContext(i={}){let A=new TracingContextImpl(i.parentContext);if(i.span){A=A.setValue(u.knownContextKeys.span,i.span)}if(i.namespace){A=A.setValue(u.knownContextKeys.namespace,i.namespace)}return A}class TracingContextImpl{_contextMap;constructor(i){this._contextMap=i instanceof TracingContextImpl?new Map(i._contextMap):new Map}setValue(i,u){const A=new TracingContextImpl(this);A._contextMap.set(i,u);return A}getValue(i){return this._contextMap.get(i)}deleteValue(i){const u=new TracingContextImpl(this);u._contextMap.delete(i);return u}}u.TracingContextImpl=TracingContextImpl},95209:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(i,u){const A=new AbortController;function abortHandler(){A.abort()}u?.abortSignal?.addEventListener("abort",abortHandler);try{return await Promise.race(i.map((i=>i({abortSignal:A.signal}))))}finally{A.abort();u?.abortSignal?.removeEventListener("abort",abortHandler)}}},63128:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.createAbortablePromise=createAbortablePromise;const I=A(83134);function createAbortablePromise(i,u){const{cleanupBeforeAbort:A,abortSignal:B,abortErrorMsg:Q}=u??{};return new Promise(((u,P)=>{function rejectOnAbort(){P(new I.AbortError(Q??"The operation was aborted."))}function removeListeners(){B?.removeEventListener("abort",onAbort)}function onAbort(){A?.();removeListeners();rejectOnAbort()}if(B?.aborted){return rejectOnAbort()}try{i((i=>{removeListeners();u(i)}),(i=>{removeListeners();P(i)}))}catch(i){P(i)}B?.addEventListener("abort",onAbort)}))}},90636:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.delay=delay;u.calculateRetryDelay=calculateRetryDelay;const I=A(63128);const B=A(95750);const Q="The delay was aborted.";function delay(i,u){let A;const{abortSignal:B,abortErrorMsg:P}=u??{};return(0,I.createAbortablePromise)((u=>{A=setTimeout(u,i)}),{cleanupBeforeAbort:()=>clearTimeout(A),abortSignal:B,abortErrorMsg:P??Q})}function calculateRetryDelay(i,u){const A=u.retryDelayInMs*Math.pow(2,i);const I=Math.min(u.maxRetryDelayInMs,A);const Q=I/2+(0,B.getRandomIntegerInclusive)(0,I/2);return{retryAfterInMs:Q}}},99945:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.getErrorMessage=getErrorMessage;const I=A(95750);function getErrorMessage(i){if((0,I.isError)(i)){return i.message}else{let u;try{if(typeof i==="object"&&i){u=JSON.stringify(i)}else{u=String(i)}}catch(i){u="[unable to stringify input]"}return`Unknown error ${u}`}}},87779:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isWebWorker=u.isReactNative=u.isNodeRuntime=u.isNodeLike=u.isNode=u.isDeno=u.isBun=u.isBrowser=u.objectHasProperty=u.isObjectWithProperties=u.isDefined=u.getErrorMessage=u.delay=u.createAbortablePromise=u.cancelablePromiseRace=void 0;u.calculateRetryDelay=calculateRetryDelay;u.computeSha256Hash=computeSha256Hash;u.computeSha256Hmac=computeSha256Hmac;u.getRandomIntegerInclusive=getRandomIntegerInclusive;u.isError=isError;u.isObject=isObject;u.randomUUID=randomUUID;u.uint8ArrayToString=uint8ArrayToString;u.stringToUint8Array=stringToUint8Array;const I=A(61860);const B=I.__importStar(A(95750));var Q=A(95209);Object.defineProperty(u,"cancelablePromiseRace",{enumerable:true,get:function(){return Q.cancelablePromiseRace}});var P=A(63128);Object.defineProperty(u,"createAbortablePromise",{enumerable:true,get:function(){return P.createAbortablePromise}});var D=A(90636);Object.defineProperty(u,"delay",{enumerable:true,get:function(){return D.delay}});var L=A(99945);Object.defineProperty(u,"getErrorMessage",{enumerable:true,get:function(){return L.getErrorMessage}});var U=A(66277);Object.defineProperty(u,"isDefined",{enumerable:true,get:function(){return U.isDefined}});Object.defineProperty(u,"isObjectWithProperties",{enumerable:true,get:function(){return U.isObjectWithProperties}});Object.defineProperty(u,"objectHasProperty",{enumerable:true,get:function(){return U.objectHasProperty}});function calculateRetryDelay(i,u){return B.calculateRetryDelay(i,u)}function computeSha256Hash(i,u){return B.computeSha256Hash(i,u)}function computeSha256Hmac(i,u,A){return B.computeSha256Hmac(i,u,A)}function getRandomIntegerInclusive(i,u){return B.getRandomIntegerInclusive(i,u)}function isError(i){return B.isError(i)}function isObject(i){return B.isObject(i)}function randomUUID(){return B.randomUUID()}u.isBrowser=B.isBrowser;u.isBun=B.isBun;u.isDeno=B.isDeno;u.isNode=B.isNodeLike;u.isNodeLike=B.isNodeLike;u.isNodeRuntime=B.isNodeRuntime;u.isReactNative=B.isReactNative;u.isWebWorker=B.isWebWorker;function uint8ArrayToString(i,u){return B.uint8ArrayToString(i,u)}function stringToUint8Array(i,u){return B.stringToUint8Array(i,u)}},66277:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.isDefined=isDefined;u.isObjectWithProperties=isObjectWithProperties;u.objectHasProperty=objectHasProperty;function isDefined(i){return typeof i!=="undefined"&&i!==null}function isObjectWithProperties(i,u){if(!isDefined(i)||typeof i!=="object"){return false}for(const A of u){if(!objectHasProperty(i,A)){return false}}return true}function objectHasProperty(i,u){return isDefined(i)&&typeof i==="object"&&u in i}},78756:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{XML_ATTRKEY:()=>U.XML_ATTRKEY,XML_CHARKEY:()=>U.XML_CHARKEY,parseXML:()=>L.parseXML,stringifyXML:()=>L.stringifyXML});i.exports=__toCommonJS(D);var L=A(48133);var U=A(93406);0&&0},93406:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{XML_ATTRKEY:()=>P,XML_CHARKEY:()=>D});i.exports=__toCommonJS(Q);const P="$";const D="_";0&&0},48133:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{parseXML:()=>parseXML,stringifyXML:()=>stringifyXML});i.exports=__toCommonJS(D);var L=A(50591);var U=A(93406);function getCommonOptions(i){return{attributesGroupName:U.XML_ATTRKEY,textNodeName:i.xmlCharKey??U.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(i={}){return{...getCommonOptions(i),attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:i.rootName??"root",cdataPropName:i.cdataPropName??"__cdata"}}function getParserOptions(i={}){return{...getCommonOptions(i),parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:i.stopNodes,processEntities:true,trimValues:false}}function stringifyXML(i,u={}){const A=getSerializerOptions(u);const I=new L.XMLBuilder(A);const B={[A.rootNodeName]:i};const Q=I.build(B);return`${Q}`.replace(/\n/g,"")}async function parseXML(i,u={}){if(!i){throw new Error("Document is empty")}const A=L.XMLValidator.validate(i);if(A!==true){throw A}const I=new L.XMLParser(getParserOptions(u));const B=I.parse(i);if(B["?xml"]){delete B["?xml"]}if(!u.includeRoot){for(const i of Object.keys(B)){const u=B[i];return typeof u==="object"?{...u}:u}}return B}0&&0},26515:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.AzureLogger=void 0;u.setLogLevel=setLogLevel;u.getLogLevel=getLogLevel;u.createClientLogger=createClientLogger;const I=A(82490);const B=(0,I.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});u.AzureLogger=B.logger;function setLogLevel(i){B.setLogLevel(i)}function getLogLevel(){return B.getLogLevel()}function createClientLogger(i){return B.createClientLogger(i)}},41564:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BatchResponseParser:()=>BatchResponseParser});i.exports=__toCommonJS(D);var L=A(20778);var U=A(61584);var G=A(27323);var z=A(72995);var W=A(46370);const Y=": ";const J=" ";const $=-1;class BatchResponseParser{batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(i,u){if(!i||!i.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!u||u.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=i;this.subRequests=u;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${G.HTTP_LINE_ENDING}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==G.HTTPURLConnection.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const i=await(0,z.getBodyAsText)(this.batchResponse);const u=i.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const A=u.length;if(A!==this.subRequests.size&&A!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const I=new Array(A);let B=0;let Q=0;for(let i=0;i=0&&he{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{getBodyAsText:()=>getBodyAsText,utf8ByteLength:()=>utf8ByteLength});i.exports=__toCommonJS(D);var L=A(53563);var U=A(27323);async function getBodyAsText(i){let u=Buffer.alloc(U.BATCH_MAX_PAYLOAD_IN_BYTES);const A=await(0,L.streamToBuffer2)(i.readableStreamBody,u);u=u.slice(0,A);return u.toString()}function utf8ByteLength(i){return Buffer.byteLength(i)}0&&0},95561:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobBatch:()=>BlobBatch});i.exports=__toCommonJS(D);var L=A(87779);var U=A(50417);var G=A(20778);var z=A(87779);var W=A(51382);var Y=A(90372);var J=A(58913);var $=A(25984);var K=A(47764);var X=A(78756);var he=A(27323);var Ae=A(53952);var ye=A(60160);class BlobBatch{batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new InnerBatchRequest}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(i,u){await J.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(i);await u();this.batchRequest.postAddSubRequest(i)}finally{await J.Mutex.unlock(this.batch)}}setBatchType(i){if(!this.batchType){this.batchType=i}if(this.batchType!==i){throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}}async deleteBlob(i,u,A){let I;let B;if(typeof i==="string"&&(z.isNodeLike&&u instanceof W.StorageSharedKeyCredential||u instanceof W.AnonymousCredential||(0,U.isTokenCredential)(u))){I=i;B=u}else if(i instanceof Y.BlobClient){I=i.url;B=i.credential;A=u}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!A){A={}}return Ae.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",A,(async i=>{this.setBatchType("delete");await this.addSubRequestInternal({url:I,credential:B},(async()=>{await new Y.BlobClient(I,this.batchRequest.createPipeline(B)).delete(i)}))}))}async setBlobAccessTier(i,u,A,I){let B;let Q;let P;if(typeof i==="string"&&(z.isNodeLike&&u instanceof W.StorageSharedKeyCredential||u instanceof W.AnonymousCredential||(0,U.isTokenCredential)(u))){B=i;Q=u;P=A}else if(i instanceof Y.BlobClient){B=i.url;Q=i.credential;P=u;I=A}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!I){I={}}return Ae.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",I,(async i=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:B,credential:Q},(async()=>{await new Y.BlobClient(B,this.batchRequest.createPipeline(Q)).setAccessTier(P,i)}))}))}}class InnerBatchRequest{operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0;this.body="";const i=(0,L.randomUUID)();this.boundary=`batch_${i}`;this.subRequestPrefix=`--${this.boundary}${he.HTTP_LINE_ENDING}${he.HeaderConstants.CONTENT_TYPE}: application/http${he.HTTP_LINE_ENDING}${he.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(i){const u=(0,G.createEmptyPipeline)();u.addPolicy((0,ye.serializationPolicy)({stringifyXML:X.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});u.addPolicy(batchHeaderFilterPolicy());u.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if((0,U.isTokenCredential)(i)){u.addPolicy((0,G.bearerTokenAuthenticationPolicy)({credential:i,scopes:he.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:ye.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(i instanceof W.StorageSharedKeyCredential){u.addPolicy((0,W.storageSharedKeyCredentialPolicy)({accountName:i.accountName,accountKey:i.accountKey}),{phase:"Sign"})}const A=new $.Pipeline([]);A._credential=i;A._corePipeline=u;return A}appendSubRequestToBody(i){this.body+=[this.subRequestPrefix,`${he.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${i.method.toString()} ${(0,K.getURLPathAndQuery)(i.url)} ${he.HTTP_VERSION_1_1}${he.HTTP_LINE_ENDING}`].join(he.HTTP_LINE_ENDING);for(const[u,A]of i.headers){this.body+=`${u}: ${A}${he.HTTP_LINE_ENDING}`}this.body+=he.HTTP_LINE_ENDING}preAddSubRequest(i){if(this.operationCount>=he.BATCH_MAX_REQUEST){throw new RangeError(`Cannot exceed ${he.BATCH_MAX_REQUEST} sub requests in a single batch`)}const u=(0,K.getURLPath)(i.url);if(!u||u===""){throw new RangeError(`Invalid url for sub request: '${i.url}'`)}}postAddSubRequest(i){this.subRequests.set(this.operationCount,i);this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${he.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}}function batchRequestAssemblePolicy(i){return{name:"batchRequestAssemblePolicy",async sendRequest(u){i.appendSubRequestToBody(u);return{request:u,status:200,headers:(0,G.createHttpHeaders)()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(i,u){let A="";for(const[u]of i.headers){if((0,K.iEqual)(u,he.HeaderConstants.X_MS_VERSION)){A=u}}if(A!==""){i.headers.delete(A)}return u(i)}}}0&&0},12094:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobBatchClient:()=>BlobBatchClient});i.exports=__toCommonJS(D);var L=A(41564);var U=A(72995);var G=A(95561);var z=A(53952);var W=A(51382);var Y=A(53789);var J=A(25984);var $=A(47764);class BlobBatchClient{serviceOrContainerContext;constructor(i,u,A){let I;if((0,J.isPipelineLike)(u)){I=u}else if(!u){I=(0,J.newPipeline)(new W.AnonymousCredential,A)}else{I=(0,J.newPipeline)(u,A)}const B=new Y.StorageContextClient(i,(0,J.getCoreClientOptions)(I));const Q=(0,$.getURLPath)(i);if(Q&&Q!=="/"){this.serviceOrContainerContext=B.container}else{this.serviceOrContainerContext=B.service}}createBatch(){return new G.BlobBatch}async deleteBlobs(i,u,A){const I=new G.BlobBatch;for(const B of i){if(typeof B==="string"){await I.deleteBlob(B,u,A)}else{await I.deleteBlob(B,u)}}return this.submitBatch(I)}async setBlobsAccessTier(i,u,A,I){const B=new G.BlobBatch;for(const Q of i){if(typeof Q==="string"){await B.setBlobAccessTier(Q,u,A,I)}else{await B.setBlobAccessTier(Q,u,A)}}return this.submitBatch(B)}async submitBatch(i,u={}){if(!i||i.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return z.tracingClient.withSpan("BlobBatchClient-submitBatch",u,(async u=>{const A=i.getHttpRequestBody();const I=(0,$.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,U.utf8ByteLength)(A),i.getMultiPartContentType(),A,{...u}));const B=new L.BatchResponseParser(I,i.getSubRequests());const Q=await B.parseBatchResponse();const P={_response:I._response,contentType:I.contentType,errorCode:I.errorCode,requestId:I.requestId,clientRequestId:I.clientRequestId,version:I.version,subResponses:Q.subResponses,subResponsesSucceededCount:Q.subResponsesSucceededCount,subResponsesFailedCount:Q.subResponsesFailedCount};return P}))}}0&&0},4894:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobDownloadResponse:()=>BlobDownloadResponse});i.exports=__toCommonJS(D);var L=A(87779);var U=A(51382);var G=A(98684);class BlobDownloadResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return L.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(i,u,A,I,B={}){this.originalResponse=i;const Q=this.originalResponse.structuredBodyType===void 0?this.originalResponse.readableStreamBody:(0,U.structuredMessageDecodingStream)(this.originalResponse.readableStreamBody,B);this.blobDownloadStream=new G.RetriableReadableStream(Q,u,A,I,B)}}0&&0},23276:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobLeaseClient:()=>BlobLeaseClient});i.exports=__toCommonJS(D);var L=A(87779);var U=A(27323);var G=A(53952);var z=A(47764);class BlobLeaseClient{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(i,u){const A=i.storageClientContext;this._url=i.url;if(i.name===void 0){this._isContainer=true;this._containerOrBlobOperation=A.container}else{this._isContainer=false;this._containerOrBlobOperation=A.blob}if(!u){u=(0,L.randomUUID)()}this._leaseId=u}async acquireLease(i,u={}){if(this._isContainer&&(u.conditions?.ifMatch&&u.conditions?.ifMatch!==U.ETagNone||u.conditions?.ifNoneMatch&&u.conditions?.ifNoneMatch!==U.ETagNone||u.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return G.tracingClient.withSpan("BlobLeaseClient-acquireLease",u,(async A=>(0,z.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:u.abortSignal,duration:i,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:A.tracingOptions}))))}async changeLease(i,u={}){if(this._isContainer&&(u.conditions?.ifMatch&&u.conditions?.ifMatch!==U.ETagNone||u.conditions?.ifNoneMatch&&u.conditions?.ifNoneMatch!==U.ETagNone||u.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return G.tracingClient.withSpan("BlobLeaseClient-changeLease",u,(async A=>{const I=(0,z.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,i,{abortSignal:u.abortSignal,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},tracingOptions:A.tracingOptions}));this._leaseId=i;return I}))}async releaseLease(i={}){if(this._isContainer&&(i.conditions?.ifMatch&&i.conditions?.ifMatch!==U.ETagNone||i.conditions?.ifNoneMatch&&i.conditions?.ifNoneMatch!==U.ETagNone||i.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return G.tracingClient.withSpan("BlobLeaseClient-releaseLease",i,(async u=>(0,z.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:i.abortSignal,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:u.tracingOptions}))))}async renewLease(i={}){if(this._isContainer&&(i.conditions?.ifMatch&&i.conditions?.ifMatch!==U.ETagNone||i.conditions?.ifNoneMatch&&i.conditions?.ifNoneMatch!==U.ETagNone||i.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return G.tracingClient.withSpan("BlobLeaseClient-renewLease",i,(async u=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:i.abortSignal,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:u.tracingOptions})))}async breakLease(i,u={}){if(this._isContainer&&(u.conditions?.ifMatch&&u.conditions?.ifMatch!==U.ETagNone||u.conditions?.ifNoneMatch&&u.conditions?.ifNoneMatch!==U.ETagNone||u.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return G.tracingClient.withSpan("BlobLeaseClient-breakLease",u,(async A=>{const I={abortSignal:u.abortSignal,breakPeriod:i,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},tracingOptions:A.tracingOptions};return(0,z.assertResponse)(await this._containerOrBlobOperation.breakLease(I))}))}}0&&0},95602:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobQueryResponse:()=>BlobQueryResponse});i.exports=__toCommonJS(D);var L=A(87779);var U=A(36426);class BlobQueryResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return void 0}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 void 0}get readableStreamBody(){return L.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(i,u={}){this.originalResponse=i;this.blobDownloadStream=new U.BlobQuickQueryStream(this.originalResponse.readableStreamBody,u)}}0&&0},96341:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobServiceClient:()=>BlobServiceClient});i.exports=__toCommonJS(D);var L=A(50417);var U=A(20778);var G=A(87779);var z=A(25984);var W=A(81884);var Y=A(47764);var J=A(51382);var $=A(47764);var K=A(53952);var X=A(12094);var he=A(73542);var Ae=A(6358);var ye=A(85238);var be=A(46940);function isBlobGetUserDelegationKeyParameters(i){if(!i||typeof i!=="object"){return false}const u=i;return u.expiresOn instanceof Date}class BlobServiceClient extends he.StorageClient{serviceContext;blobClientConfig;static fromConnectionString(i,u){u=u||{};const A=(0,Y.extractConnectionStringParts)(i);if(A.kind==="AccountConnString"){if(G.isNodeLike){const i=new J.StorageSharedKeyCredential(A.accountName,A.accountKey);if(!u.proxyOptions){u.proxyOptions=(0,U.getDefaultProxySettings)(A.proxyUri)}const I=(0,z.newPipeline)(i,u);return new BlobServiceClient(A.url,I)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(A.kind==="SASConnString"){const i=(0,z.newPipeline)(new J.AnonymousCredential,u);return new BlobServiceClient(A.url+"?"+A.accountSas,i,u)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(i,u,A){A=A??{};let I;if((0,z.isPipelineLike)(u)){I=u}else if(G.isNodeLike&&u instanceof J.StorageSharedKeyCredential||u instanceof J.AnonymousCredential||(0,L.isTokenCredential)(u)){I=(0,z.newPipeline)(u,A)}else{I=(0,z.newPipeline)(new J.AnonymousCredential,A)}super(i,I);this.serviceContext=this.storageClientContext.service;this.blobClientConfig=A}getContainerClient(i){return new W.ContainerClient((0,Y.appendToURLPath)(this.url,encodeURIComponent(i)),this.pipeline,this.blobClientConfig)}async createContainer(i,u={}){return K.tracingClient.withSpan("BlobServiceClient-createContainer",u,(async u=>{const A=this.getContainerClient(i);const I=await A.create(u);return{containerClient:A,containerCreateResponse:I}}))}async deleteContainer(i,u={}){return K.tracingClient.withSpan("BlobServiceClient-deleteContainer",u,(async u=>{const A=this.getContainerClient(i);return A.delete(u)}))}async undeleteContainer(i,u,A={}){return K.tracingClient.withSpan("BlobServiceClient-undeleteContainer",A,(async I=>{const B=this.getContainerClient(A.destinationContainerName||i);const Q=B["storageClientContext"].container;const P=(0,$.assertResponse)(await Q.restore({deletedContainerName:i,deletedContainerVersion:u,tracingOptions:I.tracingOptions}));return{containerClient:B,containerUndeleteResponse:P}}))}async getProperties(i={}){return K.tracingClient.withSpan("BlobServiceClient-getProperties",i,(async u=>(0,$.assertResponse)(await this.serviceContext.getProperties({abortSignal:i.abortSignal,tracingOptions:u.tracingOptions}))))}async setProperties(i,u={}){return K.tracingClient.withSpan("BlobServiceClient-setProperties",u,(async A=>(0,$.assertResponse)(await this.serviceContext.setProperties(i,{abortSignal:u.abortSignal,tracingOptions:A.tracingOptions}))))}async getStatistics(i={}){return K.tracingClient.withSpan("BlobServiceClient-getStatistics",i,(async u=>(0,$.assertResponse)(await this.serviceContext.getStatistics({abortSignal:i.abortSignal,tracingOptions:u.tracingOptions}))))}async getAccountInfo(i={}){return K.tracingClient.withSpan("BlobServiceClient-getAccountInfo",i,(async u=>(0,$.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:u.tracingOptions}))))}async listContainersSegment(i,u={}){return K.tracingClient.withSpan("BlobServiceClient-listContainersSegment",u,(async A=>(0,$.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:u.abortSignal,marker:i,...u,include:typeof u.include==="string"?[u.include]:u.include,tracingOptions:A.tracingOptions}))))}async findBlobsByTagsSegment(i,u,A={}){return K.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",A,(async I=>{const B=(0,$.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:A.abortSignal,where:i,marker:u,maxPageSize:A.maxPageSize,tracingOptions:I.tracingOptions}));const Q={...B,_response:B._response,blobs:B.blobs.map((i=>{let u="";if(i.tags?.blobTagSet.length===1){u=i.tags.blobTagSet[0].value}return{...i,tags:(0,Y.toTags)(i.tags),tagValue:u}}))};return Q}))}async*findBlobsByTagsSegments(i,u,A={}){let I;if(!!u||u===void 0){do{I=await this.findBlobsByTagsSegment(i,u,A);I.blobs=I.blobs||[];u=I.continuationToken;yield I}while(u)}}async*findBlobsByTagsItems(i,u={}){let A;for await(const I of this.findBlobsByTagsSegments(i,A,u)){yield*I.blobs}}findBlobsByTags(i,u={}){const A={...u};const I=this.findBlobsByTagsItems(i,A);return{next(){return I.next()},[Symbol.asyncIterator](){return this},byPage:(u={})=>this.findBlobsByTagsSegments(i,u.continuationToken,{maxPageSize:u.maxPageSize,...A})}}async*listSegments(i,u={}){let A;if(!!i||i===void 0){do{A=await this.listContainersSegment(i,u);A.containerItems=A.containerItems||[];i=A.continuationToken;yield await A}while(i)}}async*listItems(i={}){let u;for await(const A of this.listSegments(u,i)){yield*A.containerItems}}listContainers(i={}){if(i.prefix===""){i.prefix=void 0}const u=[];if(i.includeDeleted){u.push("deleted")}if(i.includeMetadata){u.push("metadata")}if(i.includeSystem){u.push("system")}const A={...i,...u.length>0?{include:u}:{}};const I=this.listItems(A);return{next(){return I.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listSegments(i.continuationToken,{maxPageSize:i.maxPageSize,...A})}}async getUserDelegationKey(i,u,A={}){let I=i;let B=u;let Q=void 0;let P=A;if(isBlobGetUserDelegationKeyParameters(i)){I=i.startsOn;B=i.expiresOn;Q=i.delegatedUserTenantId;P=u;P=P??{}}return K.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",P,(async i=>{const u=(0,$.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,$.truncatedISO8061Date)(I,false),expiresOn:(0,$.truncatedISO8061Date)(B,false),delegatedUserTid:Q},{abortSignal:P.abortSignal,tracingOptions:i.tracingOptions}));const A={signedObjectId:u.signedObjectId,signedTenantId:u.signedTenantId,signedStartsOn:new Date(u.signedStartsOn),signedExpiresOn:new Date(u.signedExpiresOn),signedService:u.signedService,signedVersion:u.signedVersion,signedDelegatedUserTenantId:u.signedDelegatedUserTenantId,value:u.value};const D={_response:u._response,requestId:u.requestId,clientRequestId:u.clientRequestId,version:u.version,date:u.date,errorCode:u.errorCode,...A};return D}))}getBlobBatchClient(){return new X.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(i,u=Ae.AccountSASPermissions.parse("r"),A="sco",I={}){if(!(this.credential instanceof J.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(i===void 0){const u=new Date;i=new Date(u.getTime()+3600*1e3)}const B=(0,ye.generateAccountSASQueryParameters)({permissions:u,expiresOn:i,resourceTypes:A,services:be.AccountSASServices.parse("b").toString(),...I},this.credential).toString();return(0,Y.appendToURLQuery)(this.url,B)}generateSasStringToSign(i,u=Ae.AccountSASPermissions.parse("r"),A="sco",I={}){if(!(this.credential instanceof J.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(i===void 0){const u=new Date;i=new Date(u.getTime()+3600*1e3)}return(0,ye.generateAccountSASQueryParametersInternal)({permissions:u,expiresOn:i,resourceTypes:A,services:be.AccountSASServices.parse("b").toString(),...I},this.credential).stringToSign}}0&&0},90372:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{AppendBlobClient:()=>AppendBlobClient,BlobClient:()=>BlobClient,BlockBlobClient:()=>BlockBlobClient,PageBlobClient:()=>PageBlobClient});i.exports=__toCommonJS(D);var L=A(20778);var U=A(50417);var G=A(87779);var z=A(87779);var W=A(4894);var Y=A(95602);var J=A(51382);var $=A(58560);var K=A(95302);var X=A(25984);var he=A(73145);var Ae=A(52045);var ye=A(73542);var be=A(81582);var Ee=A(51382);var Ce=A(27323);var we=A(53952);var ve=A(47764);var Se=A(53563);var Re=A(656);var Ne=A(23276);class BlobClient extends ye.StorageClient{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(i,u,A,I){I=I||{};let B;let Q;if((0,X.isPipelineLike)(u)){Q=i;B=u;I=A}else if(G.isNodeLike&&u instanceof J.StorageSharedKeyCredential||u instanceof J.AnonymousCredential||(0,U.isTokenCredential)(u)){Q=i;I=A;B=(0,X.newPipeline)(u,I)}else if(!u&&typeof u!=="string"){Q=i;if(A&&typeof A!=="string"){I=A}B=(0,X.newPipeline)(new J.AnonymousCredential,I)}else if(u&&typeof u==="string"&&A&&typeof A==="string"){const P=u;const D=A;const U=(0,ve.extractConnectionStringParts)(i);if(U.kind==="AccountConnString"){if(G.isNodeLike){const i=new J.StorageSharedKeyCredential(U.accountName,U.accountKey);Q=(0,ve.appendToURLPath)((0,ve.appendToURLPath)(U.url,encodeURIComponent(P)),encodeURIComponent(D));if(!I.proxyOptions){I.proxyOptions=(0,L.getDefaultProxySettings)(U.proxyUri)}B=(0,X.newPipeline)(i,I)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(U.kind==="SASConnString"){Q=(0,ve.appendToURLPath)((0,ve.appendToURLPath)(U.url,encodeURIComponent(P)),encodeURIComponent(D))+"?"+U.accountSas;B=(0,X.newPipeline)(new J.AnonymousCredential,I)}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(Q,B);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=(0,ve.getURLParameter)(this.url,Ce.URLConstants.Parameters.SNAPSHOT);this._versionId=(0,ve.getURLParameter)(this.url,Ce.URLConstants.Parameters.VERSIONID);this.blobClientConfig=I}withSnapshot(i){return new BlobClient((0,ve.setURLParameter)(this.url,Ce.URLConstants.Parameters.SNAPSHOT,i.length===0?void 0:i),this.pipeline,this.blobClientConfig)}withVersion(i){return new BlobClient((0,ve.setURLParameter)(this.url,Ce.URLConstants.Parameters.VERSIONID,i.length===0?void 0:i),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new AppendBlobClient(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new BlockBlobClient(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new PageBlobClient(this.url,this.pipeline,this.blobClientConfig)}async download(i=0,u,A={}){A.conditions=A.conditions||{};A.conditions=A.conditions||{};(0,$.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlobClient-download",A,(async I=>{let B=A.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;if(B===void 0){B="Customized"}else if(B==="Auto"){B="StorageCrc64"}if(B==="StorageCrc64"){await Ee.StorageCRC64Calculator.init()}const Q=(0,ve.assertResponse)(await this.blobContext.download({abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},requestOptions:{onDownloadProgress:G.isNodeLike?void 0:A.onProgress},range:i===0&&!u?void 0:(0,Ae.rangeToString)({offset:i,count:u}),rangeGetContentMD5:A.rangeGetContentMD5,rangeGetContentCRC64:A.rangeGetContentCrc64,snapshot:A.snapshot,cpkInfo:A.customerProvidedKey,tracingOptions:I.tracingOptions,structuredBodyType:B==="StorageCrc64"?"XSM/1.0; properties=crc64":void 0}));const P={...Q,_response:Q._response,objectReplicationDestinationPolicyId:Q.objectReplicationPolicyId,objectReplicationSourceProperties:(0,ve.parseObjectReplicationRecord)(Q.objectReplicationRules)};if(!G.isNodeLike){if(B==="StorageCrc64"){P.blobBody=(0,Ee.structuredMessageDecodingBrowser)(await P.blobBody)}return P}if(A.maxRetryRequests===void 0||A.maxRetryRequests<0){A.maxRetryRequests=Ce.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS}if(Q.contentLength===void 0){throw new RangeError(`File download response doesn't contain valid content length header`)}if(B==="StorageCrc64"&&Q.structuredContentLength===void 0){throw new RangeError(`Unexpected structured content length`)}if(!Q.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}const D=B==="StorageCrc64"?Q.structuredContentLength:Q.contentLength;return new W.BlobDownloadResponse(P,(async u=>{const I={leaseAccessConditions:A.conditions,modifiedAccessConditions:{ifMatch:A.conditions.ifMatch||Q.etag,ifModifiedSince:A.conditions.ifModifiedSince,ifNoneMatch:A.conditions.ifNoneMatch,ifUnmodifiedSince:A.conditions.ifUnmodifiedSince,ifTags:A.conditions?.tagConditions},range:(0,Ae.rangeToString)({count:i+D-u,offset:u}),rangeGetContentMD5:A.rangeGetContentMD5,rangeGetContentCRC64:A.rangeGetContentCrc64,snapshot:A.snapshot,cpkInfo:A.customerProvidedKey,structuredBodyType:B==="StorageCrc64"?"XSM/1.0; properties=crc64":void 0};const P=(await this.blobContext.download({abortSignal:A.abortSignal,...I})).readableStreamBody;if(B==="StorageCrc64"){return(0,J.structuredMessageDecodingStream)(P,{})}else{return P}}),i,D,{maxRetryRequests:A.maxRetryRequests,onProgress:A.onProgress})}))}async exists(i={}){return we.tracingClient.withSpan("BlobClient-exists",i,(async u=>{try{(0,$.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);await this.getProperties({abortSignal:i.abortSignal,customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,tracingOptions:u.tracingOptions});return true}catch(i){if(i.statusCode===404){return false}else if(i.statusCode===409&&(i.details.errorCode===Ce.BlobUsesCustomerSpecifiedEncryptionMsg||i.details.errorCode===Ce.BlobDoesNotUseCustomerSpecifiedEncryption)){return true}throw i}}))}async getProperties(i={}){i.conditions=i.conditions||{};(0,$.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlobClient-getProperties",i,(async u=>{const A=(0,ve.assertResponse)(await this.blobContext.getProperties({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,tracingOptions:u.tracingOptions}));return{...A,_response:A._response,objectReplicationDestinationPolicyId:A.objectReplicationPolicyId,objectReplicationSourceProperties:(0,ve.parseObjectReplicationRecord)(A.objectReplicationRules)}}))}async delete(i={}){i.conditions=i.conditions||{};return we.tracingClient.withSpan("BlobClient-delete",i,(async u=>(0,ve.assertResponse)(await this.blobContext.delete({abortSignal:i.abortSignal,deleteSnapshots:i.deleteSnapshots,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:u.tracingOptions,accessTierIfModifiedSince:i.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:i.conditions?.accessTierIfUnmodifiedSince}))))}async deleteIfExists(i={}){return we.tracingClient.withSpan("BlobClient-deleteIfExists",i,(async i=>{try{const u=(0,ve.assertResponse)(await this.delete(i));return{succeeded:true,...u,_response:u._response}}catch(i){if(i.details?.errorCode==="BlobNotFound"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async undelete(i={}){return we.tracingClient.withSpan("BlobClient-undelete",i,(async u=>(0,ve.assertResponse)(await this.blobContext.undelete({abortSignal:i.abortSignal,tracingOptions:u.tracingOptions}))))}async setHTTPHeaders(i,u={}){u.conditions=u.conditions||{};(0,$.ensureCpkIfSpecified)(u.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlobClient-setHTTPHeaders",u,(async A=>(0,ve.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:u.abortSignal,blobHttpHeaders:i,leaseAccessConditions:u.conditions,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},tracingOptions:A.tracingOptions}))))}async setMetadata(i,u={}){u.conditions=u.conditions||{};(0,$.ensureCpkIfSpecified)(u.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlobClient-setMetadata",u,(async A=>(0,ve.assertResponse)(await this.blobContext.setMetadata({abortSignal:u.abortSignal,leaseAccessConditions:u.conditions,metadata:i,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},cpkInfo:u.customerProvidedKey,encryptionScope:u.encryptionScope,tracingOptions:A.tracingOptions}))))}async setTags(i,u={}){return we.tracingClient.withSpan("BlobClient-setTags",u,(async A=>(0,ve.assertResponse)(await this.blobContext.setTags({abortSignal:u.abortSignal,leaseAccessConditions:u.conditions,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},blobModifiedAccessConditions:u.conditions,tracingOptions:A.tracingOptions,tags:(0,ve.toBlobTags)(i)}))))}async getTags(i={}){return we.tracingClient.withSpan("BlobClient-getTags",i,(async u=>{const A=(0,ve.assertResponse)(await this.blobContext.getTags({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},blobModifiedAccessConditions:i.conditions,tracingOptions:u.tracingOptions}));const I={...A,_response:A._response,tags:(0,ve.toTags)({blobTagSet:A.blobTagSet})||{}};return I}))}getBlobLeaseClient(i){return new Ne.BlobLeaseClient(this,i)}async createSnapshot(i={}){i.conditions=i.conditions||{};(0,$.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlobClient-createSnapshot",i,(async u=>(0,ve.assertResponse)(await this.blobContext.createSnapshot({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:u.tracingOptions}))))}async beginCopyFromURL(i,u={}){const A={abortCopyFromURL:(...i)=>this.abortCopyFromURL(...i),getProperties:(...i)=>this.getProperties(...i),startCopyFromURL:(...i)=>this.startCopyFromURL(...i)};const I=new he.BlobBeginCopyFromUrlPoller({blobClient:A,copySource:i,intervalInMs:u.intervalInMs,onProgress:u.onProgress,resumeFrom:u.resumeFrom,startCopyFromURLOptions:u});await I.poll();return I}async abortCopyFromURL(i,u={}){return we.tracingClient.withSpan("BlobClient-abortCopyFromURL",u,(async A=>(0,ve.assertResponse)(await this.blobContext.abortCopyFromURL(i,{abortSignal:u.abortSignal,leaseAccessConditions:u.conditions,tracingOptions:A.tracingOptions}))))}async syncCopyFromURL(i,u={}){u.conditions=u.conditions||{};u.sourceConditions=u.sourceConditions||{};return we.tracingClient.withSpan("BlobClient-syncCopyFromURL",u,(async A=>(0,ve.assertResponse)(await this.blobContext.copyFromURL(i,{abortSignal:u.abortSignal,metadata:u.metadata,leaseAccessConditions:u.conditions,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:u.sourceConditions?.ifMatch,sourceIfModifiedSince:u.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:u.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:u.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:u.sourceContentMD5,copySourceAuthorization:(0,ve.httpAuthorizationToString)(u.sourceAuthorization),tier:(0,$.toAccessTier)(u.tier),blobTagsString:(0,ve.toBlobTagsString)(u.tags),immutabilityPolicyExpiry:u.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:u.immutabilityPolicy?.policyMode,legalHold:u.legalHold,encryptionScope:u.encryptionScope,copySourceTags:u.copySourceTags,fileRequestIntent:u.sourceShareTokenIntent,tracingOptions:A.tracingOptions}))))}async setAccessTier(i,u={}){return we.tracingClient.withSpan("BlobClient-setAccessTier",u,(async A=>(0,ve.assertResponse)(await this.blobContext.setTier((0,$.toAccessTier)(i),{abortSignal:u.abortSignal,leaseAccessConditions:u.conditions,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},rehydratePriority:u.rehydratePriority,tracingOptions:A.tracingOptions}))))}async downloadToBuffer(i,u,A,I={}){let B;let Q=0;let P=0;let D=I;if(i instanceof Buffer){B=i;Q=u||0;P=typeof A==="number"?A:0}else{Q=typeof i==="number"?i:0;P=typeof u==="number"?u:0;D=A||{}}let L=D.blockSize??0;if(L<0){throw new RangeError("blockSize option must be >= 0")}if(L===0){L=Ce.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES}if(Q<0){throw new RangeError("offset option must be >= 0")}if(P&&P<=0){throw new RangeError("count option must be greater than 0")}if(!D.conditions){D.conditions={}}return we.tracingClient.withSpan("BlobClient-downloadToBuffer",D,(async i=>{if(!P){const u=await this.getProperties({...D,tracingOptions:i.tracingOptions});P=u.contentLength-Q;if(P<0){throw new RangeError(`offset ${Q} shouldn't be larger than blob size ${u.contentLength}`)}}if(!B){try{B=Buffer.alloc(P)}catch(i){throw new Error(`Unable to allocate the buffer of size: ${P}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${i.message}`)}}if(B.length{let A=Q+P;if(I+L{const Q=await this.download(u,A,{...I,tracingOptions:B.tracingOptions});if(Q.readableStreamBody){await(0,Se.readStreamToLocalFile)(Q.readableStreamBody,i)}Q.blobDownloadStream=void 0;return Q}))}getBlobAndContainerNamesFromUrl(){let i;let u;try{const A=new URL(this.url);if(A.host.split(".")[1]==="blob"){const I=A.pathname.match("/([^/]*)(/(.*))?");i=I[1];u=I[3]}else if((0,ve.isIpEndpointStyle)(A)){const I=A.pathname.match("/([^/]*)/([^/]*)(/(.*))?");i=I[2];u=I[4]}else{const I=A.pathname.match("/([^/]*)(/(.*))?");i=I[1];u=I[3]}i=decodeURIComponent(i);u=decodeURIComponent(u);u=u.replace(/\\/g,"/");if(!i){throw new Error("Provided containerName is invalid.")}return{blobName:u,containerName:i}}catch(i){throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(i,u={}){return we.tracingClient.withSpan("BlobClient-startCopyFromURL",u,(async A=>{u.conditions=u.conditions||{};u.sourceConditions=u.sourceConditions||{};return(0,ve.assertResponse)(await this.blobContext.startCopyFromURL(i,{abortSignal:u.abortSignal,leaseAccessConditions:u.conditions,metadata:u.metadata,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:u.sourceConditions.ifMatch,sourceIfModifiedSince:u.sourceConditions.ifModifiedSince,sourceIfNoneMatch:u.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:u.sourceConditions.ifUnmodifiedSince,sourceIfTags:u.sourceConditions.tagConditions},immutabilityPolicyExpiry:u.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:u.immutabilityPolicy?.policyMode,legalHold:u.legalHold,rehydratePriority:u.rehydratePriority,tier:(0,$.toAccessTier)(u.tier),blobTagsString:(0,ve.toBlobTagsString)(u.tags),sealBlob:u.sealBlob,tracingOptions:A.tracingOptions}))}))}generateSasUrl(i){return new Promise((u=>{if(!(this.credential instanceof J.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const A=(0,Re.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},this.credential).toString();u((0,ve.appendToURLQuery)(this.url,A))}))}generateSasStringToSign(i){if(!(this.credential instanceof J.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,Re.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},this.credential).stringToSign}generateUserDelegationSasUrl(i,u){return new Promise((A=>{const I=(0,Re.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},u,this.accountName).toString();A((0,ve.appendToURLQuery)(this.url,I))}))}generateUserDelegationSasStringToSign(i,u){return(0,Re.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},u,this.accountName).stringToSign}async deleteImmutabilityPolicy(i={}){return we.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",i,(async i=>(0,ve.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:i.tracingOptions}))))}async setImmutabilityPolicy(i,u={}){return we.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",u,(async u=>(0,ve.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:i.expiriesOn,immutabilityPolicyMode:i.policyMode,tracingOptions:u.tracingOptions}))))}async setLegalHold(i,u={}){return we.tracingClient.withSpan("BlobClient-setLegalHold",u,(async u=>(0,ve.assertResponse)(await this.blobContext.setLegalHold(i,{tracingOptions:u.tracingOptions}))))}async getAccountInfo(i={}){return we.tracingClient.withSpan("BlobClient-getAccountInfo",i,(async u=>(0,ve.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:u.tracingOptions}))))}}class AppendBlobClient extends BlobClient{appendBlobContext;constructor(i,u,A,I){let B;let Q;I=I||{};if((0,X.isPipelineLike)(u)){Q=i;B=u;I=A}else if(G.isNodeLike&&u instanceof J.StorageSharedKeyCredential||u instanceof J.AnonymousCredential||(0,U.isTokenCredential)(u)){Q=i;I=A;B=(0,X.newPipeline)(u,I)}else if(!u&&typeof u!=="string"){Q=i;I=A;B=(0,X.newPipeline)(new J.AnonymousCredential,I)}else if(u&&typeof u==="string"&&A&&typeof A==="string"){const P=u;const D=A;const U=(0,ve.extractConnectionStringParts)(i);if(U.kind==="AccountConnString"){if(G.isNodeLike){const i=new J.StorageSharedKeyCredential(U.accountName,U.accountKey);Q=(0,ve.appendToURLPath)((0,ve.appendToURLPath)(U.url,encodeURIComponent(P)),encodeURIComponent(D));if(!I.proxyOptions){I.proxyOptions=(0,L.getDefaultProxySettings)(U.proxyUri)}B=(0,X.newPipeline)(i,I)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(U.kind==="SASConnString"){Q=(0,ve.appendToURLPath)((0,ve.appendToURLPath)(U.url,encodeURIComponent(P)),encodeURIComponent(D))+"?"+U.accountSas;B=(0,X.newPipeline)(new J.AnonymousCredential,I)}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(Q,B);this.appendBlobContext=this.storageClientContext.appendBlob;this.blobClientConfig=I}withSnapshot(i){return new AppendBlobClient((0,ve.setURLParameter)(this.url,Ce.URLConstants.Parameters.SNAPSHOT,i.length===0?void 0:i),this.pipeline,this.blobClientConfig)}async create(i={}){i.conditions=i.conditions||{};(0,$.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("AppendBlobClient-create",i,(async u=>(0,ve.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:i.abortSignal,blobHttpHeaders:i.blobHTTPHeaders,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,immutabilityPolicyExpiry:i.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:i.immutabilityPolicy?.policyMode,legalHold:i.legalHold,blobTagsString:(0,ve.toBlobTagsString)(i.tags),tracingOptions:u.tracingOptions}))))}async createIfNotExists(i={}){const u={ifNoneMatch:Ce.ETagAny};return we.tracingClient.withSpan("AppendBlobClient-createIfNotExists",i,(async i=>{try{const A=(0,ve.assertResponse)(await this.create({...i,conditions:u}));return{succeeded:true,...A,_response:A._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async seal(i={}){i.conditions=i.conditions||{};return we.tracingClient.withSpan("AppendBlobClient-seal",i,(async u=>(0,ve.assertResponse)(await this.appendBlobContext.seal({abortSignal:i.abortSignal,appendPositionAccessConditions:i.conditions,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:u.tracingOptions}))))}async appendBlock(i,u,A={}){A.conditions=A.conditions||{};(0,$.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("AppendBlobClient-appendBlock",A,(async I=>{const B={abortSignal:A.abortSignal,appendPositionAccessConditions:A.conditions,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},requestOptions:{onUploadProgress:A.onProgress},cpkInfo:A.customerProvidedKey,encryptionScope:A.encryptionScope,tracingOptions:I.tracingOptions};const Q=await(0,ve.setUploadChecksumParameters)(i,u,B,A,this.blobClientConfig?.uploadContentChecksumAlgorithm);return(0,ve.assertResponse)(await this.appendBlobContext.appendBlock(Q.contentLength,Q.body,B))}))}async appendBlockFromURL(i,u,A,I={}){I.conditions=I.conditions||{};I.sourceConditions=I.sourceConditions||{};(0,$.ensureCpkIfSpecified)(I.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",I,(async B=>(0,ve.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(i,0,{abortSignal:I.abortSignal,sourceRange:(0,Ae.rangeToString)({offset:u,count:A}),sourceContentMD5:I.sourceContentMD5,sourceContentCrc64:I.sourceContentCrc64,leaseAccessConditions:I.conditions,appendPositionAccessConditions:I.conditions,modifiedAccessConditions:{...I.conditions,ifTags:I.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:I.sourceConditions?.ifMatch,sourceIfModifiedSince:I.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:I.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:I.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,ve.httpAuthorizationToString)(I.sourceAuthorization),cpkInfo:I.customerProvidedKey,encryptionScope:I.encryptionScope,fileRequestIntent:I.sourceShareTokenIntent,tracingOptions:B.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:I.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:I.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:I.sourceCustomerProvidedKey?.encryptionKeySha256}}))))}}class BlockBlobClient extends BlobClient{_blobContext;blockBlobContext;constructor(i,u,A,I){let B;let Q;I=I||{};if((0,X.isPipelineLike)(u)){Q=i;B=u;I=A}else if(G.isNodeLike&&u instanceof J.StorageSharedKeyCredential||u instanceof J.AnonymousCredential||(0,U.isTokenCredential)(u)){Q=i;I=A;B=(0,X.newPipeline)(u,I)}else if(!u&&typeof u!=="string"){Q=i;if(A&&typeof A!=="string"){I=A}B=(0,X.newPipeline)(new J.AnonymousCredential,I)}else if(u&&typeof u==="string"&&A&&typeof A==="string"){const P=u;const D=A;const U=(0,ve.extractConnectionStringParts)(i);if(U.kind==="AccountConnString"){if(G.isNodeLike){const i=new J.StorageSharedKeyCredential(U.accountName,U.accountKey);Q=(0,ve.appendToURLPath)((0,ve.appendToURLPath)(U.url,encodeURIComponent(P)),encodeURIComponent(D));if(!I.proxyOptions){I.proxyOptions=(0,L.getDefaultProxySettings)(U.proxyUri)}B=(0,X.newPipeline)(i,I)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(U.kind==="SASConnString"){Q=(0,ve.appendToURLPath)((0,ve.appendToURLPath)(U.url,encodeURIComponent(P)),encodeURIComponent(D))+"?"+U.accountSas;B=(0,X.newPipeline)(new J.AnonymousCredential,I)}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(Q,B);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob;this.blobClientConfig=I}withSnapshot(i){return new BlockBlobClient((0,ve.setURLParameter)(this.url,Ce.URLConstants.Parameters.SNAPSHOT,i.length===0?void 0:i),this.pipeline,this.blobClientConfig)}async query(i,u={}){(0,$.ensureCpkIfSpecified)(u.customerProvidedKey,this.isHttps);if(!G.isNodeLike){throw new Error("This operation currently is only supported in Node.js.")}return we.tracingClient.withSpan("BlockBlobClient-query",u,(async A=>{const I=(0,ve.assertResponse)(await this._blobContext.query({abortSignal:u.abortSignal,queryRequest:{queryType:"SQL",expression:i,inputSerialization:(0,ve.toQuerySerialization)(u.inputTextConfiguration),outputSerialization:(0,ve.toQuerySerialization)(u.outputTextConfiguration)},leaseAccessConditions:u.conditions,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},cpkInfo:u.customerProvidedKey,tracingOptions:A.tracingOptions}));return new Y.BlobQueryResponse(I,{abortSignal:u.abortSignal,onProgress:u.onProgress,onError:u.onError})}))}async upload(i,u,A={}){A.conditions=A.conditions||{};(0,$.ensureCpkIfSpecified)(A.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlockBlobClient-upload",A,(async I=>{const B={abortSignal:A.abortSignal,blobHttpHeaders:A.blobHTTPHeaders,leaseAccessConditions:A.conditions,metadata:A.metadata,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},requestOptions:{onUploadProgress:A.onProgress},cpkInfo:A.customerProvidedKey,encryptionScope:A.encryptionScope,immutabilityPolicyExpiry:A.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:A.immutabilityPolicy?.policyMode,legalHold:A.legalHold,tier:(0,$.toAccessTier)(A.tier),blobTagsString:(0,ve.toBlobTagsString)(A.tags),tracingOptions:I.tracingOptions};const Q=await(0,ve.setUploadChecksumParameters)(i,u,B,A,this.blobClientConfig?.uploadContentChecksumAlgorithm);return(0,ve.assertResponse)(await this.blockBlobContext.upload(Q.contentLength,Q.body,B))}))}async syncUploadFromURL(i,u={}){u.conditions=u.conditions||{};(0,$.ensureCpkIfSpecified)(u.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",u,(async A=>(0,ve.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,i,{...u,blobHttpHeaders:u.blobHTTPHeaders,leaseAccessConditions:u.conditions,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:u.sourceConditions?.ifMatch,sourceIfModifiedSince:u.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:u.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:u.sourceConditions?.ifUnmodifiedSince,sourceIfTags:u.sourceConditions?.tagConditions},cpkInfo:u.customerProvidedKey,copySourceAuthorization:(0,ve.httpAuthorizationToString)(u.sourceAuthorization),tier:(0,$.toAccessTier)(u.tier),blobTagsString:(0,ve.toBlobTagsString)(u.tags),copySourceTags:u.copySourceTags,fileRequestIntent:u.sourceShareTokenIntent,tracingOptions:A.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:u.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:u.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:u.sourceCustomerProvidedKey?.encryptionKeySha256}}))))}async stageBlock(i,u,A,I={}){(0,$.ensureCpkIfSpecified)(I.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlockBlobClient-stageBlock",I,(async B=>{const Q={abortSignal:I.abortSignal,leaseAccessConditions:I.conditions,requestOptions:{onUploadProgress:I.onProgress},cpkInfo:I.customerProvidedKey,encryptionScope:I.encryptionScope,tracingOptions:B.tracingOptions};const P=await(0,ve.setUploadChecksumParameters)(u,A,Q,I,this.blobClientConfig?.uploadContentChecksumAlgorithm);return(0,ve.assertResponse)(await this.blockBlobContext.stageBlock(i,P.contentLength,P.body,Q))}))}async stageBlockFromURL(i,u,A=0,I,B={}){(0,$.ensureCpkIfSpecified)(B.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",B,(async Q=>(0,ve.assertResponse)(await this.blockBlobContext.stageBlockFromURL(i,0,u,{abortSignal:B.abortSignal,leaseAccessConditions:B.conditions,sourceContentMD5:B.sourceContentMD5,sourceContentCrc64:B.sourceContentCrc64,sourceRange:A===0&&!I?void 0:(0,Ae.rangeToString)({offset:A,count:I}),cpkInfo:B.customerProvidedKey,encryptionScope:B.encryptionScope,copySourceAuthorization:(0,ve.httpAuthorizationToString)(B.sourceAuthorization),fileRequestIntent:B.sourceShareTokenIntent,tracingOptions:Q.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:B.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:B.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:B.sourceCustomerProvidedKey?.encryptionKeySha256}}))))}async commitBlockList(i,u={}){u.conditions=u.conditions||{};(0,$.ensureCpkIfSpecified)(u.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("BlockBlobClient-commitBlockList",u,(async A=>(0,ve.assertResponse)(await this.blockBlobContext.commitBlockList({latest:i},{abortSignal:u.abortSignal,blobHttpHeaders:u.blobHTTPHeaders,leaseAccessConditions:u.conditions,metadata:u.metadata,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},cpkInfo:u.customerProvidedKey,encryptionScope:u.encryptionScope,immutabilityPolicyExpiry:u.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:u.immutabilityPolicy?.policyMode,legalHold:u.legalHold,tier:(0,$.toAccessTier)(u.tier),blobTagsString:(0,ve.toBlobTagsString)(u.tags),tracingOptions:A.tracingOptions}))))}async getBlockList(i,u={}){return we.tracingClient.withSpan("BlockBlobClient-getBlockList",u,(async A=>{const I=(0,ve.assertResponse)(await this.blockBlobContext.getBlockList(i,{abortSignal:u.abortSignal,leaseAccessConditions:u.conditions,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},tracingOptions:A.tracingOptions}));if(!I.committedBlocks){I.committedBlocks=[]}if(!I.uncommittedBlocks){I.uncommittedBlocks=[]}return I}))}async uploadData(i,u={}){return we.tracingClient.withSpan("BlockBlobClient-uploadData",u,(async u=>{if(G.isNodeLike){let A;if(i instanceof Buffer){A=i}else if(i instanceof ArrayBuffer){A=Buffer.from(i)}else{i=i;A=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}return this.uploadSeekableInternal(((i,u)=>A.slice(i,i+u)),A.byteLength,u)}else{const A=new Blob([i]);return this.uploadSeekableInternal(((i,u)=>A.slice(i,i+u)),A.size,u)}}))}async uploadBrowserData(i,u={}){return we.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",u,(async u=>{const A=new Blob([i]);return this.uploadSeekableInternal(((i,u)=>A.slice(i,i+u)),A.size,u)}))}async uploadSeekableInternal(i,u,A={}){let I=A.blockSize??0;if(I<0||I>Ce.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES){throw new RangeError(`blockSize option must be >= 0 and <= ${Ce.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`)}const B=A.maxSingleShotSize??Ce.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(B<0||B>Ce.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${Ce.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`)}if(I===0){if(u>Ce.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*Ce.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`${u} is too larger to upload to a block blob.`)}if(u>B){I=Math.ceil(u/Ce.BLOCK_BLOB_MAX_BLOCKS);if(I{if(u<=B){return(0,ve.assertResponse)(await this.upload(i(0,u),u,Q))}const P=Math.floor((u-1)/I)+1;if(P>Ce.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${Ce.BLOCK_BLOB_MAX_BLOCKS}`)}const D=[];const L=(0,z.randomUUID)();let U=0;const G=new be.Batch(A.concurrency);for(let B=0;B{const G=(0,ve.generateBlockID)(L,B);const z=I*B;const W=B===P-1?u:z+I;const Y=W-z;D.push(G);await this.stageBlock(G,i(z,Y),Y,{abortSignal:A.abortSignal,conditions:A.conditions,encryptionScope:A.encryptionScope,tracingOptions:Q.tracingOptions,contentChecksumAlgorithm:A.contentChecksumAlgorithm});U+=Y;if(A.onProgress){A.onProgress({loadedBytes:U})}}))}await G.do();return this.commitBlockList(D,Q)}))}async uploadFile(i,u={}){return we.tracingClient.withSpan("BlockBlobClient-uploadFile",u,(async A=>{const I=(await(0,Se.fsStat)(i)).size;return this.uploadSeekableInternal(((u,A)=>()=>(0,Se.fsCreateReadStream)(i,{autoClose:true,end:A?u+A-1:Infinity,start:u})),I,{...u,tracingOptions:A.tracingOptions})}))}async uploadStream(i,u=Ce.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,A=5,I={}){if(!I.blobHTTPHeaders){I.blobHTTPHeaders={}}if(!I.conditions){I.conditions={}}return we.tracingClient.withSpan("BlockBlobClient-uploadStream",I,(async B=>{let Q=0;const P=(0,z.randomUUID)();let D=0;const L=[];const U=new Ee.BufferScheduler(i,u,A,(async(i,u)=>{const A=(0,ve.generateBlockID)(P,Q);L.push(A);Q++;await this.stageBlock(A,i,u,{customerProvidedKey:I.customerProvidedKey,conditions:I.conditions,encryptionScope:I.encryptionScope,tracingOptions:B.tracingOptions,contentChecksumAlgorithm:I.contentChecksumAlgorithm});D+=u;if(I.onProgress){I.onProgress({loadedBytes:D})}}),Math.ceil(A/4*3));await U.do();return(0,ve.assertResponse)(await this.commitBlockList(L,{...I,tracingOptions:B.tracingOptions}))}))}}class PageBlobClient extends BlobClient{pageBlobContext;constructor(i,u,A,I){let B;let Q;I=I||{};if((0,X.isPipelineLike)(u)){Q=i;B=u;I=A}else if(G.isNodeLike&&u instanceof J.StorageSharedKeyCredential||u instanceof J.AnonymousCredential||(0,U.isTokenCredential)(u)){Q=i;I=A;B=(0,X.newPipeline)(u,I)}else if(!u&&typeof u!=="string"){Q=i;I=A;B=(0,X.newPipeline)(new J.AnonymousCredential,I)}else if(u&&typeof u==="string"&&A&&typeof A==="string"){const P=u;const D=A;const U=(0,ve.extractConnectionStringParts)(i);if(U.kind==="AccountConnString"){if(G.isNodeLike){const i=new J.StorageSharedKeyCredential(U.accountName,U.accountKey);Q=(0,ve.appendToURLPath)((0,ve.appendToURLPath)(U.url,encodeURIComponent(P)),encodeURIComponent(D));if(!I.proxyOptions){I.proxyOptions=(0,L.getDefaultProxySettings)(U.proxyUri)}B=(0,X.newPipeline)(i,I)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(U.kind==="SASConnString"){Q=(0,ve.appendToURLPath)((0,ve.appendToURLPath)(U.url,encodeURIComponent(P)),encodeURIComponent(D))+"?"+U.accountSas;B=(0,X.newPipeline)(new J.AnonymousCredential,I)}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(Q,B);this.pageBlobContext=this.storageClientContext.pageBlob;this.blobClientConfig=I}withSnapshot(i){return new PageBlobClient((0,ve.setURLParameter)(this.url,Ce.URLConstants.Parameters.SNAPSHOT,i.length===0?void 0:i),this.pipeline,this.blobClientConfig)}async create(i,u={}){u.conditions=u.conditions||{};(0,$.ensureCpkIfSpecified)(u.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("PageBlobClient-create",u,(async A=>(0,ve.assertResponse)(await this.pageBlobContext.create(0,i,{abortSignal:u.abortSignal,blobHttpHeaders:u.blobHTTPHeaders,blobSequenceNumber:u.blobSequenceNumber,leaseAccessConditions:u.conditions,metadata:u.metadata,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},cpkInfo:u.customerProvidedKey,encryptionScope:u.encryptionScope,immutabilityPolicyExpiry:u.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:u.immutabilityPolicy?.policyMode,legalHold:u.legalHold,tier:(0,$.toAccessTier)(u.tier),blobTagsString:(0,ve.toBlobTagsString)(u.tags),tracingOptions:A.tracingOptions}))))}async createIfNotExists(i,u={}){return we.tracingClient.withSpan("PageBlobClient-createIfNotExists",u,(async A=>{try{const I={ifNoneMatch:Ce.ETagAny};const B=(0,ve.assertResponse)(await this.create(i,{...u,conditions:I,tracingOptions:A.tracingOptions}));return{succeeded:true,...B,_response:B._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async uploadPages(i,u,A,I={}){I.conditions=I.conditions||{};(0,$.ensureCpkIfSpecified)(I.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("PageBlobClient-uploadPages",I,(async B=>{const Q={abortSignal:I.abortSignal,leaseAccessConditions:I.conditions,modifiedAccessConditions:{...I.conditions,ifTags:I.conditions?.tagConditions},requestOptions:{onUploadProgress:I.onProgress},range:(0,Ae.rangeToString)({offset:u,count:A}),sequenceNumberAccessConditions:I.conditions,cpkInfo:I.customerProvidedKey,encryptionScope:I.encryptionScope,tracingOptions:B.tracingOptions};const P=await(0,ve.setUploadChecksumParameters)(i,A,Q,I,this.blobClientConfig?.uploadContentChecksumAlgorithm);return(0,ve.assertResponse)(await this.pageBlobContext.uploadPages(P.contentLength,P.body,Q))}))}async uploadPagesFromURL(i,u,A,I,B={}){B.conditions=B.conditions||{};B.sourceConditions=B.sourceConditions||{};(0,$.ensureCpkIfSpecified)(B.customerProvidedKey,this.isHttps);return we.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",B,(async Q=>(0,ve.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(i,(0,Ae.rangeToString)({offset:u,count:I}),0,(0,Ae.rangeToString)({offset:A,count:I}),{abortSignal:B.abortSignal,sourceContentMD5:B.sourceContentMD5,sourceContentCrc64:B.sourceContentCrc64,leaseAccessConditions:B.conditions,sequenceNumberAccessConditions:B.conditions,modifiedAccessConditions:{...B.conditions,ifTags:B.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:B.sourceConditions?.ifMatch,sourceIfModifiedSince:B.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:B.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:B.sourceConditions?.ifUnmodifiedSince},cpkInfo:B.customerProvidedKey,encryptionScope:B.encryptionScope,copySourceAuthorization:(0,ve.httpAuthorizationToString)(B.sourceAuthorization),fileRequestIntent:B.sourceShareTokenIntent,tracingOptions:Q.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:B.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:B.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:B.sourceCustomerProvidedKey?.encryptionKeySha256}}))))}async clearPages(i=0,u,A={}){A.conditions=A.conditions||{};return we.tracingClient.withSpan("PageBlobClient-clearPages",A,(async I=>(0,ve.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},range:(0,Ae.rangeToString)({offset:i,count:u}),sequenceNumberAccessConditions:A.conditions,cpkInfo:A.customerProvidedKey,encryptionScope:A.encryptionScope,tracingOptions:I.tracingOptions}))))}async getPageRanges(i=0,u,A={}){A.conditions=A.conditions||{};return we.tracingClient.withSpan("PageBlobClient-getPageRanges",A,(async I=>{const B=(0,ve.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:A.abortSignal,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},range:(0,Ae.rangeToString)({offset:i,count:u}),tracingOptions:I.tracingOptions}));return(0,K.rangeResponseFromModel)(B)}))}async listPageRangesSegment(i=0,u,A,I={}){return we.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",I,(async B=>(0,ve.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:I.abortSignal,leaseAccessConditions:I.conditions,modifiedAccessConditions:{...I.conditions,ifTags:I.conditions?.tagConditions},range:(0,Ae.rangeToString)({offset:i,count:u}),marker:A,maxPageSize:I.maxPageSize,tracingOptions:B.tracingOptions}))))}async*listPageRangeItemSegments(i=0,u,A,I={}){let B;if(!!A||A===void 0){do{B=await this.listPageRangesSegment(i,u,A,I);A=B.continuationToken;yield await B}while(A)}}async*listPageRangeItems(i=0,u,A={}){let I;for await(const B of this.listPageRangeItemSegments(i,u,I,A)){yield*(0,ve.ExtractPageRangeInfoItems)(B)}}listPageRanges(i=0,u,A={}){A.conditions=A.conditions||{};const I=this.listPageRangeItems(i,u,A);return{next(){return I.next()},[Symbol.asyncIterator](){return this},byPage:(I={})=>this.listPageRangeItemSegments(i,u,I.continuationToken,{maxPageSize:I.maxPageSize,...A})}}async getPageRangesDiff(i,u,A,I={}){I.conditions=I.conditions||{};return we.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",I,(async B=>{const Q=(0,ve.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:I.abortSignal,leaseAccessConditions:I.conditions,modifiedAccessConditions:{...I.conditions,ifTags:I.conditions?.tagConditions},prevsnapshot:A,range:(0,Ae.rangeToString)({offset:i,count:u}),tracingOptions:B.tracingOptions}));return(0,K.rangeResponseFromModel)(Q)}))}async listPageRangesDiffSegment(i,u,A,I,B={}){return we.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",B,(async Q=>(0,ve.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:B?.abortSignal,leaseAccessConditions:B?.conditions,modifiedAccessConditions:{...B?.conditions,ifTags:B?.conditions?.tagConditions},prevsnapshot:A,range:(0,Ae.rangeToString)({offset:i,count:u}),marker:I,maxPageSize:B?.maxPageSize,tracingOptions:Q.tracingOptions}))))}async*listPageRangeDiffItemSegments(i,u,A,I,B){let Q;if(!!I||I===void 0){do{Q=await this.listPageRangesDiffSegment(i,u,A,I,B);I=Q.continuationToken;yield await Q}while(I)}}async*listPageRangeDiffItems(i,u,A,I){let B;for await(const Q of this.listPageRangeDiffItemSegments(i,u,A,B,I)){yield*(0,ve.ExtractPageRangeInfoItems)(Q)}}listPageRangesDiff(i,u,A,I={}){I.conditions=I.conditions||{};const B=this.listPageRangeDiffItems(i,u,A,{...I});return{next(){return B.next()},[Symbol.asyncIterator](){return this},byPage:(B={})=>this.listPageRangeDiffItemSegments(i,u,A,B.continuationToken,{maxPageSize:B.maxPageSize,...I})}}async getPageRangesDiffForManagedDisks(i,u,A,I={}){I.conditions=I.conditions||{};return we.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",I,(async B=>{const Q=(0,ve.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:I.abortSignal,leaseAccessConditions:I.conditions,modifiedAccessConditions:{...I.conditions,ifTags:I.conditions?.tagConditions},prevSnapshotUrl:A,range:(0,Ae.rangeToString)({offset:i,count:u}),tracingOptions:B.tracingOptions}));return(0,K.rangeResponseFromModel)(Q)}))}async resize(i,u={}){u.conditions=u.conditions||{};return we.tracingClient.withSpan("PageBlobClient-resize",u,(async A=>(0,ve.assertResponse)(await this.pageBlobContext.resize(i,{abortSignal:u.abortSignal,leaseAccessConditions:u.conditions,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},encryptionScope:u.encryptionScope,tracingOptions:A.tracingOptions}))))}async updateSequenceNumber(i,u,A={}){A.conditions=A.conditions||{};return we.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",A,(async I=>(0,ve.assertResponse)(await this.pageBlobContext.updateSequenceNumber(i,{abortSignal:A.abortSignal,blobSequenceNumber:u,leaseAccessConditions:A.conditions,modifiedAccessConditions:{...A.conditions,ifTags:A.conditions?.tagConditions},tracingOptions:I.tracingOptions}))))}async startCopyIncremental(i,u={}){return we.tracingClient.withSpan("PageBlobClient-startCopyIncremental",u,(async A=>(0,ve.assertResponse)(await this.pageBlobContext.copyIncremental(i,{abortSignal:u.abortSignal,modifiedAccessConditions:{...u.conditions,ifTags:u.conditions?.tagConditions},tracingOptions:A.tracingOptions}))))}}0&&0},81884:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{ContainerClient:()=>ContainerClient});i.exports=__toCommonJS(D);var L=A(20778);var U=A(87779);var G=A(50417);var z=A(51382);var W=A(25984);var Y=A(73542);var J=A(53952);var $=A(47764);var K=A(656);var X=A(23276);var he=A(90372);var Ae=A(12094);class ContainerClient extends Y.StorageClient{containerContext;_containerName;blobClientConfig;get containerName(){return this._containerName}constructor(i,u,A){let I;let B;A=A||{};if((0,W.isPipelineLike)(u)){B=i;I=u}else if(U.isNodeLike&&u instanceof z.StorageSharedKeyCredential||u instanceof z.AnonymousCredential||(0,G.isTokenCredential)(u)){B=i;I=(0,W.newPipeline)(u,A)}else if(!u&&typeof u!=="string"){B=i;I=(0,W.newPipeline)(new z.AnonymousCredential,A)}else if(u&&typeof u==="string"){const Q=u;const P=(0,$.extractConnectionStringParts)(i);if(P.kind==="AccountConnString"){if(U.isNodeLike){const i=new z.StorageSharedKeyCredential(P.accountName,P.accountKey);B=(0,$.appendToURLPath)(P.url,encodeURIComponent(Q));if(!A.proxyOptions){A.proxyOptions=(0,L.getDefaultProxySettings)(P.proxyUri)}I=(0,W.newPipeline)(i,A)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(P.kind==="SASConnString"){B=(0,$.appendToURLPath)(P.url,encodeURIComponent(Q))+"?"+P.accountSas;I=(0,W.newPipeline)(new z.AnonymousCredential,A)}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(B,I);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container;this.blobClientConfig=A}async create(i={}){return J.tracingClient.withSpan("ContainerClient-create",i,(async i=>(0,$.assertResponse)(await this.containerContext.create(i))))}async createIfNotExists(i={}){return J.tracingClient.withSpan("ContainerClient-createIfNotExists",i,(async i=>{try{const u=await this.create(i);return{succeeded:true,...u,_response:u._response}}catch(i){if(i.details?.errorCode==="ContainerAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}else{throw i}}}))}async exists(i={}){return J.tracingClient.withSpan("ContainerClient-exists",i,(async u=>{try{await this.getProperties({abortSignal:i.abortSignal,tracingOptions:u.tracingOptions});return true}catch(i){if(i.statusCode===404){return false}throw i}}))}getBlobClient(i){return new he.BlobClient((0,$.appendToURLPath)(this.url,(0,$.EscapePath)(i)),this.pipeline,this.blobClientConfig)}getAppendBlobClient(i){return new he.AppendBlobClient((0,$.appendToURLPath)(this.url,(0,$.EscapePath)(i)),this.pipeline,this.blobClientConfig)}getBlockBlobClient(i){return new he.BlockBlobClient((0,$.appendToURLPath)(this.url,(0,$.EscapePath)(i)),this.pipeline,this.blobClientConfig)}getPageBlobClient(i){return new he.PageBlobClient((0,$.appendToURLPath)(this.url,(0,$.EscapePath)(i)),this.pipeline,this.blobClientConfig)}async getProperties(i={}){if(!i.conditions){i.conditions={}}return J.tracingClient.withSpan("ContainerClient-getProperties",i,(async u=>(0,$.assertResponse)(await this.containerContext.getProperties({abortSignal:i.abortSignal,...i.conditions,tracingOptions:u.tracingOptions}))))}async delete(i={}){if(!i.conditions){i.conditions={}}return J.tracingClient.withSpan("ContainerClient-delete",i,(async u=>(0,$.assertResponse)(await this.containerContext.delete({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:i.conditions,tracingOptions:u.tracingOptions}))))}async deleteIfExists(i={}){return J.tracingClient.withSpan("ContainerClient-deleteIfExists",i,(async i=>{try{const u=await this.delete(i);return{succeeded:true,...u,_response:u._response}}catch(i){if(i.details?.errorCode==="ContainerNotFound"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async setMetadata(i,u={}){if(!u.conditions){u.conditions={}}if(u.conditions.ifUnmodifiedSince){throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service")}return J.tracingClient.withSpan("ContainerClient-setMetadata",u,(async A=>(0,$.assertResponse)(await this.containerContext.setMetadata({abortSignal:u.abortSignal,leaseAccessConditions:u.conditions,metadata:i,modifiedAccessConditions:u.conditions,tracingOptions:A.tracingOptions}))))}async getAccessPolicy(i={}){if(!i.conditions){i.conditions={}}return J.tracingClient.withSpan("ContainerClient-getAccessPolicy",i,(async u=>{const A=(0,$.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,tracingOptions:u.tracingOptions}));const I={_response:A._response,blobPublicAccess:A.blobPublicAccess,date:A.date,etag:A.etag,errorCode:A.errorCode,lastModified:A.lastModified,requestId:A.requestId,clientRequestId:A.clientRequestId,signedIdentifiers:[],version:A.version};for(const i of A){let u=void 0;if(i.accessPolicy){u={permissions:i.accessPolicy.permissions};if(i.accessPolicy.expiresOn){u.expiresOn=new Date(i.accessPolicy.expiresOn)}if(i.accessPolicy.startsOn){u.startsOn=new Date(i.accessPolicy.startsOn)}}I.signedIdentifiers.push({accessPolicy:u,id:i.id})}return I}))}async setAccessPolicy(i,u,A={}){A.conditions=A.conditions||{};return J.tracingClient.withSpan("ContainerClient-setAccessPolicy",A,(async I=>{const B=[];for(const i of u||[]){B.push({accessPolicy:{expiresOn:i.accessPolicy.expiresOn?(0,$.truncatedISO8061Date)(i.accessPolicy.expiresOn):"",permissions:i.accessPolicy.permissions,startsOn:i.accessPolicy.startsOn?(0,$.truncatedISO8061Date)(i.accessPolicy.startsOn):""},id:i.id})}return(0,$.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:A.abortSignal,access:i,containerAcl:B,leaseAccessConditions:A.conditions,modifiedAccessConditions:A.conditions,tracingOptions:I.tracingOptions}))}))}getBlobLeaseClient(i){return new X.BlobLeaseClient(this,i)}async uploadBlockBlob(i,u,A,I={}){return J.tracingClient.withSpan("ContainerClient-uploadBlockBlob",I,(async I=>{const B=this.getBlockBlobClient(i);const Q=await B.upload(u,A,I);return{blockBlobClient:B,response:Q}}))}async deleteBlob(i,u={}){return J.tracingClient.withSpan("ContainerClient-deleteBlob",u,(async A=>{let I=this.getBlobClient(i);if(u.versionId){I=I.withVersion(u.versionId)}return I.delete(A)}))}async listBlobFlatSegment(i,u={}){return J.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",u,(async A=>{const I=(0,$.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:i,...u,tracingOptions:A.tracingOptions}));const B={...I,_response:{...I._response,parsedBody:(0,$.ConvertInternalResponseOfListBlobFlat)(I._response.parsedBody)},segment:{...I.segment,blobItems:I.segment.blobItems.map((i=>{const u={...i,name:(0,$.BlobNameToString)(i.name),tags:(0,$.toTags)(i.blobTags),objectReplicationSourceProperties:(0,$.parseObjectReplicationRecord)(i.objectReplicationMetadata)};return u}))}};return B}))}async listBlobHierarchySegment(i,u,A={}){return J.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",A,(async I=>{const B=(0,$.assertResponse)(await this.containerContext.listBlobHierarchySegment(i,{marker:u,...A,tracingOptions:I.tracingOptions}));const Q={...B,_response:{...B._response,parsedBody:(0,$.ConvertInternalResponseOfListBlobHierarchy)(B._response.parsedBody)},segment:{...B.segment,blobItems:B.segment.blobItems.map((i=>{const u={...i,name:(0,$.BlobNameToString)(i.name),tags:(0,$.toTags)(i.blobTags),objectReplicationSourceProperties:(0,$.parseObjectReplicationRecord)(i.objectReplicationMetadata)};return u})),blobPrefixes:B.segment.blobPrefixes?.map((i=>{const u={...i,name:(0,$.BlobNameToString)(i.name)};return u}))}};return Q}))}async*listSegments(i,u={}){let A;if(!!i||i===void 0){do{A=await this.listBlobFlatSegment(i,u);i=A.continuationToken;yield await A}while(i)}}async*listItems(i={}){let u;for await(const A of this.listSegments(u,i)){yield*A.segment.blobItems}}listBlobsFlat(i={}){const u=[];if(i.includeCopy){u.push("copy")}if(i.includeDeleted){u.push("deleted")}if(i.includeMetadata){u.push("metadata")}if(i.includeSnapshots){u.push("snapshots")}if(i.includeVersions){u.push("versions")}if(i.includeUncommitedBlobs){u.push("uncommittedblobs")}if(i.includeTags){u.push("tags")}if(i.includeDeletedWithVersions){u.push("deletedwithversions")}if(i.includeImmutabilityPolicy){u.push("immutabilitypolicy")}if(i.includeLegalHold){u.push("legalhold")}if(i.prefix===""){i.prefix=void 0}const A={...i,...u.length>0?{include:u}:{}};const I=this.listItems(A);return{next(){return I.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listSegments(i.continuationToken,{maxPageSize:i.maxPageSize,...A})}}async*listHierarchySegments(i,u,A={}){let I;if(!!u||u===void 0){do{I=await this.listBlobHierarchySegment(i,u,A);u=I.continuationToken;yield await I}while(u)}}async*listItemsByHierarchy(i,u={}){let A;for await(const I of this.listHierarchySegments(i,A,u)){const i=I.segment;if(i.blobPrefixes){for(const u of i.blobPrefixes){yield{kind:"prefix",...u}}}for(const u of i.blobItems){yield{kind:"blob",...u}}}}listBlobsByHierarchy(i,u={}){if(i===""){throw new RangeError("delimiter should contain one or more characters")}const A=[];if(u.includeCopy){A.push("copy")}if(u.includeDeleted){A.push("deleted")}if(u.includeMetadata){A.push("metadata")}if(u.includeSnapshots){A.push("snapshots")}if(u.includeVersions){A.push("versions")}if(u.includeUncommitedBlobs){A.push("uncommittedblobs")}if(u.includeTags){A.push("tags")}if(u.includeDeletedWithVersions){A.push("deletedwithversions")}if(u.includeImmutabilityPolicy){A.push("immutabilitypolicy")}if(u.includeLegalHold){A.push("legalhold")}if(u.prefix===""){u.prefix=void 0}const I={...u,...A.length>0?{include:A}:{}};const B=this.listItemsByHierarchy(i,I);return{async next(){return B.next()},[Symbol.asyncIterator](){return this},byPage:(u={})=>this.listHierarchySegments(i,u.continuationToken,{maxPageSize:u.maxPageSize,...I})}}async findBlobsByTagsSegment(i,u,A={}){return J.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",A,(async I=>{const B=(0,$.assertResponse)(await this.containerContext.filterBlobs({abortSignal:A.abortSignal,where:i,marker:u,maxPageSize:A.maxPageSize,tracingOptions:I.tracingOptions}));const Q={...B,_response:B._response,blobs:B.blobs.map((i=>{let u="";if(i.tags?.blobTagSet.length===1){u=i.tags.blobTagSet[0].value}return{...i,tags:(0,$.toTags)(i.tags),tagValue:u}}))};return Q}))}async*findBlobsByTagsSegments(i,u,A={}){let I;if(!!u||u===void 0){do{I=await this.findBlobsByTagsSegment(i,u,A);I.blobs=I.blobs||[];u=I.continuationToken;yield I}while(u)}}async*findBlobsByTagsItems(i,u={}){let A;for await(const I of this.findBlobsByTagsSegments(i,A,u)){yield*I.blobs}}findBlobsByTags(i,u={}){const A={...u};const I=this.findBlobsByTagsItems(i,A);return{next(){return I.next()},[Symbol.asyncIterator](){return this},byPage:(u={})=>this.findBlobsByTagsSegments(i,u.continuationToken,{maxPageSize:u.maxPageSize,...A})}}async getAccountInfo(i={}){return J.tracingClient.withSpan("ContainerClient-getAccountInfo",i,(async u=>(0,$.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:u.tracingOptions}))))}getContainerNameFromUrl(){let i;try{const u=new URL(this.url);if(u.hostname.split(".")[1]==="blob"){i=u.pathname.split("/")[1]}else if((0,$.isIpEndpointStyle)(u)){i=u.pathname.split("/")[2]}else{i=u.pathname.split("/")[1]}i=decodeURIComponent(i);if(!i){throw new Error("Provided containerName is invalid.")}return i}catch(i){throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(i){return new Promise((u=>{if(!(this.credential instanceof z.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const A=(0,K.generateBlobSASQueryParameters)({containerName:this._containerName,...i},this.credential).toString();u((0,$.appendToURLQuery)(this.url,A))}))}generateSasStringToSign(i){if(!(this.credential instanceof z.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,K.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...i},this.credential).stringToSign}generateUserDelegationSasUrl(i,u){return new Promise((A=>{const I=(0,K.generateBlobSASQueryParameters)({containerName:this._containerName,...i},u,this.accountName).toString();A((0,$.appendToURLQuery)(this.url,I))}))}generateUserDelegationSasStringToSign(i,u){return(0,K.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...i},u,this.accountName).stringToSign}getBlobBatchClient(){return new Ae.BlobBatchClient(this.url,this.pipeline)}}0&&0},95302:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{rangeResponseFromModel:()=>rangeResponseFromModel});i.exports=__toCommonJS(Q);function rangeResponseFromModel(i){const u=(i._response.parsedBody.pageRange||[]).map((i=>({offset:i.start,count:i.end-i.start})));const A=(i._response.parsedBody.clearRange||[]).map((i=>({offset:i.start,count:i.end-i.start})));return{...i,pageRange:u,clearRange:A,_response:{...i._response,parsedBody:{pageRange:u,clearRange:A}}}}0&&0},25984:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{Pipeline:()=>Pipeline,StorageOAuthScopes:()=>$.StorageOAuthScopes,getCoreClientOptions:()=>getCoreClientOptions,getCredentialFromPipeline:()=>getCredentialFromPipeline,isPipelineLike:()=>isPipelineLike,newPipeline:()=>newPipeline});i.exports=__toCommonJS(D);var L=A(61584);var U=A(20778);var G=A(60160);var z=A(78756);var W=A(50417);var Y=A(46370);var J=A(51382);var $=A(27323);function isPipelineLike(i){if(!i||typeof i!=="object"){return false}const u=i;return Array.isArray(u.factories)&&typeof u.options==="object"&&typeof u.toServiceClientOptions==="function"}class Pipeline{factories;options;constructor(i,u={}){this.factories=i;this.options=u}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function newPipeline(i,u={}){if(!i){i=new J.AnonymousCredential}const A=new Pipeline([],u);A._credential=i;return A}function processDownlevelPipeline(i){const u=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(i.factories.length){const A=i.factories.filter((i=>!u.some((u=>u(i)))));if(A.length){const i=A.some((i=>isInjectorPolicyFactory(i)));return{wrappedPolicies:(0,L.createRequestPolicyFactoryPolicy)(A),afterRetry:i}}}return void 0}function getCoreClientOptions(i){const{httpClient:u,...A}=i.options;let I=i._coreHttpClient;if(!I){I=u?(0,L.convertHttpClient)(u):(0,J.getCachedDefaultHttpClient)();i._coreHttpClient=I}let B=i._corePipeline;if(!B){const u=`azsdk-js-azure-storage-blob/${$.SDK_VERSION}`;const I=A.userAgentOptions&&A.userAgentOptions.userAgentPrefix?`${A.userAgentOptions.userAgentPrefix} ${u}`:`${u}`;B=(0,G.createClientPipeline)({...A,loggingOptions:{additionalAllowedHeaderNames:$.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:$.StorageBlobLoggingAllowedQueryParameters,logger:Y.logger.info},userAgentOptions:{userAgentPrefix:I},serializationOptions:{stringifyXML:z.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:z.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}});B.removePolicy({phase:"Retry"});B.removePolicy({name:U.decompressResponsePolicyName});B.addPolicy((0,J.storageCorrectContentLengthPolicy)());B.addPolicy((0,J.storageRetryPolicy)(A.retryOptions),{phase:"Retry"});B.addPolicy((0,J.storageRequestFailureDetailsParserPolicy)());B.addPolicy((0,J.storageBrowserPolicy)());const Q=processDownlevelPipeline(i);if(Q){B.addPolicy(Q.wrappedPolicies,Q.afterRetry?{afterPhase:"Retry"}:void 0)}const P=getCredentialFromPipeline(i);if((0,W.isTokenCredential)(P)){B.addPolicy((0,U.bearerTokenAuthenticationPolicy)({credential:P,scopes:A.audience??$.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:G.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(P instanceof J.StorageSharedKeyCredential){B.addPolicy((0,J.storageSharedKeyCredentialPolicy)({accountName:P.accountName,accountKey:P.accountKey}),{phase:"Sign"})}i._corePipeline=B}return{...A,allowInsecureConnection:true,httpClient:I,pipeline:B}}function getCredentialFromPipeline(i){if(i._credential){return i._credential}let u=new J.AnonymousCredential;for(const A of i.factories){if((0,W.isTokenCredential)(A.credential)){u=A.credential}else if(isStorageSharedKeyCredential(A)){return A}}return u}function isStorageSharedKeyCredential(i){if(i instanceof J.StorageSharedKeyCredential){return true}return i.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(i){if(i instanceof J.AnonymousCredential){return true}return i.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(i){return(0,W.isTokenCredential)(i.credential)}function isStorageBrowserPolicyFactory(i){if(i instanceof J.StorageBrowserPolicyFactory){return true}return i.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(i){if(i instanceof J.StorageRetryPolicyFactory){return true}return i.constructor.name==="StorageRetryPolicyFactory"}function isStorageTelemetryPolicyFactory(i){return i.constructor.name==="TelemetryPolicyFactory"}function isInjectorPolicyFactory(i){return i.constructor.name==="InjectorPolicyFactory"}function isCoreHttpPolicyFactory(i){const u=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];const A={sendRequest:async i=>({request:i,headers:i.headers.clone(),status:500})};const I={log(i,u){},shouldLog(i){return false}};const B=i.create(A,I);const Q=B.constructor.name;return u.some((i=>Q.startsWith(i)))}0&&0},52045:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{rangeToString:()=>rangeToString});i.exports=__toCommonJS(Q);function rangeToString(i){if(i.offset<0){throw new RangeError(`Range.offset cannot be smaller than 0.`)}if(i.count&&i.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 i.count?`bytes=${i.offset}-${i.offset+i.count-1}`:`bytes=${i.offset}-`}0&&0},73542:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{StorageClient:()=>StorageClient});i.exports=__toCommonJS(D);var L=A(53789);var U=A(25984);var G=A(47764);class StorageClient{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(i,u){this.url=(0,G.escapeURLPath)(i);this.accountName=(0,G.getAccountNameFromUrl)(i);this.pipeline=u;this.storageClientContext=new L.StorageContextClient(this.url,(0,U.getCoreClientOptions)(u));this.isHttps=(0,G.iEqual)((0,G.getURLScheme)(this.url)||"","https");this.credential=(0,U.getCredentialFromPipeline)(u);const A=this.storageClientContext;A.requestContentType=void 0}}0&&0},53789:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{StorageContextClient:()=>StorageContextClient});i.exports=__toCommonJS(D);var L=A(30247);class StorageContextClient extends L.StorageClient{async sendOperationRequest(i,u){const A={...u};if(A.path==="/{containerName}"||A.path==="/{containerName}/{blob}"){A.path=""}return super.sendOperationRequest(i,A)}}0&&0},30247:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __reExport=(i,u,A)=>(__copyProps(i,u,"default"),A&&__copyProps(A,u,"default"));var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{StorageClient:()=>L.StorageClient});i.exports=__toCommonJS(D);__reExport(D,A(12362),i.exports);var L=A(5313);__reExport(D,A(82354),i.exports);0&&0},12362:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{KnownBlobExpiryOptions:()=>L,KnownEncryptionAlgorithmType:()=>P,KnownFileShareTokenIntent:()=>D,KnownStorageErrorCode:()=>U});i.exports=__toCommonJS(Q);var P=(i=>{i["AES256"]="AES256";return i})(P||{});var D=(i=>{i["Backup"]="backup";return i})(D||{});var L=(i=>{i["NeverExpire"]="NeverExpire";i["RelativeToCreation"]="RelativeToCreation";i["RelativeToNow"]="RelativeToNow";i["Absolute"]="Absolute";return i})(L||{});var U=(i=>{i["AccountAlreadyExists"]="AccountAlreadyExists";i["AccountBeingCreated"]="AccountBeingCreated";i["AccountIsDisabled"]="AccountIsDisabled";i["AuthenticationFailed"]="AuthenticationFailed";i["AuthorizationFailure"]="AuthorizationFailure";i["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";i["ConditionNotMet"]="ConditionNotMet";i["EmptyMetadataKey"]="EmptyMetadataKey";i["InsufficientAccountPermissions"]="InsufficientAccountPermissions";i["InternalError"]="InternalError";i["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";i["InvalidHeaderValue"]="InvalidHeaderValue";i["InvalidHttpVerb"]="InvalidHttpVerb";i["InvalidInput"]="InvalidInput";i["InvalidMd5"]="InvalidMd5";i["InvalidMetadata"]="InvalidMetadata";i["InvalidQueryParameterValue"]="InvalidQueryParameterValue";i["InvalidRange"]="InvalidRange";i["InvalidResourceName"]="InvalidResourceName";i["InvalidUri"]="InvalidUri";i["InvalidXmlDocument"]="InvalidXmlDocument";i["InvalidXmlNodeValue"]="InvalidXmlNodeValue";i["Md5Mismatch"]="Md5Mismatch";i["MetadataTooLarge"]="MetadataTooLarge";i["MissingContentLengthHeader"]="MissingContentLengthHeader";i["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";i["MissingRequiredHeader"]="MissingRequiredHeader";i["MissingRequiredXmlNode"]="MissingRequiredXmlNode";i["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";i["OperationTimedOut"]="OperationTimedOut";i["OutOfRangeInput"]="OutOfRangeInput";i["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";i["RequestBodyTooLarge"]="RequestBodyTooLarge";i["ResourceTypeMismatch"]="ResourceTypeMismatch";i["RequestUrlFailedToParse"]="RequestUrlFailedToParse";i["ResourceAlreadyExists"]="ResourceAlreadyExists";i["ResourceNotFound"]="ResourceNotFound";i["ServerBusy"]="ServerBusy";i["UnsupportedHeader"]="UnsupportedHeader";i["UnsupportedXmlNode"]="UnsupportedXmlNode";i["UnsupportedQueryParameter"]="UnsupportedQueryParameter";i["UnsupportedHttpVerb"]="UnsupportedHttpVerb";i["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";i["BlobAlreadyExists"]="BlobAlreadyExists";i["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";i["BlobNotFound"]="BlobNotFound";i["BlobOverwritten"]="BlobOverwritten";i["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";i["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";i["BlockCountExceedsLimit"]="BlockCountExceedsLimit";i["BlockListTooLong"]="BlockListTooLong";i["CannotChangeToLowerTier"]="CannotChangeToLowerTier";i["CannotVerifyCopySource"]="CannotVerifyCopySource";i["ContainerAlreadyExists"]="ContainerAlreadyExists";i["ContainerBeingDeleted"]="ContainerBeingDeleted";i["ContainerDisabled"]="ContainerDisabled";i["ContainerNotFound"]="ContainerNotFound";i["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";i["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";i["CopyIdMismatch"]="CopyIdMismatch";i["FeatureVersionMismatch"]="FeatureVersionMismatch";i["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";i["IncrementalCopyOfEarlierSnapshotNotAllowed"]="IncrementalCopyOfEarlierSnapshotNotAllowed";i["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";i["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";i["InvalidBlobOrBlock"]="InvalidBlobOrBlock";i["InvalidBlobTier"]="InvalidBlobTier";i["InvalidBlobType"]="InvalidBlobType";i["InvalidBlockId"]="InvalidBlockId";i["InvalidBlockList"]="InvalidBlockList";i["InvalidOperation"]="InvalidOperation";i["InvalidPageRange"]="InvalidPageRange";i["InvalidSourceBlobType"]="InvalidSourceBlobType";i["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";i["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";i["LeaseAlreadyPresent"]="LeaseAlreadyPresent";i["LeaseAlreadyBroken"]="LeaseAlreadyBroken";i["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";i["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";i["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";i["LeaseIdMissing"]="LeaseIdMissing";i["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";i["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";i["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";i["LeaseLost"]="LeaseLost";i["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";i["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";i["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";i["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";i["NoAuthenticationInformation"]="NoAuthenticationInformation";i["NoPendingCopyOperation"]="NoPendingCopyOperation";i["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";i["PendingCopyOperation"]="PendingCopyOperation";i["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";i["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";i["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";i["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";i["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";i["SnapshotCountExceeded"]="SnapshotCountExceeded";i["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";i["SnapshotsPresent"]="SnapshotsPresent";i["SourceConditionNotMet"]="SourceConditionNotMet";i["SystemInUse"]="SystemInUse";i["TargetConditionNotMet"]="TargetConditionNotMet";i["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";i["BlobBeingRehydrated"]="BlobBeingRehydrated";i["BlobArchived"]="BlobArchived";i["BlobNotArchived"]="BlobNotArchived";i["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";i["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";i["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";i["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";i["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";i["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType";return i})(U||{});0&&0},84424:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{AccessPolicy:()=>ve,AppendBlobAppendBlockExceptionHeaders:()=>zi,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>Zi,AppendBlobAppendBlockFromUrlHeaders:()=>$i,AppendBlobAppendBlockHeaders:()=>qi,AppendBlobCreateExceptionHeaders:()=>Ui,AppendBlobCreateHeaders:()=>Fi,AppendBlobSealExceptionHeaders:()=>ts,AppendBlobSealHeaders:()=>es,ArrowConfiguration:()=>$e,ArrowField:()=>Ke,BlobAbortCopyFromURLExceptionHeaders:()=>jn,BlobAbortCopyFromURLHeaders:()=>Un,BlobAcquireLeaseExceptionHeaders:()=>In,BlobAcquireLeaseHeaders:()=>Sn,BlobBreakLeaseExceptionHeaders:()=>kn,BlobBreakLeaseHeaders:()=>xn,BlobChangeLeaseExceptionHeaders:()=>On,BlobChangeLeaseHeaders:()=>Tn,BlobCopyFromURLExceptionHeaders:()=>Fn,BlobCopyFromURLHeaders:()=>Ln,BlobCreateSnapshotExceptionHeaders:()=>Pn,BlobCreateSnapshotHeaders:()=>Qn,BlobDeleteExceptionHeaders:()=>cn,BlobDeleteHeaders:()=>an,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>bn,BlobDeleteImmutabilityPolicyHeaders:()=>yn,BlobDownloadExceptionHeaders:()=>rn,BlobDownloadHeaders:()=>tn,BlobFlatListSegment:()=>Re,BlobGetAccountInfoExceptionHeaders:()=>zn,BlobGetAccountInfoHeaders:()=>qn,BlobGetPropertiesExceptionHeaders:()=>sn,BlobGetPropertiesHeaders:()=>nn,BlobGetTagsExceptionHeaders:()=>Jn,BlobGetTagsHeaders:()=>Yn,BlobHierarchyListSegment:()=>ke,BlobItemInternal:()=>Ne,BlobName:()=>_e,BlobPrefix:()=>Qe,BlobPropertiesInternal:()=>Oe,BlobQueryExceptionHeaders:()=>Wn,BlobQueryHeaders:()=>Vn,BlobReleaseLeaseExceptionHeaders:()=>Rn,BlobReleaseLeaseHeaders:()=>Bn,BlobRenewLeaseExceptionHeaders:()=>_n,BlobRenewLeaseHeaders:()=>Nn,BlobServiceProperties:()=>P,BlobServiceStatistics:()=>Y,BlobSetExpiryExceptionHeaders:()=>hn,BlobSetExpiryHeaders:()=>dn,BlobSetHttpHeadersExceptionHeaders:()=>An,BlobSetHttpHeadersHeaders:()=>pn,BlobSetImmutabilityPolicyExceptionHeaders:()=>mn,BlobSetImmutabilityPolicyHeaders:()=>gn,BlobSetLegalHoldExceptionHeaders:()=>Cn,BlobSetLegalHoldHeaders:()=>En,BlobSetMetadataExceptionHeaders:()=>vn,BlobSetMetadataHeaders:()=>wn,BlobSetTagsExceptionHeaders:()=>Kn,BlobSetTagsHeaders:()=>$n,BlobSetTierExceptionHeaders:()=>Gn,BlobSetTierHeaders:()=>Hn,BlobStartCopyFromURLExceptionHeaders:()=>Mn,BlobStartCopyFromURLHeaders:()=>Dn,BlobTag:()=>Ce,BlobTags:()=>Ee,BlobUndeleteExceptionHeaders:()=>un,BlobUndeleteHeaders:()=>ln,Block:()=>Me,BlockBlobCommitBlockListExceptionHeaders:()=>ms,BlockBlobCommitBlockListHeaders:()=>gs,BlockBlobGetBlockListExceptionHeaders:()=>bs,BlockBlobGetBlockListHeaders:()=>ys,BlockBlobPutBlobFromUrlExceptionHeaders:()=>ds,BlockBlobPutBlobFromUrlHeaders:()=>as,BlockBlobStageBlockExceptionHeaders:()=>hs,BlockBlobStageBlockFromURLExceptionHeaders:()=>As,BlockBlobStageBlockFromURLHeaders:()=>ps,BlockBlobStageBlockHeaders:()=>fs,BlockBlobUploadExceptionHeaders:()=>os,BlockBlobUploadHeaders:()=>ss,BlockList:()=>De,BlockLookupList:()=>Pe,ClearRange:()=>je,ContainerAcquireLeaseExceptionHeaders:()=>Fr,ContainerAcquireLeaseHeaders:()=>Lr,ContainerBreakLeaseExceptionHeaders:()=>zr,ContainerBreakLeaseHeaders:()=>qr,ContainerChangeLeaseExceptionHeaders:()=>Yr,ContainerChangeLeaseHeaders:()=>Vr,ContainerCreateExceptionHeaders:()=>hr,ContainerCreateHeaders:()=>ir,ContainerDeleteExceptionHeaders:()=>br,ContainerDeleteHeaders:()=>yr,ContainerFilterBlobsExceptionHeaders:()=>Mr,ContainerFilterBlobsHeaders:()=>Dr,ContainerGetAccessPolicyExceptionHeaders:()=>Ir,ContainerGetAccessPolicyHeaders:()=>Sr,ContainerGetAccountInfoExceptionHeaders:()=>en,ContainerGetAccountInfoHeaders:()=>Zr,ContainerGetPropertiesExceptionHeaders:()=>gr,ContainerGetPropertiesHeaders:()=>Ar,ContainerItem:()=>K,ContainerListBlobFlatSegmentExceptionHeaders:()=>$r,ContainerListBlobFlatSegmentHeaders:()=>Jr,ContainerListBlobHierarchySegmentExceptionHeaders:()=>Xr,ContainerListBlobHierarchySegmentHeaders:()=>Kr,ContainerProperties:()=>X,ContainerReleaseLeaseExceptionHeaders:()=>jr,ContainerReleaseLeaseHeaders:()=>Ur,ContainerRenameExceptionHeaders:()=>xr,ContainerRenameHeaders:()=>Or,ContainerRenewLeaseExceptionHeaders:()=>Gr,ContainerRenewLeaseHeaders:()=>Hr,ContainerRestoreExceptionHeaders:()=>_r,ContainerRestoreHeaders:()=>Nr,ContainerSetAccessPolicyExceptionHeaders:()=>Rr,ContainerSetAccessPolicyHeaders:()=>Br,ContainerSetMetadataExceptionHeaders:()=>vr,ContainerSetMetadataHeaders:()=>wr,ContainerSubmitBatchExceptionHeaders:()=>Qr,ContainerSubmitBatchHeaders:()=>kr,CorsRule:()=>G,DelimitedTextConfiguration:()=>ze,FilterBlobItem:()=>be,FilterBlobSegment:()=>ye,GeoReplication:()=>J,JsonTextConfiguration:()=>Je,KeyInfo:()=>he,ListBlobsFlatSegmentResponse:()=>Se,ListBlobsHierarchySegmentResponse:()=>xe,ListContainersSegmentResponse:()=>$,Logging:()=>D,Metrics:()=>U,PageBlobClearPagesExceptionHeaders:()=>hi,PageBlobClearPagesHeaders:()=>fi,PageBlobCopyIncrementalExceptionHeaders:()=>Li,PageBlobCopyIncrementalHeaders:()=>Pi,PageBlobCreateExceptionHeaders:()=>Zn,PageBlobCreateHeaders:()=>Xn,PageBlobGetPageRangesDiffExceptionHeaders:()=>wi,PageBlobGetPageRangesDiffHeaders:()=>Ei,PageBlobGetPageRangesExceptionHeaders:()=>mi,PageBlobGetPageRangesHeaders:()=>gi,PageBlobResizeExceptionHeaders:()=>Si,PageBlobResizeHeaders:()=>vi,PageBlobUpdateSequenceNumberExceptionHeaders:()=>Qi,PageBlobUpdateSequenceNumberHeaders:()=>Oi,PageBlobUploadPagesExceptionHeaders:()=>di,PageBlobUploadPagesFromURLExceptionHeaders:()=>Ai,PageBlobUploadPagesFromURLHeaders:()=>pi,PageBlobUploadPagesHeaders:()=>ai,PageList:()=>Fe,PageRange:()=>Ue,QueryFormat:()=>qe,QueryRequest:()=>He,QuerySerialization:()=>Ge,RetentionPolicy:()=>L,ServiceFilterBlobsExceptionHeaders:()=>nr,ServiceFilterBlobsHeaders:()=>rr,ServiceGetAccountInfoExceptionHeaders:()=>Ot,ServiceGetAccountInfoHeaders:()=>Nt,ServiceGetPropertiesExceptionHeaders:()=>dt,ServiceGetPropertiesHeaders:()=>ut,ServiceGetStatisticsExceptionHeaders:()=>mt,ServiceGetStatisticsHeaders:()=>pt,ServiceGetUserDelegationKeyExceptionHeaders:()=>Bt,ServiceGetUserDelegationKeyHeaders:()=>Et,ServiceListContainersSegmentExceptionHeaders:()=>bt,ServiceListContainersSegmentHeaders:()=>yt,ServiceSetPropertiesExceptionHeaders:()=>st,ServiceSetPropertiesHeaders:()=>Xe,ServiceSubmitBatchExceptionHeaders:()=>tr,ServiceSubmitBatchHeaders:()=>er,SignedIdentifier:()=>we,StaticWebsite:()=>z,StorageError:()=>W,UserDelegationKey:()=>Ae});i.exports=__toCommonJS(Q);const P={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 D={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 L={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 U={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 G={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 z={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 W={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};const Y={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};const J={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 $={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 K={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 X={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 he={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"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}};const Ae={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"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};const ye={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 be={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 Ee={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 Ce={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 we={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 ve={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 Se={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 Re={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 Ne={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 _e={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 Oe={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 xe={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 ke={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 Qe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};const Pe={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 De={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 Me={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 Fe={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 Ue={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};const je={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};const He={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 Ge={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};const qe={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 ze={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 Je={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};const $e={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 Ke={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 Xe={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 st={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ut={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 dt={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pt={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 mt={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yt={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 bt={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Et={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 Bt={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Nt={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","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},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 Ot={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const er={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 tr={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rr={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 nr={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ir={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 hr={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ar={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 gr={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 br={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wr={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 vr={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Sr={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 Ir={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Br={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 Rr={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 _r={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Or={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 xr={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const kr={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 Qr={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Dr={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 Mr={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Lr={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 Fr={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ur={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 jr={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Hr={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 Gr={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qr={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 zr={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Vr={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 Yr={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 $r={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Kr={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 Xr={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Zr={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","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},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 en={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const tn={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"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},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 rn={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const nn={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 sn={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const an={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 cn={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ln={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 un={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const dn={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 hn={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pn={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 gn={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 mn={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const yn={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 bn={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const En={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 Cn={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wn={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 vn={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Sn={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 In={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Bn={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 Rn={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Nn={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 _n={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Tn={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 On={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xn={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 kn={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qn={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 Pn={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Dn={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 Mn={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const Ln={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 Fn={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const Un={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 jn={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Hn={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 Gn={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qn={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","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},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 zn={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Vn={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 Wn={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Yn={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 Jn={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $n={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 Kn={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xn={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 Zn={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ai={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"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const di={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const fi={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 hi={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const pi={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 Ai={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const gi={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 mi={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ei={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 wi={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const vi={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 Si={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Oi={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 Qi={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Pi={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 Li={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Fi={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 Ui={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const qi={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"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zi={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $i={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 Zi={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const es={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};const ts={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ss={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"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const os={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const as={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 ds={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const fs={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"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const hs={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ps={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 As={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};const gs={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 ms={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ys={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 bs={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};0&&0},6088:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{accept:()=>z,accept1:()=>he,accept2:()=>Ln,access:()=>Me,accessTierIfModifiedSince:()=>kr,accessTierIfUnmodifiedSince:()=>Qr,action:()=>mt,action1:()=>Et,action2:()=>Nt,action3:()=>Ot,action4:()=>tr,appendPosition:()=>mi,blobCacheControl:()=>Fr,blobContentDisposition:()=>qr,blobContentEncoding:()=>Hr,blobContentLanguage:()=>Gr,blobContentLength:()=>Qn,blobContentMD5:()=>jr,blobContentType:()=>Ur,blobDeleteType:()=>xr,blobSequenceNumber:()=>Pn,blobServiceProperties:()=>G,blobTagsString:()=>ln,blobType:()=>kn,blobType1:()=>pi,blobType2:()=>vi,blockId:()=>Qi,blocks:()=>Pi,body:()=>Ne,body1:()=>Mn,breakPeriod:()=>er,comp:()=>J,comp1:()=>Ae,comp10:()=>pt,comp11:()=>Dr,comp12:()=>zr,comp13:()=>Jr,comp14:()=>Xr,comp15:()=>yn,comp16:()=>Cn,comp17:()=>Sn,comp18:()=>In,comp19:()=>Fn,comp2:()=>ye,comp20:()=>Zn,comp21:()=>hi,comp22:()=>Ai,comp23:()=>wi,comp24:()=>Oi,comp25:()=>Li,comp3:()=>Se,comp4:()=>_e,comp5:()=>ke,comp6:()=>qe,comp7:()=>ze,comp8:()=>$e,comp9:()=>st,containerAcl:()=>Je,contentLength:()=>Oe,contentType:()=>U,contentType1:()=>Dn,copyActionAbortConstant:()=>bn,copyId:()=>En,copySource:()=>cn,copySourceAuthorization:()=>An,copySourceBlobProperties:()=>Si,copySourceTags:()=>gn,defaultEncryptionScope:()=>Fe,deleteSnapshots:()=>Or,deletedContainerName:()=>Ke,deletedContainerVersion:()=>Xe,delimiter:()=>hr,duration:()=>yt,encryptionAlgorithm:()=>Br,encryptionKey:()=>Sr,encryptionKeySha256:()=>Ir,encryptionScope:()=>Kr,expiresOn:()=>Lr,expiryOptions:()=>Mr,fileRequestIntent:()=>mn,ifMatch:()=>Rr,ifMatch1:()=>Nn,ifModifiedSince:()=>He,ifModifiedSince1:()=>Bn,ifNoneMatch:()=>Nr,ifNoneMatch1:()=>_n,ifSequenceNumberEqualTo:()=>Gn,ifSequenceNumberLessThan:()=>Hn,ifSequenceNumberLessThanOrEqualTo:()=>jn,ifTags:()=>_r,ifUnmodifiedSince:()=>Ge,ifUnmodifiedSince1:()=>Rn,immutabilityPolicyExpiry:()=>Vr,immutabilityPolicyMode:()=>Yr,include:()=>we,include1:()=>nr,keyInfo:()=>ve,leaseId:()=>je,leaseId1:()=>Bt,legalHold:()=>$r,legalHold1:()=>dn,listType:()=>Fi,marker:()=>Ee,maxPageSize:()=>Ce,maxSize:()=>gi,metadata:()=>De,multipartContentType:()=>xe,pageWrite:()=>Un,pageWrite1:()=>zn,prefix:()=>be,prevSnapshotUrl:()=>di,preventEncryptionScopeOverride:()=>Ue,prevsnapshot:()=>ai,proposedLeaseId:()=>bt,proposedLeaseId1:()=>rr,queryRequest:()=>vn,range:()=>yr,range1:()=>Jn,rangeGetContentCRC64:()=>wr,rangeGetContentMD5:()=>br,rehydratePriority:()=>en,requestId:()=>X,restype:()=>Y,restype1:()=>Re,restype2:()=>Pe,sealBlob:()=>un,sequenceNumberAction:()=>fi,snapshot:()=>Ar,sourceContainerName:()=>ut,sourceContentCrc64:()=>Yn,sourceContentMD5:()=>pn,sourceEncryptionAlgorithm:()=>Xn,sourceEncryptionKey:()=>$n,sourceEncryptionKeySha256:()=>Kn,sourceIfMatch:()=>nn,sourceIfModifiedSince:()=>tn,sourceIfNoneMatch:()=>sn,sourceIfTags:()=>an,sourceIfUnmodifiedSince:()=>rn,sourceLeaseId:()=>dt,sourceRange:()=>Wn,sourceRange1:()=>Ei,sourceUrl:()=>Vn,startFrom:()=>ir,structuredBodyType:()=>vr,structuredContentLength:()=>qn,tags:()=>Tn,tier:()=>Zr,tier1:()=>wn,timeoutInSeconds:()=>$,transactionalContentCrc64:()=>xn,transactionalContentMD5:()=>On,url:()=>W,version:()=>K,versionId:()=>gr,where:()=>Qe,xMsRequiresSync:()=>hn});i.exports=__toCommonJS(D);var L=A(84424);const U={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const G={parameterPath:"blobServiceProperties",mapper:L.BlobServiceProperties};const z={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const W={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};const Y={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};const J={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};const $={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};const K={parameterPath:"version",mapper:{defaultValue:"2026-04-06",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};const X={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};const he={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Ae={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ye={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};const be={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};const Ee={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};const Ce={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};const we={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};const ve={parameterPath:"keyInfo",mapper:L.KeyInfo};const Se={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Re={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Ne={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const _e={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Oe={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};const xe={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};const ke={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Qe={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};const Pe={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};const De={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};const Me={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};const Fe={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};const Ue={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};const je={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};const He={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};const Ge={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};const qe={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ze={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Je={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};const $e={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Ke={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};const Xe={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};const st={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ut={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};const dt={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};const pt={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};const mt={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const yt={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};const bt={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const Et={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Bt={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};const Nt={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Ot={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const er={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};const tr={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const rr={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const nr={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 ir={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};const hr={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};const Ar={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};const gr={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};const yr={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};const br={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};const wr={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};const vr={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}};const Sr={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};const Ir={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};const Br={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};const Rr={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};const Nr={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};const _r={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};const Or={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};const xr={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};const kr={parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}};const Qr={parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const Dr={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Mr={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};const Lr={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};const Fr={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};const Ur={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};const jr={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};const Hr={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};const Gr={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};const qr={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};const zr={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Vr={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};const Yr={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};const Jr={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};const $r={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const Kr={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};const Xr={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Zr={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 en={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};const tn={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};const rn={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const nn={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};const sn={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};const an={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};const cn={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const ln={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};const un={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};const dn={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const hn={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};const pn={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};const An={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};const gn={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 mn={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};const yn={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const bn={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};const En={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};const Cn={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};const wn={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 vn={parameterPath:["options","queryRequest"],mapper:L.QueryRequest};const Sn={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};const In={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Bn={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};const Rn={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const Nn={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};const _n={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};const Tn={parameterPath:["options","tags"],mapper:L.BlobTags};const On={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};const xn={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};const kn={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Qn={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};const Pn={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};const Dn={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Mn={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const Ln={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Fn={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Un={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const jn={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};const Hn={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};const Gn={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};const qn={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}};const zn={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const Vn={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const Wn={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};const Yn={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};const Jn={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};const $n={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}};const Kn={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}};const Xn={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}};const Zn={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ai={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};const di={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};const fi={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 hi={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const pi={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Ai={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};const gi={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};const mi={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};const Ei={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};const wi={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};const vi={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Si={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};const Oi={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Qi={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};const Pi={parameterPath:"blocks",mapper:L.BlockLookupList};const Li={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Fi={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};0&&0},40535:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{AppendBlobImpl:()=>AppendBlobImpl});i.exports=__toCommonJS(U);var G=__toESM(A(60160));var z=__toESM(A(84424));var W=__toESM(A(6088));class AppendBlobImpl{client;constructor(i){this.client=i}create(i,u){return this.client.sendOperationRequest({contentLength:i,options:u},J)}appendBlock(i,u,A){return this.client.sendOperationRequest({contentLength:i,body:u,options:A},$)}appendBlockFromUrl(i,u,A){return this.client.sendOperationRequest({sourceUrl:i,contentLength:u,options:A},K)}seal(i){return this.client.sendOperationRequest({options:i},X)}}const Y=G.createSerializer(z,true);const J={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.AppendBlobCreateHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.AppendBlobCreateExceptionHeaders}},queryParameters:[W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.contentLength,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.blobCacheControl,W.blobContentType,W.blobContentMD5,W.blobContentEncoding,W.blobContentLanguage,W.blobContentDisposition,W.immutabilityPolicyExpiry,W.immutabilityPolicyMode,W.encryptionScope,W.blobTagsString,W.legalHold1,W.blobType1],isXML:true,serializer:Y};const $={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.AppendBlobAppendBlockHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.AppendBlobAppendBlockExceptionHeaders}},requestBody:W.body1,queryParameters:[W.timeoutInSeconds,W.comp22],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.contentLength,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.structuredBodyType,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.encryptionScope,W.transactionalContentMD5,W.transactionalContentCrc64,W.contentType1,W.accept2,W.structuredContentLength,W.maxSize,W.appendPosition],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Y};const K={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp22],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.contentLength,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.encryptionScope,W.sourceIfModifiedSince,W.sourceIfUnmodifiedSince,W.sourceIfMatch,W.sourceIfNoneMatch,W.sourceContentMD5,W.copySourceAuthorization,W.fileRequestIntent,W.transactionalContentMD5,W.sourceUrl,W.sourceContentCrc64,W.sourceEncryptionKey,W.sourceEncryptionKeySha256,W.sourceEncryptionAlgorithm,W.maxSize,W.appendPosition,W.sourceRange1],isXML:true,serializer:Y};const X={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.AppendBlobSealHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.AppendBlobSealExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp23],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.ifMatch,W.ifNoneMatch,W.appendPosition],isXML:true,serializer:Y};0&&0},57559:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{BlobImpl:()=>BlobImpl});i.exports=__toCommonJS(U);var G=__toESM(A(60160));var z=__toESM(A(84424));var W=__toESM(A(6088));class BlobImpl{client;constructor(i){this.client=i}download(i){return this.client.sendOperationRequest({options:i},J)}getProperties(i){return this.client.sendOperationRequest({options:i},$)}delete(i){return this.client.sendOperationRequest({options:i},K)}undelete(i){return this.client.sendOperationRequest({options:i},X)}setExpiry(i,u){return this.client.sendOperationRequest({expiryOptions:i,options:u},he)}setHttpHeaders(i){return this.client.sendOperationRequest({options:i},Ae)}setImmutabilityPolicy(i){return this.client.sendOperationRequest({options:i},ye)}deleteImmutabilityPolicy(i){return this.client.sendOperationRequest({options:i},be)}setLegalHold(i,u){return this.client.sendOperationRequest({legalHold:i,options:u},Ee)}setMetadata(i){return this.client.sendOperationRequest({options:i},Ce)}acquireLease(i){return this.client.sendOperationRequest({options:i},we)}releaseLease(i,u){return this.client.sendOperationRequest({leaseId:i,options:u},ve)}renewLease(i,u){return this.client.sendOperationRequest({leaseId:i,options:u},Se)}changeLease(i,u,A){return this.client.sendOperationRequest({leaseId:i,proposedLeaseId:u,options:A},Re)}breakLease(i){return this.client.sendOperationRequest({options:i},Ne)}createSnapshot(i){return this.client.sendOperationRequest({options:i},_e)}startCopyFromURL(i,u){return this.client.sendOperationRequest({copySource:i,options:u},Oe)}copyFromURL(i,u){return this.client.sendOperationRequest({copySource:i,options:u},xe)}abortCopyFromURL(i,u){return this.client.sendOperationRequest({copyId:i,options:u},ke)}setTier(i,u){return this.client.sendOperationRequest({tier:i,options:u},Qe)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},Pe)}query(i){return this.client.sendOperationRequest({options:i},De)}getTags(i){return this.client.sendOperationRequest({options:i},Me)}setTags(i){return this.client.sendOperationRequest({options:i},Fe)}}const Y=G.createSerializer(z,true);const J={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:z.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:z.BlobDownloadHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobDownloadExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.versionId],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.range,W.rangeGetContentMD5,W.rangeGetContentCRC64,W.structuredBodyType,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,serializer:Y};const $={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:z.BlobGetPropertiesHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobGetPropertiesExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.versionId],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,serializer:Y};const K={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:z.BlobDeleteHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobDeleteExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.versionId,W.blobDeleteType],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.ifMatch,W.ifNoneMatch,W.ifTags,W.deleteSnapshots,W.accessTierIfModifiedSince,W.accessTierIfUnmodifiedSince],isXML:true,serializer:Y};const X={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobUndeleteHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobUndeleteExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp8],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const he={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobSetExpiryHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobSetExpiryExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp11],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.expiryOptions,W.expiresOn],isXML:true,serializer:Y};const Ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobSetHttpHeadersHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[W.comp,W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.ifMatch,W.ifNoneMatch,W.ifTags,W.blobCacheControl,W.blobContentType,W.blobContentMD5,W.blobContentEncoding,W.blobContentLanguage,W.blobContentDisposition],isXML:true,serializer:Y};const ye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.versionId,W.comp12],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifUnmodifiedSince,W.immutabilityPolicyExpiry,W.immutabilityPolicyMode],isXML:true,serializer:Y};const be={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:z.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.versionId,W.comp12],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobSetLegalHoldHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobSetLegalHoldExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.versionId,W.comp13],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.legalHold],isXML:true,serializer:Y};const Ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobSetMetadataHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobSetMetadataExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp6],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.encryptionScope],isXML:true,serializer:Y};const we={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.BlobAcquireLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobAcquireLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.action,W.duration,W.proposedLeaseId,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,serializer:Y};const ve={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobReleaseLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobReleaseLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.action1,W.leaseId1,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,serializer:Y};const Se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobRenewLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobRenewLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.leaseId1,W.action2,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,serializer:Y};const Re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobChangeLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobChangeLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.leaseId1,W.action4,W.proposedLeaseId1,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,serializer:Y};const Ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:z.BlobBreakLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobBreakLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.action3,W.breakPeriod,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,serializer:Y};const _e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.BlobCreateSnapshotHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobCreateSnapshotExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp14],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.encryptionScope],isXML:true,serializer:Y};const Oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:z.BlobStartCopyFromURLHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.ifMatch,W.ifNoneMatch,W.ifTags,W.immutabilityPolicyExpiry,W.immutabilityPolicyMode,W.tier,W.rehydratePriority,W.sourceIfModifiedSince,W.sourceIfUnmodifiedSince,W.sourceIfMatch,W.sourceIfNoneMatch,W.sourceIfTags,W.copySource,W.blobTagsString,W.sealBlob,W.legalHold1],isXML:true,serializer:Y};const xe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:z.BlobCopyFromURLHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobCopyFromURLExceptionHeaders}},queryParameters:[W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.ifMatch,W.ifNoneMatch,W.ifTags,W.immutabilityPolicyExpiry,W.immutabilityPolicyMode,W.encryptionScope,W.tier,W.sourceIfModifiedSince,W.sourceIfUnmodifiedSince,W.sourceIfMatch,W.sourceIfNoneMatch,W.copySource,W.blobTagsString,W.legalHold1,W.xMsRequiresSync,W.sourceContentMD5,W.copySourceAuthorization,W.copySourceTags,W.fileRequestIntent],isXML:true,serializer:Y};const ke={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:z.BlobAbortCopyFromURLHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp15,W.copyId],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.copyActionAbortConstant],isXML:true,serializer:Y};const Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.BlobSetTierHeaders},202:{headersMapper:z.BlobSetTierHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobSetTierExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.versionId,W.comp16],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifTags,W.rehydratePriority,W.tier1],isXML:true,serializer:Y};const Pe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:z.BlobGetAccountInfoHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobGetAccountInfoExceptionHeaders}},queryParameters:[W.comp,W.timeoutInSeconds,W.restype1],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const De={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:z.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:z.BlobQueryHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobQueryExceptionHeaders}},requestBody:W.queryRequest,queryParameters:[W.timeoutInSeconds,W.snapshot,W.comp17],urlParameters:[W.url],headerParameters:[W.contentType,W.accept,W.version,W.requestId,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Y};const Me={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:z.BlobTags,headersMapper:z.BlobGetTagsHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobGetTagsExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.versionId,W.comp18],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifTags,W.ifModifiedSince1,W.ifUnmodifiedSince1,W.ifMatch1,W.ifNoneMatch1],isXML:true,serializer:Y};const Fe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:z.BlobSetTagsHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlobSetTagsExceptionHeaders}},requestBody:W.tags,queryParameters:[W.timeoutInSeconds,W.versionId,W.comp18],urlParameters:[W.url],headerParameters:[W.contentType,W.accept,W.version,W.requestId,W.leaseId,W.ifTags,W.ifModifiedSince1,W.ifUnmodifiedSince1,W.ifMatch1,W.ifNoneMatch1,W.transactionalContentMD5,W.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Y};0&&0},95440:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{BlockBlobImpl:()=>BlockBlobImpl});i.exports=__toCommonJS(U);var G=__toESM(A(60160));var z=__toESM(A(84424));var W=__toESM(A(6088));class BlockBlobImpl{client;constructor(i){this.client=i}upload(i,u,A){return this.client.sendOperationRequest({contentLength:i,body:u,options:A},J)}putBlobFromUrl(i,u,A){return this.client.sendOperationRequest({contentLength:i,copySource:u,options:A},$)}stageBlock(i,u,A,I){return this.client.sendOperationRequest({blockId:i,contentLength:u,body:A,options:I},K)}stageBlockFromURL(i,u,A,I){return this.client.sendOperationRequest({blockId:i,contentLength:u,sourceUrl:A,options:I},X)}commitBlockList(i,u){return this.client.sendOperationRequest({blocks:i,options:u},he)}getBlockList(i,u){return this.client.sendOperationRequest({listType:i,options:u},Ae)}}const Y=G.createSerializer(z,true);const J={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.BlockBlobUploadHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlockBlobUploadExceptionHeaders}},requestBody:W.body1,queryParameters:[W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.contentLength,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.structuredBodyType,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.blobCacheControl,W.blobContentType,W.blobContentMD5,W.blobContentEncoding,W.blobContentLanguage,W.blobContentDisposition,W.immutabilityPolicyExpiry,W.immutabilityPolicyMode,W.encryptionScope,W.tier,W.blobTagsString,W.legalHold1,W.transactionalContentMD5,W.transactionalContentCrc64,W.contentType1,W.accept2,W.structuredContentLength,W.blobType2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Y};const $={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.contentLength,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.blobCacheControl,W.blobContentType,W.blobContentMD5,W.blobContentEncoding,W.blobContentLanguage,W.blobContentDisposition,W.encryptionScope,W.tier,W.sourceIfModifiedSince,W.sourceIfUnmodifiedSince,W.sourceIfMatch,W.sourceIfNoneMatch,W.sourceIfTags,W.copySource,W.blobTagsString,W.sourceContentMD5,W.copySourceAuthorization,W.copySourceTags,W.fileRequestIntent,W.transactionalContentMD5,W.sourceEncryptionKey,W.sourceEncryptionKeySha256,W.sourceEncryptionAlgorithm,W.blobType2,W.copySourceBlobProperties],isXML:true,serializer:Y};const K={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.BlockBlobStageBlockHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlockBlobStageBlockExceptionHeaders}},requestBody:W.body1,queryParameters:[W.timeoutInSeconds,W.comp24,W.blockId],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.contentLength,W.leaseId,W.structuredBodyType,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.encryptionScope,W.transactionalContentMD5,W.transactionalContentCrc64,W.contentType1,W.accept2,W.structuredContentLength],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Y};const X={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp24,W.blockId],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.contentLength,W.leaseId,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.encryptionScope,W.sourceIfModifiedSince,W.sourceIfUnmodifiedSince,W.sourceIfMatch,W.sourceIfNoneMatch,W.sourceContentMD5,W.copySourceAuthorization,W.fileRequestIntent,W.sourceUrl,W.sourceContentCrc64,W.sourceEncryptionKey,W.sourceEncryptionKeySha256,W.sourceEncryptionAlgorithm,W.sourceRange1],isXML:true,serializer:Y};const he={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.BlockBlobCommitBlockListHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlockBlobCommitBlockListExceptionHeaders}},requestBody:W.blocks,queryParameters:[W.timeoutInSeconds,W.comp25],urlParameters:[W.url],headerParameters:[W.contentType,W.accept,W.version,W.requestId,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.blobCacheControl,W.blobContentType,W.blobContentMD5,W.blobContentEncoding,W.blobContentLanguage,W.blobContentDisposition,W.immutabilityPolicyExpiry,W.immutabilityPolicyMode,W.encryptionScope,W.tier,W.blobTagsString,W.legalHold1,W.transactionalContentMD5,W.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Y};const Ae={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:z.BlockList,headersMapper:z.BlockBlobGetBlockListHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.snapshot,W.comp25,W.listType],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifTags],isXML:true,serializer:Y};0&&0},14509:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{ContainerImpl:()=>ContainerImpl});i.exports=__toCommonJS(U);var G=__toESM(A(60160));var z=__toESM(A(84424));var W=__toESM(A(6088));class ContainerImpl{client;constructor(i){this.client=i}create(i){return this.client.sendOperationRequest({options:i},J)}getProperties(i){return this.client.sendOperationRequest({options:i},$)}delete(i){return this.client.sendOperationRequest({options:i},K)}setMetadata(i){return this.client.sendOperationRequest({options:i},X)}getAccessPolicy(i){return this.client.sendOperationRequest({options:i},he)}setAccessPolicy(i){return this.client.sendOperationRequest({options:i},Ae)}restore(i){return this.client.sendOperationRequest({options:i},ye)}rename(i,u){return this.client.sendOperationRequest({sourceContainerName:i,options:u},be)}submitBatch(i,u,A,I){return this.client.sendOperationRequest({contentLength:i,multipartContentType:u,body:A,options:I},Ee)}filterBlobs(i){return this.client.sendOperationRequest({options:i},Ce)}acquireLease(i){return this.client.sendOperationRequest({options:i},we)}releaseLease(i,u){return this.client.sendOperationRequest({leaseId:i,options:u},ve)}renewLease(i,u){return this.client.sendOperationRequest({leaseId:i,options:u},Se)}breakLease(i){return this.client.sendOperationRequest({options:i},Re)}changeLease(i,u,A){return this.client.sendOperationRequest({leaseId:i,proposedLeaseId:u,options:A},Ne)}listBlobFlatSegment(i){return this.client.sendOperationRequest({options:i},_e)}listBlobHierarchySegment(i,u){return this.client.sendOperationRequest({delimiter:i,options:u},Oe)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},xe)}}const Y=G.createSerializer(z,true);const J={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:z.ContainerCreateHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerCreateExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.metadata,W.access,W.defaultEncryptionScope,W.preventEncryptionScopeOverride],isXML:true,serializer:Y};const $={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:z.ContainerGetPropertiesHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerGetPropertiesExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId],isXML:true,serializer:Y};const K={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:z.ContainerDeleteHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerDeleteExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince],isXML:true,serializer:Y};const X={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:z.ContainerSetMetadataHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerSetMetadataExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp6],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.metadata,W.leaseId,W.ifModifiedSince],isXML:true,serializer:Y};const he={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:z.ContainerGetAccessPolicyHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp7],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId],isXML:true,serializer:Y};const Ae={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:z.ContainerSetAccessPolicyHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerSetAccessPolicyExceptionHeaders}},requestBody:W.containerAcl,queryParameters:[W.timeoutInSeconds,W.restype2,W.comp7],urlParameters:[W.url],headerParameters:[W.contentType,W.accept,W.version,W.requestId,W.access,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Y};const ye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:z.ContainerRestoreHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerRestoreExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp8],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.deletedContainerName,W.deletedContainerVersion],isXML:true,serializer:Y};const be={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:z.ContainerRenameHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerRenameExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp9],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.sourceContainerName,W.sourceLeaseId],isXML:true,serializer:Y};const Ee={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:z.ContainerSubmitBatchHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerSubmitBatchExceptionHeaders}},requestBody:W.body,queryParameters:[W.timeoutInSeconds,W.comp4,W.restype2],urlParameters:[W.url],headerParameters:[W.accept,W.version,W.requestId,W.contentLength,W.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Y};const Ce={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:z.FilterBlobSegment,headersMapper:z.ContainerFilterBlobsHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerFilterBlobsExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.marker,W.maxPageSize,W.comp5,W.where,W.restype2],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const we={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:z.ContainerAcquireLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.action,W.duration,W.proposedLeaseId],isXML:true,serializer:Y};const ve={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:z.ContainerReleaseLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.action1,W.leaseId1],isXML:true,serializer:Y};const Se={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:z.ContainerRenewLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerRenewLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.leaseId1,W.action2],isXML:true,serializer:Y};const Re={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:z.ContainerBreakLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerBreakLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.action3,W.breakPeriod],isXML:true,serializer:Y};const Ne={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:z.ContainerChangeLeaseHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerChangeLeaseExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.restype2,W.comp10],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.leaseId1,W.action4,W.proposedLeaseId1],isXML:true,serializer:Y};const _e={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:z.ListBlobsFlatSegmentResponse,headersMapper:z.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp2,W.prefix,W.marker,W.maxPageSize,W.restype2,W.include1,W.startFrom],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const Oe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:z.ListBlobsHierarchySegmentResponse,headersMapper:z.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp2,W.prefix,W.marker,W.maxPageSize,W.restype2,W.include1,W.startFrom,W.delimiter],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const xe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:z.ContainerGetAccountInfoHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[W.comp,W.timeoutInSeconds,W.restype1],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};0&&0},37878:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __reExport=(i,u,A)=>(__copyProps(i,u,"default"),A&&__copyProps(A,u,"default"));var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};i.exports=__toCommonJS(D);__reExport(D,A(44181),i.exports);__reExport(D,A(14509),i.exports);__reExport(D,A(57559),i.exports);__reExport(D,A(69156),i.exports);__reExport(D,A(40535),i.exports);__reExport(D,A(95440),i.exports);0&&0},69156:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{PageBlobImpl:()=>PageBlobImpl});i.exports=__toCommonJS(U);var G=__toESM(A(60160));var z=__toESM(A(84424));var W=__toESM(A(6088));class PageBlobImpl{client;constructor(i){this.client=i}create(i,u,A){return this.client.sendOperationRequest({contentLength:i,blobContentLength:u,options:A},J)}uploadPages(i,u,A){return this.client.sendOperationRequest({contentLength:i,body:u,options:A},$)}clearPages(i,u){return this.client.sendOperationRequest({contentLength:i,options:u},K)}uploadPagesFromURL(i,u,A,I,B){return this.client.sendOperationRequest({sourceUrl:i,sourceRange:u,contentLength:A,range:I,options:B},X)}getPageRanges(i){return this.client.sendOperationRequest({options:i},he)}getPageRangesDiff(i){return this.client.sendOperationRequest({options:i},Ae)}resize(i,u){return this.client.sendOperationRequest({blobContentLength:i,options:u},ye)}updateSequenceNumber(i,u){return this.client.sendOperationRequest({sequenceNumberAction:i,options:u},be)}copyIncremental(i,u){return this.client.sendOperationRequest({copySource:i,options:u},Ee)}}const Y=G.createSerializer(z,true);const J={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.PageBlobCreateHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobCreateExceptionHeaders}},queryParameters:[W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.contentLength,W.metadata,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.blobCacheControl,W.blobContentType,W.blobContentMD5,W.blobContentEncoding,W.blobContentLanguage,W.blobContentDisposition,W.immutabilityPolicyExpiry,W.immutabilityPolicyMode,W.encryptionScope,W.tier,W.blobTagsString,W.legalHold1,W.blobType,W.blobContentLength,W.blobSequenceNumber],isXML:true,serializer:Y};const $={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.PageBlobUploadPagesHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobUploadPagesExceptionHeaders}},requestBody:W.body1,queryParameters:[W.timeoutInSeconds,W.comp19],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.contentLength,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.range,W.structuredBodyType,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.encryptionScope,W.transactionalContentMD5,W.transactionalContentCrc64,W.contentType1,W.accept2,W.pageWrite,W.ifSequenceNumberLessThanOrEqualTo,W.ifSequenceNumberLessThan,W.ifSequenceNumberEqualTo,W.structuredContentLength],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Y};const K={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.PageBlobClearPagesHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobClearPagesExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp19],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.contentLength,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.range,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.encryptionScope,W.ifSequenceNumberLessThanOrEqualTo,W.ifSequenceNumberLessThan,W.ifSequenceNumberEqualTo,W.pageWrite1],isXML:true,serializer:Y};const X={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:z.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp19],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.contentLength,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.encryptionScope,W.sourceIfModifiedSince,W.sourceIfUnmodifiedSince,W.sourceIfMatch,W.sourceIfNoneMatch,W.sourceContentMD5,W.copySourceAuthorization,W.fileRequestIntent,W.pageWrite,W.ifSequenceNumberLessThanOrEqualTo,W.ifSequenceNumberLessThan,W.ifSequenceNumberEqualTo,W.sourceUrl,W.sourceRange,W.sourceContentCrc64,W.range1,W.sourceEncryptionKey,W.sourceEncryptionKeySha256,W.sourceEncryptionAlgorithm],isXML:true,serializer:Y};const he={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:z.PageList,headersMapper:z.PageBlobGetPageRangesHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.marker,W.maxPageSize,W.snapshot,W.comp20],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.range,W.ifMatch,W.ifNoneMatch,W.ifTags],isXML:true,serializer:Y};const Ae={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:z.PageList,headersMapper:z.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.marker,W.maxPageSize,W.snapshot,W.comp20,W.prevsnapshot],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.range,W.ifMatch,W.ifNoneMatch,W.ifTags,W.prevSnapshotUrl],isXML:true,serializer:Y};const ye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.PageBlobResizeHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobResizeExceptionHeaders}},queryParameters:[W.comp,W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.encryptionKey,W.encryptionKeySha256,W.encryptionAlgorithm,W.ifMatch,W.ifNoneMatch,W.ifTags,W.encryptionScope,W.blobContentLength],isXML:true,serializer:Y};const be={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:z.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[W.comp,W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.leaseId,W.ifModifiedSince,W.ifUnmodifiedSince,W.ifMatch,W.ifNoneMatch,W.ifTags,W.blobSequenceNumber,W.sequenceNumberAction],isXML:true,serializer:Y};const Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:z.PageBlobCopyIncrementalHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp21],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1,W.ifModifiedSince,W.ifUnmodifiedSince,W.ifMatch,W.ifNoneMatch,W.ifTags,W.copySource],isXML:true,serializer:Y};0&&0},44181:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{ServiceImpl:()=>ServiceImpl});i.exports=__toCommonJS(U);var G=__toESM(A(60160));var z=__toESM(A(84424));var W=__toESM(A(6088));class ServiceImpl{client;constructor(i){this.client=i}setProperties(i,u){return this.client.sendOperationRequest({blobServiceProperties:i,options:u},J)}getProperties(i){return this.client.sendOperationRequest({options:i},$)}getStatistics(i){return this.client.sendOperationRequest({options:i},K)}listContainersSegment(i){return this.client.sendOperationRequest({options:i},X)}getUserDelegationKey(i,u){return this.client.sendOperationRequest({keyInfo:i,options:u},he)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},Ae)}submitBatch(i,u,A,I){return this.client.sendOperationRequest({contentLength:i,multipartContentType:u,body:A,options:I},ye)}filterBlobs(i){return this.client.sendOperationRequest({options:i},be)}}const Y=G.createSerializer(z,true);const J={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:z.ServiceSetPropertiesHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ServiceSetPropertiesExceptionHeaders}},requestBody:W.blobServiceProperties,queryParameters:[W.restype,W.comp,W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.contentType,W.accept,W.version,W.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Y};const $={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:z.BlobServiceProperties,headersMapper:z.ServiceGetPropertiesHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ServiceGetPropertiesExceptionHeaders}},queryParameters:[W.restype,W.comp,W.timeoutInSeconds],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const K={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:z.BlobServiceStatistics,headersMapper:z.ServiceGetStatisticsHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ServiceGetStatisticsExceptionHeaders}},queryParameters:[W.restype,W.timeoutInSeconds,W.comp1],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const X={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:z.ListContainersSegmentResponse,headersMapper:z.ServiceListContainersSegmentHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.comp2,W.prefix,W.marker,W.maxPageSize,W.include],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const he={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:z.UserDelegationKey,headersMapper:z.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:W.keyInfo,queryParameters:[W.restype,W.timeoutInSeconds,W.comp3],urlParameters:[W.url],headerParameters:[W.contentType,W.accept,W.version,W.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Y};const Ae={path:"/",httpMethod:"GET",responses:{200:{headersMapper:z.ServiceGetAccountInfoHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[W.comp,W.timeoutInSeconds,W.restype1],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};const ye={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:z.ServiceSubmitBatchHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ServiceSubmitBatchExceptionHeaders}},requestBody:W.body,queryParameters:[W.timeoutInSeconds,W.comp4],urlParameters:[W.url],headerParameters:[W.accept,W.version,W.requestId,W.contentLength,W.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Y};const be={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:z.FilterBlobSegment,headersMapper:z.ServiceFilterBlobsHeaders},default:{bodyMapper:z.StorageError,headersMapper:z.ServiceFilterBlobsExceptionHeaders}},queryParameters:[W.timeoutInSeconds,W.marker,W.maxPageSize,W.comp5,W.where],urlParameters:[W.url],headerParameters:[W.version,W.requestId,W.accept1],isXML:true,serializer:Y};0&&0},56635:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};i.exports=__toCommonJS(Q)},68355:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};i.exports=__toCommonJS(Q)},17188:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};i.exports=__toCommonJS(Q)},15337:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};i.exports=__toCommonJS(Q)},82354:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __reExport=(i,u,A)=>(__copyProps(i,u,"default"),A&&__copyProps(A,u,"default"));var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};i.exports=__toCommonJS(D);__reExport(D,A(26865),i.exports);__reExport(D,A(15337),i.exports);__reExport(D,A(68355),i.exports);__reExport(D,A(14400),i.exports);__reExport(D,A(56635),i.exports);__reExport(D,A(17188),i.exports);0&&0},14400:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};i.exports=__toCommonJS(Q)},26865:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};i.exports=__toCommonJS(Q)},5313:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{StorageClient:()=>StorageClient});i.exports=__toCommonJS(U);var G=__toESM(A(61584));var z=A(37878);class StorageClient extends G.ExtendedServiceClient{url;version;constructor(i,u){if(i===void 0){throw new Error("'url' cannot be null")}if(!u){u={}}const A={requestContentType:"application/json; charset=utf-8"};const I=`azsdk-js-azure-storage-blob/12.32.0`;const B=u.userAgentOptions&&u.userAgentOptions.userAgentPrefix?`${u.userAgentOptions.userAgentPrefix} ${I}`:`${I}`;const Q={...A,...u,userAgentOptions:{userAgentPrefix:B},endpoint:u.endpoint??u.baseUri??"{url}"};super(Q);this.url=i;this.version=u.version||"2026-04-06";this.service=new z.ServiceImpl(this);this.container=new z.ContainerImpl(this);this.blob=new z.BlobImpl(this);this.pageBlob=new z.PageBlobImpl(this);this.appendBlob=new z.AppendBlobImpl(this);this.blockBlob=new z.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob}0&&0},83627:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{KnownEncryptionAlgorithmType:()=>P});i.exports=__toCommonJS(Q);var P=(i=>{i["AES256"]="AES256";return i})(P||{});0&&0},71400:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __reExport=(i,u,A)=>(__copyProps(i,u,"default"),A&&__copyProps(A,u,"default"));var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{AnonymousCredential:()=>Y.AnonymousCredential,AnonymousCredentialPolicy:()=>Y.AnonymousCredentialPolicy,BaseRequestPolicy:()=>Y.BaseRequestPolicy,BlockBlobTier:()=>z.BlockBlobTier,Credential:()=>Y.Credential,CredentialPolicy:()=>Y.CredentialPolicy,Pipeline:()=>W.Pipeline,PremiumPageBlobTier:()=>z.PremiumPageBlobTier,RestError:()=>L.RestError,StorageBlobAudience:()=>z.StorageBlobAudience,StorageBrowserPolicy:()=>Y.StorageBrowserPolicy,StorageBrowserPolicyFactory:()=>Y.StorageBrowserPolicyFactory,StorageOAuthScopes:()=>W.StorageOAuthScopes,StorageRetryPolicy:()=>Y.StorageRetryPolicy,StorageRetryPolicyFactory:()=>Y.StorageRetryPolicyFactory,StorageRetryPolicyType:()=>Y.StorageRetryPolicyType,StorageSharedKeyCredential:()=>Y.StorageSharedKeyCredential,StorageSharedKeyCredentialPolicy:()=>Y.StorageSharedKeyCredentialPolicy,generateAccountSASQueryParameters:()=>U.generateAccountSASQueryParameters,generateBlobSASQueryParameters:()=>G.generateBlobSASQueryParameters,getBlobServiceAccountAudience:()=>z.getBlobServiceAccountAudience,isPipelineLike:()=>W.isPipelineLike,logger:()=>J.logger,newPipeline:()=>W.newPipeline});i.exports=__toCommonJS(D);var L=A(20778);__reExport(D,A(96341),i.exports);__reExport(D,A(90372),i.exports);__reExport(D,A(81884),i.exports);__reExport(D,A(23276),i.exports);__reExport(D,A(6358),i.exports);__reExport(D,A(91267),i.exports);__reExport(D,A(46940),i.exports);var U=A(85238);__reExport(D,A(95561),i.exports);__reExport(D,A(12094),i.exports);__reExport(D,A(2232),i.exports);var G=A(656);__reExport(D,A(51622),i.exports);var z=A(58560);var W=A(25984);var Y=A(51382);__reExport(D,A(26823),i.exports);__reExport(D,A(83627),i.exports);var J=A(46370);0&&0},11326:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{AVRO_CODEC_KEY:()=>L,AVRO_INIT_BYTES:()=>D,AVRO_SCHEMA_KEY:()=>U,AVRO_SYNC_MARKER_SIZE:()=>P});i.exports=__toCommonJS(Q);const P=16;const D=new Uint8Array([79,98,106,1]);const L="avro.codec";const U="avro.schema";0&&0},35652:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{AvroParser:()=>AvroParser,AvroType:()=>AvroType});i.exports=__toCommonJS(Q);class AvroParser{static async readFixedBytes(i,u,A={}){const I=await i.read(u,{abortSignal:A.abortSignal});if(I.length!==u){throw new Error("Hit stream end.")}return I}static async readByte(i,u={}){const A=await AvroParser.readFixedBytes(i,1,u);return A[0]}static async readZigZagLong(i,u={}){let A=0;let I=0;let B,Q,P;do{B=await AvroParser.readByte(i,u);Q=B&128;A|=(B&127)<Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return I}return A>>1^-(A&1)}static async readLong(i,u={}){return AvroParser.readZigZagLong(i,u)}static async readInt(i,u={}){return AvroParser.readZigZagLong(i,u)}static async readNull(){return null}static async readBoolean(i,u={}){const A=await AvroParser.readByte(i,u);if(A===1){return true}else if(A===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(i,u={}){const A=await AvroParser.readFixedBytes(i,4,u);const I=new DataView(A.buffer,A.byteOffset,A.byteLength);return I.getFloat32(0,true)}static async readDouble(i,u={}){const A=await AvroParser.readFixedBytes(i,8,u);const I=new DataView(A.buffer,A.byteOffset,A.byteLength);return I.getFloat64(0,true)}static async readBytes(i,u={}){const A=await AvroParser.readLong(i,u);if(A<0){throw new Error("Bytes size was negative.")}return i.read(A,{abortSignal:u.abortSignal})}static async readString(i,u={}){const A=await AvroParser.readBytes(i,u);const I=new TextDecoder;return I.decode(A)}static async readMapPair(i,u,A={}){const I=await AvroParser.readString(i,A);const B=await u(i,A);return{key:I,value:B}}static async readMap(i,u,A={}){const readPairMethod=(i,A={})=>AvroParser.readMapPair(i,u,A);const I=await AvroParser.readArray(i,readPairMethod,A);const B={};for(const i of I){B[i.key]=i.value}return B}static async readArray(i,u,A={}){const I=[];for(let B=await AvroParser.readLong(i,A);B!==0;B=await AvroParser.readLong(i,A)){if(B<0){await AvroParser.readLong(i,A);B=-B}while(B--){const B=await u(i,A);I.push(B)}}return I}}var P=(i=>{i["RECORD"]="record";i["ENUM"]="enum";i["ARRAY"]="array";i["MAP"]="map";i["UNION"]="union";i["FIXED"]="fixed";return i})(P||{});var D=(i=>{i["NULL"]="null";i["BOOLEAN"]="boolean";i["INT"]="int";i["LONG"]="long";i["FLOAT"]="float";i["DOUBLE"]="double";i["BYTES"]="bytes";i["STRING"]="string";return i})(D||{});class AvroType{static fromSchema(i){if(typeof i==="string"){return AvroType.fromStringSchema(i)}else if(Array.isArray(i)){return AvroType.fromArraySchema(i)}else{return AvroType.fromObjectSchema(i)}}static fromStringSchema(i){switch(i){case"null":case"boolean":case"int":case"long":case"float":case"double":case"bytes":case"string":return new AvroPrimitiveType(i);default:throw new Error(`Unexpected Avro type ${i}`)}}static fromArraySchema(i){return new AvroUnionType(i.map(AvroType.fromSchema))}static fromObjectSchema(i){const u=i.type;try{return AvroType.fromStringSchema(u)}catch{}switch(u){case"record":if(i.aliases){throw new Error(`aliases currently is not supported, schema: ${i}`)}if(!i.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${i}`)}const A={};if(!i.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${i}`)}for(const u of i.fields){A[u.name]=AvroType.fromSchema(u.type)}return new AvroRecordType(A,i.name);case"enum":if(i.aliases){throw new Error(`aliases currently is not supported, schema: ${i}`)}if(!i.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${i}`)}return new AvroEnumType(i.symbols);case"map":if(!i.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${i}`)}return new AvroMapType(AvroType.fromSchema(i.values));case"array":case"fixed":default:throw new Error(`Unexpected Avro type ${u} in ${i}`)}}}class AvroPrimitiveType extends AvroType{_primitive;constructor(i){super();this._primitive=i}read(i,u={}){switch(this._primitive){case"null":return AvroParser.readNull();case"boolean":return AvroParser.readBoolean(i,u);case"int":return AvroParser.readInt(i,u);case"long":return AvroParser.readLong(i,u);case"float":return AvroParser.readFloat(i,u);case"double":return AvroParser.readDouble(i,u);case"bytes":return AvroParser.readBytes(i,u);case"string":return AvroParser.readString(i,u);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{_symbols;constructor(i){super();this._symbols=i}async read(i,u={}){const A=await AvroParser.readInt(i,u);return this._symbols[A]}}class AvroUnionType extends AvroType{_types;constructor(i){super();this._types=i}async read(i,u={}){const A=await AvroParser.readInt(i,u);return this._types[A].read(i,u)}}class AvroMapType extends AvroType{_itemType;constructor(i){super();this._itemType=i}read(i,u={}){const readItemMethod=(i,u)=>this._itemType.read(i,u);return AvroParser.readMap(i,readItemMethod,u)}}class AvroRecordType extends AvroType{_name;_fields;constructor(i,u){super();this._fields=i;this._name=u}async read(i,u={}){const A={};A["$schema"]=this._name;for(const I in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,I)){A[I]=await this._fields[I].read(i,u)}}return A}}0&&0},41675:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{AvroReadable:()=>AvroReadable});i.exports=__toCommonJS(Q);class AvroReadable{}0&&0},48059:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{AvroReadableFromStream:()=>AvroReadableFromStream});i.exports=__toCommonJS(D);var L=A(41675);var U=A(83134);var G=A(20181);const z=new U.AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends L.AvroReadable{_position;_readable;toUint8Array(i){if(typeof i==="string"){return G.Buffer.from(i)}return i}constructor(i){super();this._readable=i;this._position=0}get position(){return this._position}async read(i,u={}){if(u.abortSignal?.aborted){throw z}if(i<0){throw new Error(`size parameter should be positive: ${i}`)}if(i===0){return new Uint8Array}if(!this._readable.readable){throw new Error("Stream no longer readable.")}const A=this._readable.read(i);if(A){this._position+=A.length;return this.toUint8Array(A)}else{return new Promise(((A,I)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(u.abortSignal){u.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const u=this._readable.read(i);if(u){this._position+=u.length;cleanUp();A(this.toUint8Array(u))}};const rejectCallback=()=>{cleanUp();I()};const abortHandler=()=>{cleanUp();I(z)};this._readable.on("readable",readableCallback);this._readable.once("error",rejectCallback);this._readable.once("end",rejectCallback);this._readable.once("close",rejectCallback);if(u.abortSignal){u.abortSignal.addEventListener("abort",abortHandler)}}))}}}0&&0},52888:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{AvroReader:()=>AvroReader});i.exports=__toCommonJS(D);var L=A(11326);var U=A(35652);var G=A(4337);class AvroReader{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(i,u,A,I){this._dataStream=i;this._headerStream=u||i;this._initialized=false;this._blockOffset=A||0;this._objectIndex=I||0;this._initialBlockOffset=A||0}async initialize(i={}){const u=await U.AvroParser.readFixedBytes(this._headerStream,L.AVRO_INIT_BYTES.length,{abortSignal:i.abortSignal});if(!(0,G.arraysEqual)(u,L.AVRO_INIT_BYTES)){throw new Error("Stream is not an Avro file.")}this._metadata=await U.AvroParser.readMap(this._headerStream,U.AvroParser.readString,{abortSignal:i.abortSignal});const A=this._metadata[L.AVRO_CODEC_KEY];if(!(A===void 0||A===null||A==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await U.AvroParser.readFixedBytes(this._headerStream,L.AVRO_SYNC_MARKER_SIZE,{abortSignal:i.abortSignal});const I=JSON.parse(this._metadata[L.AVRO_SCHEMA_KEY]);this._itemType=U.AvroType.fromSchema(I);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await U.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal});await U.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let u=0;u0}async*parseObjects(i={}){if(!this._initialized){await this.initialize(i)}while(this.hasNext()){const u=await this._itemType.read(this._dataStream,{abortSignal:i.abortSignal});this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const u=await U.AvroParser.readFixedBytes(this._dataStream,L.AVRO_SYNC_MARKER_SIZE,{abortSignal:i.abortSignal});this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!(0,G.arraysEqual)(this._syncMarker,u)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=await U.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal})}catch{this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){await U.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal})}}yield u}}}0&&0},96147:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{AvroReadable:()=>U.AvroReadable,AvroReadableFromStream:()=>G.AvroReadableFromStream,AvroReader:()=>L.AvroReader});i.exports=__toCommonJS(D);var L=A(52888);var U=A(41675);var G=A(48059);0&&0},4337:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{arraysEqual:()=>arraysEqual});i.exports=__toCommonJS(Q);function arraysEqual(i,u){if(i===u)return true;if(i==null||u==null)return false;if(i.length!==u.length)return false;for(let A=0;A{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{logger:()=>U});i.exports=__toCommonJS(D);var L=A(26515);const U=(0,L.createClientLogger)("storage-blob");0&&0},58560:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlockBlobTier:()=>U,PremiumPageBlobTier:()=>G,StorageBlobAudience:()=>z,ensureCpkIfSpecified:()=>ensureCpkIfSpecified,getBlobServiceAccountAudience:()=>getBlobServiceAccountAudience,toAccessTier:()=>toAccessTier});i.exports=__toCommonJS(D);var L=A(27323);var U=(i=>{i["Hot"]="Hot";i["Cool"]="Cool";i["Cold"]="Cold";i["Archive"]="Archive";return i})(U||{});var G=(i=>{i["P4"]="P4";i["P6"]="P6";i["P10"]="P10";i["P15"]="P15";i["P20"]="P20";i["P30"]="P30";i["P40"]="P40";i["P50"]="P50";i["P60"]="P60";i["P70"]="P70";i["P80"]="P80";return i})(G||{});function toAccessTier(i){if(i===void 0){return void 0}return i}function ensureCpkIfSpecified(i,u){if(i&&!u){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(i&&!i.encryptionAlgorithm){i.encryptionAlgorithm=L.EncryptionAlgorithmAES25}}var z=(i=>{i["StorageOAuthScopes"]="https://storage.azure.com/.default";i["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default";return i})(z||{});function getBlobServiceAccountAudience(i){return`https://${i}.blob.core.windows.net/.default`}0&&0},73145:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobBeginCopyFromUrlPoller:()=>BlobBeginCopyFromUrlPoller});i.exports=__toCommonJS(D);var L=A(87779);var U=A(91754);class BlobBeginCopyFromUrlPoller extends U.Poller{intervalInMs;constructor(i){const{blobClient:u,copySource:A,intervalInMs:I=15e3,onProgress:B,resumeFrom:Q,startCopyFromURLOptions:P}=i;let D;if(Q){D=JSON.parse(Q).state}const L=makeBlobBeginCopyFromURLPollOperation({...D,blobClient:u,copySource:A,startCopyFromURLOptions:P});super(L);if(typeof B==="function"){this.onProgress(B)}this.intervalInMs=I}delay(){return(0,L.delay)(this.intervalInMs)}}const G=async function cancel2(i={}){const u=this.state;const{copyId:A}=u;if(u.isCompleted){return makeBlobBeginCopyFromURLPollOperation(u)}if(!A){u.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(u)}await u.blobClient.abortCopyFromURL(A,{abortSignal:i.abortSignal});u.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(u)};const z=async function update2(i={}){const u=this.state;const{blobClient:A,copySource:I,startCopyFromURLOptions:B}=u;if(!u.isStarted){u.isStarted=true;const i=await A.startCopyFromURL(I,B);u.copyId=i.copyId;if(i.copyStatus==="success"){u.result=i;u.isCompleted=true}}else if(!u.isCompleted){try{const A=await u.blobClient.getProperties({abortSignal:i.abortSignal});const{copyStatus:I,copyProgress:B}=A;const Q=u.copyProgress;if(B){u.copyProgress=B}if(I==="pending"&&B!==Q&&typeof i.fireProgress==="function"){i.fireProgress(u)}else if(I==="success"){u.result=A;u.isCompleted=true}else if(I==="failed"){u.error=new Error(`Blob copy failed with reason: "${A.copyStatusDescription||"unknown"}"`);u.isCompleted=true}}catch(i){u.error=i;u.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(u)};const W=function toString2(){return JSON.stringify({state:this.state},((i,u)=>{if(i==="blobClient"){return void 0}return u}))};function makeBlobBeginCopyFromURLPollOperation(i){return{state:{...i},cancel:G,toString:W,update:z}}0&&0},6358:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{AccountSASPermissions:()=>AccountSASPermissions});i.exports=__toCommonJS(Q);class AccountSASPermissions{static parse(i){const u=new AccountSASPermissions;for(const A of i){switch(A){case"r":u.read=true;break;case"w":u.write=true;break;case"d":u.delete=true;break;case"x":u.deleteVersion=true;break;case"l":u.list=true;break;case"a":u.add=true;break;case"c":u.create=true;break;case"u":u.update=true;break;case"p":u.process=true;break;case"t":u.tag=true;break;case"f":u.filter=true;break;case"i":u.setImmutabilityPolicy=true;break;case"y":u.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${A}`)}}return u}static from(i){const u=new AccountSASPermissions;if(i.read){u.read=true}if(i.write){u.write=true}if(i.delete){u.delete=true}if(i.deleteVersion){u.deleteVersion=true}if(i.filter){u.filter=true}if(i.tag){u.tag=true}if(i.list){u.list=true}if(i.add){u.add=true}if(i.create){u.create=true}if(i.update){u.update=true}if(i.process){u.process=true}if(i.setImmutabilityPolicy){u.setImmutabilityPolicy=true}if(i.permanentDelete){u.permanentDelete=true}return u}read=false;write=false;delete=false;deleteVersion=false;list=false;add=false;create=false;update=false;process=false;tag=false;filter=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const i=[];if(this.read){i.push("r")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.filter){i.push("f")}if(this.tag){i.push("t")}if(this.list){i.push("l")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.update){i.push("u")}if(this.process){i.push("p")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}return i.join("")}}0&&0},91267:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{AccountSASResourceTypes:()=>AccountSASResourceTypes});i.exports=__toCommonJS(Q);class AccountSASResourceTypes{static parse(i){const u=new AccountSASResourceTypes;for(const A of i){switch(A){case"s":u.service=true;break;case"c":u.container=true;break;case"o":u.object=true;break;default:throw new RangeError(`Invalid resource type: ${A}`)}}return u}service=false;container=false;object=false;toString(){const i=[];if(this.service){i.push("s")}if(this.container){i.push("c")}if(this.object){i.push("o")}return i.join("")}}0&&0},46940:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{AccountSASServices:()=>AccountSASServices});i.exports=__toCommonJS(Q);class AccountSASServices{static parse(i){const u=new AccountSASServices;for(const A of i){switch(A){case"b":u.blob=true;break;case"f":u.file=true;break;case"q":u.queue=true;break;case"t":u.table=true;break;default:throw new RangeError(`Invalid service character: ${A}`)}}return u}blob=false;file=false;queue=false;table=false;toString(){const i=[];if(this.blob){i.push("b")}if(this.table){i.push("t")}if(this.queue){i.push("q")}if(this.file){i.push("f")}return i.join("")}}0&&0},85238:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{generateAccountSASQueryParameters:()=>generateAccountSASQueryParameters,generateAccountSASQueryParametersInternal:()=>generateAccountSASQueryParametersInternal});i.exports=__toCommonJS(D);var L=A(6358);var U=A(91267);var G=A(46940);var z=A(2977);var W=A(26823);var Y=A(27323);var J=A(47764);function generateAccountSASQueryParameters(i,u){return generateAccountSASQueryParametersInternal(i,u).sasQueryParameters}function generateAccountSASQueryParametersInternal(i,u){const A=i.version?i.version:Y.SERVICE_VERSION;if(i.permissions&&i.permissions.setImmutabilityPolicy&&A<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(i.permissions&&i.permissions.deleteVersion&&A<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(i.permissions&&i.permissions.permanentDelete&&A<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(i.permissions&&i.permissions.tag&&A<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(i.permissions&&i.permissions.filter&&A<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(i.encryptionScope&&A<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const I=L.AccountSASPermissions.parse(i.permissions.toString());const B=G.AccountSASServices.parse(i.services).toString();const Q=U.AccountSASResourceTypes.parse(i.resourceTypes).toString();let P;if(A>="2020-12-06"){P=[u.accountName,I,B,Q,i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",(0,J.truncatedISO8061Date)(i.expiresOn,false),i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",A,i.encryptionScope?i.encryptionScope:"",""].join("\n")}else{P=[u.accountName,I,B,Q,i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",(0,J.truncatedISO8061Date)(i.expiresOn,false),i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",A,""].join("\n")}const D=u.computeHMACSHA256(P);return{sasQueryParameters:new W.SASQueryParameters(A,D,I.toString(),B,Q,i.protocol,i.startsOn,i.expiresOn,i.ipRange,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i.encryptionScope),stringToSign:P}}0&&0},2232:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{BlobSASPermissions:()=>BlobSASPermissions});i.exports=__toCommonJS(Q);class BlobSASPermissions{static parse(i){const u=new BlobSASPermissions;for(const A of i){switch(A){case"r":u.read=true;break;case"a":u.add=true;break;case"c":u.create=true;break;case"w":u.write=true;break;case"d":u.delete=true;break;case"x":u.deleteVersion=true;break;case"t":u.tag=true;break;case"m":u.move=true;break;case"e":u.execute=true;break;case"i":u.setImmutabilityPolicy=true;break;case"y":u.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${A}`)}}return u}static from(i){const u=new BlobSASPermissions;if(i.read){u.read=true}if(i.add){u.add=true}if(i.create){u.create=true}if(i.write){u.write=true}if(i.delete){u.delete=true}if(i.deleteVersion){u.deleteVersion=true}if(i.tag){u.tag=true}if(i.move){u.move=true}if(i.execute){u.execute=true}if(i.setImmutabilityPolicy){u.setImmutabilityPolicy=true}if(i.permanentDelete){u.permanentDelete=true}return u}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const i=[];if(this.read){i.push("r")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.tag){i.push("t")}if(this.move){i.push("m")}if(this.execute){i.push("e")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}return i.join("")}}0&&0},656:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{generateBlobSASQueryParameters:()=>generateBlobSASQueryParameters,generateBlobSASQueryParametersInternal:()=>generateBlobSASQueryParametersInternal});i.exports=__toCommonJS(D);var L=A(2232);var U=A(51622);var G=A(51382);var z=A(2977);var W=A(26823);var Y=A(27323);var J=A(47764);var $=A(51382);function generateBlobSASQueryParameters(i,u,A){return generateBlobSASQueryParametersInternal(i,u,A).sasQueryParameters}function generateBlobSASQueryParametersInternal(i,u,A){const I=i.version?i.version:Y.SERVICE_VERSION;const B=u instanceof G.StorageSharedKeyCredential?u:void 0;let Q;if(B===void 0&&A!==void 0){Q=new $.UserDelegationKeyCredential(A,u)}if(B===void 0&&Q===void 0){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(I>="2020-12-06"){if(B!==void 0){return generateBlobSASQueryParameters20201206(i,B)}else{if(I>="2026-04-06"){return generateBlobSASQueryParametersUDK20260406(i,Q)}else if(I>="2025-07-05"){return generateBlobSASQueryParametersUDK20250705(i,Q)}else{return generateBlobSASQueryParametersUDK20201206(i,Q)}}}if(I>="2018-11-09"){if(B!==void 0){return generateBlobSASQueryParameters20181109(i,B)}else{if(I>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(i,Q)}else{return generateBlobSASQueryParametersUDK20181109(i,Q)}}}if(I>="2015-04-05"){if(B!==void 0){return generateBlobSASQueryParameters20150405(i,B)}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(i,u){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let A="c";if(i.blobName){A="b"}let I;if(i.permissions){if(i.blobName){I=L.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{I=U.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const B=[I?I:"",i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,J.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(u.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const Q=u.computeHMACSHA256(B);return{sasQueryParameters:new W.SASQueryParameters(i.version,Q,I,void 0,void 0,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,A,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType),stringToSign:B}}function generateBlobSASQueryParameters20181109(i,u){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let A="c";let I=i.snapshotTime;if(i.blobName){A="b";if(i.snapshotTime){A="bs"}else if(i.versionId){A="bv";I=i.versionId}}let B;if(i.permissions){if(i.blobName){B=L.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{B=U.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const Q=[B?B:"",i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,J.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(u.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,A,I,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const P=u.computeHMACSHA256(Q);return{sasQueryParameters:new W.SASQueryParameters(i.version,P,B,void 0,void 0,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,A,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType),stringToSign:Q}}function generateBlobSASQueryParameters20201206(i,u){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let A="c";let I=i.snapshotTime;if(i.blobName){A="b";if(i.snapshotTime){A="bs"}else if(i.versionId){A="bv";I=i.versionId}}let B;if(i.permissions){if(i.blobName){B=L.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{B=U.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const Q=[B?B:"",i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,J.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(u.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,A,I,i.encryptionScope,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const P=u.computeHMACSHA256(Q);return{sasQueryParameters:new W.SASQueryParameters(i.version,P,B,void 0,void 0,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,A,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,void 0,void 0,void 0,i.encryptionScope),stringToSign:Q}}function generateBlobSASQueryParametersUDK20181109(i,u){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let A="c";let I=i.snapshotTime;if(i.blobName){A="b";if(i.snapshotTime){A="bs"}else if(i.versionId){A="bv";I=i.versionId}}let B;if(i.permissions){if(i.blobName){B=L.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{B=U.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const Q=[B?B:"",i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,J.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(u.accountName,i.containerName,i.blobName),u.userDelegationKey.signedObjectId,u.userDelegationKey.signedTenantId,u.userDelegationKey.signedStartsOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedStartsOn,false):"",u.userDelegationKey.signedExpiresOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedExpiresOn,false):"",u.userDelegationKey.signedService,u.userDelegationKey.signedVersion,i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,A,I,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const P=u.computeHMACSHA256(Q);return{sasQueryParameters:new W.SASQueryParameters(i.version,P,B,void 0,void 0,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,A,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,u.userDelegationKey),stringToSign:Q}}function generateBlobSASQueryParametersUDK20200210(i,u){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let A="c";let I=i.snapshotTime;if(i.blobName){A="b";if(i.snapshotTime){A="bs"}else if(i.versionId){A="bv";I=i.versionId}}let B;if(i.permissions){if(i.blobName){B=L.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{B=U.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const Q=[B?B:"",i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,J.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(u.accountName,i.containerName,i.blobName),u.userDelegationKey.signedObjectId,u.userDelegationKey.signedTenantId,u.userDelegationKey.signedStartsOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedStartsOn,false):"",u.userDelegationKey.signedExpiresOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedExpiresOn,false):"",u.userDelegationKey.signedService,u.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,void 0,i.correlationId,i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,A,I,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const P=u.computeHMACSHA256(Q);return{sasQueryParameters:new W.SASQueryParameters(i.version,P,B,void 0,void 0,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,A,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,u.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId),stringToSign:Q}}function generateBlobSASQueryParametersUDK20201206(i,u){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let A="c";let I=i.snapshotTime;if(i.blobName){A="b";if(i.snapshotTime){A="bs"}else if(i.versionId){A="bv";I=i.versionId}}let B;if(i.permissions){if(i.blobName){B=L.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{B=U.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const Q=[B?B:"",i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,J.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(u.accountName,i.containerName,i.blobName),u.userDelegationKey.signedObjectId,u.userDelegationKey.signedTenantId,u.userDelegationKey.signedStartsOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedStartsOn,false):"",u.userDelegationKey.signedExpiresOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedExpiresOn,false):"",u.userDelegationKey.signedService,u.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,void 0,i.correlationId,i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,A,I,i.encryptionScope,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const P=u.computeHMACSHA256(Q);return{sasQueryParameters:new W.SASQueryParameters(i.version,P,B,void 0,void 0,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,A,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,u.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope),stringToSign:Q}}function generateBlobSASQueryParametersUDK20250705(i,u){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let A="c";let I=i.snapshotTime;if(i.blobName){A="b";if(i.snapshotTime){A="bs"}else if(i.versionId){A="bv";I=i.versionId}}let B;if(i.permissions){if(i.blobName){B=L.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{B=U.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const Q=[B?B:"",i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,J.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(u.accountName,i.containerName,i.blobName),u.userDelegationKey.signedObjectId,u.userDelegationKey.signedTenantId,u.userDelegationKey.signedStartsOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedStartsOn,false):"",u.userDelegationKey.signedExpiresOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedExpiresOn,false):"",u.userDelegationKey.signedService,u.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,void 0,i.correlationId,u.userDelegationKey.signedDelegatedUserTenantId,i.delegatedUserObjectId,i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,A,I,i.encryptionScope,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const P=u.computeHMACSHA256(Q);return{sasQueryParameters:new W.SASQueryParameters(i.version,P,B,void 0,void 0,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,A,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,u.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope,i.delegatedUserObjectId),stringToSign:Q}}function generateBlobSASQueryParametersUDK20260406(i,u){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let A="c";let I=i.snapshotTime;if(i.blobName){A="b";if(i.snapshotTime){A="bs"}else if(i.versionId){A="bv";I=i.versionId}}let B;if(i.permissions){if(i.blobName){B=L.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{B=U.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const Q=[B?B:"",i.startsOn?(0,J.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,J.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(u.accountName,i.containerName,i.blobName),u.userDelegationKey.signedObjectId,u.userDelegationKey.signedTenantId,u.userDelegationKey.signedStartsOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedStartsOn,false):"",u.userDelegationKey.signedExpiresOn?(0,J.truncatedISO8061Date)(u.userDelegationKey.signedExpiresOn,false):"",u.userDelegationKey.signedService,u.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,void 0,i.correlationId,u.userDelegationKey.signedDelegatedUserTenantId,i.delegatedUserObjectId,i.ipRange?(0,z.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,A,I,i.encryptionScope,formatRequestHeadersForSasSigning(i.requestHeaders),formatRequestQueryParametersForSasSigning(i.requestQueryParameters),i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const P=u.computeHMACSHA256(Q);return{sasQueryParameters:new W.SASQueryParameters(i.version,P,B,void 0,void 0,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,A,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,u.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope,i.delegatedUserObjectId,getKeysOfRequestHeaders(i.requestHeaders),getKeysOfRequestHeaders(i.requestQueryParameters)),stringToSign:Q}}function formatRequestHeadersForSasSigning(i){if(i===void 0){return void 0}let u="";Object.keys(i).forEach((function(A){u=u+A+":"+i[A]+"\n"}));return u}function formatRequestQueryParametersForSasSigning(i){if(i===void 0){return void 0}let u="";Object.keys(i).forEach((function(A){u=u+"\n"+A+":"+i[A]}));return u}function getKeysOfRequestHeaders(i){if(i===void 0){return void 0}let u="";let A=0;Object.keys(i).forEach((function(i){if(A!==0){u=u+","}u=u+i;++A}));return u}function getCanonicalName(i,u,A){const I=[`/blob/${i}/${u}`];if(A){I.push(`/${A}`)}return I.join("")}function SASSignatureValuesSanityCheckAndAutofill(i){const u=i.version?i.version:Y.SERVICE_VERSION;if(i.snapshotTime&&u<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(i.blobName===void 0&&i.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(i.versionId&&u<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(i.blobName===void 0&&i.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(i.permissions&&i.permissions.setImmutabilityPolicy&&u<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(i.permissions&&i.permissions.deleteVersion&&u<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(i.permissions&&i.permissions.permanentDelete&&u<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(i.permissions&&i.permissions.tag&&u<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(u<"2020-02-10"&&i.permissions&&(i.permissions.move||i.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(u<"2021-04-10"&&i.permissions&&i.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(u<"2020-02-10"&&(i.preauthorizedAgentObjectId||i.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(i.encryptionScope&&u<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}i.version=u;return i}0&&0},51622:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{ContainerSASPermissions:()=>ContainerSASPermissions});i.exports=__toCommonJS(Q);class ContainerSASPermissions{static parse(i){const u=new ContainerSASPermissions;for(const A of i){switch(A){case"r":u.read=true;break;case"a":u.add=true;break;case"c":u.create=true;break;case"w":u.write=true;break;case"d":u.delete=true;break;case"l":u.list=true;break;case"t":u.tag=true;break;case"x":u.deleteVersion=true;break;case"m":u.move=true;break;case"e":u.execute=true;break;case"i":u.setImmutabilityPolicy=true;break;case"y":u.permanentDelete=true;break;case"f":u.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${A}`)}}return u}static from(i){const u=new ContainerSASPermissions;if(i.read){u.read=true}if(i.add){u.add=true}if(i.create){u.create=true}if(i.write){u.write=true}if(i.delete){u.delete=true}if(i.list){u.list=true}if(i.deleteVersion){u.deleteVersion=true}if(i.tag){u.tag=true}if(i.move){u.move=true}if(i.execute){u.execute=true}if(i.setImmutabilityPolicy){u.setImmutabilityPolicy=true}if(i.permanentDelete){u.permanentDelete=true}if(i.filterByTags){u.filterByTags=true}return u}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;list=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;filterByTags=false;toString(){const i=[];if(this.read){i.push("r")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.list){i.push("l")}if(this.tag){i.push("t")}if(this.move){i.push("m")}if(this.execute){i.push("e")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}if(this.filterByTags){i.push("f")}return i.join("")}}0&&0},26823:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{SASProtocol:()=>G,SASQueryParameters:()=>SASQueryParameters});i.exports=__toCommonJS(D);var L=A(2977);var U=A(47764);var G=(i=>{i["Https"]="https";i["HttpsAndHttp"]="https,http";return i})(G||{});class SASQueryParameters{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;get ipRange(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return void 0}constructor(i,u,A,I,B,Q,P,D,L,U,G,z,W,Y,J,$,K,X,he,Ae,ye,be,Ee){this.version=i;this.signature=u;if(A!==void 0&&typeof A!=="string"){this.permissions=A.permissions;this.services=A.services;this.resourceTypes=A.resourceTypes;this.protocol=A.protocol;this.startsOn=A.startsOn;this.expiresOn=A.expiresOn;this.ipRangeInner=A.ipRange;this.identifier=A.identifier;this.delegatedUserObjectId=A.delegatedUserObjectId;this.encryptionScope=A.encryptionScope;this.resource=A.resource;this.cacheControl=A.cacheControl;this.contentDisposition=A.contentDisposition;this.contentEncoding=A.contentEncoding;this.contentLanguage=A.contentLanguage;this.contentType=A.contentType;this.requestHeaderKeys=A.requestHeaderKeys;this.requestQueryParameterKeys=A.requestQueryParameterKeys;if(A.userDelegationKey){this.signedOid=A.userDelegationKey.signedObjectId;this.signedTenantId=A.userDelegationKey.signedTenantId;this.signedStartsOn=A.userDelegationKey.signedStartsOn;this.signedExpiresOn=A.userDelegationKey.signedExpiresOn;this.signedService=A.userDelegationKey.signedService;this.signedVersion=A.userDelegationKey.signedVersion;this.signedDelegatedUserTid=A.userDelegationKey.signedDelegatedUserTenantId;this.preauthorizedAgentObjectId=A.preauthorizedAgentObjectId;this.correlationId=A.correlationId}}else{this.services=I;this.resourceTypes=B;this.expiresOn=D;this.permissions=A;this.protocol=Q;this.startsOn=P;this.ipRangeInner=L;this.delegatedUserObjectId=ye;this.encryptionScope=Ae;this.identifier=U;this.resource=G;this.cacheControl=z;this.contentDisposition=W;this.contentEncoding=Y;this.contentLanguage=J;this.contentType=$;this.requestHeaderKeys=be;this.requestQueryParameterKeys=Ee;if(K){this.signedOid=K.signedObjectId;this.signedTenantId=K.signedTenantId;this.signedStartsOn=K.signedStartsOn;this.signedExpiresOn=K.signedExpiresOn;this.signedService=K.signedService;this.signedVersion=K.signedVersion;this.signedDelegatedUserTid=K.signedDelegatedUserTenantId;this.preauthorizedAgentObjectId=X;this.correlationId=he}}}toString(){const i=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid","skdutid","srh","srq","sig"];const u=[];for(const A of i){switch(A){case"sv":this.tryAppendQueryParameter(u,A,this.version);break;case"ss":this.tryAppendQueryParameter(u,A,this.services);break;case"srt":this.tryAppendQueryParameter(u,A,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(u,A,this.protocol);break;case"st":this.tryAppendQueryParameter(u,A,this.startsOn?(0,U.truncatedISO8061Date)(this.startsOn,false):void 0);break;case"se":this.tryAppendQueryParameter(u,A,this.expiresOn?(0,U.truncatedISO8061Date)(this.expiresOn,false):void 0);break;case"sip":this.tryAppendQueryParameter(u,A,this.ipRange?(0,L.ipRangeToString)(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(u,A,this.identifier);break;case"ses":this.tryAppendQueryParameter(u,A,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(u,A,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(u,A,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(u,A,this.signedStartsOn?(0,U.truncatedISO8061Date)(this.signedStartsOn,false):void 0);break;case"ske":this.tryAppendQueryParameter(u,A,this.signedExpiresOn?(0,U.truncatedISO8061Date)(this.signedExpiresOn,false):void 0);break;case"sks":this.tryAppendQueryParameter(u,A,this.signedService);break;case"skv":this.tryAppendQueryParameter(u,A,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(u,A,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(u,A,this.resource);break;case"sp":this.tryAppendQueryParameter(u,A,this.permissions);break;case"sig":this.tryAppendQueryParameter(u,A,this.signature);break;case"rscc":this.tryAppendQueryParameter(u,A,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(u,A,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(u,A,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(u,A,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(u,A,this.contentType);break;case"saoid":this.tryAppendQueryParameter(u,A,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(u,A,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(u,A,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(u,A,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(u,A,this.requestQueryParameterKeys);break}}return u.join("&")}tryAppendQueryParameter(i,u,A){if(!A){return}u=encodeURIComponent(u);A=encodeURIComponent(A);if(u.length>0&&A.length>0){i.push(`${u}=${A}`)}}}0&&0},2977:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{ipRangeToString:()=>ipRangeToString});i.exports=__toCommonJS(Q);function ipRangeToString(i){return i.end?`${i.start}-${i.end}`:i.start}0&&0},81582:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{Batch:()=>Batch});i.exports=__toCommonJS(D);var L=A(24434);var U=(i=>{i[i["Good"]=0]="Good";i[i["Error"]=1]="Error";return i})(U||{});class Batch{concurrency;actives=0;completed=0;offset=0;operations=[];state=0;emitter;constructor(i=5){if(i<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=i;this.emitter=new L.EventEmitter}addOperation(i){this.operations.push((async()=>{try{this.actives++;await i();this.actives--;this.completed++;this.parallelExecute()}catch(i){this.emitter.emit("error",i)}}))}async do(){if(this.operations.length===0){return Promise.resolve()}this.parallelExecute();return new Promise(((i,u)=>{this.emitter.on("finish",i);this.emitter.on("error",(i=>{this.state=1;u(i)}))}))}nextOperation(){if(this.offset=this.operations.length){this.emitter.emit("finish");return}while(this.actives{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobQuickQueryStream:()=>BlobQuickQueryStream});i.exports=__toCommonJS(D);var L=A(57075);var U=A(96147);class BlobQuickQueryStream extends L.Readable{source;avroReader;avroIter;avroPaused=true;onProgress;onError;constructor(i,u={}){super();this.source=i;this.onProgress=u.onProgress;this.onError=u.onError;this.avroReader=new U.AvroReader(new U.AvroReadableFromStream(this.source));this.avroIter=this.avroReader.parseObjects({abortSignal:u.abortSignal})}_read(){if(this.avroPaused){this.readInternal().catch((i=>{this.emit("error",i)}))}}async readInternal(){this.avroPaused=false;let i;do{i=await this.avroIter.next();if(i.done){break}const u=i.value;const A=u.$schema;if(typeof A!=="string"){throw Error("Missing schema in avro record.")}switch(A){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const i=u.data;if(i instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(i))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const i=u.bytesScanned;if(typeof i!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:i})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const i=u.totalBytes;if(typeof i!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const i=u.fatal;if(typeof i!=="boolean"){throw Error("Invalid fatal in avro error record.")}const A=u.name;if(typeof A!=="string"){throw Error("Invalid name in avro error record.")}const I=u.description;if(typeof I!=="string"){throw Error("Invalid description in avro error record.")}const B=u.position;if(typeof B!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:B,name:A,isFatal:i,description:I})}break;default:throw Error(`Unknown schema ${A} in avro progress record.`)}}while(!i.done&&!this.avroPaused)}}0&&0},58913:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{Mutex:()=>Mutex});i.exports=__toCommonJS(Q);var P=(i=>{i[i["LOCKED"]=0]="LOCKED";i[i["UNLOCKED"]=1]="UNLOCKED";return i})(P||{});class Mutex{static async lock(i){return new Promise((u=>{if(this.keys[i]===void 0||this.keys[i]===1){this.keys[i]=0;u()}else{this.onUnlockEvent(i,(()=>{this.keys[i]=0;u()}))}}))}static async unlock(i){return new Promise((u=>{if(this.keys[i]===0){this.emitUnlockEvent(i)}delete this.keys[i];u()}))}static keys={};static listeners={};static onUnlockEvent(i,u){if(this.listeners[i]===void 0){this.listeners[i]=[u]}else{this.listeners[i].push(u)}}static emitUnlockEvent(i){if(this.listeners[i]!==void 0&&this.listeners[i].length>0){const u=this.listeners[i].shift();setImmediate((()=>{u.call(this)}))}}}0&&0},98684:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{RetriableReadableStream:()=>RetriableReadableStream});i.exports=__toCommonJS(D);var L=A(83134);var U=A(57075);class RetriableReadableStream extends U.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(i,u,A,I,B={}){super({highWaterMark:B.highWaterMark});this.getter=u;this.source=i;this.start=A;this.offset=A;this.end=A+I-1;this.maxRetryRequests=B.maxRetryRequests&&B.maxRetryRequests>=0?B.maxRetryRequests:0;this.onProgress=B.onProgress;this.options=B;this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=i=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0;this.source.pause();this.sourceErrorOrEndHandler();this.source.destroy();return}this.offset+=i.length;if(this.onProgress){this.onProgress({loadedBytes:this.offset-this.start})}if(!this.push(i)){this.source.pause()}};sourceAbortedHandler=()=>{const i=new L.AbortError("The operation was aborted.");this.destroy(i)};sourceErrorOrEndHandler=i=>{if(i&&i.name==="AbortError"){this.destroy(i);return}this.removeSourceEventHandlers();if(this.offset-1===this.end){this.push(null)}else if(this.offset<=this.end){if(this.retries{this.source=i;this.setSourceEventHandlers();return})).catch((i=>{this.destroy(i)}))}else{this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`))}}else{this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))}};_destroy(i,u){this.removeSourceEventHandlers();this.source.destroy();u(i===null?void 0:i)}}0&&0},27323:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{BATCH_MAX_PAYLOAD_IN_BYTES:()=>Ce,BATCH_MAX_REQUEST:()=>Ee,BLOCK_BLOB_MAX_BLOCKS:()=>G,BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES:()=>U,BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES:()=>L,BlobDoesNotUseCustomerSpecifiedEncryption:()=>xe,BlobUsesCustomerSpecifiedEncryptionMsg:()=>Oe,DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES:()=>W,DEFAULT_BLOCK_BUFFER_SIZE_BYTES:()=>z,DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS:()=>Y,DevelopmentConnectionString:()=>Re,ETagAny:()=>ye,ETagNone:()=>Ae,EncryptionAlgorithmAES25:()=>Se,HTTPURLConnection:()=>X,HTTP_LINE_ENDING:()=>we,HTTP_VERSION_1_1:()=>ve,HeaderConstants:()=>he,PathStylePorts:()=>ke,REQUEST_TIMEOUT:()=>J,SDK_VERSION:()=>P,SERVICE_VERSION:()=>D,SIZE_1_MB:()=>be,StorageBlobLoggingAllowedHeaderNames:()=>Ne,StorageBlobLoggingAllowedQueryParameters:()=>_e,StorageOAuthScopes:()=>$,URLConstants:()=>K});i.exports=__toCommonJS(Q);const P="12.32.0";const D="2026-04-06";const L=256*1024*1024;const U=4e3*1024*1024;const G=5e4;const z=8*1024*1024;const W=4*1024*1024;const Y=5;const J=100*1e3;const $="https://storage.azure.com/.default";const K={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const X={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};const he={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};const Ae="";const ye="*";const be=1*1024*1024;const Ee=256;const Ce=4*be;const we="\r\n";const ve="HTTP/1.1";const Se="AES256";const Re=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const Ne=["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 _e=["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 Oe="BlobUsesCustomerSpecifiedEncryption";const xe="BlobDoesNotUseCustomerSpecifiedEncryption";const ke=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];0&&0},53952:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{tracingClient:()=>G});i.exports=__toCommonJS(D);var L=A(20623);var U=A(27323);const G=(0,L.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:U.SDK_VERSION,namespace:"Microsoft.Storage"});0&&0},47764:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BlobNameToString:()=>BlobNameToString,ConvertInternalResponseOfListBlobFlat:()=>ConvertInternalResponseOfListBlobFlat,ConvertInternalResponseOfListBlobHierarchy:()=>ConvertInternalResponseOfListBlobHierarchy,EscapePath:()=>EscapePath,ExtractPageRangeInfoItems:()=>ExtractPageRangeInfoItems,appendToURLPath:()=>appendToURLPath,appendToURLQuery:()=>appendToURLQuery,assertResponse:()=>assertResponse,attachCredential:()=>attachCredential,base64decode:()=>base64decode,base64encode:()=>base64encode,delay:()=>delay,escapeURLPath:()=>escapeURLPath,extractConnectionStringParts:()=>extractConnectionStringParts,generateBlockID:()=>generateBlockID,getAccountNameFromUrl:()=>getAccountNameFromUrl,getURLParameter:()=>getURLParameter,getURLPath:()=>getURLPath,getURLPathAndQuery:()=>getURLPathAndQuery,getURLQueries:()=>getURLQueries,getURLScheme:()=>getURLScheme,getValueInConnString:()=>getValueInConnString,httpAuthorizationToString:()=>httpAuthorizationToString,iEqual:()=>iEqual,isIpEndpointStyle:()=>isIpEndpointStyle,padStart:()=>padStart,parseObjectReplicationRecord:()=>parseObjectReplicationRecord,sanitizeHeaders:()=>sanitizeHeaders,sanitizeURL:()=>sanitizeURL,setURLHost:()=>setURLHost,setURLParameter:()=>setURLParameter,setUploadChecksumParameters:()=>setUploadChecksumParameters,toBlobTags:()=>toBlobTags,toBlobTagsString:()=>toBlobTagsString,toQuerySerialization:()=>toQuerySerialization,toTags:()=>toTags,truncatedISO8061Date:()=>truncatedISO8061Date});i.exports=__toCommonJS(D);var L=A(20778);var U=A(87779);var G=A(27323);var z=A(51382);function escapeURLPath(i){const u=new URL(i);let A=u.pathname;A=A||"/";A=escape(A);u.pathname=A;return u.toString()}function getProxyUriFromDevConnString(i){let u="";if(i.search("DevelopmentStorageProxyUri=")!==-1){const A=i.split(";");for(const i of A){if(i.trim().startsWith("DevelopmentStorageProxyUri=")){u=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return u}function getValueInConnString(i,u){const A=i.split(";");for(const i of A){if(i.trim().startsWith(u)){return i.trim().match(u+"=(.*)")[1]}}return""}function extractConnectionStringParts(i){let u="";if(i.startsWith("UseDevelopmentStorage=true")){u=getProxyUriFromDevConnString(i);i=G.DevelopmentConnectionString}let A=getValueInConnString(i,"BlobEndpoint");A=A.endsWith("/")?A.slice(0,-1):A;if(i.search("DefaultEndpointsProtocol=")!==-1&&i.search("AccountKey=")!==-1){let I="";let B="";let Q=Buffer.from("accountKey","base64");let P="";B=getValueInConnString(i,"AccountName");Q=Buffer.from(getValueInConnString(i,"AccountKey"),"base64");if(!A){I=getValueInConnString(i,"DefaultEndpointsProtocol");const u=I.toLowerCase();if(u!=="https"&&u!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}P=getValueInConnString(i,"EndpointSuffix");if(!P){throw new Error("Invalid EndpointSuffix in the provided Connection String")}A=`${I}://${B}.blob.${P}`}if(!B){throw new Error("Invalid AccountName in the provided Connection String")}else if(Q.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:A,accountName:B,accountKey:Q,proxyUri:u}}else{let u=getValueInConnString(i,"SharedAccessSignature");let I=getValueInConnString(i,"AccountName");if(!I){I=getAccountNameFromUrl(A)}if(!A){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!u){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(u.startsWith("?")){u=u.substring(1)}return{kind:"SASConnString",url:A,accountName:I,accountSas:u}}}function escape(i){return encodeURIComponent(i).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(i,u){const A=new URL(i);let I=A.pathname;I=I?I.endsWith("/")?`${I}${u}`:`${I}/${u}`:u;A.pathname=I;return A.toString()}function setURLParameter(i,u,A){const I=new URL(i);const B=encodeURIComponent(u);const Q=A?encodeURIComponent(A):void 0;const P=I.search===""?"?":I.search;const D=[];for(const i of P.slice(1).split("&")){if(i){const[u]=i.split("=",2);if(u!==B){D.push(i)}}}if(Q){D.push(`${B}=${Q}`)}I.search=D.length?`?${D.join("&")}`:"";return I.toString()}function getURLParameter(i,u){const A=new URL(i);return A.searchParams.get(u)??void 0}function setURLHost(i,u){const A=new URL(i);A.hostname=u;return A.toString()}function getURLPath(i){try{const u=new URL(i);return u.pathname}catch(i){return void 0}}function getURLScheme(i){try{const u=new URL(i);return u.protocol.endsWith(":")?u.protocol.slice(0,-1):u.protocol}catch(i){return void 0}}function getURLPathAndQuery(i){const u=new URL(i);const A=u.pathname;if(!A){throw new RangeError("Invalid url without valid path.")}let I=u.search||"";I=I.trim();if(I!==""){I=I.startsWith("?")?I:`?${I}`}return`${A}${I}`}function getURLQueries(i){let u=new URL(i).search;if(!u){return{}}u=u.trim();u=u.startsWith("?")?u.substring(1):u;let A=u.split("&");A=A.filter((i=>{const u=i.indexOf("=");const A=i.lastIndexOf("=");return u>0&&u===A&&AB){i=i.slice(0,B)}const Q=i+padStart(u.toString(),A-i.length,"0");return base64encode(Q)}async function delay(i,u,A){return new Promise(((I,B)=>{let Q;const abortHandler=()=>{if(Q!==void 0){clearTimeout(Q)}B(A)};const resolveHandler=()=>{if(u!==void 0){u.removeEventListener("abort",abortHandler)}I()};Q=setTimeout(resolveHandler,i);if(u!==void 0){u.addEventListener("abort",abortHandler)}}))}function padStart(i,u,A=" "){if(String.prototype.padStart){return i.padStart(u,A)}A=A||" ";if(i.length>u){return i}else{u=u-i.length;if(u>A.length){A+=A.repeat(u/A.length)}return A.slice(0,u)+i}}function sanitizeURL(i){let u=i;if(getURLParameter(u,G.URLConstants.Parameters.SIGNATURE)){u=setURLParameter(u,G.URLConstants.Parameters.SIGNATURE,"*****")}return u}function sanitizeHeaders(i){const u=(0,L.createHttpHeaders)();for(const[A,I]of i){if(A.toLowerCase()===G.HeaderConstants.AUTHORIZATION.toLowerCase()){u.set(A,"*****")}else if(A.toLowerCase()===G.HeaderConstants.X_MS_COPY_SOURCE){u.set(A,sanitizeURL(I))}else{u.set(A,I)}}return u}function iEqual(i,u){return i.toLocaleLowerCase()===u.toLocaleLowerCase()}function getAccountNameFromUrl(i){const u=new URL(i);let A;try{if(u.hostname.split(".")[1]==="blob"){A=u.hostname.split(".")[0]}else if(isIpEndpointStyle(u)){A=u.pathname.split("/")[1]}else{A=""}return A}catch(i){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(i){const u=i.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(u)||Boolean(i.port)&&G.PathStylePorts.includes(i.port)}function toBlobTagsString(i){if(i===void 0){return void 0}const u=[];for(const A in i){if(Object.prototype.hasOwnProperty.call(i,A)){const I=i[A];u.push(`${encodeURIComponent(A)}=${encodeURIComponent(I)}`)}}return u.join("&")}function toBlobTags(i){if(i===void 0){return void 0}const u={blobTagSet:[]};for(const A in i){if(Object.prototype.hasOwnProperty.call(i,A)){const I=i[A];u.blobTagSet.push({key:A,value:I})}}return u}function toTags(i){if(i===void 0){return void 0}const u={};for(const A of i.blobTagSet){u[A.key]=A.value}return u}function toQuerySerialization(i){if(i===void 0){return void 0}switch(i.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:i.columnSeparator||",",fieldQuote:i.fieldQuote||"",recordSeparator:i.recordSeparator,escapeChar:i.escapeCharacter||"",headersPresent:i.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:i.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:i.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(i){if(!i){return void 0}if("policy-id"in i){return void 0}const u=[];for(const A in i){const I=A.split("_");const B="or-";if(I[0].startsWith(B)){I[0]=I[0].substring(B.length)}const Q={ruleId:I[1],replicationStatus:i[A]};const P=u.findIndex((i=>i.policyId===I[0]));if(P>-1){u[P].rules.push(Q)}else{u.push({policyId:I[0],rules:[Q]})}}return u}function attachCredential(i,u){i.credential=u;return i}function httpAuthorizationToString(i){return i?i.scheme+" "+i.value:void 0}function BlobNameToString(i){if(i.encoded){return decodeURIComponent(i.content)}else{return i.content}}function ConvertInternalResponseOfListBlobFlat(i){return{...i,segment:{blobItems:i.segment.blobItems.map((i=>{const u={...i,name:BlobNameToString(i.name)};return u}))}}}function ConvertInternalResponseOfListBlobHierarchy(i){return{...i,segment:{blobPrefixes:i.segment.blobPrefixes?.map((i=>{const u={...i,name:BlobNameToString(i.name)};return u})),blobItems:i.segment.blobItems.map((i=>{const u={...i,name:BlobNameToString(i.name)};return u}))}}}function*ExtractPageRangeInfoItems(i){let u=[];let A=[];if(i.pageRange)u=i.pageRange;if(i.clearRange)A=i.clearRange;let I=0;let B=0;while(I{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{fsCreateReadStream:()=>J,fsStat:()=>Y,readStreamToLocalFile:()=>readStreamToLocalFile,streamToBuffer:()=>streamToBuffer,streamToBuffer2:()=>streamToBuffer2,streamToBuffer3:()=>streamToBuffer3});i.exports=__toCommonJS(U);var G=__toESM(A(73024));var z=__toESM(A(57975));var W=A(27323);async function streamToBuffer(i,u,A,I,B){let Q=0;const P=I-A;return new Promise(((I,D)=>{const L=setTimeout((()=>D(new Error(`The operation cannot be completed in timeout.`))),W.REQUEST_TIMEOUT);i.on("readable",(()=>{if(Q>=P){clearTimeout(L);I();return}let D;while((D=i.read())!==null){if(typeof D==="string"){D=Buffer.from(D,B)}const i=Q+D.length>P?P-Q:D.length;u.fill(D.slice(0,i),A+Q,A+Q+i);Q+=i;if(Q>=P){clearTimeout(L);I();return}}}));i.on("end",(()=>{clearTimeout(L);if(Q{clearTimeout(L);D(i)}))}))}async function streamToBuffer2(i,u,A){let I=0;const B=u.length;return new Promise(((Q,P)=>{i.on("readable",(()=>{let Q;while((Q=i.read())!==null){if(typeof Q==="string"){Q=Buffer.from(Q,A)}if(I+Q.length>B){P(new Error(`Stream exceeds buffer size. Buffer size: ${B}`));return}u.fill(Q,I,I+Q.length);I+=Q.length}}));i.on("end",(()=>{Q(I)}));i.on("error",P)}))}async function streamToBuffer3(i,u){return new Promise(((A,I)=>{const B=[];i.on("data",(i=>{B.push(typeof i==="string"?Buffer.from(i,u):i)}));i.on("end",(()=>{A(Buffer.concat(B))}));i.on("error",I)}))}async function readStreamToLocalFile(i,u){return new Promise(((A,I)=>{const B=G.default.createWriteStream(u);i.on("error",(i=>{I(i)}));B.on("error",(i=>{I(i)}));B.on("close",A);i.pipe(B)}))}const Y=z.default.promisify(G.default.stat);const J=G.default.createReadStream;0&&0},86381:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BufferScheduler:()=>BufferScheduler});i.exports=__toCommonJS(D);var L=A(24434);var U=A(52121);class BufferScheduler{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new L.EventEmitter;concurrency;offset=0;isStreamEnd=false;isError=false;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(i,u,A,I,B,Q){if(u<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${u}`)}if(A<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${A}`)}if(B<=0){throw new RangeError(`concurrency must be larger than 0, current is ${B}`)}this.bufferSize=u;this.maxBuffers=A;this.readable=i;this.outgoingHandler=I;this.concurrency=B;this.encoding=Q}async do(){return new Promise(((i,u)=>{this.readable.on("data",(i=>{i=typeof i==="string"?Buffer.from(i,this.encoding):i;this.appendUnresolvedData(i);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(i=>{this.emitter.emit("error",i)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(i=>{this.isError=true;this.readable.pause();u(i)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLengthA.getReadableStream()),A.size,this.offset).then(i).catch(u)}else if(this.unresolvedLength>=this.bufferSize){return}else{i()}}}))}))}appendUnresolvedData(i){this.unresolvedDataArray.push(i);this.unresolvedLength+=i.length}shiftBufferFromUnresolvedDataArray(i){if(!i){i=new U.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength)}else{i.fill(this.unresolvedDataArray,this.unresolvedLength)}this.unresolvedLength-=i.size;return i}resolveData(){while(this.unresolvedLength>=this.bufferSize){let i;if(this.incoming.length>0){i=this.incoming.shift();this.shiftBufferFromUnresolvedDataArray(i)}else{if(this.numBuffers=this.concurrency){return}i=this.outgoing.shift();if(i){this.triggerOutgoingHandler(i)}}while(i)}async triggerOutgoingHandler(i){const u=i.size;this.executingOutgoingHandlers++;this.offset+=u;try{await this.outgoingHandler((()=>i.getReadableStream()),u,this.offset-u)}catch(i){this.emitter.emit("error",i);return}this.executingOutgoingHandlers--;this.reuseBuffer(i);this.emitter.emit("checkEnd")}reuseBuffer(i){this.incoming.push(i);if(!this.isError&&this.resolveData()&&!this.isStreamEnd){this.readable.resume()}}}0&&0},66093:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BuffersStream:()=>BuffersStream});i.exports=__toCommonJS(D);var L=A(57075);class BuffersStream extends L.Readable{constructor(i,u,A){super(A);this.buffers=i;this.byteLength=u;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let I=0;for(const i of this.buffers){I+=i.byteLength}if(I=this.byteLength){this.push(null)}if(!i){i=this.readableHighWaterMark}const u=[];let A=0;while(Ai-A){const I=this.byteOffsetInCurrentBuffer+i-A;u.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,I));this.pushedBytesLength+=i-A;this.byteOffsetInCurrentBuffer=I;A=i;break}else{const i=this.byteOffsetInCurrentBuffer+Q;u.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i));if(Q===B){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=i}this.pushedBytesLength+=Q;A+=Q}}if(u.length>1){this.push(Buffer.concat(u))}else if(u.length===1){this.push(u[0])}}}0&&0},52121:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{PooledBuffer:()=>PooledBuffer});i.exports=__toCommonJS(U);var G=A(66093);var z=__toESM(A(4573));const W=z.default.constants.MAX_LENGTH;class PooledBuffer{buffers=[];capacity;_size;get size(){return this._size}constructor(i,u,A){this.capacity=i;this._size=0;const I=Math.ceil(i/W);for(let u=0;u0){i[0]=i[0].slice(Q)}}getReadableStream(){return new G.BuffersStream(this.buffers,this.size)}}0&&0},4399:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{StorageBrowserPolicy:()=>L.StorageBrowserPolicy,StorageBrowserPolicyFactory:()=>StorageBrowserPolicyFactory});i.exports=__toCommonJS(D);var L=A(22312);class StorageBrowserPolicyFactory{create(i,u){return new L.StorageBrowserPolicy(i,u)}}0&&0},13519:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{StorageCRC64Calculator:()=>StorageCRC64Calculator});i.exports=__toCommonJS(U);var G=__toESM(A(92626));class StorageCRC64Calculator{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new StorageCRC64Calculator.nativeInstance.Crc64Hash}static initPromise;static async init(){if(!this.initPromise){this.initPromise=(0,G.default)().then((i=>{this.nativeInstance=i;return}))}return this.initPromise}append(i,u){const A=StorageCRC64Calculator.nativeInstance._malloc(u);StorageCRC64Calculator.nativeInstance.HEAPU8.set(i,A);this.nativeCrc64Hash.OnAppend(A,u);StorageCRC64Calculator.nativeInstance._free(A)}final(i,u){const A=StorageCRC64Calculator.nativeInstance._malloc(u);StorageCRC64Calculator.nativeInstance.HEAPU8.set(i,A);const I=StorageCRC64Calculator.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(A,u,I);StorageCRC64Calculator.nativeInstance._free(A);const B=new Uint8Array(8);B.set(StorageCRC64Calculator.nativeInstance.HEAPU8.subarray(I,I+8));StorageCRC64Calculator.nativeInstance._free(I);return B}}0&&0},77321:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{NewRetryPolicyFactory:()=>L.NewRetryPolicyFactory,StorageRetryPolicy:()=>L.StorageRetryPolicy,StorageRetryPolicyFactory:()=>StorageRetryPolicyFactory,StorageRetryPolicyType:()=>U.StorageRetryPolicyType});i.exports=__toCommonJS(D);var L=A(27734);var U=A(38622);class StorageRetryPolicyFactory{retryOptions;constructor(i){this.retryOptions=i}create(i,u){return new L.StorageRetryPolicy(i,u,this.retryOptions)}}0&&0},76221:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{StructuredMessageDecoding:()=>StructuredMessageDecoding});i.exports=__toCommonJS(D);var L=A(13519);const U=1;const G=13;const z=10;const W=8;var Y=(i=>{i[i["StreamHeader"]=0]="StreamHeader";i[i["StreamFooter"]=1]="StreamFooter";i[i["SegmentHeader"]=2]="SegmentHeader";i[i["SegmentFooter"]=3]="SegmentFooter";i[i["SegmentContent"]=4]="SegmentContent";return i})(Y||{});class StructuredMessageDecoding{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(i){this.pushData=i;this.currentOffset=0;this.segmentsCount=0;this.messageHeaderOffset=0;this.messageHeaderBuffer=new Uint8Array(G);this.currentDataOffset=0;this.segmentNumber=0;this.segmentHeaderOffset=0;this.segmentHeaderBuffer=new Uint8Array(z);this.segmentContentOffset=0;this.segmentContentLength=0;this.state=0;this.segmentFooterOffset=0;this.segmentFooterBuffer=new Uint8Array(W);this.messageFooterOffset=0;this.messageFooterBuffer=new Uint8Array(W);this.segmentCrc64=new L.StorageCRC64Calculator;this.messageCrc64=new L.StorageCRC64Calculator}sourceDataHandler=i=>{this.currentDataOffset=0;if(this.state===0){this.parseMessageHeader(i)}while(this.segmentNumber{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{structuredMessageDecodingBrowser:()=>structuredMessageDecodingBrowser,structuredMessageDecodingStream:()=>structuredMessageDecodingStream});i.exports=__toCommonJS(D);var L=A(83134);var U=A(57075);var G=A(76221);async function structuredMessageDecodingBrowser(i){i;throw new Error("structuredMessageDecodingBrowser is only for Browser")}function structuredMessageDecodingStream(i,u){return new StructuredMessageDecodingStream(i,u)}class StructuredMessageDecodingStream extends U.Readable{source;decodingMethods;constructor(i,u){super({highWaterMark:u.highWaterMark});this.source=i;this.decodingMethods=new G.StructuredMessageDecoding((u=>{if(!this.push(u)){i.pause()}}));this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=i=>{try{this.decodingMethods.sourceDataHandler(i)}catch(i){this.destroy(i)}};sourceAbortedHandler=()=>{const i=new L.AbortError("The operation was aborted.");this.destroy(i)};sourceErrorOrEndHandler=i=>{if(i){this.destroy(i);return}this.removeSourceEventHandlers()};_destroy(i,u){this.removeSourceEventHandlers();this.source.destroy();u(i===null?void 0:i)}}0&&0},3913:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{FOOTER_LENGTH:()=>Y,MAX_SEGMENT_CONTENT_LENGTH:()=>J,MESSAGE_HEADER_LENGTH:()=>z,MESSAGE_VERSION:()=>G,SEGMENT_HEADER_LENGTH:()=>W,StructuredMessageEncoding:()=>StructuredMessageEncoding});i.exports=__toCommonJS(D);var L=A(13519);var U=A(13487);const G=1;const z=13;const W=10;const Y=8;const J=4*1024*1024;var $=(i=>{i[i["StreamHeader"]=0]="StreamHeader";i[i["StreamFooter"]=1]="StreamFooter";i[i["SegmentHeader"]=2]="SegmentHeader";i[i["SegmentFooter"]=3]="SegmentFooter";i[i["SegmentContent"]=4]="SegmentContent";i[i["Completed"]=5]="Completed";return i})($||{});class StructuredMessageEncoding{pushData;contentLength;messageLength;constructor(i,u){this.pushData=i;this.contentLength=u;this.contentOffset=0;this.currentDataOffset=0;this.segmentsCount=Math.ceil(this.contentLength/J);this.messageLength=this.contentLength+z+(W+Y)*this.segmentsCount+Y;this.messageHeaderBuffer=new Uint8Array(z);this.segmentNumber=0;this.segmentContentLength=0;this.segmentContentOffset=0;this.state=0;this.segmentCrc64=new L.StorageCRC64Calculator;this.messageCrc64=new L.StorageCRC64Calculator}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=i=>{this.currentDataOffset=0;if(this.state===0){this.handlingMessageHeader()}while(this.segmentNumber{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{structuredMessageEncoding:()=>structuredMessageEncoding});i.exports=__toCommonJS(U);var G=A(83134);var z=__toESM(A(57075));var W=A(3913);function isNodeReadableStream(i){return i!==null&&i instanceof z.default&&typeof i._read==="function"&&typeof i._readableState==="object"&&typeof i.pipe==="function"}async function structuredMessageEncoding(i,u){if(i===null){return{body:i,encodedContentLength:u}}if(isNodeReadableStream(i)){const A=new StructuredMessageEncodingStream(i,u,{});return{body:A,encodedContentLength:A.messageLength()}}if(typeof i==="function"){const A=new StructuredMessageEncodingStream(i(),u,{});return{body:A,encodedContentLength:A.messageLength()}}if(i instanceof Blob){const A=await BrowserStream(i,u);return{body:A.content,encodedContentLength:A.encodedContentLength}}if(typeof i==="string"){const u=new z.Readable;u._read=()=>{};u.push(i);u.push(null);const A=Buffer.byteLength(i);const I=await new StructuredMessageEncodingStream(u,A,{});return{body:I,encodedContentLength:I.messageLength()}}if(i instanceof ArrayBuffer){const A=z.Readable.from(Buffer.from(i));const I=await new StructuredMessageEncodingStream(A,u,{});return{body:I,encodedContentLength:I.messageLength()}}if(i instanceof Buffer){const A=z.Readable.from(i);const I=await new StructuredMessageEncodingStream(A,u,{});return{body:I,encodedContentLength:I.messageLength()}}if(ArrayBuffer.isView(i)){const A=z.Readable.from(Buffer.from(i.buffer,i.byteOffset,i.byteLength));const I=await new StructuredMessageEncodingStream(A,u,{});return{body:I,encodedContentLength:I.messageLength()}}throw new Error("The specified request body type is not supported for CRC64 checksum")}async function pump(i,u,A){const{done:I,value:B}=await i.read();if(I){u.close();return}A.sourceDataHandler(Buffer.from(B))}async function BrowserStream(i,u){const A=i instanceof Blob?i.stream():i;const I=A.getReader();let B=void 0;const Q=new ReadableStream({start(i){B=new W.StructuredMessageEncoding((u=>{i.enqueue(u)}),u)},pull(i){pump(I,i,B).then((()=>{})).catch((function(u){i.error(u)}))}});const P=new Response(Q);return{content:await P.blob(),encodedContentLength:B.messageLength}}class StructuredMessageEncodingStream extends z.Readable{source;encodingMethods;constructor(i,u,A){super({highWaterMark:A.highWaterMark});this.source=i;this.encodingMethods=new W.StructuredMessageEncoding((u=>{if(!this.push(u)){i.pause()}}),u);this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=i=>{this.encodingMethods.sourceDataHandler(i)};sourceAbortedHandler=()=>{const i=new G.AbortError("The operation was aborted.");this.destroy(i)};sourceErrorOrEndHandler=i=>{if(i&&i.name==="AbortError"){this.destroy(i);return}this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(i,u){this.removeSourceEventHandlers();this.source.destroy();u(i===null?void 0:i)}}0&&0},66614:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{createBlobFromData:()=>createBlobFromData});i.exports=__toCommonJS(Q);function createBlobFromData(i){if(i instanceof Blob){return i}const u=Blob;if(i instanceof ArrayBuffer){return new u([i])}else{const A=i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength);return new u([A])}}0&&0},3277:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{allocBuffer:()=>allocBuffer,bufferFromArrayBuffer:()=>bufferFromArrayBuffer,getBufferLength:()=>getBufferLength,isBuffer:()=>isBuffer});i.exports=__toCommonJS(Q);function isBuffer(i){return Buffer.isBuffer(i)}function allocBuffer(i){return Buffer.alloc(i)}function bufferFromArrayBuffer(i,u,A){return Buffer.from(i,u,A)}function getBufferLength(i){return i.length}0&&0},68376:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{getCachedDefaultHttpClient:()=>getCachedDefaultHttpClient});i.exports=__toCommonJS(D);var L=A(20778);let U;function getCachedDefaultHttpClient(){if(!U){U=(0,L.createDefaultHttpClient)()}return U}0&&0},92626:(i,u,A)=>{var I=(()=>{var i=typeof document!=="undefined"&&document.currentScript?document.currentScript.src:undefined;if(typeof __filename!=="undefined")i=i||__filename;return function(u){u=u||{};var I=typeof u!="undefined"?u:{};var B,Q;I["ready"]=new Promise((function(i,u){B=i;Q=u}));["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach((i=>{if(!Object.getOwnPropertyDescriptor(I["ready"],i)){Object.defineProperty(I["ready"],i,{get:()=>abort("You are getting "+i+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>abort("You are setting "+i+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})}}));var P=Object.assign({},I);var D=[];var L="./this.program";var quit_=(i,u)=>{throw u};var U=typeof window=="object";var G=typeof importScripts=="function";var z=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string";var W=!U&&!z&&!G;if(I["ENVIRONMENT"]){throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)")}var Y="";function locateFile(i){if(I["locateFile"]){return I["locateFile"](i,Y)}return Y+i}var J,$,K,X;function logExceptionOnExit(i){if(i instanceof ExitStatus)return;let u=i;if(i&&typeof i=="object"&&i.stack){u=[i,i.stack]}be("exiting due to exception: "+u)}if(z){if(typeof process=="undefined"||!process.release||process.release.name!=="node")throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var he=A(79896);var Ae=A(16928);if(G){Y=Ae.dirname(Y)+"/"}else{Y=__dirname+"/"}J=(i,u)=>{i=isFileURI(i)?new URL(i):Ae.normalize(i);return he.readFileSync(i,u?undefined:"utf8")};K=i=>{var u=J(i,true);if(!u.buffer){u=new Uint8Array(u)}assert(u.buffer);return u};$=(i,u,A)=>{i=isFileURI(i)?new URL(i):Ae.normalize(i);he.readFile(i,(function(i,I){if(i)A(i);else u(I.buffer)}))};if(process["argv"].length>1){L=process["argv"][1].replace(/\\/g,"/")}D=process["argv"].slice(2);process["on"]("uncaughtException",(function(i){if(!(i instanceof ExitStatus)){throw i}}));process["on"]("unhandledRejection",(function(i){throw i}));quit_=(i,u)=>{if(keepRuntimeAlive()){process["exitCode"]=i;throw u}logExceptionOnExit(u);process["exit"](i)};I["inspect"]=function(){return"[Emscripten Module object]"}}else if(W){if(typeof process=="object"&&"function"==="function"||typeof window=="object"||typeof importScripts=="function")throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");if(typeof read!="undefined"){J=function shell_read(i){return read(i)}}K=function readBinary(i){let u;if(typeof readbuffer=="function"){return new Uint8Array(readbuffer(i))}u=read(i,"binary");assert(typeof u=="object");return u};$=function readAsync(i,u,A){setTimeout((()=>u(K(i))),0)};if(typeof scriptArgs!="undefined"){D=scriptArgs}else if(typeof arguments!="undefined"){D=arguments}if(typeof quit=="function"){quit_=(i,u)=>{logExceptionOnExit(u);quit(i)}}if(typeof print!="undefined"){if(typeof console=="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!="undefined"?printErr:print}}else if(U||G){if(G){Y=self.location.href}else if(typeof document!="undefined"&&document.currentScript){Y=document.currentScript.src}if(i){Y=i}if(Y.indexOf("blob:")!==0){Y=Y.substr(0,Y.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{Y=""}if(!(typeof window=="object"||typeof importScripts=="function"))throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");{J=i=>{var u=new XMLHttpRequest;u.open("GET",i,false);u.send(null);return u.responseText};if(G){K=i=>{var u=new XMLHttpRequest;u.open("GET",i,false);u.responseType="arraybuffer";u.send(null);return new Uint8Array(u.response)}}$=(i,u,A)=>{var I=new XMLHttpRequest;I.open("GET",i,true);I.responseType="arraybuffer";I.onload=()=>{if(I.status==200||I.status==0&&I.response){u(I.response);return}A()};I.onerror=A;I.send(null)}}X=i=>document.title=i}else{throw new Error("environment detection error")}var ye=I["print"]||console.log.bind(console);var be=I["printErr"]||console.warn.bind(console);Object.assign(I,P);P=null;checkIncomingModuleAPI();if(I["arguments"])D=I["arguments"];legacyModuleProp("arguments","arguments_");if(I["thisProgram"])L=I["thisProgram"];legacyModuleProp("thisProgram","thisProgram");if(I["quit"])quit_=I["quit"];legacyModuleProp("quit","quit_");assert(typeof I["memoryInitializerPrefixURL"]=="undefined","Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead");assert(typeof I["pthreadMainPrefixURL"]=="undefined","Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead");assert(typeof I["cdInitializerPrefixURL"]=="undefined","Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead");assert(typeof I["filePackagePrefixURL"]=="undefined","Module.filePackagePrefixURL option was removed, use Module.locateFile instead");assert(typeof I["read"]=="undefined","Module.read option was removed (modify read_ in JS)");assert(typeof I["readAsync"]=="undefined","Module.readAsync option was removed (modify readAsync in JS)");assert(typeof I["readBinary"]=="undefined","Module.readBinary option was removed (modify readBinary in JS)");assert(typeof I["setWindowTitle"]=="undefined","Module.setWindowTitle option was removed (modify setWindowTitle in JS)");assert(typeof I["TOTAL_MEMORY"]=="undefined","Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY");legacyModuleProp("read","read_");legacyModuleProp("readAsync","readAsync");legacyModuleProp("readBinary","readBinary");legacyModuleProp("setWindowTitle","setWindowTitle");var Ee="IDBFS is no longer included by default; build with -lidbfs.js";var Ce="PROXYFS is no longer included by default; build with -lproxyfs.js";var we="WORKERFS is no longer included by default; build with -lworkerfs.js";var ve="NODEFS is no longer included by default; build with -lnodefs.js";assert(!W,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable.");var Se=16;var Re=4;function getNativeTypeSize(i){switch(i){case"i1":case"i8":case"u8":return 1;case"i16":case"u16":return 2;case"i32":case"u32":return 4;case"i64":case"u64":return 8;case"float":return 4;case"double":return 8;default:{if(i[i.length-1]==="*"){return Re}if(i[0]==="i"){const u=Number(i.substr(1));assert(u%8===0,"getNativeTypeSize invalid bits "+u+", type "+i);return u/8}return 0}}}function legacyModuleProp(i,u){if(!Object.getOwnPropertyDescriptor(I,i)){Object.defineProperty(I,i,{configurable:true,get:function(){abort("Module."+i+" has been replaced with plain "+u+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}}function ignoredModuleProp(i){if(Object.getOwnPropertyDescriptor(I,i)){abort("`Module."+i+"` was supplied but `"+i+"` not included in INCOMING_MODULE_JS_API")}}function isExportedByForceFilesystem(i){return i==="FS_createPath"||i==="FS_createDataFile"||i==="FS_createPreloadedFile"||i==="FS_unlink"||i==="addRunDependency"||i==="FS_createLazyFile"||i==="FS_createDevice"||i==="removeRunDependency"}function missingLibrarySymbol(i){if(typeof globalThis!=="undefined"&&!Object.getOwnPropertyDescriptor(globalThis,i)){Object.defineProperty(globalThis,i,{configurable:true,get:function(){var u="`"+i+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line";var A=i;if(!A.startsWith("_")){A="$"+i}u+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+A+")";if(isExportedByForceFilesystem(i)){u+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"}warnOnce(u);return undefined}})}}function unexportedRuntimeSymbol(i){if(!Object.getOwnPropertyDescriptor(I,i)){Object.defineProperty(I,i,{configurable:true,get:function(){var u="'"+i+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";if(isExportedByForceFilesystem(i)){u+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"}abort(u)}})}}var Ne;if(I["wasmBinary"])Ne=I["wasmBinary"];legacyModuleProp("wasmBinary","wasmBinary");var _e=I["noExitRuntime"]||true;legacyModuleProp("noExitRuntime","noExitRuntime");if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var Oe;var xe=false;var ke;function assert(i,u){if(!i){abort("Assertion failed"+(u?": "+u:""))}}var Qe=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(i,u,A){var I=u+A;var B=u;while(i[B]&&!(B>=I))++B;if(B-u>16&&i.buffer&&Qe){return Qe.decode(i.subarray(u,B))}var Q="";while(u>10,56320|U&1023)}}return Q}function UTF8ToString(i,u){return i?UTF8ArrayToString(Fe,i,u):""}function stringToUTF8Array(i,u,A,I){if(!(I>0))return 0;var B=A;var Q=A+I-1;for(var P=0;P=55296&&D<=57343){var L=i.charCodeAt(++P);D=65536+((D&1023)<<10)|L&1023}if(D<=127){if(A>=Q)break;u[A++]=D}else if(D<=2047){if(A+1>=Q)break;u[A++]=192|D>>6;u[A++]=128|D&63}else if(D<=65535){if(A+2>=Q)break;u[A++]=224|D>>12;u[A++]=128|D>>6&63;u[A++]=128|D&63}else{if(A+3>=Q)break;if(D>1114111)warnOnce("Invalid Unicode code point "+ptrToString(D)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).");u[A++]=240|D>>18;u[A++]=128|D>>12&63;u[A++]=128|D>>6&63;u[A++]=128|D&63}}u[A]=0;return A-B}function stringToUTF8(i,u,A){assert(typeof A=="number","stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!");return stringToUTF8Array(i,Fe,u,A)}function lengthBytesUTF8(i){var u=0;for(var A=0;A=55296&&I<=57343){u+=4;++A}else{u+=3}}return u}var Pe,De,Me,Fe,Ue,je,He,Ge,qe,ze;function updateGlobalBufferAndViews(i){De=i;I["HEAP8"]=Me=new Int8Array(i);I["HEAP16"]=Ue=new Int16Array(i);I["HEAP32"]=He=new Int32Array(i);I["HEAPU8"]=Fe=new Uint8Array(i);I["HEAPU16"]=je=new Uint16Array(i);I["HEAPU32"]=Ge=new Uint32Array(i);I["HEAPF32"]=qe=new Float32Array(i);I["HEAPF64"]=ze=new Float64Array(i)}var Je=5242880;if(I["STACK_SIZE"])assert(Je===I["STACK_SIZE"],"the stack size can no longer be determined at runtime");var $e=I["INITIAL_MEMORY"]||16777216;legacyModuleProp("INITIAL_MEMORY","INITIAL_MEMORY");assert($e>=Je,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+$e+"! (STACK_SIZE="+Je+")");assert(typeof Int32Array!="undefined"&&typeof Float64Array!=="undefined"&&Int32Array.prototype.subarray!=undefined&&Int32Array.prototype.set!=undefined,"JS engine does not provide full typed array support");assert(!I["wasmMemory"],"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally");assert($e==16777216,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var Ke;function writeStackCookie(){var i=Dr();assert((i&3)==0);if(i==0){i+=4}Ge[i>>2]=34821223;Ge[i+4>>2]=2310721022;Ge[0]=1668509029}function checkStackCookie(){if(xe)return;var i=Dr();if(i==0){i+=4}var u=Ge[i>>2];var A=Ge[i+4>>2];if(u!=34821223||A!=2310721022){abort("Stack overflow! Stack cookie has been overwritten at "+ptrToString(i)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+ptrToString(A)+" "+ptrToString(u))}if(Ge[0]!==1668509029){abort("Runtime error: The application has corrupted its heap memory area (address zero)!")}}(function(){var i=new Int16Array(1);var u=new Int8Array(i.buffer);i[0]=25459;if(u[0]!==115||u[1]!==99)throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)"})();var Xe=[];var st=[];var ut=[];var dt=[];var pt=false;function keepRuntimeAlive(){return _e}function preRun(){if(I["preRun"]){if(typeof I["preRun"]=="function")I["preRun"]=[I["preRun"]];while(I["preRun"].length){addOnPreRun(I["preRun"].shift())}}callRuntimeCallbacks(Xe)}function initRuntime(){assert(!pt);pt=true;checkStackCookie();callRuntimeCallbacks(st)}function postRun(){checkStackCookie();if(I["postRun"]){if(typeof I["postRun"]=="function")I["postRun"]=[I["postRun"]];while(I["postRun"].length){addOnPostRun(I["postRun"].shift())}}callRuntimeCallbacks(dt)}function addOnPreRun(i){Xe.unshift(i)}function addOnInit(i){st.unshift(i)}function addOnExit(i){}function addOnPostRun(i){dt.unshift(i)}assert(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");assert(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");assert(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");assert(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var mt=0;var yt=null;var bt=null;var Et={};function getUniqueRunDependency(i){var u=i;while(1){if(!Et[i])return i;i=u+Math.random()}}function addRunDependency(i){mt++;if(I["monitorRunDependencies"]){I["monitorRunDependencies"](mt)}if(i){assert(!Et[i]);Et[i]=1;if(yt===null&&typeof setInterval!="undefined"){yt=setInterval((function(){if(xe){clearInterval(yt);yt=null;return}var i=false;for(var u in Et){if(!i){i=true;be("still waiting on run dependencies:")}be("dependency: "+u)}if(i){be("(end of list)")}}),1e4)}}else{be("warning: run dependency added without ID")}}function removeRunDependency(i){mt--;if(I["monitorRunDependencies"]){I["monitorRunDependencies"](mt)}if(i){assert(Et[i]);delete Et[i]}else{be("warning: run dependency removed without ID")}if(mt==0){if(yt!==null){clearInterval(yt);yt=null}if(bt){var u=bt;bt=null;u()}}}function abort(i){if(I["onAbort"]){I["onAbort"](i)}i="Aborted("+i+")";be(i);xe=true;ke=1;var u=new WebAssembly.RuntimeError(i);Q(u);throw u}var Bt={error:function(){abort("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){Bt.error()},createDataFile:function(){Bt.error()},createPreloadedFile:function(){Bt.error()},createLazyFile:function(){Bt.error()},open:function(){Bt.error()},mkdev:function(){Bt.error()},registerDevice:function(){Bt.error()},analyzePath:function(){Bt.error()},loadFilesFromDB:function(){Bt.error()},ErrnoError:function ErrnoError(){Bt.error()}};I["FS_createDataFile"]=Bt.createDataFile;I["FS_createPreloadedFile"]=Bt.createPreloadedFile;var Nt="data:application/octet-stream;base64,";function isDataURI(i){return i.startsWith(Nt)}function isFileURI(i){return i.startsWith("file://")}function createExportWrapper(i,u){return function(){var A=i;var B=u;if(!u){B=I["asm"]}assert(pt,"native function `"+A+"` called before runtime initialization");if(!B[i]){assert(B[i],"exported native function `"+A+"` not found")}return B[i].apply(null,arguments)}}var Ot;Ot="crc64.wasm";if(!isDataURI(Ot)){Ot=locateFile(Ot)}var er=["AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39","/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW","5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvd","F9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMF","BgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYA","CgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwkcECC38AQZyRwQILfwBBsJ","HBAgt/AEGwkcECC38AQZKSwQILB/qEgIAAGwZtZW1vcnkCABFfX3dhc21fY2FsbF9jdG9ycwAFJWVtc2Nya","XB0ZW5fYmluZF9Wb2lkUHRyX19fZGVzdHJveV9fXzAACCVlbXNjcmlwdGVuX2JpbmRfQ3JjNjRIYXNoX0Ny","YzY0SGFzaF8wAAkkZW1zY3JpcHRlbl9iaW5kX0NyYzY0SGFzaF9PbkFwcGVuZF8yAAsjZW1zY3JpcH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RQ0AIAZBeHFBwJLBAmohA0EAKAKsksECIQQCQAJAIAJBASAGQQN2dCIIcQ0AQQAgAiAIcjYCmJLBAiAD","IQgMAQsgAygCCCEICyADIAQ2AgggCCAENgIMIAQgAzYCDCAEIAg2AggLIABBCGohAEEAIAc2AqySwQJBACA","FNgKgksECDA8LQQAoApySwQIiCUUNASAJQQAgCWtxaEECdEHIlMECaigCACIHKAIEQXhxIANrIQQgByEFAk","ADQAJAIAUoAhAiAA0AIAVBFGooAgAiAEUNAgsgACgCBEF4cSADayIFIAQgBSAESSIFGyEEIAAgByAFGyEHI","AAhBQwACwALIAcoAhghCgJAIAcoAgwiCCAHRg0AIAcoAggiAEEAKAKoksECSRogACAINgIMIAggADYCCAwO","CwJAIAdBFGoiBSgCACIADQAgBygCECIARQ0DIAdBEGohBQsDQCAFIQsgACIIQRRqIgUoAgAiAA0AIAhBEGo","hBSAIKAIQIgANAAsgC0EANgIADA0LQX8hAyAAQb9/Sw0AIABBC2oiAEF4cSEDQQAoApySwQIiBkUNAEEAIQ","sCQCADQYACSQ0AQR8hCyADQf///wdLDQAgA0EmIABBCHZnIgBrdkEBcSAAQQF0a0E+aiELC0EAIANrIQQCQ","AJAAkACQCALQQJ0QciUwQJqKAIAIgUNAEEAIQBBACEIDAELQQAhACADQQBBGSALQQF2ayALQR9GG3QhB0EA","IQgDQAJAIAUoAgRBeHEgA2siAiAETw0AIAIhBCAFIQggAg0AQQAhBCAFIQggBSEADAMLIAAgBUEUaigCACI","CIAIgBSAHQR12QQRxakEQaigCACIFRhsgACACGyEAIAdBAXQhByAFDQALCwJAIAAgCHINAEEAIQhBAiALdC","IAQQAgAGtyIAZxIgBFDQMgAEEAIABrcWhBAnRByJTBAmooAgAhAAsgAEUNAQsDQCAAKAIEQXhxIANrIgIgB","EkhBwJAIAAoAhAiBQ0AIABBFGooAgAhBQsgAiAEIAcbIQQgACAIIAcbIQggBSEAIAUNAAsLIAhFDQAgBEEA","KAKgksECIANrTw0AIAgoAhghCwJAIAgoAgwiByAIRg0AIAgoAggiAEEAKAKoksECSRogACAHNgIMIAcgADY","CCAwMCwJAIAhBFGoiBSgCACIADQAgCCgCECIARQ0DIAhBEGohBQsDQCAFIQIgACIHQRRqIgUoAgAiAA0AIA","dBEGohBSAHKAIQIgANAAsgAkEANgIADAsLAkBBACgCoJLBAiIAIANJDQBBACgCrJLBAiEEAkACQCAAIANrI","gVBEEkNAEEAIAU2AqCSwQJBACAEIANqIgc2AqySwQIgByAFQQFyNgIEIAQgAGogBTYCACAEIANBA3I2AgQM","AQtBAEEANgKsksECQQBBADYCoJLBAiAEIABBA3I2AgQgBCAAaiIAIAAoAgRBAXI2AgQLIARBCGohAAwNCwJ","AQQAoAqSSwQIiByADTQ0AQQAgByADayIENgKkksECQQBBACgCsJLBAiIAIANqIgU2ArCSwQIgBSAEQQFyNg","IEIAAgA0EDcjYCBCAAQQhqIQAMDQsCQAJAQQAoAvCVwQJFDQBBACgC+JXBAiEEDAELQQBCfzcC/JXBAkEAQ","oCggICAgAQ3AvSVwQJBACABQQxqQXBxQdiq1aoFczYC8JXBAkEAQQA2AoSWwQJBAEEANgLUlcECQYAgIQQL","QQAhACAEIANBL2oiBmoiAkEAIARrIgtxIgggA00NDEEAIQACQEEAKALQlcECIgRFDQBBACgCyJXBAiIFIAh","qIgkgBU0NDSAJIARLDQ0LAkACQEEALQDUlcECQQRxDQACQAJAAkACQAJAQQAoArCSwQIiBEUNAEHYlcECIQ","ADQAJAIAAoAgAiBSAESw0AIAUgACgCBGogBEsNAwsgACgCCCIADQALC0EAEBAiB0F/Rg0DIAghAgJAQQAoA","vSVwQIiAEF/aiIEIAdxRQ0AIAggB2sgBCAHakEAIABrcWohAgsgAiADTQ0DAkBBACgC0JXBAiIARQ0AQQAo","AsiVwQIiBCACaiIFIARNDQQgBSAASw0ECyACEBAiACAHRw0BDAULIAIgB2sgC3EiAhAQIgcgACgCACAAKAI","EakYNASAHIQALIABBf0YNAQJAIANBMGogAksNACAAIQcMBAsgBiACa0EAKAL4lcECIgRqQQAgBGtxIgQQEE","F/Rg0BIAQgAmohAiAAIQcMAwsgB0F/Rw0CC0EAQQAoAtSVwQJBBHI2AtSVwQILIAgQECEHQQAQECEAIAdBf","0YNBSAAQX9GDQUgByAATw0FIAAgB2siAiADQShqTQ0FC0EAQQAoAsiVwQIgAmoiADYCyJXBAgJAIABBACgC","zJXBAk0NAEEAIAA2AsyVwQILAkACQEEAKAKwksECIgRFDQBB2JXBAiEAA0AgByAAKAIAIgUgACgCBCIIakY","NAiAAKAIIIgANAAwFCwALAkACQEEAKAKoksECIgBFDQAgByAATw0BC0EAIAc2AqiSwQILQQAhAEEAIAI2At","yVwQJBACAHNgLYlcECQQBBfzYCuJLBAkEAQQAoAvCVwQI2ArySwQJBAEEANgLklcECA0AgAEEDdCIEQciSw","QJqIARBwJLBAmoiBTYCACAEQcySwQJqIAU2AgAgAEEBaiIAQSBHDQALQQAgAkFYaiIAQXggB2tBB3FBACAH","QQhqQQdxGyIEayIFNgKkksECQQAgByAEaiIENgKwksECIAQgBUEBcjYCBCAHIABqQSg2AgRBAEEAKAKAlsE","CNgK0ksECDAQLIAAtAAxBCHENAiAEIAVJDQIgBCAHTw0CIAAgCCACajYCBEEAIARBeCAEa0EHcUEAIARBCG","pBB3EbIgBqIgU2ArCSwQJBAEEAKAKkksECIAJqIgcgAGsiADYCpJLBAiAFIABBAXI2AgQgBCAHakEoNgIEQ","QBBACgCgJbBAjYCtJLBAgwDC0EAIQgMCgtBACEHDAgLAkAgB0EAKAKoksECIghPDQBBACAHNgKoksECIAch","CAsgByACaiEFQdiVwQIhAAJAAkACQAJAA0AgACgCACAFRg0BIAAoAggiAA0ADAILAAsgAC0ADEEIcUUNAQt","B2JXBAiEAA0ACQCAAKAIAIgUgBEsNACAFIAAoAgRqIgUgBEsNAwsgACgCCCEADAALAAsgACAHNgIAIAAgAC","gCBCACajYCBCAHQXggB2tBB3FBACAHQQhqQQdxG2oiCyADQQNyNgIEIAVBeCAFa0E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IMIAcgADYCCAsgCEEIaiEADAELAkAgCk","UNAAJAAkAgByAHKAIcIgVBAnRByJTBAmoiACgCAEcNACAAIAg2AgAgCA0BQQAgCUF+IAV3cTYCnJLBAgwCC","yAKQRBBFCAKKAIQIAdGG2ogCDYCACAIRQ0BCyAIIAo2AhgCQCAHKAIQIgBFDQAgCCAANgIQIAAgCDYCGAsg","B0EUaigCACIARQ0AIAhBFGogADYCACAAIAg2AhgLAkACQCAEQQ9LDQAgByAEIANqIgBBA3I2AgQgByAAaiI","AIAAoAgRBAXI2AgQMAQsgByADQQNyNgIEIAcgA2oiBSAEQQFyNgIEIAUgBGogBDYCAAJAIAZFDQAgBkF4cU","HAksECaiEDQQAoAqySwQIhAAJAAkBBASAGQQN2dCIIIAJxDQBBACAIIAJyNgKYksECIAMhCAwBCyADKAIII","QgLIAMgADYCCCAIIAA2AgwgACADNgIMIAAgCDYCCAtBACAFNgKsksECQQAgBDYCoJLBAgsgB0EIaiEACyAB","QRBqJAAgAAuDDQEHfwJAIABFDQAgAEF4aiIBIABBfGooAgAiAkF4cSIAaiEDAkAgAkEBcQ0AIAJBA3FFDQE","gASABKAIAIgJrIgFBACgCqJLBAiIESQ0BIAIgAGohAAJAAkACQCABQQAoAqySwQJGDQACQCACQf8BSw0AIA","EoAggiBCACQQN2IgVBA3RBwJLBAmoiBkYaAkAgASgCDCICIARHDQBBAEEAKAKYksECQX4gBXdxNgKYksECD","AULIAIgBkYaIAQgAjYCDCACIAQ2AggMBAsgASgCGCEHAkAgASgCDCIGIAFGDQAgASgCCCICIARJGiACIAY2","AgwgBiACNgIIDAMLAkAgAUEUaiIEKAIAIgINACABKAIQIgJFDQIgAUEQaiEECwNAIAQhBSACIgZBFGoiBCg","CACICDQAgBkEQaiEEIAYoAhAiAg0ACyAFQQA2AgAMAgsgAygCBCICQQNxQQNHDQJBACAANgKgksECIAMgAk","F+cTYCBCABIABBAXI2AgQgAyAANgIADwtBACEGCyAHRQ0AAkACQCABIAEoAhwiBEECdEHIlMECaiICKAIAR","w0AIAIgBjYCACAGDQFBAEEAKAKcksECQX4gBHdxNgKcksECDAILIAdBEEEUIAcoAhAgAUYbaiAGNgIAIAZF","DQELIAYgBzYCGAJAIAEoAhAiAkUNACAGIAI2AhAgAiAGNgIYCyABQRRqKAIAIgJFDQAgBkEUaiACNgIAIAI","gBjYCGAsgASADTw0AIAMoAgQiAkEBcUUNAAJAAkACQAJAAkAgAkECcQ0AAkAgA0EAKAKwksECRw0AQQAgAT","YCsJLBAkEAQQAoAqSSwQIgAGoiADYCpJLBAiABIABBAXI2AgQgAUEAKAKsksECRw0GQQBBADYCoJLBAkEAQ","QA2AqySwQIPCwJAIANBACgCrJLBAkcNAEEAIAE2AqySwQJBAEEAKAKgksECIABqIgA2AqCSwQIgASAAQQFy","NgIEIAEgAGogADYCAA8LIAJBeHEgAGohAAJAIAJB/wFLDQAgAygCCCIEIAJBA3YiBUEDdEHAksECaiIGRho","CQCADKAIMIgIgBEcNAEEAQQAoApiSwQJBfiAFd3E2ApiSwQIMBQsgAiAGRhogBCACNgIMIAIgBDYCCAwECy","ADKAIYIQcCQCADKAIMIgYgA0YNACADKAIIIgJBACgCqJLBAkkaIAIgBjYCDCAGIAI2AggMAwsCQCADQRRqI","gQoAgAiAg0AIAMoAhAiAkUNAiADQRBqIQQLA0AgBCEFIAIiBkEUaiIEKAIAIgINACAGQRBqIQQgBigCECIC","DQALIAVBADYCAAwCCyADIAJBfnE2AgQgASAAQQFyNgIEIAEgAGogADYCAAwDC0EAIQYLIAdFDQACQAJAIAM","gAygCHCIEQQJ0QciUwQJqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0","EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBF","GooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEA","IAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQA","gBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQC","AAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBA","mohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsg","AEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZ","BBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNg","IMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBf","yAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAA","KAI8EBUQAgsVAAJAIAANAEEADwsQDyAANgIAQX8L4wIBB38jAEEgayIDJAAgAyAAKAIcIgQ2AhAgACgCFCE","FIAMgAjYCHCADIAE2AhggAyAFIARrIgE2AhQgASACaiEGIANBEGohBEECIQcCQAJAAkACQAJAIAAoAjwgA0","EQakECIANBDGoQAxAXRQ0AIAQhBQwBCwNAIAYgAygCDCIBRg0CAkAgAUF/Sg0AIAQhBQwECyAEIAEgBCgCB","CIISyIJQQN0aiIFIAUoAgAgASAIQQAgCRtrIghqNgIAIARBDEEEIAkbaiIEIAQoAgAgCGs2AgAgBiABayEG","IAUhBCAAKAI8IAUgByAJayIHIANBDGoQAxAXRQ0ACwsgBkF/Rw0BCyAAIAAoAiwiATYCHCAAIAE2AhQgACA","BIAAoAjBqNgIQIAIhAQwBC0EAIQEgAEEANgIcIABCADcDECAAIAAoAgBBIHI2AgAgB0ECRg0AIAIgBSgCBG","shAQsgA0EgaiQAIAELNwEBfyMAQRBrIgMkACAAIAEgAkH/AXEgA0EIahAwEBchAiADKQMIIQEgA0EQaiQAQ","n8gASACGwsNACAAKAI8IAEgAhAZCwIACwIACw4AQZCWwQIQG0GUlsECCwkAQZCWwQIQHAsEAEEBCwIACwcA","IAAoAgALCQBBnJbBAhAhCwYAIAAkAQsEACMBCwQAIwALBgAgACQACxIBAn8jACAAa0FwcSIBJAAgAQsEACM","ACxMAQYCAwAIkA0EAQQ9qQXBxJAILBwAjACMCawsEACMDCwQAIwILuAIBA38CQCAADQBBACEBAkBBACgCmJ","bBAkUNAEEAKAKYlsECEC0hAQsCQEEAKAKYkcECRQ0AQQAoApiRwQIQLSABciEBCwJAEB0oAgAiAEUNAANAQ","QAhAgJAIAAoAkxBAEgNACAAEB8hAgsCQCAAKAIUIAAoAhxGDQAgABAtIAFyIQELAkAgAkUNACAAECALIAAo","AjgiAA0ACwsQHiABDwtBACECAkAgACgCTEEASA0AIAAQHyECCwJAAkACQCAAKAIUIAAoAhxGDQAgAEEAQQA","gACgCJBEHABogACgCFA0AQX8hASACDQEMAgsCQCAAKAIEIgEgACgCCCIDRg0AIAAgASADa6xBASAAKAIoEQ","QAGgtBACEBIABBADYCHCAAQgA3AxAgAEIANwIEIAJFDQELIAAQIAsgAQsNACABIAIgAyAAEQQACyMBAX4gA","CABIAKtIAOtQiCGhCAEEC4hBSAFQiCIpxAjIAWnCxMAIAAgAacgAUIgiKcgAiADEAQLC7aSgYAABABBgIDA","AguAkAEAAAAAAAAAADGyfhfBM8W4CfdqdtFBU0U4RRRhEHKW/RLu1eyig6aKI1yr+2OwYzIbGb+ac8L1zyq","rwY2y8TB3T088gRYhlCF+/UKW1xJRmUa4VvfHYMdkdwoo4AZTAtxdoelttKIyq2wTl3p1kfcTVFaDG2XjYe","5l5P0MpNCkVp6eeAItQihDrywGFexx7f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AAAAAAAAAAA","AAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAA","AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpb","nRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cg","J0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA=="].join("");function _base64ToArrayBuffer(i){var u=window.atob(i);var A=u.length;var I=new Uint8Array(A);for(var B=0;B0){i.shift()(I)}}function getValue(i,u="i8"){if(u.endsWith("*"))u="*";switch(u){case"i1":return Me[i>>0];case"i8":return Me[i>>0];case"i16":return Ue[i>>1];case"i32":return He[i>>2];case"i64":return He[i>>2];case"float":return qe[i>>2];case"double":return ze[i>>3];case"*":return Ge[i>>2];default:abort("invalid type for getValue: "+u)}return null}function ptrToString(i){return"0x"+i.toString(16).padStart(8,"0")}function setValue(i,u,A="i8"){if(A.endsWith("*"))A="*";switch(A){case"i1":Me[i>>0]=u;break;case"i8":Me[i>>0]=u;break;case"i16":Ue[i>>1]=u;break;case"i32":He[i>>2]=u;break;case"i64":rr=[u>>>0,(tr=u,+Math.abs(tr)>=1?tr>0?(Math.min(+Math.floor(tr/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tr-+(~~tr>>>0))/4294967296)>>>0:0)],He[i>>2]=rr[0],He[i+4>>2]=rr[1];break;case"float":qe[i>>2]=u;break;case"double":ze[i>>3]=u;break;case"*":Ge[i>>2]=u;break;default:abort("invalid type for setValue: "+A)}}function warnOnce(i){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[i]){warnOnce.shown[i]=1;if(z)i="warning: "+i;be(i)}}function _abort(){abort("native code called abort()")}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(i){try{Oe.grow(i-De.byteLength+65535>>>16);updateGlobalBufferAndViews(Oe.buffer);return 1}catch(u){be("emscripten_realloc_buffer: Attempted to grow heap from "+De.byteLength+" bytes to "+i+" bytes, but got error: "+u)}}function _emscripten_resize_heap(i){var u=Fe.length;i=i>>>0;assert(i>u);var A=getHeapMax();if(i>A){be("Cannot enlarge memory, asked to go up to "+i+" bytes, but the limit is "+A+" bytes!");return false}let alignUp=(i,u)=>i+(u-i%u)%u;for(var I=1;I<=4;I*=2){var B=u*(1+.2/I);B=Math.min(B,i+100663296);var Q=Math.min(A,alignUp(Math.max(i,B),65536));var P=emscripten_realloc_buffer(Q);if(P){return true}}be("Failed to grow the heap from "+u+" bytes to "+Q+" bytes, not enough memory!");return false}var ir={varargs:undefined,get:function(){assert(ir.varargs!=undefined);ir.varargs+=4;var i=He[ir.varargs-4>>2];return i},getStr:function(i){var u=UTF8ToString(i);return u}};function _fd_close(i){abort("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")}function convertI32PairToI53Checked(i,u){assert(i==i>>>0||i==(i|0));assert(u===(u|0));return u+2097152>>>0<4194305-!!i?(i>>>0)+u*4294967296:NaN}function _fd_seek(i,u,A,I,B){return 70}var hr=[null,[],[]];function printChar(i,u){var A=hr[i];assert(A);if(u===0||u===10){(i===1?ye:be)(UTF8ArrayToString(A,0));A.length=0}else{A.push(u)}}function flush_NO_FILESYSTEM(){Nr(0);if(hr[1].length)printChar(1,10);if(hr[2].length)printChar(2,10)}function _fd_write(i,u,A,I){var B=0;for(var Q=0;Q>2];var D=Ge[u+4>>2];u+=8;for(var L=0;L>2]=B;return 0}function intArrayFromString(i,u,A){var I=A>0?A:lengthBytesUTF8(i)+1;var B=new Array(I);var Q=stringToUTF8Array(i,B,0,B.length);if(u)B.length=Q;return B}var Ar=true;function checkIncomingModuleAPI(){ignoredModuleProp("fetchSettings")}var gr={abort:_abort,array_bounds_check_error:array_bounds_check_error,emscripten_resize_heap:_emscripten_resize_heap,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write};var yr=createWasm();var br=I["___wasm_call_ctors"]=createExportWrapper("__wasm_call_ctors");var wr=I["_emscripten_bind_VoidPtr___destroy___0"]=createExportWrapper("emscripten_bind_VoidPtr___destroy___0");var vr=I["_emscripten_bind_Crc64Hash_Crc64Hash_0"]=createExportWrapper("emscripten_bind_Crc64Hash_Crc64Hash_0");var Sr=I["_emscripten_bind_Crc64Hash_OnAppend_2"]=createExportWrapper("emscripten_bind_Crc64Hash_OnAppend_2");var Ir=I["_emscripten_bind_Crc64Hash_OnFinal_3"]=createExportWrapper("emscripten_bind_Crc64Hash_OnFinal_3");var Br=I["_emscripten_bind_Crc64Hash___destroy___0"]=createExportWrapper("emscripten_bind_Crc64Hash___destroy___0");var Rr=I["___errno_location"]=createExportWrapper("__errno_location");var Nr=I["_fflush"]=createExportWrapper("fflush");var _r=I["_malloc"]=createExportWrapper("malloc");var Or=I["_free"]=createExportWrapper("free");var xr=I["_emscripten_stack_init"]=function(){return(xr=I["_emscripten_stack_init"]=I["asm"]["emscripten_stack_init"]).apply(null,arguments)};var kr=I["_emscripten_stack_get_free"]=function(){return(kr=I["_emscripten_stack_get_free"]=I["asm"]["emscripten_stack_get_free"]).apply(null,arguments)};var Qr=I["_emscripten_stack_get_base"]=function(){return(Qr=I["_emscripten_stack_get_base"]=I["asm"]["emscripten_stack_get_base"]).apply(null,arguments)};var Dr=I["_emscripten_stack_get_end"]=function(){return(Dr=I["_emscripten_stack_get_end"]=I["asm"]["emscripten_stack_get_end"]).apply(null,arguments)};var Mr=I["stackSave"]=createExportWrapper("stackSave");var Lr=I["stackRestore"]=createExportWrapper("stackRestore");var Fr=I["stackAlloc"]=createExportWrapper("stackAlloc");var Ur=I["_emscripten_stack_get_current"]=function(){return(Ur=I["_emscripten_stack_get_current"]=I["asm"]["emscripten_stack_get_current"]).apply(null,arguments)};var jr=I["dynCall_jiji"]=createExportWrapper("dynCall_jiji");var Hr=I["___start_em_js"]=5261488;var Gr=I["___stop_em_js"]=5261586;var qr=["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"];qr.forEach(unexportedRuntimeSymbol);var zr=["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"];zr.forEach(missingLibrarySymbol);var Vr;bt=function runCaller(){if(!Vr)run();if(!Vr)bt=runCaller};function stackCheckInit(){xr();writeStackCookie()}function run(i){i=i||D;if(mt>0){return}stackCheckInit();preRun();if(mt>0){return}function doRun(){if(Vr)return;Vr=true;I["calledRun"]=true;if(xe)return;initRuntime();B(I);if(I["onRuntimeInitialized"])I["onRuntimeInitialized"]();assert(!I["_main"],'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]');postRun()}if(I["setStatus"]){I["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){I["setStatus"]("")}),1);doRun()}),1)}else{doRun()}checkStackCookie()}function checkUnflushedContent(){var i=ye;var u=be;var A=false;ye=be=i=>{A=true};try{flush_NO_FILESYSTEM()}catch(i){}ye=i;be=u;if(A){warnOnce("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.");warnOnce("(this may also be due to not including full filesystem support - try building with -sFORCE_FILESYSTEM)")}}if(I["preInit"]){if(typeof I["preInit"]=="function")I["preInit"]=[I["preInit"]];while(I["preInit"].length>0){I["preInit"].pop()()}}run();function WrapperObject(){}WrapperObject.prototype=Object.create(WrapperObject.prototype);WrapperObject.prototype.constructor=WrapperObject;WrapperObject.prototype.__class__=WrapperObject;WrapperObject.__cache__={};I["WrapperObject"]=WrapperObject;function getCache(i){return(i||WrapperObject).__cache__}I["getCache"]=getCache;function wrapPointer(i,u){var A=getCache(u);var I=A[i];if(I)return I;I=Object.create((u||WrapperObject).prototype);I.ptr=i;return A[i]=I}I["wrapPointer"]=wrapPointer;function castObject(i,u){return wrapPointer(i.ptr,u)}I["castObject"]=castObject;I["NULL"]=wrapPointer(0);function destroy(i){if(!i["__destroy__"])throw"Error: Cannot destroy object. (Did you create it yourself?)";i["__destroy__"]();delete getCache(i.__class__)[i.ptr]}I["destroy"]=destroy;function compare(i,u){return i.ptr===u.ptr}I["compare"]=compare;function getPointer(i){return i.ptr}I["getPointer"]=getPointer;function getClass(i){return i.__class__}I["getClass"]=getClass;var Yr={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Yr.needed){for(var i=0;i=Yr.size){assert(B>0);Yr.needed+=B;Q=I["_malloc"](B);Yr.temps.push(Q)}else{Q=Yr.buffer+Yr.pos;Yr.pos+=B}return Q},copy:function(i,u,A){A>>>=0;var I=u.BYTES_PER_ELEMENT;switch(I){case 2:A>>>=1;break;case 4:A>>>=2;break;case 8:A>>>=3;break}for(var B=0;B{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{AnonymousCredential:()=>AnonymousCredential});i.exports=__toCommonJS(D);var L=A(63611);var U=A(450);class AnonymousCredential extends U.Credential{create(i,u){return new L.AnonymousCredentialPolicy(i,u)}}0&&0},450:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{Credential:()=>Credential});i.exports=__toCommonJS(Q);class Credential{create(i,u){throw new Error("Method should be implemented in children classes.")}}0&&0},30849:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{StorageSharedKeyCredential:()=>StorageSharedKeyCredential});i.exports=__toCommonJS(D);var L=A(77598);var U=A(35369);var G=A(450);class StorageSharedKeyCredential extends G.Credential{accountName;accountKey;constructor(i,u){super();this.accountName=i;this.accountKey=Buffer.from(u,"base64")}create(i,u){return new U.StorageSharedKeyCredentialPolicy(i,u,this)}computeHMACSHA256(i){return(0,L.createHmac)("sha256",this.accountKey).update(i,"utf8").digest("base64")}}0&&0},3602:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{UserDelegationKeyCredential:()=>UserDelegationKeyCredential});i.exports=__toCommonJS(D);var L=A(77598);class UserDelegationKeyCredential{accountName;userDelegationKey;key;constructor(i,u){this.accountName=i;this.userDelegationKey=u;this.key=Buffer.from(u.value,"base64")}computeHMACSHA256(i){return(0,L.createHmac)("sha256",this.key).update(i,"utf8").digest("base64")}}0&&0},51382:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __reExport=(i,u,A)=>(__copyProps(i,u,"default"),A&&__copyProps(A,u,"default"));var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};i.exports=__toCommonJS(D);__reExport(D,A(90605),i.exports);0&&0},90605:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __reExport=(i,u,A)=>(__copyProps(i,u,"default"),A&&__copyProps(A,u,"default"));var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{BaseRequestPolicy:()=>G.BaseRequestPolicy,createBlobFromData:()=>L.createBlobFromData,getCachedDefaultHttpClient:()=>U.getCachedDefaultHttpClient});i.exports=__toCommonJS(D);__reExport(D,A(86381),i.exports);__reExport(D,A(3277),i.exports);var L=A(66614);__reExport(D,A(35793),i.exports);__reExport(D,A(36941),i.exports);__reExport(D,A(13519),i.exports);var U=A(68376);__reExport(D,A(4399),i.exports);__reExport(D,A(32159),i.exports);__reExport(D,A(450),i.exports);__reExport(D,A(30849),i.exports);__reExport(D,A(77321),i.exports);var G=A(40590);__reExport(D,A(63611),i.exports);__reExport(D,A(74238),i.exports);__reExport(D,A(83100),i.exports);__reExport(D,A(92505),i.exports);__reExport(D,A(78178),i.exports);__reExport(D,A(35369),i.exports);__reExport(D,A(53233),i.exports);__reExport(D,A(24174),i.exports);__reExport(D,A(3602),i.exports);0&&0},32780:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{logger:()=>U});i.exports=__toCommonJS(D);var L=A(26515);const U=(0,L.createClientLogger)("storage-common");0&&0},63611:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{AnonymousCredentialPolicy:()=>AnonymousCredentialPolicy});i.exports=__toCommonJS(D);var L=A(74238);class AnonymousCredentialPolicy extends L.CredentialPolicy{constructor(i,u){super(i,u)}}0&&0},74238:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{CredentialPolicy:()=>CredentialPolicy});i.exports=__toCommonJS(D);var L=A(40590);class CredentialPolicy extends L.BaseRequestPolicy{sendRequest(i){return this._nextPolicy.sendRequest(this.signRequest(i))}signRequest(i){return i}}0&&0},40590:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{BaseRequestPolicy:()=>BaseRequestPolicy});i.exports=__toCommonJS(Q);class BaseRequestPolicy{constructor(i,u){this._nextPolicy=i;this._options=u}_nextPolicy;_options;shouldLog(i){return this._options.shouldLog(i)}log(i,u){this._options.log(i,u)}}0&&0},22312:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{StorageBrowserPolicy:()=>StorageBrowserPolicy});i.exports=__toCommonJS(D);var L=A(40590);class StorageBrowserPolicy extends L.BaseRequestPolicy{constructor(i,u){super(i,u)}async sendRequest(i){return this._nextPolicy.sendRequest(i)}}0&&0},83100:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{storageBrowserPolicy:()=>storageBrowserPolicy,storageBrowserPolicyName:()=>P});i.exports=__toCommonJS(Q);const P="storageBrowserPolicy";function storageBrowserPolicy(){return{name:P,async sendRequest(i,u){return u(i)}}}0&&0},92505:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{storageCorrectContentLengthPolicy:()=>storageCorrectContentLengthPolicy,storageCorrectContentLengthPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(77925);const U="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(i){if(i.body&&(typeof i.body==="string"||Buffer.isBuffer(i.body))&&i.body.length>0){i.headers.set(L.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}}return{name:U,async sendRequest(i,u){correctContentLength(i);return u(i)}}}0&&0},24174:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{storageRequestFailureDetailsParserPolicy:()=>storageRequestFailureDetailsParserPolicy,storageRequestFailureDetailsParserPolicyName:()=>P});i.exports=__toCommonJS(Q);const P="storageRequestFailureDetailsParserPolicy";function storageRequestFailureDetailsParserPolicy(){return{name:P,async sendRequest(i,u){try{const A=await u(i);return A}catch(i){if(typeof i==="object"&&i!==null&&i.response&&i.response.parsedBody){if(i.response.parsedBody.code==="InvalidHeaderValue"&&i.response.parsedBody.HeaderName==="x-ms-version"){i.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"}}throw i}}}}0&&0},27734:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{NewRetryPolicyFactory:()=>NewRetryPolicyFactory,StorageRetryPolicy:()=>StorageRetryPolicy});i.exports=__toCommonJS(D);var L=A(83134);var U=A(40590);var G=A(77925);var z=A(58218);var W=A(32780);var Y=A(38622);function NewRetryPolicyFactory(i){return{create:(u,A)=>new StorageRetryPolicy(u,A,i)}}const J={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Y.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0};const $=new L.AbortError("The operation was aborted.");class StorageRetryPolicy extends U.BaseRequestPolicy{retryOptions;constructor(i,u,A=J){super(i,u);this.retryOptions={retryPolicyType:A.retryPolicyType?A.retryPolicyType:J.retryPolicyType,maxTries:A.maxTries&&A.maxTries>=1?Math.floor(A.maxTries):J.maxTries,tryTimeoutInMs:A.tryTimeoutInMs&&A.tryTimeoutInMs>=0?A.tryTimeoutInMs:J.tryTimeoutInMs,retryDelayInMs:A.retryDelayInMs&&A.retryDelayInMs>=0?Math.min(A.retryDelayInMs,A.maxRetryDelayInMs?A.maxRetryDelayInMs:J.maxRetryDelayInMs):J.retryDelayInMs,maxRetryDelayInMs:A.maxRetryDelayInMs&&A.maxRetryDelayInMs>=0?A.maxRetryDelayInMs:J.maxRetryDelayInMs,secondaryHost:A.secondaryHost?A.secondaryHost:J.secondaryHost}}async sendRequest(i){return this.attemptSendRequest(i,false,1)}async attemptSendRequest(i,u,A){const I=i.clone();const B=u||!this.retryOptions.secondaryHost||!(i.method==="GET"||i.method==="HEAD"||i.method==="OPTIONS")||A%2===1;if(!B){I.url=(0,z.setURLHost)(I.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){I.url=(0,z.setURLParameter)(I.url,G.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let Q;try{W.logger.info(`RetryPolicy: =====> Try=${A} ${B?"Primary":"Secondary"}`);Q=await this._nextPolicy.sendRequest(I);if(!this.shouldRetry(B,A,Q)){return Q}u=u||!B&&Q.status===404}catch(i){W.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);if(!this.shouldRetry(B,A,Q,i)){throw i}}await this.delay(B,A,i.abortSignal);return this.attemptSendRequest(i,u,++A)}shouldRetry(i,u,A,I){if(u>=this.retryOptions.maxTries){W.logger.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const B=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(I){for(const i of B){if(I.name.toUpperCase().includes(i)||I.message.toUpperCase().includes(i)||I.code&&I.code.toString().toUpperCase()===i){W.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}}if(A||I){const u=A?A.status:I?I.statusCode:0;if(!i&&u===404){W.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(u===503||u===500){W.logger.info(`RetryPolicy: Will retry for status code ${u}.`);return true}}if(A){if(A?.status>=400){const i=A.headers.get(G.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==void 0){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(I?.code==="PARSE_ERROR"&&I?.message.startsWith(`Error "Error: Unclosed root tag`)){W.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(i,u,A){let I=0;if(i){switch(this.retryOptions.retryPolicyType){case Y.StorageRetryPolicyType.EXPONENTIAL:I=Math.min((Math.pow(2,u-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Y.StorageRetryPolicyType.FIXED:I=this.retryOptions.retryDelayInMs;break}}else{I=Math.random()*1e3}W.logger.info(`RetryPolicy: Delay for ${I}ms`);return(0,z.delay)(I,A,$)}}0&&0},38622:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{StorageRetryPolicyType:()=>P});i.exports=__toCommonJS(Q);var P=(i=>{i[i["EXPONENTIAL"]=0]="EXPONENTIAL";i[i["FIXED"]=1]="FIXED";return i})(P||{});0&&0},78178:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{storageRetryPolicy:()=>storageRetryPolicy,storageRetryPolicyName:()=>$});i.exports=__toCommonJS(D);var L=A(83134);var U=A(20778);var G=A(87779);var z=A(77321);var W=A(77925);var Y=A(58218);var J=A(32780);const $="storageRetryPolicy";const K={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:z.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0};const X=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const he=new L.AbortError("The operation was aborted.");function storageRetryPolicy(i={}){const u=i.retryPolicyType??K.retryPolicyType;const A=i.maxTries??K.maxTries;const I=i.retryDelayInMs??K.retryDelayInMs;const B=i.maxRetryDelayInMs??K.maxRetryDelayInMs;const Q=i.secondaryHost??K.secondaryHost;const P=i.tryTimeoutInMs??K.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:i,attempt:u,response:I,error:B}){if(u>=A){J.logger.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${A}, no further try.`);return false}if(B){for(const i of X){if(B.name.toUpperCase().includes(i)||B.message.toUpperCase().includes(i)||B.code&&B.code.toString().toUpperCase()===i){J.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}if(B?.code==="PARSE_ERROR"&&B?.message.startsWith(`Error "Error: Unclosed root tag`)){J.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(I||B){const u=I?.status??B?.statusCode??0;if(!i&&u===404){J.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(u===503||u===500){J.logger.info(`RetryPolicy: Will retry for status code ${u}.`);return true}}if(I){if(I?.status>=400){const i=I.headers.get(W.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==void 0){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(i,A){let Q=0;if(i){switch(u){case z.StorageRetryPolicyType.EXPONENTIAL:Q=Math.min((Math.pow(2,A-1)-1)*I,B);break;case z.StorageRetryPolicyType.FIXED:Q=I;break}}else{Q=Math.random()*1e3}J.logger.info(`RetryPolicy: Delay for ${Q}ms`);return Q}return{name:$,async sendRequest(i,u){if(P){i.url=(0,Y.setURLParameter)(i.url,W.URLConstants.Parameters.TIMEOUT,String(Math.floor(P/1e3)))}const A=i.url;const I=Q?(0,Y.setURLHost)(i.url,Q):void 0;let B=false;let D=1;let L=true;let z;let $;while(L){const Q=B||!I||!["GET","HEAD","OPTIONS"].includes(i.method)||D%2===1;i.url=Q?A:I;z=void 0;$=void 0;try{J.logger.info(`RetryPolicy: =====> Try=${D} ${Q?"Primary":"Secondary"}`);z=await u(i);B=B||!Q&&z.status===404}catch(i){if((0,U.isRestError)(i)){J.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);$=i}else{J.logger.error(`RetryPolicy: Caught error, message: ${(0,G.getErrorMessage)(i)}`);throw i}}L=shouldRetry({isPrimaryRetry:Q,attempt:D,response:z,error:$});if(L){await(0,Y.delay)(calculateDelay(Q,D),i.abortSignal,he)}D++}if(z){return z}throw $??new U.RestError("RetryPolicy failed without known error.")}}}0&&0},35369:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{StorageSharedKeyCredentialPolicy:()=>StorageSharedKeyCredentialPolicy});i.exports=__toCommonJS(D);var L=A(77925);var U=A(58218);var G=A(74238);var z=A(16576);class StorageSharedKeyCredentialPolicy extends G.CredentialPolicy{factory;constructor(i,u,A){super(i,u);this.factory=A}signRequest(i){i.headers.set(L.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(i.body&&(typeof i.body==="string"||i.body!==void 0)&&i.body.length>0){i.headers.set(L.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}const u=[i.method.toUpperCase(),this.getHeaderValueToSign(i,L.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(i,L.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(i,L.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(i,L.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(i,L.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(i,L.HeaderConstants.DATE),this.getHeaderValueToSign(i,L.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(i,L.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(i,L.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(i,L.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(i,L.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(i)+this.getCanonicalizedResourceString(i);const A=this.factory.computeHMACSHA256(u);i.headers.set(L.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${A}`);return i}getHeaderValueToSign(i,u){const A=i.headers.get(u);if(!A){return""}if(u===L.HeaderConstants.CONTENT_LENGTH&&A==="0"){return""}return A}getCanonicalizedHeadersString(i){let u=i.headers.headersArray().filter((i=>i.name.toLowerCase().startsWith(L.HeaderConstants.PREFIX_FOR_STORAGE)));u.sort(((i,u)=>(0,z.compareHeader)(i.name.toLowerCase(),u.name.toLowerCase())));u=u.filter(((i,u,A)=>{if(u>0&&i.name.toLowerCase()===A[u-1].name.toLowerCase()){return false}return true}));let A="";u.forEach((i=>{A+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return A}getCanonicalizedResourceString(i){const u=(0,U.getURLPath)(i.url)||"/";let A="";A+=`/${this.factory.accountName}${u}`;const I=(0,U.getURLQueries)(i.url);const B={};if(I){const i=[];for(const u in I){if(Object.prototype.hasOwnProperty.call(I,u)){const A=u.toLowerCase();B[A]=I[u];i.push(A)}}i.sort();for(const u of i){A+=`\n${u}:${decodeURIComponent(B[u])}`}}return A}}0&&0},53233:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{storageSharedKeyCredentialPolicy:()=>storageSharedKeyCredentialPolicy,storageSharedKeyCredentialPolicyName:()=>W});i.exports=__toCommonJS(D);var L=A(77598);var U=A(77925);var G=A(58218);var z=A(16576);const W="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(i){function signRequest(u){u.headers.set(U.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(u.body&&(typeof u.body==="string"||Buffer.isBuffer(u.body))&&u.body.length>0){u.headers.set(U.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(u.body))}const A=[u.method.toUpperCase(),getHeaderValueToSign(u,U.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(u,U.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(u,U.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(u,U.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(u,U.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(u,U.HeaderConstants.DATE),getHeaderValueToSign(u,U.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(u,U.HeaderConstants.IF_MATCH),getHeaderValueToSign(u,U.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(u,U.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(u,U.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(u)+getCanonicalizedResourceString(u);const I=(0,L.createHmac)("sha256",i.accountKey).update(A,"utf8").digest("base64");u.headers.set(U.HeaderConstants.AUTHORIZATION,`SharedKey ${i.accountName}:${I}`)}function getHeaderValueToSign(i,u){const A=i.headers.get(u);if(!A){return""}if(u===U.HeaderConstants.CONTENT_LENGTH&&A==="0"){return""}return A}function getCanonicalizedHeadersString(i){let u=[];for(const[A,I]of i.headers){if(A.toLowerCase().startsWith(U.HeaderConstants.PREFIX_FOR_STORAGE)){u.push({name:A,value:I})}}u.sort(((i,u)=>(0,z.compareHeader)(i.name.toLowerCase(),u.name.toLowerCase())));u=u.filter(((i,u,A)=>{if(u>0&&i.name.toLowerCase()===A[u-1].name.toLowerCase()){return false}return true}));let A="";u.forEach((i=>{A+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return A}function getCanonicalizedResourceString(u){const A=(0,G.getURLPath)(u.url)||"/";let I="";I+=`/${i.accountName}${A}`;const B=(0,G.getURLQueries)(u.url);const Q={};if(B){const i=[];for(const u in B){if(Object.prototype.hasOwnProperty.call(B,u)){const A=u.toLowerCase();Q[A]=B[u];i.push(A)}}i.sort();for(const u of i){I+=`\n${u}:${decodeURIComponent(Q[u])}`}}return I}return{name:W,async sendRequest(i,u){signRequest(i);return u(i)}}}0&&0},13487:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{signalStreamEnd:()=>signalStreamEnd});i.exports=__toCommonJS(Q);function signalStreamEnd(i){i(null)}0&&0},16576:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{compareHeader:()=>compareHeader});i.exports=__toCommonJS(Q);const P=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 D=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 L=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(i,u){if(isLessThan(i,u))return-1;return 1}function isLessThan(i,u){const A=[P,D,L];let I=0;let B=0;let Q=0;while(IQ}const P=B{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{DevelopmentConnectionString:()=>U,HeaderConstants:()=>L,PathStylePorts:()=>G,SDK_VERSION:()=>P,URLConstants:()=>D});i.exports=__toCommonJS(Q);const P="12.4.0";const D={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const L={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};const U=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const G=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];0&&0},58218:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{EscapePath:()=>EscapePath,appendToURLPath:()=>appendToURLPath,appendToURLQuery:()=>appendToURLQuery,assertResponse:()=>assertResponse,attachCredential:()=>attachCredential,delay:()=>delay,escapeURLPath:()=>escapeURLPath,extractConnectionStringParts:()=>extractConnectionStringParts,generateBlockID:()=>generateBlockID,getAccountNameFromUrl:()=>getAccountNameFromUrl,getURLParameter:()=>getURLParameter,getURLPath:()=>getURLPath,getURLPathAndQuery:()=>getURLPathAndQuery,getURLQueries:()=>getURLQueries,getURLScheme:()=>getURLScheme,getValueInConnString:()=>getValueInConnString,httpAuthorizationToString:()=>httpAuthorizationToString,iEqual:()=>iEqual,isIpEndpointStyle:()=>isIpEndpointStyle,padStart:()=>padStart,sanitizeHeaders:()=>sanitizeHeaders,sanitizeURL:()=>sanitizeURL,setURLHost:()=>setURLHost,setURLParameter:()=>setURLParameter,truncatedISO8061Date:()=>truncatedISO8061Date});i.exports=__toCommonJS(D);var L=A(20778);var U=A(87779);var G=A(77925);function escapeURLPath(i){const u=new URL(i);let A=u.pathname;A=A||"/";A=escape(A);u.pathname=A;return u.toString()}function getProxyUriFromDevConnString(i){let u="";if(i.search("DevelopmentStorageProxyUri=")!==-1){const A=i.split(";");for(const i of A){if(i.trim().startsWith("DevelopmentStorageProxyUri=")){u=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return u}function getValueInConnString(i,u){const A=i.split(";");for(const i of A){if(i.trim().startsWith(u)){return i.trim().match(u+"=(.*)")[1]}}return""}function extractConnectionStringParts(i){let u="";if(i.startsWith("UseDevelopmentStorage=true")){u=getProxyUriFromDevConnString(i);i=G.DevelopmentConnectionString}let A=getValueInConnString(i,"BlobEndpoint");A=A.endsWith("/")?A.slice(0,-1):A;if(i.search("DefaultEndpointsProtocol=")!==-1&&i.search("AccountKey=")!==-1){let I="";let B="";let Q=(0,U.stringToUint8Array)("accountKey","base64");let P="";B=getValueInConnString(i,"AccountName");Q=(0,U.stringToUint8Array)(getValueInConnString(i,"AccountKey"),"base64");if(!A){I=getValueInConnString(i,"DefaultEndpointsProtocol");const u=I.toLowerCase();if(u!=="https"&&u!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}P=getValueInConnString(i,"EndpointSuffix");if(!P){throw new Error("Invalid EndpointSuffix in the provided Connection String")}A=`${I}://${B}.blob.${P}`}if(!B){throw new Error("Invalid AccountName in the provided Connection String")}else if(Q.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:A,accountName:B,accountKey:Q,proxyUri:u}}else{let u=getValueInConnString(i,"SharedAccessSignature");let I=getValueInConnString(i,"AccountName");if(!I){I=getAccountNameFromUrl(A)}if(!A){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!u){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(u.startsWith("?")){u=u.substring(1)}return{kind:"SASConnString",url:A,accountName:I,accountSas:u}}}function escape(i){return encodeURIComponent(i).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(i,u){const A=new URL(i);let I=A.pathname;I=I?I.endsWith("/")?`${I}${u}`:`${I}/${u}`:u;A.pathname=I;return A.toString()}function setURLParameter(i,u,A){const I=new URL(i);const B=encodeURIComponent(u);const Q=A?encodeURIComponent(A):void 0;const P=I.search===""?"?":I.search;const D=[];for(const i of P.slice(1).split("&")){if(i){const[u]=i.split("=",2);if(u!==B){D.push(i)}}}if(Q){D.push(`${B}=${Q}`)}I.search=D.length?`?${D.join("&")}`:"";return I.toString()}function getURLParameter(i,u){const A=new URL(i);return A.searchParams.get(u)??void 0}function setURLHost(i,u){const A=new URL(i);A.hostname=u;return A.toString()}function getURLPath(i){try{const u=new URL(i);return u.pathname}catch(i){return void 0}}function getURLScheme(i){try{const u=new URL(i);return u.protocol.endsWith(":")?u.protocol.slice(0,-1):u.protocol}catch(i){return void 0}}function getURLPathAndQuery(i){const u=new URL(i);const A=u.pathname;if(!A){throw new RangeError("Invalid url without valid path.")}let I=u.search||"";I=I.trim();if(I!==""){I=I.startsWith("?")?I:`?${I}`}return`${A}${I}`}function getURLQueries(i){let u=new URL(i).search;if(!u){return{}}u=u.trim();u=u.startsWith("?")?u.substring(1):u;let A=u.split("&");A=A.filter((i=>{const u=i.indexOf("=");const A=i.lastIndexOf("=");return u>0&&u===A&&AB){i=i.slice(0,B)}const Q=i+padStart(u.toString(),A-i.length,"0");return(0,U.uint8ArrayToString)((0,U.stringToUint8Array)(Q,"utf-8"),"base64")}async function delay(i,u,A){return new Promise(((I,B)=>{let Q;const abortHandler=()=>{if(Q!==void 0){clearTimeout(Q)}B(A)};const resolveHandler=()=>{if(u!==void 0){u.removeEventListener("abort",abortHandler)}I()};Q=setTimeout(resolveHandler,i);if(u!==void 0){u.addEventListener("abort",abortHandler)}}))}function padStart(i,u,A=" "){if(String.prototype.padStart){return i.padStart(u,A)}A=A||" ";if(i.length>u){return i}else{u=u-i.length;if(u>A.length){A+=A.repeat(u/A.length)}return A.slice(0,u)+i}}function sanitizeURL(i){let u=i;if(getURLParameter(u,G.URLConstants.Parameters.SIGNATURE)){u=setURLParameter(u,G.URLConstants.Parameters.SIGNATURE,"*****")}return u}function sanitizeHeaders(i){const u=(0,L.createHttpHeaders)();for(const[A,I]of i){if(A.toLowerCase()===G.HeaderConstants.AUTHORIZATION.toLowerCase()){u.set(A,"*****")}else if(A.toLowerCase()===G.HeaderConstants.X_MS_COPY_SOURCE){u.set(A,sanitizeURL(I))}else{u.set(A,I)}}return u}function iEqual(i,u){return i.toLocaleLowerCase()===u.toLocaleLowerCase()}function getAccountNameFromUrl(i){const u=new URL(i);let A;try{if(u.hostname.split(".")[1]==="blob"){A=u.hostname.split(".")[0]}else if(isIpEndpointStyle(u)){A=u.pathname.split("/")[1]}else{A=""}return A}catch(i){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(i){const u=i.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(u)||Boolean(i.port)&&G.PathStylePorts.includes(i.port)}function attachCredential(i,u){i.credential=u;return i}function httpAuthorizationToString(i){return i?i.scheme+" "+i.value:void 0}function EscapePath(i){const u=i.split("/");for(let i=0;i{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.jwtDecode=u.InvalidTokenError=void 0;class InvalidTokenError extends Error{}u.InvalidTokenError=InvalidTokenError;InvalidTokenError.prototype.name="InvalidTokenError";function b64DecodeUnicode(i){return decodeURIComponent(atob(i).replace(/(.)/g,((i,u)=>{let A=u.charCodeAt(0).toString(16).toUpperCase();if(A.length<2){A="0"+A}return"%"+A})))}function base64UrlDecode(i){let u=i.replace(/-/g,"+").replace(/_/g,"/");switch(u.length%4){case 0:break;case 2:u+="==";break;case 3:u+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return b64DecodeUnicode(u)}catch(i){return atob(u)}}function jwtDecode(i,u){if(typeof i!=="string"){throw new InvalidTokenError("Invalid token specified: must be a string")}u||(u={});const A=u.header===true?0:1;const I=i.split(".")[A];if(typeof I!=="string"){throw new InvalidTokenError(`Invalid token specified: missing part #${A+1}`)}let B;try{B=base64UrlDecode(I)}catch(i){throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${A+1} (${i.message})`)}try{return JSON.parse(B)}catch(i){throw new InvalidTokenError(`Invalid token specified: invalid json for part #${A+1} (${i.message})`)}}u.jwtDecode=jwtDecode},49498:(i,u,A)=>{const{RetryOperation:I}=A(74544);const createTimeout=(i,u)=>Math.min(Math.round((1+(u.randomize?Math.random():0))*Math.max(u.minTimeout,1)*Math.pow(u.factor,i)),u.maxTimeout);const isRetryError=i=>i?.code==="EPROMISERETRY"&&Object.hasOwn(i,"retried");const promiseRetry=async(i,u={})=>{let A=[];if(u instanceof Array){A=[...u]}else{if(u.retries===Infinity){u.forever=true;delete u.retries}const i={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false,...u};if(i.minTimeout>i.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}if(i.retries){for(let u=0;ui-u))}else if(u.forever){A.push(createTimeout(0,i))}}const B=new I(A,{forever:u.forever,unref:u.unref,maxRetryTime:u.maxRetryTime});return new Promise((function(u,A){B.attempt((async I=>{try{const A=await i((i=>{throw Object.assign(new Error("Retrying"),{code:"EPROMISERETRY",retried:i})}),I,B);return u(A)}catch(i){if(!isRetryError(i)){return A(i)}if(!B.retry(i.retried||new Error)){return A(i.retried)}}}))}))};i.exports={promiseRetry:promiseRetry}},74544:i=>{class RetryOperation{#Ne=1;#_e=null;#Te=[];#Oe=null;#xe;#ke=null;#Qe;#t;#Pe=null;#De;constructor(i,u={}){this.#Qe=[...i];this.#t=[...i];this.#De=u.unref;this.#xe=u.maxRetryTime||Infinity;if(u.forever){this.#_e=[...this.#t]}}get timeouts(){return[...this.#t]}get errors(){return[...this.#Te]}get attempts(){return this.#Ne}get mainError(){let i=null;if(this.#Te.length){let u=0;const A={};for(let I=0;I=u){i=B;u=A[Q]}}}return i}reset(){this.#Ne=1;this.#t=[...this.#Qe]}stop(){if(this.#Pe){clearTimeout(this.#Pe)}this.#t=[];this.#_e=null}retry(i){this.#Te.push(i);if((new Date).getTime()-this.#ke>=this.#xe){this.#Te.unshift(new Error("RetryOperation timeout occurred"));return false}let u=this.#t.shift();if(u===undefined){if(this.#_e){this.#Te.pop();u=this.#_e.at(-1)}else{return false}}this.#Pe=setTimeout((()=>{this.#Ne++;this.#Oe(this.#Ne)}),u);if(this.#De){this.#Pe.unref()}return true}attempt(i){this.#Oe=i;this.#ke=(new Date).getTime();this.#Oe(this.#Ne)}}i.exports={RetryOperation:RetryOperation}},99992:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{AbortError:()=>AbortError});i.exports=__toCommonJS(Q);class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}0&&0},36227:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{isApiKeyCredential:()=>isApiKeyCredential,isBasicCredential:()=>isBasicCredential,isBearerTokenCredential:()=>isBearerTokenCredential,isOAuth2TokenCredential:()=>isOAuth2TokenCredential});i.exports=__toCommonJS(Q);function isOAuth2TokenCredential(i){return"getOAuth2Token"in i}function isBearerTokenCredential(i){return"getBearerToken"in i}function isBasicCredential(i){return"username"in i&&"password"in i}function isApiKeyCredential(i){return"key"in i}0&&0},71408:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{apiVersionPolicy:()=>apiVersionPolicy,apiVersionPolicyName:()=>P});i.exports=__toCommonJS(Q);const P="ApiVersionPolicy";function apiVersionPolicy(i){return{name:P,sendRequest:(u,A)=>{const I=new URL(u.url);if(!I.searchParams.get("api-version")&&i.apiVersion){u.url=`${u.url}${Array.from(I.searchParams.keys()).length>0?"&":"?"}api-version=${i.apiVersion}`}return A(u)}}}0&&0},88728:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createDefaultPipeline:()=>createDefaultPipeline,getCachedDefaultHttpsClient:()=>getCachedDefaultHttpsClient});i.exports=__toCommonJS(D);var L=A(69468);var U=A(91810);var G=A(71408);var z=A(36227);var W=A(42095);var Y=A(15756);var J=A(89709);var $=A(20219);let K;function createDefaultPipeline(i={}){const u=(0,U.createPipelineFromOptions)(i);u.addPolicy((0,G.apiVersionPolicy)(i));const{credential:A,authSchemes:I,allowInsecureConnection:B}=i;if(A){if((0,z.isApiKeyCredential)(A)){u.addPolicy((0,W.apiKeyAuthenticationPolicy)({authSchemes:I,credential:A,allowInsecureConnection:B}))}else if((0,z.isBasicCredential)(A)){u.addPolicy((0,Y.basicAuthenticationPolicy)({authSchemes:I,credential:A,allowInsecureConnection:B}))}else if((0,z.isBearerTokenCredential)(A)){u.addPolicy((0,J.bearerAuthenticationPolicy)({authSchemes:I,credential:A,allowInsecureConnection:B}))}else if((0,z.isOAuth2TokenCredential)(A)){u.addPolicy((0,$.oauth2AuthenticationPolicy)({authSchemes:I,credential:A,allowInsecureConnection:B}))}}return u}function getCachedDefaultHttpsClient(){if(!K){K=(0,L.createDefaultHttpClient)()}return K}0&&0},86191:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{getClient:()=>getClient});i.exports=__toCommonJS(D);var L=A(88728);var U=A(16311);var G=A(37088);var z=A(41573);function getClient(i,u={}){const A=u.pipeline??(0,L.createDefaultPipeline)(u);if(u.additionalPolicies?.length){for(const{policy:i,position:I}of u.additionalPolicies){const u=I==="perRetry"?"Sign":void 0;A.addPolicy(i,{afterPhase:u})}}const{allowInsecureConnection:I,httpClient:B}=u;const Q=u.endpoint??i;const client=(i,...u)=>{const getUrl=A=>(0,G.buildRequestUrl)(Q,i,u,{allowInsecureConnection:I,...A});return{get:(i={})=>buildOperation("GET",getUrl(i),A,i,I,B),post:(i={})=>buildOperation("POST",getUrl(i),A,i,I,B),put:(i={})=>buildOperation("PUT",getUrl(i),A,i,I,B),patch:(i={})=>buildOperation("PATCH",getUrl(i),A,i,I,B),delete:(i={})=>buildOperation("DELETE",getUrl(i),A,i,I,B),head:(i={})=>buildOperation("HEAD",getUrl(i),A,i,I,B),options:(i={})=>buildOperation("OPTIONS",getUrl(i),A,i,I,B),trace:(i={})=>buildOperation("TRACE",getUrl(i),A,i,I,B)}};return{path:client,pathUnchecked:client,pipeline:A}}function buildOperation(i,u,A,I,B,Q){B=I.allowInsecureConnection??B;return{then:function(P,D){return(0,U.sendRequest)(i,u,A,{...I,allowInsecureConnection:B},Q).then(P,D)},async asBrowserStream(){if(z.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,U.sendRequest)(i,u,A,{...I,allowInsecureConnection:B,responseAsStream:true},Q)}},async asNodeStream(){if(z.isNodeLike){return(0,U.sendRequest)(i,u,A,{...I,allowInsecureConnection:B,responseAsStream:true},Q)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}0&&0},18240:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{buildBodyPart:()=>buildBodyPart,buildMultipartBody:()=>buildMultipartBody});i.exports=__toCommonJS(D);var L=A(9758);var U=A(4220);var G=A(82921);var z=A(48505);function getHeaderValue(i,u){if(i.headers){const A=Object.keys(i.headers).find((i=>i.toLowerCase()===u.toLowerCase()));if(A){return i.headers[A]}}return void 0}function getPartContentType(i){const u=getHeaderValue(i,"content-type");if(u){return u}if(i.contentType===null){return void 0}if(i.contentType){return i.contentType}const{body:A}=i;if(A===null||A===void 0){return void 0}if(typeof A==="string"||typeof A==="number"||typeof A==="boolean"){return"text/plain; charset=UTF-8"}if(A instanceof Blob){return A.type||"application/octet-stream"}if((0,z.isBinaryBody)(A)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(i){return JSON.stringify(i)}function getContentDisposition(i){const u=getHeaderValue(i,"content-disposition");if(u){return u}if(i.dispositionType===void 0&&i.name===void 0&&i.filename===void 0){return void 0}const A=i.dispositionType??"form-data";let I=A;if(i.name){I+=`; name=${escapeDispositionField(i.name)}`}let B=void 0;if(i.filename){B=i.filename}else if(typeof File!=="undefined"&&i.body instanceof File){const u=i.body.name;if(u!==""){B=u}}if(B){I+=`; filename=${escapeDispositionField(B)}`}return I}function normalizeBody(i,u){if(i===void 0){return new Uint8Array([])}if((0,z.isBinaryBody)(i)){return i}if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){return(0,G.stringToUint8Array)(String(i),"utf-8")}if(u&&/application\/(.+\+)?json(;.+)?/i.test(String(u))){return(0,G.stringToUint8Array)(JSON.stringify(i),"utf-8")}throw new L.RestError(`Unsupported body/content-type combination: ${i}, ${u}`)}function buildBodyPart(i){const u=getPartContentType(i);const A=getContentDisposition(i);const I=(0,U.createHttpHeaders)(i.headers??{});if(u){I.set("content-type",u)}if(A){I.set("content-disposition",A)}const B=normalizeBody(i.body,u);return{headers:I,body:B}}function buildMultipartBody(i){return{parts:i.map(buildBodyPart)}}0&&0},19635:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{operationOptionsToRequestParameters:()=>operationOptionsToRequestParameters});i.exports=__toCommonJS(Q);function operationOptionsToRequestParameters(i){return{allowInsecureConnection:i.requestOptions?.allowInsecureConnection,timeout:i.requestOptions?.timeout,skipUrlEncoding:i.requestOptions?.skipUrlEncoding,abortSignal:i.abortSignal,onUploadProgress:i.requestOptions?.onUploadProgress,onDownloadProgress:i.requestOptions?.onDownloadProgress,headers:{...i.requestOptions?.headers},onResponse:i.onResponse}}0&&0},97332:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createRestError:()=>createRestError});i.exports=__toCommonJS(D);var L=A(9758);var U=A(4220);function createRestError(i,u){const A=typeof i==="string"?u:i;const I=A.body?.error??A.body;const B=typeof i==="string"?i:I?.message??`Unexpected status code: ${A.status}`;return new L.RestError(B,{statusCode:statusCodeToNumber(A.status),code:I?.code,request:A.request,response:toPipelineResponse(A)})}function toPipelineResponse(i){return{headers:(0,U.createHttpHeaders)(i.headers),request:i.request,status:statusCodeToNumber(i.status)??-1,...typeof i.body==="string"?{bodyAsText:i.body}:{}}}function statusCodeToNumber(i){const u=Number.parseInt(i);return Number.isNaN(u)?void 0:u}0&&0},16311:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{getRequestBody:()=>getRequestBody,sendRequest:()=>sendRequest});i.exports=__toCommonJS(D);var L=A(9758);var U=A(4220);var G=A(72305);var z=A(88728);var W=A(48505);var Y=A(18240);async function sendRequest(i,u,A,I={},B){const Q=B??(0,z.getCachedDefaultHttpsClient)();const P=buildPipelineRequest(i,u,I);try{const i=await A.sendRequest(Q,P);const u=i.headers.toJSON();const B=i.readableStreamBody??i.browserStreamBody;const D=I.responseAsStream||B!==void 0?void 0:getResponseBody(i);const L=B??D;if(I?.onResponse){I.onResponse({...i,request:P,rawHeaders:u,parsedBody:D})}return{request:P,headers:u,status:`${i.status}`,body:L}}catch(i){if((0,L.isRestError)(i)&&i.response&&I.onResponse){const{response:u}=i;const A=u.headers.toJSON();I?.onResponse({...u,request:P,rawHeaders:A},i)}throw i}}function getRequestContentType(i={}){if(i.contentType){return i.contentType}const u=i.headers?.["content-type"];if(typeof u==="string"){return u}return getContentType(i.body)}function getContentType(i){if(i===void 0){return void 0}if(ArrayBuffer.isView(i)){return"application/octet-stream"}if((0,W.isBlob)(i)&&i.type){return i.type}if(typeof i==="string"){try{JSON.parse(i);return"application/json"}catch(i){return void 0}}return"application/json"}function buildPipelineRequest(i,u,A={}){const I=getRequestContentType(A);const{body:B,multipartBody:Q}=getRequestBody(A.body,I);const P=(0,U.createHttpHeaders)({...A.headers?A.headers:{},accept:A.accept??A.headers?.accept??"application/json",...I&&{"content-type":I}});const{allowInsecureConnection:D,abortSignal:L,onUploadProgress:z,onDownloadProgress:W,timeout:Y,responseAsStream:J,url:$,method:K,body:X,multipartBody:he,headers:Ae,...ye}=A;const be=(0,G.createPipelineRequest)({url:u,method:i,body:B,multipartBody:Q,headers:P,allowInsecureConnection:D,abortSignal:L,onUploadProgress:z,onDownloadProgress:W,timeout:Y,enableBrowserStreams:true,streamResponseStatusCodes:J?new Set([Number.POSITIVE_INFINITY]):void 0});Object.assign(be,ye);return be}function getRequestBody(i,u=""){if(i===void 0){return{body:void 0}}if(typeof FormData!=="undefined"&&i instanceof FormData){return{body:i}}if((0,W.isBlob)(i)){return{body:i}}if((0,W.isReadableStream)(i)){return{body:i}}if(typeof i==="function"){return{body:i}}if(ArrayBuffer.isView(i)){return{body:i instanceof Uint8Array?i:JSON.stringify(i)}}const A=u.split(";")[0];switch(A){case"application/json":return{body:JSON.stringify(i)};case"multipart/form-data":if(Array.isArray(i)){return{multipartBody:(0,Y.buildMultipartBody)(i)}}return{body:JSON.stringify(i)};case"text/plain":return{body:String(i)};default:if(typeof i==="string"){return{body:i}}return{body:JSON.stringify(i)}}}function getResponseBody(i){const u=i.headers.get("content-type")??"";const A=u.split(";")[0];const I=i.bodyAsText??"";if(A==="text/plain"){return String(I)}try{return I?JSON.parse(I):void 0}catch(u){if(A==="application/json"){throw createParseError(i,u)}return String(I)}}function createParseError(i,u){const A=`Error "${u}" occurred while parsing the response body - ${i.bodyAsText}.`;const I=u.code??L.RestError.PARSE_ERROR;return new L.RestError(A,{code:I,statusCode:i.status,request:i.request,response:i})}0&&0},37088:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{appendQueryParams:()=>appendQueryParams,buildBaseUrl:()=>buildBaseUrl,buildRequestUrl:()=>buildRequestUrl,replaceAll:()=>replaceAll});i.exports=__toCommonJS(Q);function isQueryParameterWithOptions(i){if(typeof i!=="object"||i===null||!Object.hasOwn(i,"value")){return false}const u=i.value;return typeof u?.toString==="function"}function buildRequestUrl(i,u,A,I={}){if(u.startsWith("https://")||u.startsWith("http://")){return u}i=buildBaseUrl(i,I);const B=buildRoutePath(u,A,I);const Q=appendQueryParams(appendPath(i,B),I);const P=new URL(Q);return P.toString()}function appendPath(i,u){const A=i.indexOf("?");const I=u.indexOf("?");const B=A!==-1?[i.substring(0,A),i.substring(A+1)]:[i,""];const Q=I!==-1?[u.substring(0,I),u.substring(I+1)]:[u,""];const P=[B[1],Q[1].replaceAll("?","&")].filter(Boolean).join("&");const D=B[0].replace(/(^[^:]+:\/\/[^/]+)\/\/+/,"$1/");const L=Q[0];let U=D;if(!D.endsWith("/")&&!L.startsWith("/")&&L!==""){U+=`/${L}`}else if(D.endsWith("/")&&L.startsWith("/")){U+=L.substring(1)}else{U+=L}if(P){U+=`?${P}`}return U}function getQueryParamValue(i,u,A,I){let B;if(A==="pipeDelimited"){B="|"}else if(A==="spaceDelimited"){B="%20"}else{B=","}let Q;if(Array.isArray(I)){Q=I}else if(typeof I==="object"&&I.toString===Object.prototype.toString){Q=Object.entries(I).flat()}else{Q=[I]}const P=Q.map((A=>{if(A===null||A===void 0){return""}if(!A.toString||typeof A.toString!=="function"){throw new Error(`Query parameters must be able to be represented as string, ${i} can't`)}const I=A.toISOString!==void 0?A.toISOString():A.toString();return u?I:encodeURIComponent(I)})).join(B);return`${u?i:encodeURIComponent(i)}=${P}`}function simpleParseQueryParams(i){const u=new Map;if(!i||i[0]!=="?"){return u}i=i.slice(1);const A=i.split("&");for(const i of A){const A=i.indexOf("=");const I=A===-1?i:i.substring(0,A);const B=A===-1?"":i.substring(A+1);const Q=u.get(I);if(Q!==void 0){if(Array.isArray(Q)){Q.push(B)}else{u.set(I,[Q,B])}}else{u.set(I,B)}}return u}function appendQueryParams(i,u={}){if(!u.queryParameters){return i}const A=new URL(i);const I=u.queryParameters;const B=simpleParseQueryParams(A.search);const Q=[];for(const i of Object.keys(I)){const A=I[i];if(A===void 0||A===null){continue}const B=isQueryParameterWithOptions(A);const P=B?A.value:A;const D=B?A.explode??false:false;const L=B&&A.style?A.style:"form";if(D){if(Array.isArray(P)){for(const A of P){Q.push(getQueryParamValue(i,u.skipUrlEncoding??false,L,A))}}else if(P!==null&&typeof P==="object"){for(const[i,A]of Object.entries(P)){Q.push(getQueryParamValue(i,u.skipUrlEncoding??false,L,A))}}else{throw new Error("explode can only be set to true for objects and arrays")}}else{Q.push(getQueryParamValue(i,u.skipUrlEncoding??false,L,P))}}for(const i of Q){const u=i.indexOf("=");const A=i.substring(0,u);const I=i.substring(u+1);const Q=B.get(A);if(Q!==void 0){if(Array.isArray(Q)){if(!Q.includes(I)){Q.push(I)}}else if(Q!==I){B.set(A,[Q,I])}}else{B.set(A,I)}}const P=[];for(const[i,u]of B){if(Array.isArray(u)){for(const A of u){P.push(`${i}=${A}`)}}else{P.push(`${i}=${u}`)}}A.search=P.length?`?${P.join("&")}`:"";return A.toString()}function buildBaseUrl(i,u){if(!u.pathParameters){return i}const A=u.pathParameters;for(const[I,B]of Object.entries(A)){if(B===void 0||B===null){throw new Error(`Path parameters ${I} must not be undefined or null`)}if(!B.toString||typeof B.toString!=="function"){throw new Error(`Path parameters must be able to be represented as string, ${I} can't`)}let A=B.toISOString!==void 0?B.toISOString():String(B);if(!u.skipUrlEncoding){A=encodeURIComponent(B)}i=replaceAll(i,`{${I}}`,A)??""}return i}function buildRoutePath(i,u,A={}){for(const I of u){const u=typeof I==="object"&&(I.allowReserved??false);let B=typeof I==="object"?I.value:I;if(!A.skipUrlEncoding&&!u){B=encodeURIComponent(B)}i=i.replace(/\{[\w-]+\}/,String(B))}return i}function replaceAll(i,u,A){return!i||!u?i:i.split(u).join(A||"")}0&&0},31255:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{DEFAULT_RETRY_POLICY_COUNT:()=>D,SDK_VERSION:()=>P});i.exports=__toCommonJS(Q);const P="0.3.6";const D=3;0&&0},91810:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createPipelineFromOptions:()=>createPipelineFromOptions});i.exports=__toCommonJS(D);var L=A(47129);var U=A(22338);var G=A(91691);var z=A(32462);var W=A(14197);var Y=A(66316);var J=A(27427);function createPipelineFromOptions(i){const u=(0,U.createEmptyPipeline)();(0,Y.addPlatformPolicies)(u,i);u.addPolicy((0,W.formDataPolicy)(),{beforePolicies:[J.multipartPolicyName]});u.addPolicy((0,G.userAgentPolicy)(i.userAgentOptions));u.addPolicy((0,J.multipartPolicy)(),{afterPhase:"Deserialize"});u.addPolicy((0,z.defaultRetryPolicy)(i.retryOptions),{phase:"Retry"});u.addPolicy((0,L.logPolicy)(i.loggingOptions),{afterPhase:"Sign"});return u}0&&0},69468:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createDefaultHttpClient:()=>createDefaultHttpClient});i.exports=__toCommonJS(D);var L=A(21167);function createDefaultHttpClient(){return(0,L.createNodeHttpClient)()}0&&0},41573:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{emitNodeWarning:()=>emitNodeWarning,getEnvironmentVariable:()=>getEnvironmentVariable,isBrowser:()=>z,isBun:()=>J,isDeno:()=>Y,isNodeLike:()=>$,isNodeRuntime:()=>K,isReactNative:()=>X,isWebWorker:()=>W});i.exports=__toCommonJS(U);var G=__toESM(A(1708));function getEnvironmentVariable(i){return G.default.env[i]}function emitNodeWarning(i){G.default.emitWarning(i)}const z=false;const W=false;const Y=typeof G.default.versions.deno==="string"&&G.default.versions.deno.length>0;const J=typeof G.default.versions.bun==="string"&&G.default.versions.bun.length>0;const $=true;const K=!J&&!Y;const X=false;0&&0},59182:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{convertBodyToFormDataMap:()=>convertBodyToFormDataMap});i.exports=__toCommonJS(Q);function convertBodyToFormDataMap(i){if(typeof FormData!=="undefined"&&i instanceof FormData){const u={};for(const[A,I]of i.entries()){const i=u[A];if(Array.isArray(i)){i.push(I)}else{u[A]=i!==void 0?[i,I]:[I]}}return u}return void 0}0&&0},4220:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{createHttpHeaders:()=>createHttpHeaders});i.exports=__toCommonJS(Q);function normalizeName(i){return i.toLowerCase()}function normalizeValue(i){return String(i).trim().replace(/[\r\n]/g,"")}function*headerIterator(i){for(const u of i.values()){yield[u.name,u.value]}}class HttpHeadersImpl{_headersMap;constructor(i){this._headersMap=new Map;if(i){for(const u of Object.keys(i)){this.set(u,i[u])}}}set(i,u){this._headersMap.set(normalizeName(i),{name:i,value:normalizeValue(u)})}get(i){return this._headersMap.get(normalizeName(i))?.value}has(i){return this._headersMap.has(normalizeName(i))}delete(i){this._headersMap.delete(normalizeName(i))}toJSON(i={}){const u={};if(i.preserveCase){for(const i of this._headersMap.values()){u[i.name]=i.value}}else{for(const[i,A]of this._headersMap){u[i]=A.value}}return u}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(i){return new HttpHeadersImpl(i)}0&&0},41958:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{AbortError:()=>L.AbortError,RestError:()=>Y.RestError,TypeSpecRuntimeLogger:()=>U.TypeSpecRuntimeLogger,createClientLogger:()=>U.createClientLogger,createDefaultHttpClient:()=>$.createDefaultHttpClient,createEmptyPipeline:()=>W.createEmptyPipeline,createHttpHeaders:()=>G.createHttpHeaders,createPipelineRequest:()=>z.createPipelineRequest,createRestError:()=>he.createRestError,getClient:()=>K.getClient,getLogLevel:()=>U.getLogLevel,isRestError:()=>Y.isRestError,operationOptionsToRequestParameters:()=>X.operationOptionsToRequestParameters,setLogLevel:()=>U.setLogLevel,stringToUint8Array:()=>J.stringToUint8Array,uint8ArrayToString:()=>J.uint8ArrayToString});i.exports=__toCommonJS(D);var L=A(99992);var U=A(18459);var G=A(4220);var z=A(72305);var W=A(22338);var Y=A(9758);var J=A(82921);var $=A(69468);var K=A(86191);var X=A(19635);var he=A(97332);0&&0},3644:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{logger:()=>U});i.exports=__toCommonJS(D);var L=A(18459);const U=(0,L.createClientLogger)("ts-http-runtime");0&&0},36836:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{default:()=>K});i.exports=__toCommonJS(D);var L=A(38029);var U=A(41573);const G=(0,U.getEnvironmentVariable)("DEBUG");let z;let W=[];let Y=[];const J=[];if(G){enable(G)}const $=Object.assign((i=>createDebugger(i)),{enable:enable,enabled:enabled,disable:disable,log:L.log});function enable(i){z=i;W=[];Y=[];const u=i.split(",").map((i=>i.trim()));for(const i of u){if(i.startsWith("-")){Y.push(i.substring(1))}else{W.push(i)}}for(const i of J){i.enabled=enabled(i.namespace)}}function enabled(i){if(i.endsWith("*")){return true}for(const u of Y){if(namespaceMatches(i,u)){return false}}for(const u of W){if(namespaceMatches(i,u)){return true}}return false}function namespaceMatches(i,u){if(u.indexOf("*")===-1){return i===u}let A=u;if(u.indexOf("**")!==-1){const i=[];let I="";for(const A of u){if(A==="*"&&I==="*"){continue}else{I=A;i.push(A)}}A=i.join("")}let I=0;let B=0;const Q=A.length;const P=i.length;let D=-1;let L=-1;while(I=0){B=D+1;I=L+1;if(I===P){return false}while(i[I]!==A[B]){I++;if(I===P){return false}}L=I;I++;B++;continue}else{return false}}const U=I===i.length;const G=B===A.length;const z=B===A.length-1&&A[B]==="*";return U&&(G||z)}function disable(){const i=z||"";enable("");return i}function createDebugger(i){const u=Object.assign(debug,{enabled:enabled(i),destroy:destroy,log:$.log,namespace:i,extend:extend});function debug(...A){if(!u.enabled){return}if(A.length>0){A[0]=`${i} ${A[0]}`}u.log(...A)}J.push(u);return u}function destroy(){const i=J.indexOf(this);if(i>=0){J.splice(i,1);return true}return false}function extend(i){const u=createDebugger(`${this.namespace}:${i}`);u.log=this.log;return u}var K=$},82490:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createLoggerContext:()=>L.createLoggerContext});i.exports=__toCommonJS(D);var L=A(18459);0&&0},38029:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{log:()=>log});i.exports=__toCommonJS(U);var G=A(48161);var z=__toESM(A(57975));var W=__toESM(A(1708));function log(i,...u){W.default.stderr.write(`${z.default.format(i,...u)}${G.EOL}`)}0&&0},18459:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{TypeSpecRuntimeLogger:()=>$,createClientLogger:()=>createClientLogger,createLoggerContext:()=>createLoggerContext,getLogLevel:()=>getLogLevel,setLogLevel:()=>setLogLevel});i.exports=__toCommonJS(U);var G=__toESM(A(36836));var z=A(41573);const W=["verbose","info","warning","error"];const Y={verbose:400,info:300,warning:200,error:100};function patchLogMethod(i,u){u.log=(...u)=>{i.log(...u)}}function isTypeSpecRuntimeLogLevel(i){return W.includes(i)}function createLoggerContext(i){const u=new Set;const A=(0,z.getEnvironmentVariable)(i.logLevelEnvVarName);let I;const B=(0,G.default)(i.namespace);B.log=(...i)=>{G.default.log(...i)};function contextSetLogLevel(i){if(i&&!isTypeSpecRuntimeLogLevel(i)){throw new Error(`Unknown log level '${i}'. Acceptable values: ${W.join(",")}`)}I=i;const A=[];for(const i of u){if(shouldEnable(i)){A.push(i.namespace)}}G.default.enable(A.join(","))}if(A){if(isTypeSpecRuntimeLogLevel(A)){contextSetLogLevel(A)}else{console.error(`${i.logLevelEnvVarName} set to unknown log level '${A}'; logging is not enabled. Acceptable values: ${W.join(", ")}.`)}}function shouldEnable(i){return Boolean(I&&Y[i.level]<=Y[I])}function createLogger(i,A){const I=Object.assign(i.extend(A),{level:A});patchLogMethod(i,I);if(shouldEnable(I)){const i=G.default.disable();G.default.enable(i+","+I.namespace)}u.add(I);return I}function contextGetLogLevel(){return I}function contextCreateClientLogger(i){const u=B.extend(i);patchLogMethod(B,u);return{error:createLogger(u,"error"),warning:createLogger(u,"warning"),info:createLogger(u,"info"),verbose:createLogger(u,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:B}}const J=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});const $=J.logger;function setLogLevel(i){J.setLogLevel(i)}function getLogLevel(){return J.getLogLevel()}function createClientLogger(i){return J.createClientLogger(i)}0&&0},21167:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{createNodeHttpClient:()=>createNodeHttpClient,getBodyLength:()=>getBodyLength});i.exports=__toCommonJS(U);var G=__toESM(A(37067));var z=__toESM(A(44708));var W=__toESM(A(38522));var Y=A(57075);var J=A(99992);var $=A(4220);var K=A(9758);var X=A(3644);var he=A(7784);const Ae={};function isReadableStream(i){return i&&typeof i.pipe==="function"}function isStreamComplete(i){if(i.readable===false){return Promise.resolve()}return new Promise((u=>{const handler=()=>{u();i.removeListener("close",handler);i.removeListener("end",handler);i.removeListener("error",handler)};i.on("close",handler);i.on("end",handler);i.on("error",handler)}))}function isArrayBuffer(i){return i&&typeof i.byteLength==="number"}class ReportTransform extends Y.Transform{loadedBytes=0;progressCallback;_transform(i,u,A){this.push(i);this.loadedBytes+=i.length;try{this.progressCallback({loadedBytes:this.loadedBytes});A()}catch(i){A(i)}}constructor(i){super();this.progressCallback=i}}class NodeHttpClient{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(i){const u=new AbortController;let A;if(i.abortSignal){if(i.abortSignal.aborted){throw new J.AbortError("The operation was aborted. Request has already been canceled.")}A=i=>{if(i.type==="abort"){u.abort()}};i.abortSignal.addEventListener("abort",A)}let I;if(i.timeout>0){I=setTimeout((()=>{const A=new he.Sanitizer;X.logger.info(`request to '${A.sanitizeUrl(i.url)}' timed out. canceling...`);u.abort()}),i.timeout)}const B=i.headers.get("Accept-Encoding");const Q=B?.includes("gzip")||B?.includes("deflate");let P=typeof i.body==="function"?i.body():i.body;if(P&&!i.headers.has("Content-Length")){const u=getBodyLength(P);if(u!==null){i.headers.set("Content-Length",u)}}let D;try{if(P&&i.onUploadProgress){const u=i.onUploadProgress;const A=new ReportTransform(u);A.on("error",(i=>{X.logger.error("Error in upload progress",i)}));if(isReadableStream(P)){P.pipe(A)}else{A.end(P)}P=A}const A=await this.makeRequest(i,u,P);if(I!==void 0){clearTimeout(I)}const B=getResponseHeaders(A);const L=A.statusCode??0;const U={status:L,headers:B,request:i};if(i.method==="HEAD"){A.resume();return U}D=Q?getDecodedResponseStream(A,B):A;const G=i.onDownloadProgress;if(G){const i=new ReportTransform(G);i.on("error",(i=>{X.logger.error("Error in download progress",i)}));D.pipe(i);D=i}if(i.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||i.streamResponseStatusCodes?.has(U.status)){U.readableStreamBody=D}else{U.bodyAsText=await streamToText(D)}return U}finally{if(i.abortSignal&&A){let u=Promise.resolve();if(isReadableStream(P)){u=isStreamComplete(P)}let I=Promise.resolve();if(isReadableStream(D)){I=isStreamComplete(D)}Promise.all([u,I]).then((()=>{if(A){i.abortSignal?.removeEventListener("abort",A)}})).catch((i=>{X.logger.warning("Error when cleaning up abortListener on httpRequest",i)}))}}}makeRequest(i,u,A){const I=new URL(i.url);const B=I.protocol!=="https:";if(B&&!i.allowInsecureConnection){throw new Error(`Cannot connect to ${i.url} while allowInsecureConnection is false.`)}const Q=i.agent??this.getOrCreateAgent(i,B);const P={agent:Q,hostname:I.hostname,path:`${I.pathname}${I.search}`,port:I.port,method:i.method,headers:i.headers.toJSON({preserveCase:true}),...i.requestOverrides};return new Promise(((I,Q)=>{const D=B?G.default.request(P,I):z.default.request(P,I);D.once("error",(u=>{Q(new K.RestError(u.message,{code:u.code??K.RestError.REQUEST_SEND_ERROR,request:i}))}));u.signal.addEventListener("abort",(()=>{const i=new J.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");D.destroy(i);Q(i)}));if(A&&isReadableStream(A)){A.pipe(D)}else if(A){if(typeof A==="string"||Buffer.isBuffer(A)){D.end(A)}else if(isArrayBuffer(A)){D.end(ArrayBuffer.isView(A)?Buffer.from(A.buffer,A.byteOffset,A.byteLength):Buffer.from(A))}else{X.logger.error("Unrecognized body type",A);Q(new K.RestError("Unrecognized body type"))}}else{D.end()}}))}getOrCreateAgent(i,u){const A=i.disableKeepAlive;if(u){if(A){return G.default.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new G.default.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(A&&!i.tlsSettings){return z.default.globalAgent}const u=i.tlsSettings??Ae;let I=this.cachedHttpsAgents.get(u);if(I&&I.options.keepAlive===!A){return I}X.logger.info("No cached TLS Agent exist, creating a new Agent");I=new z.default.Agent({keepAlive:!A,...u});this.cachedHttpsAgents.set(u,I);return I}}}function getResponseHeaders(i){const u=(0,$.createHttpHeaders)();for(const A of Object.keys(i.headers)){const I=i.headers[A];if(Array.isArray(I)){if(I.length>0){u.set(A,I[0])}}else if(I){u.set(A,I)}}return u}function getDecodedResponseStream(i,u){const A=u.get("Content-Encoding");if(A==="gzip"){const u=W.default.createGunzip();i.pipe(u);return u}else if(A==="deflate"){const u=W.default.createInflate();i.pipe(u);return u}return i}function streamToText(i){return new Promise(((u,A)=>{const I=[];i.on("data",(i=>{if(Buffer.isBuffer(i)){I.push(i)}else{I.push(Buffer.from(i))}}));i.on("end",(()=>{u(Buffer.concat(I).toString("utf8"))}));i.on("error",(i=>{if(i&&i?.name==="AbortError"){A(i)}else{A(new K.RestError(`Error reading response as text: ${i.message}`,{code:K.RestError.PARSE_ERROR}))}}))}))}function getBodyLength(i){if(!i){return 0}else if(Buffer.isBuffer(i)){return i.length}else if(isReadableStream(i)){return null}else if(isArrayBuffer(i)){return i.byteLength}else if(typeof i==="string"){return Buffer.from(i).length}else{return null}}function createNodeHttpClient(){return new NodeHttpClient}0&&0},22338:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{createEmptyPipeline:()=>createEmptyPipeline});i.exports=__toCommonJS(Q);const P=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{_policies=[];_orderedPolicies;constructor(i){this._policies=i?.slice(0)??[];this._orderedPolicies=void 0}addPolicy(i,u={}){if(u.phase&&u.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(u.phase&&!P.has(u.phase)){throw new Error(`Invalid phase name: ${u.phase}`)}if(u.afterPhase&&!P.has(u.afterPhase)){throw new Error(`Invalid afterPhase name: ${u.afterPhase}`)}this._policies.push({policy:i,options:u});this._orderedPolicies=void 0}removePolicy(i){const u=[];this._policies=this._policies.filter((A=>{if(i.name&&A.policy.name===i.name||i.phase&&A.options.phase===i.phase){u.push(A.policy);return false}else{return true}}));this._orderedPolicies=void 0;return u}sendRequest(i,u){const A=this.getOrderedPolicies();const I=A.reduceRight(((i,u)=>A=>u.sendRequest(A,i)),(u=>i.sendRequest(u)));return I(u)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const i=[];const u=new Map;function createPhase(i){return{name:i,policies:new Set,hasRun:false,hasAfterPolicies:false}}const A=createPhase("Serialize");const I=createPhase("None");const B=createPhase("Deserialize");const Q=createPhase("Retry");const P=createPhase("Sign");const D=[A,I,B,Q,P];function getPhase(i){if(i==="Retry"){return Q}else if(i==="Serialize"){return A}else if(i==="Deserialize"){return B}else if(i==="Sign"){return P}else{return I}}for(const i of this._policies){const A=i.policy;const I=i.options;const B=A.name;if(u.has(B)){throw new Error("Duplicate policy names not allowed in pipeline")}const Q={policy:A,dependsOn:new Set,dependants:new Set};if(I.afterPhase){Q.afterPhase=getPhase(I.afterPhase);Q.afterPhase.hasAfterPolicies=true}u.set(B,Q);const P=getPhase(I.phase);P.policies.add(Q)}for(const i of this._policies){const{policy:A,options:I}=i;const B=A.name;const Q=u.get(B);if(!Q){throw new Error(`Missing node for policy ${B}`)}if(I.afterPolicies){for(const i of I.afterPolicies){const A=u.get(i);if(A){Q.dependsOn.add(A);A.dependants.add(Q)}}}if(I.beforePolicies){for(const i of I.beforePolicies){const A=u.get(i);if(A){A.dependsOn.add(Q);Q.dependants.add(A)}}}}function walkPhase(A){A.hasRun=true;for(const I of A.policies){if(I.afterPhase&&(!I.afterPhase.hasRun||I.afterPhase.policies.size)){continue}if(I.dependsOn.size===0){i.push(I.policy);for(const i of I.dependants){i.dependsOn.delete(I)}u.delete(I.policy.name);A.policies.delete(I)}}}function walkPhases(){for(const i of D){walkPhase(i);if(i.policies.size>0&&i!==I){if(!I.hasRun){walkPhase(I)}return}if(i.hasAfterPolicies){walkPhase(I)}}}let L=0;while(u.size>0){L++;const u=i.length;walkPhases();if(i.length<=u&&L>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return i}}function createEmptyPipeline(){return HttpPipeline.create()}0&&0},72305:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{createPipelineRequest:()=>createPipelineRequest});i.exports=__toCommonJS(D);var L=A(4220);var U=A(5023);class PipelineRequestImpl{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(i){this.url=i.url;this.body=i.body;this.headers=i.headers??(0,L.createHttpHeaders)();this.method=i.method??"GET";this.timeout=i.timeout??0;this.multipartBody=i.multipartBody;this.formData=i.formData;this.disableKeepAlive=i.disableKeepAlive??false;this.proxySettings=i.proxySettings;this.streamResponseStatusCodes=i.streamResponseStatusCodes;this.withCredentials=i.withCredentials??false;this.abortSignal=i.abortSignal;this.onUploadProgress=i.onUploadProgress;this.onDownloadProgress=i.onDownloadProgress;this.requestId=i.requestId||(0,U.randomUUID)();this.allowInsecureConnection=i.allowInsecureConnection??false;this.enableBrowserStreams=i.enableBrowserStreams??false;this.requestOverrides=i.requestOverrides;this.authSchemes=i.authSchemes}}function createPipelineRequest(i){return new PipelineRequestImpl(i)}0&&0},85366:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{agentPolicy:()=>agentPolicy,agentPolicyName:()=>P});i.exports=__toCommonJS(Q);const P="agentPolicy";function agentPolicy(i){return{name:P,sendRequest:async(u,A)=>{if(!u.agent){u.agent=i}return A(u)}}}0&&0},42095:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{apiKeyAuthenticationPolicy:()=>apiKeyAuthenticationPolicy,apiKeyAuthenticationPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(42302);const U="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy(i){return{name:U,async sendRequest(u,A){(0,L.ensureSecureConnection)(u,i);const I=(u.authSchemes??i.authSchemes)?.find((i=>i.kind==="apiKey"));if(!I){return A(u)}if(I.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${I.apiKeyLocation}`)}u.headers.set(I.name,i.credential.key);return A(u)}}}0&&0},15756:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{basicAuthenticationPolicy:()=>basicAuthenticationPolicy,basicAuthenticationPolicyName:()=>G});i.exports=__toCommonJS(D);var L=A(82921);var U=A(42302);const G="bearerAuthenticationPolicy";function basicAuthenticationPolicy(i){return{name:G,async sendRequest(u,A){(0,U.ensureSecureConnection)(u,i);const I=(u.authSchemes??i.authSchemes)?.find((i=>i.kind==="http"&&i.scheme==="basic"));if(!I){return A(u)}const{username:B,password:Q}=i.credential;const P=(0,L.uint8ArrayToString)((0,L.stringToUint8Array)(`${B}:${Q}`,"utf-8"),"base64");u.headers.set("Authorization",`Basic ${P}`);return A(u)}}}0&&0},89709:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{bearerAuthenticationPolicy:()=>bearerAuthenticationPolicy,bearerAuthenticationPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(42302);const U="bearerAuthenticationPolicy";function bearerAuthenticationPolicy(i){return{name:U,async sendRequest(u,A){(0,L.ensureSecureConnection)(u,i);const I=(u.authSchemes??i.authSchemes)?.find((i=>i.kind==="http"&&i.scheme==="bearer"));if(!I){return A(u)}const B=await i.credential.getBearerToken({abortSignal:u.abortSignal});u.headers.set("Authorization",`Bearer ${B}`);return A(u)}}}0&&0},42302:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{ensureSecureConnection:()=>ensureSecureConnection});i.exports=__toCommonJS(D);var L=A(3644);var U=A(41573);let G=false;function allowInsecureConnection(i,u){if(u.allowInsecureConnection&&i.allowInsecureConnection){const u=new URL(i.url);if(u.hostname==="localhost"||u.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const i="Sending token over insecure transport. Assume any token issued is compromised.";L.logger.warning(i);if(!G){G=true;(0,U.emitNodeWarning)(i)}}function ensureSecureConnection(i,u){if(!i.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(i,u)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}0&&0},20219:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{oauth2AuthenticationPolicy:()=>oauth2AuthenticationPolicy,oauth2AuthenticationPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(42302);const U="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy(i){return{name:U,async sendRequest(u,A){(0,L.ensureSecureConnection)(u,i);const I=(u.authSchemes??i.authSchemes)?.find((i=>i.kind==="oauth2"));if(!I){return A(u)}const B=await i.credential.getOAuth2Token(I.flows,{abortSignal:u.abortSignal});u.headers.set("Authorization",`Bearer ${B}`);return A(u)}}}0&&0},35035:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{decompressResponsePolicy:()=>decompressResponsePolicy,decompressResponsePolicyName:()=>P});i.exports=__toCommonJS(Q);const P="decompressResponsePolicy";function decompressResponsePolicy(){return{name:P,async sendRequest(i,u){if(i.method!=="HEAD"){i.headers.set("Accept-Encoding","gzip,deflate")}return u(i)}}}0&&0},32462:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{defaultRetryPolicy:()=>defaultRetryPolicy,defaultRetryPolicyName:()=>W});i.exports=__toCommonJS(D);var L=A(98102);var U=A(21112);var G=A(43345);var z=A(31255);const W="defaultRetryPolicy";function defaultRetryPolicy(i={}){return{name:W,sendRequest:(0,G.retryPolicy)([(0,U.throttlingRetryStrategy)(),(0,L.exponentialRetryStrategy)(i)],{maxRetries:i.maxRetries??z.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}0&&0},74656:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{exponentialRetryPolicy:()=>exponentialRetryPolicy,exponentialRetryPolicyName:()=>z});i.exports=__toCommonJS(D);var L=A(98102);var U=A(43345);var G=A(31255);const z="exponentialRetryPolicy";function exponentialRetryPolicy(i={}){return(0,U.retryPolicy)([(0,L.exponentialRetryStrategy)({...i,ignoreSystemErrors:true})],{maxRetries:i.maxRetries??G.DEFAULT_RETRY_POLICY_COUNT})}0&&0},14197:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{formDataPolicy:()=>formDataPolicy,formDataPolicyName:()=>z});i.exports=__toCommonJS(D);var L=A(82921);var U=A(59182);var G=A(4220);const z="formDataPolicy";function formDataPolicy(){return{name:z,async sendRequest(i,u){const A=(0,U.convertBodyToFormDataMap)(i.body);if(A){i.formData=A;i.body=void 0}if(i.formData){const u=i.headers.get("Content-Type");if(u&&u.indexOf("application/x-www-form-urlencoded")!==-1){i.body=wwwFormUrlEncode(i.formData)}else{await prepareFormData(i.formData,i)}i.formData=void 0}return u(i)}}}function wwwFormUrlEncode(i){const u=new URLSearchParams;for(const[A,I]of Object.entries(i)){if(Array.isArray(I)){for(const i of I){u.append(A,i.toString())}}else{u.append(A,I.toString())}}return u.toString()}async function prepareFormData(i,u){const A=u.headers.get("Content-Type");if(A&&!A.startsWith("multipart/form-data")){return}u.headers.set("Content-Type",A??"multipart/form-data");const I=[];for(const[u,A]of Object.entries(i)){for(const i of Array.isArray(A)?A:[A]){if(typeof i==="string"){I.push({headers:(0,G.createHttpHeaders)({"Content-Disposition":`form-data; name="${u}"`}),body:(0,L.stringToUint8Array)(i,"utf-8")})}else if(i===void 0||i===null||typeof i!=="object"){throw new Error(`Unexpected value for key ${u}: ${i}. Value should be serialized to string first.`)}else{const A=i.name||"blob";const B=(0,G.createHttpHeaders)();B.set("Content-Disposition",`form-data; name="${u}"; filename="${A}"`);B.set("Content-Type",i.type||"application/octet-stream");I.push({headers:B,body:i})}}}u.multipartBody={parts:I}}0&&0},44960:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{agentPolicy:()=>L.agentPolicy,agentPolicyName:()=>L.agentPolicyName,decompressResponsePolicy:()=>U.decompressResponsePolicy,decompressResponsePolicyName:()=>U.decompressResponsePolicyName,defaultRetryPolicy:()=>G.defaultRetryPolicy,defaultRetryPolicyName:()=>G.defaultRetryPolicyName,exponentialRetryPolicy:()=>z.exponentialRetryPolicy,exponentialRetryPolicyName:()=>z.exponentialRetryPolicyName,formDataPolicy:()=>$.formDataPolicy,formDataPolicyName:()=>$.formDataPolicyName,getDefaultProxySettings:()=>he.getDefaultProxySettings,logPolicy:()=>K.logPolicy,logPolicyName:()=>K.logPolicyName,multipartPolicy:()=>X.multipartPolicy,multipartPolicyName:()=>X.multipartPolicyName,proxyPolicy:()=>he.proxyPolicy,proxyPolicyName:()=>he.proxyPolicyName,redirectPolicy:()=>Ae.redirectPolicy,redirectPolicyName:()=>Ae.redirectPolicyName,retryPolicy:()=>W.retryPolicy,systemErrorRetryPolicy:()=>Y.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>Y.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>J.throttlingRetryPolicy,throttlingRetryPolicyName:()=>J.throttlingRetryPolicyName,tlsPolicy:()=>ye.tlsPolicy,tlsPolicyName:()=>ye.tlsPolicyName,userAgentPolicy:()=>be.userAgentPolicy,userAgentPolicyName:()=>be.userAgentPolicyName});i.exports=__toCommonJS(D);var L=A(85366);var U=A(35035);var G=A(32462);var z=A(74656);var W=A(43345);var Y=A(92418);var J=A(24728);var $=A(14197);var K=A(47129);var X=A(27427);var he=A(80067);var Ae=A(92187);var ye=A(96690);var be=A(91691);0&&0},47129:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{logPolicy:()=>logPolicy,logPolicyName:()=>G});i.exports=__toCommonJS(D);var L=A(3644);var U=A(7784);const G="logPolicy";function logPolicy(i={}){const u=i.logger??L.logger.info;const A=new U.Sanitizer({additionalAllowedHeaderNames:i.additionalAllowedHeaderNames,additionalAllowedQueryParameters:i.additionalAllowedQueryParameters});return{name:G,async sendRequest(i,I){if(!u.enabled){return I(i)}u(`Request: ${A.sanitize(i)}`);const B=await I(i);u(`Response status code: ${B.status}`);u(`Headers: ${A.sanitize(B.headers)}`);return B}}}0&&0},27427:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{multipartPolicy:()=>multipartPolicy,multipartPolicyName:()=>W});i.exports=__toCommonJS(D);var L=A(82921);var U=A(48505);var G=A(5023);var z=A(20547);function generateBoundary(){return`----AzSDKFormBoundary${(0,G.randomUUID)()}`}function encodeHeaders(i){let u="";for(const[A,I]of i){u+=`${A}: ${I}\r\n`}return u}function getLength(i){if(i instanceof Uint8Array){return i.byteLength}else if((0,U.isBlob)(i)){return i.size===-1?void 0:i.size}else{return void 0}}function getTotalLength(i){let u=0;for(const A of i){const i=getLength(A);if(i===void 0){return void 0}else{u+=i}}return u}async function buildRequestBody(i,u,A){const I=[(0,L.stringToUint8Array)(`--${A}`,"utf-8"),...u.flatMap((i=>[(0,L.stringToUint8Array)("\r\n","utf-8"),(0,L.stringToUint8Array)(encodeHeaders(i.headers),"utf-8"),(0,L.stringToUint8Array)("\r\n","utf-8"),i.body,(0,L.stringToUint8Array)(`\r\n--${A}`,"utf-8")])),(0,L.stringToUint8Array)("--\r\n\r\n","utf-8")];const B=getTotalLength(I);if(B){i.headers.set("Content-Length",B)}i.body=await(0,z.concat)(I)}const W="multipartPolicy";const Y=70;const J=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(i){if(i.length>Y){throw new Error(`Multipart boundary "${i}" exceeds maximum length of 70 characters`)}if(Array.from(i).some((i=>!J.has(i)))){throw new Error(`Multipart boundary "${i}" contains invalid characters`)}}function multipartPolicy(){return{name:W,async sendRequest(i,u){if(!i.multipartBody){return u(i)}if(i.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let A=i.multipartBody.boundary;const I=i.headers.get("Content-Type")??"multipart/mixed";const B=I.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!B){throw new Error(`Got multipart request body, but content-type header was not multipart: ${I}`)}const[,Q,P]=B;if(P&&A&&P!==A){throw new Error(`Multipart boundary was specified as ${P} in the header, but got ${A} in the request body`)}A??=P;if(A){assertValidBoundary(A)}else{A=generateBoundary()}i.headers.set("Content-Type",`${Q}; boundary=${A}`);await buildRequestBody(i,i.multipartBody.parts,A);i.multipartBody=void 0;return u(i)}}}0&&0},66316:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{addPlatformPolicies:()=>addPlatformPolicies});i.exports=__toCommonJS(D);var L=A(85366);var U=A(96690);var G=A(80067);var z=A(35035);var W=A(92187);function addPlatformPolicies(i,u){if(u.agent){i.addPolicy((0,L.agentPolicy)(u.agent))}if(u.tlsOptions){i.addPolicy((0,U.tlsPolicy)(u.tlsOptions))}i.addPolicy((0,G.proxyPolicy)(u.proxyOptions));i.addPolicy((0,z.decompressResponsePolicy)());i.addPolicy((0,W.redirectPolicy)(u.redirectOptions),{afterPhase:"Retry"})}0&&0},80067:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{getDefaultProxySettings:()=>getDefaultProxySettings,globalNoProxyList:()=>K,loadNoProxy:()=>loadNoProxy,proxyPolicy:()=>proxyPolicy,proxyPolicyName:()=>$});i.exports=__toCommonJS(D);var L=A(3669);var U=A(81970);var G=A(3644);const z="HTTPS_PROXY";const W="HTTP_PROXY";const Y="ALL_PROXY";const J="NO_PROXY";const $="proxyPolicy";const K=[];let X=false;const he=new Map;function getEnvironmentValue(i){if(process.env[i]){return process.env[i]}else if(process.env[i.toLowerCase()]){return process.env[i.toLowerCase()]}return void 0}function loadEnvironmentProxyValue(){if(!process){return void 0}const i=getEnvironmentValue(z);const u=getEnvironmentValue(Y);const A=getEnvironmentValue(W);return i||u||A}function isBypassed(i,u,A){if(u.length===0){return false}const I=new URL(i).hostname;if(A?.has(I)){return A.get(I)}let B=false;for(const i of u){if(i[0]==="."){if(I.endsWith(i)){B=true}else{if(I.length===i.length-1&&I===i.slice(1)){B=true}}}else{if(I===i){B=true}}}A?.set(I,B);return B}function loadNoProxy(){const i=getEnvironmentValue(J);X=true;if(i){return i.split(",").map((i=>i.trim())).filter((i=>i.length))}return[]}function getDefaultProxySettings(i){if(!i){i=loadEnvironmentProxyValue();if(!i){return void 0}}const u=new URL(i);const A=u.protocol?u.protocol+"//":"";return{host:A+u.hostname,port:Number.parseInt(u.port||"80"),username:u.username,password:u.password}}function getDefaultProxySettingsInternal(){const i=loadEnvironmentProxyValue();return i?new URL(i):void 0}function getUrlFromProxySettings(i){let u;try{u=new URL(i.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${i.host}".`)}u.port=String(i.port);if(i.username){u.username=i.username}if(i.password){u.password=i.password}return u}function setProxyAgentOnRequest(i,u,A){if(i.agent){return}const I=new URL(i.url);const B=I.protocol!=="https:";if(i.tlsSettings){G.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}if(B){if(!u.httpProxyAgent){u.httpProxyAgent=new U.HttpProxyAgent(A)}i.agent=u.httpProxyAgent}else{if(!u.httpsProxyAgent){u.httpsProxyAgent=new L.HttpsProxyAgent(A)}i.agent=u.httpsProxyAgent}}function proxyPolicy(i,u){if(!X){K.push(...loadNoProxy())}const A=i?getUrlFromProxySettings(i):getDefaultProxySettingsInternal();const I={};return{name:$,async sendRequest(i,B){if(!i.proxySettings&&A&&!isBypassed(i.url,u?.customNoProxyList??K,u?.customNoProxyList?void 0:he)){setProxyAgentOnRequest(i,I,A)}else if(i.proxySettings){setProxyAgentOnRequest(i,I,getUrlFromProxySettings(i.proxySettings))}return B(i)}}}0&&0},92187:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{redirectPolicy:()=>redirectPolicy,redirectPolicyName:()=>U});i.exports=__toCommonJS(D);var L=A(3644);const U="redirectPolicy";const G=["GET","HEAD"];function redirectPolicy(i={}){const{maxRetries:u=20,allowCrossOriginRedirects:A=false}=i;return{name:U,async sendRequest(i,I){const B=await I(i);return handleRedirect(I,B,u,A)}}}async function handleRedirect(i,u,A,I,B=0){const{request:Q,status:P,headers:D}=u;const U=D.get("location");if(U&&(P===300||P===301&&G.includes(Q.method)||P===302&&G.includes(Q.method)||P===303&&Q.method==="POST"||P===307)&&B{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{retryPolicy:()=>retryPolicy});i.exports=__toCommonJS(D);var L=A(77566);var U=A(9758);var G=A(99992);var z=A(18459);var W=A(31255);const Y=(0,z.createClientLogger)("ts-http-runtime retryPolicy");const J="retryPolicy";function retryPolicy(i,u={maxRetries:W.DEFAULT_RETRY_POLICY_COUNT}){const A=u.logger||Y;return{name:J,async sendRequest(I,B){let Q;let P;let D=-1;e:while(true){D+=1;Q=void 0;P=void 0;try{A.info(`Retry ${D}: Attempting to send request`,I.requestId);Q=await B(I);A.info(`Retry ${D}: Received a response from request`,I.requestId)}catch(i){A.error(`Retry ${D}: Received an error from request`,I.requestId);if(!(0,U.isRestError)(i)){throw i}P=i;Q=i.response}if(I.abortSignal?.aborted){A.error(`Retry ${D}: Request aborted.`);const i=new G.AbortError;throw i}if(D>=(u.maxRetries??W.DEFAULT_RETRY_POLICY_COUNT)){A.info(`Retry ${D}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(P){throw P}else if(Q){return Q}else{throw new Error("Maximum retries reached with no response or error to throw")}}A.info(`Retry ${D}: Processing ${i.length} retry strategies.`);t:for(const u of i){const i=u.logger||A;i.info(`Retry ${D}: Processing retry strategy ${u.name}.`);const B=u.retry({retryCount:D,response:Q,responseError:P});if(B.skipStrategy){i.info(`Retry ${D}: Skipped.`);continue t}const{errorToThrow:U,retryAfterInMs:G,redirectTo:z}=B;if(U){i.error(`Retry ${D}: Retry strategy ${u.name} throws error:`,U);throw U}if(G||G===0){i.info(`Retry ${D}: Retry strategy ${u.name} retries after ${G}`);await(0,L.delay)(G,void 0,{abortSignal:I.abortSignal});continue e}if(z){i.info(`Retry ${D}: Retry strategy ${u.name} redirects to ${z}`);I.url=z;continue e}}if(P){A.info(`None of the retry strategies could work with the received error. Throwing it.`);throw P}if(Q){A.info(`None of the retry strategies could work with the received response. Returning it.`);return Q}}}}}0&&0},92418:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{systemErrorRetryPolicy:()=>systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>z});i.exports=__toCommonJS(D);var L=A(98102);var U=A(43345);var G=A(31255);const z="systemErrorRetryPolicy";function systemErrorRetryPolicy(i={}){return{name:z,sendRequest:(0,U.retryPolicy)([(0,L.exponentialRetryStrategy)({...i,ignoreHttpStatusCodes:true})],{maxRetries:i.maxRetries??G.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}0&&0},24728:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{throttlingRetryPolicy:()=>throttlingRetryPolicy,throttlingRetryPolicyName:()=>z});i.exports=__toCommonJS(D);var L=A(21112);var U=A(43345);var G=A(31255);const z="throttlingRetryPolicy";function throttlingRetryPolicy(i={}){return{name:z,sendRequest:(0,U.retryPolicy)([(0,L.throttlingRetryStrategy)()],{maxRetries:i.maxRetries??G.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}0&&0},96690:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{tlsPolicy:()=>tlsPolicy,tlsPolicyName:()=>P});i.exports=__toCommonJS(Q);const P="tlsPolicy";function tlsPolicy(i){return{name:P,sendRequest:async(u,A)=>{if(!u.tlsSettings){u.tlsSettings=i}return A(u)}}}0&&0},91691:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{userAgentPolicy:()=>userAgentPolicy,userAgentPolicyName:()=>G});i.exports=__toCommonJS(D);var L=A(62731);const U=(0,L.getUserAgentHeaderName)();const G="userAgentPolicy";function userAgentPolicy(i={}){const u=(0,L.getUserAgentValue)(i.userAgentPrefix);return{name:G,async sendRequest(i,A){if(!i.headers.has(U)){i.headers.set(U,await u)}return A(i)}}}0&&0},9758:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{RestError:()=>RestError,isRestError:()=>isRestError});i.exports=__toCommonJS(D);var L=A(52573);var U=A(37639);var G=A(7784);const z=new G.Sanitizer;class RestError extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(i,u={}){super(i);this.name="RestError";this.code=u.code;this.statusCode=u.statusCode;Object.defineProperty(this,"request",{value:u.request,enumerable:false});Object.defineProperty(this,"response",{value:u.response,enumerable:false});const A=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,U.custom,{value:()=>`RestError: ${this.message} \n ${z.sanitize({...this,request:{...this.request,agent:A},response:this.response})}`,enumerable:false});Object.setPrototypeOf(this,RestError.prototype)}}function isRestError(i){if(i instanceof RestError){return true}return(0,L.isError)(i)&&i.name==="RestError"}0&&0},98102:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{exponentialRetryStrategy:()=>exponentialRetryStrategy,isExponentialRetryResponse:()=>isExponentialRetryResponse,isSystemError:()=>isSystemError});i.exports=__toCommonJS(D);var L=A(66776);var U=A(21112);const G=1e3;const z=1e3*64;function exponentialRetryStrategy(i={}){const u=i.retryDelayInMs??G;const A=i.maxRetryDelayInMs??z;return{name:"exponentialRetryStrategy",retry({retryCount:I,response:B,responseError:Q}){const P=isSystemError(Q);const D=P&&i.ignoreSystemErrors;const G=isExponentialRetryResponse(B);const z=G&&i.ignoreHttpStatusCodes;const W=B&&((0,U.isThrottlingRetryResponse)(B)||!G);if(W||z||D){return{skipStrategy:true}}if(Q&&!P&&!G){return{errorToThrow:Q}}return(0,L.calculateRetryDelay)(I,{retryDelayInMs:u,maxRetryDelayInMs:A})}}}function isExponentialRetryResponse(i){return Boolean(i&&i.status!==void 0&&(i.status>=500||i.status===408)&&i.status!==501&&i.status!==505)}function isSystemError(i){if(!i){return false}return i.code==="ETIMEDOUT"||i.code==="ESOCKETTIMEDOUT"||i.code==="ECONNREFUSED"||i.code==="ECONNRESET"||i.code==="ENOENT"||i.code==="ENOTFOUND"}0&&0},21112:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{isThrottlingRetryResponse:()=>isThrottlingRetryResponse,throttlingRetryStrategy:()=>throttlingRetryStrategy});i.exports=__toCommonJS(D);var L=A(77566);const U="Retry-After";const G=["retry-after-ms","x-ms-retry-after-ms",U];function getRetryAfterInMs(i){if(!(i&&[429,503].includes(i.status)))return void 0;try{for(const u of G){const A=(0,L.parseHeaderValueAsNumber)(i,u);if(A===0||A){const i=u===U?1e3:1;return A*i}}const u=i.headers.get(U);if(!u)return;const A=Date.parse(u);const I=A-Date.now();return Number.isFinite(I)?Math.max(0,I):void 0}catch{return void 0}}function isThrottlingRetryResponse(i){return Number.isFinite(getRetryAfterInMs(i))}function throttlingRetryStrategy(){return{name:"throttlingRetryStrategy",retry({response:i}){const u=getRetryAfterInMs(i);if(!Number.isFinite(u)){return{skipStrategy:true}}return{retryAfterInMs:u}}}}0&&0},82921:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{stringToUint8Array:()=>stringToUint8Array,uint8ArrayToString:()=>uint8ArrayToString});i.exports=__toCommonJS(Q);function uint8ArrayToString(i,u){return Buffer.from(i).toString(u)}function stringToUint8Array(i,u){return Buffer.from(i,u)}0&&0},20547:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{concat:()=>concat});i.exports=__toCommonJS(D);var L=A(2203);var U=A(48505);async function*streamAsyncIterator(){const i=this.getReader();try{while(true){const{done:u,value:A}=await i.read();if(u){return}yield A}}finally{i.releaseLock()}}function makeAsyncIterable(i){if(!i[Symbol.asyncIterator]){i[Symbol.asyncIterator]=streamAsyncIterator.bind(i)}if(!i.values){i.values=streamAsyncIterator.bind(i)}}function ensureNodeStream(i){if(i instanceof ReadableStream){makeAsyncIterable(i);return L.Readable.fromWeb(i)}else{return i}}function toStream(i){if(i instanceof Uint8Array){return L.Readable.from(Buffer.from(i))}else if((0,U.isBlob)(i)){return ensureNodeStream(i.stream())}else{return ensureNodeStream(i)}}async function concat(i){return function(){const u=i.map((i=>typeof i==="function"?i():i)).map(toStream);return L.Readable.from(async function*(){for(const i of u){for await(const u of i){yield u}}}())}}0&&0},66776:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{calculateRetryDelay:()=>calculateRetryDelay});i.exports=__toCommonJS(D);var L=A(78640);function calculateRetryDelay(i,u){const A=u.retryDelayInMs*Math.pow(2,i);const I=Math.min(u.maxRetryDelayInMs,A);const B=I/2+(0,L.getRandomIntegerInclusive)(0,I/2);return{retryAfterInMs:B}}0&&0},52573:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{isError:()=>isError});i.exports=__toCommonJS(D);var L=A(53632);function isError(i){if((0,L.isObject)(i)){const u=typeof i.name==="string";const A=typeof i.message==="string";return u&&A}return false}0&&0},77566:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{delay:()=>delay,parseHeaderValueAsNumber:()=>parseHeaderValueAsNumber});i.exports=__toCommonJS(D);var L=A(99992);const U="The operation was aborted.";function delay(i,u,A){return new Promise(((I,B)=>{let Q=void 0;let P=void 0;const rejectOnAbort=()=>B(new L.AbortError(A?.abortErrorMsg?A?.abortErrorMsg:U));const removeListeners=()=>{if(A?.abortSignal&&P){A.abortSignal.removeEventListener("abort",P)}};P=()=>{if(Q){clearTimeout(Q)}removeListeners();return rejectOnAbort()};if(A?.abortSignal&&A.abortSignal.aborted){return rejectOnAbort()}Q=setTimeout((()=>{removeListeners();I(u)}),i);if(A?.abortSignal){A.abortSignal.addEventListener("abort",P)}}))}function parseHeaderValueAsNumber(i,u){const A=i.headers.get(u);if(!A)return;const I=Number(A);if(Number.isNaN(I))return;return I}0&&0},37639:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{custom:()=>U});i.exports=__toCommonJS(D);var L=A(57975);const U=L.inspect.custom;0&&0},95750:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{Sanitizer:()=>K.Sanitizer,calculateRetryDelay:()=>L.calculateRetryDelay,computeSha256Hash:()=>W.computeSha256Hash,computeSha256Hmac:()=>W.computeSha256Hmac,getRandomIntegerInclusive:()=>U.getRandomIntegerInclusive,isBrowser:()=>J.isBrowser,isBun:()=>J.isBun,isDeno:()=>J.isDeno,isError:()=>z.isError,isNodeLike:()=>J.isNodeLike,isNodeRuntime:()=>J.isNodeRuntime,isObject:()=>G.isObject,isReactNative:()=>J.isReactNative,isWebWorker:()=>J.isWebWorker,randomUUID:()=>Y.randomUUID,stringToUint8Array:()=>$.stringToUint8Array,uint8ArrayToString:()=>$.uint8ArrayToString});i.exports=__toCommonJS(D);var L=A(66776);var U=A(78640);var G=A(53632);var z=A(52573);var W=A(2016);var Y=A(5023);var J=A(41573);var $=A(82921);var K=A(7784);0&&0},53632:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{isObject:()=>isObject});i.exports=__toCommonJS(Q);function isObject(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)&&!(i instanceof RegExp)&&!(i instanceof Date)}0&&0},78640:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{getRandomIntegerInclusive:()=>getRandomIntegerInclusive});i.exports=__toCommonJS(Q);function getRandomIntegerInclusive(i,u){i=Math.ceil(i);u=Math.floor(u);const A=Math.floor(Math.random()*(u-i+1));return A+i}0&&0},7784:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{Sanitizer:()=>Sanitizer});i.exports=__toCommonJS(D);var L=A(53632);const U="REDACTED";const G=["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 z=["api-version"];class Sanitizer{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:i=[],additionalAllowedQueryParameters:u=[]}={}){i=G.concat(i);u=z.concat(u);this.allowedHeaderNames=new Set(i.map((i=>i.toLowerCase())));this.allowedQueryParameters=new Set(u.map((i=>i.toLowerCase())))}sanitize(i){const u=new Set;return JSON.stringify(i,((i,A)=>{if(A instanceof Error){return{...A,name:A.name,message:A.message}}if(i==="headers"&&(0,L.isObject)(A)){return this.sanitizeHeaders(A)}else if(i==="url"&&typeof A==="string"){return this.sanitizeUrl(A)}else if(i==="query"&&(0,L.isObject)(A)){return this.sanitizeQuery(A)}else if(i==="body"){return void 0}else if(i==="response"){return void 0}else if(i==="operationSpec"){return void 0}else if(Array.isArray(A)||(0,L.isObject)(A)){if(u.has(A)){return"[Circular]"}u.add(A)}return A}),2)}sanitizeUrl(i){if(typeof i!=="string"||i===null||i===""){return i}const u=new URL(i);if(!u.search){return i}for(const[i]of u.searchParams){if(!this.allowedQueryParameters.has(i.toLowerCase())){u.searchParams.set(i,U)}}return u.toString()}sanitizeHeaders(i){const u={};for(const A of Object.keys(i)){if(this.allowedHeaderNames.has(A.toLowerCase())){u[A]=i[A]}else{u[A]=U}}return u}sanitizeQuery(i){if(typeof i!=="object"||i===null){return i}const u={};for(const A of Object.keys(i)){if(this.allowedQueryParameters.has(A.toLowerCase())){u[A]=i[A]}else{u[A]=U}}return u}}0&&0},2016:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{computeSha256Hash:()=>computeSha256Hash,computeSha256Hmac:()=>computeSha256Hmac});i.exports=__toCommonJS(D);var L=A(77598);async function computeSha256Hmac(i,u,A){const I=Buffer.from(i,"base64");return(0,L.createHmac)("sha256",I).update(u).digest(A)}async function computeSha256Hash(i,u){return(0,L.createHash)("sha256").update(i).digest(u)}0&&0},72250:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{isNodeReadableStream:()=>isNodeReadableStream,isWebReadableStream:()=>isWebReadableStream});i.exports=__toCommonJS(D);var L=A(2203);function isNodeReadableStream(i){return i instanceof L.Readable}function isWebReadableStream(i){return i instanceof ReadableStream}0&&0},48505:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{isBinaryBody:()=>isBinaryBody,isBlob:()=>isBlob,isNodeReadableStream:()=>L.isNodeReadableStream,isReadableStream:()=>isReadableStream,isWebReadableStream:()=>L.isWebReadableStream});i.exports=__toCommonJS(D);var L=A(72250);function isBinaryBody(i){return i!==void 0&&(i instanceof Uint8Array||isReadableStream(i)||typeof i==="function"||i instanceof Blob)}function isReadableStream(i){return(0,L.isNodeReadableStream)(i)||(0,L.isWebReadableStream)(i)}function isBlob(i){return i instanceof Blob}0&&0},62731:(i,u,A)=>{var I=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)I(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,D)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let L of Q(u))if(!P.call(i,L)&&L!==A)I(i,L,{get:()=>u[L],enumerable:!(D=B(u,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(I({},"__esModule",{value:true}),i);var D={};__export(D,{getUserAgentHeaderName:()=>getUserAgentHeaderName,getUserAgentValue:()=>getUserAgentValue,setPlatformSpecificData:()=>L.setPlatformSpecificData});i.exports=__toCommonJS(D);var L=A(83196);var U=A(31255);function getUserAgentString(i){const u=[];for(const[A,I]of i){const i=I?`${A}/${I}`:A;u.push(i)}return u.join(" ")}function getUserAgentHeaderName(){return(0,L.getHeaderName)()}async function getUserAgentValue(i){const u=new Map;u.set("ts-http-runtime",U.SDK_VERSION);await(0,L.setPlatformSpecificData)(u);const A=getUserAgentString(u);const I=i?`${i} ${A}`:A;return I}0&&0},83196:(i,u,A)=>{var I=Object.create;var B=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var D=Object.getPrototypeOf;var L=Object.prototype.hasOwnProperty;var __export=(i,u)=>{for(var A in u)B(i,A,{get:u[A],enumerable:true})};var __copyProps=(i,u,A,I)=>{if(u&&typeof u==="object"||typeof u==="function"){for(let D of P(u))if(!L.call(i,D)&&D!==A)B(i,D,{get:()=>u[D],enumerable:!(I=Q(u,D))||I.enumerable})}return i};var __toESM=(i,u,A)=>(A=i!=null?I(D(i)):{},__copyProps(u||!i||!i.__esModule?B(A,"default",{value:i,enumerable:true}):A,i));var __toCommonJS=i=>__copyProps(B({},"__esModule",{value:true}),i);var U={};__export(U,{getHeaderName:()=>getHeaderName,setPlatformSpecificData:()=>setPlatformSpecificData});i.exports=__toCommonJS(U);var G=__toESM(A(48161));var z=__toESM(A(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(i){if(z.default&&z.default.versions){const u=`${G.default.type()} ${G.default.release()}; ${G.default.arch()}`;if(z.default.versions.bun){i.set("Bun",`${z.default.versions.bun} (${u})`)}else if(z.default.versions.deno){i.set("Deno",`${z.default.versions.deno} (${u})`)}else if(z.default.versions.node){i.set("Node",`${z.default.versions.node} (${u})`)}}}0&&0},5023:i=>{var u=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var __export=(i,A)=>{for(var I in A)u(i,I,{get:A[I],enumerable:true})};var __copyProps=(i,Q,P,D)=>{if(Q&&typeof Q==="object"||typeof Q==="function"){for(let L of I(Q))if(!B.call(i,L)&&L!==P)u(i,L,{get:()=>Q[L],enumerable:!(D=A(Q,L))||D.enumerable})}return i};var __toCommonJS=i=>__copyProps(u({},"__esModule",{value:true}),i);var Q={};__export(Q,{randomUUID:()=>randomUUID});i.exports=__toCommonJS(Q);function randomUUID(){return crypto.randomUUID()}0&&0},68669:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Glob=void 0;const I=A(62883);const B=A(73136);const Q=A(38958);const P=A(2029);const D=A(83581);const L=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Glob{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(i,u){if(!u)throw new TypeError("glob options required");this.withFileTypes=!!u.withFileTypes;this.signal=u.signal;this.follow=!!u.follow;this.dot=!!u.dot;this.dotRelative=!!u.dotRelative;this.nodir=!!u.nodir;this.mark=!!u.mark;if(!u.cwd){this.cwd=""}else if(u.cwd instanceof URL||u.cwd.startsWith("file://")){u.cwd=(0,B.fileURLToPath)(u.cwd)}this.cwd=u.cwd||"";this.root=u.root;this.magicalBraces=!!u.magicalBraces;this.nobrace=!!u.nobrace;this.noext=!!u.noext;this.realpath=!!u.realpath;this.absolute=u.absolute;this.includeChildMatches=u.includeChildMatches!==false;this.noglobstar=!!u.noglobstar;this.matchBase=!!u.matchBase;this.maxDepth=typeof u.maxDepth==="number"?u.maxDepth:Infinity;this.stat=!!u.stat;this.ignore=u.ignore;if(this.withFileTypes&&this.absolute!==undefined){throw new Error("cannot set absolute and withFileTypes:true")}if(typeof i==="string"){i=[i]}this.windowsPathsNoEscape=!!u.windowsPathsNoEscape||u.allowWindowsEscape===false;if(this.windowsPathsNoEscape){i=i.map((i=>i.replace(/\\/g,"/")))}if(this.matchBase){if(u.noglobstar){throw new TypeError("base matching requires globstar")}i=i.map((i=>i.includes("/")?i:`./**/${i}`))}this.pattern=i;this.platform=u.platform||L;this.opts={...u,platform:this.platform};if(u.scurry){this.scurry=u.scurry;if(u.nocase!==undefined&&u.nocase!==u.scurry.nocase){throw new Error("nocase option contradicts provided scurry option")}}else{const i=u.platform==="win32"?Q.PathScurryWin32:u.platform==="darwin"?Q.PathScurryDarwin:u.platform?Q.PathScurryPosix:Q.PathScurry;this.scurry=new i(this.cwd,{nocase:u.nocase,fs:u.fs})}this.nocase=this.scurry.nocase;const A=this.platform==="darwin"||this.platform==="win32";const D={...u,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:A,nocomment:true,noext:this.noext,nonegate:true,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug};const U=this.pattern.map((i=>new I.Minimatch(i,D)));const[G,z]=U.reduce(((i,u)=>{i[0].push(...u.set);i[1].push(...u.globParts);return i}),[[],[]]);this.patterns=G.map(((i,u)=>{const A=z[u];if(!A)throw new Error("invalid pattern object");return new P.Pattern(i,A,0,this.platform)}))}async walk(){return[...await new D.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new D.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new D.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new D.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}u.Glob=Glob},53413:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.hasMagic=void 0;const I=A(62883);const hasMagic=(i,u={})=>{if(!Array.isArray(i)){i=[i]}for(const A of i){if(new I.Minimatch(A,u).hasMagic())return true}return false};u.hasMagic=hasMagic},74941:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Ignore=void 0;const I=A(62883);const B=A(2029);const Q=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Ignore{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(i,{nobrace:u,nocase:A,noext:I,noglobstar:B,platform:P=Q}){this.relative=[];this.absolute=[];this.relativeChildren=[];this.absoluteChildren=[];this.platform=P;this.mmopts={dot:true,nobrace:u,nocase:A,noext:I,noglobstar:B,optimizationLevel:2,platform:P,nocomment:true,nonegate:true};for(const u of i)this.add(u)}add(i){const u=new I.Minimatch(i,this.mmopts);for(let i=0;i{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.glob=u.sync=u.iterate=u.iterateSync=u.stream=u.streamSync=u.Ignore=u.hasMagic=u.Glob=u.unescape=u.escape=void 0;u.globStreamSync=globStreamSync;u.globStream=globStream;u.globSync=globSync;u.globIterateSync=globIterateSync;u.globIterate=globIterate;const I=A(62883);const B=A(68669);const Q=A(53413);var P=A(62883);Object.defineProperty(u,"escape",{enumerable:true,get:function(){return P.escape}});Object.defineProperty(u,"unescape",{enumerable:true,get:function(){return P.unescape}});var D=A(68669);Object.defineProperty(u,"Glob",{enumerable:true,get:function(){return D.Glob}});var L=A(53413);Object.defineProperty(u,"hasMagic",{enumerable:true,get:function(){return L.hasMagic}});var U=A(74941);Object.defineProperty(u,"Ignore",{enumerable:true,get:function(){return U.Ignore}});function globStreamSync(i,u={}){return new B.Glob(i,u).streamSync()}function globStream(i,u={}){return new B.Glob(i,u).stream()}function globSync(i,u={}){return new B.Glob(i,u).walkSync()}async function glob_(i,u={}){return new B.Glob(i,u).walk()}function globIterateSync(i,u={}){return new B.Glob(i,u).iterateSync()}function globIterate(i,u={}){return new B.Glob(i,u).iterate()}u.streamSync=globStreamSync;u.stream=Object.assign(globStream,{sync:globStreamSync});u.iterateSync=globIterateSync;u.iterate=Object.assign(globIterate,{sync:globIterateSync});u.sync=Object.assign(globSync,{stream:globStreamSync,iterate:globIterateSync});u.glob=Object.assign(glob_,{glob:glob_,globSync:globSync,sync:u.sync,globStream:globStream,stream:u.stream,globStreamSync:globStreamSync,streamSync:u.streamSync,globIterate:globIterate,iterate:u.iterate,globIterateSync:globIterateSync,iterateSync:u.iterateSync,Glob:B.Glob,hasMagic:Q.hasMagic,escape:I.escape,unescape:I.unescape});u.glob.glob=u.glob},2029:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Pattern=void 0;const I=A(62883);const isPatternList=i=>i.length>=1;const isGlobList=i=>i.length>=1;class Pattern{#Me;#Le;#oe;length;#Fe;#Ue;#je;#He;#Ge;#qe;#ze=true;constructor(i,u,A,I){if(!isPatternList(i)){throw new TypeError("empty pattern list")}if(!isGlobList(u)){throw new TypeError("empty glob list")}if(u.length!==i.length){throw new TypeError("mismatched pattern list and glob list lengths")}this.length=i.length;if(A<0||A>=this.length){throw new TypeError("index out of range")}this.#Me=i;this.#Le=u;this.#oe=A;this.#Fe=I;if(this.#oe===0){if(this.isUNC()){const[i,u,A,I,...B]=this.#Me;const[Q,P,D,L,...U]=this.#Le;if(B[0]===""){B.shift();U.shift()}const G=[i,u,A,I,""].join("/");const z=[Q,P,D,L,""].join("/");this.#Me=[G,...B];this.#Le=[z,...U];this.length=this.#Me.length}else if(this.isDrive()||this.isAbsolute()){const[i,...u]=this.#Me;const[A,...I]=this.#Le;if(u[0]===""){u.shift();I.shift()}const B=i+"/";const Q=A+"/";this.#Me=[B,...u];this.#Le=[Q,...I];this.length=this.#Me.length}}}pattern(){return this.#Me[this.#oe]}isString(){return typeof this.#Me[this.#oe]==="string"}isGlobstar(){return this.#Me[this.#oe]===I.GLOBSTAR}isRegExp(){return this.#Me[this.#oe]instanceof RegExp}globString(){return this.#je=this.#je||(this.#oe===0?this.isAbsolute()?this.#Le[0]+this.#Le.slice(1).join("/"):this.#Le.join("/"):this.#Le.slice(this.#oe).join("/"))}hasMore(){return this.length>this.#oe+1}rest(){if(this.#Ue!==undefined)return this.#Ue;if(!this.hasMore())return this.#Ue=null;this.#Ue=new Pattern(this.#Me,this.#Le,this.#oe+1,this.#Fe);this.#Ue.#qe=this.#qe;this.#Ue.#Ge=this.#Ge;this.#Ue.#He=this.#He;return this.#Ue}isUNC(){const i=this.#Me;return this.#Ge!==undefined?this.#Ge:this.#Ge=this.#Fe==="win32"&&this.#oe===0&&i[0]===""&&i[1]===""&&typeof i[2]==="string"&&!!i[2]&&typeof i[3]==="string"&&!!i[3]}isDrive(){const i=this.#Me;return this.#He!==undefined?this.#He:this.#He=this.#Fe==="win32"&&this.#oe===0&&this.length>1&&typeof i[0]==="string"&&/^[a-z]:$/i.test(i[0])}isAbsolute(){const i=this.#Me;return this.#qe!==undefined?this.#qe:this.#qe=i[0]===""&&i.length>1||this.isDrive()||this.isUNC()}root(){const i=this.#Me[0];return typeof i==="string"&&this.isAbsolute()&&this.#oe===0?i:""}checkFollowGlobstar(){return!(this.#oe===0||!this.isGlobstar()||!this.#ze)}markFollowGlobstar(){if(this.#oe===0||!this.isGlobstar()||!this.#ze)return false;this.#ze=false;return true}}u.Pattern=Pattern},74827:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.Processor=u.SubWalks=u.MatchRecord=u.HasWalkedCache=void 0;const I=A(62883);class HasWalkedCache{store;constructor(i=new Map){this.store=i}copy(){return new HasWalkedCache(new Map(this.store))}hasWalked(i,u){return this.store.get(i.fullpath())?.has(u.globString())}storeWalked(i,u){const A=i.fullpath();const I=this.store.get(A);if(I)I.add(u.globString());else this.store.set(A,new Set([u.globString()]))}}u.HasWalkedCache=HasWalkedCache;class MatchRecord{store=new Map;add(i,u,A){const I=(u?2:0)|(A?1:0);const B=this.store.get(i);this.store.set(i,B===undefined?I:I&B)}entries(){return[...this.store.entries()].map((([i,u])=>[i,!!(u&2),!!(u&1)]))}}u.MatchRecord=MatchRecord;class SubWalks{store=new Map;add(i,u){if(!i.canReaddir()){return}const A=this.store.get(i);if(A){if(!A.find((i=>i.globString()===u.globString()))){A.push(u)}}else this.store.set(i,[u])}get(i){const u=this.store.get(i);if(!u){throw new Error("attempting to walk unknown path")}return u}entries(){return this.keys().map((i=>[i,this.store.get(i)]))}keys(){return[...this.store.keys()].filter((i=>i.canReaddir()))}}u.SubWalks=SubWalks;class Processor{hasWalkedCache;matches=new MatchRecord;subwalks=new SubWalks;patterns;follow;dot;opts;constructor(i,u){this.opts=i;this.follow=!!i.follow;this.dot=!!i.dot;this.hasWalkedCache=u?u.copy():new HasWalkedCache}processPatterns(i,u){this.patterns=u;const A=u.map((u=>[i,u]));for(let[i,u]of A){this.hasWalkedCache.storeWalked(i,u);const A=u.root();const B=u.isAbsolute()&&this.opts.absolute!==false;if(A){i=i.resolve(A==="/"&&this.opts.root!==undefined?this.opts.root:A);const I=u.rest();if(!I){this.matches.add(i,true,false);continue}else{u=I}}if(i.isENOENT())continue;let Q;let P;let D=false;while(typeof(Q=u.pattern())==="string"&&(P=u.rest())){const A=i.resolve(Q);i=A;u=P;D=true}Q=u.pattern();P=u.rest();if(D){if(this.hasWalkedCache.hasWalked(i,u))continue;this.hasWalkedCache.storeWalked(i,u)}if(typeof Q==="string"){const u=Q===".."||Q===""||Q===".";this.matches.add(i.resolve(Q),B,u);continue}else if(Q===I.GLOBSTAR){if(!i.isSymbolicLink()||this.follow||u.checkFollowGlobstar()){this.subwalks.add(i,u)}const A=P?.pattern();const I=P?.rest();if(!P||(A===""||A===".")&&!I){this.matches.add(i,B,A===""||A===".")}else{if(A===".."){const u=i.parent||i;if(!I)this.matches.add(u,B,true);else if(!this.hasWalkedCache.hasWalked(u,I)){this.subwalks.add(u,I)}}}}else if(Q instanceof RegExp){this.subwalks.add(i,u)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new Processor(this.opts,this.hasWalkedCache)}filterEntries(i,u){const A=this.subwalks.get(i);const B=this.child();for(const i of u){for(const u of A){const A=u.isAbsolute();const Q=u.pattern();const P=u.rest();if(Q===I.GLOBSTAR){B.testGlobstar(i,u,P,A)}else if(Q instanceof RegExp){B.testRegExp(i,Q,P,A)}else{B.testString(i,Q,P,A)}}}return B}testGlobstar(i,u,A,I){if(this.dot||!i.name.startsWith(".")){if(!u.hasMore()){this.matches.add(i,I,false)}if(i.canReaddir()){if(this.follow||!i.isSymbolicLink()){this.subwalks.add(i,u)}else if(i.isSymbolicLink()){if(A&&u.checkFollowGlobstar()){this.subwalks.add(i,A)}else if(u.markFollowGlobstar()){this.subwalks.add(i,u)}}}}if(A){const u=A.pattern();if(typeof u==="string"&&u!==".."&&u!==""&&u!=="."){this.testString(i,u,A.rest(),I)}else if(u===".."){const u=i.parent||i;this.subwalks.add(u,A)}else if(u instanceof RegExp){this.testRegExp(i,u,A.rest(),I)}}}testRegExp(i,u,A,I){if(!u.test(i.name))return;if(!A){this.matches.add(i,I,false)}else{this.subwalks.add(i,A)}}testString(i,u,A,I){if(!i.isNamed(u))return;if(!A){this.matches.add(i,I,false)}else{this.subwalks.add(i,A)}}}u.Processor=Processor},83581:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.GlobStream=u.GlobWalker=u.GlobUtil=void 0;const I=A(78275);const B=A(74941);const Q=A(74827);const makeIgnore=(i,u)=>typeof i==="string"?new B.Ignore([i],u):Array.isArray(i)?new B.Ignore(i,u):i;class GlobUtil{path;patterns;opts;seen=new Set;paused=false;aborted=false;#Ve=[];#We;#Ye;signal;maxDepth;includeChildMatches;constructor(i,u,A){this.patterns=i;this.path=u;this.opts=A;this.#Ye=!A.posix&&A.platform==="win32"?"\\":"/";this.includeChildMatches=A.includeChildMatches!==false;if(A.ignore||!this.includeChildMatches){this.#We=makeIgnore(A.ignore??[],A);if(!this.includeChildMatches&&typeof this.#We.add!=="function"){const i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}}this.maxDepth=A.maxDepth||Infinity;if(A.signal){this.signal=A.signal;this.signal.addEventListener("abort",(()=>{this.#Ve.length=0}))}}#Je(i){return this.seen.has(i)||!!this.#We?.ignored?.(i)}#$e(i){return!!this.#We?.childrenIgnored?.(i)}pause(){this.paused=true}resume(){if(this.signal?.aborted)return;this.paused=false;let i=undefined;while(!this.paused&&(i=this.#Ve.shift())){i()}}onResume(i){if(this.signal?.aborted)return;if(!this.paused){i()}else{this.#Ve.push(i)}}async matchCheck(i,u){if(u&&this.opts.nodir)return undefined;let A;if(this.opts.realpath){A=i.realpathCached()||await i.realpath();if(!A)return undefined;i=A}const I=i.isUnknown()||this.opts.stat;const B=I?await i.lstat():i;if(this.opts.follow&&this.opts.nodir&&B?.isSymbolicLink()){const i=await B.realpath();if(i&&(i.isUnknown()||this.opts.stat)){await i.lstat()}}return this.matchCheckTest(B,u)}matchCheckTest(i,u){return i&&(this.maxDepth===Infinity||i.depth()<=this.maxDepth)&&(!u||i.canReaddir())&&(!this.opts.nodir||!i.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!i.isSymbolicLink()||!i.realpathCached()?.isDirectory())&&!this.#Je(i)?i:undefined}matchCheckSync(i,u){if(u&&this.opts.nodir)return undefined;let A;if(this.opts.realpath){A=i.realpathCached()||i.realpathSync();if(!A)return undefined;i=A}const I=i.isUnknown()||this.opts.stat;const B=I?i.lstatSync():i;if(this.opts.follow&&this.opts.nodir&&B?.isSymbolicLink()){const i=B.realpathSync();if(i&&(i?.isUnknown()||this.opts.stat)){i.lstatSync()}}return this.matchCheckTest(B,u)}matchFinish(i,u){if(this.#Je(i))return;if(!this.includeChildMatches&&this.#We?.add){const u=`${i.relativePosix()}/**`;this.#We.add(u)}const A=this.opts.absolute===undefined?u:this.opts.absolute;this.seen.add(i);const I=this.opts.mark&&i.isDirectory()?this.#Ye:"";if(this.opts.withFileTypes){this.matchEmit(i)}else if(A){const u=this.opts.posix?i.fullpathPosix():i.fullpath();this.matchEmit(u+I)}else{const u=this.opts.posix?i.relativePosix():i.relative();const A=this.opts.dotRelative&&!u.startsWith(".."+this.#Ye)?"."+this.#Ye:"";this.matchEmit(!u?"."+I:A+u+I)}}async match(i,u,A){const I=await this.matchCheck(i,A);if(I)this.matchFinish(I,u)}matchSync(i,u,A){const I=this.matchCheckSync(i,A);if(I)this.matchFinish(I,u)}walkCB(i,u,A){if(this.signal?.aborted)A();this.walkCB2(i,u,new Q.Processor(this.opts),A)}walkCB2(i,u,A,I){if(this.#$e(i))return I();if(this.signal?.aborted)I();if(this.paused){this.onResume((()=>this.walkCB2(i,u,A,I)));return}A.processPatterns(i,u);let B=1;const next=()=>{if(--B===0)I()};for(const[i,u,I]of A.matches.entries()){if(this.#Je(i))continue;B++;this.match(i,u,I).then((()=>next()))}for(const i of A.subwalkTargets()){if(this.maxDepth!==Infinity&&i.depth()>=this.maxDepth){continue}B++;const u=i.readdirCached();if(i.calledReaddir())this.walkCB3(i,u,A,next);else{i.readdirCB(((u,I)=>this.walkCB3(i,I,A,next)),true)}}next()}walkCB3(i,u,A,I){A=A.filterEntries(i,u);let B=1;const next=()=>{if(--B===0)I()};for(const[i,u,I]of A.matches.entries()){if(this.#Je(i))continue;B++;this.match(i,u,I).then((()=>next()))}for(const[i,u]of A.subwalks.entries()){B++;this.walkCB2(i,u,A.child(),next)}next()}walkCBSync(i,u,A){if(this.signal?.aborted)A();this.walkCB2Sync(i,u,new Q.Processor(this.opts),A)}walkCB2Sync(i,u,A,I){if(this.#$e(i))return I();if(this.signal?.aborted)I();if(this.paused){this.onResume((()=>this.walkCB2Sync(i,u,A,I)));return}A.processPatterns(i,u);let B=1;const next=()=>{if(--B===0)I()};for(const[i,u,I]of A.matches.entries()){if(this.#Je(i))continue;this.matchSync(i,u,I)}for(const i of A.subwalkTargets()){if(this.maxDepth!==Infinity&&i.depth()>=this.maxDepth){continue}B++;const u=i.readdirSync();this.walkCB3Sync(i,u,A,next)}next()}walkCB3Sync(i,u,A,I){A=A.filterEntries(i,u);let B=1;const next=()=>{if(--B===0)I()};for(const[i,u,I]of A.matches.entries()){if(this.#Je(i))continue;this.matchSync(i,u,I)}for(const[i,u]of A.subwalks.entries()){B++;this.walkCB2Sync(i,u,A.child(),next)}next()}}u.GlobUtil=GlobUtil;class GlobWalker extends GlobUtil{matches=new Set;constructor(i,u,A){super(i,u,A)}matchEmit(i){this.matches.add(i)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){await this.path.lstat()}await new Promise(((i,u)=>{this.walkCB(this.path,this.patterns,(()=>{if(this.signal?.aborted){u(this.signal.reason)}else{i(this.matches)}}))}));return this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason}));return this.matches}}u.GlobWalker=GlobWalker;class GlobStream extends GlobUtil{results;constructor(i,u,A){super(i,u,A);this.results=new I.Minipass({signal:this.signal,objectMode:true});this.results.on("drain",(()=>this.resume()));this.results.on("resume",(()=>this.resume()))}matchEmit(i){this.results.write(i);if(!this.results.flowing)this.pause()}stream(){const i=this.path;if(i.isUnknown()){i.lstat().then((()=>{this.walkCB(i,this.patterns,(()=>this.results.end()))}))}else{this.walkCB(i,this.patterns,(()=>this.results.end()))}return this.results}streamSync(){if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>this.results.end()));return this.results}}u.GlobStream=GlobStream},86177:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.assertValidPattern=void 0;const A=1024*64;const assertValidPattern=i=>{if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>A){throw new TypeError("pattern is too long")}};u.assertValidPattern=assertValidPattern},2275:(i,u,A)=>{"use strict";var I;Object.defineProperty(u,"__esModule",{value:true});u.AST=void 0;const B=A(90570);const Q=A(28075);const P=new Set(["!","?","+","*","@"]);const isExtglobType=i=>P.has(i);const isExtglobAST=i=>isExtglobType(i.type);const D=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]);const L=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]);const U=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]);const G=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]);const z="(?!(?:^|/)\\.\\.?(?:$|/))";const W="(?!\\.)";const Y=new Set(["[","."]);const J=new Set(["..","."]);const $=new Set("().*{}+?[]^$\\!");const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const K="[^/]";const X=K+"*?";const he=K+"+?";class AST{type;#Ke;#Xe;#Ze=false;#et=[];#tt;#rt;#nt;#it=false;#e;#st;#ot=false;constructor(i,u,A={}){this.type=i;if(i)this.#Xe=true;this.#tt=u;this.#Ke=this.#tt?this.#tt.#Ke:this;this.#e=this.#Ke===this?A:this.#Ke.#e;this.#nt=this.#Ke===this?[]:this.#Ke.#nt;if(i==="!"&&!this.#Ke.#it)this.#nt.push(this);this.#rt=this.#tt?this.#tt.#et.length:0}get hasMagic(){if(this.#Xe!==undefined)return this.#Xe;for(const i of this.#et){if(typeof i==="string")continue;if(i.type||i.hasMagic)return this.#Xe=true}return this.#Xe}toString(){if(this.#st!==undefined)return this.#st;if(!this.type){return this.#st=this.#et.map((i=>String(i))).join("")}else{return this.#st=this.type+"("+this.#et.map((i=>String(i))).join("|")+")"}}#at(){if(this!==this.#Ke)throw new Error("should only call on root");if(this.#it)return this;this.toString();this.#it=true;let i;while(i=this.#nt.pop()){if(i.type!=="!")continue;let u=i;let A=u.#tt;while(A){for(let I=u.#rt+1;!A.type&&Itypeof i==="string"?i:i.toJSON())):[this.type,...this.#et.map((i=>i.toJSON()))];if(this.isStart()&&!this.type)i.unshift([]);if(this.isEnd()&&(this===this.#Ke||this.#Ke.#it&&this.#tt?.type==="!")){i.push({})}return i}isStart(){if(this.#Ke===this)return true;if(!this.#tt?.isStart())return false;if(this.#rt===0)return true;const i=this.#tt;for(let u=0;u{const[B,Q,P,D]=typeof u==="string"?I.#yt(u,this.#Xe,A):u.toRegExpSource(i);this.#Xe=this.#Xe||P;this.#Ze=this.#Ze||D;return B})).join("");let P="";if(this.isStart()){if(typeof this.#et[0]==="string"){const A=this.#et.length===1&&J.has(this.#et[0]);if(!A){const A=Y;const I=u&&A.has(B.charAt(0))||B.startsWith("\\.")&&A.has(B.charAt(2))||B.startsWith("\\.\\.")&&A.has(B.charAt(4));const Q=!u&&!i&&A.has(B.charAt(0));P=I?z:Q?W:""}}}let D="";if(this.isEnd()&&this.#Ke.#it&&this.#tt?.type==="!"){D="(?:$|\\/)"}const L=P+B+D;return[L,(0,Q.unescape)(B),this.#Xe=!!this.#Xe,this.#Ze]}const A=this.type==="*"||this.type==="+";const B=this.type==="!"?"(?:(?!(?:":"(?:";let P=this.#bt(u);if(this.isStart()&&this.isEnd()&&!P&&this.type!=="!"){const i=this.toString();const u=this;u.#et=[i];u.type=null;u.#Xe=undefined;return[i,(0,Q.unescape)(this.toString()),false,false]}let D=!A||i||u||!W?"":this.#bt(true);if(D===P){D=""}if(D){P=`(?:${P})(?:${D})*?`}let L="";if(this.type==="!"&&this.#ot){L=(this.isStart()&&!u?W:"")+he}else{const A=this.type==="!"?"))"+(this.isStart()&&!u&&!i?W:"")+X+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&D?")":this.type==="*"&&D?`)?`:`)${this.type}`;L=B+P+A}return[L,(0,Q.unescape)(P),this.#Xe=!!this.#Xe,this.#Ze]}#bt(i){return this.#et.map((u=>{if(typeof u==="string"){throw new Error("string type in extglob ast??")}const[A,I,B,Q]=u.toRegExpSource(i);this.#Ze=this.#Ze||Q;return A})).filter((i=>!(this.isStart()&&this.isEnd())||!!i)).join("|")}static#yt(i,u,A=false){let I=false;let P="";let D=false;let L=false;for(let Q=0;Q{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.parseClass=void 0;const A={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",true],"[:alpha:]":["\\p{L}\\p{Nl}",true],"[:ascii:]":["\\x"+"00-\\x"+"7f",false],"[:blank:]":["\\p{Zs}\\t",true],"[:cntrl:]":["\\p{Cc}",true],"[:digit:]":["\\p{Nd}",true],"[:graph:]":["\\p{Z}\\p{C}",true,true],"[:lower:]":["\\p{Ll}",true],"[:print:]":["\\p{C}",true],"[:punct:]":["\\p{P}",true],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",true],"[:upper:]":["\\p{Lu}",true],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",true],"[:xdigit:]":["A-Fa-f0-9",false]};const braceEscape=i=>i.replace(/[[\]\\-]/g,"\\$&");const regexpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const rangesToString=i=>i.join("");const parseClass=(i,u)=>{const I=u;if(i.charAt(I)!=="["){throw new Error("not in a brace expression")}const B=[];const Q=[];let P=I+1;let D=false;let L=false;let U=false;let G=false;let z=I;let W="";e:while(PW){B.push(braceEscape(W)+"-"+braceEscape(u))}else if(u===W){B.push(braceEscape(u))}W="";P++;continue}if(i.startsWith("-]",P+1)){B.push(braceEscape(u+"-"));P+=2;continue}if(i.startsWith("-",P+1)){W=u;P+=2;continue}B.push(braceEscape(u));P++}if(z{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.escape=void 0;const escape=(i,{windowsPathsNoEscape:u=false}={})=>u?i.replace(/[?*()[\]]/g,"[$&]"):i.replace(/[?*()[\]\\]/g,"\\$&");u.escape=escape},62883:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.unescape=u.escape=u.AST=u.Minimatch=u.match=u.makeRe=u.braceExpand=u.defaults=u.filter=u.GLOBSTAR=u.sep=u.minimatch=void 0;const B=I(A(94691));const Q=A(86177);const P=A(2275);const D=A(42600);const L=A(28075);const minimatch=(i,u,A={})=>{(0,Q.assertValidPattern)(u);if(!A.nocomment&&u.charAt(0)==="#"){return false}return new Minimatch(u,A).match(i)};u.minimatch=minimatch;const U=/^\*+([^+@!?\*\[\(]*)$/;const starDotExtTest=i=>u=>!u.startsWith(".")&&u.endsWith(i);const starDotExtTestDot=i=>u=>u.endsWith(i);const starDotExtTestNocase=i=>{i=i.toLowerCase();return u=>!u.startsWith(".")&&u.toLowerCase().endsWith(i)};const starDotExtTestNocaseDot=i=>{i=i.toLowerCase();return u=>u.toLowerCase().endsWith(i)};const G=/^\*+\.\*+$/;const starDotStarTest=i=>!i.startsWith(".")&&i.includes(".");const starDotStarTestDot=i=>i!=="."&&i!==".."&&i.includes(".");const z=/^\.\*+$/;const dotStarTest=i=>i!=="."&&i!==".."&&i.startsWith(".");const W=/^\*+$/;const starTest=i=>i.length!==0&&!i.startsWith(".");const starTestDot=i=>i.length!==0&&i!=="."&&i!=="..";const Y=/^\?+([^+@!?\*\[\(]*)?$/;const qmarksTestNocase=([i,u=""])=>{const A=qmarksTestNoExt([i]);if(!u)return A;u=u.toLowerCase();return i=>A(i)&&i.toLowerCase().endsWith(u)};const qmarksTestNocaseDot=([i,u=""])=>{const A=qmarksTestNoExtDot([i]);if(!u)return A;u=u.toLowerCase();return i=>A(i)&&i.toLowerCase().endsWith(u)};const qmarksTestDot=([i,u=""])=>{const A=qmarksTestNoExtDot([i]);return!u?A:i=>A(i)&&i.endsWith(u)};const qmarksTest=([i,u=""])=>{const A=qmarksTestNoExt([i]);return!u?A:i=>A(i)&&i.endsWith(u)};const qmarksTestNoExt=([i])=>{const u=i.length;return i=>i.length===u&&!i.startsWith(".")};const qmarksTestNoExtDot=([i])=>{const u=i.length;return i=>i.length===u&&i!=="."&&i!==".."};const J=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";const $={win32:{sep:"\\"},posix:{sep:"/"}};u.sep=J==="win32"?$.win32.sep:$.posix.sep;u.minimatch.sep=u.sep;u.GLOBSTAR=Symbol("globstar **");u.minimatch.GLOBSTAR=u.GLOBSTAR;const K="[^/]";const X=K+"*?";const he="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const Ae="(?:(?!(?:\\/|^)\\.).)*?";const filter=(i,A={})=>I=>(0,u.minimatch)(I,i,A);u.filter=filter;u.minimatch.filter=u.filter;const ext=(i,u={})=>Object.assign({},i,u);const defaults=i=>{if(!i||typeof i!=="object"||!Object.keys(i).length){return u.minimatch}const A=u.minimatch;const m=(u,I,B={})=>A(u,I,ext(i,B));return Object.assign(m,{Minimatch:class Minimatch extends A.Minimatch{constructor(u,A={}){super(u,ext(i,A))}static defaults(u){return A.defaults(ext(i,u)).Minimatch}},AST:class AST extends A.AST{constructor(u,A,I={}){super(u,A,ext(i,I))}static fromGlob(u,I={}){return A.AST.fromGlob(u,ext(i,I))}},unescape:(u,I={})=>A.unescape(u,ext(i,I)),escape:(u,I={})=>A.escape(u,ext(i,I)),filter:(u,I={})=>A.filter(u,ext(i,I)),defaults:u=>A.defaults(ext(i,u)),makeRe:(u,I={})=>A.makeRe(u,ext(i,I)),braceExpand:(u,I={})=>A.braceExpand(u,ext(i,I)),match:(u,I,B={})=>A.match(u,I,ext(i,B)),sep:A.sep,GLOBSTAR:u.GLOBSTAR})};u.defaults=defaults;u.minimatch.defaults=u.defaults;const braceExpand=(i,u={})=>{(0,Q.assertValidPattern)(i);if(u.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return(0,B.default)(i)};u.braceExpand=braceExpand;u.minimatch.braceExpand=u.braceExpand;const makeRe=(i,u={})=>new Minimatch(i,u).makeRe();u.makeRe=makeRe;u.minimatch.makeRe=u.makeRe;const match=(i,u,A={})=>{const I=new Minimatch(u,A);i=i.filter((i=>I.match(i)));if(I.options.nonull&&!i.length){i.push(u)}return i};u.match=match;u.minimatch.match=u.match;const ye=/[?*]|[+@!]\(.*?\)|\[|\]/;const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Minimatch{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(i,u={}){(0,Q.assertValidPattern)(i);u=u||{};this.options=u;this.maxGlobstarRecursion=u.maxGlobstarRecursion??200;this.pattern=i;this.platform=u.platform||J;this.isWindows=this.platform==="win32";this.windowsPathsNoEscape=!!u.windowsPathsNoEscape||u.allowWindowsEscape===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.preserveMultipleSlashes=!!u.preserveMultipleSlashes;this.regexp=null;this.negate=false;this.nonegate=!!u.nonegate;this.comment=false;this.empty=false;this.partial=!!u.partial;this.nocase=!!this.options.nocase;this.windowsNoMagicRoot=u.windowsNoMagicRoot!==undefined?u.windowsNoMagicRoot:!!(this.isWindows&&this.nocase);this.globSet=[];this.globParts=[];this.set=[];this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1){return true}for(const i of this.set){for(const u of i){if(typeof u!=="string")return true}}return false}debug(...i){}make(){const i=this.pattern;const u=this.options;if(!u.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();this.globSet=[...new Set(this.braceExpand())];if(u.debug){this.debug=(...i)=>console.error(...i)}this.debug(this.pattern,this.globSet);const A=this.globSet.map((i=>this.slashSplit(i)));this.globParts=this.preprocess(A);this.debug(this.pattern,this.globParts);let I=this.globParts.map(((i,u,A)=>{if(this.isWindows&&this.windowsNoMagicRoot){const u=i[0]===""&&i[1]===""&&(i[2]==="?"||!ye.test(i[2]))&&!ye.test(i[3]);const A=/^[a-z]:/i.test(i[0]);if(u){return[...i.slice(0,4),...i.slice(4).map((i=>this.parse(i)))]}else if(A){return[i[0],...i.slice(1).map((i=>this.parse(i)))]}}return i.map((i=>this.parse(i)))}));this.debug(this.pattern,I);this.set=I.filter((i=>i.indexOf(false)===-1));if(this.isWindows){for(let i=0;i=2){i=this.firstPhasePreProcess(i);i=this.secondPhasePreProcess(i)}else if(u>=1){i=this.levelOneOptimize(i)}else{i=this.adjascentGlobstarOptimize(i)}return i}adjascentGlobstarOptimize(i){return i.map((i=>{let u=-1;while(-1!==(u=i.indexOf("**",u+1))){let A=u;while(i[A+1]==="**"){A++}if(A!==u){i.splice(u,A-u)}}return i}))}levelOneOptimize(i){return i.map((i=>{i=i.reduce(((i,u)=>{const A=i[i.length-1];if(u==="**"&&A==="**"){return i}if(u===".."){if(A&&A!==".."&&A!=="."&&A!=="**"){i.pop();return i}}i.push(u);return i}),[]);return i.length===0?[""]:i}))}levelTwoFileOptimize(i){if(!Array.isArray(i)){i=this.slashSplit(i)}let u=false;do{u=false;if(!this.preserveMultipleSlashes){for(let A=1;AI){A.splice(I+1,B-I)}let Q=A[I+1];const P=A[I+2];const D=A[I+3];if(Q!=="..")continue;if(!P||P==="."||P===".."||!D||D==="."||D===".."){continue}u=true;A.splice(I,1);const L=A.slice(0);L[I]="**";i.push(L);I--}if(!this.preserveMultipleSlashes){for(let i=1;ii.length))}partsMatch(i,u,A=false){let I=0;let B=0;let Q=[];let P="";while(I=2){i=this.levelTwoFileOptimize(i)}if(A.includes(u.GLOBSTAR)){return this.#Et(i,A,I,B,Q)}return this.#Ct(i,A,I,B,Q)}#Et(i,A,I,B,Q){const P=A.indexOf(u.GLOBSTAR,Q);const D=A.lastIndexOf(u.GLOBSTAR);const[L,U,G]=I?[A.slice(Q,P),A.slice(P+1),[]]:[A.slice(Q,P),A.slice(P+1,D),A.slice(D+1)];if(L.length){const u=i.slice(B,B+L.length);if(!this.#Ct(u,L,I,0,0))return false;B+=L.length}let z=0;if(G.length){if(G.length+B>i.length)return false;let u=i.length-G.length;if(this.#Ct(i,G,I,u,0)){z=G.length}else{if(i[i.length-1]!==""||B+G.length===i.length){return false}u--;if(!this.#Ct(i,G,I,u,0))return false;z=G.length+1}}if(!U.length){let u=!!z;for(let A=B;A{const A=i.map((i=>{if(i instanceof RegExp){for(const u of i.flags.split(""))B.add(u)}return typeof i==="string"?regExpEscape(i):i===u.GLOBSTAR?u.GLOBSTAR:i._src}));A.forEach(((i,B)=>{const Q=A[B+1];const P=A[B-1];if(i!==u.GLOBSTAR||P===u.GLOBSTAR){return}if(P===undefined){if(Q!==undefined&&Q!==u.GLOBSTAR){A[B+1]="(?:\\/|"+I+"\\/)?"+Q}else{A[B]=I}}else if(Q===undefined){A[B-1]=P+"(?:\\/|"+I+")?"}else if(Q!==u.GLOBSTAR){A[B-1]=P+"(?:\\/|\\/"+I+"\\/)"+Q;A[B+1]=u.GLOBSTAR}}));return A.filter((i=>i!==u.GLOBSTAR)).join("/")})).join("|");const[P,D]=i.length>1?["(?:",")"]:["",""];Q="^"+P+Q+D+"$";if(this.negate)Q="^(?!"+Q+").+$";try{this.regexp=new RegExp(Q,[...B].join(""))}catch(i){this.regexp=false}return this.regexp}slashSplit(i){if(this.preserveMultipleSlashes){return i.split("/")}else if(this.isWindows&&/^\/\/[^\/]+/.test(i)){return["",...i.split(/\/+/)]}else{return i.split(/\/+/)}}match(i,u=this.partial){this.debug("match",i,this.pattern);if(this.comment){return false}if(this.empty){return i===""}if(i==="/"&&u){return true}const A=this.options;if(this.isWindows){i=i.split("\\").join("/")}const I=this.slashSplit(i);this.debug(this.pattern,"split",I);const B=this.set;this.debug(this.pattern,"set",B);let Q=I[I.length-1];if(!Q){for(let i=I.length-2;!Q&&i>=0;i--){Q=I[i]}}for(let i=0;i{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.unescape=void 0;const unescape=(i,{windowsPathsNoEscape:u=false}={})=>u?i.replace(/\[([^\/\\])\]/g,"$1"):i.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");u.unescape=unescape},34865:(i,u,A)=>{"use strict";var R=(i,u)=>()=>(u||i((u={exports:{}}).exports,u),u.exports);var I=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.range=i.balanced=void 0;var Gs=(u,A,I)=>{let B=u instanceof RegExp?Ie(u,I):u,Q=A instanceof RegExp?Ie(A,I):A,P=B!==null&&Q!=null&&(0,i.range)(B,Q,I);return P&&{start:P[0],end:P[1],pre:I.slice(0,P[0]),body:I.slice(P[0]+B.length,P[1]),post:I.slice(P[1]+Q.length)}};i.balanced=Gs;var Ie=(i,u)=>{let A=u.match(i);return A?A[0]:null},zs=(i,u,A)=>{let I,B,Q,P,D,L=A.indexOf(i),U=A.indexOf(u,L+1),G=L;if(L>=0&&U>0){if(i===u)return[L,U];for(I=[],Q=A.length;G>=0&&!D;){if(G===L)I.push(G),L=A.indexOf(i,G+1);else if(I.length===1){let i=I.pop();i!==void 0&&(D=[i,U])}else B=I.pop(),B!==void 0&&B=0?L:U}I.length&&P!==void 0&&(D=[Q,P])}return D};i.range=zs}));var B=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.EXPANSION_MAX=void 0;i.expand=ei;var u=I(),A="\0SLASH"+Math.random()+"\0",B="\0OPEN"+Math.random()+"\0",Q="\0CLOSE"+Math.random()+"\0",P="\0COMMA"+Math.random()+"\0",D="\0PERIOD"+Math.random()+"\0",L=new RegExp(A,"g"),U=new RegExp(B,"g"),G=new RegExp(Q,"g"),z=new RegExp(P,"g"),W=new RegExp(D,"g"),Y=/\\\\/g,J=/\\{/g,$=/\\}/g,K=/\\,/g,X=/\\./g;i.EXPANSION_MAX=1e5;function ce(i){return isNaN(i)?i.charCodeAt(0):parseInt(i,10)}function Qs(i){return i.replace(Y,A).replace(J,B).replace($,Q).replace(K,P).replace(X,D)}function ti(i){return i.replace(L,"\\").replace(U,"{").replace(G,"}").replace(z,",").replace(W,".")}function Ve(i){if(!i)return[""];let A=[],I=(0,u.balanced)("{","}",i);if(!I)return i.split(",");let{pre:B,body:Q,post:P}=I,D=B.split(",");D[D.length-1]+="{"+Q+"}";let L=Ve(P);return P.length&&(D[D.length-1]+=L.shift(),D.push.apply(D,L)),A.push.apply(A,D),A}function ei(u,A={}){if(!u)return[];let{max:I=i.EXPANSION_MAX}=A;return u.slice(0,2)==="{}"&&(u="\\{\\}"+u.slice(2)),ht(Qs(u),I,!0).map(ti)}function si(i){return"{"+i+"}"}function ii(i){return/^-?0\d/.test(i)}function ri(i,u){return i<=u}function ni(i,u){return i>=u}function ht(i,A,I){let B=[],P=(0,u.balanced)("{","}",i);if(!P)return[i];let D=P.pre,L=P.post.length?ht(P.post,A,!1):[""];if(/\$$/.test(P.pre))for(let i=0;i=0;if(!G&&!z)return P.post.match(/,(?!,).*\}/)?(i=P.pre+"{"+P.body+Q+P.post,ht(i,A,!0)):[i];let W;if(G)W=P.body.split(/\.\./);else if(W=Ve(P.body),W.length===1&&W[0]!==void 0&&(W=ht(W[0],A,!1).map(si),W.length===1))return L.map((i=>P.pre+W[0]+i));let Y;if(G&&W[0]!==void 0&&W[1]!==void 0){let i=ce(W[0]),u=ce(W[1]),A=Math.max(W[0].length,W[1].length),I=W.length===3&&W[2]!==void 0?Math.abs(ce(W[2])):1,B=ri;u0){let A=new Array(u+1).join("0");P<0?i="-"+A+i.slice(1):i=A+i}}Y.push(i)}}else{Y=[];for(let i=0;i{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.assertValidPattern=void 0;var u=1024*64,oi=i=>{if(typeof i!="string")throw new TypeError("invalid pattern");if(i.length>u)throw new TypeError("pattern is too long")};i.assertValidPattern=oi}));var P=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.parseClass=void 0;var u={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ot=i=>i.replace(/[[\]\\-]/g,"\\$&"),li=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ye=i=>i.join(""),ci=(i,A)=>{let I=A;if(i.charAt(I)!=="[")throw new Error("not in a brace expression");let B=[],Q=[],P=I+1,D=!1,L=!1,U=!1,G=!1,z=I,W="";e:for(;PW?B.push(ot(W)+"-"+ot(A)):A===W&&B.push(ot(A)),W="",P++;continue}if(i.startsWith("-]",P+1)){B.push(ot(A+"-")),P+=2;continue}if(i.startsWith("-",P+1)){W=A,P+=2;continue}B.push(ot(A)),P++}if(z{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.unescape=void 0;var ui=(i,{windowsPathsNoEscape:u=!1,magicalBraces:A=!0}={})=>A?u?i.replace(/\[([^\/\\])\]/g,"$1"):i.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"):u?i.replace(/\[([^\/\\{}])\]/g,"$1"):i.replace(/((?!\\).|^)\[([^\/\\{}])\]/g,"$1$2").replace(/\\([^\/{}])/g,"$1");i.unescape=ui}));var L=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.AST=void 0;var u=P(),A=D(),I=new Set(["!","?","+","*","@"]),Ze=i=>I.has(i),B="(?!(?:^|/)\\.\\.?(?:$|/))",Q="(?!\\.)",L=new Set(["[","."]),U=new Set(["..","."]),G=new Set("().*{}+?[]^$\\!"),bi=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),z="[^/]",W=z+"*?",Y=z+"+?",J=class n{type;#vt;#St;#It=!1;#Bt=[];#Rt;#Nt;#_t;#Tt=!1;#Ot;#xt;#kt=!1;constructor(i,u,A={}){this.type=i,i&&(this.#St=!0),this.#Rt=u,this.#vt=this.#Rt?this.#Rt.#vt:this,this.#Ot=this.#vt===this?A:this.#vt.#Ot,this.#_t=this.#vt===this?[]:this.#vt.#_t,i==="!"&&!this.#vt.#Tt&&this.#_t.push(this),this.#Nt=this.#Rt?this.#Rt.#Bt.length:0}get hasMagic(){if(this.#St!==void 0)return this.#St;for(let i of this.#Bt)if(typeof i!="string"&&(i.type||i.hasMagic))return this.#St=!0;return this.#St}toString(){return this.#xt!==void 0?this.#xt:this.type?this.#xt=this.type+"("+this.#Bt.map((i=>String(i))).join("|")+")":this.#xt=this.#Bt.map((i=>String(i))).join("")}#Qt(){if(this!==this.#vt)throw new Error("should only call on root");if(this.#Tt)return this;this.toString(),this.#Tt=!0;let i;for(;i=this.#_t.pop();){if(i.type!=="!")continue;let u=i,A=u.#Rt;for(;A;){for(let I=u.#Nt+1;!A.type&&Itypeof i=="string"?i:i.toJSON())):[this.type,...this.#Bt.map((i=>i.toJSON()))];return this.isStart()&&!this.type&&i.unshift([]),this.isEnd()&&(this===this.#vt||this.#vt.#Tt&&this.#Rt?.type==="!")&&i.push({}),i}isStart(){if(this.#vt===this)return!0;if(!this.#Rt?.isStart())return!1;if(this.#Nt===0)return!0;let i=this.#Rt;for(let u=0;utypeof i!="string")),P=this.#Bt.map((u=>{let[A,B,Q,P]=typeof u=="string"?n.#Dt(u,this.#St,I):u.toRegExpSource(i);return this.#St=this.#St||Q,this.#It=this.#It||P,A})).join(""),D="";if(this.isStart()&&typeof this.#Bt[0]=="string"&&!(this.#Bt.length===1&&U.has(this.#Bt[0]))){let A=L,I=u&&A.has(P.charAt(0))||P.startsWith("\\.")&&A.has(P.charAt(2))||P.startsWith("\\.\\.")&&A.has(P.charAt(4)),U=!u&&!i&&A.has(P.charAt(0));D=I?B:U?Q:""}let G="";return this.isEnd()&&this.#vt.#Tt&&this.#Rt?.type==="!"&&(G="(?:$|\\/)"),[D+P+G,(0,A.unescape)(P),this.#St=!!this.#St,this.#It]}let I=this.type==="*"||this.type==="+",P=this.type==="!"?"(?:(?!(?:":"(?:",D=this.#Mt(u);if(this.isStart()&&this.isEnd()&&!D&&this.type!=="!"){let i=this.toString();return this.#Bt=[i],this.type=null,this.#St=void 0,[i,(0,A.unescape)(this.toString()),!1,!1]}let G=!I||i||u||!Q?"":this.#Mt(!0);G===D&&(G=""),G&&(D=`(?:${D})(?:${G})*?`);let z="";if(this.type==="!"&&this.#kt)z=(this.isStart()&&!u?Q:"")+Y;else{let A=this.type==="!"?"))"+(this.isStart()&&!u&&!i?Q:"")+W+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&G?")":this.type==="*"&&G?")?":`)${this.type}`;z=P+D+A}return[z,(0,A.unescape)(D),this.#St=!!this.#St,this.#It]}#Mt(i){return this.#Bt.map((u=>{if(typeof u=="string")throw new Error("string type in extglob ast??");let[A,I,B,Q]=u.toRegExpSource(i);return this.#It=this.#It||Q,A})).filter((i=>!(this.isStart()&&this.isEnd())||!!i)).join("|")}static#Dt(i,I,B=!1){let Q=!1,P="",D=!1,L=!1;for(let A=0;A{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.escape=void 0;var yi=(i,{windowsPathsNoEscape:u=!1,magicalBraces:A=!1}={})=>A?u?i.replace(/[?*()[\]{}]/g,"[$&]"):i.replace(/[?*()[\]\\{}]/g,"\\$&"):u?i.replace(/[?*()[\]]/g,"[$&]"):i.replace(/[?*()[\]\\]/g,"\\$&");i.escape=yi}));var G=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.unescape=i.escape=i.AST=i.Minimatch=i.match=i.makeRe=i.braceExpand=i.defaults=i.filter=i.GLOBSTAR=i.sep=i.minimatch=void 0;var u=B(),A=Q(),I=L(),P=U(),G=D(),_i=(i,u,I={})=>((0,A.assertValidPattern)(u),!I.nocomment&&u.charAt(0)==="#"?!1:new Ce(u,I).match(i));i.minimatch=_i;var z=/^\*+([^+@!?\*\[\(]*)$/,xi=i=>u=>!u.startsWith(".")&&u.endsWith(i),Ti=i=>u=>u.endsWith(i),Ci=i=>(i=i.toLowerCase(),u=>!u.startsWith(".")&&u.toLowerCase().endsWith(i)),Ri=i=>(i=i.toLowerCase(),u=>u.toLowerCase().endsWith(i)),W=/^\*+\.\*+$/,ki=i=>!i.startsWith(".")&&i.includes("."),Mi=i=>i!=="."&&i!==".."&&i.includes("."),Y=/^\.\*+$/,Di=i=>i!=="."&&i!==".."&&i.startsWith("."),J=/^\*+$/,ji=i=>i.length!==0&&!i.startsWith("."),Ni=i=>i.length!==0&&i!=="."&&i!=="..",$=/^\?+([^+@!?\*\[\(]*)?$/,Wi=([i,u=""])=>{let A=rs([i]);return u?(u=u.toLowerCase(),i=>A(i)&&i.toLowerCase().endsWith(u)):A},Bi=([i,u=""])=>{let A=ns([i]);return u?(u=u.toLowerCase(),i=>A(i)&&i.toLowerCase().endsWith(u)):A},Ii=([i,u=""])=>{let A=ns([i]);return u?i=>A(i)&&i.endsWith(u):A},Gi=([i,u=""])=>{let A=rs([i]);return u?i=>A(i)&&i.endsWith(u):A},rs=([i])=>{let u=i.length;return i=>i.length===u&&!i.startsWith(".")},ns=([i])=>{let u=i.length;return i=>i.length===u&&i!=="."&&i!==".."},K=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",X={win32:{sep:"\\"},posix:{sep:"/"}};i.sep=K==="win32"?X.win32.sep:X.posix.sep;i.minimatch.sep=i.sep;i.GLOBSTAR=Symbol("globstar **");i.minimatch.GLOBSTAR=i.GLOBSTAR;var he="[^/]",Ae=he+"*?",ye="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",be="(?:(?!(?:\\/|^)\\.).)*?",Hi=(u,A={})=>I=>(0,i.minimatch)(I,u,A);i.filter=Hi;i.minimatch.filter=i.filter;var F=(i,u={})=>Object.assign({},i,u),Vi=u=>{if(!u||typeof u!="object"||!Object.keys(u).length)return i.minimatch;let A=i.minimatch;return Object.assign(((i,I,B={})=>A(i,I,F(u,B))),{Minimatch:class extends A.Minimatch{constructor(i,A={}){super(i,F(u,A))}static defaults(i){return A.defaults(F(u,i)).Minimatch}},AST:class extends A.AST{constructor(i,A,I={}){super(i,A,F(u,I))}static fromGlob(i,I={}){return A.AST.fromGlob(i,F(u,I))}},unescape:(i,I={})=>A.unescape(i,F(u,I)),escape:(i,I={})=>A.escape(i,F(u,I)),filter:(i,I={})=>A.filter(i,F(u,I)),defaults:i=>A.defaults(F(u,i)),makeRe:(i,I={})=>A.makeRe(i,F(u,I)),braceExpand:(i,I={})=>A.braceExpand(i,F(u,I)),match:(i,I,B={})=>A.match(i,I,F(u,B)),sep:A.sep,GLOBSTAR:i.GLOBSTAR})};i.defaults=Vi;i.minimatch.defaults=i.defaults;var Ki=(i,I={})=>((0,A.assertValidPattern)(i),I.nobrace||!/\{(?:(?!\{).)*\}/.test(i)?[i]:(0,u.expand)(i,{max:I.braceExpandMax}));i.braceExpand=Ki;i.minimatch.braceExpand=i.braceExpand;var Xi=(i,u={})=>new Ce(i,u).makeRe();i.makeRe=Xi;i.minimatch.makeRe=i.makeRe;var Yi=(i,u,A={})=>{let I=new Ce(u,A);return i=i.filter((i=>I.match(i))),I.options.nonull&&!i.length&&i.push(u),i};i.match=Yi;i.minimatch.match=i.match;var Ee=/[?*]|[+@!]\(.*?\)|\[|\]/,Ji=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ce=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(i,u={}){(0,A.assertValidPattern)(i),u=u||{},this.options=u,this.pattern=i,this.platform=u.platform||K,this.isWindows=this.platform==="win32";let I="allowWindowsEscape";this.windowsPathsNoEscape=!!u.windowsPathsNoEscape||u[I]===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!u.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!u.nonegate,this.comment=!1,this.empty=!1,this.partial=!!u.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=u.windowsNoMagicRoot!==void 0?u.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let i of this.set)for(let u of i)if(typeof u!="string")return!0;return!1}debug(...i){}make(){let i=this.pattern,u=this.options;if(!u.nocomment&&i.charAt(0)==="#"){this.comment=!0;return}if(!i){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],u.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,this.globSet);let A=this.globSet.map((i=>this.slashSplit(i)));this.globParts=this.preprocess(A),this.debug(this.pattern,this.globParts);let I=this.globParts.map(((i,u,A)=>{if(this.isWindows&&this.windowsNoMagicRoot){let u=i[0]===""&&i[1]===""&&(i[2]==="?"||!Ee.test(i[2]))&&!Ee.test(i[3]),A=/^[a-z]:/i.test(i[0]);if(u)return[...i.slice(0,4),...i.slice(4).map((i=>this.parse(i)))];if(A)return[i[0],...i.slice(1).map((i=>this.parse(i)))]}return i.map((i=>this.parse(i)))}));if(this.debug(this.pattern,I),this.set=I.filter((i=>i.indexOf(!1)===-1)),this.isWindows)for(let i=0;i=2?(i=this.firstPhasePreProcess(i),i=this.secondPhasePreProcess(i)):u>=1?i=this.levelOneOptimize(i):i=this.adjascentGlobstarOptimize(i),i}adjascentGlobstarOptimize(i){return i.map((i=>{let u=-1;for(;(u=i.indexOf("**",u+1))!==-1;){let A=u;for(;i[A+1]==="**";)A++;A!==u&&i.splice(u,A-u)}return i}))}levelOneOptimize(i){return i.map((i=>(i=i.reduce(((i,u)=>{let A=i[i.length-1];return u==="**"&&A==="**"?i:u===".."&&A&&A!==".."&&A!=="."&&A!=="**"?(i.pop(),i):(i.push(u),i)}),[]),i.length===0?[""]:i)))}levelTwoFileOptimize(i){Array.isArray(i)||(i=this.slashSplit(i));let u=!1;do{if(u=!1,!this.preserveMultipleSlashes){for(let A=1;AI&&A.splice(I+1,B-I);let Q=A[I+1],P=A[I+2],D=A[I+3];if(Q!==".."||!P||P==="."||P===".."||!D||D==="."||D==="..")continue;u=!0,A.splice(I,1);let L=A.slice(0);L[I]="**",i.push(L),I--}if(!this.preserveMultipleSlashes){for(let i=1;ii.length))}partsMatch(i,u,A=!1){let I=0,B=0,Q=[],P="";for(;IP?A=A.slice(D):P>D&&(u=u.slice(P)))}}let{optimizationLevel:Q=1}=this.options;Q>=2&&(u=this.levelTwoFileOptimize(u)),this.debug("matchOne",this,{file:u,pattern:A}),this.debug("matchOne",u.length,A.length);for(var P=0,D=0,L=u.length,U=A.length;P>> no match, partial?`,u,W,A,Y),W===L))}let Q;if(typeof G=="string"?(Q=z===G,this.debug("string match",G,z,Q)):(Q=G.test(z),this.debug("pattern match",G,z,Q)),!Q)return!1}if(P===L&&D===U)return!0;if(P===L)return I;if(D===U)return P===L-1&&u[P]==="";throw new Error("wtf?")}braceExpand(){return(0,i.braceExpand)(this.pattern,this.options)}parse(u){(0,A.assertValidPattern)(u);let B=this.options;if(u==="**")return i.GLOBSTAR;if(u==="")return"";let Q,P=null;(Q=u.match(J))?P=B.dot?Ni:ji:(Q=u.match(z))?P=(B.nocase?B.dot?Ri:Ci:B.dot?Ti:xi)(Q[1]):(Q=u.match($))?P=(B.nocase?B.dot?Bi:Wi:B.dot?Ii:Gi)(Q):(Q=u.match(W))?P=B.dot?Mi:ki:(Q=u.match(Y))&&(P=Di);let D=I.AST.fromGlob(u,this.options).toMMPattern();return P&&typeof D=="object"&&Reflect.defineProperty(D,"test",{value:P}),D}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let u=this.set;if(!u.length)return this.regexp=!1,this.regexp;let A=this.options,I=A.noglobstar?Ae:A.dot?ye:be,B=new Set(A.nocase?["i"]:[]),Q=u.map((u=>{let A=u.map((u=>{if(u instanceof RegExp)for(let i of u.flags.split(""))B.add(i);return typeof u=="string"?Ji(u):u===i.GLOBSTAR?i.GLOBSTAR:u._src}));A.forEach(((u,B)=>{let Q=A[B+1],P=A[B-1];u!==i.GLOBSTAR||P===i.GLOBSTAR||(P===void 0?Q!==void 0&&Q!==i.GLOBSTAR?A[B+1]="(?:\\/|"+I+"\\/)?"+Q:A[B]=I:Q===void 0?A[B-1]=P+"(?:\\/|\\/"+I+")?":Q!==i.GLOBSTAR&&(A[B-1]=P+"(?:\\/|\\/"+I+"\\/)"+Q,A[B+1]=i.GLOBSTAR))}));let Q=A.filter((u=>u!==i.GLOBSTAR));if(this.partial&&Q.length>=1){let i=[];for(let u=1;u<=Q.length;u++)i.push(Q.slice(0,u).join("/"));return"(?:"+i.join("|")+")"}return Q.join("/")})).join("|"),[P,D]=u.length>1?["(?:",")"]:["",""];Q="^"+P+Q+D+"$",this.partial&&(Q="^(?:\\/|"+P+Q.slice(1,-1)+D+")$"),this.negate&&(Q="^(?!"+Q+").+$");try{this.regexp=new RegExp(Q,[...B].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(i){return this.preserveMultipleSlashes?i.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(i)?["",...i.split(/\/+/)]:i.split(/\/+/)}match(i,u=this.partial){if(this.debug("match",i,this.pattern),this.comment)return!1;if(this.empty)return i==="";if(i==="/"&&u)return!0;let A=this.options;this.isWindows&&(i=i.split("\\").join("/"));let I=this.slashSplit(i);this.debug(this.pattern,"split",I);let B=this.set;this.debug(this.pattern,"set",B);let Q=I[I.length-1];if(!Q)for(let i=I.length-2;!Q&&i>=0;i--)Q=I[i];for(let i=0;i{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.LRUCache=void 0;var u=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,A=new Set,I=typeof process=="object"&&process?process:{},ls=(i,u,A,B)=>{typeof I.emitWarning=="function"?I.emitWarning(i,u,A,B):console.error(`[${A}] ${u}: ${i}`)},B=globalThis.AbortController,Q=globalThis.AbortSignal;if(typeof B>"u"){Q=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,u){this._onabort.push(u)}},B=class{constructor(){t()}signal=new Q;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let u of this.signal._onabort)u(i);this.signal.onabort?.(i)}}};let i=I.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",t=()=>{i&&(i=!1,ls("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}var sr=i=>!A.has(i),V=i=>i&&i===Math.floor(i)&&i>0&&isFinite(i),cs=i=>V(i)?i<=Math.pow(2,8)?Uint8Array:i<=Math.pow(2,16)?Uint16Array:i<=Math.pow(2,32)?Uint32Array:i<=Number.MAX_SAFE_INTEGER?P:null:null,P=class extends Array{constructor(i){super(i),this.fill(0)}},D=class at{heap;length;static#vt=!1;static create(i){let u=cs(i);if(!u)return[];at.#vt=!0;let A=new at(i,u);return at.#vt=!1,A}constructor(i,u){if(!at.#vt)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new u(i),this.length=0}push(i){this.heap[this.length++]=i}pop(){return this.heap[--this.length]}},L=class us{#vt;#St;#It;#Bt;#Rt;#Nt;#_t;#Tt;get perf(){return this.#Tt}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#Ot;#xt;#kt;#Qt;#Pt;#Mt;#Dt;#Lt;#Ft;#Ut;#jt;#Ht;#Gt;#qt;#zt;#Vt;#Wt;#Yt;#Jt;static unsafeExposeInternals(i){return{starts:i.#Gt,ttls:i.#qt,autopurgeTimers:i.#zt,sizes:i.#Ht,keyMap:i.#kt,keyList:i.#Qt,valList:i.#Pt,next:i.#Mt,prev:i.#Dt,get head(){return i.#Lt},get tail(){return i.#Ft},free:i.#Ut,isBackgroundFetch:u=>i.#$t(u),backgroundFetch:(u,A,I,B)=>i.#Kt(u,A,I,B),moveToTail:u=>i.#Xt(u),indexes:u=>i.#Zt(u),rindexes:u=>i.#er(u),isStale:u=>i.#tr(u)}}get max(){return this.#vt}get maxSize(){return this.#St}get calculatedSize(){return this.#xt}get size(){return this.#Ot}get fetchMethod(){return this.#Nt}get memoMethod(){return this.#_t}get dispose(){return this.#It}get onInsert(){return this.#Bt}get disposeAfter(){return this.#Rt}constructor(i){let{max:I=0,ttl:B,ttlResolution:Q=1,ttlAutopurge:P,updateAgeOnGet:L,updateAgeOnHas:U,allowStale:G,dispose:z,onInsert:W,disposeAfter:Y,noDisposeOnSet:J,noUpdateTTL:$,maxSize:K=0,maxEntrySize:X=0,sizeCalculation:he,fetchMethod:Ae,memoMethod:ye,noDeleteOnFetchRejection:be,noDeleteOnStaleGet:Ee,allowStaleOnFetchRejection:Ce,allowStaleOnFetchAbort:we,ignoreFetchAbort:ve,perf:Se}=i;if(Se!==void 0&&typeof Se?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#Tt=Se??u,I!==0&&!V(I))throw new TypeError("max option must be a nonnegative integer");let Re=I?cs(I):Array;if(!Re)throw new Error("invalid max value: "+I);if(this.#vt=I,this.#St=K,this.maxEntrySize=X||this.#St,this.sizeCalculation=he,this.sizeCalculation){if(!this.#St&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(ye!==void 0&&typeof ye!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#_t=ye,Ae!==void 0&&typeof Ae!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#Nt=Ae,this.#Wt=!!Ae,this.#kt=new Map,this.#Qt=new Array(I).fill(void 0),this.#Pt=new Array(I).fill(void 0),this.#Mt=new Re(I),this.#Dt=new Re(I),this.#Lt=0,this.#Ft=0,this.#Ut=D.create(I),this.#Ot=0,this.#xt=0,typeof z=="function"&&(this.#It=z),typeof W=="function"&&(this.#Bt=W),typeof Y=="function"?(this.#Rt=Y,this.#jt=[]):(this.#Rt=void 0,this.#jt=void 0),this.#Vt=!!this.#It,this.#Jt=!!this.#Bt,this.#Yt=!!this.#Rt,this.noDisposeOnSet=!!J,this.noUpdateTTL=!!$,this.noDeleteOnFetchRejection=!!be,this.allowStaleOnFetchRejection=!!Ce,this.allowStaleOnFetchAbort=!!we,this.ignoreFetchAbort=!!ve,this.maxEntrySize!==0){if(this.#St!==0&&!V(this.#St))throw new TypeError("maxSize must be a positive integer if specified");if(!V(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#rr()}if(this.allowStale=!!G,this.noDeleteOnStaleGet=!!Ee,this.updateAgeOnGet=!!L,this.updateAgeOnHas=!!U,this.ttlResolution=V(Q)||Q===0?Q:1,this.ttlAutopurge=!!P,this.ttl=B||0,this.ttl){if(!V(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#nr()}if(this.#vt===0&&this.ttl===0&&this.#St===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#vt&&!this.#St){let i="LRU_CACHE_UNBOUNDED";sr(i)&&(A.add(i),ls("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",i,us))}}getRemainingTTL(i){return this.#kt.has(i)?1/0:0}#nr(){let i=new P(this.#vt),u=new P(this.#vt);this.#qt=i,this.#Gt=u;let A=this.ttlAutopurge?new Array(this.#vt):void 0;this.#zt=A,this.#ir=(I,B,Q=this.#Tt.now())=>{if(u[I]=B!==0?Q:0,i[I]=B,A?.[I]&&(clearTimeout(A[I]),A[I]=void 0),B!==0&&A){let i=setTimeout((()=>{this.#tr(I)&&this.#sr(this.#Qt[I],"expire")}),B+1);i.unref&&i.unref(),A[I]=i}},this.#or=A=>{u[A]=i[A]!==0?this.#Tt.now():0},this.#ar=(A,B)=>{if(i[B]){let Q=i[B],P=u[B];if(!Q||!P)return;A.ttl=Q,A.start=P,A.now=I||r();let D=A.now-P;A.remainingTTL=Q-D}};let I=0,r=()=>{let i=this.#Tt.now();if(this.ttlResolution>0){I=i;let u=setTimeout((()=>I=0),this.ttlResolution);u.unref&&u.unref()}return i};this.getRemainingTTL=A=>{let B=this.#kt.get(A);if(B===void 0)return 0;let Q=i[B],P=u[B];if(!Q||!P)return 1/0;let D=(I||r())-P;return Q-D},this.#tr=A=>{let B=u[A],Q=i[A];return!!Q&&!!B&&(I||r())-B>Q}}#or=()=>{};#ar=()=>{};#ir=()=>{};#tr=()=>!1;#rr(){let i=new P(this.#vt);this.#xt=0,this.#Ht=i,this.#cr=u=>{this.#xt-=i[u],i[u]=0},this.#lr=(i,u,A,I)=>{if(this.#$t(u))return 0;if(!V(A))if(I){if(typeof I!="function")throw new TypeError("sizeCalculation must be a function");if(A=I(u,i),!V(A))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return A},this.#ur=(u,A,I)=>{if(i[u]=A,this.#St){let A=this.#St-i[u];for(;this.#xt>A;)this.#dr(!0)}this.#xt+=i[u],I&&(I.entrySize=A,I.totalCalculatedSize=this.#xt)}}#cr=i=>{};#ur=(i,u,A)=>{};#lr=(i,u,A,I)=>{if(A||I)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#Zt({allowStale:i=this.allowStale}={}){if(this.#Ot)for(let u=this.#Ft;!(!this.#fr(u)||((i||!this.#tr(u))&&(yield u),u===this.#Lt));)u=this.#Dt[u]}*#er({allowStale:i=this.allowStale}={}){if(this.#Ot)for(let u=this.#Lt;!(!this.#fr(u)||((i||!this.#tr(u))&&(yield u),u===this.#Ft));)u=this.#Mt[u]}#fr(i){return i!==void 0&&this.#kt.get(this.#Qt[i])===i}*entries(){for(let i of this.#Zt())this.#Pt[i]!==void 0&&this.#Qt[i]!==void 0&&!this.#$t(this.#Pt[i])&&(yield[this.#Qt[i],this.#Pt[i]])}*rentries(){for(let i of this.#er())this.#Pt[i]!==void 0&&this.#Qt[i]!==void 0&&!this.#$t(this.#Pt[i])&&(yield[this.#Qt[i],this.#Pt[i]])}*keys(){for(let i of this.#Zt()){let u=this.#Qt[i];u!==void 0&&!this.#$t(this.#Pt[i])&&(yield u)}}*rkeys(){for(let i of this.#er()){let u=this.#Qt[i];u!==void 0&&!this.#$t(this.#Pt[i])&&(yield u)}}*values(){for(let i of this.#Zt())this.#Pt[i]!==void 0&&!this.#$t(this.#Pt[i])&&(yield this.#Pt[i])}*rvalues(){for(let i of this.#er())this.#Pt[i]!==void 0&&!this.#$t(this.#Pt[i])&&(yield this.#Pt[i])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(i,u={}){for(let A of this.#Zt()){let I=this.#Pt[A],B=this.#$t(I)?I.__staleWhileFetching:I;if(B!==void 0&&i(B,this.#Qt[A],this))return this.get(this.#Qt[A],u)}}forEach(i,u=this){for(let A of this.#Zt()){let I=this.#Pt[A],B=this.#$t(I)?I.__staleWhileFetching:I;B!==void 0&&i.call(u,B,this.#Qt[A],this)}}rforEach(i,u=this){for(let A of this.#er()){let I=this.#Pt[A],B=this.#$t(I)?I.__staleWhileFetching:I;B!==void 0&&i.call(u,B,this.#Qt[A],this)}}purgeStale(){let i=!1;for(let u of this.#er({allowStale:!0}))this.#tr(u)&&(this.#sr(this.#Qt[u],"expire"),i=!0);return i}info(i){let u=this.#kt.get(i);if(u===void 0)return;let A=this.#Pt[u],I=this.#$t(A)?A.__staleWhileFetching:A;if(I===void 0)return;let B={value:I};if(this.#qt&&this.#Gt){let i=this.#qt[u],A=this.#Gt[u];if(i&&A){let u=i-(this.#Tt.now()-A);B.ttl=u,B.start=Date.now()}}return this.#Ht&&(B.size=this.#Ht[u]),B}dump(){let i=[];for(let u of this.#Zt({allowStale:!0})){let A=this.#Qt[u],I=this.#Pt[u],B=this.#$t(I)?I.__staleWhileFetching:I;if(B===void 0||A===void 0)continue;let Q={value:B};if(this.#qt&&this.#Gt){Q.ttl=this.#qt[u];let i=this.#Tt.now()-this.#Gt[u];Q.start=Math.floor(Date.now()-i)}this.#Ht&&(Q.size=this.#Ht[u]),i.unshift([A,Q])}return i}load(i){this.clear();for(let[u,A]of i){if(A.start){let i=Date.now()-A.start;A.start=this.#Tt.now()-i}this.set(u,A.value,A)}}set(i,u,A={}){if(u===void 0)return this.delete(i),this;let{ttl:I=this.ttl,start:B,noDisposeOnSet:Q=this.noDisposeOnSet,sizeCalculation:P=this.sizeCalculation,status:D}=A,{noUpdateTTL:L=this.noUpdateTTL}=A,U=this.#lr(i,u,A.size||0,P);if(this.maxEntrySize&&U>this.maxEntrySize)return D&&(D.set="miss",D.maxEntrySizeExceeded=!0),this.#sr(i,"set"),this;let G=this.#Ot===0?void 0:this.#kt.get(i);if(G===void 0)G=this.#Ot===0?this.#Ft:this.#Ut.length!==0?this.#Ut.pop():this.#Ot===this.#vt?this.#dr(!1):this.#Ot,this.#Qt[G]=i,this.#Pt[G]=u,this.#kt.set(i,G),this.#Mt[this.#Ft]=G,this.#Dt[G]=this.#Ft,this.#Ft=G,this.#Ot++,this.#ur(G,U,D),D&&(D.set="add"),L=!1,this.#Jt&&this.#Bt?.(u,i,"add");else{this.#Xt(G);let A=this.#Pt[G];if(u!==A){if(this.#Wt&&this.#$t(A)){A.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:u}=A;u!==void 0&&!Q&&(this.#Vt&&this.#It?.(u,i,"set"),this.#Yt&&this.#jt?.push([u,i,"set"]))}else Q||(this.#Vt&&this.#It?.(A,i,"set"),this.#Yt&&this.#jt?.push([A,i,"set"]));if(this.#cr(G),this.#ur(G,U,D),this.#Pt[G]=u,D){D.set="replace";let i=A&&this.#$t(A)?A.__staleWhileFetching:A;i!==void 0&&(D.oldValue=i)}}else D&&(D.set="update");this.#Jt&&this.onInsert?.(u,i,u===A?"update":"replace")}if(I!==0&&!this.#qt&&this.#nr(),this.#qt&&(L||this.#ir(G,I,B),D&&this.#ar(D,G)),!Q&&this.#Yt&&this.#jt){let i=this.#jt,u;for(;u=i?.shift();)this.#Rt?.(...u)}return this}pop(){try{for(;this.#Ot;){let i=this.#Pt[this.#Lt];if(this.#dr(!0),this.#$t(i)){if(i.__staleWhileFetching)return i.__staleWhileFetching}else if(i!==void 0)return i}}finally{if(this.#Yt&&this.#jt){let i=this.#jt,u;for(;u=i?.shift();)this.#Rt?.(...u)}}}#dr(i){let u=this.#Lt,A=this.#Qt[u],I=this.#Pt[u];return this.#Wt&&this.#$t(I)?I.__abortController.abort(new Error("evicted")):(this.#Vt||this.#Yt)&&(this.#Vt&&this.#It?.(I,A,"evict"),this.#Yt&&this.#jt?.push([I,A,"evict"])),this.#cr(u),this.#zt?.[u]&&(clearTimeout(this.#zt[u]),this.#zt[u]=void 0),i&&(this.#Qt[u]=void 0,this.#Pt[u]=void 0,this.#Ut.push(u)),this.#Ot===1?(this.#Lt=this.#Ft=0,this.#Ut.length=0):this.#Lt=this.#Mt[u],this.#kt.delete(A),this.#Ot--,u}has(i,u={}){let{updateAgeOnHas:A=this.updateAgeOnHas,status:I}=u,B=this.#kt.get(i);if(B!==void 0){let i=this.#Pt[B];if(this.#$t(i)&&i.__staleWhileFetching===void 0)return!1;if(this.#tr(B))I&&(I.has="stale",this.#ar(I,B));else return A&&this.#or(B),I&&(I.has="hit",this.#ar(I,B)),!0}else I&&(I.has="miss");return!1}peek(i,u={}){let{allowStale:A=this.allowStale}=u,I=this.#kt.get(i);if(I===void 0||!A&&this.#tr(I))return;let B=this.#Pt[I];return this.#$t(B)?B.__staleWhileFetching:B}#Kt(i,u,A,I){let Q=u===void 0?void 0:this.#Pt[u];if(this.#$t(Q))return Q;let P=new B,{signal:D}=A;D?.addEventListener("abort",(()=>P.abort(D.reason)),{signal:P.signal});let L={signal:P.signal,options:A,context:I},l=(I,B=!1)=>{let{aborted:Q}=P.signal,D=A.ignoreFetchAbort&&I!==void 0,G=A.ignoreFetchAbort||!!(A.allowStaleOnFetchAbort&&I!==void 0);if(A.status&&(Q&&!B?(A.status.fetchAborted=!0,A.status.fetchError=P.signal.reason,D&&(A.status.fetchAbortIgnored=!0)):A.status.fetchResolved=!0),Q&&!D&&!B)return c(P.signal.reason,G);let z=U,W=this.#Pt[u];return(W===U||D&&B&&W===void 0)&&(I===void 0?z.__staleWhileFetching!==void 0?this.#Pt[u]=z.__staleWhileFetching:this.#sr(i,"fetch"):(A.status&&(A.status.fetchUpdated=!0),this.set(i,I,L.options))),I},f=i=>(A.status&&(A.status.fetchRejected=!0,A.status.fetchError=i),c(i,!1)),c=(I,B)=>{let{aborted:Q}=P.signal,D=Q&&A.allowStaleOnFetchAbort,L=D||A.allowStaleOnFetchRejection,G=L||A.noDeleteOnFetchRejection,z=U;if(this.#Pt[u]===U&&(!G||!B&&z.__staleWhileFetching===void 0?this.#sr(i,"fetch"):D||(this.#Pt[u]=z.__staleWhileFetching)),L)return A.status&&z.__staleWhileFetching!==void 0&&(A.status.returnedStale=!0),z.__staleWhileFetching;if(z.__returned===z)throw I},d=(u,I)=>{let B=this.#Nt?.(i,Q,L);B&&B instanceof Promise&&B.then((i=>u(i===void 0?void 0:i)),I),P.signal.addEventListener("abort",(()=>{(!A.ignoreFetchAbort||A.allowStaleOnFetchAbort)&&(u(void 0),A.allowStaleOnFetchAbort&&(u=i=>l(i,!0)))}))};A.status&&(A.status.fetchDispatched=!0);let U=new Promise(d).then(l,f),G=Object.assign(U,{__abortController:P,__staleWhileFetching:Q,__returned:void 0});return u===void 0?(this.set(i,G,{...L.options,status:void 0}),u=this.#kt.get(i)):this.#Pt[u]=G,G}#$t(i){if(!this.#Wt)return!1;let u=i;return!!u&&u instanceof Promise&&u.hasOwnProperty("__staleWhileFetching")&&u.__abortController instanceof B}async fetch(i,u={}){let{allowStale:A=this.allowStale,updateAgeOnGet:I=this.updateAgeOnGet,noDeleteOnStaleGet:B=this.noDeleteOnStaleGet,ttl:Q=this.ttl,noDisposeOnSet:P=this.noDisposeOnSet,size:D=0,sizeCalculation:L=this.sizeCalculation,noUpdateTTL:U=this.noUpdateTTL,noDeleteOnFetchRejection:G=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:z=this.allowStaleOnFetchRejection,ignoreFetchAbort:W=this.ignoreFetchAbort,allowStaleOnFetchAbort:Y=this.allowStaleOnFetchAbort,context:J,forceRefresh:$=!1,status:K,signal:X}=u;if(!this.#Wt)return K&&(K.fetch="get"),this.get(i,{allowStale:A,updateAgeOnGet:I,noDeleteOnStaleGet:B,status:K});let he={allowStale:A,updateAgeOnGet:I,noDeleteOnStaleGet:B,ttl:Q,noDisposeOnSet:P,size:D,sizeCalculation:L,noUpdateTTL:U,noDeleteOnFetchRejection:G,allowStaleOnFetchRejection:z,allowStaleOnFetchAbort:Y,ignoreFetchAbort:W,status:K,signal:X},Ae=this.#kt.get(i);if(Ae===void 0){K&&(K.fetch="miss");let u=this.#Kt(i,Ae,he,J);return u.__returned=u}else{let u=this.#Pt[Ae];if(this.#$t(u)){let i=A&&u.__staleWhileFetching!==void 0;return K&&(K.fetch="inflight",i&&(K.returnedStale=!0)),i?u.__staleWhileFetching:u.__returned=u}let B=this.#tr(Ae);if(!$&&!B)return K&&(K.fetch="hit"),this.#Xt(Ae),I&&this.#or(Ae),K&&this.#ar(K,Ae),u;let Q=this.#Kt(i,Ae,he,J),P=Q.__staleWhileFetching!==void 0&&A;return K&&(K.fetch=B?"stale":"refresh",P&&B&&(K.returnedStale=!0)),P?Q.__staleWhileFetching:Q.__returned=Q}}async forceFetch(i,u={}){let A=await this.fetch(i,u);if(A===void 0)throw new Error("fetch() returned undefined");return A}memo(i,u={}){let A=this.#_t;if(!A)throw new Error("no memoMethod provided to constructor");let{context:I,forceRefresh:B,...Q}=u,P=this.get(i,Q);if(!B&&P!==void 0)return P;let D=A(i,P,{options:Q,context:I});return this.set(i,D,Q),D}get(i,u={}){let{allowStale:A=this.allowStale,updateAgeOnGet:I=this.updateAgeOnGet,noDeleteOnStaleGet:B=this.noDeleteOnStaleGet,status:Q}=u,P=this.#kt.get(i);if(P!==void 0){let u=this.#Pt[P],D=this.#$t(u);return Q&&this.#ar(Q,P),this.#tr(P)?(Q&&(Q.get="stale"),D?(Q&&A&&u.__staleWhileFetching!==void 0&&(Q.returnedStale=!0),A?u.__staleWhileFetching:void 0):(B||this.#sr(i,"expire"),Q&&A&&(Q.returnedStale=!0),A?u:void 0)):(Q&&(Q.get="hit"),D?u.__staleWhileFetching:(this.#Xt(P),I&&this.#or(P),u))}else Q&&(Q.get="miss")}#hr(i,u){this.#Dt[u]=i,this.#Mt[i]=u}#Xt(i){i!==this.#Ft&&(i===this.#Lt?this.#Lt=this.#Mt[i]:this.#hr(this.#Dt[i],this.#Mt[i]),this.#hr(this.#Ft,i),this.#Ft=i)}delete(i){return this.#sr(i,"delete")}#sr(i,u){let A=!1;if(this.#Ot!==0){let I=this.#kt.get(i);if(I!==void 0)if(this.#zt?.[I]&&(clearTimeout(this.#zt?.[I]),this.#zt[I]=void 0),A=!0,this.#Ot===1)this.#pr(u);else{this.#cr(I);let A=this.#Pt[I];if(this.#$t(A)?A.__abortController.abort(new Error("deleted")):(this.#Vt||this.#Yt)&&(this.#Vt&&this.#It?.(A,i,u),this.#Yt&&this.#jt?.push([A,i,u])),this.#kt.delete(i),this.#Qt[I]=void 0,this.#Pt[I]=void 0,I===this.#Ft)this.#Ft=this.#Dt[I];else if(I===this.#Lt)this.#Lt=this.#Mt[I];else{let i=this.#Dt[I];this.#Mt[i]=this.#Mt[I];let u=this.#Mt[I];this.#Dt[u]=this.#Dt[I]}this.#Ot--,this.#Ut.push(I)}}if(this.#Yt&&this.#jt?.length){let i=this.#jt,u;for(;u=i?.shift();)this.#Rt?.(...u)}return A}clear(){return this.#pr("delete")}#pr(i){for(let u of this.#er({allowStale:!0})){let A=this.#Pt[u];if(this.#$t(A))A.__abortController.abort(new Error("deleted"));else{let I=this.#Qt[u];this.#Vt&&this.#It?.(A,I,i),this.#Yt&&this.#jt?.push([A,I,i])}}if(this.#kt.clear(),this.#Pt.fill(void 0),this.#Qt.fill(void 0),this.#qt&&this.#Gt){this.#qt.fill(0),this.#Gt.fill(0);for(let i of this.#zt??[])i!==void 0&&clearTimeout(i);this.#zt?.fill(void 0)}if(this.#Ht&&this.#Ht.fill(0),this.#Lt=0,this.#Ft=0,this.#Ut.length=0,this.#xt=0,this.#Ot=0,this.#Yt&&this.#jt){let i=this.#jt,u;for(;u=i?.shift();)this.#Rt?.(...u)}}};i.LRUCache=L}));var W=R((i=>{"use strict";var u=i&&i.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(i,"__esModule",{value:!0});i.Minipass=i.isWritable=i.isReadable=i.isStream=void 0;var I=typeof process=="object"&&process?process:{stdout:null,stderr:null},B=A(78474),Q=u(A(57075)),P=A(68574),or=u=>!!u&&typeof u=="object"&&(u instanceof He||u instanceof Q.default||(0,i.isReadable)(u)||(0,i.isWritable)(u));i.isStream=or;var ar=i=>!!i&&typeof i=="object"&&i instanceof B.EventEmitter&&typeof i.pipe=="function"&&i.pipe!==Q.default.Writable.prototype.pipe;i.isReadable=ar;var lr=i=>!!i&&typeof i=="object"&&i instanceof B.EventEmitter&&typeof i.write=="function"&&typeof i.end=="function";i.isWritable=lr;var D=Symbol("EOF"),L=Symbol("maybeEmitEnd"),U=Symbol("emittedEnd"),G=Symbol("emittingEnd"),z=Symbol("emittedError"),W=Symbol("closed"),Y=Symbol("read"),J=Symbol("flush"),$=Symbol("flushChunk"),K=Symbol("encoding"),X=Symbol("decoder"),he=Symbol("flowing"),Ae=Symbol("paused"),ye=Symbol("resume"),be=Symbol("buffer"),Ee=Symbol("pipes"),Ce=Symbol("bufferLength"),we=Symbol("bufferPush"),ve=Symbol("bufferShift"),Se=Symbol("objectMode"),Re=Symbol("destroyed"),Ne=Symbol("error"),_e=Symbol("emitData"),Oe=Symbol("emitEnd"),xe=Symbol("emitEnd2"),ke=Symbol("async"),Qe=Symbol("abort"),Pe=Symbol("aborted"),De=Symbol("signal"),Me=Symbol("dataListeners"),Fe=Symbol("discarded"),ft=i=>Promise.resolve().then(i),cr=i=>i(),ur=i=>i==="end"||i==="finish"||i==="prefinish",fr=i=>i instanceof ArrayBuffer||!!i&&typeof i=="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0,dr=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i),Ue=class{src;dest;opts;ondrain;constructor(i,u,A){this.src=i,this.dest=u,this.opts=A,this.ondrain=()=>i[ye](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(i){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},je=class extends Ue{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(i,u,A){super(i,u,A),this.proxyErrors=i=>this.dest.emit("error",i),i.on("error",this.proxyErrors)}},pr=i=>!!i.objectMode,mr=i=>!i.objectMode&&!!i.encoding&&i.encoding!=="buffer",He=class extends B.EventEmitter{[he]=!1;[Ae]=!1;[Ee]=[];[be]=[];[Se];[K];[ke];[X];[D]=!1;[U]=!1;[G]=!1;[W]=!1;[z]=null;[Ce]=0;[Re]=!1;[De];[Pe]=!1;[Me]=0;[Fe]=!1;writable=!0;readable=!0;constructor(...i){let u=i[0]||{};if(super(),u.objectMode&&typeof u.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");pr(u)?(this[Se]=!0,this[K]=null):mr(u)?(this[K]=u.encoding,this[Se]=!1):(this[Se]=!1,this[K]=null),this[ke]=!!u.async,this[X]=this[K]?new P.StringDecoder(this[K]):null,u&&u.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[be]}),u&&u.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Ee]});let{signal:A}=u;A&&(this[De]=A,A.aborted?this[Qe]():A.addEventListener("abort",(()=>this[Qe]())))}get bufferLength(){return this[Ce]}get encoding(){return this[K]}set encoding(i){throw new Error("Encoding must be set at instantiation time")}setEncoding(i){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Se]}set objectMode(i){throw new Error("objectMode must be set at instantiation time")}get async(){return this[ke]}set async(i){this[ke]=this[ke]||!!i}[Qe](){this[Pe]=!0,this.emit("abort",this[De]?.reason),this.destroy(this[De]?.reason)}get aborted(){return this[Pe]}set aborted(i){}write(i,u,A){if(this[Pe])return!1;if(this[D])throw new Error("write after end");if(this[Re])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof u=="function"&&(A=u,u="utf8"),u||(u="utf8");let I=this[ke]?ft:cr;if(!this[Se]&&!Buffer.isBuffer(i)){if(dr(i))i=Buffer.from(i.buffer,i.byteOffset,i.byteLength);else if(fr(i))i=Buffer.from(i);else if(typeof i!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Se]?(this[he]&&this[Ce]!==0&&this[J](!0),this[he]?this.emit("data",i):this[we](i),this[Ce]!==0&&this.emit("readable"),A&&I(A),this[he]):i.length?(typeof i=="string"&&!(u===this[K]&&!this[X]?.lastNeed)&&(i=Buffer.from(i,u)),Buffer.isBuffer(i)&&this[K]&&(i=this[X].write(i)),this[he]&&this[Ce]!==0&&this[J](!0),this[he]?this.emit("data",i):this[we](i),this[Ce]!==0&&this.emit("readable"),A&&I(A),this[he]):(this[Ce]!==0&&this.emit("readable"),A&&I(A),this[he])}read(i){if(this[Re])return null;if(this[Fe]=!1,this[Ce]===0||i===0||i&&i>this[Ce])return this[L](),null;this[Se]&&(i=null),this[be].length>1&&!this[Se]&&(this[be]=[this[K]?this[be].join(""):Buffer.concat(this[be],this[Ce])]);let u=this[Y](i||null,this[be][0]);return this[L](),u}[Y](i,u){if(this[Se])this[ve]();else{let A=u;i===A.length||i===null?this[ve]():typeof A=="string"?(this[be][0]=A.slice(i),u=A.slice(0,i),this[Ce]-=i):(this[be][0]=A.subarray(i),u=A.subarray(0,i),this[Ce]-=i)}return this.emit("data",u),!this[be].length&&!this[D]&&this.emit("drain"),u}end(i,u,A){return typeof i=="function"&&(A=i,i=void 0),typeof u=="function"&&(A=u,u="utf8"),i!==void 0&&this.write(i,u),A&&this.once("end",A),this[D]=!0,this.writable=!1,(this[he]||!this[Ae])&&this[L](),this}[ye](){this[Re]||(!this[Me]&&!this[Ee].length&&(this[Fe]=!0),this[Ae]=!1,this[he]=!0,this.emit("resume"),this[be].length?this[J]():this[D]?this[L]():this.emit("drain"))}resume(){return this[ye]()}pause(){this[he]=!1,this[Ae]=!0,this[Fe]=!1}get destroyed(){return this[Re]}get flowing(){return this[he]}get paused(){return this[Ae]}[we](i){this[Se]?this[Ce]+=1:this[Ce]+=i.length,this[be].push(i)}[ve](){return this[Se]?this[Ce]-=1:this[Ce]-=this[be][0].length,this[be].shift()}[J](i=!1){do{}while(this[$](this[ve]())&&this[be].length);!i&&!this[be].length&&!this[D]&&this.emit("drain")}[$](i){return this.emit("data",i),this[he]}pipe(i,u){if(this[Re])return i;this[Fe]=!1;let A=this[U];return u=u||{},i===I.stdout||i===I.stderr?u.end=!1:u.end=u.end!==!1,u.proxyErrors=!!u.proxyErrors,A?u.end&&i.end():(this[Ee].push(u.proxyErrors?new je(this,i,u):new Ue(this,i,u)),this[ke]?ft((()=>this[ye]())):this[ye]()),i}unpipe(i){let u=this[Ee].find((u=>u.dest===i));u&&(this[Ee].length===1?(this[he]&&this[Me]===0&&(this[he]=!1),this[Ee]=[]):this[Ee].splice(this[Ee].indexOf(u),1),u.unpipe())}addListener(i,u){return this.on(i,u)}on(i,u){let A=super.on(i,u);if(i==="data")this[Fe]=!1,this[Me]++,!this[Ee].length&&!this[he]&&this[ye]();else if(i==="readable"&&this[Ce]!==0)super.emit("readable");else if(ur(i)&&this[U])super.emit(i),this.removeAllListeners(i);else if(i==="error"&&this[z]){let i=u;this[ke]?ft((()=>i.call(this,this[z]))):i.call(this,this[z])}return A}removeListener(i,u){return this.off(i,u)}off(i,u){let A=super.off(i,u);return i==="data"&&(this[Me]=this.listeners("data").length,this[Me]===0&&!this[Fe]&&!this[Ee].length&&(this[he]=!1)),A}removeAllListeners(i){let u=super.removeAllListeners(i);return(i==="data"||i===void 0)&&(this[Me]=0,!this[Fe]&&!this[Ee].length&&(this[he]=!1)),u}get emittedEnd(){return this[U]}[L](){!this[G]&&!this[U]&&!this[Re]&&this[be].length===0&&this[D]&&(this[G]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[W]&&this.emit("close"),this[G]=!1)}emit(i,...u){let A=u[0];if(i!=="error"&&i!=="close"&&i!==Re&&this[Re])return!1;if(i==="data")return!this[Se]&&!A?!1:this[ke]?(ft((()=>this[_e](A))),!0):this[_e](A);if(i==="end")return this[Oe]();if(i==="close"){if(this[W]=!0,!this[U]&&!this[Re])return!1;let i=super.emit("close");return this.removeAllListeners("close"),i}else if(i==="error"){this[z]=A,super.emit(Ne,A);let i=!this[De]||this.listeners("error").length?super.emit("error",A):!1;return this[L](),i}else if(i==="resume"){let i=super.emit("resume");return this[L](),i}else if(i==="finish"||i==="prefinish"){let u=super.emit(i);return this.removeAllListeners(i),u}let I=super.emit(i,...u);return this[L](),I}[_e](i){for(let u of this[Ee])u.dest.write(i)===!1&&this.pause();let u=this[Fe]?!1:super.emit("data",i);return this[L](),u}[Oe](){return this[U]?!1:(this[U]=!0,this.readable=!1,this[ke]?(ft((()=>this[xe]())),!0):this[xe]())}[xe](){if(this[X]){let i=this[X].end();if(i){for(let u of this[Ee])u.dest.write(i);this[Fe]||super.emit("data",i)}}for(let i of this[Ee])i.end();let i=super.emit("end");return this.removeAllListeners("end"),i}async collect(){let i=Object.assign([],{dataLength:0});this[Se]||(i.dataLength=0);let u=this.promise();return this.on("data",(u=>{i.push(u),this[Se]||(i.dataLength+=u.length)})),await u,i}async concat(){if(this[Se])throw new Error("cannot concat in objectMode");let i=await this.collect();return this[K]?i.join(""):Buffer.concat(i,i.dataLength)}async promise(){return new Promise(((i,u)=>{this.on(Re,(()=>u(new Error("stream destroyed")))),this.on("error",(i=>u(i))),this.on("end",(()=>i()))}))}[Symbol.asyncIterator](){this[Fe]=!1;let i=!1,e=async()=>(this.pause(),i=!0,{value:void 0,done:!0});return{next:()=>{if(i)return e();let u=this.read();if(u!==null)return Promise.resolve({done:!1,value:u});if(this[D])return e();let A,I,o=i=>{this.off("data",a),this.off("end",l),this.off(Re,f),e(),I(i)},a=i=>{this.off("error",o),this.off("end",l),this.off(Re,f),this.pause(),A({value:i,done:!!this[D]})},l=()=>{this.off("error",o),this.off("data",a),this.off(Re,f),e(),A({done:!0,value:void 0})},f=()=>o(new Error("stream destroyed"));return new Promise(((i,u)=>{I=u,A=i,this.once(Re,f),this.once("error",o),this.once("end",l),this.once("data",a)}))},throw:e,return:e,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[Fe]=!1;let i=!1,e=()=>(this.pause(),this.off(Ne,e),this.off(Re,e),this.off("end",e),i=!0,{done:!0,value:void 0}),s=()=>{if(i)return e();let u=this.read();return u===null?e():{done:!1,value:u}};return this.once("end",e),this.once(Ne,e),this.once(Re,e),{next:s,throw:e,return:e,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(i){if(this[Re])return i?this.emit("error",i):this.emit(Re),this;this[Re]=!0,this[Fe]=!0,this[be].length=0,this[Ce]=0;let u=this;return typeof u.close=="function"&&!this[W]&&u.close(),i?this.emit("error",i):this.emit(Re),this}static get isStream(){return i.isStream}};i.Minipass=He}));var Y=R((i=>{"use strict";var u=i&&i.__createBinding||(Object.create?function(i,u,A,I){I===void 0&&(I=A);var B=Object.getOwnPropertyDescriptor(u,A);(!B||("get"in B?!u.__esModule:B.writable||B.configurable))&&(B={enumerable:!0,get:function(){return u[A]}}),Object.defineProperty(i,I,B)}:function(i,u,A,I){I===void 0&&(I=A),i[I]=u[A]}),I=i&&i.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:!0,value:u})}:function(i,u){i.default=u}),B=i&&i.__importStar||function(i){if(i&&i.__esModule)return i;var A={};if(i!=null)for(var B in i)B!=="default"&&Object.prototype.hasOwnProperty.call(i,B)&&u(A,i,B);return I(A,i),A};Object.defineProperty(i,"__esModule",{value:!0});i.PathScurry=i.Path=i.PathScurryDarwin=i.PathScurryPosix=i.PathScurryWin32=i.PathScurryBase=i.PathPosix=i.PathWin32=i.PathBase=i.ChildrenCache=i.ResolveCache=void 0;var Q=z(),P=A(76760),D=A(73136),L=A(79896),U=B(A(73024)),G=L.realpathSync.native,Y=A(51455),J=W(),$={lstatSync:L.lstatSync,readdir:L.readdir,readdirSync:L.readdirSync,readlinkSync:L.readlinkSync,realpathSync:G,promises:{lstat:Y.lstat,readdir:Y.readdir,readlink:Y.readlink,realpath:Y.realpath}},_s=i=>!i||i===$||i===U?$:{...$,...i,promises:{...$.promises,...i.promises||{}}},K=/^\\\\\?\\([a-z]:)\\?$/i,Er=i=>i.replace(/\//g,"\\").replace(K,"$1\\"),X=/[\\\/]/,he=0,Ae=1,ye=2,be=4,Ee=6,Ce=8,we=10,ve=12,Se=15,Re=~Se,Ne=16,_e=32,Oe=64,xe=128,ke=256,Qe=512,Pe=Oe|xe|Qe,De=1023,Te=i=>i.isFile()?Ce:i.isDirectory()?be:i.isSymbolicLink()?we:i.isCharacterDevice()?ye:i.isBlockDevice()?Ee:i.isSocket()?ve:i.isFIFO()?Ae:he,Me=new Q.LRUCache({max:2**12}),wt=i=>{let u=Me.get(i);if(u)return u;let A=i.normalize("NFKD");return Me.set(i,A),A},Fe=new Q.LRUCache({max:2**12}),Kt=i=>{let u=Fe.get(i);if(u)return u;let A=wt(i.toLowerCase());return Fe.set(i,A),A},Ue=class extends Q.LRUCache{constructor(){super({max:256})}};i.ResolveCache=Ue;var je=class extends Q.LRUCache{constructor(i=16*1024){super({maxSize:i,sizeCalculation:i=>i.length+1})}};i.ChildrenCache=je;var He=Symbol("PathScurry setAsCwd"),Ge=class{name;root;roots;parent;nocase;isCWD=!1;#vt;#St;get dev(){return this.#St}#It;get mode(){return this.#It}#Bt;get nlink(){return this.#Bt}#Rt;get uid(){return this.#Rt}#Nt;get gid(){return this.#Nt}#_t;get rdev(){return this.#_t}#Tt;get blksize(){return this.#Tt}#Ot;get ino(){return this.#Ot}#xt;get size(){return this.#xt}#kt;get blocks(){return this.#kt}#Qt;get atimeMs(){return this.#Qt}#Pt;get mtimeMs(){return this.#Pt}#Mt;get ctimeMs(){return this.#Mt}#Dt;get birthtimeMs(){return this.#Dt}#Lt;get atime(){return this.#Lt}#Ft;get mtime(){return this.#Ft}#Ut;get ctime(){return this.#Ut}#jt;get birthtime(){return this.#jt}#Ht;#Gt;#qt;#zt;#Vt;#Wt;#Yt;#Jt;#nr;#or;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(i,u=he,A,I,B,Q,P){this.name=i,this.#Ht=B?Kt(i):wt(i),this.#Yt=u&De,this.nocase=B,this.roots=I,this.root=A||this,this.#Jt=Q,this.#qt=P.fullpath,this.#Vt=P.relative,this.#Wt=P.relativePosix,this.parent=P.parent,this.parent?this.#vt=this.parent.#vt:this.#vt=_s(P.fs)}depth(){return this.#Gt!==void 0?this.#Gt:this.parent?this.#Gt=this.parent.depth()+1:this.#Gt=0}childrenCache(){return this.#Jt}resolve(i){if(!i)return this;let u=this.getRootString(i),A=i.substring(u.length).split(this.splitSep);return u?this.getRoot(u).#ar(A):this.#ar(A)}#ar(i){let u=this;for(let A of i)u=u.child(A);return u}children(){let i=this.#Jt.get(this);if(i)return i;let u=Object.assign([],{provisional:0});return this.#Jt.set(this,u),this.#Yt&=~Ne,u}child(i,u){if(i===""||i===".")return this;if(i==="..")return this.parent||this;let A=this.children(),I=this.nocase?Kt(i):wt(i);for(let i of A)if(i.#Ht===I)return i;let B=this.parent?this.sep:"",Q=this.#qt?this.#qt+B+i:void 0,P=this.newChild(i,he,{...u,parent:this,fullpath:Q});return this.canReaddir()||(P.#Yt|=xe),A.push(P),P}relative(){if(this.isCWD)return"";if(this.#Vt!==void 0)return this.#Vt;let i=this.name,u=this.parent;if(!u)return this.#Vt=this.name;let A=u.relative();return A+(!A||!u.parent?"":this.sep)+i}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#Wt!==void 0)return this.#Wt;let i=this.name,u=this.parent;if(!u)return this.#Wt=this.fullpathPosix();let A=u.relativePosix();return A+(!A||!u.parent?"":"/")+i}fullpath(){if(this.#qt!==void 0)return this.#qt;let i=this.name,u=this.parent;if(!u)return this.#qt=this.name;let A=u.fullpath()+(u.parent?this.sep:"")+i;return this.#qt=A}fullpathPosix(){if(this.#zt!==void 0)return this.#zt;if(this.sep==="/")return this.#zt=this.fullpath();if(!this.parent){let i=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(i)?this.#zt=`//?/${i}`:this.#zt=i}let i=this.parent,u=i.fullpathPosix(),A=u+(!u||!i.parent?"":"/")+this.name;return this.#zt=A}isUnknown(){return(this.#Yt&Se)===he}isType(i){return this[`is${i}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#Yt&Se)===Ce}isDirectory(){return(this.#Yt&Se)===be}isCharacterDevice(){return(this.#Yt&Se)===ye}isBlockDevice(){return(this.#Yt&Se)===Ee}isFIFO(){return(this.#Yt&Se)===Ae}isSocket(){return(this.#Yt&Se)===ve}isSymbolicLink(){return(this.#Yt&we)===we}lstatCached(){return this.#Yt&_e?this:void 0}readlinkCached(){return this.#nr}realpathCached(){return this.#or}readdirCached(){let i=this.children();return i.slice(0,i.provisional)}canReadlink(){if(this.#nr)return!0;if(!this.parent)return!1;let i=this.#Yt&Se;return!(i!==he&&i!==we||this.#Yt&ke||this.#Yt&xe)}calledReaddir(){return!!(this.#Yt&Ne)}isENOENT(){return!!(this.#Yt&xe)}isNamed(i){return this.nocase?this.#Ht===Kt(i):this.#Ht===wt(i)}async readlink(){let i=this.#nr;if(i)return i;if(this.canReadlink()&&this.parent)try{let i=await this.#vt.promises.readlink(this.fullpath()),u=(await this.parent.realpath())?.resolve(i);if(u)return this.#nr=u}catch(i){this.#er(i.code);return}}readlinkSync(){let i=this.#nr;if(i)return i;if(this.canReadlink()&&this.parent)try{let i=this.#vt.readlinkSync(this.fullpath()),u=this.parent.realpathSync()?.resolve(i);if(u)return this.#nr=u}catch(i){this.#er(i.code);return}}#ir(i){this.#Yt|=Ne;for(let u=i.provisional;uu(null,i)))}readdirCB(i,u=!1){if(!this.canReaddir()){u?i(null,[]):queueMicrotask((()=>i(null,[])));return}let A=this.children();if(this.calledReaddir()){let I=A.slice(0,A.provisional);u?i(null,I):queueMicrotask((()=>i(null,I)));return}if(this.#Xt.push(i),this.#sr)return;this.#sr=!0;let I=this.fullpath();this.#vt.readdir(I,{withFileTypes:!0},((i,u)=>{if(i)this.#lr(i.code),A.provisional=0;else{for(let i of u)this.#fr(i,A);this.#ir(A)}this.#pr(A.slice(0,A.provisional))}))}#Ar;async readdir(){if(!this.canReaddir())return[];let i=this.children();if(this.calledReaddir())return i.slice(0,i.provisional);let u=this.fullpath();if(this.#Ar)await this.#Ar;else{let s=()=>{};this.#Ar=new Promise((i=>s=i));try{for(let A of await this.#vt.promises.readdir(u,{withFileTypes:!0}))this.#fr(A,i);this.#ir(i)}catch(u){this.#lr(u.code),i.provisional=0}this.#Ar=void 0,s()}return i.slice(0,i.provisional)}readdirSync(){if(!this.canReaddir())return[];let i=this.children();if(this.calledReaddir())return i.slice(0,i.provisional);let u=this.fullpath();try{for(let A of this.#vt.readdirSync(u,{withFileTypes:!0}))this.#fr(A,i);this.#ir(i)}catch(u){this.#lr(u.code),i.provisional=0}return i.slice(0,i.provisional)}canReaddir(){if(this.#Yt&Pe)return!1;let i=Se&this.#Yt;return i===he||i===be||i===we}shouldWalk(i,u){return(this.#Yt&be)===be&&!(this.#Yt&Pe)&&!i.has(this)&&(!u||u(this))}async realpath(){if(this.#or)return this.#or;if(!((Qe|ke|xe)&this.#Yt))try{let i=await this.#vt.promises.realpath(this.fullpath());return this.#or=this.resolve(i)}catch{this.#cr()}}realpathSync(){if(this.#or)return this.#or;if(!((Qe|ke|xe)&this.#Yt))try{let i=this.#vt.realpathSync(this.fullpath());return this.#or=this.resolve(i)}catch{this.#cr()}}[He](i){if(i===this)return;i.isCWD=!1,this.isCWD=!0;let u=new Set([]),A=[],I=this;for(;I&&I.parent;)u.add(I),I.#Vt=A.join(this.sep),I.#Wt=A.join("/"),I=I.parent,A.push("..");for(I=i;I&&I.parent&&!u.has(I);)I.#Vt=void 0,I.#Wt=void 0,I=I.parent}};i.PathBase=Ge;var qe=class n extends Ge{sep="\\";splitSep=X;constructor(i,u=he,A,I,B,Q,P){super(i,u,A,I,B,Q,P)}newChild(i,u=he,A={}){return new n(i,u,this.root,this.roots,this.nocase,this.childrenCache(),A)}getRootString(i){return P.win32.parse(i).root}getRoot(i){if(i=Er(i.toUpperCase()),i===this.root.name)return this.root;for(let[u,A]of Object.entries(this.roots))if(this.sameRoot(i,u))return this.roots[i]=A;return this.roots[i]=new $e(i,this).root}sameRoot(i,u=this.root.name){return i=i.toUpperCase().replace(/\//g,"\\").replace(K,"$1\\"),i===u}};i.PathWin32=qe;var ze=class n extends Ge{splitSep="/";sep="/";constructor(i,u=he,A,I,B,Q,P){super(i,u,A,I,B,Q,P)}getRootString(i){return i.startsWith("/")?"/":""}getRoot(i){return this.root}newChild(i,u=he,A={}){return new n(i,u,this.root,this.roots,this.nocase,this.childrenCache(),A)}};i.PathPosix=ze;var Je=class{root;rootPath;roots;cwd;#vt;#St;#It;nocase;#Bt;constructor(i=process.cwd(),u,A,{nocase:I,childrenCacheSize:B=16*1024,fs:Q=$}={}){this.#Bt=_s(Q),(i instanceof URL||i.startsWith("file://"))&&(i=(0,D.fileURLToPath)(i));let P=u.resolve(i);this.roots=Object.create(null),this.rootPath=this.parseRootPath(P),this.#vt=new Ue,this.#St=new Ue,this.#It=new je(B);let L=P.substring(this.rootPath.length).split(A);if(L.length===1&&!L[0]&&L.pop(),I===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=I,this.root=this.newRoot(this.#Bt),this.roots[this.rootPath]=this.root;let U=this.root,G=L.length-1,z=u.sep,W=this.rootPath,Y=!1;for(let i of L){let u=G--;U=U.child(i,{relative:new Array(u).fill("..").join(z),relativePosix:new Array(u).fill("..").join("/"),fullpath:W+=(Y?"":z)+i}),Y=!0}this.cwd=U}depth(i=this.cwd){return typeof i=="string"&&(i=this.cwd.resolve(i)),i.depth()}childrenCache(){return this.#It}resolve(...i){let u="";for(let A=i.length-1;A>=0;A--){let I=i[A];if(!(!I||I===".")&&(u=u?`${I}/${u}`:I,this.isAbsolute(I)))break}let A=this.#vt.get(u);if(A!==void 0)return A;let I=this.cwd.resolve(u).fullpath();return this.#vt.set(u,I),I}resolvePosix(...i){let u="";for(let A=i.length-1;A>=0;A--){let I=i[A];if(!(!I||I===".")&&(u=u?`${I}/${u}`:I,this.isAbsolute(I)))break}let A=this.#St.get(u);if(A!==void 0)return A;let I=this.cwd.resolve(u).fullpathPosix();return this.#St.set(u,I),I}relative(i=this.cwd){return typeof i=="string"&&(i=this.cwd.resolve(i)),i.relative()}relativePosix(i=this.cwd){return typeof i=="string"&&(i=this.cwd.resolve(i)),i.relativePosix()}basename(i=this.cwd){return typeof i=="string"&&(i=this.cwd.resolve(i)),i.name}dirname(i=this.cwd){return typeof i=="string"&&(i=this.cwd.resolve(i)),(i.parent||i).fullpath()}async readdir(i=this.cwd,u={withFileTypes:!0}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i,i=this.cwd);let{withFileTypes:A}=u;if(i.canReaddir()){let u=await i.readdir();return A?u:u.map((i=>i.name))}else return[]}readdirSync(i=this.cwd,u={withFileTypes:!0}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i,i=this.cwd);let{withFileTypes:A=!0}=u;return i.canReaddir()?A?i.readdirSync():i.readdirSync().map((i=>i.name)):[]}async lstat(i=this.cwd){return typeof i=="string"&&(i=this.cwd.resolve(i)),i.lstat()}lstatSync(i=this.cwd){return typeof i=="string"&&(i=this.cwd.resolve(i)),i.lstatSync()}async readlink(i=this.cwd,{withFileTypes:u}={withFileTypes:!1}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i.withFileTypes,i=this.cwd);let A=await i.readlink();return u?A:A?.fullpath()}readlinkSync(i=this.cwd,{withFileTypes:u}={withFileTypes:!1}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i.withFileTypes,i=this.cwd);let A=i.readlinkSync();return u?A:A?.fullpath()}async realpath(i=this.cwd,{withFileTypes:u}={withFileTypes:!1}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i.withFileTypes,i=this.cwd);let A=await i.realpath();return u?A:A?.fullpath()}realpathSync(i=this.cwd,{withFileTypes:u}={withFileTypes:!1}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i.withFileTypes,i=this.cwd);let A=i.realpathSync();return u?A:A?.fullpath()}async walk(i=this.cwd,u={}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i,i=this.cwd);let{withFileTypes:A=!0,follow:I=!1,filter:B,walkFilter:Q}=u,P=[];(!B||B(i))&&P.push(A?i:i.fullpath());let D=new Set,l=(i,u)=>{D.add(i),i.readdirCB(((i,L)=>{if(i)return u(i);let U=L.length;if(!U)return u();let b=()=>{--U===0&&u()};for(let i of L)(!B||B(i))&&P.push(A?i:i.fullpath()),I&&i.isSymbolicLink()?i.realpath().then((i=>i?.isUnknown()?i.lstat():i)).then((i=>i?.shouldWalk(D,Q)?l(i,b):b())):i.shouldWalk(D,Q)?l(i,b):b()}),!0)},L=i;return new Promise(((i,u)=>{l(L,(A=>{if(A)return u(A);i(P)}))}))}walkSync(i=this.cwd,u={}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i,i=this.cwd);let{withFileTypes:A=!0,follow:I=!1,filter:B,walkFilter:Q}=u,P=[];(!B||B(i))&&P.push(A?i:i.fullpath());let D=new Set([i]);for(let i of D){let u=i.readdirSync();for(let i of u){(!B||B(i))&&P.push(A?i:i.fullpath());let u=i;if(i.isSymbolicLink()){if(!(I&&(u=i.realpathSync())))continue;u.isUnknown()&&u.lstatSync()}u.shouldWalk(D,Q)&&D.add(u)}}return P}[Symbol.asyncIterator](){return this.iterate()}iterate(i=this.cwd,u={}){return typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i,i=this.cwd),this.stream(i,u)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(i=this.cwd,u={}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i,i=this.cwd);let{withFileTypes:A=!0,follow:I=!1,filter:B,walkFilter:Q}=u;(!B||B(i))&&(yield A?i:i.fullpath());let P=new Set([i]);for(let i of P){let u=i.readdirSync();for(let i of u){(!B||B(i))&&(yield A?i:i.fullpath());let u=i;if(i.isSymbolicLink()){if(!(I&&(u=i.realpathSync())))continue;u.isUnknown()&&u.lstatSync()}u.shouldWalk(P,Q)&&P.add(u)}}}stream(i=this.cwd,u={}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i,i=this.cwd);let{withFileTypes:A=!0,follow:I=!1,filter:B,walkFilter:Q}=u,P=new J.Minipass({objectMode:!0});(!B||B(i))&&P.write(A?i:i.fullpath());let D=new Set,L=[i],U=0,c=()=>{let i=!1;for(;!i;){let u=L.shift();if(!u){U===0&&P.end();return}U++,D.add(u);let m=(u,z,W=!1)=>{if(u)return P.emit("error",u);if(I&&!W){let i=[];for(let u of z)u.isSymbolicLink()&&i.push(u.realpath().then((i=>i?.isUnknown()?i.lstat():i)));if(i.length){Promise.all(i).then((()=>m(null,z,!0)));return}}for(let u of z)u&&(!B||B(u))&&(P.write(A?u:u.fullpath())||(i=!0));U--;for(let i of z){let u=i.realpathCached()||i;u.shouldWalk(D,Q)&&L.push(u)}i&&!P.flowing?P.once("drain",c):G||c()},G=!0;u.readdirCB(m,!0),G=!1}};return c(),P}streamSync(i=this.cwd,u={}){typeof i=="string"?i=this.cwd.resolve(i):i instanceof Ge||(u=i,i=this.cwd);let{withFileTypes:A=!0,follow:I=!1,filter:B,walkFilter:Q}=u,P=new J.Minipass({objectMode:!0}),D=new Set;(!B||B(i))&&P.write(A?i:i.fullpath());let L=[i],U=0,c=()=>{let i=!1;for(;!i;){let u=L.shift();if(!u){U===0&&P.end();return}U++,D.add(u);let G=u.readdirSync();for(let u of G)(!B||B(u))&&(P.write(A?u:u.fullpath())||(i=!0));U--;for(let i of G){let u=i;if(i.isSymbolicLink()){if(!(I&&(u=i.realpathSync())))continue;u.isUnknown()&&u.lstatSync()}u.shouldWalk(D,Q)&&L.push(u)}}i&&!P.flowing&&P.once("drain",c)};return c(),P}chdir(i=this.cwd){let u=this.cwd;this.cwd=typeof i=="string"?this.cwd.resolve(i):i,this.cwd[He](u)}};i.PathScurryBase=Je;var $e=class extends Je{sep="\\";constructor(i=process.cwd(),u={}){let{nocase:A=!0}=u;super(i,P.win32,"\\",{...u,nocase:A}),this.nocase=A;for(let i=this.cwd;i;i=i.parent)i.nocase=this.nocase}parseRootPath(i){return P.win32.parse(i).root.toUpperCase()}newRoot(i){return new qe(this.rootPath,be,void 0,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")||i.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(i)}};i.PathScurryWin32=$e;var Ke=class extends Je{sep="/";constructor(i=process.cwd(),u={}){let{nocase:A=!1}=u;super(i,P.posix,"/",{...u,nocase:A}),this.nocase=A}parseRootPath(i){return"/"}newRoot(i){return new ze(this.rootPath,be,void 0,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")}};i.PathScurryPosix=Ke;var Xe=class extends Ke{constructor(i=process.cwd(),u={}){let{nocase:A=!0}=u;super(i,{...u,nocase:A})}};i.PathScurryDarwin=Xe;i.Path=process.platform==="win32"?qe:ze;i.PathScurry=process.platform==="win32"?$e:process.platform==="darwin"?Xe:Ke}));var J=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.Pattern=void 0;var u=G(),Tr=i=>i.length>=1,Cr=i=>i.length>=1,A=Symbol.for("nodejs.util.inspect.custom"),I=class n{#vt;#St;#It;length;#Bt;#Rt;#Nt;#_t;#Tt;#Ot;#xt=!0;constructor(i,u,A,I){if(!Tr(i))throw new TypeError("empty pattern list");if(!Cr(u))throw new TypeError("empty glob list");if(u.length!==i.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=i.length,A<0||A>=this.length)throw new TypeError("index out of range");if(this.#vt=i,this.#St=u,this.#It=A,this.#Bt=I,this.#It===0){if(this.isUNC()){let[i,u,A,I,...B]=this.#vt,[Q,P,D,L,...U]=this.#St;B[0]===""&&(B.shift(),U.shift());let G=[i,u,A,I,""].join("/"),z=[Q,P,D,L,""].join("/");this.#vt=[G,...B],this.#St=[z,...U],this.length=this.#vt.length}else if(this.isDrive()||this.isAbsolute()){let[i,...u]=this.#vt,[A,...I]=this.#St;u[0]===""&&(u.shift(),I.shift());let B=i+"/",Q=A+"/";this.#vt=[B,...u],this.#St=[Q,...I],this.length=this.#vt.length}}}[A](){return"Pattern <"+this.#St.slice(this.#It).join("/")+">"}pattern(){return this.#vt[this.#It]}isString(){return typeof this.#vt[this.#It]=="string"}isGlobstar(){return this.#vt[this.#It]===u.GLOBSTAR}isRegExp(){return this.#vt[this.#It]instanceof RegExp}globString(){return this.#Nt=this.#Nt||(this.#It===0?this.isAbsolute()?this.#St[0]+this.#St.slice(1).join("/"):this.#St.join("/"):this.#St.slice(this.#It).join("/"))}hasMore(){return this.length>this.#It+1}rest(){return this.#Rt!==void 0?this.#Rt:this.hasMore()?(this.#Rt=new n(this.#vt,this.#St,this.#It+1,this.#Bt),this.#Rt.#Ot=this.#Ot,this.#Rt.#Tt=this.#Tt,this.#Rt.#_t=this.#_t,this.#Rt):this.#Rt=null}isUNC(){let i=this.#vt;return this.#Tt!==void 0?this.#Tt:this.#Tt=this.#Bt==="win32"&&this.#It===0&&i[0]===""&&i[1]===""&&typeof i[2]=="string"&&!!i[2]&&typeof i[3]=="string"&&!!i[3]}isDrive(){let i=this.#vt;return this.#_t!==void 0?this.#_t:this.#_t=this.#Bt==="win32"&&this.#It===0&&this.length>1&&typeof i[0]=="string"&&/^[a-z]:$/i.test(i[0])}isAbsolute(){let i=this.#vt;return this.#Ot!==void 0?this.#Ot:this.#Ot=i[0]===""&&i.length>1||this.isDrive()||this.isUNC()}root(){let i=this.#vt[0];return typeof i=="string"&&this.isAbsolute()&&this.#It===0?i:""}checkFollowGlobstar(){return!(this.#It===0||!this.isGlobstar()||!this.#xt)}markFollowGlobstar(){return this.#It===0||!this.isGlobstar()||!this.#xt?!1:(this.#xt=!1,!0)}};i.Pattern=I}));var $=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.Ignore=void 0;var u=G(),A=J(),I=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",B=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(i,{nobrace:u,nocase:A,noext:B,noglobstar:Q,platform:P=I}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=P,this.mmopts={dot:!0,nobrace:u,nocase:A,noext:B,noglobstar:Q,optimizationLevel:2,platform:P,nocomment:!0,nonegate:!0};for(let u of i)this.add(u)}add(i){let I=new u.Minimatch(i,this.mmopts);for(let i=0;i{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.Processor=i.SubWalks=i.MatchRecord=i.HasWalkedCache=void 0;var u=G(),A=class n{store;constructor(i=new Map){this.store=i}copy(){return new n(new Map(this.store))}hasWalked(i,u){return this.store.get(i.fullpath())?.has(u.globString())}storeWalked(i,u){let A=i.fullpath(),I=this.store.get(A);I?I.add(u.globString()):this.store.set(A,new Set([u.globString()]))}};i.HasWalkedCache=A;var I=class{store=new Map;add(i,u,A){let I=(u?2:0)|(A?1:0),B=this.store.get(i);this.store.set(i,B===void 0?I:I&B)}entries(){return[...this.store.entries()].map((([i,u])=>[i,!!(u&2),!!(u&1)]))}};i.MatchRecord=I;var B=class{store=new Map;add(i,u){if(!i.canReaddir())return;let A=this.store.get(i);A?A.find((i=>i.globString()===u.globString()))||A.push(u):this.store.set(i,[u])}get(i){let u=this.store.get(i);if(!u)throw new Error("attempting to walk unknown path");return u}entries(){return this.keys().map((i=>[i,this.store.get(i)]))}keys(){return[...this.store.keys()].filter((i=>i.canReaddir()))}};i.SubWalks=B;var Q=class n{hasWalkedCache;matches=new I;subwalks=new B;patterns;follow;dot;opts;constructor(i,u){this.opts=i,this.follow=!!i.follow,this.dot=!!i.dot,this.hasWalkedCache=u?u.copy():new A}processPatterns(i,A){this.patterns=A;let I=A.map((u=>[i,u]));for(let[i,A]of I){this.hasWalkedCache.storeWalked(i,A);let I=A.root(),B=A.isAbsolute()&&this.opts.absolute!==!1;if(I){i=i.resolve(I==="/"&&this.opts.root!==void 0?this.opts.root:I);let u=A.rest();if(u)A=u;else{this.matches.add(i,!0,!1);continue}}if(i.isENOENT())continue;let Q,P,D=!1;for(;typeof(Q=A.pattern())=="string"&&(P=A.rest());)i=i.resolve(Q),A=P,D=!0;if(Q=A.pattern(),P=A.rest(),D){if(this.hasWalkedCache.hasWalked(i,A))continue;this.hasWalkedCache.storeWalked(i,A)}if(typeof Q=="string"){let u=Q===".."||Q===""||Q===".";this.matches.add(i.resolve(Q),B,u);continue}else if(Q===u.GLOBSTAR){(!i.isSymbolicLink()||this.follow||A.checkFollowGlobstar())&&this.subwalks.add(i,A);let u=P?.pattern(),I=P?.rest();if(!P||(u===""||u===".")&&!I)this.matches.add(i,B,u===""||u===".");else if(u===".."){let u=i.parent||i;I?this.hasWalkedCache.hasWalked(u,I)||this.subwalks.add(u,I):this.matches.add(u,B,!0)}}else Q instanceof RegExp&&this.subwalks.add(i,A)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new n(this.opts,this.hasWalkedCache)}filterEntries(i,A){let I=this.subwalks.get(i),B=this.child();for(let i of A)for(let A of I){let I=A.isAbsolute(),Q=A.pattern(),P=A.rest();Q===u.GLOBSTAR?B.testGlobstar(i,A,P,I):Q instanceof RegExp?B.testRegExp(i,Q,P,I):B.testString(i,Q,P,I)}return B}testGlobstar(i,u,A,I){if((this.dot||!i.name.startsWith("."))&&(u.hasMore()||this.matches.add(i,I,!1),i.canReaddir()&&(this.follow||!i.isSymbolicLink()?this.subwalks.add(i,u):i.isSymbolicLink()&&(A&&u.checkFollowGlobstar()?this.subwalks.add(i,A):u.markFollowGlobstar()&&this.subwalks.add(i,u)))),A){let u=A.pattern();if(typeof u=="string"&&u!==".."&&u!==""&&u!==".")this.testString(i,u,A.rest(),I);else if(u===".."){let u=i.parent||i;this.subwalks.add(u,A)}else u instanceof RegExp&&this.testRegExp(i,u,A.rest(),I)}}testRegExp(i,u,A,I){u.test(i.name)&&(A?this.subwalks.add(i,A):this.matches.add(i,I,!1))}testString(i,u,A,I){i.isNamed(u)&&(A?this.subwalks.add(i,A):this.matches.add(i,I,!1))}};i.Processor=Q}));var X=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.GlobStream=i.GlobWalker=i.GlobUtil=void 0;var u=W(),A=$(),I=K(),Pr=(i,u)=>typeof i=="string"?new A.Ignore([i],u):Array.isArray(i)?new A.Ignore(i,u):i,B=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#vt=[];#St;#It;signal;maxDepth;includeChildMatches;constructor(i,u,A){if(this.patterns=i,this.path=u,this.opts=A,this.#It=!A.posix&&A.platform==="win32"?"\\":"/",this.includeChildMatches=A.includeChildMatches!==!1,(A.ignore||!this.includeChildMatches)&&(this.#St=Pr(A.ignore??[],A),!this.includeChildMatches&&typeof this.#St.add!="function")){let i="cannot ignore child matches, ignore lacks add() method.";throw new Error(i)}this.maxDepth=A.maxDepth||1/0,A.signal&&(this.signal=A.signal,this.signal.addEventListener("abort",(()=>{this.#vt.length=0})))}#Bt(i){return this.seen.has(i)||!!this.#St?.ignored?.(i)}#Rt(i){return!!this.#St?.childrenIgnored?.(i)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let i;for(;!this.paused&&(i=this.#vt.shift());)i()}onResume(i){this.signal?.aborted||(this.paused?this.#vt.push(i):i())}async matchCheck(i,u){if(u&&this.opts.nodir)return;let A;if(this.opts.realpath){if(A=i.realpathCached()||await i.realpath(),!A)return;i=A}let I=i.isUnknown()||this.opts.stat?await i.lstat():i;if(this.opts.follow&&this.opts.nodir&&I?.isSymbolicLink()){let i=await I.realpath();i&&(i.isUnknown()||this.opts.stat)&&await i.lstat()}return this.matchCheckTest(I,u)}matchCheckTest(i,u){return i&&(this.maxDepth===1/0||i.depth()<=this.maxDepth)&&(!u||i.canReaddir())&&(!this.opts.nodir||!i.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!i.isSymbolicLink()||!i.realpathCached()?.isDirectory())&&!this.#Bt(i)?i:void 0}matchCheckSync(i,u){if(u&&this.opts.nodir)return;let A;if(this.opts.realpath){if(A=i.realpathCached()||i.realpathSync(),!A)return;i=A}let I=i.isUnknown()||this.opts.stat?i.lstatSync():i;if(this.opts.follow&&this.opts.nodir&&I?.isSymbolicLink()){let i=I.realpathSync();i&&(i?.isUnknown()||this.opts.stat)&&i.lstatSync()}return this.matchCheckTest(I,u)}matchFinish(i,u){if(this.#Bt(i))return;if(!this.includeChildMatches&&this.#St?.add){let u=`${i.relativePosix()}/**`;this.#St.add(u)}let A=this.opts.absolute===void 0?u:this.opts.absolute;this.seen.add(i);let I=this.opts.mark&&i.isDirectory()?this.#It:"";if(this.opts.withFileTypes)this.matchEmit(i);else if(A){let u=this.opts.posix?i.fullpathPosix():i.fullpath();this.matchEmit(u+I)}else{let u=this.opts.posix?i.relativePosix():i.relative(),A=this.opts.dotRelative&&!u.startsWith(".."+this.#It)?"."+this.#It:"";this.matchEmit(u?A+u+I:"."+I)}}async match(i,u,A){let I=await this.matchCheck(i,A);I&&this.matchFinish(I,u)}matchSync(i,u,A){let I=this.matchCheckSync(i,A);I&&this.matchFinish(I,u)}walkCB(i,u,A){this.signal?.aborted&&A(),this.walkCB2(i,u,new I.Processor(this.opts),A)}walkCB2(i,u,A,I){if(this.#Rt(i))return I();if(this.signal?.aborted&&I(),this.paused){this.onResume((()=>this.walkCB2(i,u,A,I)));return}A.processPatterns(i,u);let B=1,h=()=>{--B===0&&I()};for(let[i,u,I]of A.matches.entries())this.#Bt(i)||(B++,this.match(i,u,I).then((()=>h())));for(let i of A.subwalkTargets()){if(this.maxDepth!==1/0&&i.depth()>=this.maxDepth)continue;B++;let u=i.readdirCached();i.calledReaddir()?this.walkCB3(i,u,A,h):i.readdirCB(((u,I)=>this.walkCB3(i,I,A,h)),!0)}h()}walkCB3(i,u,A,I){A=A.filterEntries(i,u);let B=1,h=()=>{--B===0&&I()};for(let[i,u,I]of A.matches.entries())this.#Bt(i)||(B++,this.match(i,u,I).then((()=>h())));for(let[i,u]of A.subwalks.entries())B++,this.walkCB2(i,u,A.child(),h);h()}walkCBSync(i,u,A){this.signal?.aborted&&A(),this.walkCB2Sync(i,u,new I.Processor(this.opts),A)}walkCB2Sync(i,u,A,I){if(this.#Rt(i))return I();if(this.signal?.aborted&&I(),this.paused){this.onResume((()=>this.walkCB2Sync(i,u,A,I)));return}A.processPatterns(i,u);let B=1,h=()=>{--B===0&&I()};for(let[i,u,I]of A.matches.entries())this.#Bt(i)||this.matchSync(i,u,I);for(let i of A.subwalkTargets()){if(this.maxDepth!==1/0&&i.depth()>=this.maxDepth)continue;B++;let u=i.readdirSync();this.walkCB3Sync(i,u,A,h)}h()}walkCB3Sync(i,u,A,I){A=A.filterEntries(i,u);let B=1,h=()=>{--B===0&&I()};for(let[i,u,I]of A.matches.entries())this.#Bt(i)||this.matchSync(i,u,I);for(let[i,u]of A.subwalks.entries())B++,this.walkCB2Sync(i,u,A.child(),h);h()}};i.GlobUtil=B;var Q=class extends B{matches=new Set;constructor(i,u,A){super(i,u,A)}matchEmit(i){this.matches.add(i)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise(((i,u)=>{this.walkCB(this.path,this.patterns,(()=>{this.signal?.aborted?u(this.signal.reason):i(this.matches)}))})),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason})),this.matches}};i.GlobWalker=Q;var P=class extends B{results;constructor(i,A,I){super(i,A,I),this.results=new u.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",(()=>this.resume())),this.results.on("resume",(()=>this.resume()))}matchEmit(i){this.results.write(i),this.results.flowing||this.pause()}stream(){let i=this.path;return i.isUnknown()?i.lstat().then((()=>{this.walkCB(i,this.patterns,(()=>this.results.end()))})):this.walkCB(i,this.patterns,(()=>this.results.end())),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>this.results.end())),this.results}};i.GlobStream=P}));var he=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.Glob=void 0;var u=G(),I=A(73136),B=Y(),Q=J(),P=X(),D=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",L=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(i,A){if(!A)throw new TypeError("glob options required");if(this.withFileTypes=!!A.withFileTypes,this.signal=A.signal,this.follow=!!A.follow,this.dot=!!A.dot,this.dotRelative=!!A.dotRelative,this.nodir=!!A.nodir,this.mark=!!A.mark,A.cwd?(A.cwd instanceof URL||A.cwd.startsWith("file://"))&&(A.cwd=(0,I.fileURLToPath)(A.cwd)):this.cwd="",this.cwd=A.cwd||"",this.root=A.root,this.magicalBraces=!!A.magicalBraces,this.nobrace=!!A.nobrace,this.noext=!!A.noext,this.realpath=!!A.realpath,this.absolute=A.absolute,this.includeChildMatches=A.includeChildMatches!==!1,this.noglobstar=!!A.noglobstar,this.matchBase=!!A.matchBase,this.maxDepth=typeof A.maxDepth=="number"?A.maxDepth:1/0,this.stat=!!A.stat,this.ignore=A.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof i=="string"&&(i=[i]),this.windowsPathsNoEscape=!!A.windowsPathsNoEscape||A.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(i=i.map((i=>i.replace(/\\/g,"/")))),this.matchBase){if(A.noglobstar)throw new TypeError("base matching requires globstar");i=i.map((i=>i.includes("/")?i:`./**/${i}`))}if(this.pattern=i,this.platform=A.platform||D,this.opts={...A,platform:this.platform},A.scurry){if(this.scurry=A.scurry,A.nocase!==void 0&&A.nocase!==A.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let i=A.platform==="win32"?B.PathScurryWin32:A.platform==="darwin"?B.PathScurryDarwin:A.platform?B.PathScurryPosix:B.PathScurry;this.scurry=new i(this.cwd,{nocase:A.nocase,fs:A.fs})}this.nocase=this.scurry.nocase;let P=this.platform==="darwin"||this.platform==="win32",L={braceExpandMax:1e4,...A,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:P,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},U=this.pattern.map((i=>new u.Minimatch(i,L))),[G,z]=U.reduce(((i,u)=>(i[0].push(...u.set),i[1].push(...u.globParts),i)),[[],[]]);this.patterns=G.map(((i,u)=>{let A=z[u];if(!A)throw new Error("invalid pattern object");return new Q.Pattern(i,A,0,this.platform)}))}async walk(){return[...await new P.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new P.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new P.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new P.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};i.Glob=L}));var Ae=R((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.hasMagic=void 0;var u=G(),Wr=(i,A={})=>{Array.isArray(i)||(i=[i]);for(let I of i)if(new u.Minimatch(I,A).hasMagic())return!0;return!1};i.hasMagic=Wr}));Object.defineProperty(u,"__esModule",{value:!0});u.glob=u.sync=u.iterate=u.iterateSync=u.stream=u.streamSync=u.Ignore=u.hasMagic=u.Glob=u.unescape=u.escape=void 0;u.globStreamSync=xt;u.globStream=Le;u.globSync=We;u.globIterateSync=Tt;u.globIterate=Be;var ye=G(),be=he(),Ee=Ae(),Ce=G();Object.defineProperty(u,"escape",{enumerable:!0,get:function(){return Ce.escape}});Object.defineProperty(u,"unescape",{enumerable:!0,get:function(){return Ce.unescape}});var we=he();Object.defineProperty(u,"Glob",{enumerable:!0,get:function(){return we.Glob}});var ve=Ae();Object.defineProperty(u,"hasMagic",{enumerable:!0,get:function(){return ve.hasMagic}});var Se=$();Object.defineProperty(u,"Ignore",{enumerable:!0,get:function(){return Se.Ignore}});function xt(i,u={}){return new be.Glob(i,u).streamSync()}function Le(i,u={}){return new be.Glob(i,u).stream()}function We(i,u={}){return new be.Glob(i,u).walkSync()}async function Bs(i,u={}){return new be.Glob(i,u).walk()}function Tt(i,u={}){return new be.Glob(i,u).iterateSync()}function Be(i,u={}){return new be.Glob(i,u).iterate()}u.streamSync=xt;u.stream=Object.assign(Le,{sync:xt});u.iterateSync=Tt;u.iterate=Object.assign(Be,{sync:Tt});u.sync=Object.assign(We,{stream:xt,iterate:Tt});u.glob=Object.assign(Bs,{glob:Bs,globSync:We,sync:u.sync,globStream:Le,stream:u.stream,globStreamSync:xt,streamSync:u.streamSync,globIterate:Be,iterate:u.iterate,globIterateSync:Tt,iterateSync:u.iterateSync,Glob:be.Glob,hasMagic:Ee.hasMagic,escape:ye.escape,unescape:ye.unescape});u.glob.glob=u.glob},8416:(i,u,A)=>{"use strict";var j=(i,u)=>()=>(u||i((u={exports:{}}).exports,u),u.exports);var I=j((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.tracing=i.metrics=void 0;var u=A(53053);i.metrics=(0,u.channel)("lru-cache:metrics");i.tracing=(0,u.tracingChannel)("lru-cache")}));var B=j((i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.defaultPerf=void 0;i.defaultPerf=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date}));Object.defineProperty(u,"__esModule",{value:!0});u.LRUCache=void 0;var Q=I(),P=B(),C=()=>Q.metrics.hasSubscribers||Q.tracing.hasSubscribers,D=new Set,L=typeof process=="object"&&process?process:{},V=(i,u,A,I)=>{typeof L.emitWarning=="function"?L.emitWarning(i,u,A,I):console.error(`[${A}] ${u}: ${i}`)},q=i=>!D.has(i);var T=i=>!!i&&i===Math.floor(i)&&i>0&&isFinite(i),H=i=>T(i)?i<=Math.pow(2,8)?Uint8Array:i<=Math.pow(2,16)?Uint16Array:i<=Math.pow(2,32)?Uint32Array:i<=Number.MAX_SAFE_INTEGER?U:null:null,U=class extends Array{constructor(i){super(i),this.fill(0)}},G=class c{heap;length;static#Ot=!1;static create(i){let u=H(i);if(!u)return[];c.#Ot=!0;let A=new c(i,u);return c.#Ot=!1,A}constructor(i,u){if(!c.#Ot)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new u(i),this.length=0}push(i){this.heap[this.length++]=i}pop(){return this.heap[--this.length]}},z=class c{#Ot;#Tt;#jt;#ir;#Nt;#er;#ur;#_t;get perf(){return this.#_t}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;backgroundFetchSize;#It;#zt;#St;#Pt;#vt;#$t;#kt;#Qt;#Rt;#tr;#Bt;#Lt;#Jt;#Mt;#qt;#Wt;#hr;#xt;#ar;static unsafeExposeInternals(i){return{starts:i.#Jt,ttls:i.#Mt,autopurgeTimers:i.#qt,sizes:i.#Lt,keyMap:i.#St,keyList:i.#Pt,valList:i.#vt,next:i.#$t,prev:i.#kt,get head(){return i.#Qt},get tail(){return i.#Rt},free:i.#tr,isBackgroundFetch:u=>i.#Yt(u),backgroundFetch:(u,A,I,B)=>i.#dr(u,A,I,B),moveToTail:u=>i.#cr(u),indexes:u=>i.#sr(u),rindexes:u=>i.#Kt(u),isStale:u=>i.#Ft(u)}}get max(){return this.#Ot}get maxSize(){return this.#Tt}get calculatedSize(){return this.#zt}get size(){return this.#It}get fetchMethod(){return this.#er}get memoMethod(){return this.#ur}get dispose(){return this.#jt}get onInsert(){return this.#ir}get disposeAfter(){return this.#Nt}constructor(i){let{max:u=0,ttl:A,ttlResolution:I=1,ttlAutopurge:B,updateAgeOnGet:Q,updateAgeOnHas:L,allowStale:U,dispose:z,onInsert:W,disposeAfter:Y,noDisposeOnSet:J,noUpdateTTL:$,maxSize:K=0,maxEntrySize:X=0,sizeCalculation:he,fetchMethod:Ae,memoMethod:ye,noDeleteOnFetchRejection:be,noDeleteOnStaleGet:Ee,allowStaleOnFetchRejection:Ce,allowStaleOnFetchAbort:we,ignoreFetchAbort:ve,backgroundFetchSize:Se=1,perf:Re}=i;if(this.backgroundFetchSize=Se,Re!==void 0&&typeof Re?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#_t=Re??P.defaultPerf,u!==0&&!T(u))throw new TypeError("max option must be a nonnegative integer");let Ne=u?H(u):Array;if(!Ne)throw new Error("invalid max value: "+u);if(this.#Ot=u,this.#Tt=K,this.maxEntrySize=X||this.#Tt,this.sizeCalculation=he,this.sizeCalculation){if(!this.#Tt&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(ye!==void 0&&typeof ye!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#ur=ye,Ae!==void 0&&typeof Ae!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#er=Ae,this.#hr=!!Ae,this.#St=new Map,this.#Pt=Array.from({length:u}).fill(void 0),this.#vt=Array.from({length:u}).fill(void 0),this.#$t=new Ne(u),this.#kt=new Ne(u),this.#Qt=0,this.#Rt=0,this.#tr=G.create(u),this.#It=0,this.#zt=0,typeof z=="function"&&(this.#jt=z),typeof W=="function"&&(this.#ir=W),typeof Y=="function"?(this.#Nt=Y,this.#Bt=[]):(this.#Nt=void 0,this.#Bt=void 0),this.#Wt=!!this.#jt,this.#ar=!!this.#ir,this.#xt=!!this.#Nt,this.noDisposeOnSet=!!J,this.noUpdateTTL=!!$,this.noDeleteOnFetchRejection=!!be,this.allowStaleOnFetchRejection=!!Ce,this.allowStaleOnFetchAbort=!!we,this.ignoreFetchAbort=!!ve,this.maxEntrySize!==0){if(this.#Tt!==0&&!T(this.#Tt))throw new TypeError("maxSize must be a positive integer if specified");if(!T(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#gr()}if(this.allowStale=!!U,this.noDeleteOnStaleGet=!!Ee,this.updateAgeOnGet=!!Q,this.updateAgeOnHas=!!L,this.ttlResolution=T(I)||I===0?I:1,this.ttlAutopurge=!!B,this.ttl=A||0,this.ttl){if(!T(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#Zt()}if(this.#Ot===0&&this.ttl===0&&this.#Tt===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#Ot&&!this.#Tt){let i="LRU_CACHE_UNBOUNDED";q(i)&&(D.add(i),V("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",i,c))}}getRemainingTTL(i){return this.#St.has(i)?1/0:0}#Zt(){let i=new U(this.#Ot),u=new U(this.#Ot);this.#Mt=i,this.#Jt=u;let A=this.ttlAutopurge?Array.from({length:this.#Ot}):void 0;this.#qt=A,this.#Ar=(A,B,Q=this.#_t.now())=>{u[A]=B!==0?Q:0,i[A]=B,I(A,B)},this.#Ut=A=>{u[A]=i[A]!==0?this.#_t.now():0,I(A,i[A])};let I=this.ttlAutopurge?(i,u)=>{if(A?.[i]&&(clearTimeout(A[i]),A[i]=void 0),u&&u!==0&&A){let I=setTimeout((()=>{this.#Ft(i)&&this.#Dt(this.#Pt[i],"expire")}),u+1);I.unref&&I.unref(),A[i]=I}}:()=>{};this.#Vt=(A,I)=>{if(i[I]){let Q=i[I],P=u[I];if(!Q||!P)return;A.ttl=Q,A.start=P,A.now=B||r();let D=A.now-P;A.remainingTTL=Q-D}};let B=0,r=()=>{let i=this.#_t.now();if(this.ttlResolution>0){B=i;let u=setTimeout((()=>B=0),this.ttlResolution);u.unref&&u.unref()}return i};this.getRemainingTTL=A=>{let I=this.#St.get(A);if(I===void 0)return 0;let Q=i[I],P=u[I];if(!Q||!P)return 1/0;let D=(B||r())-P;return Q-D},this.#Ft=A=>{let I=u[A],Q=i[A];return!!Q&&!!I&&(B||r())-I>Q}}#Ut=()=>{};#Vt=()=>{};#Ar=()=>{};#Ft=()=>!1;#gr(){let i=new U(this.#Ot);this.#zt=0,this.#Lt=i,this.#or=u=>{this.#zt-=i[u],i[u]=0},this.#Xt=(i,u,A,I)=>{if(!T(A)){if(this.#Yt(u))return this.backgroundFetchSize;if(I){if(typeof I!="function")throw new TypeError("sizeCalculation must be a function");if(A=I(u,i),!T(A))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.")}return A},this.#fr=(u,A,I)=>{if(i[u]=A,this.#Tt){let A=this.#Tt-i[u];for(;this.#zt>A;)this.#nr(!0)}this.#zt+=i[u],I&&(I.entrySize=A,I.totalCalculatedSize=this.#zt)}}#or=i=>{};#fr=(i,u,A)=>{};#Xt=(i,u,A,I)=>{if(A||I)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#sr({allowStale:i=this.allowStale}={}){if(this.#It)for(let u=this.#Rt;this.#mr(u)&&((i||!this.#Ft(u))&&(yield u),u!==this.#Qt);)u=this.#kt[u]}*#Kt({allowStale:i=this.allowStale}={}){if(this.#It)for(let u=this.#Qt;this.#mr(u)&&((i||!this.#Ft(u))&&(yield u),u!==this.#Rt);)u=this.#$t[u]}#mr(i){return i!==void 0&&this.#St.get(this.#Pt[i])===i}*entries(){for(let i of this.#sr())this.#vt[i]!==void 0&&this.#Pt[i]!==void 0&&!this.#Yt(this.#vt[i])&&(yield[this.#Pt[i],this.#vt[i]])}*rentries(){for(let i of this.#Kt())this.#vt[i]!==void 0&&this.#Pt[i]!==void 0&&!this.#Yt(this.#vt[i])&&(yield[this.#Pt[i],this.#vt[i]])}*keys(){for(let i of this.#sr()){let u=this.#Pt[i];u!==void 0&&!this.#Yt(this.#vt[i])&&(yield u)}}*rkeys(){for(let i of this.#Kt()){let u=this.#Pt[i];u!==void 0&&!this.#Yt(this.#vt[i])&&(yield u)}}*values(){for(let i of this.#sr())this.#vt[i]!==void 0&&!this.#Yt(this.#vt[i])&&(yield this.#vt[i])}*rvalues(){for(let i of this.#Kt())this.#vt[i]!==void 0&&!this.#Yt(this.#vt[i])&&(yield this.#vt[i])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(i,u={}){for(let A of this.#sr()){let I=this.#vt[A],B=this.#Yt(I)?I.__staleWhileFetching:I;if(B!==void 0&&i(B,this.#Pt[A],this))return this.#Gt(this.#Pt[A],u)}}forEach(i,u=this){for(let A of this.#sr()){let I=this.#vt[A],B=this.#Yt(I)?I.__staleWhileFetching:I;B!==void 0&&i.call(u,B,this.#Pt[A],this)}}rforEach(i,u=this){for(let A of this.#Kt()){let I=this.#vt[A],B=this.#Yt(I)?I.__staleWhileFetching:I;B!==void 0&&i.call(u,B,this.#Pt[A],this)}}purgeStale(){let i=!1;for(let u of this.#Kt({allowStale:!0}))this.#Ft(u)&&(this.#Dt(this.#Pt[u],"expire"),i=!0);return i}info(i){let u=this.#St.get(i);if(u===void 0)return;let A=this.#vt[u],I=this.#Yt(A)?A.__staleWhileFetching:A;if(I===void 0)return;let B={value:I};if(this.#Mt&&this.#Jt){let i=this.#Mt[u],A=this.#Jt[u];if(i&&A){let u=i-(this.#_t.now()-A);B.ttl=u,B.start=Date.now()}}return this.#Lt&&(B.size=this.#Lt[u]),B}dump(){let i=[];for(let u of this.#sr({allowStale:!0})){let A=this.#Pt[u],I=this.#vt[u],B=this.#Yt(I)?I.__staleWhileFetching:I;if(B===void 0||A===void 0)continue;let Q={value:B};if(this.#Mt&&this.#Jt){Q.ttl=this.#Mt[u];let i=this.#_t.now()-this.#Jt[u];Q.start=Math.floor(Date.now()-i)}this.#Lt&&(Q.size=this.#Lt[u]),i.unshift([A,Q])}return i}load(i){this.clear();for(let[u,A]of i){if(A.start){let i=Date.now()-A.start;A.start=this.#_t.now()-i}this.#Ht(u,A.value,A)}}set(i,u,A={}){let{status:I=(Q.metrics.hasSubscribers?{}:void 0)}=A;A.status=I,I&&(I.op="set",I.key=i,u!==void 0&&(I.value=u),I.cache=this);let B=this.#Ht(i,u,A);return I&&Q.metrics.hasSubscribers&&Q.metrics.publish(I),B}#Ht(i,u,A,I){let{ttl:B=this.ttl,start:Q,noDisposeOnSet:P=this.noDisposeOnSet,sizeCalculation:D=this.sizeCalculation,status:L}=A,U=this.#Yt(u);if(u===void 0)return L&&(L.set="deleted"),this.delete(i),this;let{noUpdateTTL:G=this.noUpdateTTL}=A;L&&!U&&(L.value=u);let z=this.#Xt(i,u,A.size||0,D,L);if(this.maxEntrySize&&z>this.maxEntrySize)return this.#Dt(i,"set"),L&&(L.set="miss",L.maxEntrySizeExceeded=!0),this;let W=this.#It===0?void 0:this.#St.get(i);if(W===void 0)W=this.#It===0?this.#Rt:this.#tr.length!==0?this.#tr.pop():this.#It===this.#Ot?this.#nr(!1):this.#It,this.#Pt[W]=i,this.#vt[W]=u,this.#St.set(i,W),this.#$t[this.#Rt]=W,this.#kt[W]=this.#Rt,this.#Rt=W,this.#It++,this.#fr(W,z,L),L&&(L.set="add"),G=!1,this.#ar&&!U&&this.#ir?.(u,i,"add");else{this.#cr(W);let A=this.#vt[W];if(u!==A){if(!P)if(this.#Yt(A)){A!==I&&A.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:B}=A;B!==void 0&&B!==u&&(this.#Wt&&this.#jt?.(B,i,"set"),this.#xt&&this.#Bt?.push([B,i,"set"]))}else this.#Wt&&this.#jt?.(A,i,"set"),this.#xt&&this.#Bt?.push([A,i,"set"]);if(this.#or(W),this.#fr(W,z,L),this.#vt[W]=u,!U){let I=A&&this.#Yt(A)?A.__staleWhileFetching:A,B=I===void 0?"add":u!==I?"replace":"update";L&&(L.set=B,I!==void 0&&(L.oldValue=I)),this.#ar&&this.onInsert?.(u,i,B)}}else U||(L&&(L.set="update"),this.#ar&&this.onInsert?.(u,i,"update"))}if(B!==0&&!this.#Mt&&this.#Zt(),this.#Mt&&(G||this.#Ar(W,B,Q),L&&this.#Vt(L,W)),!P&&this.#xt&&this.#Bt){let i=this.#Bt,u;for(;u=i?.shift();)this.#Nt?.(...u)}return this}pop(){try{for(;this.#It;){let i=this.#vt[this.#Qt];if(this.#nr(!0),this.#Yt(i)){if(i.__staleWhileFetching)return i.__staleWhileFetching}else if(i!==void 0)return i}}finally{if(this.#xt&&this.#Bt){let i=this.#Bt,u;for(;u=i?.shift();)this.#Nt?.(...u)}}}#nr(i){let u=this.#Qt,A=this.#Pt[u],I=this.#vt[u],B=this.#Yt(I);B&&I.__abortController.abort(new Error("evicted"));let Q=B?I.__staleWhileFetching:I;return(this.#Wt||this.#xt)&&Q!==void 0&&(this.#Wt&&this.#jt?.(Q,A,"evict"),this.#xt&&this.#Bt?.push([Q,A,"evict"])),this.#or(u),this.#qt?.[u]&&(clearTimeout(this.#qt[u]),this.#qt[u]=void 0),i&&(this.#Pt[u]=void 0,this.#vt[u]=void 0,this.#tr.push(u)),this.#It===1?(this.#Qt=this.#Rt=0,this.#tr.length=0):this.#Qt=this.#$t[u],this.#St.delete(A),this.#It--,u}has(i,u={}){let{status:A=(Q.metrics.hasSubscribers?{}:void 0)}=u;u.status=A,A&&(A.op="has",A.key=i,A.cache=this);let I=this.#yr(i,u);return Q.metrics.hasSubscribers&&Q.metrics.publish(A),I}#yr(i,u={}){let{updateAgeOnHas:A=this.updateAgeOnHas,status:I}=u,B=this.#St.get(i);if(B!==void 0){let i=this.#vt[B];if(this.#Yt(i)&&i.__staleWhileFetching===void 0)return!1;if(this.#Ft(B))I&&(I.has="stale",this.#Vt(I,B));else return A&&this.#Ut(B),I&&(I.has="hit",this.#Vt(I,B)),!0}else I&&(I.has="miss");return!1}peek(i,u={}){let{status:A=(C()?{}:void 0)}=u;A&&(A.op="peek",A.key=i,A.cache=this),u.status=A;let I=this.#br(i,u);return Q.metrics.hasSubscribers&&Q.metrics.publish(A),I}#br(i,u){let{status:A,allowStale:I=this.allowStale}=u,B=this.#St.get(i);if(B===void 0||!I&&this.#Ft(B)){A&&(A.peek=B===void 0?"miss":"stale");return}let Q=this.#vt[B],P=this.#Yt(Q)?Q.__staleWhileFetching:Q;return A&&(P!==void 0?(A.peek="hit",A.value=P):A.peek="miss"),P}#dr(i,u,A,I){let B=u===void 0?void 0:this.#vt[u];if(this.#Yt(B))return B;let Q=new AbortController,{signal:P}=A;P?.addEventListener("abort",(()=>Q.abort(P.reason)),{signal:Q.signal});let D={signal:Q.signal,options:A,context:I},o=(I,B=!1)=>{let{aborted:P}=Q.signal,U=A.ignoreFetchAbort&&I!==void 0,G=A.ignoreFetchAbort||!!(A.allowStaleOnFetchAbort&&I!==void 0);if(A.status&&(P&&!B?(A.status.fetchAborted=!0,A.status.fetchError=Q.signal.reason,U&&(A.status.fetchAbortIgnored=!0)):A.status.fetchResolved=!0),P&&!U&&!B)return _(Q.signal.reason,G);let z=L,W=this.#vt[u];return(W===L||W===void 0&&U&&B)&&(I===void 0?z.__staleWhileFetching!==void 0?this.#vt[u]=z.__staleWhileFetching:this.#Dt(i,"fetch"):(A.status&&(A.status.fetchUpdated=!0),this.#Ht(i,I,D.options,z))),I},d=i=>(A.status&&(A.status.fetchRejected=!0,A.status.fetchError=i),_(i,!1)),_=(I,B)=>{let{aborted:P}=Q.signal,D=P&&A.allowStaleOnFetchAbort,U=D||A.allowStaleOnFetchRejection,G=U||A.noDeleteOnFetchRejection,z=L;if(this.#vt[u]===L&&(!G||!B&&z.__staleWhileFetching===void 0?this.#Dt(i,"fetch"):D||(this.#vt[u]=z.__staleWhileFetching)),U)return A.status&&z.__staleWhileFetching!==void 0&&(A.status.returnedStale=!0),z.__staleWhileFetching;if(z.__returned===z)throw I},y=(u,I)=>{let P=this.#er?.(i,B,D);Q.signal.addEventListener("abort",(()=>{(!A.ignoreFetchAbort||A.allowStaleOnFetchAbort)&&(u(void 0),A.allowStaleOnFetchAbort&&(u=i=>o(i,!0)))})),P&&P instanceof Promise?P.then((i=>u(i===void 0?void 0:i)),I):P!==void 0&&u(P)};A.status&&(A.status.fetchDispatched=!0);let L=new Promise(y).then(o,d),U=Object.assign(L,{__abortController:Q,__staleWhileFetching:B,__returned:void 0});return u===void 0?(this.#Ht(i,U,{...D.options,status:void 0}),u=this.#St.get(i)):this.#vt[u]=U,U}#Yt(i){if(!this.#hr)return!1;let u=i;return!!u&&u instanceof Promise&&u.hasOwnProperty("__staleWhileFetching")&&u.__abortController instanceof AbortController}fetch(i,u={}){let A=Q.tracing.hasSubscribers,{status:I=(C()?{}:void 0)}=u;u.status=I,I&&u.context&&(I.context=u.context);let B=this.#pr(i,u);return I&&A&&(I.trace=!0,Q.tracing.tracePromise((()=>B),I).catch((()=>{}))),B}async#pr(i,u={}){let{allowStale:A=this.allowStale,updateAgeOnGet:I=this.updateAgeOnGet,noDeleteOnStaleGet:B=this.noDeleteOnStaleGet,ttl:Q=this.ttl,noDisposeOnSet:P=this.noDisposeOnSet,size:D=0,sizeCalculation:L=this.sizeCalculation,noUpdateTTL:U=this.noUpdateTTL,noDeleteOnFetchRejection:G=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:z=this.allowStaleOnFetchRejection,ignoreFetchAbort:W=this.ignoreFetchAbort,allowStaleOnFetchAbort:Y=this.allowStaleOnFetchAbort,context:J,forceRefresh:$=!1,status:K,signal:X}=u;if(K&&(K.op="fetch",K.key=i,$&&(K.forceRefresh=!0),K.cache=this),!this.#hr)return K&&(K.fetch="get"),this.#Gt(i,{allowStale:A,updateAgeOnGet:I,noDeleteOnStaleGet:B,status:K});let he={allowStale:A,updateAgeOnGet:I,noDeleteOnStaleGet:B,ttl:Q,noDisposeOnSet:P,size:D,sizeCalculation:L,noUpdateTTL:U,noDeleteOnFetchRejection:G,allowStaleOnFetchRejection:z,allowStaleOnFetchAbort:Y,ignoreFetchAbort:W,status:K,signal:X},Ae=this.#St.get(i);if(Ae===void 0){K&&(K.fetch="miss");let u=this.#dr(i,Ae,he,J);return u.__returned=u}else{let u=this.#vt[Ae];if(this.#Yt(u)){let i=A&&u.__staleWhileFetching!==void 0;return K&&(K.fetch="inflight",i&&(K.returnedStale=!0)),i?u.__staleWhileFetching:u.__returned=u}let B=this.#Ft(Ae);if(!$&&!B)return K&&(K.fetch="hit"),this.#cr(Ae),I&&this.#Ut(Ae),K&&this.#Vt(K,Ae),u;let Q=this.#dr(i,Ae,he,J),P=Q.__staleWhileFetching!==void 0&&A;return K&&(K.fetch=B?"stale":"refresh",P&&B&&(K.returnedStale=!0)),P?Q.__staleWhileFetching:Q.__returned=Q}}forceFetch(i,u={}){let A=Q.tracing.hasSubscribers,{status:I=(C()?{}:void 0)}=u;u.status=I,I&&u.context&&(I.context=u.context);let B=this.#Er(i,u);return I&&A&&(I.trace=!0,Q.tracing.tracePromise((()=>B),I).catch((()=>{}))),B}async#Er(i,u={}){let A=await this.#pr(i,u);if(A===void 0)throw new Error("fetch() returned undefined");return A}memo(i,u={}){let{status:A=(Q.metrics.hasSubscribers?{}:void 0)}=u;u.status=A,A&&(A.op="memo",A.key=i,u.context&&(A.context=u.context),A.cache=this);let I=this.#Cr(i,u);return A&&(A.value=I),Q.metrics.hasSubscribers&&Q.metrics.publish(A),I}#Cr(i,u={}){let A=this.#ur;if(!A)throw new Error("no memoMethod provided to constructor");let{context:I,status:B,forceRefresh:Q,...P}=u;B&&Q&&(B.forceRefresh=!0);let D=this.#Gt(i,P),L=Q||D===void 0;if(B&&(B.memo=L?"miss":"hit",L||(B.value=D)),!L)return D;let U=A(i,D,{options:P,context:I});return B&&(B.value=U),this.#Ht(i,U,P),U}get(i,u={}){let{status:A=(Q.metrics.hasSubscribers?{}:void 0)}=u;u.status=A,A&&(A.op="get",A.key=i,A.cache=this);let I=this.#Gt(i,u);return A&&(I!==void 0&&(A.value=I),Q.metrics.hasSubscribers&&Q.metrics.publish(A)),I}#Gt(i,u={}){let{allowStale:A=this.allowStale,updateAgeOnGet:I=this.updateAgeOnGet,noDeleteOnStaleGet:B=this.noDeleteOnStaleGet,status:Q}=u,P=this.#St.get(i);if(P===void 0){Q&&(Q.get="miss");return}let D=this.#vt[P],L=this.#Yt(D);return Q&&this.#Vt(Q,P),this.#Ft(P)?L?(Q&&(Q.get="stale-fetching"),A&&D.__staleWhileFetching!==void 0?(Q&&(Q.returnedStale=!0),D.__staleWhileFetching):void 0):(B||this.#Dt(i,"expire"),Q&&(Q.get="stale"),A?(Q&&(Q.returnedStale=!0),D):void 0):(Q&&(Q.get=L?"fetching":"hit"),this.#cr(P),I&&this.#Ut(P),L?D.__staleWhileFetching:D)}#lr(i,u){this.#kt[u]=i,this.#$t[i]=u}#cr(i){i!==this.#Rt&&(i===this.#Qt?this.#Qt=this.#$t[i]:this.#lr(this.#kt[i],this.#$t[i]),this.#lr(this.#Rt,i),this.#Rt=i)}delete(i){return this.#Dt(i,"delete")}#Dt(i,u){Q.metrics.hasSubscribers&&Q.metrics.publish({op:"delete",delete:u,key:i,cache:this});let A=!1;if(this.#It!==0){let I=this.#St.get(i);if(I!==void 0)if(this.#qt?.[I]&&(clearTimeout(this.#qt?.[I]),this.#qt[I]=void 0),A=!0,this.#It===1)this.#rr(u);else{this.#or(I);let A=this.#vt[I];if(this.#Yt(A)?A.__abortController.abort(new Error("deleted")):(this.#Wt||this.#xt)&&(this.#Wt&&this.#jt?.(A,i,u),this.#xt&&this.#Bt?.push([A,i,u])),this.#St.delete(i),this.#Pt[I]=void 0,this.#vt[I]=void 0,I===this.#Rt)this.#Rt=this.#kt[I];else if(I===this.#Qt)this.#Qt=this.#$t[I];else{let i=this.#kt[I];this.#$t[i]=this.#$t[I];let u=this.#$t[I];this.#kt[u]=this.#kt[I]}this.#It--,this.#tr.push(I)}}if(this.#xt&&this.#Bt?.length){let i=this.#Bt,u;for(;u=i?.shift();)this.#Nt?.(...u)}return A}clear(){return this.#rr("delete")}#rr(i){for(let u of this.#Kt({allowStale:!0})){let A=this.#vt[u];if(this.#Yt(A))A.__abortController.abort(new Error("deleted"));else{let I=this.#Pt[u];this.#Wt&&this.#jt?.(A,I,i),this.#xt&&this.#Bt?.push([A,I,i])}}if(this.#St.clear(),this.#vt.fill(void 0),this.#Pt.fill(void 0),this.#Mt&&this.#Jt){this.#Mt.fill(0),this.#Jt.fill(0);for(let i of this.#qt??[])i!==void 0&&clearTimeout(i);this.#qt?.fill(void 0)}if(this.#Lt&&this.#Lt.fill(0),this.#Qt=0,this.#Rt=0,this.#tr.length=0,this.#zt=0,this.#It=0,this.#xt&&this.#Bt){let i=this.#Bt,u;for(;u=i?.shift();)this.#Nt?.(...u)}}};u.LRUCache=z},88789:(i,u,A)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.MinipassSized=u.SizeError=void 0;const I=A(78275);const isBufferEncoding=i=>typeof i==="string";class SizeError extends Error{expect;found;code="EBADSIZE";constructor(i,u,A){super(`Bad data size: expected ${u} bytes, but got ${i}`);this.expect=u;this.found=i;Error.captureStackTrace(this,A??this.constructor)}get name(){return"SizeError"}}u.SizeError=SizeError;class MinipassSized extends I.Minipass{found=0;expect;constructor(i){const u=i?.size;if(typeof u!=="number"||u>Number.MAX_SAFE_INTEGER||isNaN(u)||u<0||!isFinite(u)||u!==Math.floor(u)){throw new Error("invalid expected size: "+u)}super(i);if(i.objectMode){throw new TypeError(`${this.constructor.name} streams only work with string and buffer data`)}this.expect=u}write(i,u,A){const I=Buffer.isBuffer(i)?i:typeof i==="string"?Buffer.from(i,isBufferEncoding(u)?u:"utf8"):i;if(typeof u==="function"){A=u;u=null}if(!Buffer.isBuffer(I)){this.emit("error",new TypeError(`${this.constructor.name} streams only work with string and buffer data`));return false}this.found+=I.length;if(this.found>this.expect)this.emit("error",new SizeError(this.found,this.expect));return super.write(i,u,A)}emit(i,...u){if(i==="end"){if(this.found!==this.expect){this.emit("error",new SizeError(this.found,this.expect,this.emit))}}return super.emit(i,...u)}}u.MinipassSized=MinipassSized},78275:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.Minipass=u.isWritable=u.isReadable=u.isStream=void 0;const B=typeof process==="object"&&process?process:{stdout:null,stderr:null};const Q=A(78474);const P=I(A(57075));const D=A(68574);const isStream=i=>!!i&&typeof i==="object"&&(i instanceof Minipass||i instanceof P.default||(0,u.isReadable)(i)||(0,u.isWritable)(i));u.isStream=isStream;const isReadable=i=>!!i&&typeof i==="object"&&i instanceof Q.EventEmitter&&typeof i.pipe==="function"&&i.pipe!==P.default.Writable.prototype.pipe;u.isReadable=isReadable;const isWritable=i=>!!i&&typeof i==="object"&&i instanceof Q.EventEmitter&&typeof i.write==="function"&&typeof i.end==="function";u.isWritable=isWritable;const L=Symbol("EOF");const U=Symbol("maybeEmitEnd");const G=Symbol("emittedEnd");const z=Symbol("emittingEnd");const W=Symbol("emittedError");const Y=Symbol("closed");const J=Symbol("read");const $=Symbol("flush");const K=Symbol("flushChunk");const X=Symbol("encoding");const he=Symbol("decoder");const Ae=Symbol("flowing");const ye=Symbol("paused");const be=Symbol("resume");const Ee=Symbol("buffer");const Ce=Symbol("pipes");const we=Symbol("bufferLength");const ve=Symbol("bufferPush");const Se=Symbol("bufferShift");const Re=Symbol("objectMode");const Ne=Symbol("destroyed");const _e=Symbol("error");const Oe=Symbol("emitData");const xe=Symbol("emitEnd");const ke=Symbol("emitEnd2");const Qe=Symbol("async");const Pe=Symbol("abort");const De=Symbol("aborted");const Me=Symbol("signal");const Fe=Symbol("dataListeners");const Ue=Symbol("discarded");const defer=i=>Promise.resolve().then(i);const nodefer=i=>i();const isEndish=i=>i==="end"||i==="finish"||i==="prefinish";const isArrayBufferLike=i=>i instanceof ArrayBuffer||!!i&&typeof i==="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0;const isArrayBufferView=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i);class Pipe{src;dest;opts;ondrain;constructor(i,u,A){this.src=i;this.dest=u;this.opts=A;this.ondrain=()=>i[be]();this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(i){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(i,u,A){super(i,u,A);this.proxyErrors=i=>this.dest.emit("error",i);i.on("error",this.proxyErrors)}}const isObjectModeOptions=i=>!!i.objectMode;const isEncodingOptions=i=>!i.objectMode&&!!i.encoding&&i.encoding!=="buffer";class Minipass extends Q.EventEmitter{[Ae]=false;[ye]=false;[Ce]=[];[Ee]=[];[Re];[X];[Qe];[he];[L]=false;[G]=false;[z]=false;[Y]=false;[W]=null;[we]=0;[Ne]=false;[Me];[De]=false;[Fe]=0;[Ue]=false;writable=true;readable=true;constructor(...i){const u=i[0]||{};super();if(u.objectMode&&typeof u.encoding==="string"){throw new TypeError("Encoding and objectMode may not be used together")}if(isObjectModeOptions(u)){this[Re]=true;this[X]=null}else if(isEncodingOptions(u)){this[X]=u.encoding;this[Re]=false}else{this[Re]=false;this[X]=null}this[Qe]=!!u.async;this[he]=this[X]?new D.StringDecoder(this[X]):null;if(u&&u.debugExposeBuffer===true){Object.defineProperty(this,"buffer",{get:()=>this[Ee]})}if(u&&u.debugExposePipes===true){Object.defineProperty(this,"pipes",{get:()=>this[Ce]})}const{signal:A}=u;if(A){this[Me]=A;if(A.aborted){this[Pe]()}else{A.addEventListener("abort",(()=>this[Pe]()))}}}get bufferLength(){return this[we]}get encoding(){return this[X]}set encoding(i){throw new Error("Encoding must be set at instantiation time")}setEncoding(i){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Re]}set objectMode(i){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[Qe]}set["async"](i){this[Qe]=this[Qe]||!!i}[Pe](){this[De]=true;this.emit("abort",this[Me]?.reason);this.destroy(this[Me]?.reason)}get aborted(){return this[De]}set aborted(i){}write(i,u,A){if(this[De])return false;if(this[L])throw new Error("write after end");if(this[Ne]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof u==="function"){A=u;u="utf8"}if(!u)u="utf8";const I=this[Qe]?defer:nodefer;if(!this[Re]&&!Buffer.isBuffer(i)){if(isArrayBufferView(i)){i=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(isArrayBufferLike(i)){i=Buffer.from(i)}else if(typeof i!=="string"){throw new Error("Non-contiguous data written to non-objectMode stream")}}if(this[Re]){if(this[Ae]&&this[we]!==0)this[$](true);if(this[Ae])this.emit("data",i);else this[ve](i);if(this[we]!==0)this.emit("readable");if(A)I(A);return this[Ae]}if(!i.length){if(this[we]!==0)this.emit("readable");if(A)I(A);return this[Ae]}if(typeof i==="string"&&!(u===this[X]&&!this[he]?.lastNeed)){i=Buffer.from(i,u)}if(Buffer.isBuffer(i)&&this[X]){i=this[he].write(i)}if(this[Ae]&&this[we]!==0)this[$](true);if(this[Ae])this.emit("data",i);else this[ve](i);if(this[we]!==0)this.emit("readable");if(A)I(A);return this[Ae]}read(i){if(this[Ne])return null;this[Ue]=false;if(this[we]===0||i===0||i&&i>this[we]){this[U]();return null}if(this[Re])i=null;if(this[Ee].length>1&&!this[Re]){this[Ee]=[this[X]?this[Ee].join(""):Buffer.concat(this[Ee],this[we])]}const u=this[J](i||null,this[Ee][0]);this[U]();return u}[J](i,u){if(this[Re])this[Se]();else{const A=u;if(i===A.length||i===null)this[Se]();else if(typeof A==="string"){this[Ee][0]=A.slice(i);u=A.slice(0,i);this[we]-=i}else{this[Ee][0]=A.subarray(i);u=A.subarray(0,i);this[we]-=i}}this.emit("data",u);if(!this[Ee].length&&!this[L])this.emit("drain");return u}end(i,u,A){if(typeof i==="function"){A=i;i=undefined}if(typeof u==="function"){A=u;u="utf8"}if(i!==undefined)this.write(i,u);if(A)this.once("end",A);this[L]=true;this.writable=false;if(this[Ae]||!this[ye])this[U]();return this}[be](){if(this[Ne])return;if(!this[Fe]&&!this[Ce].length){this[Ue]=true}this[ye]=false;this[Ae]=true;this.emit("resume");if(this[Ee].length)this[$]();else if(this[L])this[U]();else this.emit("drain")}resume(){return this[be]()}pause(){this[Ae]=false;this[ye]=true;this[Ue]=false}get destroyed(){return this[Ne]}get flowing(){return this[Ae]}get paused(){return this[ye]}[ve](i){if(this[Re])this[we]+=1;else this[we]+=i.length;this[Ee].push(i)}[Se](){if(this[Re])this[we]-=1;else this[we]-=this[Ee][0].length;return this[Ee].shift()}[$](i=false){do{}while(this[K](this[Se]())&&this[Ee].length);if(!i&&!this[Ee].length&&!this[L])this.emit("drain")}[K](i){this.emit("data",i);return this[Ae]}pipe(i,u){if(this[Ne])return i;this[Ue]=false;const A=this[G];u=u||{};if(i===B.stdout||i===B.stderr)u.end=false;else u.end=u.end!==false;u.proxyErrors=!!u.proxyErrors;if(A){if(u.end)i.end()}else{this[Ce].push(!u.proxyErrors?new Pipe(this,i,u):new PipeProxyErrors(this,i,u));if(this[Qe])defer((()=>this[be]()));else this[be]()}return i}unpipe(i){const u=this[Ce].find((u=>u.dest===i));if(u){if(this[Ce].length===1){if(this[Ae]&&this[Fe]===0){this[Ae]=false}this[Ce]=[]}else this[Ce].splice(this[Ce].indexOf(u),1);u.unpipe()}}addListener(i,u){return this.on(i,u)}on(i,u){const A=super.on(i,u);if(i==="data"){this[Ue]=false;this[Fe]++;if(!this[Ce].length&&!this[Ae]){this[be]()}}else if(i==="readable"&&this[we]!==0){super.emit("readable")}else if(isEndish(i)&&this[G]){super.emit(i);this.removeAllListeners(i)}else if(i==="error"&&this[W]){const i=u;if(this[Qe])defer((()=>i.call(this,this[W])));else i.call(this,this[W])}return A}removeListener(i,u){return this.off(i,u)}off(i,u){const A=super.off(i,u);if(i==="data"){this[Fe]=this.listeners("data").length;if(this[Fe]===0&&!this[Ue]&&!this[Ce].length){this[Ae]=false}}return A}removeAllListeners(i){const u=super.removeAllListeners(i);if(i==="data"||i===undefined){this[Fe]=0;if(!this[Ue]&&!this[Ce].length){this[Ae]=false}}return u}get emittedEnd(){return this[G]}[U](){if(!this[z]&&!this[G]&&!this[Ne]&&this[Ee].length===0&&this[L]){this[z]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[Y])this.emit("close");this[z]=false}}emit(i,...u){const A=u[0];if(i!=="error"&&i!=="close"&&i!==Ne&&this[Ne]){return false}else if(i==="data"){return!this[Re]&&!A?false:this[Qe]?(defer((()=>this[Oe](A))),true):this[Oe](A)}else if(i==="end"){return this[xe]()}else if(i==="close"){this[Y]=true;if(!this[G]&&!this[Ne])return false;const i=super.emit("close");this.removeAllListeners("close");return i}else if(i==="error"){this[W]=A;super.emit(_e,A);const i=!this[Me]||this.listeners("error").length?super.emit("error",A):false;this[U]();return i}else if(i==="resume"){const i=super.emit("resume");this[U]();return i}else if(i==="finish"||i==="prefinish"){const u=super.emit(i);this.removeAllListeners(i);return u}const I=super.emit(i,...u);this[U]();return I}[Oe](i){for(const u of this[Ce]){if(u.dest.write(i)===false)this.pause()}const u=this[Ue]?false:super.emit("data",i);this[U]();return u}[xe](){if(this[G])return false;this[G]=true;this.readable=false;return this[Qe]?(defer((()=>this[ke]())),true):this[ke]()}[ke](){if(this[he]){const i=this[he].end();if(i){for(const u of this[Ce]){u.dest.write(i)}if(!this[Ue])super.emit("data",i)}}for(const i of this[Ce]){i.end()}const i=super.emit("end");this.removeAllListeners("end");return i}async collect(){const i=Object.assign([],{dataLength:0});if(!this[Re])i.dataLength=0;const u=this.promise();this.on("data",(u=>{i.push(u);if(!this[Re])i.dataLength+=u.length}));await u;return i}async concat(){if(this[Re]){throw new Error("cannot concat in objectMode")}const i=await this.collect();return this[X]?i.join(""):Buffer.concat(i,i.dataLength)}async promise(){return new Promise(((i,u)=>{this.on(Ne,(()=>u(new Error("stream destroyed"))));this.on("error",(i=>u(i)));this.on("end",(()=>i()))}))}[Symbol.asyncIterator](){this[Ue]=false;let i=false;const stop=async()=>{this.pause();i=true;return{value:undefined,done:true}};const next=()=>{if(i)return stop();const u=this.read();if(u!==null)return Promise.resolve({done:false,value:u});if(this[L])return stop();let A;let I;const onerr=i=>{this.off("data",ondata);this.off("end",onend);this.off(Ne,ondestroy);stop();I(i)};const ondata=i=>{this.off("error",onerr);this.off("end",onend);this.off(Ne,ondestroy);this.pause();A({value:i,done:!!this[L]})};const onend=()=>{this.off("error",onerr);this.off("data",ondata);this.off(Ne,ondestroy);stop();A({done:true,value:undefined})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((i,u)=>{I=u;A=i;this.once(Ne,ondestroy);this.once("error",onerr);this.once("end",onend);this.once("data",ondata)}))};return{next:next,throw:stop,return:stop,[Symbol.asyncIterator](){return this},[Symbol.asyncDispose]:async()=>{}}}[Symbol.iterator](){this[Ue]=false;let i=false;const stop=()=>{this.pause();this.off(_e,stop);this.off(Ne,stop);this.off("end",stop);i=true;return{done:true,value:undefined}};const next=()=>{if(i)return stop();const u=this.read();return u===null?stop():{done:false,value:u}};this.once("end",stop);this.once(_e,stop);this.once(Ne,stop);return{next:next,throw:stop,return:stop,[Symbol.iterator](){return this},[Symbol.dispose]:()=>{}}}destroy(i){if(this[Ne]){if(i)this.emit("error",i);else this.emit(Ne);return this}this[Ne]=true;this[Ue]=true;this[Ee].length=0;this[we]=0;const u=this;if(typeof u.close==="function"&&!this[Y])u.close();if(i)this.emit("error",i);else this.emit(Ne);return this}static get isStream(){return u.isStream}}u.Minipass=Minipass},5474:function(i,u,A){"use strict";var I=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(u,"__esModule",{value:true});u.constants=void 0;const B=I(A(43106));const Q=B.default.constants||{ZLIB_VERNUM:4736};u.constants=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:Infinity,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},Q))},37119:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var u=[];for(var A in i)if(Object.prototype.hasOwnProperty.call(i,A))u[u.length]=A;return u};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A=ownKeys(i),Q=0;Qi;const $=J?.writable===true||J?.set!==undefined?i=>{L.Buffer.concat=i?noop:Y}:i=>{};const K=Symbol("_superWrite");class ZlibError extends Error{code;errno;constructor(i,u){super("zlib: "+i.message,{cause:i});this.code=i.code;this.errno=i.errno;if(!this.code)this.code="ZLIB_ERROR";this.message="zlib: "+i.message;Error.captureStackTrace(this,u??this.constructor)}get name(){return"ZlibError"}}u.ZlibError=ZlibError;const X=Symbol("flushFlag");class ZlibBase extends U.Minipass{#wr=false;#vr=false;#Sr;#Ir;#Br;#Rr;#Nr;get sawError(){return this.#wr}get handle(){return this.#Rr}get flushFlag(){return this.#Sr}constructor(i,u){if(!i||typeof i!=="object")throw new TypeError("invalid options for ZlibBase constructor");super(i);this.#Sr=i.flush??0;this.#Ir=i.finishFlush??0;this.#Br=i.fullFlushFlag??0;if(typeof G[u]!=="function"){throw new TypeError("Compression method not supported: "+u)}try{this.#Rr=new G[u](i)}catch(i){throw new ZlibError(i,this.constructor)}this.#Nr=i=>{if(this.#wr)return;this.#wr=true;this.close();this.emit("error",i)};this.#Rr?.on("error",(i=>this.#Nr(new ZlibError(i))));this.once("end",(()=>this.close))}close(){if(this.#Rr){this.#Rr.close();this.#Rr=undefined;this.emit("close")}}reset(){if(!this.#wr){(0,D.default)(this.#Rr,"zlib binding closed");return this.#Rr.reset?.()}}flush(i){if(this.ended)return;if(typeof i!=="number")i=this.#Br;this.write(Object.assign(L.Buffer.alloc(0),{[X]:i}))}end(i,u,A){if(typeof i==="function"){A=i;u=undefined;i=undefined}if(typeof u==="function"){A=u;u=undefined}if(i){if(u)this.write(i,u);else this.write(i)}this.flush(this.#Ir);this.#vr=true;return super.end(A)}get ended(){return this.#vr}[K](i){return super.write(i)}write(i,u,A){if(typeof u==="function")A=u,u="utf8";if(typeof i==="string")i=L.Buffer.from(i,u);if(this.#wr)return;(0,D.default)(this.#Rr,"zlib binding closed");const I=this.#Rr._handle;const B=I.close;I.close=()=>{};const Q=this.#Rr.close;this.#Rr.close=()=>{};$(true);let P=undefined;try{const u=typeof i[X]==="number"?i[X]:this.#Sr;P=this.#Rr._processChunk(i,u);$(false)}catch(i){$(false);this.#Nr(new ZlibError(i,this.write))}finally{if(this.#Rr){this.#Rr._handle=I;I.close=B;this.#Rr.close=Q;this.#Rr.removeAllListeners("error")}}if(this.#Rr)this.#Rr.on("error",(i=>this.#Nr(new ZlibError(i,this.write))));let U;if(P){if(Array.isArray(P)&&P.length>0){const i=P[0];U=this[K](L.Buffer.from(i));for(let i=1;i{if(typeof i==="function"){u=i;i=this.flushFlag}this.flush(i);u?.()};try{this.handle.params(i,u)}finally{this.handle.flush=A}if(this.handle){this.#_r=i;this.#Tr=u}}}}u.Zlib=Zlib;class Deflate extends Zlib{constructor(i){super(i,"Deflate")}}u.Deflate=Deflate;class Inflate extends Zlib{constructor(i){super(i,"Inflate")}}u.Inflate=Inflate;class Gzip extends Zlib{#Or;constructor(i){super(i,"Gzip");this.#Or=i&&!!i.portable}[K](i){if(!this.#Or)return super[K](i);this.#Or=false;i[9]=255;return super[K](i)}}u.Gzip=Gzip;class Gunzip extends Zlib{constructor(i){super(i,"Gunzip")}}u.Gunzip=Gunzip;class DeflateRaw extends Zlib{constructor(i){super(i,"DeflateRaw")}}u.DeflateRaw=DeflateRaw;class InflateRaw extends Zlib{constructor(i){super(i,"InflateRaw")}}u.InflateRaw=InflateRaw;class Unzip extends Zlib{constructor(i){super(i,"Unzip")}}u.Unzip=Unzip;class Brotli extends ZlibBase{constructor(i,u){i=i||{};i.flush=i.flush||z.constants.BROTLI_OPERATION_PROCESS;i.finishFlush=i.finishFlush||z.constants.BROTLI_OPERATION_FINISH;i.fullFlushFlag=z.constants.BROTLI_OPERATION_FLUSH;super(i,u)}}class BrotliCompress extends Brotli{constructor(i){super(i,"BrotliCompress")}}u.BrotliCompress=BrotliCompress;class BrotliDecompress extends Brotli{constructor(i){super(i,"BrotliDecompress")}}u.BrotliDecompress=BrotliDecompress;class Zstd extends ZlibBase{constructor(i,u){i=i||{};i.flush=i.flush||z.constants.ZSTD_e_continue;i.finishFlush=i.finishFlush||z.constants.ZSTD_e_end;i.fullFlushFlag=z.constants.ZSTD_e_flush;super(i,u)}}class ZstdCompress extends Zstd{constructor(i){super(i,"ZstdCompress")}}u.ZstdCompress=ZstdCompress;class ZstdDecompress extends Zstd{constructor(i){super(i,"ZstdDecompress")}}u.ZstdDecompress=ZstdDecompress},38958:function(i,u,A){"use strict";var I=this&&this.__createBinding||(Object.create?function(i,u,A,I){if(I===undefined)I=A;var B=Object.getOwnPropertyDescriptor(u,A);if(!B||("get"in B?!u.__esModule:B.writable||B.configurable)){B={enumerable:true,get:function(){return u[A]}}}Object.defineProperty(i,I,B)}:function(i,u,A,I){if(I===undefined)I=A;i[I]=u[A]});var B=this&&this.__setModuleDefault||(Object.create?function(i,u){Object.defineProperty(i,"default",{enumerable:true,value:u})}:function(i,u){i["default"]=u});var Q=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var u={};if(i!=null)for(var A in i)if(A!=="default"&&Object.prototype.hasOwnProperty.call(i,A))I(u,i,A);B(u,i);return u};Object.defineProperty(u,"__esModule",{value:true});u.PathScurry=u.Path=u.PathScurryDarwin=u.PathScurryPosix=u.PathScurryWin32=u.PathScurryBase=u.PathPosix=u.PathWin32=u.PathBase=u.ChildrenCache=u.ResolveCache=void 0;const P=A(10897);const D=A(76760);const L=A(73136);const U=A(79896);const G=Q(A(73024));const z=U.realpathSync.native;const W=A(51455);const Y=A(78275);const J={lstatSync:U.lstatSync,readdir:U.readdir,readdirSync:U.readdirSync,readlinkSync:U.readlinkSync,realpathSync:z,promises:{lstat:W.lstat,readdir:W.readdir,readlink:W.readlink,realpath:W.realpath}};const fsFromOption=i=>!i||i===J||i===G?J:{...J,...i,promises:{...J.promises,...i.promises||{}}};const $=/^\\\\\?\\([a-z]:)\\?$/i;const uncToDrive=i=>i.replace(/\//g,"\\").replace($,"$1\\");const K=/[\\\/]/;const X=0;const he=1;const Ae=2;const ye=4;const be=6;const Ee=8;const Ce=10;const we=12;const ve=15;const Se=~ve;const Re=16;const Ne=32;const _e=64;const Oe=128;const xe=256;const ke=512;const Qe=_e|Oe|ke;const Pe=1023;const entToType=i=>i.isFile()?Ee:i.isDirectory()?ye:i.isSymbolicLink()?Ce:i.isCharacterDevice()?Ae:i.isBlockDevice()?be:i.isSocket()?we:i.isFIFO()?he:X;const De=new Map;const normalize=i=>{const u=De.get(i);if(u)return u;const A=i.normalize("NFKD");De.set(i,A);return A};const Me=new Map;const normalizeNocase=i=>{const u=Me.get(i);if(u)return u;const A=normalize(i.toLowerCase());Me.set(i,A);return A};class ResolveCache extends P.LRUCache{constructor(){super({max:256})}}u.ResolveCache=ResolveCache;class ChildrenCache extends P.LRUCache{constructor(i=16*1024){super({maxSize:i,sizeCalculation:i=>i.length+1})}}u.ChildrenCache=ChildrenCache;const Fe=Symbol("PathScurry setAsCwd");class PathBase{name;root;roots;parent;nocase;isCWD=false;#xr;#kr;get dev(){return this.#kr}#Qr;get mode(){return this.#Qr}#Pr;get nlink(){return this.#Pr}#Dr;get uid(){return this.#Dr}#Mr;get gid(){return this.#Mr}#Lr;get rdev(){return this.#Lr}#Fr;get blksize(){return this.#Fr}#Ur;get ino(){return this.#Ur}#U;get size(){return this.#U}#jr;get blocks(){return this.#jr}#Hr;get atimeMs(){return this.#Hr}#Gr;get mtimeMs(){return this.#Gr}#qr;get ctimeMs(){return this.#qr}#zr;get birthtimeMs(){return this.#zr}#Vr;get atime(){return this.#Vr}#Wr;get mtime(){return this.#Wr}#Yr;get ctime(){return this.#Yr}#Jr;get birthtime(){return this.#Jr}#$r;#Kr;#Xr;#Zr;#en;#tn;#rn;#nn;#in;#sn;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(i,u=X,A,I,B,Q,P){this.name=i;this.#$r=B?normalizeNocase(i):normalize(i);this.#rn=u&Pe;this.nocase=B;this.roots=I;this.root=A||this;this.#nn=Q;this.#Xr=P.fullpath;this.#en=P.relative;this.#tn=P.relativePosix;this.parent=P.parent;if(this.parent){this.#xr=this.parent.#xr}else{this.#xr=fsFromOption(P.fs)}}depth(){if(this.#Kr!==undefined)return this.#Kr;if(!this.parent)return this.#Kr=0;return this.#Kr=this.parent.depth()+1}childrenCache(){return this.#nn}resolve(i){if(!i){return this}const u=this.getRootString(i);const A=i.substring(u.length);const I=A.split(this.splitSep);const B=u?this.getRoot(u).#on(I):this.#on(I);return B}#on(i){let u=this;for(const A of i){u=u.child(A)}return u}children(){const i=this.#nn.get(this);if(i){return i}const u=Object.assign([],{provisional:0});this.#nn.set(this,u);this.#rn&=~Re;return u}child(i,u){if(i===""||i==="."){return this}if(i===".."){return this.parent||this}const A=this.children();const I=this.nocase?normalizeNocase(i):normalize(i);for(const i of A){if(i.#$r===I){return i}}const B=this.parent?this.sep:"";const Q=this.#Xr?this.#Xr+B+i:undefined;const P=this.newChild(i,X,{...u,parent:this,fullpath:Q});if(!this.canReaddir()){P.#rn|=Oe}A.push(P);return P}relative(){if(this.isCWD)return"";if(this.#en!==undefined){return this.#en}const i=this.name;const u=this.parent;if(!u){return this.#en=this.name}const A=u.relative();return A+(!A||!u.parent?"":this.sep)+i}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#tn!==undefined)return this.#tn;const i=this.name;const u=this.parent;if(!u){return this.#tn=this.fullpathPosix()}const A=u.relativePosix();return A+(!A||!u.parent?"":"/")+i}fullpath(){if(this.#Xr!==undefined){return this.#Xr}const i=this.name;const u=this.parent;if(!u){return this.#Xr=this.name}const A=u.fullpath();const I=A+(!u.parent?"":this.sep)+i;return this.#Xr=I}fullpathPosix(){if(this.#Zr!==undefined)return this.#Zr;if(this.sep==="/")return this.#Zr=this.fullpath();if(!this.parent){const i=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(i)){return this.#Zr=`//?/${i}`}else{return this.#Zr=i}}const i=this.parent;const u=i.fullpathPosix();const A=u+(!u||!i.parent?"":"/")+this.name;return this.#Zr=A}isUnknown(){return(this.#rn&ve)===X}isType(i){return this[`is${i}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#rn&ve)===Ee}isDirectory(){return(this.#rn&ve)===ye}isCharacterDevice(){return(this.#rn&ve)===Ae}isBlockDevice(){return(this.#rn&ve)===be}isFIFO(){return(this.#rn&ve)===he}isSocket(){return(this.#rn&ve)===we}isSymbolicLink(){return(this.#rn&Ce)===Ce}lstatCached(){return this.#rn&Ne?this:undefined}readlinkCached(){return this.#in}realpathCached(){return this.#sn}readdirCached(){const i=this.children();return i.slice(0,i.provisional)}canReadlink(){if(this.#in)return true;if(!this.parent)return false;const i=this.#rn&ve;return!(i!==X&&i!==Ce||this.#rn&xe||this.#rn&Oe)}calledReaddir(){return!!(this.#rn&Re)}isENOENT(){return!!(this.#rn&Oe)}isNamed(i){return!this.nocase?this.#$r===normalize(i):this.#$r===normalizeNocase(i)}async readlink(){const i=this.#in;if(i){return i}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const i=await this.#xr.promises.readlink(this.fullpath());const u=(await this.parent.realpath())?.resolve(i);if(u){return this.#in=u}}catch(i){this.#an(i.code);return undefined}}readlinkSync(){const i=this.#in;if(i){return i}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const i=this.#xr.readlinkSync(this.fullpath());const u=this.parent.realpathSync()?.resolve(i);if(u){return this.#in=u}}catch(i){this.#an(i.code);return undefined}}#cn(i){this.#rn|=Re;for(let u=i.provisional;uu(null,i)))}readdirCB(i,u=false){if(!this.canReaddir()){if(u)i(null,[]);else queueMicrotask((()=>i(null,[])));return}const A=this.children();if(this.calledReaddir()){const I=A.slice(0,A.provisional);if(u)i(null,I);else queueMicrotask((()=>i(null,I)));return}this.#En.push(i);if(this.#Cn){return}this.#Cn=true;const I=this.fullpath();this.#xr.readdir(I,{withFileTypes:true},((i,u)=>{if(i){this.#hn(i.code);A.provisional=0}else{for(const i of u){this.#An(i,A)}this.#cn(A)}this.#wn(A.slice(0,A.provisional));return}))}#vn;async readdir(){if(!this.canReaddir()){return[]}const i=this.children();if(this.calledReaddir()){return i.slice(0,i.provisional)}const u=this.fullpath();if(this.#vn){await this.#vn}else{let resolve=()=>{};this.#vn=new Promise((i=>resolve=i));try{for(const A of await this.#xr.promises.readdir(u,{withFileTypes:true})){this.#An(A,i)}this.#cn(i)}catch(u){this.#hn(u.code);i.provisional=0}this.#vn=undefined;resolve()}return i.slice(0,i.provisional)}readdirSync(){if(!this.canReaddir()){return[]}const i=this.children();if(this.calledReaddir()){return i.slice(0,i.provisional)}const u=this.fullpath();try{for(const A of this.#xr.readdirSync(u,{withFileTypes:true})){this.#An(A,i)}this.#cn(i)}catch(u){this.#hn(u.code);i.provisional=0}return i.slice(0,i.provisional)}canReaddir(){if(this.#rn&Qe)return false;const i=ve&this.#rn;if(!(i===X||i===ye||i===Ce)){return false}return true}shouldWalk(i,u){return(this.#rn&ye)===ye&&!(this.#rn&Qe)&&!i.has(this)&&(!u||u(this))}async realpath(){if(this.#sn)return this.#sn;if((ke|xe|Oe)&this.#rn)return undefined;try{const i=await this.#xr.promises.realpath(this.fullpath());return this.#sn=this.resolve(i)}catch(i){this.#dn()}}realpathSync(){if(this.#sn)return this.#sn;if((ke|xe|Oe)&this.#rn)return undefined;try{const i=this.#xr.realpathSync(this.fullpath());return this.#sn=this.resolve(i)}catch(i){this.#dn()}}[Fe](i){if(i===this)return;i.isCWD=false;this.isCWD=true;const u=new Set([]);let A=[];let I=this;while(I&&I.parent){u.add(I);I.#en=A.join(this.sep);I.#tn=A.join("/");I=I.parent;A.push("..")}I=i;while(I&&I.parent&&!u.has(I)){I.#en=undefined;I.#tn=undefined;I=I.parent}}}u.PathBase=PathBase;class PathWin32 extends PathBase{sep="\\";splitSep=K;constructor(i,u=X,A,I,B,Q,P){super(i,u,A,I,B,Q,P)}newChild(i,u=X,A={}){return new PathWin32(i,u,this.root,this.roots,this.nocase,this.childrenCache(),A)}getRootString(i){return D.win32.parse(i).root}getRoot(i){i=uncToDrive(i.toUpperCase());if(i===this.root.name){return this.root}for(const[u,A]of Object.entries(this.roots)){if(this.sameRoot(i,u)){return this.roots[i]=A}}return this.roots[i]=new PathScurryWin32(i,this).root}sameRoot(i,u=this.root.name){i=i.toUpperCase().replace(/\//g,"\\").replace($,"$1\\");return i===u}}u.PathWin32=PathWin32;class PathPosix extends PathBase{splitSep="/";sep="/";constructor(i,u=X,A,I,B,Q,P){super(i,u,A,I,B,Q,P)}getRootString(i){return i.startsWith("/")?"/":""}getRoot(i){return this.root}newChild(i,u=X,A={}){return new PathPosix(i,u,this.root,this.roots,this.nocase,this.childrenCache(),A)}}u.PathPosix=PathPosix;class PathScurryBase{root;rootPath;roots;cwd;#Sn;#In;#nn;nocase;#xr;constructor(i=process.cwd(),u,A,{nocase:I,childrenCacheSize:B=16*1024,fs:Q=J}={}){this.#xr=fsFromOption(Q);if(i instanceof URL||i.startsWith("file://")){i=(0,L.fileURLToPath)(i)}const P=u.resolve(i);this.roots=Object.create(null);this.rootPath=this.parseRootPath(P);this.#Sn=new ResolveCache;this.#In=new ResolveCache;this.#nn=new ChildrenCache(B);const D=P.substring(this.rootPath.length).split(A);if(D.length===1&&!D[0]){D.pop()}if(I===undefined){throw new TypeError("must provide nocase setting to PathScurryBase ctor")}this.nocase=I;this.root=this.newRoot(this.#xr);this.roots[this.rootPath]=this.root;let U=this.root;let G=D.length-1;const z=u.sep;let W=this.rootPath;let Y=false;for(const i of D){const u=G--;U=U.child(i,{relative:new Array(u).fill("..").join(z),relativePosix:new Array(u).fill("..").join("/"),fullpath:W+=(Y?"":z)+i});Y=true}this.cwd=U}depth(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.depth()}childrenCache(){return this.#nn}resolve(...i){let u="";for(let A=i.length-1;A>=0;A--){const I=i[A];if(!I||I===".")continue;u=u?`${I}/${u}`:I;if(this.isAbsolute(I)){break}}const A=this.#Sn.get(u);if(A!==undefined){return A}const I=this.cwd.resolve(u).fullpath();this.#Sn.set(u,I);return I}resolvePosix(...i){let u="";for(let A=i.length-1;A>=0;A--){const I=i[A];if(!I||I===".")continue;u=u?`${I}/${u}`:I;if(this.isAbsolute(I)){break}}const A=this.#In.get(u);if(A!==undefined){return A}const I=this.cwd.resolve(u).fullpathPosix();this.#In.set(u,I);return I}relative(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.relative()}relativePosix(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.relativePosix()}basename(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.name}dirname(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return(i.parent||i).fullpath()}async readdir(i=this.cwd,u={withFileTypes:true}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i;i=this.cwd}const{withFileTypes:A}=u;if(!i.canReaddir()){return[]}else{const u=await i.readdir();return A?u:u.map((i=>i.name))}}readdirSync(i=this.cwd,u={withFileTypes:true}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i;i=this.cwd}const{withFileTypes:A=true}=u;if(!i.canReaddir()){return[]}else if(A){return i.readdirSync()}else{return i.readdirSync().map((i=>i.name))}}async lstat(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.lstat()}lstatSync(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.lstatSync()}async readlink(i=this.cwd,{withFileTypes:u}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i.withFileTypes;i=this.cwd}const A=await i.readlink();return u?A:A?.fullpath()}readlinkSync(i=this.cwd,{withFileTypes:u}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i.withFileTypes;i=this.cwd}const A=i.readlinkSync();return u?A:A?.fullpath()}async realpath(i=this.cwd,{withFileTypes:u}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i.withFileTypes;i=this.cwd}const A=await i.realpath();return u?A:A?.fullpath()}realpathSync(i=this.cwd,{withFileTypes:u}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i.withFileTypes;i=this.cwd}const A=i.realpathSync();return u?A:A?.fullpath()}async walk(i=this.cwd,u={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i;i=this.cwd}const{withFileTypes:A=true,follow:I=false,filter:B,walkFilter:Q}=u;const P=[];if(!B||B(i)){P.push(A?i:i.fullpath())}const D=new Set;const walk=(i,u)=>{D.add(i);i.readdirCB(((i,L)=>{if(i){return u(i)}let U=L.length;if(!U)return u();const next=()=>{if(--U===0){u()}};for(const i of L){if(!B||B(i)){P.push(A?i:i.fullpath())}if(I&&i.isSymbolicLink()){i.realpath().then((i=>i?.isUnknown()?i.lstat():i)).then((i=>i?.shouldWalk(D,Q)?walk(i,next):next()))}else{if(i.shouldWalk(D,Q)){walk(i,next)}else{next()}}}}),true)};const L=i;return new Promise(((i,u)=>{walk(L,(A=>{if(A)return u(A);i(P)}))}))}walkSync(i=this.cwd,u={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i;i=this.cwd}const{withFileTypes:A=true,follow:I=false,filter:B,walkFilter:Q}=u;const P=[];if(!B||B(i)){P.push(A?i:i.fullpath())}const D=new Set([i]);for(const i of D){const u=i.readdirSync();for(const i of u){if(!B||B(i)){P.push(A?i:i.fullpath())}let u=i;if(i.isSymbolicLink()){if(!(I&&(u=i.realpathSync())))continue;if(u.isUnknown())u.lstatSync()}if(u.shouldWalk(D,Q)){D.add(u)}}}return P}[Symbol.asyncIterator](){return this.iterate()}iterate(i=this.cwd,u={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i;i=this.cwd}return this.stream(i,u)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(i=this.cwd,u={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i;i=this.cwd}const{withFileTypes:A=true,follow:I=false,filter:B,walkFilter:Q}=u;if(!B||B(i)){yield A?i:i.fullpath()}const P=new Set([i]);for(const i of P){const u=i.readdirSync();for(const i of u){if(!B||B(i)){yield A?i:i.fullpath()}let u=i;if(i.isSymbolicLink()){if(!(I&&(u=i.realpathSync())))continue;if(u.isUnknown())u.lstatSync()}if(u.shouldWalk(P,Q)){P.add(u)}}}}stream(i=this.cwd,u={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i;i=this.cwd}const{withFileTypes:A=true,follow:I=false,filter:B,walkFilter:Q}=u;const P=new Y.Minipass({objectMode:true});if(!B||B(i)){P.write(A?i:i.fullpath())}const D=new Set;const L=[i];let U=0;const process=()=>{let i=false;while(!i){const u=L.shift();if(!u){if(U===0)P.end();return}U++;D.add(u);const onReaddir=(u,z,W=false)=>{if(u)return P.emit("error",u);if(I&&!W){const i=[];for(const u of z){if(u.isSymbolicLink()){i.push(u.realpath().then((i=>i?.isUnknown()?i.lstat():i)))}}if(i.length){Promise.all(i).then((()=>onReaddir(null,z,true)));return}}for(const u of z){if(u&&(!B||B(u))){if(!P.write(A?u:u.fullpath())){i=true}}}U--;for(const i of z){const u=i.realpathCached()||i;if(u.shouldWalk(D,Q)){L.push(u)}}if(i&&!P.flowing){P.once("drain",process)}else if(!G){process()}};let G=true;u.readdirCB(onReaddir,true);G=false}};process();return P}streamSync(i=this.cwd,u={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){u=i;i=this.cwd}const{withFileTypes:A=true,follow:I=false,filter:B,walkFilter:Q}=u;const P=new Y.Minipass({objectMode:true});const D=new Set;if(!B||B(i)){P.write(A?i:i.fullpath())}const L=[i];let U=0;const process=()=>{let i=false;while(!i){const u=L.shift();if(!u){if(U===0)P.end();return}U++;D.add(u);const G=u.readdirSync();for(const u of G){if(!B||B(u)){if(!P.write(A?u:u.fullpath())){i=true}}}U--;for(const i of G){let u=i;if(i.isSymbolicLink()){if(!(I&&(u=i.realpathSync())))continue;if(u.isUnknown())u.lstatSync()}if(u.shouldWalk(D,Q)){L.push(u)}}}if(i&&!P.flowing)P.once("drain",process)};process();return P}chdir(i=this.cwd){const u=this.cwd;this.cwd=typeof i==="string"?this.cwd.resolve(i):i;this.cwd[Fe](u)}}u.PathScurryBase=PathScurryBase;class PathScurryWin32 extends PathScurryBase{sep="\\";constructor(i=process.cwd(),u={}){const{nocase:A=true}=u;super(i,D.win32,"\\",{...u,nocase:A});this.nocase=A;for(let i=this.cwd;i;i=i.parent){i.nocase=this.nocase}}parseRootPath(i){return D.win32.parse(i).root.toUpperCase()}newRoot(i){return new PathWin32(this.rootPath,ye,undefined,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")||i.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(i)}}u.PathScurryWin32=PathScurryWin32;class PathScurryPosix extends PathScurryBase{sep="/";constructor(i=process.cwd(),u={}){const{nocase:A=false}=u;super(i,D.posix,"/",{...u,nocase:A});this.nocase=A}parseRootPath(i){return"/"}newRoot(i){return new PathPosix(this.rootPath,ye,undefined,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")}}u.PathScurryPosix=PathScurryPosix;class PathScurryDarwin extends PathScurryPosix{constructor(i=process.cwd(),u={}){const{nocase:A=true}=u;super(i,{...u,nocase:A})}}u.PathScurryDarwin=PathScurryDarwin;u.Path=process.platform==="win32"?PathWin32:PathPosix;u.PathScurry=process.platform==="win32"?PathScurryWin32:process.platform==="darwin"?PathScurryDarwin:PathScurryPosix},10897:(i,u)=>{"use strict";Object.defineProperty(u,"__esModule",{value:true});u.LRUCache=void 0;const A=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const I=new Set;const B=typeof process==="object"&&!!process?process:{};const emitWarning=(i,u,A,I)=>{typeof B.emitWarning==="function"?B.emitWarning(i,u,A,I):console.error(`[${A}] ${u}: ${i}`)};let Q=globalThis.AbortController;let P=globalThis.AbortSignal;if(typeof Q==="undefined"){P=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(i,u){this._onabort.push(u)}};Q=class AbortController{constructor(){warnACPolyfill()}signal=new P;abort(i){if(this.signal.aborted)return;this.signal.reason=i;this.signal.aborted=true;for(const u of this.signal._onabort){u(i)}this.signal.onabort?.(i)}};let i=B.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!i)return;i=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=i=>!I.has(i);const D=Symbol("type");const isPosInt=i=>i&&i===Math.floor(i)&&i>0&&isFinite(i);const getUintArray=i=>!isPosInt(i)?null:i<=Math.pow(2,8)?Uint8Array:i<=Math.pow(2,16)?Uint16Array:i<=Math.pow(2,32)?Uint32Array:i<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(i){super(i);this.fill(0)}}class Stack{heap;length;static#Bn=false;static create(i){const u=getUintArray(i);if(!u)return[];Stack.#Bn=true;const A=new Stack(i,u);Stack.#Bn=false;return A}constructor(i,u){if(!Stack.#Bn){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new u(i);this.length=0}push(i){this.heap[this.length++]=i}pop(){return this.heap[--this.length]}}class LRUCache{#Rn;#D;#Nn;#_n;#Tn;#On;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#U;#xn;#kn;#Qn;#Pn;#Dn;#Mn;#Ln;#Fn;#Un;#jn;#Hn;#Gn;#qn;#zn;#Vn;#Wn;static unsafeExposeInternals(i){return{starts:i.#Gn,ttls:i.#qn,sizes:i.#Hn,keyMap:i.#kn,keyList:i.#Qn,valList:i.#Pn,next:i.#Dn,prev:i.#Mn,get head(){return i.#Ln},get tail(){return i.#Fn},free:i.#Un,isBackgroundFetch:u=>i.#Yn(u),backgroundFetch:(u,A,I,B)=>i.#Jn(u,A,I,B),moveToTail:u=>i.#$n(u),indexes:u=>i.#Kn(u),rindexes:u=>i.#Xn(u),isStale:u=>i.#Zn(u)}}get max(){return this.#Rn}get maxSize(){return this.#D}get calculatedSize(){return this.#xn}get size(){return this.#U}get fetchMethod(){return this.#Tn}get memoMethod(){return this.#On}get dispose(){return this.#Nn}get disposeAfter(){return this.#_n}constructor(i){const{max:u=0,ttl:A,ttlResolution:B=1,ttlAutopurge:Q,updateAgeOnGet:P,updateAgeOnHas:D,allowStale:L,dispose:U,disposeAfter:G,noDisposeOnSet:z,noUpdateTTL:W,maxSize:Y=0,maxEntrySize:J=0,sizeCalculation:$,fetchMethod:K,memoMethod:X,noDeleteOnFetchRejection:he,noDeleteOnStaleGet:Ae,allowStaleOnFetchRejection:ye,allowStaleOnFetchAbort:be,ignoreFetchAbort:Ee}=i;if(u!==0&&!isPosInt(u)){throw new TypeError("max option must be a nonnegative integer")}const Ce=u?getUintArray(u):Array;if(!Ce){throw new Error("invalid max value: "+u)}this.#Rn=u;this.#D=Y;this.maxEntrySize=J||this.#D;this.sizeCalculation=$;if(this.sizeCalculation){if(!this.#D&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(X!==undefined&&typeof X!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#On=X;if(K!==undefined&&typeof K!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#Tn=K;this.#Vn=!!K;this.#kn=new Map;this.#Qn=new Array(u).fill(undefined);this.#Pn=new Array(u).fill(undefined);this.#Dn=new Ce(u);this.#Mn=new Ce(u);this.#Ln=0;this.#Fn=0;this.#Un=Stack.create(u);this.#U=0;this.#xn=0;if(typeof U==="function"){this.#Nn=U}if(typeof G==="function"){this.#_n=G;this.#jn=[]}else{this.#_n=undefined;this.#jn=undefined}this.#zn=!!this.#Nn;this.#Wn=!!this.#_n;this.noDisposeOnSet=!!z;this.noUpdateTTL=!!W;this.noDeleteOnFetchRejection=!!he;this.allowStaleOnFetchRejection=!!ye;this.allowStaleOnFetchAbort=!!be;this.ignoreFetchAbort=!!Ee;if(this.maxEntrySize!==0){if(this.#D!==0){if(!isPosInt(this.#D)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#ei()}this.allowStale=!!L;this.noDeleteOnStaleGet=!!Ae;this.updateAgeOnGet=!!P;this.updateAgeOnHas=!!D;this.ttlResolution=isPosInt(B)||B===0?B:1;this.ttlAutopurge=!!Q;this.ttl=A||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#ti()}if(this.#Rn===0&&this.ttl===0&&this.#D===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#Rn&&!this.#D){const i="LRU_CACHE_UNBOUNDED";if(shouldWarn(i)){I.add(i);const u="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(u,"UnboundedCacheWarning",i,LRUCache)}}}getRemainingTTL(i){return this.#kn.has(i)?Infinity:0}#ti(){const i=new ZeroArray(this.#Rn);const u=new ZeroArray(this.#Rn);this.#qn=i;this.#Gn=u;this.#ri=(I,B,Q=A.now())=>{u[I]=B!==0?Q:0;i[I]=B;if(B!==0&&this.ttlAutopurge){const i=setTimeout((()=>{if(this.#Zn(I)){this.#ni(this.#Qn[I],"expire")}}),B+1);if(i.unref){i.unref()}}};this.#ii=I=>{u[I]=i[I]!==0?A.now():0};this.#si=(A,B)=>{if(i[B]){const Q=i[B];const P=u[B];if(!Q||!P)return;A.ttl=Q;A.start=P;A.now=I||getNow();const D=A.now-P;A.remainingTTL=Q-D}};let I=0;const getNow=()=>{const i=A.now();if(this.ttlResolution>0){I=i;const u=setTimeout((()=>I=0),this.ttlResolution);if(u.unref){u.unref()}}return i};this.getRemainingTTL=A=>{const B=this.#kn.get(A);if(B===undefined){return 0}const Q=i[B];const P=u[B];if(!Q||!P){return Infinity}const D=(I||getNow())-P;return Q-D};this.#Zn=A=>{const B=u[A];const Q=i[A];return!!Q&&!!B&&(I||getNow())-B>Q}}#ii=()=>{};#si=()=>{};#ri=()=>{};#Zn=()=>false;#ei(){const i=new ZeroArray(this.#Rn);this.#xn=0;this.#Hn=i;this.#oi=u=>{this.#xn-=i[u];i[u]=0};this.#ai=(i,u,A,I)=>{if(this.#Yn(u)){return 0}if(!isPosInt(A)){if(I){if(typeof I!=="function"){throw new TypeError("sizeCalculation must be a function")}A=I(u,i);if(!isPosInt(A)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return A};this.#ci=(u,A,I)=>{i[u]=A;if(this.#D){const A=this.#D-i[u];while(this.#xn>A){this.#li(true)}}this.#xn+=i[u];if(I){I.entrySize=A;I.totalCalculatedSize=this.#xn}}}#oi=i=>{};#ci=(i,u,A)=>{};#ai=(i,u,A,I)=>{if(A||I){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#Kn({allowStale:i=this.allowStale}={}){if(this.#U){for(let u=this.#Fn;true;){if(!this.#ui(u)){break}if(i||!this.#Zn(u)){yield u}if(u===this.#Ln){break}else{u=this.#Mn[u]}}}}*#Xn({allowStale:i=this.allowStale}={}){if(this.#U){for(let u=this.#Ln;true;){if(!this.#ui(u)){break}if(i||!this.#Zn(u)){yield u}if(u===this.#Fn){break}else{u=this.#Dn[u]}}}}#ui(i){return i!==undefined&&this.#kn.get(this.#Qn[i])===i}*entries(){for(const i of this.#Kn()){if(this.#Pn[i]!==undefined&&this.#Qn[i]!==undefined&&!this.#Yn(this.#Pn[i])){yield[this.#Qn[i],this.#Pn[i]]}}}*rentries(){for(const i of this.#Xn()){if(this.#Pn[i]!==undefined&&this.#Qn[i]!==undefined&&!this.#Yn(this.#Pn[i])){yield[this.#Qn[i],this.#Pn[i]]}}}*keys(){for(const i of this.#Kn()){const u=this.#Qn[i];if(u!==undefined&&!this.#Yn(this.#Pn[i])){yield u}}}*rkeys(){for(const i of this.#Xn()){const u=this.#Qn[i];if(u!==undefined&&!this.#Yn(this.#Pn[i])){yield u}}}*values(){for(const i of this.#Kn()){const u=this.#Pn[i];if(u!==undefined&&!this.#Yn(this.#Pn[i])){yield this.#Pn[i]}}}*rvalues(){for(const i of this.#Xn()){const u=this.#Pn[i];if(u!==undefined&&!this.#Yn(this.#Pn[i])){yield this.#Pn[i]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(i,u={}){for(const A of this.#Kn()){const I=this.#Pn[A];const B=this.#Yn(I)?I.__staleWhileFetching:I;if(B===undefined)continue;if(i(B,this.#Qn[A],this)){return this.get(this.#Qn[A],u)}}}forEach(i,u=this){for(const A of this.#Kn()){const I=this.#Pn[A];const B=this.#Yn(I)?I.__staleWhileFetching:I;if(B===undefined)continue;i.call(u,B,this.#Qn[A],this)}}rforEach(i,u=this){for(const A of this.#Xn()){const I=this.#Pn[A];const B=this.#Yn(I)?I.__staleWhileFetching:I;if(B===undefined)continue;i.call(u,B,this.#Qn[A],this)}}purgeStale(){let i=false;for(const u of this.#Xn({allowStale:true})){if(this.#Zn(u)){this.#ni(this.#Qn[u],"expire");i=true}}return i}info(i){const u=this.#kn.get(i);if(u===undefined)return undefined;const I=this.#Pn[u];const B=this.#Yn(I)?I.__staleWhileFetching:I;if(B===undefined)return undefined;const Q={value:B};if(this.#qn&&this.#Gn){const i=this.#qn[u];const I=this.#Gn[u];if(i&&I){const u=i-(A.now()-I);Q.ttl=u;Q.start=Date.now()}}if(this.#Hn){Q.size=this.#Hn[u]}return Q}dump(){const i=[];for(const u of this.#Kn({allowStale:true})){const I=this.#Qn[u];const B=this.#Pn[u];const Q=this.#Yn(B)?B.__staleWhileFetching:B;if(Q===undefined||I===undefined)continue;const P={value:Q};if(this.#qn&&this.#Gn){P.ttl=this.#qn[u];const i=A.now()-this.#Gn[u];P.start=Math.floor(Date.now()-i)}if(this.#Hn){P.size=this.#Hn[u]}i.unshift([I,P])}return i}load(i){this.clear();for(const[u,I]of i){if(I.start){const i=Date.now()-I.start;I.start=A.now()-i}this.set(u,I.value,I)}}set(i,u,A={}){if(u===undefined){this.delete(i);return this}const{ttl:I=this.ttl,start:B,noDisposeOnSet:Q=this.noDisposeOnSet,sizeCalculation:P=this.sizeCalculation,status:D}=A;let{noUpdateTTL:L=this.noUpdateTTL}=A;const U=this.#ai(i,u,A.size||0,P);if(this.maxEntrySize&&U>this.maxEntrySize){if(D){D.set="miss";D.maxEntrySizeExceeded=true}this.#ni(i,"set");return this}let G=this.#U===0?undefined:this.#kn.get(i);if(G===undefined){G=this.#U===0?this.#Fn:this.#Un.length!==0?this.#Un.pop():this.#U===this.#Rn?this.#li(false):this.#U;this.#Qn[G]=i;this.#Pn[G]=u;this.#kn.set(i,G);this.#Dn[this.#Fn]=G;this.#Mn[G]=this.#Fn;this.#Fn=G;this.#U++;this.#ci(G,U,D);if(D)D.set="add";L=false}else{this.#$n(G);const A=this.#Pn[G];if(u!==A){if(this.#Vn&&this.#Yn(A)){A.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:u}=A;if(u!==undefined&&!Q){if(this.#zn){this.#Nn?.(u,i,"set")}if(this.#Wn){this.#jn?.push([u,i,"set"])}}}else if(!Q){if(this.#zn){this.#Nn?.(A,i,"set")}if(this.#Wn){this.#jn?.push([A,i,"set"])}}this.#oi(G);this.#ci(G,U,D);this.#Pn[G]=u;if(D){D.set="replace";const i=A&&this.#Yn(A)?A.__staleWhileFetching:A;if(i!==undefined)D.oldValue=i}}else if(D){D.set="update"}}if(I!==0&&!this.#qn){this.#ti()}if(this.#qn){if(!L){this.#ri(G,I,B)}if(D)this.#si(D,G)}if(!Q&&this.#Wn&&this.#jn){const i=this.#jn;let u;while(u=i?.shift()){this.#_n?.(...u)}}return this}pop(){try{while(this.#U){const i=this.#Pn[this.#Ln];this.#li(true);if(this.#Yn(i)){if(i.__staleWhileFetching){return i.__staleWhileFetching}}else if(i!==undefined){return i}}}finally{if(this.#Wn&&this.#jn){const i=this.#jn;let u;while(u=i?.shift()){this.#_n?.(...u)}}}}#li(i){const u=this.#Ln;const A=this.#Qn[u];const I=this.#Pn[u];if(this.#Vn&&this.#Yn(I)){I.__abortController.abort(new Error("evicted"))}else if(this.#zn||this.#Wn){if(this.#zn){this.#Nn?.(I,A,"evict")}if(this.#Wn){this.#jn?.push([I,A,"evict"])}}this.#oi(u);if(i){this.#Qn[u]=undefined;this.#Pn[u]=undefined;this.#Un.push(u)}if(this.#U===1){this.#Ln=this.#Fn=0;this.#Un.length=0}else{this.#Ln=this.#Dn[u]}this.#kn.delete(A);this.#U--;return u}has(i,u={}){const{updateAgeOnHas:A=this.updateAgeOnHas,status:I}=u;const B=this.#kn.get(i);if(B!==undefined){const i=this.#Pn[B];if(this.#Yn(i)&&i.__staleWhileFetching===undefined){return false}if(!this.#Zn(B)){if(A){this.#ii(B)}if(I){I.has="hit";this.#si(I,B)}return true}else if(I){I.has="stale";this.#si(I,B)}}else if(I){I.has="miss"}return false}peek(i,u={}){const{allowStale:A=this.allowStale}=u;const I=this.#kn.get(i);if(I===undefined||!A&&this.#Zn(I)){return}const B=this.#Pn[I];return this.#Yn(B)?B.__staleWhileFetching:B}#Jn(i,u,A,I){const B=u===undefined?undefined:this.#Pn[u];if(this.#Yn(B)){return B}const P=new Q;const{signal:D}=A;D?.addEventListener("abort",(()=>P.abort(D.reason)),{signal:P.signal});const L={signal:P.signal,options:A,context:I};const cb=(I,B=false)=>{const{aborted:Q}=P.signal;const D=A.ignoreFetchAbort&&I!==undefined;if(A.status){if(Q&&!B){A.status.fetchAborted=true;A.status.fetchError=P.signal.reason;if(D)A.status.fetchAbortIgnored=true}else{A.status.fetchResolved=true}}if(Q&&!D&&!B){return fetchFail(P.signal.reason)}const G=U;if(this.#Pn[u]===U){if(I===undefined){if(G.__staleWhileFetching){this.#Pn[u]=G.__staleWhileFetching}else{this.#ni(i,"fetch")}}else{if(A.status)A.status.fetchUpdated=true;this.set(i,I,L.options)}}return I};const eb=i=>{if(A.status){A.status.fetchRejected=true;A.status.fetchError=i}return fetchFail(i)};const fetchFail=I=>{const{aborted:B}=P.signal;const Q=B&&A.allowStaleOnFetchAbort;const D=Q||A.allowStaleOnFetchRejection;const L=D||A.noDeleteOnFetchRejection;const G=U;if(this.#Pn[u]===U){const A=!L||G.__staleWhileFetching===undefined;if(A){this.#ni(i,"fetch")}else if(!Q){this.#Pn[u]=G.__staleWhileFetching}}if(D){if(A.status&&G.__staleWhileFetching!==undefined){A.status.returnedStale=true}return G.__staleWhileFetching}else if(G.__returned===G){throw I}};const pcall=(u,I)=>{const Q=this.#Tn?.(i,B,L);if(Q&&Q instanceof Promise){Q.then((i=>u(i===undefined?undefined:i)),I)}P.signal.addEventListener("abort",(()=>{if(!A.ignoreFetchAbort||A.allowStaleOnFetchAbort){u(undefined);if(A.allowStaleOnFetchAbort){u=i=>cb(i,true)}}}))};if(A.status)A.status.fetchDispatched=true;const U=new Promise(pcall).then(cb,eb);const G=Object.assign(U,{__abortController:P,__staleWhileFetching:B,__returned:undefined});if(u===undefined){this.set(i,G,{...L.options,status:undefined});u=this.#kn.get(i)}else{this.#Pn[u]=G}return G}#Yn(i){if(!this.#Vn)return false;const u=i;return!!u&&u instanceof Promise&&u.hasOwnProperty("__staleWhileFetching")&&u.__abortController instanceof Q}async fetch(i,u={}){const{allowStale:A=this.allowStale,updateAgeOnGet:I=this.updateAgeOnGet,noDeleteOnStaleGet:B=this.noDeleteOnStaleGet,ttl:Q=this.ttl,noDisposeOnSet:P=this.noDisposeOnSet,size:D=0,sizeCalculation:L=this.sizeCalculation,noUpdateTTL:U=this.noUpdateTTL,noDeleteOnFetchRejection:G=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:z=this.allowStaleOnFetchRejection,ignoreFetchAbort:W=this.ignoreFetchAbort,allowStaleOnFetchAbort:Y=this.allowStaleOnFetchAbort,context:J,forceRefresh:$=false,status:K,signal:X}=u;if(!this.#Vn){if(K)K.fetch="get";return this.get(i,{allowStale:A,updateAgeOnGet:I,noDeleteOnStaleGet:B,status:K})}const he={allowStale:A,updateAgeOnGet:I,noDeleteOnStaleGet:B,ttl:Q,noDisposeOnSet:P,size:D,sizeCalculation:L,noUpdateTTL:U,noDeleteOnFetchRejection:G,allowStaleOnFetchRejection:z,allowStaleOnFetchAbort:Y,ignoreFetchAbort:W,status:K,signal:X};let Ae=this.#kn.get(i);if(Ae===undefined){if(K)K.fetch="miss";const u=this.#Jn(i,Ae,he,J);return u.__returned=u}else{const u=this.#Pn[Ae];if(this.#Yn(u)){const i=A&&u.__staleWhileFetching!==undefined;if(K){K.fetch="inflight";if(i)K.returnedStale=true}return i?u.__staleWhileFetching:u.__returned=u}const B=this.#Zn(Ae);if(!$&&!B){if(K)K.fetch="hit";this.#$n(Ae);if(I){this.#ii(Ae)}if(K)this.#si(K,Ae);return u}const Q=this.#Jn(i,Ae,he,J);const P=Q.__staleWhileFetching!==undefined;const D=P&&A;if(K){K.fetch=B?"stale":"refresh";if(D&&B)K.returnedStale=true}return D?Q.__staleWhileFetching:Q.__returned=Q}}async forceFetch(i,u={}){const A=await this.fetch(i,u);if(A===undefined)throw new Error("fetch() returned undefined");return A}memo(i,u={}){const A=this.#On;if(!A){throw new Error("no memoMethod provided to constructor")}const{context:I,forceRefresh:B,...Q}=u;const P=this.get(i,Q);if(!B&&P!==undefined)return P;const D=A(i,P,{options:Q,context:I});this.set(i,D,Q);return D}get(i,u={}){const{allowStale:A=this.allowStale,updateAgeOnGet:I=this.updateAgeOnGet,noDeleteOnStaleGet:B=this.noDeleteOnStaleGet,status:Q}=u;const P=this.#kn.get(i);if(P!==undefined){const u=this.#Pn[P];const D=this.#Yn(u);if(Q)this.#si(Q,P);if(this.#Zn(P)){if(Q)Q.get="stale";if(!D){if(!B){this.#ni(i,"expire")}if(Q&&A)Q.returnedStale=true;return A?u:undefined}else{if(Q&&A&&u.__staleWhileFetching!==undefined){Q.returnedStale=true}return A?u.__staleWhileFetching:undefined}}else{if(Q)Q.get="hit";if(D){return u.__staleWhileFetching}this.#$n(P);if(I){this.#ii(P)}return u}}else if(Q){Q.get="miss"}}#ee(i,u){this.#Mn[u]=i;this.#Dn[i]=u}#$n(i){if(i!==this.#Fn){if(i===this.#Ln){this.#Ln=this.#Dn[i]}else{this.#ee(this.#Mn[i],this.#Dn[i])}this.#ee(this.#Fn,i);this.#Fn=i}}delete(i){return this.#ni(i,"delete")}#ni(i,u){let A=false;if(this.#U!==0){const I=this.#kn.get(i);if(I!==undefined){A=true;if(this.#U===1){this.#di(u)}else{this.#oi(I);const A=this.#Pn[I];if(this.#Yn(A)){A.__abortController.abort(new Error("deleted"))}else if(this.#zn||this.#Wn){if(this.#zn){this.#Nn?.(A,i,u)}if(this.#Wn){this.#jn?.push([A,i,u])}}this.#kn.delete(i);this.#Qn[I]=undefined;this.#Pn[I]=undefined;if(I===this.#Fn){this.#Fn=this.#Mn[I]}else if(I===this.#Ln){this.#Ln=this.#Dn[I]}else{const i=this.#Mn[I];this.#Dn[i]=this.#Dn[I];const u=this.#Dn[I];this.#Mn[u]=this.#Mn[I]}this.#U--;this.#Un.push(I)}}}if(this.#Wn&&this.#jn?.length){const i=this.#jn;let u;while(u=i?.shift()){this.#_n?.(...u)}}return A}clear(){return this.#di("delete")}#di(i){for(const u of this.#Xn({allowStale:true})){const A=this.#Pn[u];if(this.#Yn(A)){A.__abortController.abort(new Error("deleted"))}else{const I=this.#Qn[u];if(this.#zn){this.#Nn?.(A,I,i)}if(this.#Wn){this.#jn?.push([A,I,i])}}}this.#kn.clear();this.#Pn.fill(undefined);this.#Qn.fill(undefined);if(this.#qn&&this.#Gn){this.#qn.fill(0);this.#Gn.fill(0)}if(this.#Hn){this.#Hn.fill(0)}this.#Ln=0;this.#Fn=0;this.#Un.length=0;this.#xn=0;this.#U=0;if(this.#Wn&&this.#jn){const i=this.#jn;let u;while(u=i?.shift()){this.#_n?.(...u)}}}}u.LRUCache=LRUCache},84928:i=>{"use strict";function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i["default"]:i}const u=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function ensureBuffer(i){if(Buffer.isBuffer(i)){return i}if(typeof i==="number"){return Buffer.alloc(i)}else if(typeof i==="string"){return Buffer.from(i)}else{throw new Error("input must be buffer, number, or string, received "+typeof i)}}function bufferizeInt(i){const u=ensureBuffer(4);u.writeInt32BE(i,0);return u}function _crc32(i,A){i=ensureBuffer(i);if(Buffer.isBuffer(A)){A=A.readUInt32BE(0)}let I=~~A^-1;for(var B=0;B>>8}return I^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var A=crc32;const I=getDefaultExportFromCjs(A);i.exports=I},61110:(i,u)=>{"use strict";class CsvError extends Error{constructor(i,u,A,...I){if(Array.isArray(u))u=u.join(" ").trim();super(u);if(Error.captureStackTrace!==undefined){Error.captureStackTrace(this,CsvError)}this.code=i;for(const i of I){for(const u in i){const I=i[u];this[u]=Buffer.isBuffer(I)?I.toString(A.encoding):I==null?I:JSON.parse(JSON.stringify(I))}}}}const is_object=function(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)};const normalize_columns_array=function(i){const u=[];for(let A=0,I=i.length;A=this.size){this.resize();if(u>=this.size){throw Error("INVALID_BUFFER_STATE")}}const A=this.buf;this.buf=Buffer.allocUnsafe(this.size);i.copy(this.buf,0);A.copy(this.buf,i.length);this.length+=i.length}else{const u=this.length++;if(u===this.size){this.resize()}const A=this.clone();this.buf[0]=i;A.copy(this.buf,1,0,u)}}append(i){const u=this.length++;if(u===this.size){this.resize()}this.buf[u]=i}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){const i=this.length;this.size=this.size*2;const u=Buffer.allocUnsafe(this.size);this.buf.copy(u,0,0,i);this.buf=u}toString(i){if(i){return this.buf.slice(0,this.length).toString(i)}else{return Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const A=12;const I=13;const B=10;const Q=32;const P=9;const init_state=function(i){return{bomSkipped:false,bufBytesStart:0,castField:i.cast_function,commenting:false,error:undefined,enabled:i.from_line===1,escaping:false,escapeIsQuote:Buffer.isBuffer(i.escape)&&Buffer.isBuffer(i.quote)&&Buffer.compare(i.escape,i.quote)===0,expectedRecordLength:Array.isArray(i.columns)?i.columns.length:undefined,field:new ResizeableBuffer(20),firstLineToHeaders:i.cast_first_line_to_header,needMoreDataSize:Math.max(i.comment!==null?i.comment.length:0,...i.delimiter.map((i=>i.length)),i.quote!==null?i.quote.length:0),previousBuf:undefined,quoting:false,stop:false,rawBuffer:new ResizeableBuffer(100),record:[],recordHasError:false,record_length:0,recordDelimiterMaxLength:i.record_delimiter.length===0?0:Math.max(...i.record_delimiter.map((i=>i.length))),trimChars:[Buffer.from(" ",i.encoding)[0],Buffer.from("\t",i.encoding)[0]],wasQuoting:false,wasRowDelimiter:false,timchars:[Buffer.from(Buffer.from([I],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([B],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([A],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([Q],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([P],"utf8").toString(),i.encoding)]}};const underscore=function(i){return i.replace(/([A-Z])/g,(function(i,u){return"_"+u.toLowerCase()}))};const normalize_options=function(i){const u={};for(const A in i){u[underscore(A)]=i[A]}if(u.encoding===undefined||u.encoding===true){u.encoding="utf8"}else if(u.encoding===null||u.encoding===false){u.encoding=null}else if(typeof u.encoding!=="string"&&u.encoding!==null){throw new CsvError("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(u.encoding)}`],u)}if(u.bom===undefined||u.bom===null||u.bom===false){u.bom=false}else if(u.bom!==true){throw new CsvError("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(u.bom)}`],u)}u.cast_function=null;if(u.cast===undefined||u.cast===null||u.cast===false||u.cast===""){u.cast=undefined}else if(typeof u.cast==="function"){u.cast_function=u.cast;u.cast=true}else if(u.cast!==true){throw new CsvError("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(u.cast)}`],u)}if(u.cast_date===undefined||u.cast_date===null||u.cast_date===false||u.cast_date===""){u.cast_date=false}else if(u.cast_date===true){u.cast_date=function(i){const u=Date.parse(i);return!isNaN(u)?new Date(u):i}}else if(typeof u.cast_date!=="function"){throw new CsvError("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(u.cast_date)}`],u)}u.cast_first_line_to_header=undefined;if(u.columns===true){u.cast_first_line_to_header=undefined}else if(typeof u.columns==="function"){u.cast_first_line_to_header=u.columns;u.columns=true}else if(Array.isArray(u.columns)){u.columns=normalize_columns_array(u.columns)}else if(u.columns===undefined||u.columns===null||u.columns===false){u.columns=false}else{throw new CsvError("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(u.columns)}`],u)}if(u.group_columns_by_name===undefined||u.group_columns_by_name===null||u.group_columns_by_name===false){u.group_columns_by_name=false}else if(u.group_columns_by_name!==true){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(u.group_columns_by_name)}`],u)}else if(u.columns===false){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],u)}if(u.comment===undefined||u.comment===null||u.comment===false||u.comment===""){u.comment=null}else{if(typeof u.comment==="string"){u.comment=Buffer.from(u.comment,u.encoding)}if(!Buffer.isBuffer(u.comment)){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(u.comment)}`],u)}}if(u.comment_no_infix===undefined||u.comment_no_infix===null||u.comment_no_infix===false){u.comment_no_infix=false}else if(u.comment_no_infix!==true){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(u.comment_no_infix)}`],u)}const A=JSON.stringify(u.delimiter);if(!Array.isArray(u.delimiter))u.delimiter=[u.delimiter];if(u.delimiter.length===0){throw new CsvError("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${A}`],u)}u.delimiter=u.delimiter.map((function(i){if(i===undefined||i===null||i===false){return Buffer.from(",",u.encoding)}if(typeof i==="string"){i=Buffer.from(i,u.encoding)}if(!Buffer.isBuffer(i)||i.length===0){throw new CsvError("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${A}`],u)}return i}));if(u.escape===undefined||u.escape===true){u.escape=Buffer.from('"',u.encoding)}else if(typeof u.escape==="string"){u.escape=Buffer.from(u.escape,u.encoding)}else if(u.escape===null||u.escape===false){u.escape=null}if(u.escape!==null){if(!Buffer.isBuffer(u.escape)){throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(u.escape)}`)}}if(u.from===undefined||u.from===null){u.from=1}else{if(typeof u.from==="string"&&/\d+/.test(u.from)){u.from=parseInt(u.from)}if(Number.isInteger(u.from)){if(u.from<0){throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(i.from)}`)}}else{throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(u.from)}`)}}if(u.from_line===undefined||u.from_line===null){u.from_line=1}else{if(typeof u.from_line==="string"&&/\d+/.test(u.from_line)){u.from_line=parseInt(u.from_line)}if(Number.isInteger(u.from_line)){if(u.from_line<=0){throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(i.from_line)}`)}}else{throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(i.from_line)}`)}}if(u.ignore_last_delimiters===undefined||u.ignore_last_delimiters===null){u.ignore_last_delimiters=false}else if(typeof u.ignore_last_delimiters==="number"){u.ignore_last_delimiters=Math.floor(u.ignore_last_delimiters);if(u.ignore_last_delimiters===0){u.ignore_last_delimiters=false}}else if(typeof u.ignore_last_delimiters!=="boolean"){throw new CsvError("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(u.ignore_last_delimiters)}`],u)}if(u.ignore_last_delimiters===true&&u.columns===false){throw new CsvError("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],u)}if(u.info===undefined||u.info===null||u.info===false){u.info=false}else if(u.info!==true){throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(u.info)}`)}if(u.max_record_size===undefined||u.max_record_size===null||u.max_record_size===false){u.max_record_size=0}else if(Number.isInteger(u.max_record_size)&&u.max_record_size>=0);else if(typeof u.max_record_size==="string"&&/\d+/.test(u.max_record_size)){u.max_record_size=parseInt(u.max_record_size)}else{throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(u.max_record_size)}`)}if(u.objname===undefined||u.objname===null||u.objname===false){u.objname=undefined}else if(Buffer.isBuffer(u.objname)){if(u.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty buffer`)}if(u.encoding===null);else{u.objname=u.objname.toString(u.encoding)}}else if(typeof u.objname==="string"){if(u.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty string`)}}else if(typeof u.objname==="number");else{throw new Error(`Invalid Option: objname must be a string or a buffer, got ${u.objname}`)}if(u.objname!==undefined){if(typeof u.objname==="number"){if(u.columns!==false){throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}}else{if(u.columns===false){throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}}}if(u.on_record===undefined||u.on_record===null){u.on_record=undefined}else if(typeof u.on_record!=="function"){throw new CsvError("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(u.on_record)}`],u)}if(u.on_skip!==undefined&&u.on_skip!==null&&typeof u.on_skip!=="function"){throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(u.on_skip)}`)}if(u.quote===null||u.quote===false||u.quote===""){u.quote=null}else{if(u.quote===undefined||u.quote===true){u.quote=Buffer.from('"',u.encoding)}else if(typeof u.quote==="string"){u.quote=Buffer.from(u.quote,u.encoding)}if(!Buffer.isBuffer(u.quote)){throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(u.quote)}`)}}if(u.raw===undefined||u.raw===null||u.raw===false){u.raw=false}else if(u.raw!==true){throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(u.raw)}`)}if(u.record_delimiter===undefined){u.record_delimiter=[]}else if(typeof u.record_delimiter==="string"||Buffer.isBuffer(u.record_delimiter)){if(u.record_delimiter.length===0){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(u.record_delimiter)}`],u)}u.record_delimiter=[u.record_delimiter]}else if(!Array.isArray(u.record_delimiter)){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(u.record_delimiter)}`],u)}u.record_delimiter=u.record_delimiter.map((function(i,A){if(typeof i!=="string"&&!Buffer.isBuffer(i)){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${A},`,`got ${JSON.stringify(i)}`],u)}else if(i.length===0){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${A},`,`got ${JSON.stringify(i)}`],u)}if(typeof i==="string"){i=Buffer.from(i,u.encoding)}return i}));if(typeof u.relax_column_count==="boolean");else if(u.relax_column_count===undefined||u.relax_column_count===null){u.relax_column_count=false}else{throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(u.relax_column_count)}`)}if(typeof u.relax_column_count_less==="boolean");else if(u.relax_column_count_less===undefined||u.relax_column_count_less===null){u.relax_column_count_less=false}else{throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(u.relax_column_count_less)}`)}if(typeof u.relax_column_count_more==="boolean");else if(u.relax_column_count_more===undefined||u.relax_column_count_more===null){u.relax_column_count_more=false}else{throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(u.relax_column_count_more)}`)}if(typeof u.relax_quotes==="boolean");else if(u.relax_quotes===undefined||u.relax_quotes===null){u.relax_quotes=false}else{throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(u.relax_quotes)}`)}if(typeof u.skip_empty_lines==="boolean");else if(u.skip_empty_lines===undefined||u.skip_empty_lines===null){u.skip_empty_lines=false}else{throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(u.skip_empty_lines)}`)}if(typeof u.skip_records_with_empty_values==="boolean");else if(u.skip_records_with_empty_values===undefined||u.skip_records_with_empty_values===null){u.skip_records_with_empty_values=false}else{throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(u.skip_records_with_empty_values)}`)}if(typeof u.skip_records_with_error==="boolean");else if(u.skip_records_with_error===undefined||u.skip_records_with_error===null){u.skip_records_with_error=false}else{throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(u.skip_records_with_error)}`)}if(u.rtrim===undefined||u.rtrim===null||u.rtrim===false){u.rtrim=false}else if(u.rtrim!==true){throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(u.rtrim)}`)}if(u.ltrim===undefined||u.ltrim===null||u.ltrim===false){u.ltrim=false}else if(u.ltrim!==true){throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(u.ltrim)}`)}if(u.trim===undefined||u.trim===null||u.trim===false){u.trim=false}else if(u.trim!==true){throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(u.trim)}`)}if(u.trim===true&&i.ltrim!==false){u.ltrim=true}else if(u.ltrim!==true){u.ltrim=false}if(u.trim===true&&i.rtrim!==false){u.rtrim=true}else if(u.rtrim!==true){u.rtrim=false}if(u.to===undefined||u.to===null){u.to=-1}else if(u.to!==-1){if(typeof u.to==="string"&&/\d+/.test(u.to)){u.to=parseInt(u.to)}if(Number.isInteger(u.to)){if(u.to<=0){throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(i.to)}`)}}else{throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(i.to)}`)}}if(u.to_line===undefined||u.to_line===null){u.to_line=-1}else if(u.to_line!==-1){if(typeof u.to_line==="string"&&/\d+/.test(u.to_line)){u.to_line=parseInt(u.to_line)}if(Number.isInteger(u.to_line)){if(u.to_line<=0){throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(i.to_line)}`)}}else{throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(i.to_line)}`)}}return u};const isRecordEmpty=function(i){return i.every((i=>i==null||i.toString&&i.toString().trim()===""))};const D=13;const L=10;const U={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])};const transform=function(i={}){const u={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0};const A=normalize_options(i);return{info:u,original_options:i,options:A,state:init_state(A),__needMoreData:function(i,u,A){if(A)return false;const{encoding:I,escape:B,quote:Q}=this.options;const{quoting:P,needMoreDataSize:D,recordDelimiterMaxLength:L}=this.state;const U=u-i-1;const G=Math.max(D,L===0?Buffer.from("\r\n",I).length:L,P?(B===null?0:B.length)+Q.length:0,P?Q.length+L:0);return Uhe){this.state.stop=true;I();return}if(this.state.quoting===false&&Ee.length===0){const i=this.__autoDiscoverRecordDelimiter(Re,_e);if(i){Ee=this.options.record_delimiter}}const i=Re[_e];if(Y===true){ve.append(i)}if((i===D||i===L)&&this.state.wasRowDelimiter===false){this.state.wasRowDelimiter=true}if(this.state.escaping===true){this.state.escaping=false}else{if(ye!==null&&this.state.quoting===true&&this.__isEscape(Re,_e,i)&&_e+ye.lengthU[i].equals(this.state.field.toString())?i:false)).filter(Boolean)[0];const A=this.__error(new CsvError("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(i.column)} at line ${i.lines}, value is ${JSON.stringify(this.state.field.toString(P))}`,u?`(${u} bom)`:undefined],this.options,i,{field:this.state.field}));if(A!==undefined)return A}}else{this.state.quoting=true;_e+=be.length-1;continue}}}if(this.state.quoting===false){const u=this.__isRecordDelimiter(i,Re,_e);if(u!==0){const i=this.state.commenting&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0;if(i){this.info.comment_lines++}else{if(this.state.enabled===false&&this.info.lines+(this.state.wasRowDelimiter===true?1:0)>=G){this.state.enabled=true;this.__resetField();this.__resetRecord();_e+=u-1;continue}if(K===true&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++;_e+=u-1;continue}this.info.bytes=this.state.bufBytesStart+_e;const i=this.__onField();if(i!==undefined)return i;this.info.bytes=this.state.bufBytesStart+_e+u;const B=this.__onRecord(A);if(B!==undefined)return B;if(X!==-1&&this.info.records>=X){this.state.stop=true;I();return}}this.state.commenting=false;_e+=u-1;continue}if(this.state.commenting){continue}if(Ae!==null&&(Q===false||this.state.record.length===0&&this.state.field.length===0)){const u=this.__compareBytes(Ae,Re,_e,i);if(u!==0){this.state.commenting=true;continue}}const B=this.__isDelimiter(Re,_e,i);if(B!==0){this.info.bytes=this.state.bufBytesStart+_e;const i=this.__onField();if(i!==undefined)return i;_e+=B-1;continue}}}if(this.state.commenting===false){if(W!==0&&this.state.record_length+this.state.field.length>W){return this.__error(new CsvError("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${W}`,`at line ${this.info.lines}`],this.options,this.__infoField()))}}const B=z===false||this.state.quoting===true||this.state.field.length!==0||!this.__isCharTrimable(Re,_e);const Ce=$===false||this.state.wasQuoting===false;if(B===true&&Ce===true){this.state.field.append(i)}else if($===true&&!this.__isCharTrimable(Re,_e)){return this.__error(new CsvError("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()))}else{if(B===false){_e+=this.__isCharTrimable(Re,_e)-1}continue}}if(u===true){if(this.state.quoting===true){const i=this.__error(new CsvError("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(i!==undefined)return i}else{if(this.state.wasQuoting===true||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+_e;const i=this.__onField();if(i!==undefined)return i;const u=this.__onRecord(A);if(u!==undefined)return u}else if(this.state.wasRowDelimiter===true){this.info.empty_lines++}else if(this.state.commenting===true){this.info.comment_lines++}}}else{this.state.bufBytesStart+=_e;this.state.previousBuf=Re.slice(_e)}if(this.state.wasRowDelimiter===true){this.info.lines++;this.state.wasRowDelimiter=false}},__onRecord:function(i){const{columns:u,group_columns_by_name:A,encoding:I,info:B,from:Q,relax_column_count:P,relax_column_count_less:D,relax_column_count_more:L,raw:U,skip_records_with_empty_values:G}=this.options;const{enabled:z,record:W}=this.state;if(z===false){return this.__resetRecord()}const Y=W.length;if(u===true){if(G===true&&isRecordEmpty(W)){this.__resetRecord();return}return this.__firstLineToColumns(W)}if(u===false&&this.info.records===0){this.state.expectedRecordLength=Y}if(Y!==this.state.expectedRecordLength){const i=u===false?new CsvError("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${Y} on line ${this.info.lines}`],this.options,this.__infoField(),{record:W}):new CsvError("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${u.length},`,`got ${Y} on line ${this.info.lines}`],this.options,this.__infoField(),{record:W});if(P===true||D===true&&Ythis.state.expectedRecordLength){this.info.invalid_field_length++;this.state.error=i}else{const u=this.__error(i);if(u)return u}}if(G===true&&isRecordEmpty(W)){this.__resetRecord();return}if(this.state.recordHasError===true){this.__resetRecord();this.state.recordHasError=false;return}this.info.records++;if(Q===1||this.info.records>=Q){const{objname:Q}=this.options;if(u!==false){const P={};for(let i=0,I=W.length;i{const{timchars:A}=this.state;e:for(let I=0;I=0},__compareBytes:function(i,u,A,I){if(i[0]!==I)return 0;const B=i.length;for(let I=1;Ithis.state.record.length?i[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};const parse=function(i,u={}){if(typeof i==="string"){i=Buffer.from(i)}const A=u&&u.objname?{}:[];const I=transform(u);const push=i=>{if(I.options.objname===undefined)A.push(i);else{A[i[0]]=i[1]}};const close=()=>{};const B=I.parse(i,true,push,close);if(B!==undefined)throw B;return A};u.CsvError=CsvError;u.parse=parse},50591:i=>{(()=>{"use strict";var u={d:(i,A)=>{for(var I in A)u.o(A,I)&&!u.o(i,I)&&Object.defineProperty(i,I,{enumerable:!0,get:A[I]})},o:(i,u)=>Object.prototype.hasOwnProperty.call(i,u),r:i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},A={};u.r(A),u.d(A,{XMLBuilder:()=>Xe,XMLParser:()=>Jt,XMLValidator:()=>st});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",B=new RegExp("^["+I+"]["+I+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function r(i,u){const A=[];let I=u.exec(i);for(;I;){const B=[];B.startIndex=u.lastIndex-I[0].length;const Q=I.length;for(let i=0;i"!==i[Q]&&" "!==i[Q]&&"\t"!==i[Q]&&"\n"!==i[Q]&&"\r"!==i[Q];Q++)L+=i[Q];if(L=L.trim(),"/"===L[L.length-1]&&(L=L.substring(0,L.length-1),Q--),!E(L)){let u;return u=0===L.trim().length?"Invalid space after '<'.":"Tag '"+L+"' is an invalid name.",y("InvalidTag",u,w(i,Q))}const U=g(i,Q);if(!1===U)return y("InvalidAttr","Attributes for '"+L+"' have open quote.",w(i,Q));let G=U.value;if(Q=U.index,"/"===G[G.length-1]){const A=Q-G.length;G=G.substring(0,G.length-1);const B=x(G,u);if(!0!==B)return y(B.err.code,B.err.msg,w(i,A+B.err.line));I=!0}else if(D){if(!U.tagClosed)return y("InvalidTag","Closing tag '"+L+"' doesn't have proper closing.",w(i,Q));if(G.trim().length>0)return y("InvalidTag","Closing tag '"+L+"' can't have attributes or invalid starting.",w(i,P));if(0===A.length)return y("InvalidTag","Closing tag '"+L+"' has not been opened.",w(i,P));{const u=A.pop();if(L!==u.tagName){let A=w(i,u.tagStartPos);return y("InvalidTag","Expected closing tag '"+u.tagName+"' (opened in line "+A.line+", col "+A.col+") instead of closing tag '"+L+"'.",w(i,P))}0==A.length&&(B=!0)}}else{const D=x(G,u);if(!0!==D)return y(D.err.code,D.err.msg,w(i,Q-G.length+D.err.line));if(!0===B)return y("InvalidXml","Multiple possible root nodes found.",w(i,Q));-1!==u.unpairedTags.indexOf(L)||A.push({tagName:L,tagStartPos:P}),I=!0}for(Q++;Q0)||y("InvalidXml","Invalid '"+JSON.stringify(A.map((i=>i.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):y("InvalidXml","Start tag expected.",1)}function c(i){return" "===i||"\t"===i||"\n"===i||"\r"===i}function h(i,u){const A=u;for(;u5&&"xml"===I)return y("InvalidXml","XML declaration allowed only at the start of the document.",w(i,u));if("?"==i[u]&&">"==i[u+1]){u++;break}continue}return u}function d(i,u){if(i.length>u+5&&"-"===i[u+1]&&"-"===i[u+2]){for(u+=3;u"===i[u+2]){u+=2;break}}else if(i.length>u+8&&"D"===i[u+1]&&"O"===i[u+2]&&"C"===i[u+3]&&"T"===i[u+4]&&"Y"===i[u+5]&&"P"===i[u+6]&&"E"===i[u+7]){let A=1;for(u+=8;u"===i[u]&&(A--,0===A))break}else if(i.length>u+9&&"["===i[u+1]&&"C"===i[u+2]&&"D"===i[u+3]&&"A"===i[u+4]&&"T"===i[u+5]&&"A"===i[u+6]&&"["===i[u+7])for(u+=8;u"===i[u+2]){u+=2;break}return u}const L='"',U="'";function g(i,u){let A="",I="",B=!1;for(;u"===i[u]&&""===I){B=!0;break}A+=i[u]}return""===I&&{value:A,index:u,tagClosed:B}}const G=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function x(i,u){const A=r(i,G),I={};for(let i=0;iQ.includes(i)?"__"+i:i,z={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,unicode:!1},tagValueProcessor:function(i,u){return u},attributeValueProcessor:function(i,u){return u},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(i,u,A){return i},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:S};function T(i,u){if("string"!=typeof i)return;const A=i.toLowerCase();if(Q.some((i=>A===i.toLowerCase())))throw new Error(`[SECURITY] Invalid ${u}: "${i}" is a reserved JavaScript keyword that could cause prototype pollution`);if(P.some((i=>A===i.toLowerCase())))throw new Error(`[SECURITY] Invalid ${u}: "${i}" is a reserved JavaScript keyword that could cause prototype pollution`)}function _(i,u){return"boolean"==typeof i?{enabled:i,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof i&&null!==i?{enabled:!1!==i.enabled,maxEntitySize:Math.max(1,i.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,i.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,i.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,i.maxExpandedLength??1e5),maxEntityCount:Math.max(1,i.maxEntityCount??1e3),allowedTags:i.allowedTags??null,tagFilter:i.tagFilter??null,appliesTo:i.appliesTo??"all"}:_(!0)}const C=function(i){const u=Object.assign({},z,i),A=[{value:u.attributeNamePrefix,name:"attributeNamePrefix"},{value:u.attributesGroupName,name:"attributesGroupName"},{value:u.textNodeName,name:"textNodeName"},{value:u.cdataPropName,name:"cdataPropName"},{value:u.commentPropName,name:"commentPropName"}];for(const{value:i,name:u}of A)i&&T(i,u);return null===u.onDangerousProperty&&(u.onDangerousProperty=S),u.processEntities=_(u.processEntities,u.htmlEntities),u.unpairedTagsSet=new Set(u.unpairedTags),u.stopNodes&&Array.isArray(u.stopNodes)&&(u.stopNodes=u.stopNodes.map((i=>"string"==typeof i&&i.startsWith("*.")?".."+i.substring(2):i))),u};let W;W="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class O{constructor(i){this.tagname=i,this.child=[],this[":@"]=Object.create(null)}add(i,u){"__proto__"===i&&(i="#__proto__"),this.child.push({[i]:u})}addChild(i,u){"__proto__"===i.tagname&&(i.tagname="#__proto__"),i[":@"]&&Object.keys(i[":@"]).length>0?this.child.push({[i.tagname]:i.child,":@":i[":@"]}):this.child.push({[i.tagname]:i.child}),void 0!==u&&(this.child[this.child.length-1][W]={startIndex:u})}static getMetaDataSymbol(){return W}}const Y=":A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",J=":A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",$=J+"\\-\\.\\d·̀-ͯ҇‿-⁀",k=(i,u,A="")=>{const I=`[${i.replace(":","")}][${u.replace(":","")}]*`;return{name:new RegExp(`^[${i}][${u}]*$`,A),ncName:new RegExp(`^${I}$`,A),qName:new RegExp(`^${I}(?::${I})?$`,A),nmToken:new RegExp(`^[${u}]+$`,A),nmTokens:new RegExp(`^[${u}]+(?:\\s+[${u}]+)*$`,A)}},K=k(Y,Y+"\\-\\.\\d·̀-ͯ‿-⁀"),X=k(J,$,"u"),R=(i,{xmlVersion:u="1.0"}={})=>((i="1.0")=>"1.1"===i?X:K)(u).qName.test(i);class M{constructor(i,u){this.suppressValidationErr=!i,this.options=i,this.xmlVersion=u||1}setXmlVersion(i=1){this.xmlVersion=i}readDocType(i,u){const A=Object.create(null);let I=0;if("O"!==i[u+3]||"C"!==i[u+4]||"T"!==i[u+5]||"Y"!==i[u+6]||"P"!==i[u+7]||"E"!==i[u+8])throw new Error("Invalid Tag instead of DOCTYPE");{u+=9;let B=1,Q=!1,P=!1,D="";for(;u"===i[u]){if(P?"-"===i[u-1]&&"-"===i[u-2]&&(P=!1,B--):B--,0===B)break}else"["===i[u]?Q=!0:D+=i[u];else{if(Q&&q(i,"!ENTITY",u)){let B,Q;if(u+=7,[B,Q,u]=this.readEntityExp(i,u+1,this.suppressValidationErr),-1===Q.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&I>=this.options.maxEntityCount)throw new Error(`Entity count (${I+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);A[B]=Q,I++}}else if(Q&&q(i,"!ELEMENT",u)){u+=8;const{index:A}=this.readElementExp(i,u+1);u=A}else if(Q&&q(i,"!ATTLIST",u))u+=8;else if(Q&&q(i,"!NOTATION",u)){u+=9;const{index:A}=this.readNotationExp(i,u+1,this.suppressValidationErr);u=A}else{if(!q(i,"!--",u))throw new Error("Invalid DOCTYPE");P=!0}B++,D=""}if(0!==B)throw new Error("Unclosed DOCTYPE")}return{entities:A,i:u}}readEntityExp(i,u){const A=u=V(i,u);for(;uthis.options.maxEntitySize)throw new Error(`Entity "${I}" size (${B.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[I,B,--u]}readNotationExp(i,u){const A=u=V(i,u);for(;u{for(;u=48&&B<=57||45===B))if(B=55296&&B<=56319){if(I+1=56320&&u<=57343){const i=65536+(B-55296<<10)+(u-56320);if(Ae.has(i)){A=I;break}}}}else if(255!==be[B-ye]||Ee.has(B)){A=I;break}}if(-1===A)return i;const I=[];A>0&&I.push(i.slice(0,A));for(let B=A;B=48&&A<=57||45===A){I.push(i[B]);continue}if(A=55296&&A<=56319){if(B+1=56320&&u<=57343){const i=65536+(A-55296<<10)+(u-56320),Q=Ae.get(i);if(void 0!==Q){I.push(String.fromCharCode(Q+48)),B++;continue}}}I.push(i[B]);continue}if(Ee.has(A)){I.push("-");continue}const Q=be[A-ye];I.push(255!==Q?String.fromCharCode(Q+48):i[B])}return I.join("")}(A),"0"===A))return 0;if(u.hex&&Ce.test(A))return tt(A,16);if(u.binary&&we.test(A))return tt(A,2);if(u.octal&&ve.test(A))return tt(A,8);if(isFinite(A)){if(A.includes("e")||A.includes("E"))return function(i,u,A){if(!A.eNotation)return i;const I=u.match(Ne);if(I){let B=I[1]||"";const Q=-1===I[3].indexOf("e")?"E":"e",P=I[2],D=B?i[P.length+1]===Q:i[P.length]===Q;return P.length>1&&D?i:(1!==P.length||!I[3].startsWith(`.${Q}`)&&I[3][0]!==Q)&&P.length>0?A.leadingZeros&&!D?(u=(I[1]||"")+I[3],Number(u)):i:Number(u)}return i}(i,A,u);{const B=Se.exec(A);if(B){const Q=B[1]||"",P=B[2];let D=(I=B[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 L=Q?"."===i[P.length+1]:"."===i[P.length];if(!u.leadingZeros&&(P.length>1||1===P.length&&!L))return i;{const I=Number(A),B=String(I);if(0===I)return I;if(-1!==B.search(/[eE]/))return u.eNotation?I:i;if(-1!==A.indexOf("."))return"0"===B||B===D||B===`${Q}${D}`?I:i;let L=P?D:A;return P?L===B||Q+L===B?I:i:L===B||L===Q+B?I:i}}return i}}var I;return function(i,u,A){const I=u===1/0;switch(A.infinity.toLowerCase()){case"null":return null;case"infinity":return u;case"string":return I?"Infinity":"-Infinity";default:return i}}(i,Number(A),u)}const Ne=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function tt(i,u){const A=i.trim();if(2!==u&&8!==u||(i=A.substring(2)),parseInt)return parseInt(i,u);if(Number.parseInt)return Number.parseInt(i,u);if(window&&window.parseInt)return window.parseInt(i,u);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}class et{constructor(i){this._matcher=i}get separator(){return this._matcher.separator}getCurrentTag(){const i=this._matcher.path;return i.length>0?i[i.length-1].tag:void 0}getCurrentNamespace(){const i=this._matcher.path;return i.length>0?i[i.length-1].namespace:void 0}getAttrValue(i){const u=this._matcher.path;if(0!==u.length)return u[u.length-1].values?.[i]}hasAttr(i){const u=this._matcher.path;if(0===u.length)return!1;const A=u[u.length-1];return void 0!==A.values&&i in A.values}getPosition(){const i=this._matcher.path;return 0===i.length?-1:i[i.length-1].position??0}getCounter(){const i=this._matcher.path;return 0===i.length?-1:i[i.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(i,u=!0){return this._matcher.toString(i,u)}toArray(){return this._matcher.path.map((i=>i.tag))}matches(i){return this._matcher.matches(i)}matchesAny(i){return i.matchesAny(this._matcher)}}class it{constructor(i={}){this.separator=i.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new et(this)}push(i,u=null,A=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const I=this.path.length;this.siblingStacks[I]||(this.siblingStacks[I]=new Map);const B=this.siblingStacks[I],Q=A?`${A}:${i}`:i,P=B.get(Q)||0;let D=0;for(const i of B.values())D+=i;B.set(Q,P+1);const L={tag:i,position:D,counter:P};null!=A&&(L.namespace=A),null!=u&&(L.values=u),this.path.push(L)}pop(){if(0===this.path.length)return;this._pathStringCache=null;const i=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),i}updateCurrent(i){if(this.path.length>0){const u=this.path[this.path.length-1];null!=i&&(u.values=i)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(i){if(0!==this.path.length)return this.path[this.path.length-1].values?.[i]}hasAttr(i){if(0===this.path.length)return!1;const u=this.path[this.path.length-1];return void 0!==u.values&&i in u.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(i,u=!0){const A=i||this.separator;if(A===this.separator&&!0===u){if(null!==this._pathStringCache)return this._pathStringCache;const i=this.path.map((i=>i.namespace?`${i.namespace}:${i.tag}`:i.tag)).join(A);return this._pathStringCache=i,i}return this.path.map((i=>u&&i.namespace?`${i.namespace}:${i.tag}`:i.tag)).join(A)}toArray(){return this.path.map((i=>i.tag))}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(i){const u=i.segments;return 0!==u.length&&(i.hasDeepWildcard()?this._matchWithDeepWildcard(u):this._matchSimple(u))}_matchSimple(i){if(this.path.length!==i.length)return!1;for(let u=0;u=0&&u>=0;){const I=i[A];if("deep-wildcard"===I.type){if(A--,A<0)return!0;const I=i[A];let B=!1;for(let i=u;i>=0;i--)if(this._matchSegment(I,this.path[i],i===this.path.length-1)){u=i-1,A--,B=!0;break}if(!B)return!1}else{if(!this._matchSegment(I,this.path[u],u===this.path.length-1))return!1;u--,A--}}return A<0}_matchSegment(i,u,A){if("*"!==i.tag&&i.tag!==u.tag)return!1;if(void 0!==i.namespace&&"*"!==i.namespace&&i.namespace!==u.namespace)return!1;if(void 0!==i.attrName){if(!A)return!1;if(!u.values||!(i.attrName in u.values))return!1;if(void 0!==i.attrValue&&String(u.values[i.attrName])!==String(i.attrValue))return!1}if(void 0!==i.position){if(!A)return!1;const I=u.counter??0;if("first"===i.position&&0!==I)return!1;if("odd"===i.position&&I%2!=1)return!1;if("even"===i.position&&I%2!=0)return!1;if("nth"===i.position&&I!==i.positionValue)return!1}return!0}matchesAny(i){return i.matchesAny(this)}snapshot(){return{path:this.path.map((i=>({...i}))),siblingStacks:this.siblingStacks.map((i=>new Map(i)))}}restore(i){this._pathStringCache=null,this.path=i.path.map((i=>({...i}))),this.siblingStacks=i.siblingStacks.map((i=>new Map(i)))}readOnly(){return this._view}}class nt{constructor(i,u={},A){this.pattern=i,this.separator=u.separator||".",this.segments=this._parse(i),this.data=A,this._hasDeepWildcard=this.segments.some((i=>"deep-wildcard"===i.type)),this._hasAttributeCondition=this.segments.some((i=>void 0!==i.attrName)),this._hasPositionSelector=this.segments.some((i=>void 0!==i.position))}_parse(i){const u=[];let A=0,I="";for(;A",lt:"<",quot:'"'},xe={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"},ke=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),Qe=new Set("!?\\\\/[]$%{}^&*()<>|+");function ct(i){if("#"===i[0])throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${i}"`);for(const u of i)if(Qe.has(u))throw new Error(`[EntityReplacer] Invalid character '${u}' in entity name: "${i}"`);return i}function ht(...i){const u=Object.create(null);for(const A of i)if(A)for(const i of Object.keys(A)){const I=A[i];if("string"==typeof I)u[i]=I;else if(I&&"object"==typeof I&&void 0!==I.val){const A=I.val;"string"==typeof A&&(u[i]=A)}}return u}const Pe="external",De="base",Me="all",Fe=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Ue=new Set([9,10,13]);class xt{constructor(i={}){var u;this._limit=i.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof i.postCheck?i.postCheck:i=>i,this._limitTiers=(u=this._limit.applyLimitsTo??Pe)&&u!==Pe?u===Me?new Set([Me]):u===De?new Set([De]):Array.isArray(u)?new Set(u):new Set([Pe]):new Set([Pe]),this._numericAllowed=i.numericAllowed??!0,this._baseMap=ht(Oe,i.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(i.remove&&Array.isArray(i.remove)?i.remove:[]),this._leaveSet=new Set(i.leave&&Array.isArray(i.leave)?i.leave:[]);const A=function(i){if(!i)return{xmlVersion:1,onLevel:Fe.allow,nullLevel:Fe.remove};const u=1.1===i.xmlVersion?1.1:1,A=Fe[i.onNCR]??Fe.allow,I=Fe[i.nullNCR]??Fe.remove;return{xmlVersion:u,onLevel:A,nullLevel:Math.max(I,Fe.remove)}}(i.ncr);this._ncrXmlVersion=A.xmlVersion,this._ncrOnLevel=A.onLevel,this._ncrNullLevel=A.nullLevel,this._onExternalEntity="function"==typeof i.onExternalEntity?i.onExternalEntity:null,this._onInputEntity="function"==typeof i.onInputEntity?i.onInputEntity:null}_applyRegistrationHook(i,u,A,I){if(!i)return!0;const B=i(u,A);if(B===ke.BLOCK)return!1;if(B===ke.THROW)throw new Error(`[EntityDecoder] Registration of ${I} entity "&${u};" was rejected by hook`);return!0}setExternalEntities(i){if(i)for(const u of Object.keys(i))ct(u);if(!this._onExternalEntity)return void(this._externalMap=ht(i));const u=ht(i),A=Object.create(null);for(const[i,I]of Object.entries(u))this._applyRegistrationHook(this._onExternalEntity,i,I,"external")&&(A[i]=I);this._externalMap=A}addExternalEntity(i,u){ct(i),"string"==typeof u&&-1===u.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,i,u,"external")&&(this._externalMap[i]=u)}addInputEntities(i){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity)return void(this._inputMap=ht(i));const u=ht(i),A=Object.create(null);for(const[i,I]of Object.entries(u))this._applyRegistrationHook(this._onInputEntity,i,I,"input")&&(A[i]=I);this._inputMap=A}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(i){this._ncrXmlVersion=1.1===i?1.1:1}decode(i){if("string"!=typeof i||0===i.length)return i;if(-1===i.indexOf("&"))return i;const u=i,A=[],I=i.length;let B=0,Q=0;const P=this._maxTotalExpansions>0,D=this._maxExpandedLength>0,L=P||D;for(;Q=I||59!==i.charCodeAt(u)){Q++;continue}const U=i.slice(Q+1,u);if(0===U.length){Q++;continue}let G,z;if(this._removeSet.has(U))G="",void 0===z&&(z=Pe);else{if(this._leaveSet.has(U)){Q++;continue}if(35===U.charCodeAt(0)){const i=this._resolveNCR(U);if(void 0===i){Q++;continue}G=i,z=De}else{const i=this._resolveName(U);G=i?.value,z=i?.tier}}if(void 0!==G){if(Q>B&&A.push(i.slice(B,Q)),A.push(G),B=u+1,Q=B,L&&this._tierCounts(z)){if(P&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(D){const i=G.length-(U.length+2);if(i>0&&(this._expandedLength+=i,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}else Q++}B=55296&&i<=57343||1===this._ncrXmlVersion&&i>=1&&i<=31&&!Ue.has(i)?Fe.remove:-1}_applyNCRAction(i,u,A){switch(i){case Fe.allow:return String.fromCodePoint(A);case Fe.remove:return"";case Fe.leave:return;case Fe.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${u}; (U+${A.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(A)}}_resolveNCR(i){const u=i.charCodeAt(1);let A;if(A=120===u||88===u?parseInt(i.slice(2),16):parseInt(i.slice(1),10),Number.isNaN(A)||A<0||A>1114111)return;const I=this._classifyNCR(A);if(!this._numericAllowed&&I/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded